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

Cant move model from Workspace to ReplicatedStorage, why?

So I've coded scripts more complicated than this but for some reason this isn't working. I'm sure there's just one small nick I'm overlooking but I can't seem to figure it out.

Code:

while true do 
	RStorage = game.ReplicatedStorage
	wait(5)
	script.Parent:MoveTo(RStorage)
end

1 answer

✓ Accepted answer

It's as simple as this:

while true do
	local RStorage = game.ReplicatedStorage
	wait(5)
	script.Parent = RStorage
end

MoveTo is used for models that require to move by a certain amount via Vector3. What you actually needed to do was re-assign the Parent.

1 comment

0

Thank you

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