座ると壊れる椅子を作る!

https://youtu.be/HFspk5w7uAg

local seat = script.Parent.Seat
local model = script.Parent
local sound = script.Parent["Wood Breaking"]

local function sit()
	for _, obje in ipairs(model:GetDescendants()) do
		
		if obje:IsA("BasePart") then
			seat.CanTouch = false
			obje.Anchored = false
			sound:Play()
			script.Enabled = false
		end
	end
end
seat:GetPropertyChangedSignal("Occupant"):Connect(sit)