How do u go about making a holdable skill?

so i wanted to make a skill/ability where if you hold a certain key long enough your ability will get more powerful and when u release the key your holding it will make it stronger
example: let say i want to make a fireball skill that u can hold for like 3 seconds after you hold the key for 3 seconds the fire ball gets release and it makes it stronger then just pressing the key

kinda like how Arcane Adventures or World of Magic made there skill

anything will be helpful thx in advance :smiley:

You can use UserInputService for this! Basically what it does, is that it will detect any Input from a player with using the InputBegan & InputEnded functions! And if it helps, you might wanna check out this post as well:

1 Like

ik about inputservice but thx any ways :smiley:
and i figure it out

ur just gonna have to use coroutine and tick with inputservice.

1 Like