Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
LocalPlayer = Players.LocalPlayer
Camera = .CurrentCamera
Config = {
Enabled = ,
ToggleKey = .KeyCode.F,
ShooterColor = .(, , ),
NormalColor = .(, , )
}
WeaponNames = {
, , , , , , , , ,
, , , , , , ,
}
(player)
player.Character
_, item (player.Character:())
item:()
name = .(item.Name)
_, weapon (WeaponNames)
.(name, weapon)
backpack = player:()
backpack
_, item (backpack:())
item:()
name = .(item.Name)
_, weapon (WeaponNames)
.(name, weapon)
(character, color)
highlight = character:()
highlight
highlight = .()
highlight.Name =
highlight.Parent = character
highlight.FillTransparency =
highlight.OutlineTransparency =
highlight.OutlineColor = color
highlight.FillColor = .(, , )
(character)
humanoidRootPart = character:()
humanoidRootPart
existing = humanoidRootPart:()
existing
existing:()
billboard = .()
billboard.Name =
billboard.Parent = humanoidRootPart
billboard.Adornee = humanoidRootPart
billboard.Size = .(, , , )
billboard.StudsOffset = .(, , )
billboard.AlwaysOnTop =
billboard.MaxDistance =
bg = .()
bg.Name =
bg.Size = .(, , , )
bg.BackgroundColor3 = .(, , )
bg.BorderSizePixel =
bg.Parent = billboard
bgCorner = .()
bgCorner.CornerRadius = .(, )
bgCorner.Parent = bg
hp = .()
hp.Name =
hp.Size = .(, , , )
hp.Position = .(, , , )
hp.AnchorPoint = .(, )
hp.BackgroundColor3 = .(, , )
hp.BorderSizePixel =
hp.Parent = bg
hpCorner = .()
hpCorner.CornerRadius = .(, )
hpCorner.Parent = hp
billboard
(character)
humanoid = character:()
humanoid
rootPart = character:()
rootPart
billboard = rootPart:()
billboard
billboard = (character)
billboard
bg = billboard:()
bg
healthBar = bg:()
healthBar
healthPercent = .(humanoid.Health / humanoid.MaxHealth, , )
healthBar.Size = .(, , healthPercent, )
red, green
healthPercent >=
t = (healthPercent - ) /
red = .( * ( - t))
green =
t = healthPercent /
red =
green = .( * t)
healthBar.BackgroundColor3 = .(red, green, )
(player)
player.Character
highlight = player.Character:()
highlight
highlight:()
rootPart = player.Character:()
rootPart
healthBar = rootPart:()
healthBar
healthBar:()
()
_, player (Players:())
(player)
()
Config.Enabled = Config.Enabled
Config.Enabled
()
()
()
RunService.Heartbeat:(()
Config.Enabled
_, player (Players:())
player ~= LocalPlayer player.Character
(()
hasWeapon = (player)
color = hasWeapon Config.ShooterColor Config.NormalColor
(player.Character, color)
(player.Character)
)
)
UserInputService.InputBegan:((input, processed)
processed
input.KeyCode == Config.ToggleKey
()
)
Players.PlayerRemoving:(CleanupPlayer)
_, player (Players:())
player.CharacterRemoving:(()
(player)
)
Players.PlayerAdded:((player)
player.CharacterRemoving:(()
(player)
)
)
()
()
()
()
()