Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Script generated by R2Sv2
- -- R2Sv2 developed by Luckyxero
- local A_1 = game:GetService("Workspace")["Godly Punching Bag"].Humanoid
- local A_2 = "punch"
- local Event = game:GetService("ReplicatedStorage").Remotes.Damage
- local toggled = false
- local keys = "k" -- key to toggle farm
- local plr = game:GetService("Players").LocalPlayer
- local mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key:lower() == keys then
- toggled = not toggled
- print(tostring(toggled))
- end
- end)
- game:GetService('RunService').Stepped:connect(function()
- if toggled then
- Event:InvokeServer(A_1, A_2)
- end
- end)
Add Comment
Please, Sign In to add comment