Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.P then
- game.Workspace.Autofarm:Destroy()
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement