I tried making a script where when a player spawns, their size is changed but it does not work. Here is the code.
game:GetService("Players").PlayerAdded:Connect(function(Player) Player.CharacterAdded:Connect(function(char) local hum = char:WaitForChild("Humanoid") char:WaitForChild("Humanoid").Size = 0.5 char:WaitForChild("Humanoid").WalkSpeed = 20 end) end)
Humanoid is not a part, you cannot change the size of a humanoid. If you want to change the size of the player, you could change the values under the humanoid such as the BodyHeightScale, BodyDepthScale, BodyWidthScale etc.