Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
HttpService = :()
CoreGui = :()
SCRIPTBLOX_LINK =
()
copied =
(setclipboard) ==
copied = (setclipboard, SCRIPTBLOX_LINK)
(toclipboard) ==
copied = (toclipboard, SCRIPTBLOX_LINK)
(set_clipboard) ==
copied = (set_clipboard, SCRIPTBLOX_LINK)
(Clipboard) == (Clipboard.set) ==
copied = (Clipboard.set, SCRIPTBLOX_LINK)
copied
()
(gethui) ==
ok, hui = (gethui)
ok (hui) ==
hui
(() CoreGui.Name )
CoreGui
lp = Players.LocalPlayer
lp lp:()
parent = ()
parent
()
GUI_NAME =
parent:(GUI_NAME)
parent[GUI_NAME]:()
ScreenGui = .()
ScreenGui.Name = GUI_NAME
ScreenGui.ResetOnSpawn =
ScreenGui.Parent = parent
POPUP_SAVE_FILE =
SETTINGS_SAVE_FILE =
popupHidden =
()
(isfile) == (readfile) ==
ok, exists = (isfile, POPUP_SAVE_FILE)
ok exists
rOk, content = (readfile, POPUP_SAVE_FILE)
rOk (content):()
() ==
ok, env = ()
ok (env) == env._McTeaMickNpcPopupHidden ==
(hidden)
popupHidden = hidden
() ==
(()
()._McTeaMickNpcPopupHidden = hidden
)
(writefile) ==
(()
(POPUP_SAVE_FILE, hidden )
)
popupHidden = ()
BASE_W, BASE_H = ,
BASE_LIST_W, BASE_LIST_H = ,
BASE_PANEL_W, BASE_PANEL_H = ,
accentPresets = {
{ name = , color = .(, , ) },
{ name = , color = .(, , ) },
{ name = , color = .(, , ) },
{ name = , color = .(, , ) },
}
bgPresets = {
{ name = , bg = .(, , ), btn = .(, , ) },
{ name = , bg = .(, , ), btn = .(, , ) },
{ name = , bg = .(, , ), btn = .(, , ) },
}
transparencySteps = { , , , }
cornerSteps = { , , , }
guiSizeSteps = { , , , }
accentIdx =
bgIdx =
transIdx =
cornerIdx =
guiSizeIdx =
headSize =
hitboxEnabled =
autoHitboxEnabled =
hitboxPartMode =
hitboxApplyMode =
selectedNpcLabel =
npcList = {}
espEnabled =
healthEspEnabled =
hpBarEnabled =
nameEspEnabled =
distEspEnabled =
espColorMode =
espStyle =
sideBarSide =
originalParts = {}
uiTheme = {
Accent = accentPresets[accentIdx].color,
Background = bgPresets[bgIdx].bg,
ButtonOff = bgPresets[bgIdx].btn,
Text = .(, , ),
Transparency = transparencySteps[transIdx],
CornerPx = cornerSteps[cornerIdx],
GuiScale = guiSizeSteps[guiSizeIdx],
}
()
accentIdx =
bgIdx =
transIdx =
cornerIdx =
guiSizeIdx =
headSize =
hitboxEnabled =
autoHitboxEnabled =
hitboxPartMode =
hitboxApplyMode =
selectedNpcLabel =
espEnabled =
healthEspEnabled =
hpBarEnabled =
nameEspEnabled =
distEspEnabled =
espColorMode =
espStyle =
sideBarSide =
uiTheme.Accent = accentPresets[accentIdx].color
uiTheme.Background = bgPresets[bgIdx].bg
uiTheme.ButtonOff = bgPresets[bgIdx].btn
uiTheme.Text = .(, , )
uiTheme.Transparency = transparencySteps[transIdx]
uiTheme.CornerPx = cornerSteps[cornerIdx]
uiTheme.GuiScale = guiSizeSteps[guiSizeIdx]
()
raw =
(isfile) == (readfile) ==
ok, exists = (isfile, SETTINGS_SAVE_FILE)
ok exists
rOk, content = (readfile, SETTINGS_SAVE_FILE)
rOk (content) == content ~=
raw = content
raw () ==
ok, env = ()
ok (env) == (env._McTeaMickNpcSettingsJson) ==
raw = env._McTeaMickNpcSettingsJson
raw
dOk, data = (()
HttpService:(raw)
)
dOk (data) ~=
(data.headSize) ==
headSize = .(.(data.headSize), , )
(data.hitboxEnabled) ==
hitboxEnabled = data.hitboxEnabled
(data.autoHitboxEnabled) ==
autoHitboxEnabled = data.autoHitboxEnabled
data.hitboxPartMode == data.hitboxPartMode ==
hitboxPartMode = data.hitboxPartMode
data.hitboxApplyMode == data.hitboxApplyMode ==
hitboxApplyMode = data.hitboxApplyMode
(data.selectedNpcLabel) == data.selectedNpcLabel ~=
selectedNpcLabel = data.selectedNpcLabel
(data.espEnabled) ==
espEnabled = data.espEnabled
(data.healthEspEnabled) ==
healthEspEnabled = data.healthEspEnabled
(data.hpBarEnabled) ==
hpBarEnabled = data.hpBarEnabled
(data.nameEspEnabled) ==
nameEspEnabled = data.nameEspEnabled
(data.distEspEnabled) ==
distEspEnabled = data.distEspEnabled
data.espColorMode == data.espColorMode ==
espColorMode = data.espColorMode
(data.espStyle) ==
espStyle = .(.(data.espStyle), , )
data.sideBarSide == data.sideBarSide ==
sideBarSide = data.sideBarSide
(data.accentIdx) == accentPresets[data.accentIdx]
accentIdx = data.accentIdx
(data.bgIdx) == bgPresets[data.bgIdx]
bgIdx = data.bgIdx
(data.transIdx) == transparencySteps[data.transIdx] ~=
transIdx = data.transIdx
(data.cornerIdx) == cornerSteps[data.cornerIdx] ~=
cornerIdx = data.cornerIdx
(data.guiSizeIdx) == guiSizeSteps[data.guiSizeIdx] ~=
guiSizeIdx = data.guiSizeIdx
uiTheme.Accent = accentPresets[accentIdx].color
uiTheme.Background = bgPresets[bgIdx].bg
uiTheme.ButtonOff = bgPresets[bgIdx].btn
uiTheme.Transparency = transparencySteps[transIdx]
uiTheme.CornerPx = cornerSteps[cornerIdx]
uiTheme.GuiScale = guiSizeSteps[guiSizeIdx]
()
payload = {
headSize = headSize,
hitboxEnabled = hitboxEnabled,
autoHitboxEnabled = autoHitboxEnabled,
hitboxPartMode = hitboxPartMode,
hitboxApplyMode = hitboxApplyMode,
selectedNpcLabel = selectedNpcLabel ,
espEnabled = espEnabled,
healthEspEnabled = healthEspEnabled,
hpBarEnabled = hpBarEnabled,
nameEspEnabled = nameEspEnabled,
distEspEnabled = distEspEnabled,
espColorMode = espColorMode,
espStyle = espStyle,
sideBarSide = sideBarSide,
accentIdx = accentIdx,
bgIdx = bgIdx,
transIdx = transIdx,
cornerIdx = cornerIdx,
guiSizeIdx = guiSizeIdx,
}
eOk, encoded = (()
HttpService:(payload)
)
eOk (encoded) ~=
() ==
(()
()._McTeaMickNpcSettingsJson = encoded
)
(writefile) ==
(()
(SETTINGS_SAVE_FILE, encoded)
)
()
MainFrame = .()
MainFrame.Name =
MainFrame.Size = .(BASE_W, BASE_H)
MainFrame.Position = .(, )
MainFrame.BackgroundColor3 = uiTheme.Background
MainFrame.Active =
MainFrame.Draggable =
MainFrame.Parent = ScreenGui
mainCorner = .()
mainCorner.CornerRadius = .(, )
mainCorner.Parent = MainFrame
frameStroke = .()
frameStroke.Color = uiTheme.Accent
frameStroke.Thickness =
frameStroke.Parent = MainFrame
Title = .()
Title.Name =
Title.Size = .(, , , )
Title.BackgroundColor3 = uiTheme.Accent
Title.TextColor3 = uiTheme.Text
Title.Font = .Font.GothamBold
Title.TextSize =
Title.TextTruncate = .TextTruncate.AtEnd
Title.Text =
Title.Parent = MainFrame
titleCorner = .()
titleCorner.CornerRadius = .(, )
titleCorner.Parent = Title
(btn, text, pos, size, bg, isAccent)
btn.Text = text
btn.Position = pos
btn.Size = size .(, , , )
btn.BackgroundColor3 = bg uiTheme.ButtonOff
btn.TextColor3 = uiTheme.Text
btn.Font = .Font.GothamSemibold
btn.TextSize =
btn.AutoButtonColor =
btn.Parent = MainFrame
btn:(, isAccent == )
c = .()
c.CornerRadius = .(, )
c.Parent = btn
c
HitboxBtn = .()
AutoHitboxBtn = .()
PartModeBtn = .()
ApplyModeBtn = .()
OpenListBtn = .()
EspBtn = .()
HealthBtn = .()
HpBarToggleBtn = .()
NameEspBtn = .()
DistEspBtn = .()
EspStyleBtn = .()
EspColorModeBtn = .()
SettingsGearBtn = .()
DecreaseBtn = .()
IncreaseBtn = .()
SizeLabel = .()
(HitboxBtn, hitboxEnabled , .(, , , ))
(AutoHitboxBtn, autoHitboxEnabled , .(, , , ), , .(, , ), )
(PartModeBtn, .. .(hitboxPartMode), .(, , , ), , .(, , ), )
(ApplyModeBtn, hitboxApplyMode == , .(, , , ), , .(, , ), )
(OpenListBtn, , .(, , , ), , .(, , ), )
(EspBtn, espEnabled , .(, , , ))
(HealthBtn, healthEspEnabled , .(, , , ))
(HpBarToggleBtn, hpBarEnabled , .(, , , ))
(NameEspBtn, nameEspEnabled , .(, , , ))
(DistEspBtn, distEspEnabled , .(, , , ))
(EspStyleBtn, .. (espStyle), .(, , , ), , .(, , ), )
(EspColorModeBtn, .. espColorMode, .(, , , ), , .(, , ), )
(SettingsGearBtn, , .(, , , ), , .(, , ), )
(DecreaseBtn, , .(, , , ), .(, ), uiTheme.Accent, )
(IncreaseBtn, , .(, , , ), .(, ), .(, , ), )
SizeLabel.Name =
SizeLabel.Text = .. headSize
SizeLabel.Position = .(, , , )
SizeLabel.Size = .(, , , )
SizeLabel.TextColor3 = uiTheme.Text
SizeLabel.Font = .Font.GothamBold
SizeLabel.TextSize =
SizeLabel.BackgroundTransparency =
SizeLabel.Parent = MainFrame
NpcListFrame = .()
NpcListFrame.Name =
NpcListFrame.Size = .(BASE_LIST_W, BASE_LIST_H)
NpcListFrame.Position = .(, , , )
NpcListFrame.BackgroundColor3 = uiTheme.Background
NpcListFrame.Visible =
NpcListFrame.Parent = MainFrame
npcListCorner = .()
npcListCorner.CornerRadius = .(, )
npcListCorner.Parent = NpcListFrame
listStroke = .()
listStroke.Color = uiTheme.Accent
listStroke.Thickness =
listStroke.Parent = NpcListFrame
ListTitle = .()
ListTitle.Size = .(, , , )
ListTitle.BackgroundColor3 = .(, , )
ListTitle.TextColor3 = uiTheme.Text
ListTitle.Font = .Font.GothamBold
ListTitle.TextSize =
ListTitle.Text =
ListTitle.Parent = NpcListFrame
listTitleCorner = .()
listTitleCorner.CornerRadius = .(, )
listTitleCorner.Parent = ListTitle
ScrollList = .()
ScrollList.Name =
ScrollList.Size = .(, -, , -)
ScrollList.Position = .(, , , )
ScrollList.BackgroundTransparency =
ScrollList.ScrollBarThickness =
ScrollList.CanvasSize = .(, , , )
ScrollList.Parent = NpcListFrame
layout = .()
layout.Padding = .(, )
layout.SortOrder = .SortOrder.LayoutOrder
layout.Parent = ScrollList
ThemePanel = .()
ThemePanel.Name =
ThemePanel.Size = .(BASE_PANEL_W, BASE_PANEL_H)
ThemePanel.Position = .(, , , )
ThemePanel.BackgroundColor3 = uiTheme.Background
ThemePanel.BackgroundTransparency = uiTheme.Transparency
ThemePanel.Visible =
ThemePanel.Parent = MainFrame
panelCorner = .()
panelCorner.CornerRadius = .(, )
panelCorner.Parent = ThemePanel
panelStroke = .()
panelStroke.Color = uiTheme.Accent
panelStroke.Thickness =
panelStroke.Parent = ThemePanel
(text, yPos, bgColor)
b = .()
b.Size = .(, , , )
b.Position = .(, , , yPos)
b.BackgroundColor3 = bgColor uiTheme.ButtonOff
b.TextColor3 = uiTheme.Text
b.Font = .Font.GothamSemibold
b.TextSize =
b.Text = text
b.Parent = ThemePanel
c = .()
c.CornerRadius = .(, )
c.Parent = b
b
AccentCycleBtn = ( .. accentPresets[accentIdx].name, )
BgCycleBtn = ( .. bgPresets[bgIdx].name, )
TransCycleBtn = (.(, .(uiTheme.Transparency * )), )
CornerCycleBtn = (.(, uiTheme.CornerPx), )
GuiSizeCycleBtn = (.(, uiTheme.GuiScale), )
SideBarBtn = ( .. sideBarSide, )
ShowCreditPopupBtn = (, , .(, , ))
ResetSettingsBtn = (, , .(, , ))
PopupFrame = .()
PopupFrame.Name =
PopupFrame.Size = .(, )
PopupFrame.Position = .(, )
PopupFrame.AnchorPoint = .(, )
PopupFrame.BackgroundColor3 = .(, , )
PopupFrame.Active =
PopupFrame.Draggable =
PopupFrame.Visible = popupHidden
PopupFrame.ZIndex =
PopupFrame.Parent = ScreenGui
.(, PopupFrame).CornerRadius = .(, )
popupStroke = .()
popupStroke.Color = uiTheme.Accent
popupStroke.Thickness =
popupStroke.Parent = PopupFrame
PopupTitle = .()
PopupTitle.Size = .(, , , )
PopupTitle.BackgroundColor3 = uiTheme.Accent
PopupTitle.TextColor3 = .(, , )
PopupTitle.Font = .Font.GothamBold
PopupTitle.TextSize =
PopupTitle.Text =
PopupTitle.ZIndex =
PopupTitle.Parent = PopupFrame
.(, PopupTitle).CornerRadius = .(, )
PopupMsg = .()
PopupMsg.Size = .(, -, , )
PopupMsg.Position = .(, , , )
PopupMsg.BackgroundTransparency =
PopupMsg.TextColor3 = .(, , )
PopupMsg.Font = .Font.GothamSemibold
PopupMsg.TextSize =
PopupMsg.TextWrapped =
PopupMsg.Text =
PopupMsg.ZIndex =
PopupMsg.Parent = PopupFrame
CopyLinkBtn = .()
CopyLinkBtn.Size = .(, , , )
CopyLinkBtn.Position = .(, , , -)
CopyLinkBtn.BackgroundColor3 = .(, , )
CopyLinkBtn.TextColor3 = .(, , )
CopyLinkBtn.Font = .Font.GothamSemibold
CopyLinkBtn.TextSize =
CopyLinkBtn.TextWrapped =
CopyLinkBtn.Text =
CopyLinkBtn.ZIndex =
CopyLinkBtn.Parent = PopupFrame
.(, CopyLinkBtn).CornerRadius = .(, )
DontShowBtn = .()
DontShowBtn.Size = .(, , , )
DontShowBtn.Position = .(, , , -)
DontShowBtn.BackgroundColor3 = .(, , )
DontShowBtn.TextColor3 = .(, , )
DontShowBtn.Font = .Font.GothamSemibold
DontShowBtn.TextSize =
DontShowBtn.Text =
DontShowBtn.ZIndex =
DontShowBtn.Parent = PopupFrame
.(, DontShowBtn).CornerRadius = .(, )
ClosePopupBtn = .()
ClosePopupBtn.Size = .(, , , )
ClosePopupBtn.Position = .(, , , -)
ClosePopupBtn.BackgroundColor3 = .(, , )
ClosePopupBtn.TextColor3 = .(, , )
ClosePopupBtn.Font = .Font.GothamBold
ClosePopupBtn.TextSize =
ClosePopupBtn.Text =
ClosePopupBtn.ZIndex =
ClosePopupBtn.Parent = PopupFrame
.(, ClosePopupBtn).CornerRadius = .(, )
CopyLinkBtn.MouseButton1Click:(()
ok = ()
ok
CopyLinkBtn.Text =
CopyLinkBtn.BackgroundColor3 = .(, , )
CopyLinkBtn.Text = SCRIPTBLOX_LINK
CopyLinkBtn.BackgroundColor3 = .(, , )
.(, ()
CopyLinkBtn CopyLinkBtn.Parent
CopyLinkBtn.Text =
CopyLinkBtn.BackgroundColor3 = .(, , )
)
)
DontShowBtn.MouseButton1Click:(()
()
PopupFrame.Visible =
)
ClosePopupBtn.MouseButton1Click:(()
PopupFrame.Visible =
)
HideBtn = .()
HideBtn.Name =
HideBtn.Text =
HideBtn.Size = .(, )
HideBtn.Position = .(, , , )
HideBtn.BackgroundColor3 = uiTheme.Accent
HideBtn.TextColor3 = uiTheme.Text
HideBtn.Font = .Font.GothamBold
HideBtn.TextSize =
HideBtn.Active =
HideBtn.Draggable =
HideBtn.Parent = ScreenGui
.(, HideBtn).CornerRadius = .(, )
hideStroke = .()
hideStroke.Thickness =
hideStroke.Parent = HideBtn
()
HitboxBtn.Text = hitboxEnabled
AutoHitboxBtn.Text = autoHitboxEnabled
PartModeBtn.Text = .. .(hitboxPartMode)
ApplyModeBtn.Text = hitboxApplyMode ==
EspBtn.Text = espEnabled
HealthBtn.Text = healthEspEnabled
HpBarToggleBtn.Text = hpBarEnabled
NameEspBtn.Text = nameEspEnabled
DistEspBtn.Text = distEspEnabled
EspStyleBtn.Text = .. (espStyle)
EspColorModeBtn.Text = .. espColorMode
SizeLabel.Text = .. headSize
AccentCycleBtn.Text = .. accentPresets[accentIdx].name
BgCycleBtn.Text = .. bgPresets[bgIdx].name
TransCycleBtn.Text = .(, .(uiTheme.Transparency * ))
CornerCycleBtn.Text = .(, uiTheme.CornerPx)
GuiSizeCycleBtn.Text = .(, uiTheme.GuiScale)
SideBarBtn.Text = .. sideBarSide
()
s = uiTheme.GuiScale
MainFrame.Size = .(.(BASE_W * s), .(BASE_H * s))
NpcListFrame.Size = .(.(BASE_LIST_W * s), .(BASE_LIST_H * s))
ThemePanel.Size = .(.(BASE_PANEL_W * s), .(BASE_PANEL_H * s))
ThemePanel.Position = .(, .( * s), , .( * s))
Title.Size = .(, , , .( * s))
Title.TextSize = .(.( * s), , )
DecreaseBtn.Size = .(.( * s), .( * s))
IncreaseBtn.Size = .(.( * s), .( * s))
SizeLabel.TextSize = .(.( * s), , )
HideBtn.Size = .(.( * s), .( * s))
HideBtn.TextSize = .(.( * s), , )
MainFrame.BackgroundColor3 = uiTheme.Background
MainFrame.BackgroundTransparency = uiTheme.Transparency
ThemePanel.BackgroundColor3 = uiTheme.Background
ThemePanel.BackgroundTransparency = uiTheme.Transparency
NpcListFrame.BackgroundColor3 = uiTheme.Background
NpcListFrame.BackgroundTransparency = uiTheme.Transparency
mainCorner.CornerRadius = .(, uiTheme.CornerPx)
titleCorner.CornerRadius = .(, uiTheme.CornerPx)
panelCorner.CornerRadius = .(, uiTheme.CornerPx)
npcListCorner.CornerRadius = .(, uiTheme.CornerPx)
Title.BackgroundColor3 = uiTheme.Accent
Title.TextColor3 = uiTheme.Text
frameStroke.Color = uiTheme.Accent
panelStroke.Color = uiTheme.Accent
listStroke.Color = uiTheme.Accent
popupStroke.Color = uiTheme.Accent
PopupTitle.BackgroundColor3 = uiTheme.Accent
HideBtn.BackgroundColor3 = uiTheme.Accent
HideBtn.TextColor3 = uiTheme.Text
SizeLabel.TextColor3 = uiTheme.Text
_, desc (MainFrame:())
desc:()
desc.TextSize = .(.( * s), , )
desc == ResetSettingsBtn
desc.BackgroundColor3 = .(, , )
desc == ShowCreditPopupBtn
desc.BackgroundColor3 = .(, , )
desc ~= IncreaseBtn
isActive =
(desc == HitboxBtn hitboxEnabled)
(desc == AutoHitboxBtn autoHitboxEnabled)
(desc == EspBtn espEnabled)
(desc == HealthBtn healthEspEnabled)
(desc == HpBarToggleBtn hpBarEnabled)
(desc == NameEspBtn nameEspEnabled)
(desc == DistEspBtn distEspEnabled)
isActive
desc.BackgroundColor3 = .(, , )
desc:()
desc.BackgroundColor3 = uiTheme.Accent
desc.BackgroundColor3 = uiTheme.ButtonOff
desc.TextColor3 = uiTheme.Text
desc:() desc ~= mainCorner desc ~= titleCorner desc ~= panelCorner desc ~= npcListCorner
desc.CornerRadius = .(, .(uiTheme.CornerPx, ))
(model, hum)
attr = model model:()
(attr) == attr ~=
attr
hum (hum.DisplayName) == hum.DisplayName ~=
hum.DisplayName
model model.Name
(model, head, root)
candidate =
model
candidate = model:() model:()
(candidate candidate:())
candidate = head
(candidate candidate:()) root root:()
candidate = root
candidate candidate:()
candidate.Color
(col)
col
( * col.R) + ( * col.G) + ( * col.B)
(col)
(col) <
(col)
(col) >
(model, hum)
minHp =
maxHp = hum (hum.MaxHealth)
aMin = model (model:())
aMax = model (model:())
vMin = model (model:() (hum hum:()))
vMax = model (model:() (hum hum:()))
aMin ~=
minHp = aMin
vMin (vMin:() vMin:())
minHp = vMin.Value
aMax ~=
maxHp = aMax
vMax (vMax:() vMax:())
maxHp = vMax.Value
maxHp maxHp <= minHp
maxHp = minHp +
attrHp = model (model:())
curHp = attrHp ~= attrHp (hum (hum.Health) minHp)
curHp = .(curHp, minHp, maxHp)
curHp, minHp, maxHp
()
lp = Players.LocalPlayer
char = lp lp.Character
root = char (char:() char:())
root root:()
root.Position
cam = .CurrentCamera
cam cam.CFrame.Position .zero
(model, head)
hitboxPartMode ==
torso = model:() model:()
torso torso:()
torso
head
(part)
saved = originalParts[part]
saved part part.Parent
(()
part.Size = saved.Size
part.Transparency = saved.Transparency
part.CanCollide = saved.CanCollide
part.Massless = saved.Massless
)
originalParts[part] =
()
part (originalParts)
(part)
()
_, desc (:())
desc:() desc.Name ==
desc:()
()
_, desc (:())
desc:() (desc.Name == desc.Name == desc.Name == )
desc:()
(model, head)
oldHp = model:()
oldHp oldHp:()
oldInfo = model:()
oldInfo oldInfo:()
gui = model:()
gui
gui = .()
gui.Name =
gui.Adornee = head
gui.Size = .(, )
gui.StudsOffset = .(, , )
gui.AlwaysOnTop =
gui.ZIndexBehavior = .ZIndexBehavior.Sibling
gui.Parent = model
infoLbl = .()
infoLbl.Name =
infoLbl.BackgroundTransparency =
infoLbl.TextColor3 = uiTheme.Text
infoLbl.TextStrokeTransparency =
infoLbl.Font = .Font.GothamBold
infoLbl.TextSize =
infoLbl.ZIndex =
infoLbl.Parent = gui
hpLbl = .()
hpLbl.Name =
hpLbl.BackgroundTransparency =
hpLbl.TextColor3 = uiTheme.Text
hpLbl.TextStrokeTransparency =
hpLbl.Font = .Font.GothamBold
hpLbl.TextSize =
hpLbl.ZIndex =
hpLbl.Parent = gui
barBg = .()
barBg.Name =
barBg.BackgroundColor3 = .(, , )
barBg.BorderSizePixel =
barBg.ZIndex =
barBg.Parent = gui
barStroke = .()
barStroke.Name =
barStroke.Color = .(, , )
barStroke.Thickness =
barStroke.ApplyStrokeMode = .ApplyStrokeMode.Border
barStroke.Parent = barBg
barFill = .()
barFill.Name =
barFill.BackgroundColor3 = .(, , )
barFill.BorderSizePixel =
barFill.ZIndex =
barFill.Parent = barBg
gui
(model, hum, studs, includeHp)
items = {}
nameEspEnabled
.(items, (model, hum))
distEspEnabled
.(items, (.(studs + )) .. )
includeHp healthEspEnabled
curHp, _, maxHp = (model, hum)
.(items, .(, .(curHp), .(maxHp)))
.(items, )
(model, head, root, ratio)
hpGradient = .(, , ):(.(, , ), ratio)
rawPartColor = (model, head, root)
espColorMode ~= rawPartColor
hpGradient, .(, , ), .(, , ), uiTheme.Text,
(rawPartColor)
.(, , ), .(, , ), .(, , ), .(, , ),
(rawPartColor)
.(, , ), .(, , ), .(, , ), .(, , ),
rawPartColor, .(, , ), .(, , ), rawPartColor,
(model, hum, head, root, refPos)
gui = (model, head)
infoLbl = gui:()
hpLbl = gui:()
barBg = gui:()
barFill = barBg barBg:()
barStroke = barBg barBg:()
(infoLbl hpLbl barBg barFill barStroke)
npcPos = root root.Position head.Position
studs = (npcPos - refPos).Magnitude
curHp, minHp, maxHp = (model, hum)
ratio = .((curHp - minHp) / (maxHp - minHp), , )
showBar = healthEspEnabled hpBarEnabled
fillColor, missingBgColor, borderColor, textColor, textStroke =
(model, head, root, ratio)
barBg.BackgroundColor3 = missingBgColor
barFill.BackgroundColor3 = fillColor
barStroke.Color = borderColor
barStroke.Thickness =
infoLbl.TextColor3 = textColor
infoLbl.TextStrokeTransparency = textStroke
infoLbl.TextSize =
hpLbl.TextColor3 = textColor
hpLbl.TextStrokeTransparency = textStroke
hpLbl.TextSize =
espStyle ==
gui.Size = .(, )
gui.StudsOffset = .(, , )
infoLbl.Visible = (nameEspEnabled distEspEnabled)
infoLbl.Size = .(, , , )
infoLbl.Position = .(, , , )
infoLbl.Text = (model, hum, studs, )
hpLbl.Visible = healthEspEnabled
hpLbl.Size = .(, , , )
hpLbl.Position = .(, , , )
hpLbl.Text = .(, .(curHp), .(maxHp))
barBg.Visible = showBar
barBg.Size = .(, )
barBg.Position = .(, -, , )
barFill.Size = .(ratio, , , )
barFill.Position = .(, , , )
espStyle ==
gui.Size = .(, )
gui.StudsOffset = .(, , )
infoLbl.Visible = (nameEspEnabled distEspEnabled healthEspEnabled)
infoLbl.Size = .(, , , )
infoLbl.Position = .(, , , )
infoLbl.Text = (model, hum, studs, )
hpLbl.Visible =
barBg.Visible = showBar
barBg.Size = .(, )
barX = (sideBarSide == ) -
barBg.Position = .(, barX, , )
barFill.Size = .(, , ratio, )
barFill.Position = .(, , - ratio, )
gui.Size = .(, )
gui.StudsOffset = .(, -, )
infoLbl.Visible = (nameEspEnabled distEspEnabled healthEspEnabled)
infoLbl.Size = .(, , , )
infoLbl.Position = .(, , , )
infoLbl.Text = (model, hum, studs, )
hpLbl.Visible =
barBg.Visible = showBar
barBg.Size = .(, )
barBg.Position = .(, -, , )
barFill.Size = .(ratio, , , )
barFill.Position = .(, , , )
()
hitboxApplyMode ==
ApplyModeBtn.Text =
OpenListBtn.Text =
ApplyModeBtn.Text =
selectedNpcLabel
OpenListBtn.Text = .. selectedNpcLabel
#npcList >
selectedNpcLabel = npcList[].label
OpenListBtn.Text = .. selectedNpcLabel
OpenListBtn.Text =
()
_, child (ScrollList:())
child:()
child:()
allRow = .()
allRow.Size = .(, -, , )
allRow.LayoutOrder =
allRow.Font = .Font.GothamBold
allRow.TextSize =
allRow.Text =
allRow.BackgroundColor3 = (hitboxApplyMode == ) .(, , ) .(, , )
allRow.TextColor3 = uiTheme.Text
allRow.Parent = ScrollList
.(, allRow).CornerRadius = .(, )
allRow.MouseButton1Click:(()
hitboxApplyMode =
selectedNpcLabel =
()
()
()
()
NpcListFrame.Visible =
)
i, item (npcList)
row = .()
row.Size = .(, -, , )
row.LayoutOrder = i
row.Font = .Font.GothamSemibold
row.TextSize =
row.TextTruncate = .TextTruncate.AtEnd
row.Text = item.label
isSelected = (hitboxApplyMode == item.label == selectedNpcLabel)
row.BackgroundColor3 = isSelected .(, , ) .(, , )
row.TextColor3 = uiTheme.Text
row.Parent = ScrollList
.(, row).CornerRadius = .(, )
row.MouseButton1Click:(()
selectedNpcLabel = item.label
hitboxApplyMode =
()
()
()
()
)
ScrollList.CanvasSize = .(, , , (#npcList + ) * )
HideBtn.MouseButton1Click:(()
MainFrame.Visible = MainFrame.Visible
)
OpenListBtn.MouseButton1Click:(()
NpcListFrame.Visible = NpcListFrame.Visible
NpcListFrame.Visible
()
)
SettingsGearBtn.MouseButton1Click:(()
ThemePanel.Visible = ThemePanel.Visible
)
HitboxBtn.MouseButton1Click:(()
hitboxEnabled = hitboxEnabled
HitboxBtn.Text = hitboxEnabled
HitboxBtn.BackgroundColor3 = hitboxEnabled .(, , ) uiTheme.ButtonOff
hitboxEnabled
()
()
)
AutoHitboxBtn.MouseButton1Click:(()
autoHitboxEnabled = autoHitboxEnabled
AutoHitboxBtn.Text = autoHitboxEnabled
AutoHitboxBtn.BackgroundColor3 = autoHitboxEnabled .(, , ) uiTheme.ButtonOff
()
)
PartModeBtn.MouseButton1Click:(()
hitboxPartMode = (hitboxPartMode == )
PartModeBtn.Text = .. .(hitboxPartMode)
()
()
)
ApplyModeBtn.MouseButton1Click:(()
hitboxApplyMode = (hitboxApplyMode == )
hitboxApplyMode == selectedNpcLabel #npcList >
selectedNpcLabel = npcList[].label
()
()
()
)
EspBtn.MouseButton1Click:(()
espEnabled = espEnabled
EspBtn.Text = espEnabled
EspBtn.BackgroundColor3 = espEnabled .(, , ) uiTheme.ButtonOff
espEnabled
()
()
)
HealthBtn.MouseButton1Click:(()
healthEspEnabled = healthEspEnabled
HealthBtn.Text = healthEspEnabled
HealthBtn.BackgroundColor3 = healthEspEnabled .(, , ) uiTheme.ButtonOff
healthEspEnabled nameEspEnabled distEspEnabled
()
()
)
HpBarToggleBtn.MouseButton1Click:(()
hpBarEnabled = hpBarEnabled
HpBarToggleBtn.Text = hpBarEnabled
HpBarToggleBtn.BackgroundColor3 = hpBarEnabled .(, , ) uiTheme.ButtonOff
()
)
NameEspBtn.MouseButton1Click:(()
nameEspEnabled = nameEspEnabled
NameEspBtn.Text = nameEspEnabled
NameEspBtn.BackgroundColor3 = nameEspEnabled .(, , ) uiTheme.ButtonOff
nameEspEnabled distEspEnabled healthEspEnabled
()
()
)
DistEspBtn.MouseButton1Click:(()
distEspEnabled = distEspEnabled
DistEspBtn.Text = distEspEnabled
DistEspBtn.BackgroundColor3 = distEspEnabled .(, , ) uiTheme.ButtonOff
nameEspEnabled distEspEnabled healthEspEnabled
()
()
)
EspStyleBtn.MouseButton1Click:(()
espStyle = (espStyle % ) +
EspStyleBtn.Text = .. (espStyle)
()
)
EspColorModeBtn.MouseButton1Click:(()
espColorMode = (espColorMode == )
EspColorModeBtn.Text = .. espColorMode
()
)
AccentCycleBtn.MouseButton1Click:(()
accentIdx = (accentIdx % #accentPresets) +
preset = accentPresets[accentIdx]
uiTheme.Accent = preset.color
AccentCycleBtn.Text = .. preset.name
()
()
)
BgCycleBtn.MouseButton1Click:(()
bgIdx = (bgIdx % #bgPresets) +
preset = bgPresets[bgIdx]
uiTheme.Background = preset.bg
uiTheme.ButtonOff = preset.btn
BgCycleBtn.Text = .. preset.name
()
()
)
TransCycleBtn.MouseButton1Click:(()
transIdx = (transIdx % #transparencySteps) +
uiTheme.Transparency = transparencySteps[transIdx]
TransCycleBtn.Text = .(, .(uiTheme.Transparency * ))
()
()
)
CornerCycleBtn.MouseButton1Click:(()
cornerIdx = (cornerIdx % #cornerSteps) +
uiTheme.CornerPx = cornerSteps[cornerIdx]
CornerCycleBtn.Text = .(, uiTheme.CornerPx)
()
()
)
GuiSizeCycleBtn.MouseButton1Click:(()
guiSizeIdx = (guiSizeIdx % #guiSizeSteps) +
uiTheme.GuiScale = guiSizeSteps[guiSizeIdx]
GuiSizeCycleBtn.Text = .(, uiTheme.GuiScale)
()
()
)
SideBarBtn.MouseButton1Click:(()
sideBarSide = (sideBarSide == )
SideBarBtn.Text = .. sideBarSide
()
)
ShowCreditPopupBtn.MouseButton1Click:(()
()
PopupFrame.Visible =
)
ResetSettingsBtn.MouseButton1Click:(()
()
()
()
()
()
()
()
()
)
(delta)
headSize = .(headSize + delta, , )
SizeLabel.Text = .. headSize
()
IncreaseBtn.MouseButton1Click:(()
()
)
DecreaseBtn.MouseButton1Click:(()
(-)
)
()
npcs = {}
counts = {}
_, obj (:())
obj:() Players:(obj)
hum = obj:()
head = obj:()
root = obj:()
hum head head:() root root:() root.Anchored
baseName = (obj, hum)
counts[baseName] = (counts[baseName] ) +
label = counts[baseName] > (baseName .. .. (counts[baseName])) baseName
.(npcs, { model = obj, hum = hum, head = head, root = root, label = label })
npcs
elapsed =
RunService.Heartbeat:((dt)
elapsed += dt
elapsed <
elapsed =
targetSize = .(headSize, headSize, headSize)
refPos = ()
npcs = ()
npcList = npcs
hitboxApplyMode == #npcList >
found =
_, item (npcList)
item.label == selectedNpcLabel
found =
found
selectedNpcLabel = npcList[].label
()
NpcListFrame.Visible
()
canApply = hitboxEnabled autoHitboxEnabled
activeParts = {}
_, npc (npcs)
model, hum, head, root = npc.model, npc.hum, npc.head, npc.root
targetPart = (model, head)
matchesTarget = (hitboxApplyMode == ) (npc.label == selectedNpcLabel)
canApply matchesTarget hum.Health > targetPart
activeParts[targetPart] =
originalParts[targetPart]
originalParts[targetPart] = {
Size = targetPart.Size,
Transparency = targetPart.Transparency,
CanCollide = targetPart.CanCollide,
Massless = targetPart.Massless,
}
targetPart.Size ~= targetSize
(()
targetPart.Size = targetSize
targetPart.Transparency =
targetPart.CanCollide =
targetPart.Massless =
)
hl = model:()
espEnabled
(()
hl
hl = .()
hl.Name =
hl.OutlineColor = .(, , )
hl.Parent = model
hl.FillColor = hum.Health <= .(, , ) .(, , )
)
hl
hl:()
healthEspEnabled nameEspEnabled distEspEnabled
(()
(model, hum, head, root, refPos)
)
combined = model:()
combined combined:()
part (originalParts)
activeParts[part]
(part)
)
()
()
()This is script is a "improve" version of "npc head hitbox the best script" by inf6 (which "they" made with Gemini the ai) this "improve" version is made with also AI.. (Gemini*..) This "improve" version only difference are had: npc health esp, gui changer, NPC name esp, hitbox select and other(s). (Sorry my gammer) Tag: universal, universal npc hitbox, npc hitbox, hitbox npc, npc, hitbox, Keyless, universal script

Universal