How to play a sound when you sit

Hello,

I need help, i have tried multiple scripts, none of them worked.

I need someone to help me with the following:

- When you sit down, a sound effect plays.
- I also want the script INSIDE or OUTSIDE the seat, not in a startplayer etc…

1 Like

Is the seat a ROBLOX seat, or a seat you scripted specifically?

script.Parent:GetPropertyChangedSignal("Occupant"):Connect(function()
	if script.Parent.Occupant then
		script.Parent.Sound:Play()
	end
end)

image

3 Likes

Thank you so much!!! It worked.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.