#Best Way to use Cooldown?

1 messages · Page 1 of 1 (latest)

grim rampart
#

Well, i'm making a skill system and actually it is working really well. The problem is: i want to make a cooldown, and the SkillButton (The GUI button that uses the skill) can perfectly handle it, but if you press a certain shortcut (one) then the skill will be used too. I don't actually know how can i make when the shortcut use the skill (handled with UIS in a LocalScript) the SkillButton will also enter in cooldown and you will be not able to use the skill.

#

Well, when you press 1 the button enters in cooldown, but the skill doesn't.

#

I want to, in a not that distant future, make a system that the player can remove the skill cooldowns too.

ionic needle
#

So the gui and skill aren't synced or only one is working?

grim rampart
#

i want to make it synced

balmy jackalBOT
#

studio** You are now Level 6! **studio

grim rampart
#

but i don't exactly know how

#

i have a script named skillhandler, that handles with the button

#

the button is also enabled when i use the shortcut

#

for making it easier to work when i add the "no cooldown" system (usable in private servers), i want to sync both button and shortcut