I've done it already.
[lua]
link(script.Parent.Collided, function(hit)
if hit.Name == "Body" then
hit.Position = Vec2D(#,#)
end
end)
[/lua]
I didn't test that script so there may be one or two errors in it, but I made a script just about like that which worked.
[lua]
link(script.Parent.Collided, function(hit)
if hit.Name == "Body" then
hit.Position = Vec2D(#,#)
end
end)
[/lua]
I didn't test that script so there may be one or two errors in it, but I made a script just about like that which worked.