Character size settings menu

Hello,
I am making a lifting game and want to make a button to turn the player back small to their original size or give them the option to choose size and speed. Make a settings menu which I have done but when I lift I turn back big! I want the player to stay the size they typed an keep strength! strong text

Do you have any code? Please show what you have.

The humanoid has scales you could use to manually set the player’s size

I only made a button gui to turn player small but it only works if player doesn’t lift. I need an example of how to integrate it with the player strength stats to keep them small while still gaining strength!

Here’s my code!

local frame = script.Parent

local shrink = script.Parent.Shrink

local hs_Val = 1

local hei_Val =1

local bd_Val =0.3

local bw_Val = 0.3

local player = game.Players.LocalPlayer

shrink.MouseButton1Click:Connect(function()

player.Character.Humanoid.HeadScale.Value = hs_Val

player.Character.Humanoid.BodyDepthScale.Value = bd_Val

player.Character.Humanoid.BodyHeightScale.Value = hei_Val

player.Character.Humanoid.BodyWidthScale.Value = bw_Val

end)

This is a picture of what I want to make!

Size settings GUI

For every player, after setting the size you should have a “number value” and “bool value” in the player for the size. Then, when setting the custom size, the bool value will see if you are using the custom size and speed settings and if it’s true, it won’t change the size and speed. If it still does, just set the size using the number values.

Example please I think I know what you mean but having an example would be more easy for me to understand I’m somewhat a visual learner!

It is kind of hard to explain. But I guess you can just add a script in server script service and instead of adding leader stats you add the values I talked about. Then you just script a bool value if statement.

Look into HumanoidDescription, it can do height, here is also a open source example of how you could do it? R15 Character Scaling Demo - Roblox

Doesn’t work I opened it an the code error!