So i made a simulator game. When i change the size of bodydepthscale and etc. The character become so huge that makes the character stuck at the platform. I want to prevent the player to stuck when they get so much size at once. What should i do?
Here is the video
game.Players.PlayerAdded:Connect(function(plr)
local leader = plr:WaitForChild("leaderstats")
local size = leader:WaitForChild("Size")
plr.CharacterAdded:Wait()
local char = plr.Character
size:GetPropertyChangedSignal("Value"):Connect(function()
char.Humanoid.BodyDepthScale.Value = size.Value
char.Humanoid.BodyWidthScale.Value = size.Value
char.Humanoid.BodyHeightScale.Value = size.Value
char.Humanoid.HeadScale.Value = size.Value
end)
end)
In the video i change the size to 100 and the player is stuck