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 comment
Thank you