Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can i make the player change his body size when he is drink something?

Asked by 2 years ago
Edited 2 years ago

i want make one game with drink something but i can't write the script, when he drink his get eight and width (i am sorry my english is bad)

script.Parent.MouseClick:Connect(function(Player)
    local Character = Player.Character

    local Humanoid = Character:FindFirstChild ('Humanoid')

    if Humanoid then
        local BHS = Humanoid:FindFirstChild('BodyHeighScale')
        local BWS = Humanoid:FindFirstChild('BodyWidthScale')

        if BDS and BWS then
            BDS.Value = BDS.Value + .1
            BWS.Value = BWS.Value + .1
        end
    end
end)

i put this in the tools file

0
You should at least try and show us your code. MarkedTomato 810 — 2y
0
@MarkedTomato can you help me efecan852 2 — 2y

Answer this question