Universal Script 📌
5.5k Views
56 Executions

Clientsided Aura

Universal Script 📌
edixos
edixosFirst script
2 years 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

Just makes a aura of your bodypart colours.

Updates

  1. Script edited: Create script

View Raw
local owner = game.Players.LocalPlayer

repeat wait() until owner.Character

local character = owner.Character
local runService = game:GetService("RunService")
local fakeParts = {}

-- create fake parts for each body part, slightly bigger
for _, part in pairs(character:GetChildren()) do
    if part:IsA("BasePart") then
        local fakePart = Instance.new("Part")
        fakePart.Size = part.Size + Vector3.new(0.05, 0.05, 0.05)
        fakePart.Parent = workspace
        fakePart.CanCollide = false
        fakePart.Massless = true
        fakePart.Name = "altrrxfakebody"
        fakeParts[part] = fakePart
    end
end

-- function to find the nearest non-body part
local function getNearestPart(realPart)
    local closest, closestDist = nil, math.huge

    for _, v in pairs(workspace:GetDescendants()) do
        if v:IsA("BasePart") and v ~= realPart and v.Name ~= "altrrxfakebody" and not fakeParts[v] then
            local distance = (realPart.Position - v.Position).Magnitude
            if distance < closestDist then
                closestDist = distance
                closest = v
            end
        end
    end

    return closest
end

-- sync fake parts, change color, and handle transparency
runService.RenderStepped:Connect(function()


Comments

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

More universal scripts

See all
Script hub
178.8k
1.7M
Bumped 2 hours ago
Key System
Universal Script 📌
9.1k
31.5k
Bumped 3 hours ago
Script hub
49.8k
12.3k
Bumped 4 hours ago
Key System
Paid
Script hub
5.5M
1.1M
Bumped 9 hours ago
Key System
Script hub
20.6k
4.0k
Bumped 9 hours ago
Key System
Paid
Universal Script 📌
716
208
Approved 15 hours ago
Universal Script 📌
622
2.5k
Approved 15 hours ago
Universal Script 📌
581
586
Approved 15 hours ago