local button = script.Parent
local debounce = false – To prevent rapid clicking
local function onClick()
if debounce then return end – Ignore rapid clicking
debounce = true – Set debounce to true to prevent rapid clicking
local player = game.Players:GetPlayerFromCharacter(button.Parent)
local character = player and player.Character
local humanoid = character and character:FindFirstChildOfClass(“Humanoid”)
if humanoid then
local scaleProperties = {
“BodyDepthScale”,
“BodyHeightScale”,
“BodyProportionScale”,
“BodyTypeScale”,
“BodyWidthScale”,
“HeadScale”
}
for _, scaleName in ipairs(scaleProperties) do
local currentScale = humanoid[scaleName]
local newScale = currentScale * 1.1
humanoid[scaleName] = newScale
end
end
wait(1) – Wait for 1 second before allowing another click
debounce = false – Reset debounce after the delay
end
button.ClickDetector.MouseClick:Connect(function()
onClick()
end)
local button = script.Parent
local debounce = false – To prevent rapid clicking
local function onClick()
if debounce then return end – Ignore rapid clicking
debounce = true – Set debounce to true to prevent rapid clicking
local player = game.Players:GetPlayerFromCharacter(button.Parent)
local character = player and player.Character
local humanoid = character and character:FindFirstChildOfClass(“Humanoid”)
if humanoid then
– Adjust scale properties
humanoid.BodyHeightScale = humanoid.BodyHeightScale * 1.1 – Increase height scale by 10%
humanoid.BodyWidthScale = humanoid.BodyWidthScale * 1.1 – Increase width scale by 10%
humanoid.HeadScale = humanoid.HeadScale * 1.1 – Increase head scale by 10%
end
wait(1) – Wait for 1 second before allowing another click
debounce = false – Reset debounce after the delay
end
‘’'local button = script.Parent
local debounce = false – To prevent rapid clicking
local function onClick()
if debounce then return end – Ignore rapid clicking
debounce = true – Set debounce to true to prevent rapid clicking
local player = game.Players:GetPlayerFromCharacter(button.Parent)
local character = player and player.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
if humanoid then
-- Adjust scale properties
humanoid.BodyHeightScale = humanoid.BodyHeightScale * 1.1 -- Increase height scale by 10%
humanoid.BodyWidthScale = humanoid.BodyWidthScale * 1.1 -- Increase width scale by 10%
humanoid.HeadScale = humanoid.HeadScale * 1.1 -- Increase head scale by 10%
end
wait(1) -- Wait for 1 second before allowing another click
debounce = false -- Reset debounce after the delay
local debounce = false -- To prevent rapid clicking
local function onClick()
if debounce then return end -- Ignore rapid clicking
debounce = true -- Set debounce to true to prevent rapid clicking
local player = game.Players:GetPlayerFromCharacter(button.Parent)
local character = player and player.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
if humanoid then
-- Adjust scale properties
humanoid.BodyHeightScale = humanoid.BodyHeightScale * 1.1 -- Increase height scale by 10%
humanoid.BodyWidthScale = humanoid.BodyWidthScale * 1.1 -- Increase width scale by 10%
humanoid.HeadScale = humanoid.HeadScale * 1.1 -- Increase head scale by 10%
end
wait(1) -- Wait for 1 second before allowing another click
debounce = false -- Reset debounce after the delay
end
button.ClickDetector.MouseClick:Connect(function()
onClick()
end)
local debounce = false -- To prevent rapid clicking
local function onClick()
if debounce then return end -- Ignore rapid clicking
debounce = true -- Set debounce to true to prevent rapid clicking
local player = game.Players:GetPlayerFromCharacter(button.Parent)
local character = player and player.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
if humanoid then
local description = humanoid:GetAppliedDescription()
-- Increase all scale properties by 10%
description.BodyDepthScale = description.BodyDepthScale * 1.1
description.BodyHeightScale = description.BodyHeightScale * 1.1
description.BodyProportionScale = description.BodyProportionScale * 1.1
description.BodyTypeScale = description.BodyTypeScale * 1.1
description.BodyWidthScale = description.BodyWidthScale * 1.1
description.HeadScale = description.HeadScale * 1.1
humanoid:ApplyDescription(description)
end
wait(1) -- Wait for 1 second before allowing another click
debounce = false -- Reset debounce after the delay
end
button.ClickDetector.MouseClick:Connect(function()
onClick()
end)
It doesn’t work, but I think I used what you ment? idk
local ClickDetector = script.Parent
ClickDetector.MouseClick:Connect(function(player)
local char = player.Character
local human = char.Humanoid
local depth = human:WaitForChild("BodyDepthScale")
local height = human:WaitForChild("BodyHeightScale")
local width = human:WaitForChild("BodyWidthScale")
local head = human:WaitForChild("HeadScale")
local properties = {depth, height, width, head}
while true do
for i,property in pairs(properties) do
wait(1)
local changeBy = 1
property.Value = property.Value + changeBy
end
end
end)```