I know how to make a regular if key == "" then script but how do you make it so that you have to press the key twice
local timeBeforePressingSecond=5 game.Players.LocalPlayer:GetMouse''.KeyDown:connect(function(k) local time=os.time'' game.Players.LocalPlayer:GetMouse''.KeyDown:connect(function(k) if((time-os.time'')>=timeBeforePressingSecond)then --code end end) end)