Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local descendants = game.Workspace:GetDescendants()
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.L then
- for index, descendant in pairs(descendants) do
- if descendant.Name == "Basketball" then
- local Remote = descendant.pass
- local Arguments = {
- [1] = "RB_SPAMDEXTER",
- [2] = "overhead",
- [3] = 99,
- [4] = false
- }
- Remote:FireServer(unpack(Arguments))
- end
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement