You can turn off the visual root/pathfinding overlays in Roblox Studio from the viewport display options, not from the game’s scripts. Roblox’s pathfinding docs say to toggle Navigation mesh and Pathfinding modifiers off in the Visualization Options widget in the upper-right of the 3D viewport.

If you mean the blue/green pathfinding visuals

  • Open Studio.
  • Look at the upper-right of the 3D viewport.
  • Open Visualization Options.
  • Turn off Navigation mesh and/or Pathfinding modifiers.

If you mean the MicroProfiler

  • Press Ctrl + F6 on Windows, or Ctrl + Option + F6 on macOS, in Studio or Play Solo mode.
  • You can also open Escape > Settings and switch Micro Profiler to Off.

If you mean the HumanoidRootPart

There is no Studio setting to “turn off” the character’s root part itself; that part is part of the rig, so you’d usually make it invisible or change how your model is built rather than remove a Studio feature. If you want, I can also give you the exact steps for hiding the root part , disabling pathfinding visuals , or turning off AI suggestion popups.