Model becoming unachored

Hello im using a script for my car spawning

model = game.ServerStorage.RANDOMCARNAME:Clone()
model.Parent = game.Workspace

And I modifyed it to and it keeps being unanchored and falls,Not sure about code above ^^^ But is someone able to help?

elseif msg == "!spawn devexplorer" then
				msg = Storage.Alert:Clone()
				msg.car.Visible=true
				msg.warn.Visible=false
				msg.msg.Text = "Car Succesfully spawned, standby as it teleports to you"
				msg.msg.TextColor3 = Color3.fromRGB(49, 255, 56)
				msg.Visible=true msg.Parent = gui.alerts
				wait(4)
				local dev = cars.Explorer:Clone()
				dev.Parent = vehicles
				dev:MakeJoints()
				dev:MoveTo(game.Workspace:FindFirstChild(plr.Name).Head.Position)
1 Like

You could use weld to glue it all together.

I don’t ever use welds, but the models are already anchored.

Is there any other scripts that might be causing this?

No, I deleted them all.
image


1 Like

Post closed, I have fixed it I just gotta make the script not Move the folder to replicated storage because some how makes it unanchored.

1 Like