Heya! I am trying to have a feather for my 1.8.9 kitpvp server that, when right clicked, forces the user to fly for five seconds and then forces them to stop flying. I figured this would be relatively simple, but I'm encountering not very helpful issues. Here's what I've got:
And here's the error I've been getting:
The renaming of the feather works fine, it just isn't actually doing anything. I've tried variations like "enable flight for player" and it seems to have less issues with that but it still doesn't actually do anything.
Any help is greatly appreciated!! Thanks!!!!
Code:
on rightclick with a feather:
name of player's tool is "&rHawk Wings"
set name of player's tool to "&oIn Flight!"
make player fly
wait 5 seconds
loop all items in player's inventory:
name of loop-item is "&oIn Flight!"
set name of loop-item to "&rHawk Wings"
make player stop flying
And here's the error I've been getting:
The renaming of the feather works fine, it just isn't actually doing anything. I've tried variations like "enable flight for player" and it seems to have less issues with that but it still doesn't actually do anything.
Any help is greatly appreciated!! Thanks!!!!