Hello, I'm making a game where you can create your character. I want to make a button that when it receives the click of a player, it changes its body size.
I've tried a few things and they didn't work. I tried to make a serverscript in loop that takes a value, where the button changes the same I've tried to get scripts from other scripting help and nothing worked.
code im using (isnt working :/):
script.Parent.MouseButton1Click:Connect(function()
local Humanoid = game.Players.LocalPlayer.Character.Humanoid
local HS = Humanoid.HeadScale
local BDS = Humanoid.BodyDepthScale
local BWS = Humanoid.BodyWidthScale
local BHS = Humanoid.BodyHeightScale
HS.Value = HS.Value * 2
BDS.Value = BDS.Value * 2
BWS.Value = BWS.Value * 2
BHS.Value = BHS.Value * 2
end)
