shurarist Jan 23rd, 2020 (edited) 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. script.Parent = game.StarterGui
  2. wait()
  3. local m = game.Players.LocalPlayer:GetMouse()
  4. m.KeyDown:connect(function(k)
  5. if k:lower() == "q" then
  6. local c = game.Players.LocalPlayer.Character
  7. if c then
  8. local h = c:findFirstChild("Humanoid")
  9. if h then h.Sit = not h.Sit --Here goes the function, mine is to make the character sit
  10. end
  11. end
  12. end
  13. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand