Advertisement
Caldona

Power In StaterPAck

Apr 2nd, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. -- Written By LordDracius
  2. local remotes = game:GetService("ReplicatedStorage"):WaitForChild("Remotes")
  3. local userInputService = game:GetService("UserInputService")
  4.  
  5. local debounce = false
  6.  
  7. userInputService.InputBegan:Connect(function(input, gameEvent)
  8. if not debounce and not gameEvent then
  9. debounce = true
  10.  
  11. if input.KeyCode == Enum.KeyCode.F then
  12. remotes.FireBlast:InvokeService
  13. end
  14.  
  15. debounce = false
  16. end
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement