Baconcoder

Untitled

Sep 23rd, 2025 (edited)
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. --// Services
  2. local Players = game:GetService("Players")
  3. local RunService = game:GetService("RunService")
  4. local Lighting = game:GetService("Lighting")
  5.  
  6. local localPlayer = Players.LocalPlayer
  7.  
  8. --// Settings
  9. local ESPColor = Color3.fromRGB(255, 0, 0) -- Red highlight
  10. local NameColor = Color3.fromRGB(255, 255, 255) -- White name
  11. local FPSBoost = true
  12. local FullBrightness = true
  13.  
  14. --// FPS Boost
  15. if FPSBoost then
  16. setfpscap(240) -- Maximum FPS (works on some exploiters)
  17. game:GetService("UserSettings").GameSettings.SavedQualityLevel = 1
  18. for _, obj in pairs(game:GetDescendants()) do
  19. if obj:IsA("Texture") or obj:IsA("Decal") then
  20. obj:Destroy()
  21. end
  22. end
  23. end
  24.  
  25. --// Full Brightness
  26. if FullBrightness then
  27. Lighting.Brightness = 2
  28. Lighting.GlobalShadows = false
  29. Lighting.FogEnd = 100000
  30. end
  31.  
  32. --// ESP Function
  33. local function createESP(player)
  34. if player == localPlayer then return end
  35. if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  36. -- Create BillboardGui
  37. local billboard = Instance.new("BillboardGui")
  38. billboard.Name = "ESPBillboard"
  39. billboard.Adornee = player.Character:FindFirstChild("HumanoidRootPart")
  40. billboard.Size = UDim2.new(0, 100, 0, 50)
  41. billboard.AlwaysOnTop = true
  42. billboard.Parent = player.Character
  43.  
  44. local nameLabel = Instance.new("TextLabel")
  45. nameLabel.Size = UDim2.new(1, 0, 1, 0)
  46. nameLabel.BackgroundTransparency = 1
  47. nameLabel.Text = player.Name
  48. nameLabel.TextColor3 = NameColor
  49. nameLabel.TextScaled = true
  50. nameLabel.Font = Enum.Font.SourceSansBold
  51. nameLabel.Parent = billboard
  52.  
  53. -- Create Highlight
  54. local highlight = Instance.new("Highlight")
  55. highlight.FillColor = ESPColor
  56. highlight.OutlineColor = Color3.new(0,0,0)
  57. highlight.Parent = player.Character
  58. end
  59. end
  60.  
  61. --// Add ESP to existing players
  62. for _, player in pairs(Players:GetPlayers()) do
  63. createESP(player)
  64. end
  65.  
  66. --// Add ESP to new players
  67. Players.PlayerAdded:Connect(function(player)
  68. player.CharacterAdded:Connect(function()
  69. createESP(player)
  70. end)
  71. end)
  72.  
Advertisement
Add Comment
Please, Sign In to add comment