Shrinking/Changing Player Size with a Script

local Humanoid = game.Players.Humanoid

local HS = Humanoid.HeadScale

local BDS = Humanoid.BodyDepthScale

local BWS = Humanoid.BodyWidthScale

local BHS = Humanoid.BodyHeightScale

local part = game.Workspace.Part

part.Touched:Connect(function(hit)

if game.Players:GetPlayerFromCharacter(hit.Parent)

then HS.Value = HS.Value * 2

BDS.Value = BDS.Value * 2

BWS.Value = BWS.Value * 2

BHS.Value = BHS.Value * 2

end

end)

This is what I used but it still doesn’t work,did I type something wrong?
I tried to say local Humanoid = Player.Character.Humanoid but it couldn’t find it so I wrote local Humanoid = game.Players.Humanoid

2 Likes