How do I make it so that my skript Removes fire 3 seconds after it has been placed...
Current Code:
Current Code:
code_language.skript:
on rightclick with diamond sword:
name of player's tool is "&eBlaziken Sword":
set {_Waited} to difference between {FireTrail::%player%} and now
if {_Waited} is less than 25 seconds:
message "&cCooldown &8&l» &7You must wait &c%difference between {_Waited} and 25 seconds% &7to use your ability"
stop
else:
set {FireTrail::%player%} to now
send "&cAbility &8&l» &7You have activated your &cFire Dash &7ability" to player
apply potion of swiftness 1 to player for 10 seconds
loop 25 times:
set {_block} to block 1 blocks backwards player
set block at {_block} to fire
wait 5 ticks