How would you use...
#3
(06-21-2011, 01:20 AM)Jacob_ Wrote: getPosition() on a tool gives you the position of the end of the tool.

How would I print that out?

print(getPosition()) ?
[lua]
function onClick(btn, pos)
if btn == 1 then
game.World.cube.Position = getPosition()
end
end

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


Messages In This Thread
How would you use... - by Blandflakes - 06-21-2011, 01:19 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)