I was working on a simple skript of a sever that I own. I was able to create this code:
However whenever I put the "fly boots" on it crashes the sever I am using. I don't even know if the "if block under player" is working. Please help Thanks!
Code:
on load:
set {customitems::dashrod} to unbreakable fishing rod named "&1Dash Rod" with lore "&2Right click to dash"
set {customitems::flyboots} to unbreakable golden boots named "&2Fly Boots" with lore "&1Allow the player to double jump"
command items <text>:
trigger:
give player {customitems::%arg-1%}
on left click:
send "Work clcik" to player
if player's held item is {customitems::dashrod}:
send "Work dash" to player
push player upwards with velocity 2
play mob spawner flames at player
on armor change:
if boots of player is {customitems::flyboots}:
while boots of player is {customitems::flyboots}:
if block under player not gold block:
set block under player to gold block
However whenever I put the "fly boots" on it crashes the sever I am using. I don't even know if the "if block under player" is working. Please help Thanks!