Universal Script 📌
752 Views
3.5k Executions

Who I am?

Universal Script 📌
6 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

67

View Raw
local player = game.Players.LocalPlayer
local myUsername = player.Name 

-- [[ 核心配置参数 ]]
local R15_PER_PART = false
local R6_PER_PART = true

-- 获取血量颜色逻辑 (原版一字不动)
local function getHealthColor(humanoid)
    local healthPercent = math.clamp(humanoid.Health / humanoid.MaxHealth, 0, 1)
    if humanoid.MaxHealth >= 9e9 or healthPercent >= 1 then
        return Color3.fromRGB(255, 255, 255) 
    elseif healthPercent > 0.5 then
        local t = (healthPercent - 0.5) / 0.5
        return Color3.fromRGB(255, 255, 0):Lerp(Color3.fromRGB(27, 252, 107), t)
    elseif healthPercent > 0 then
        local t = healthPercent / 0.5
        return Color3.fromRGB(255, 0, 0):Lerp(Color3.fromRGB(255, 255, 0), t)
    else
        return Color3.fromRGB(255, 0, 0) 
    end
end

-- 1. 管理系统与缓存
local managedParts = {} 
local checkedCache = {} 

local function applyHighlight(target, model, isTool)
    if managedParts[target] then return end
    local data = {
        highlight = Instance.new("Highlight"),
        deathBurstHandled = false,
        sourceModel = model,
        feedbackTimer = isTool and 1.0 or 0
    }
    local h = data.highlight
    h.Name = "ManagedHighlight"
    h.DepthMode = Enum.HighlightDepthMode.Occluded
    h.FillTransparency = 0 
    h.OutlineTransparency = 0


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
1.6M
2.1M
Bumped 6 hours ago
Key System

Script hub

#12 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Script hub
269.2k
120.2k
Bumped 6 hours ago
Key System
Script hub
171.3k
1.4M
Bumped 9 hours ago
Key System
Script hub
16.7k
3.2k
Bumped 11 hours ago
Key System
Paid
Script hub
17.4k
88.6k
Bumped 11 hours ago
Universal Script 📌
850
44
Approved 12 hours ago
Universal Script 📌
2.0M
4.5k
Bumped 12 hours ago