--xd
local ToggleKey = Enum.KeyCode.V
local Interval = 0.01
local Args = {4}
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Enabled = false
local Connection = nil
local function FireRemote()
ReplicatedStorage:WaitForChild("BrainrotPlinkoDrop"):FireServer(unpack(Args))
end
local function Toggle()
Enabled = not Enabled
if Enabled then
print("Auto plinko on")
Connection = RunService.Heartbeat:Connect(function()
FireRemote()
task.wait(Interval)
end)
else
print("Auto plinko off")
if Connection then
Connection:Disconnect()
Connection = nil
end
end
end
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if not gameProcessed and input.KeyCode == ToggleKey then
Toggle()
end
end)
print("auto plinko by @bluevoxx", ToggleKey.Name, "to toggle auto plinko")
Comments
No comments yet
Be the first to share your thoughts!