Advertisement
just1morethings

localsided template

Aug 18th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. local ch = game.Players.LocalPlayer
  2. local ch2 = ch.Character
  3. local mouse = ch:GetMouse()
  4. print("load script name serversided")
  5. local script = ch2:WaitForChild("Hey!")
  6. local remotemouse = ch2:WaitForChild("KeyEvent")
  7. print("load success")
  8. function keydown(wat)
  9. remotemouse:FireServer(wat)
  10. end
  11. mouse.KeyDown:Connect(function(key)
  12. keydown(key)
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement