Advertisement
Roblox_Raiding

m to sit

Jun 4th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. repeat wait() until game.Players.LocalPlayer
  2. local player = script.Parent.Parent
  3. local mouse = player:GetMouse()
  4.  
  5. mouse.KeyDown:connect(function(key)
  6.     if key == "m" then
  7.     player.Character.Humanoid.Sit=true
  8.     end
  9. end)
  10.  
  11. mouse.KeyUp:connect(function(key)
  12.     if key == "m" then
  13.     player.Character.Humanoid.Sit=false
  14.     end
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement