Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a player sit when they touch a part?

Here is my code: "IsSeated" is a guess and it doesn't work

script.Parent.Touched:Connect(function(hit)
	if hit.Parent:FindFirstChild("Humanoid") then
		hit.Parent.Humanoid.IsSeated = true
	end
end)

1 comment

0

I am making a slide

1 answer

✓ Accepted answer

Hello sir,

script.parent.Touched:Connect(function(hit)
if game.Players:GetPlayerFromCharacter(hit.Parent) then
hit.Parent.Humanoid.Sit = true
end
end

Here sir, please insert this into your part!

This discussion is preserved as it was. New answers, comments, and votes are closed.