Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --// Services
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local Lighting = game:GetService("Lighting")
- local localPlayer = Players.LocalPlayer
- --// Settings
- local ESPColor = Color3.fromRGB(255, 0, 0) -- Red highlight
- local NameColor = Color3.fromRGB(255, 255, 255) -- White name
- local FPSBoost = true
- local FullBrightness = true
- --// FPS Boost
- if FPSBoost then
- setfpscap(240) -- Maximum FPS (works on some exploiters)
- game:GetService("UserSettings").GameSettings.SavedQualityLevel = 1
- for _, obj in pairs(game:GetDescendants()) do
- if obj:IsA("Texture") or obj:IsA("Decal") then
- obj:Destroy()
- end
- end
- end
- --// Full Brightness
- if FullBrightness then
- Lighting.Brightness = 2
- Lighting.GlobalShadows = false
- Lighting.FogEnd = 100000
- end
- --// ESP Function
- local function createESP(player)
- if player == localPlayer then return end
- if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- -- Create BillboardGui
- local billboard = Instance.new("BillboardGui")
- billboard.Name = "ESPBillboard"
- billboard.Adornee = player.Character:FindFirstChild("HumanoidRootPart")
- billboard.Size = UDim2.new(0, 100, 0, 50)
- billboard.AlwaysOnTop = true
- billboard.Parent = player.Character
- local nameLabel = Instance.new("TextLabel")
- nameLabel.Size = UDim2.new(1, 0, 1, 0)
- nameLabel.BackgroundTransparency = 1
- nameLabel.Text = player.Name
- nameLabel.TextColor3 = NameColor
- nameLabel.TextScaled = true
- nameLabel.Font = Enum.Font.SourceSansBold
- nameLabel.Parent = billboard
- -- Create Highlight
- local highlight = Instance.new("Highlight")
- highlight.FillColor = ESPColor
- highlight.OutlineColor = Color3.new(0,0,0)
- highlight.Parent = player.Character
- end
- end
- --// Add ESP to existing players
- for _, player in pairs(Players:GetPlayers()) do
- createESP(player)
- end
- --// Add ESP to new players
- Players.PlayerAdded:Connect(function(player)
- player.CharacterAdded:Connect(function()
- createESP(player)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment