ive tested the code, and it works with 6.3 aswell if you remove the terrain line and code a little around it. ill use that in my game, i dont use terrain but it works anyway...