RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Make a part that if a player hits the part it will make them sit"
-- script for the part local part = script.Parent local function sitPlayer(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player then local character = player.Character local humanoid = character:FindFirstChild("Humanoid") if humanoid then humanoid.Sit = true end end end part.Touched:Connect(sitPlayer)