Advertisement
iiJosephCats205

Void FE Remote Template

Sep 29th, 2019
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. local Remote = Instance.new("RemoteEvent",owner.Character)
  2. Remote.Name = "REMOTENAME"
  3.  
  4. Remote.OnServerEvent:connect(function(player,key)
  5. if key == Enum.KeyCode.H then
  6.  
  7. end
  8. end)
  9.  
  10. NLS([[
  11. local Remote = owner.Character:WaitForChild("REMOTENAME")
  12. local UserInput = game:GetService("UserInputService")
  13. UserInput.InputBegan:connect(function(key,isTyping)
  14. if not isTyping then
  15. Remote:FireServer(key.KeyCode)
  16. end
  17. end)
  18. ]],owner.Character)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement