Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The first option is to get the value of the click time and compare it with the delay number. Let's say so
local clicks = game.Players.LocalPlayer.leaderstats.money
clicks.delay = 10
script.Parent.MouseButton1Click:Connect(function()
if ((clicks.click_time or 0) + clicks.delay) < GetCurrentTime() then
clicks.click_time = GetCurrentTime()
clicks.Value += 1
end
end)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question