Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Can I Make A Part Teleport From ServerStorarge To The Workspace every 10 sec?

Asked by 9 years ago

here is my code

while true do
local Part = game.ServerStorage.Part:Clone
Part.Parent = game.Workspace
wait (10)

the error is this The Parent property of Part is locked, current parent: NULL, new parent RoundMap

1 answer

Log in to vote
-1
Answered by 9 years ago
while true do
local Part = game.ServerStorage.Part:Clone()
Part.Parent = game.Workspace
wait(10)
end

Or you can do

while true do
local Part = game.ServerStorage.Part:Clone().Parent = game.Workspace
wait(10)
end

0
Please explain what you're doing. Just supplying code doesn't help anyone learn. Elaborate on your answer. Goulstem 8144 — 9y
0
ok thanks so much for your help zangdragonoid 0 — 9y
Ad

Answer this question