Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

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

✓ Accepted answer
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

2 comments

0

Please explain what you're doing. Just supplying code doesn't help anyone learn. Elaborate on your answer.

0

ok thanks so much for your help

This discussion is preserved as it was. New answers, comments, and votes are closed.