Advertisement
Er1x_Official

local script, ragdoll

Sep 25th, 2022
4,295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. local remote = script.Parent:WaitForChild("RemoteEvent")
  2. local userinputservice = game:GetService("UserInputService")
  3.  
  4. userinputservice.InputBegan:Connect(function(Input,Typing)
  5.     if not Typing then
  6.         if Input.KeyCode == Enum.KeyCode.R then
  7.             remote:FireServer()
  8.         end
  9.     end
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement