Hi, I've completed my script and tested it. The output says nothing is wrong, but my script isn't working. I would like to know what's wrong with my script and learn by my mistakes, thanks!

script.Parent.Equipped:Connect(function(Mouse)
Mouse.Button1Down:Connect(function(Player)
 local Character = Player.Character
 local Humanoid = Character:FindFirstChild('Humanoid')
 
 if Humanoid then
     local BDS = Humanoid:FindFirstChild('BodyDepthScale')
     local BWS = Humanoid:FindFirstChild('BodyWidthScale')
     local BHS = Humanoid:FindFirstChild('BodyHeightScale')
     local H = Humanoid:FindFirstChild('HeadScale')
 
    if BDS and BWS then
     BDS.Value = BDS.Value + .05
     BWS.Value = BWS.Value + .05
     BHS.Value = BHS.Value + .05
     H.Value = H.Value + .05
  
     end
    end
end)
end)

5 comments

1

Is this a local script or a server script

0

^?

0

.

0

is the script blue or does it have a person on it

0

@SinisterMemories No it is not a local script, it is just a regular script. @the8bitdude11 only the first word on the first line is blue and i dont see any person.