RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"script a chair sit"
-- script for chair local part = script.Parent local debounce = false local function sit(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player and not debounce then debounce = true local humanoid = player.Character:FindFirstChild("Humanoid") if humanoid then humanoid.Sit = true player.Character.HumanoidRootPart.CFrame = part.CFrame * CFrame.new(0, 2, 0) end wait(1) debounce = false end end part.Touched:Connect(sit)