Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Open = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local ESP = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Open.Name = "Open"
- Open.Parent = ScreenGui
- Open.BackgroundColor3 = Color3.new(1, 1, 1)
- Open.BorderColor3 = Color3.new(0, 0, 0)
- Open.BorderSizePixel = 3
- Open.Position = UDim2.new(0, 0, 0.434889436, 0)
- Open.Size = UDim2.new(0, 114, 0, 43)
- Open.Font = Enum.Font.ArialBold
- Open.Text = "Open"
- Open.TextColor3 = Color3.new(0, 0, 0)
- Open.TextSize = 14
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BorderColor3 = Color3.new(0, 0, 0)
- Frame.BorderSizePixel = 4
- Frame.Position = UDim2.new(0.193588942, 0, 0.412776411, 0)
- Frame.Size = UDim2.new(0, 154, 0, 141)
- Frame.Visible = false
- ESP.Name = "ESP"
- ESP.Parent = Frame
- ESP.BackgroundColor3 = Color3.new(1, 1, 1)
- ESP.BorderColor3 = Color3.new(0, 0, 0)
- ESP.BorderSizePixel = 2
- ESP.Position = UDim2.new(0.0519480519, 0, 0.510638297, 0)
- ESP.Size = UDim2.new(0, 137, 0, 64)
- ESP.Font = Enum.Font.Cartoon
- ESP.Text = "ESP"
- ESP.TextColor3 = Color3.new(0, 0, 0)
- ESP.TextSize = 20
- ESP.TextWrapped = true
- ESP.MouseButton1Down:connect(function()
- local Holder = Instance.new("Folder", game.CoreGui)
- Holder.Name = "ESP"
- local Box = Instance.new("BoxHandleAdornment")
- Box.Name = "nilBox"
- Box.Size = Vector3.new(4, 7, 4)
- Box.Color3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
- Box.Transparency = 0.7
- Box.ZIndex = 0
- Box.AlwaysOnTop = true
- Box.Visible = true
- local NameTag = Instance.new("BillboardGui")
- NameTag.Name = "nilNameTag"
- NameTag.Enabled = false
- NameTag.Size = UDim2.new(0, 200, 0, 50)
- NameTag.AlwaysOnTop = true
- NameTag.StudsOffset = Vector3.new(0, 1.8, 0)
- local Tag = Instance.new("TextLabel", NameTag)
- Tag.Name = "Tag"
- Tag.BackgroundTransparency = 1
- Tag.Position = UDim2.new(0, -50, 0, 0)
- Tag.Size = UDim2.new(0, 300, 0, 20)
- Tag.TextSize = 20
- Tag.TextColor3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
- Tag.TextStrokeColor3 = Color3.new(0 / 255, 0 / 255, 0 / 255)
- Tag.TextStrokeTransparency = 0.4
- Tag.Text = "nil"
- Tag.Font = Enum.Font.SourceSansBold
- Tag.TextScaled = false
- local LoadCharacter = function(v)
- repeat wait() until v.Character ~= nil
- v.Character:WaitForChild("Humanoid")
- local vHolder = Holder:FindFirstChild(v.Name)
- vHolder:ClearAllChildren()
- local b = Box:Clone()
- b.Name = v.Name .. "Box"
- b.Adornee = v.Character
- b.Parent = vHolder
- local t = NameTag:Clone()
- t.Name = v.Name .. "NameTag"
- t.Enabled = true
- t.Parent = vHolder
- t.Adornee = v.Character:WaitForChild("Head", 5)
- if not t.Adornee then
- return UnloadCharacter(v)
- end
- t.Tag.Text = v.Name
- b.Color3 = Color3.new(v.TeamColor.r, v.TeamColor.g, v.TeamColor.b)
- t.Tag.TextColor3 = Color3.new(v.TeamColor.r, v.TeamColor.g, v.TeamColor.b)
- local Update
- local UpdateNameTag = function()
- if not pcall(function()
- v.Character.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- local maxh = math.floor(v.Character.Humanoid.MaxHealth)
- local h = math.floor(v.Character.Humanoid.Health)
- t.Tag.Text = v.Name .. "\n" .. ((maxh ~= 0 and tostring(math.floor((h / maxh) * 100))) or "0") .. "% " .. tostring(h) .. "/" .. tostring(maxh)
- end) then
- Update:Disconnect()
- end
- end
- UpdateNameTag()
- Update = v.Character.Humanoid.Changed:Connect(UpdateNameTag)
- end
- local UnloadCharacter = function(v)
- local vHolder = Holder:FindFirstChild(v.Name)
- if vHolder and (vHolder:FindFirstChild(v.Name .. "Box") ~= nil or vHolder:FindFirstChild(v.Name .. "NameTag") ~= nil) then
- vHolder:ClearAllChildren()
- end
- end
- local LoadPlayer = function(v)
- local vHolder = Instance.new("Folder", Holder)
- vHolder.Name = v.Name
- v.CharacterAdded:Connect(function()
- pcall(LoadCharacter, v)
- end)
- v.CharacterRemoving:Connect(function()
- pcall(UnloadCharacter, v)
- end)
- v.Changed:Connect(function(prop)
- if prop == "TeamColor" then
- UnloadCharacter(v)
- wait()
- LoadCharacter(v)
- end
- end)
- LoadCharacter(v)
- end
- local UnloadPlayer = function(v)
- UnloadCharacter(v)
- local vHolder = Holder:FindFirstChild(v.Name)
- if vHolder then
- vHolder:Destroy()
- end
- end
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- spawn(function() pcall(LoadPlayer, v) end)
- end
- game:GetService("Players").PlayerAdded:Connect(function(v)
- pcall(LoadPlayer, v)
- end)
- game:GetService("Players").PlayerRemoving:Connect(function(v)
- pcall(UnloadPlayer, v)
- end)
- game:GetService("Players").LocalPlayer.NameDisplayDistance = 0
- end)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel.BorderSizePixel = 2
- TextLabel.Position = UDim2.new(0.038961038, 0, 0.0496453904, 0)
- TextLabel.Size = UDim2.new(0, 141, 0, 39)
- TextLabel.Font = Enum.Font.ArialBold
- TextLabel.Text = "Simple ESP"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextSize = 14
- -- Scripts:
- function SCRIPT_NIPY73_FAKESCRIPT() -- Open.LocalScript
- getfenv().script = Instance.new('LocalScript', Open)
- script.Parent.MouseButton1Click:connect(function()
- if script.Parent.Parent.Frame.Visible == false then
- script.Parent.Parent.Frame.Visible = true
- script.Parent.Text = 'Close'
- else
- script.Parent.Parent.Frame.Visible = false
- end script.Parent.Text = 'Open'
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_NIPY73_FAKESCRIPT))
- function SCRIPT_NLHM69_FAKESCRIPT() -- Frame.LocalScript
- getfenv().script = Instance.new('LocalScript', Frame)
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- gui.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- gui.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_NLHM69_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement