What does this mean?
Also I put this script here
Make sure you also change hip height on the humanoid or else the player will float in some cases.
Remove the square brackets around 0.5
Ok I did that and I still got this.
[one of the fields here]
, I quite literally meant to replace it with the name of one of the instances in the above screenshot, eg “BodyDepthScale”. When I said referenceToCharacterHere
, I meant to literally supply a reference to the character. If you place the script inside of StarterCharacterScripts
, this reference can be script.Parent
, as the script will be moved to the character.You’re looking for R6 or R15? What kind of body style? (r6/r15)
This works for R15, I would recommend trying this:
local size = 0.5
game.Players.PlayerAdded:Connect(function(p)
p.CharacterAdded:Connect(function(c)
wait(1)
local hum = c.Humanoid
local deep = hum.BodyDepthScale
local hight = hum.BodyHeightScale
local wide = hum.BodyWidthScale
local head = hum.HeadScale
deep.Value = size
hight.Value = size
wide.Value = size
head.Value = size
end)
end)
Place it in ServerScriptService.
This only works for r15
Inside of all r15 huamnoid characters there will be this
Inside of this are some properties shown below
Editing these with a script when the person spawns in would probably fix your issue, you could do this by doing…
character.Humanoid.HumanoidDescription.enter scale type here = scale you want
I have heard that they’ve tried that and it failed.
Message #3, wasn’t accomplished whatsoever.
So apparently this doesn’t work for me anymore, my bad! But you could change these values in the humanoid to change the scale.
edit I’ve played around with these values in the editor and these should work if you change the values of them on a server sided script. As you can see below I made myself small!
Where do I place the humanoid??
Inside of any players character there will be a humanoid no matter what, its how you can tell if something is a “person”.
You could add a script to serverscriptservice and check every time a players character is added then change those values
So I decided to put it in players, but yet I stay the same size.
No need to add the humanoid to players. Here lemme give you a start off script for you to edit and learn from! Just add these lines of code below to a Script not a local script to ServerScriptService in the explorer:
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(plr) -- This happens when a player joins the game and the plr argument is the player that joined
plr.CharacterAdded:Connect(function(char) -- This happens when the player than joined spawns in char being the model in the workspace
--Change the values of the Characters humanoid here
end)
end)
In front of the Scales add char.Humanoid.
edit also you might want to check if the player is in r15 first by doing an if statement on humanoid.RigType and check if it equals Enum.HumanoidRigType.R15, you can do this by entering the following Replacing “Thing” with the said stuff above!
if thing1 == thing2 then
do stuff
end
–put the script in StarterCharacterScripit
the number is the value you want to put hope this works
if works only with R15
script.Parent:WaitForChild("Humanoid"):FindFirstChild("BodyDepthScale").Value = number
script.Parent:WaitForChild("Humanoid"):FindFirstChild("BodyHeightScale").Value = number
script.Parent:WaitForChild("Humanoid"):FindFirstChild("BodyWidthScale").Value = number
script.Parent:WaitForChild("Humanoid"):FindFirstChild("BodyProportionScale").Value = number
script.Parent:WaitForChild("Humanoid"):FindFirstChild("HeadScale").Value = number
Thank you so much man! You are a huge help.
Feel free to message me when you have another problem