How To Make A Characters Size Decrease

Hello!!! Today I need help making a characters size decrease after it has been increased. I do this by clicking a button to rebirth then it decreases your size. Here is my script. THANKS!

game.ReplicatedStorage.Rebirth.OnServerEvent:Connect(function(player)

    print("Event fired")
local leaderstats = player:WaitForChild("leaderstats")
leaderstats.Bigness.Value = 0
leaderstats.Stomps.Value = 0
leaderstats.Rebirth.Value += 1 
print(leaderstats.Rebirth.Value)
print("Finding humanoid")
local Humanoid = player.Character:WaitForChild("Humanoid", 3)
local HS = Humanoid.HeadScale
local BDS = Humanoid.BodyDepthScale
local BWS = Humanoid.BodyWidthScale
local BHS = Humanoid.BodyHeightScale
HS.Value = 1
BDS.Value = 1
BWS.Value = 1
BHS.Value = 1
print("Changed size back to default")

player.PlayerGui.Lots.Texts.Text = "Successfully Rebirthed"
wait(1.5)
player.PlayerGui.Lots.Texts.Text = ""

end)

Try this.

HS.Value = HS.Value -.06 (or what ever number you want with a minus symbol in front)
BDS.Value = BDS.Value -.05
BWS.Value = BWS.Value -.05
BHS.Value = BWS.Value -.05

head size is .06 because the head resizes weirdly

1 Like