Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local prompt = script.Parent
- local sit = prompt.Parent
- sit.Disabled = true
- prompt.Triggered:Connect(function(player)
- sit.Disabled = false
- local char = workspace:WaitForChild(player.Name)
- local hum = char.Humanoid
- sit:Sit(hum)
- prompt.Enabled = false
- while sit.Occupant do
- wait()
- end
- prompt.Enabled = true
- sit.Disabled = true
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement