I have made a script where when the car doesnt exist it clones it from ServerStorage and teleports it to a position. but the script only works one time
Here is the script:
while true do wait(1) if game.Workspace:FindFirstChild("Car") then print("The car exists") else print("The car does not exist") wait(1) local ClonedPart = game.ServerStorage.Car:Clone() ClonedPart.Parent = game.Workspace print("Car has been parented to Workspace") ClonedPart.Position = Vector3.new(-16.355, 3.877, 167.314) print("Car is back in place") ClonedPart.Name = "Car" end end
it does actually teleport it back to place but it doesnt print it?