I was making an item that gives a speed effect while holding it.
Console says: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (item.sk, line 2: if the player is holding iron sword named "&eSpeedster Sword":')
I don't really see any problems with it
Code:
every 3 seconds:
if the player is holding iron sword named "&eSpeedster Sword":
apply speed 2 to player for 9999 days
wait 1 tick
remove speed from player
I don't really see any problems with it