Humanoid BodyHeight value doing nothing?
I tried to make a script where when you touch this orb, you become a bit taller. When you touch the orb, my character stays the same, but all the other code runs fine. Just so you know, this is a normal script inside the HeightOrb part in the workspace. Heres the script:
01 | script.Parent.Touched:Connect( function (hit) |
03 | local hum = hit.Parent:FindFirstChild( "Humanoid" ) |
07 | game.Players.PlayerAdded:Connect( function (Player) |
08 | Player.CharacterAdded:Connect( function (Character) |
11 | local Humanoid = Character.Humanoid |
13 | Humanoid.BodyHeightScale.Value = 2 |
19 | game.Workspace.HeightOrb.Transparency = 1 |
20 | game.Workspace.HeightOrb.CanCollide = false |
22 | game.Workspace.HeightOrb.Transparency = 0 |
23 | game.Workspace.HeightOrb.CanCollide = true |
Thanks!