1. --- Drawing Player Radar
  2. --- Made by topit
  3. _G.RadarSettings = {
  4. --- Radar settings
  5. RADAR_LINES = true; -- Displays distance rings + cardinal lines
  6. RADAR_LINE_DISTANCE = 50; -- The distance between each distance ring
  7. RADAR_SCALE = 1; -- Controls how "zoomed in" the radar display is
  8. RADAR_RADIUS = 125; -- The size of the radar itself
  9. RADAR_ROTATION = true; -- Toggles radar rotation. Looks kinda trippy when disabled
  10. SMOOTH_ROT = true; -- Toggles smooth radar rotation
  11. SMOOTH_ROT_AMNT = 30; -- Lower number is smoother, higher number is snappier
  12. CARDINAL_DISPLAY = true; -- Displays the four cardinal directions (north east south west) around the radar
  13. --- Marker settings
  14. DISPLAY_OFFSCREEN = true; -- Displays offscreen / off-radar markers
  15. DISPLAY_TEAMMATES = true; -- Displays markers that belong to your teammates
  16. DISPLAY_TEAM_COLORS = true; -- Displays your teammates markers with either a custom color (change Team_Marker) or with that teams TeamColor (enable USE_TEAM_COLORS)
  17. DISPLAY_FRIEND_COLORS = true; -- Displays your friends markers with a custom color (Friend_Marker). This takes priority over DISPLAY_TEAM_COLORS and DISPLAY_RGB
  18. DISPLAY_RGB_COLORS = false; -- Displays each marker with an RGB cycle. Takes priority over DISPLAY_TEAM_COLORS, but not DISPLAY_FRIEND_COLORS
  19. MARKER_SCALE_BASE = 1.25; -- Base scale that gets applied to markers
  20. MARKER_SCALE_MAX = 1.25; -- The largest scale that a marker can be
  21. MARKER_SCALE_MIN = 0.75; -- The smallest scale that a marker can be
  22. MARKER_FALLOFF = true; -- Affects the markers' scale depending on how far away the player is - bypasses SCALE_MIN and SCALE_MAX
  23. MARKER_FALLOFF_AMNT = 125; -- How close someone has to be for falloff to start affecting them
  24. OFFSCREEN_TRANSPARENCY = 0.3; -- Transparency of offscreen markers
  25. USE_FALLBACK = false; -- Enables an emergency "fallback mode" for StreamingEnabled games
  26. USE_QUADS = true; -- Displays radar markers as arrows instead of dots
  27. USE_TEAM_COLORS = false; -- Uses a team's TeamColor for marker colors
  28. VISIBLITY_CHECK = false; -- Makes markers that are not visible slightly transparent
  29. --- Theme
  30. RADAR_THEME = {
  31. Outline = Color3.fromRGB(35, 35, 45); -- Radar outline
  32. Background = Color3.fromRGB(25, 25, 35); -- Radar background
  33. DragHandle = Color3.fromRGB(50, 50, 255); -- Drag handle
  34. Cardinal_Lines = Color3.fromRGB(110, 110, 120); -- Color of the horizontal and vertical lines
  35. Distance_Lines = Color3.fromRGB(65, 65, 75); -- Color of the distance rings
  36. Generic_Marker = Color3.fromRGB(255, 25, 115); -- Color of a player marker without a team
  37. Local_Marker = Color3.fromRGB(115, 25, 255); -- Color of your marker, regardless of team
  38. Team_Marker = Color3.fromRGB(25, 115, 255); -- Color of your teammates markers. Used when DISPLAY_TEAM_COLORS is disabled
  39. Friend_Marker = Color3.fromRGB(25, 255, 115); -- Color of your friends markers. Used when DISPLAY_FRIEND_COLORS is enabled
  40. };
  41. }
  42. loadstring(game:HttpGet('https://raw.githubusercontent.com/topitbopit/stuff/main/PlayerRadar/source.lua'))()