06-09-2011, 09:24 PM
(This post was last modified: 06-09-2011, 09:25 PM by Jacob__mybb_import1.)
[lua]
function OnCollided(hit)
if hit.Parent.Type == "Character" then
hit.Parent.Parent = game:getWorld("test").World
hit.Parent.Position = Vec2D(newX, newY)
end
end
link(script.Parent.Collided, OnCollided)
[/lua]
function OnCollided(hit)
if hit.Parent.Type == "Character" then
hit.Parent.Parent = game:getWorld("test").World
hit.Parent.Position = Vec2D(newX, newY)
end
end
link(script.Parent.Collided, OnCollided)
[/lua]