SHOW:
|
|
- or go back to the newest paste.
1 | print'Hey New Player U Got Execute Script It Works' | |
2 | print'Enjon!' | |
3 | ||
4 | -- Script generated by R2Sv2 | |
5 | -- R2Sv2 developed by Luckyxero | |
6 | ||
7 | local A_1 = game:GetService("Workspace")["Godly Punching Bag"].Humanoid | |
8 | local A_2 = "punch" | |
9 | - | local keys = "k" -- key to toggle farm |
9 | + | |
10 | ||
11 | local toggled = false | |
12 | local keys = "q" -- key to toggle farm | |
13 | local plr = game:GetService("Players").LocalPlayer | |
14 | local mouse = plr:GetMouse() | |
15 | ||
16 | mouse.KeyDown:connect(function(key) | |
17 | if key:lower() == keys then | |
18 | toggled = not toggled | |
19 | print(tostring(toggled)) | |
20 | end | |
21 | end) | |
22 | ||
23 | game:GetService('RunService').Stepped:connect(function() | |
24 | if toggled then | |
25 | Event:InvokeServer(A_1, A_2) | |
26 | end | |
27 | end) |