could you edit this skript for me:
I need it so then the player can only fly for 10 minutes, and can u make it so then when the player gets hit by another player the fly mode disables for 7 seconds, and every time they are hit the 7 second timer resets.
command /fly:
permission: fly.perm
cooldown: 1800 seconds
Trigger:
If {fly.%player} is not set:
send "&fFlight mode is now set to &a&lENABLED" to player
set player's fly mode to true
set {fly.%player%} to true
Stop
send "&fFlight mode is now &4&lDISABLED" to player
set player's fly mode to false
delete {fly.%player%}
Stop
can u make it so then when the player gets hit by another player the fly mode disables for 7 seconds, and every time they are hit the 7 second timer resets.
Btw this isnt my skript, i found it and am wondering if u could add that to it