Advertisement
DangerKillerTH

Buso Haki Script

Oct 9th, 2019
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. (LOCAL SCRIPT)
  2.  
  3. repstorage = game:GetService("ReplicatedStorage")
  4. RemoteEvent = repstorage:WaitForChild("HakiOn")
  5. RemoteEvent2 = repstorage:WaitForChild("HakiOff")
  6. Player = game.Players.LocalPlayer
  7. -----
  8. game.Workspace:WaitForChild(Player.Name)
  9. Debounce = 1
  10.  
  11. game:GetService("UserInputService").InputBegan:Connect(function(input)
  12. if input.KeyCode == Enum.KeyCode.H and Debounce == 1 then -- if Player press H and debounce = 1
  13. Debounce = 3 -- then debounce is 3 (Cannot manipulate with this debounce)
  14. RemoteEvent:FireServer() -- fire server
  15. wait(3) -- Wait 3 seconds till Debounce is 2
  16. Debounce = 2
  17.  
  18. end
  19. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement