Jump to content

Please fix this skript i tried making.


CocoLovesDino

Recommended Posts

21 hours ago, CocoLovesDino said:

on break:
   if event-item concrete:
   trigger:
   send why concrete

 

i tried making this skript it doesn't seem to work iwant to make it red concrete and i wanted to make it so no one can break that certain block without bypass.

how do you make so many errors in 4 lines of code

1. you dont need a trigger:, thats only for commands

2. use "if event-item is any concrete:"

3. use quotations in your send line

4. the last line isnt indented correctly

Edited by AgentGamerPro

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

12 hours ago, ZeroGaming said:

on break:

 if event-item is any concrete:
  send why concrete

no... closer, but no

on break of any concrete:
	send "why concrete" to player

 

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

On 12/16/2021 at 9:18 PM, CocoLovesDino said:

on break:
   if event-item concrete:
   trigger:
   send why concrete

 

i tried making this skript it doesn't seem to work iwant to make it red concrete and i wanted to make it so no one can break that certain block without bypass.

you need um.... a little bit of practice

on break of any concrete:
	send "why concrete" to player

 

edit: just noticed someone already said it, ignore me

Edited by itsKimo
  • Haha 1
Link to comment
Share on other sites

On 12/16/2021 at 6:18 PM, CocoLovesDino said:

on break:
   if event-item concrete:
   trigger:
   send why concrete

 

i tried making this skript it doesn't seem to work iwant to make it red concrete and i wanted to make it so no one can break that certain block without bypass.

Here's the skript you wanted in mind:

on break of red concrete:
	if player doesn't have permission "concrete.bypass":
		send "&c&lBLOCKS &8&o• &cYou aren't permitted to break this block!"
		cancel event
		play sound "block.note_block.didgeridoo" to player
	else:
		stop

I hope this helps you 🙂

Link to comment
Share on other sites

8 minutes ago, HealthGrief said:

Here's the skript you wanted in mind:

on break of red concrete:
	if player doesn't have permission "concrete.bypass":
		send "&c&lBLOCKS &8&o• &cYou aren't permitted to break this block!"
		cancel event
		play sound "block.note_block.didgeridoo" to player
	else:
		stop

I hope this helps you 🙂

you dont need the "else" and "stop" at the end

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...