Hello!
Does anyone know a script to find the nearest part from the player's character? That's all I want.
get all the parts in workspace. create array with dictionaries that has part and magnitude between that part and character part (http://wiki.roblox.com/index.php?title=Magnitude) then loop through magnitudes and get the lowest number. part matching the lowest number in array is your desired part. this is just an idea and its kinda complicated but will probably work.
Closed as Not Constructive by Andorks
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?