Hey, I'm just wondering how I would go about changing a players humanoid after touching a brick? So, to explain it a bit further, we have a Yoda morph which most you may know is very small. Currently the morph just changes your head, clothes and skin but can't figure out how to change the actual humanoid so it will change the players model size. Thanks in advanced.
change the settings of the humanoid itself,
01 | local debounce = true |
02 | local Player = game.Players.LocalPlayer.Character |
03 | Player.Touched:connect( function (hit) |
04 | if hit.Parent:FindFirstChild( "Humanoid" ) ~ = nil then |
05 | if debounce = = true then |
06 | debounce = false |
07 | Player.Humanoid.WalkSpeed = 30 -- put whatever value you want here |
08 | Player.Humanoid.JumpPower = 60 -- put whatever value you want here |
09 | -- also add other Humanoid Settings if you want |
10 | end |
11 | end |
12 | end ) |