Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Can I Regulate Body Scaling?

Asked by 4 years ago

I want my game to allow R15 body types, but I have problems with the custom scaling people can have for their height/width and stuff. Is there any way to make this standard for everyone who joins the game. I already have this script that forces everyone to have the R15 body type. I'd like to simply add lines to it to keep everyone the same size. Is there any way to do this?

player = script.Parent.Parent

-- Getting character from player
if not player.Character then
    player.CharacterAdded:wait();
    char = player.Character
else
    char = player.Character
end

local humanity = char:WaitForChild("Humanoid")
-- Preferences to be applied to every player at all times.
humanity.MaxSlopeAngle = 75
humanity.RigType = "R15"
-- heres where I need to add scaling regulations

Answer this question