Hello, I would like to know how to recreate the scaling system in Lifting Simulator, where your players size increases fast in the beginning, slows down expontentially, and then accelerates again. Also I would like to know how to make a cap system so it doesn’t go over the size limit. For example if my item gained 1000 size in one lift and the limit was 500, how would I make it be 500 instead of going over. Any help is appreciated!
First of all, wrong category. This should be #help-and-feedback:scripting-support.
Second, there is a property in Model
called Scale
. If you want for the rescaling to be smooth, you can use TweenService
.
I recommend reading the docs about that.
Yeah. But tweening on the server can be kind of laggy. Right now the main problem I have is how to make your size gain slow down until say 250 BWS, BHS, HS, BDS. Kind of like how some games have a diminishing progress system.
Then tween it on client. It’s your local character, you are in full control of it.
Can you explain what does that mean?
All of the size scales of the humanoid. Body Height Scale, Head Scale, etc.
That will not be a problem. In Humanoid
properties, Go to Game
→ AutomaticScalingEnabled
. Set it to true
. You can do it via a LocalScript
in StarterCharacterScripts
, but it is already set to true
by default.
@LOCK3DOOR
Hey. I know I’m pretty late to the party, but here’s what you could do for the scaling part.
local MaxScale = 500
local SizeGain = 1000
Character:ScaleTo(math.min(MaxScale, SizeGain)) -- This will make it so that the maximum scale is not bypassed, despite the amount of size that they gain is 1000.
Of course, you can copy and paste this into your code and put it in the desired spot. I hope I wasn’t too late.