Advertisement
Guest User

Press "E" To sit!

a guest
Mar 20th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. Created by HairlyBacon
  2.  
  3. repeat wait() until game.Players.LocalPlayer
  4. local player = script.Parent.Parent
  5. local mouse = player:GetMouse()
  6.  
  7. mouse.KeyDown:connect(function(key)
  8. if key == "e" then
  9. player.Character.Humanoid.Sit=true
  10. end
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement