Advertisement
Guest User

ScriptS

a guest
Feb 28th, 2020
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
  2. if inputObject.KeyCode == Enum.KeyCode.Z then --Also, could be written as [[inputObject.KeyCode == "R"]
  3. for count = 1, 200 do
  4. game:GetService("ReplicatedStorage").RemoteEvents.GiveTool:FireServer("BloxyCola")
  5. end
  6. end
  7. end)-------By JPG Gaming https://www.youtube.com/channel/UC25ex4KezvNwGUz7bz-r7uw?view_as=subscriber Subscribe.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement