Path2D not rendering, help

Found a way to “fix” this, by creating a path2D and destroying it, it apparently renders all the paths back, just do something like this if u want to fix this problem:

while task.wait(.1) do
   local Clone = Path2D:Clone()
   Clone.Parent = script.Parent
   Clone:Destroy()
end