Universal Script πŸ“Œ
5.8k Views
4.6k Executions

Mini Avatar FE Beta

Universal Script πŸ“Œ
1 year 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

Makes your avatar transform into a small avatar.

View Raw
local char = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()

repeat wait() until char:FindFirstChild("Humanoid") and char:FindFirstChild("HumanoidRootPart")

local humanoid = char:FindFirstChild("Humanoid")
local scaleValue = 0.001

local function scaleBodyParts(scale)
	for _, v in pairs(char:GetDescendants()) do
		if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
			v.Size = v.Size * scale
			local welds = v:GetChildren()
			for _, w in pairs(welds) do
				if w:IsA("Motor6D") or w:IsA("Weld") then
					w.C0 = w.C0 * scale
					w.C1 = w.C1 * scale
				end
			end
		elseif v:IsA("SpecialMesh") then
			v.Scale = v.Scale * scale
		end
	end

	local desc = humanoid:FindFirstChildOfClass("HumanoidDescription")
	if desc then
		desc.HeadScale = scale
		desc.DepthScale = scale
		desc.WidthScale = scale
		desc.HeightScale = scale
	end
end

scaleBodyParts(scaleValue)
print


Comments

3
Log in to join the conversation. Login
WinterD*'s profile picture
WinterD*1 year ago

patched

1
BadScriptsMaker's profile picture
BadScriptsMaker1 year ago

getting error "invaid argument #2 (vector3 expected, got number), line 18 - function scaleBodyParts and 36 line" so why u paste "print" on end

1
zxcv's profile picture
zxcv1 year ago

client side

1

Tags

More universal scripts

See all
Script hub
120.7k
221.1k
Bumped 1 minute ago
Key System
Script hub
10.5k
200.3k
Bumped 20 minutes ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.2k
298.5k
Bumped 3 hours ago
Script hub
23.7k
5.2k
Bumped 3 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
275
775
Bumped 4 hours ago
Universal Script πŸ“Œ
1.7k
31.0k
Bumped 4 hours ago