Not sure if I'm making an obvious mistake but anyway I have a GUI that allows you to buy cars but whenever the car gets cloned it falls apart and goes through the ground but there is one car that gets cloned correctly but does not allow you to get in the car anyone know how to fix this?

script.Parent.MouseButton1Click:connect(function()
	local PoliceC = game.ReplicatedStorage.PoliceCar
	local player = game.Players.LocalPlayer
	local character = player.Character
	local stats = player:WaitForChild("leaderstats")
	local price = 100
	
	if stats.Money.Value >= price then
		stats.Money.Value = stats.Money.Value - price
		local ClonedPoliceC = PoliceC:Clone()
		ClonedPoliceC.Parent = game.Workspace
		ClonedPoliceC:MakeJoints()
		ClonedPoliceC:MoveTo(player.Character.Torso.Position + Vector3.new(10, 0, 0))
	end
end)

3 comments

0

weld the car

0

the seat wont work now

0

Lol it's not a script issue, its an issue with how you built the car. Good luck lol.