It does, it’s two seconds.
I’ve tested it and it works Perfectly fine.
It does, it’s two seconds.
I’ve tested it and it works Perfectly fine.
Yes, that is what I want that.
I changed it to 10 seconds, but it was still instant.
local Debounce = false
script.Parent.ProximityPrompt.Triggered:Connect(function(plr)
if Debounce then return end
Debounce = true
plr.leaderstats.Cash.Value += 105
task.wait(10)
Debounce = false
end)
local dev = false
local prox = script.Parent
prox.Triggered:Connect(function(plr)
if not dev then
dev = true
plr.leaderstats.Cash += 5
task.wait(choose here)
dev = false
end
end)
Wrote this on phone so may have to tweak a bit
Thank you!!! This worked for me!!
Make sure to set his post to solution. Can you try my script out? I just want to see if it would work.
It doesn’t work for me unfortunately.
Alright I think I see the problem with it. Does your prox prompt have a # number of seconds to hold down?
Yes, it does have number of seconds to hold down - 6 seconds