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

Help please, i have a function here but how do I slow it down?

Asked by 4 years ago

Please encode Lua code in the Lua block code tag (look for the Lua icon in the editor).

this is the code but when I touch it loads of parts come out, i need to slow it down

function touch() local clone = script.Parent.Parent.grab4:Clone() clone.Parent = script.Parent.Parent end

script.Parent.Touched:Connect(touch)

0
use a debounce mikey2019d 43 — 4y
0
i will try thank you GameStealerKid 79 — 4y
0
tysm it worked GameStealerKid 79 — 4y
0
np can u mark it solved mikey2019d 43 — 4y
0
Ill post an awnser mikey2019d 43 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago

add a debounce

Ad

Answer this question