#Cool thing that flouts to you slowly kinda like mart from nullscape
5 messages · Page 1 of 1 (latest)
i did it wrong
SET Player.SelPart 1
LABEL Loop
SUB R0 Player.Pos.X Enem.Pos.X
SUB R1 Player.Pos.Y Enem.Pos.Y
SUB R2 Player.Pos.Z Enem.Pos.Z
MUL R3 R0 R0
MUL R4 R1 R1
MUL R5 R2 R2
ADD R3 R3 R4
ADD R3 R3 R5
SQRT R3 R3
LESS R6 R3 0
IF R6 Loop
DIV R0 R0 R3
DIV R1 R1 R3
DIV R2 R2 R3
MUL R0 R0 DeltaTime
MUL R1 R1 DeltaTime
MUL R2 R2 DeltaTime
MUL R0 R0 2
MUL R1 R1 2
MUL R2 R2 2
ADD Enem.Pos.X Enem.Pos.X R0
ADD Enem.Pos.Y Enem.Pos.Y R1
ADD Enem.Pos.Z Enem.Pos.Z R2
SLEEP 0
GOTO Loop```
there