local UserInputService = game:GetService('UserInputService') local remote = game:GetService('ReplicatedStorage').Applications.Events.NewBot local cooldown = 2.4 local holding = false local arguments = { [1] = 'sometimesimwise', -- replace with username [2] = false, [3] = 'Futa', } local function invokeWithCooldown() while holding do local results = remote:InvokeServer(unpack(arguments)) task.wait(cooldown) end end UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.U then if not holding then holding = true task.spawn(invokeWithCooldown) end end end) UserInputService.InputEnded:Connect(function(input, gameProcessed) if input.KeyCode == Enum.KeyCode.U then holding = false end end)