Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I add a deboucne to this chargeable attack?

Asked by 8 years ago

I tried adding a debounce "k" but the script still doesn't work help?

01wait(.1)
02p = game.Players.LocalPlayer
03c = p.Character
04RS = c.Torso["Right Shoulder"]
05hold = false
06mouse = p:GetMouse()
07local size = 2
08k = false
09 
10function charge(key)
11    key:lower()
12    if key == "e" then
13        if k == false then
14        k = true
15        hold = true
View all 69 lines...

Answer this question