how to fix this
function Spawne() if script.Parent.Parent.Parent.Parent.car.Frame.Buy.Text == "Sold" then local Player = game.Players.LocalPlayer local clone = game.Workspace.Cars["Bugatti Chiron"]:Clone() clone.Parent = game.Workspace clone:MoveTo(Player.Character.Head.Position + Vector3.new(0, 0, 5)) end end script.Parent.MouseButton1Down:connect(Spawne)