Hello,
Can anybody help me with a skript?
Basically, I want to make a skript that checks if a player is standing on a pressure plate on a specific coordinate.It doesn't show any errors, but it also doesn't execute the functions after. My skript is this:
Can anybody help me with a skript?
Basically, I want to make a skript that checks if a player is standing on a pressure plate on a specific coordinate.It doesn't show any errors, but it also doesn't execute the functions after. My skript is this:
Code:
on step on stone pressure plate:
player's x-coordinate is 45:
player's y-coordinate is 39:
player's z-coordinate is -162:
add 1 to {red}
execute console command "item replace entity %player% armor.head with minecraft:leather_helmet{display:{color:16711715}}"
send "§b> &lYou have been locked in with the team §7§l[§4§lRED§7§l]§r§l." to player