I can't changing player size

  1. I want to change player’s size when touched to part

  2. I tried waitforchild and findfirstchild

local aa = script.Parent
local db = false
local ses = game.Workspace.Sesler:WaitForChild("Mushroom")

aa.Touched:Connect(function(hit)
	local Humanoid = hit.Parent:FindFirstChild("Humanoid")
	if db == false and Humanoid then
	ses:Play()
	Humanoid.BodyDepthScale.Value = Humanoid.BodyDepthScale.Value + 5
	Humanoid.BodyHeightScale.Value = Humanoid.BodyHeightScale.Value + 5
	Humanoid.BodyWidthScale.Value = Humanoid.BodyWidthScale.Value + 5
		Humanoid.HeadScale.Value = Humanoid.HeadScale.Value + 5
		wait(1)
		aa:Destroy()
		wait(22)
		db = false
	end	
end)```
1 Like

You change their HumanoidDescription, not the Humanoid

1 Like

So like this?

	Humanoid.HumanoidDescription.BodyDepthScale.Value = Humanoid.BodyDepthScale.Value + 5

Like this:

local Desc = Humanoid:GetAppliedDescription() -- Gets Current HumanoidDescription
--/ Make Changes Here /--

DescBodyDepthScale.Value = Humanoid.BodyDepthScale.Value + 5
-- Alternative :
DescBodyDepthScale.Value += 5



--/ After Changes /--

Humanoid:ApplyDescription(Desc) -- Applies Description to Humanoid
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.