First off I would ask why you are using a string variable for groundpick -
[CODE]
groundpick$ = LinePick(player1\x,player1\y,player1\z,0,-12,0)"
[/CODE]
Get rid of the dollar sign !
[CODE]
groundpick$ = LinePick(player1\x,player1\y,player1\z,0,-12,0)"
[/CODE]
Get rid of the dollar sign !