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.
✓ ANSWER ACCEPTED
Changing a Humanoid through a morph?
1 answer
✓ Accepted answer
change the settings of the humanoid itself,
local debounce = true
local Player = game.Players.LocalPlayer.Character
Player.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") ~= nil then
if debounce == true then
debounce = false
Player.Humanoid.WalkSpeed = 30 -- put whatever value you want here
Player.Humanoid.JumpPower = 60 -- put whatever value you want here
-- also add other Humanoid Settings if you want
end
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
