i ma trying to make it so that when the player spawns show room model will copy and move
local show_room = script.Parent
local copy = show_room:Clone()
function new_child(child)
if child.p_or_o.Value == "player" then
copy:MoveTo(Vector3.new(show_room.camera_part.Position.X + 10))
copy.Name = child.Name .. "'s spawn"
end
end
game.Workspace.ChildAdded:Connect(new_child)

1 comment
I believe ChildAdded is deprecated consider changing it.