Title says all. I need help
code is working for the models that they already in the workspace. Also the script in the serverscriptservice
for b, seat in pairs(kizak:GetChildren()) do
if seat.Name == "seat" then
seat.ChildRemoved:connect(function()
local a = seat:FindFirstChild("SeatWeld")
if a ~= nil then end
print(seat.Parent.Name)
kizak:remove()
No error is a message too. It means the code works. You need to run this code AFTER you add the children. It would help in studio if you can visually confirm the children have been added on the server side.