Road clone appears on the Server but not on the client (infinity road system)

  1. What do you want to achieve? Making an infinity road system

  2. What is the issue? The script I made clones the road from server storage when the car touches the sensor and then destroy the previous road. but the problem is that the road clone appears on the server but not on the client.

  3. What solutions have you tried so far? I tried putting the road on the replicated storage instead of server storage but the same issue happens, its weird as its a normal script and everything on the server should happen on the client as well.

-- This is a part of the code

	if car.PrimaryPart.Position.Z <= Sensor.Position.Z then
		task.wait()

		local roadv2 = ssRoad:Clone()
		roadv2:PivotTo(CFrame.new(roadv2.PrimaryPart.Position + Vector3.new(0,0,z)))
		roadv2.Parent = game.workspace

		z = z * 2

		workspaceRoad:Destroy() 

also if someone have a better idea of making an infinity road system better than the way I used, ty for your time.

2 Likes

I would read up on instance streaming, as that could be the issue you are dealing with. Without seeing any of your other code that is relevant, it looks to be correct. It is just parenting a clone.

2 Likes

Perfect, tysm, and thanks for your time, have a great day

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.