x_zstd

Silly simulator E to sledge hammer

Sep 11th, 2023
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | Source Code | 0 0
  1. --E to sledgehammer made by x_zstd!
  2. --Also it still sledges while your typing so beware of that
  3. local u = game:GetService("UserInputService")
  4. u.InputBegan:Connect(function(input)
  5. if input.KeyCode == Enum.KeyCode.E then
  6. local args = {
  7. [1]="dash"
  8. }
  9. game:GetService("Players").LocalPlayer.Character.OYS.ButtonPressed:FireServer(unpack(args)) game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Block"):FireServer()
  10. local args = {
  11. [1]="f"
  12. }
  13. game:GetService("Players").LocalPlayer.Character.OYS.ButtonPressed:FireServer(unpack(args))
  14. end
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment