RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Make a part that if a player hits the part it will make them sit for 3 seconds"
-- server script local part = script.Parent local function onTouched(hit) local character = hit.Parent local humanoid = character:FindFirstChildWhichIsA("Humanoid") if humanoid then humanoid.Sit = true wait(3) humanoid.Sit = false end end part.Touched:Connect(onTouched)