What do?
#2
You don't try to set game.World, at least I don't think so.

You need to switch the objects' parents to the other world.

For example,

[lua]
function changeWorld(p, w)
p.Parent = game:getWorld(w).Players
p.Character.Parent = game:getWorld(w).World
script.Parent.Parent = p
end

link(script.Parent.MouseDown, changeWorld)
[/lua]
Reply


Messages In This Thread
What do? - by Mustachio - 01-03-2012, 04:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)