My code:
while true do workspace.Part:clone(50) end
First you need to add a wait()
to the while loop, or you'll crash.
Then doworkspace.Part:Clone().Parent = workspace to clone it to workspace
.
Final code:
while true do wait() game.Workspace.Part:Clone().Parent = workspace end
Here's an example:
while wait() do workspace.Part:clone().Parent = workspace end