Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --This script is created by LyonPlayz
- --I have to credit: Kid Atlaas/FileExplorer for making their ESP cause i stole some variables from them
- local Hint = Instance.new("Hint", game.Workspace)
- Hint.Text = "Loading"
- local function ESP()
- for i,v in pairs(game.Players:GetChildren()) do
- if v ~= game.Players.LocalPlayer then
- if v.Character.Humanoid.RigType == "R6" then
- local ESP1 = Instance.new("BillboardGui", workspace.Camera)
- local ESP2 = Instance.new("Frame", ESP1)
- ESP1.AlwaysOnTop = true
- ESP1.Enabled = true
- ESP1.Size = UDim2.new(4.5,0,6,0)
- ESP1.Name = "ESP"
- ESP1.Adornee = v.Character.Torso
- ESP1.StudsOffset = Vector3.new(0, -0.6, 0)
- if v.Team ~= nil then
- local function Traingle()
- if v.Team ~= game.Players.LocalPlayer.Team then
- ESP2.BackgroundColor3 = Color3.new(200, 0, 0)
- ESP2.BackgroundTransparency = 0.75
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- else
- ESP2.BackgroundColor3 = Color3.new(0, 0, 200)
- ESP2.BackgroundTransparency = 0.8
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- end
- end
- Traingle()
- else
- wait(2)
- local function Traingle()
- if v.Team ~= game.Players.LocalPlayer.Team then
- ESP2.BackgroundColor3 = Color3.new(200, 0, 0)
- ESP2.BackgroundTransparency = 0.75
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- else
- ESP2.BackgroundColor3 = Color3.new(0, 0, 200)
- ESP2.BackgroundTransparency = 0.8
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- end
- end
- Traingle()
- end
- else
- local ESP1 = Instance.new("BillboardGui", workspace.Camera)
- local ESP2 = Instance.new("Frame", ESP1)
- ESP1.AlwaysOnTop = true
- ESP1.Enabled = true
- ESP1.Size = UDim2.new(4.5,0,6,0)
- ESP1.Name = "ESP"
- ESP1.Adornee = v.Character.UpperTorso
- ESP1.StudsOffset = Vector3.new(0, -0.6, 0)
- if v.Team ~= nil then
- local function Traingle()
- if v.Team ~= game.Players.LocalPlayer.Team then
- ESP2.BackgroundColor3 = Color3.new(200, 0, 0)
- ESP2.BackgroundTransparency = 0.75
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- else
- ESP2.BackgroundColor3 = Color3.new(0, 0, 200)
- ESP2.BackgroundTransparency = 0.8
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- end
- end
- Traingle()
- else
- wait(2)
- local function Traingle()
- if v.Team ~= game.Players.LocalPlayer.Team then
- ESP2.BackgroundColor3 = Color3.new(200, 0, 0)
- ESP2.BackgroundTransparency = 0.75
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- else
- ESP2.BackgroundColor3 = Color3.new(0, 0, 200)
- ESP2.BackgroundTransparency = 0.8
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- end
- end
- Traingle()
- end
- end
- end
- end
- end
- ESP()
- game.Players.PlayerAdded:connect(function(Player)
- wait(2)
- if Player ~= game.Players.LocalPlayer then
- if Player.Character.Humanoid.RigType == "R6" then
- local ESP1 = Instance.new("BillboardGui", workspace.Camera)
- local ESP2 = Instance.new("Frame", ESP1)
- ESP1.AlwaysOnTop = true
- ESP1.Enabled = true
- ESP1.Size = UDim2.new(4.5,0,6,0)
- ESP1.Name = "ESP"
- ESP1.Adornee = Player.Character.Torso
- ESP1.StudsOffset = Vector3.new(0, -0.6, 0)
- if Player.Team ~= nil then
- local function Traingle()
- if Player.Team ~= game.Players.LocalPlayer.Team then
- ESP2.BackgroundColor3 = Color3.new(200, 0, 0)
- ESP2.BackgroundTransparency = 0.75
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- else
- ESP2.BackgroundColor3 = Color3.new(0, 0, 200)
- ESP2.BackgroundTransparency = 0.8
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- end
- end
- Traingle()
- else
- wait(2)
- local function Traingle()
- if Player.Team ~= game.Players.LocalPlayer.Team then
- ESP2.BackgroundColor3 = Color3.new(200, 0, 0)
- ESP2.BackgroundTransparency = 0.75
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- else
- ESP2.BackgroundColor3 = Color3.new(0, 0, 200)
- ESP2.BackgroundTransparency = 0.8
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- end
- end
- Traingle()
- end
- else
- local ESP1 = Instance.new("BillboardGui", workspace.Camera)
- local ESP2 = Instance.new("Frame", ESP1)
- ESP1.AlwaysOnTop = true
- ESP1.Enabled = true
- ESP1.Size = UDim2.new(4.5,0,6,0)
- ESP1.Name = "ESP"
- ESP1.Adornee = Player.Character.UpperTorso
- ESP1.StudsOffset = Vector3.new(0, -0.6, 0)
- if Player.Team ~= nil then
- local function Traingle()
- if Player.Team ~= game.Players.LocalPlayer.Team then
- ESP2.BackgroundColor3 = Color3.new(200, 0, 0)
- ESP2.BackgroundTransparency = 0.75
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- else
- ESP2.BackgroundColor3 = Color3.new(0, 0, 200)
- ESP2.BackgroundTransparency = 0.8
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- end
- end
- Traingle()
- else
- wait(2)
- local function Traingle()
- if Player.Team ~= game.Players.LocalPlayer.Team then
- ESP2.BackgroundColor3 = Color3.new(200, 0, 0)
- ESP2.BackgroundTransparency = 0.75
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- else
- ESP2.BackgroundColor3 = Color3.new(0, 0, 200)
- ESP2.BackgroundTransparency = 0.8
- ESP2.BorderColor3 = Color3.new(0,0,0)
- ESP2.BorderSizePixel = 2
- ESP2.Size = UDim2.new(1,0,1,0)
- end
- end
- Traingle()
- end
- end
- end
- end)
- function onKeyPress(actionName, userInputState, inputObject)
- if userInputState == Enum.UserInputState.Begin then
- local Resetting = Instance.new("Hint", game.Workspace)
- Resetting.Text = "Resetting"
- for i,v in pairs(game.Workspace.Camera:GetChildren()) do
- if v.Name == "ESP" then
- v:Destroy()
- end
- end
- wait()
- ESP()
- Resetting.Text = "Resetting Done"
- wait(2)
- Resetting:Destroy()
- end
- end
- game.ContextActionService:BindAction("keyPress", onKeyPress, false, Enum.KeyCode.P)
- local Hint2 = Instance.new("Hint", game.Workspace)
- Hint2.Text = 'Press "P" to reset, This script is made by: LyonPlayz'
- Hint.Text = "Loading Done"
- wait(5)
- Hint:Destroy()
Add Comment
Please, Sign In to add comment