Hello, i am trying to create an ability where if the player right clicks it burns all other players. With the current code i have, it says "There's no loop that matches 'loop-player for 5 seconds' " Can someone please help? Thanks
Code:
on right click:
if player's tool is blaze powder named "Fiery Aura":
set player's tool to air
loop all players:
if loop-player is not player:
apply burn to loop-player for 5 seconds