Advertisement
NoobMasterScripter

Roblox Seat Script

Apr 5th, 2021
2,795
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. local prompt = script.Parent
  2. local sit = prompt.Parent
  3. sit.Disabled = true
  4.  
  5. prompt.Triggered:Connect(function(player)
  6. sit.Disabled = false
  7. local char = workspace:WaitForChild(player.Name)
  8. local hum = char.Humanoid
  9. sit:Sit(hum)
  10. prompt.Enabled = false
  11. while sit.Occupant do
  12. wait()
  13. end
  14. prompt.Enabled = true
  15. sit.Disabled = true
  16. end)
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement