here is my code
1 | while true do |
2 | local Part = game.ServerStorage.Part:Clone |
3 | Part.Parent = game.Workspace |
4 | wait ( 10 ) |
the error is this The Parent property of Part is locked, current parent: NULL, new parent RoundMap
1 | while true do |
2 | local Part = game.ServerStorage.Part:Clone() |
3 | Part.Parent = game.Workspace |
4 | wait( 10 ) |
5 | end |
Or you can do
1 | while true do |
2 | local Part = game.ServerStorage.Part:Clone().Parent = game.Workspace |
3 | wait( 10 ) |
4 | end |