-
What do you want to achieve? Making an infinity road system
-
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.
-
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.