Trace2004tyler

Keybinds Updated

Apr 14th, 2020
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. --KeypadOne respawn
  2. --n drop gun
  3. --Press r to reload your gun instantly
  4. wait(5)
  5. function onKeyPress(inputObject, gameProcessedEvent)
  6. if inputObject.KeyCode == Enum.KeyCode.KeypadOne then
  7. workspace.Events.Shop:FireServer("JoinGame")
  8. end
  9. end
  10. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  11. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  12. if key == 'n' then
  13. for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  14. if v:IsA("Tool") then
  15. v.Parent = game.Workspace.DroppedItems
  16. end
  17. end
  18. end
  19. end)
  20. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  21. if key == 'r' then
  22. for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  23. if v:IsA("Tool") then
  24. v.Parent = game.Workspace.DroppedItems
  25. end
  26. end
  27. end
  28. end)
Advertisement
Add Comment
Please, Sign In to add comment