I am trying to get a lockon system that detects the nearest enemy and fires a script. What's the best way?
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers. Why was this question closed?
Yay.
local Distance = (part1.Position - part2.Position).magnitude print(Distance)
Locked by adark
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?