local tweenservice = game:GetService("TweenService")
local tweeninfo2 = TweenInfo.new(10)

--local Character = game.Players.p0x38.Character
local Character = script.Parent

local Humanoid = Character:WaitForChild("Humanoid")

if Humanoid.RigType ~= Enum.HumanoidRigType.R6 then return end

local Torso = Character:WaitForChild("Torso")
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")

local LS = Torso:WaitForChild("Left Shoulder")
local RS = Torso:WaitForChild("Right Shoulder")
local LH = Torso:WaitForChild("Left Hip")
local RH = Torso:WaitForChild("Right Hip")

local Ball = Instance.new("Part",Character)
Ball.Position = Torso.Position - Vector3.new(0,0.125,0)
Ball.Size = Vector3.one * 0.0125
Ball.Name = "Ball"
Ball.Shape = Enum.PartType.Ball
Ball.Material = Enum.Material.SmoothPlastic
Ball.Color = Torso.Color

local Weld = Instance.new("WeldConstraint",Ball)
Weld.Part0 = Ball
Weld.Part1 = Torso

local Decal1 = Instance.new("Decal",Ball)
Decal1.Name = "Navel"
Decal1.Texture = "rbxassetid://10186790683"
Decal1.Face = Enum.NormalId.Front

local gyro = Instance.new("BodyGyro")
vel.Parent = Ball
vel.D = 0.0125
vel.P = 12.5
vel.MaxTorque = Vector3.one*32

local function swe(length:number)
	local delta = Vector3.one*0.04
	for i=1, length do
		local size = Ball.Size.X
		Ball.Size = Ball.Size + delta
		if size > 4 then
			if not Character:HasTag("Muffled") then Character:AddTag("Muffled") end
			Character.Head.Mesh.Offset = Vector3.new(0,Character.Head.Mesh.Offset.Y+(1.6/64),0)
			Character.Head.FaceFrontAttachment.Position = Character.Head.FaceFrontAttachment.Position + Vector3.new(0,1.6/48,0)
			Character.Torso["Right Hip"].C0 = CFrame.new((Character.Torso["Right Hip"].C0.x)+.025,-.5,.25) * CFrame.fromEulerAnglesXYZ(0,0,.2)
			Character.Torso["Left Hip"].C0 = CFrame.new((Character.Torso["Left Hip"].C0.x)-.025,-.5,.25) * CFrame.fromEulerAnglesXYZ(0,0,-.2)
			Character.Torso["Left Shoulder"].C0 = CFrame.new((Character.Torso["Left Shoulder"].C0.x)-.02,(Character.Torso["Left Shoulder"].C0.y)+.02,-.25) * CFrame.fromEulerAnglesXYZ(0,0,1.57*3)
			Character.Torso["Right Shoulder"].C0 = CFrame.new((Character.Torso["Right Shoulder"].C0.x)+.02,(Character.Torso["Right Shoulder"].C0.y)+.02,-.25) * CFrame.fromEulerAnglesXYZ(0,0,-1.57*3)
			Character.Torso["Left Shoulder"].DesiredAngle = 0.5		
			Character.Torso["Right Shoulder"].DesiredAngle = 0.5
			Character.Torso["Right Hip"].DesiredAngle = 0
			Character.Torso["Left Hip"].DesiredAngle = 0	
		end
		if size > 5 then
			Humanoid.PlatformStand = true
		end
		task.wait()
	end
end

task.wait(2)

for i,v in pairs(Character:GetDescendants()) do
	if v:IsA("BasePart") then
		local tween = tweenservice:Create(v,tweeninfo2,{Color = Color3.new(.125,0,.25)})
		tween:Play()
	end
end

swe(200)