0% found this document useful (0 votes)
23 views7 pages

Script

Uploaded by

4twfxrhpcc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views7 pages

Script

Uploaded by

4twfxrhpcc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 7

ocal lUILibrary =

loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-
libs/main/twink"))()

local MainUI = UILibrary.Load("BlackFire")


local FirstPage = MainUI.AddPage("Home")

local FirstLabel = FirstPage.AddLabel("Section 1")


local FirstButton = FirstPage.AddButton("Esp", function()
local lplr = game.Players.LocalPlayer
local camera = game:GetService("Workspace").CurrentCamera
local CurrentCamera = workspace.CurrentCamera
local worldToViewportPoint = CurrentCamera.worldToViewportPoint

local HeadOff = Vector3.new(0, 0.5, 0)


local LegOff = Vector3.new(0,3,0)

for i,v in pairs(game.Players:GetChildren()) do


local BoxOutline = Drawing.new("Square")
BoxOutline.Visible = false
BoxOutline.Color = Color3.new(0,0,0)
BoxOutline.Thickness = 3
BoxOutline.Transparency = 1
BoxOutline.Filled = false

local Box = Drawing.new("Square")


Box.Visible = false
Box.Color = Color3.new(1,1,1)
Box.Thickness = 1
Box.Transparency = 1
Box.Filled = false

local HealthBarOutline = Drawing.new("Square")


HealthBarOutline.Thickness = 3
HealthBarOutline.Filled = false
HealthBarOutline.Color = Color3.new(0,0,0)
HealthBarOutline.Transparency = 1
HealthBarOutline.Visible = false

local HealthBar = Drawing.new("Square")


HealthBar.Thickness = 1
HealthBar.Filled = false
HealthBar.Transparency = 1
HealthBar.Visible = false

function boxesp()
game:GetService("RunService").RenderStepped:Connect(function()
if v.Character ~= nil and v.Character:FindFirstChild("Humanoid") ~= nil
and v.Character:FindFirstChild("HumanoidRootPart") ~= nil and v ~= lplr and
v.Character.Humanoid.Health > 0 then
local Vector, onScreen =
camera:worldToViewportPoint(v.Character.HumanoidRootPart.Position)

local RootPart = v.Character.HumanoidRootPart


local Head = v.Character.Head
local RootPosition, RootVis = worldToViewportPoint(CurrentCamera,
RootPart.Position)
local HeadPosition = worldToViewportPoint(CurrentCamera,
Head.Position + HeadOff)
local LegPosition = worldToViewportPoint(CurrentCamera,
RootPart.Position - LegOff)

if onScreen then
BoxOutline.Size = Vector2.new(1000 / RootPosition.Z,
HeadPosition.Y - LegPosition.Y)
BoxOutline.Position = Vector2.new(RootPosition.X -
BoxOutline.Size.X / 2, RootPosition.Y - BoxOutline.Size.Y / 2)
BoxOutline.Visible = true

Box.Size = Vector2.new(1000 / RootPosition.Z, HeadPosition.Y -


LegPosition.Y)
Box.Position = Vector2.new(RootPosition.X - Box.Size.X / 2,
RootPosition.Y - Box.Size.Y / 2)
Box.Visible = true

HealthBarOutline.Size = Vector2.new(2, HeadPosition.Y -


LegPosition.Y)
HealthBarOutline.Position = BoxOutline.Position -
Vector2.new(6,0)
HealthBarOutline.Visible = true

HealthBar.Size = Vector2.new(2, (HeadPosition.Y -


LegPosition.Y) / (game:GetService("Players")
[v.Character.Name].NRPBS["MaxHealth"].Value / math.clamp(game:GetService("Players")
[v.Character.Name].NRPBS["Health"].Value, 0, game:GetService("Players")
[v.Character.Name].NRPBS:WaitForChild("MaxHealth").Value)))
HealthBar.Position = Vector2.new(Box.Position.X - 6,
Box.Position.Y + (1 / HealthBar.Size.Y))
HealthBar.Color = Color3.fromRGB(255 - 255 /
(game:GetService("Players")[v.Character.Name].NRPBS["MaxHealth"].Value /
game:GetService("Players")[v.Character.Name].NRPBS["Health"].Value), 255 /
(game:GetService("Players")[v.Character.Name].NRPBS["MaxHealth"].Value /
game:GetService("Players")[v.Character.Name].NRPBS["Health"].Value), 0)
HealthBar.Visible = true

if v.TeamColor == lplr.TeamColor then


--- Our Team
BoxOutline.Visible = false
Box.Visible = false
HealthBarOutline.Visible = false
HealthBar.Visible = false
else
---Enemy Team
BoxOutline.Visible = true
Box.Visible = true
HealthBarOutline.Visible = true
HealthBar.Visible = true
end

else
BoxOutline.Visible = false
Box.Visible = false
HealthBarOutline.Visible = false
HealthBar.Visible = false
end
else
BoxOutline.Visible = false
Box.Visible = false
HealthBarOutline.Visible = false
HealthBar.Visible = false
end
end)
end
coroutine.wrap(boxesp)()
end

game.Players.PlayerAdded:Connect(function(v)
local BoxOutline = Drawing.new("Square")
BoxOutline.Visible = false
BoxOutline.Color = Color3.new(0,0,0)
BoxOutline.Thickness = 3
BoxOutline.Transparency = 1
BoxOutline.Filled = false

local Box = Drawing.new("Square")


Box.Visible = false
Box.Color = Color3.new(1,1,1)
Box.Thickness = 1
Box.Transparency = 1
Box.Filled = false

local HealthBarOutline = Drawing.new("Square")


HealthBarOutline.Thickness = 3
HealthBarOutline.Filled = false
HealthBarOutline.Color = Color3.new(0,0,0)
HealthBarOutline.Transparency = 1
HealthBarOutline.Visible = false

local HealthBar = Drawing.new("Square")


HealthBar.Thickness = 1
HealthBar.Filled = false
HealthBar.Transparency = 1
HealthBar.Visible = false

function boxesp()
game:GetService("RunService").RenderStepped:Connect(function()
if v.Character ~= nil and v.Character:FindFirstChild("Humanoid") ~= nil
and v.Character:FindFirstChild("HumanoidRootPart") ~= nil and v ~= lplr and
v.Character.Humanoid.Health > 0 then
local Vector, onScreen =
camera:worldToViewportPoint(v.Character.HumanoidRootPart.Position)

local RootPart = v.Character.HumanoidRootPart


local Head = v.Character.Head
local RootPosition, RootVis = worldToViewportPoint(CurrentCamera,
RootPart.Position)
local HeadPosition = worldToViewportPoint(CurrentCamera,
Head.Position + HeadOff)
local LegPosition = worldToViewportPoint(CurrentCamera,
RootPart.Position - LegOff)

if onScreen then
BoxOutline.Size = Vector2.new(1000 / RootPosition.Z,
HeadPosition.Y - LegPosition.Y)
BoxOutline.Position = Vector2.new(RootPosition.X -
BoxOutline.Size.X / 2, RootPosition.Y - BoxOutline.Size.Y / 2)
BoxOutline.Visible = true

Box.Size = Vector2.new(1000 / RootPosition.Z, HeadPosition.Y -


LegPosition.Y)
Box.Position = Vector2.new(RootPosition.X - Box.Size.X / 2,
RootPosition.Y - Box.Size.Y / 2)
Box.Visible = true

HealthBarOutline.Size = Vector2.new(2, HeadPosition.Y -


LegPosition.Y)
HealthBarOutline.Position = BoxOutline.Position -
Vector2.new(6,0)
HealthBarOutline.Visible = true

HealthBar.Size = Vector2.new(2, (HeadPosition.Y -


LegPosition.Y) / (game:GetService("Players")
[v.Character.Name].NRPBS["MaxHealth"].Value / math.clamp(game:GetService("Players")
[v.Character.Name].NRPBS["Health"].Value, 0, game:GetService("Players")
[v.Character.Name].NRPBS:WaitForChild("MaxHealth").Value)))
HealthBar.Position = Vector2.new(Box.Position.X - 6,
Box.Position.Y + (1/HealthBar.Size.Y))
HealthBar.Color = Color3.fromRGB(255 - 255 /
(game:GetService("Players")[v.Character.Name].NRPBS["MaxHealth"].Value /
game:GetService("Players")[v.Character.Name].NRPBS["Health"].Value), 255 /
(game:GetService("Players")[v.Character.Name].NRPBS["MaxHealth"].Value /
game:GetService("Players")[v.Character.Name].NRPBS["Health"].Value), 0)
HealthBar.Visible = true

if v.TeamColor == lplr.TeamColor then


--- Our Team
BoxOutline.Visible = false
Box.Visible = false
HealthBarOutline.Visible = false
HealthBar.Visible = false
else
---Enemy Team
BoxOutline.Visible = true
Box.Visible = true
HealthBarOutline.Visible = true
HealthBar.Visible = true
end

else
BoxOutline.Visible = true
Box.Visible = true
HealthBarOutline.Visible = true
HealthBar.Visible = true
end
else
BoxOutline.Visible = true
Box.Visible = true
HealthBarOutline.Visible = true
HealthBar.Visible = true
end
end)
end
coroutine.wrap(boxesp)()
end)
end)
local FirstToggle = FirstPage.AddToggle("Chams", false, function(Value)
local dwEntities = game:GetService("Players")
local dwLocalPlayer = dwEntities.LocalPlayer
local dwRunService = game:GetService("RunService")

local settings_tbl = {
ESP_Enabled = true,
ESP_TeamCheck = false,
Chams = true,
Chams_Color = Color3.fromRGB(0,0,255),
Chams_Transparency = 0.1,
Chams_Glow_Color = Color3.fromRGB(255,0,0)
}

function destroy_chams(char)

for k,v in next, char:GetChildren() do

if v:IsA("BasePart") and v.Transparency ~= 1 then

if v:FindFirstChild("Glow") and
v:FindFirstChild("Chams") then

v.Glow:Destroy()
v.Chams:Destroy()

end

end

end

end

dwRunService.Heartbeat:Connect(function()

if settings_tbl.ESP_Enabled then

for k,v in next, dwEntities:GetPlayers() do

if v ~= dwLocalPlayer then

if v.Character and
v.Character:FindFirstChild("HumanoidRootPart") and
v.Character:FindFirstChild("Humanoid") and
v.Character:FindFirstChild("Humanoid").Health ~= 0 then

if settings_tbl.ESP_TeamCheck == false then

local char = v.Character

for k,b in next, char:GetChildren() do

if b:IsA("BasePart") and
b.Transparency ~= 1 then

if settings_tbl.Chams then
if not b:FindFirstChild("Glow") and
not b:FindFirstChild("Chams") then

local chams_box =
Instance.new("BoxHandleAdornment", b)
chams_box.Name = "Chams"
chams_box.AlwaysOnTop = true
chams_box.ZIndex = 4
chams_box.Adornee = b
chams_box.Color3 = settings_tbl.Chams_Color
chams_box.Transparency =
settings_tbl.Chams_Transparency
chams_box.Size = b.Size + Vector3.new(0.02,
0.02, 0.02)

local glow_box =
Instance.new("BoxHandleAdornment", b)
glow_box.Name = "Glow"
glow_box.AlwaysOnTop = false
glow_box.ZIndex = 3
glow_box.Adornee = b
glow_box.Color3 =
settings_tbl.Chams_Glow_Color
glow_box.Size = chams_box.Size +
Vector3.new(0.13, 0.13, 0.13)

end

else

destroy_chams(char)

end

end

end

else

if v.Team == dwLocalPlayer.Team then


destroy_chams(v.Character)
end

end

else

destroy_chams(v.Character)

end

end

end

else

for k,v in next, dwEntities:GetPlayers() do


if v ~= dwLocalPlayer and
v.Character and
v.Character:FindFirstChild("HumanoidRootPart") and
v.Character:FindFirstChild("Humanoid") and
v.Character:FindFirstChild("Humanoid").Health ~= 0 then

destroy_chams(v.Character)

end

end

end

end)
end)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy