Enable rotating parts only if a player is near them

You can use for loop in pairs to loop through the players character and find there HumanoidRootPart and Magnitude it with the part it like (Part.Position - HumanoidRootPart.Position).Magitude and check if the distance is near by studs or you can use Zone like they said.

3 Likes