Heey guys im working on a network with my friend it called stereonetwork.
And soon we will release factions and we have some custom made skripts like. Speed, Fly, Etc
But now i have one problem and that is how can i add cooldown for strength if they used it for 30 seconds
This is my skript what i now have
Does some one know how to fix it with an cooldown when the 30 seconds are over the maxium cooldown what i want is one hour please somebody can help me
And soon we will release factions and we have some custom made skripts like. Speed, Fly, Etc
But now i have one problem and that is how can i add cooldown for strength if they used it for 30 seconds
This is my skript what i now have
code_language.skript:
command /strength:
usage: /strength
permission: strength.use
permission message: {@PermissionDenymessage}
executable by: players
trigger:
If {strength.%player%} is not set:
Send "{@StrengthEnabled}" to player
apply potion of strength 2 to the player for 30 seconds
Set {strength.%player%} to true
Stop
Send "{@StrengthDisabled}" to player
remove strength from player
Delete {strength.%player%}
Stop
Does some one know how to fix it with an cooldown when the 30 seconds are over the maxium cooldown what i want is one hour please somebody can help me