Hi! I’m trying to increase the height of an R6 character every 1 second, I’m using Humanoid:ApplyDescription() but it doesn’t seem to be working. The HeightScale value is indeed getting incremented but the character doesn’t seem to be growing.
Script:
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local tweenInfo = TweenInfo.new(
0.5,
Enum.EasingStyle.Sine,
Enum.EasingDirection.Out
)
local PLAYER_ADDED = Players.PlayerAdded
local function onPlayerAdded(player)
local CHARACTER_ADDED = player.CharacterAdded
local function onCharacterAdded(character)
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
local humanoid = character:FindFirstChild("Humanoid")
local lastValue = 1
local function incrementSizeLoop()
while wait(1) do
local humanoidDescription = humanoid:FindFirstChild("HumanoidDescription")
local heightScale = humanoidDescription.HeightScale
lastValue += 0.05
humanoidDescription.HeightScale = lastValue
humanoid:ApplyDescription(humanoidDescription)
end
end
local incrementSizeCoroutine = coroutine.create(incrementSizeLoop)
coroutine.resume(incrementSizeCoroutine)
end
CHARACTER_ADDED:Connect(onCharacterAdded)
end
PLAYER_ADDED:Connect(onPlayerAdded)