Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HOLD R UNTIL IT PASSES THE WHITE LINE! ( 10 PERCENT CHANCE OF MISSING )
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.R then
- game.ReplicatedStorage.Ball.StartShooting:FireServer()
- wait(0.5)
- game.ReplicatedStorage.Ball.EndShooting:InvokeServer(true,"Perfect")
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement