elseif Value == "FlamePillarHolding" then -- If the attack is a held flame pillar character.Humanoid.WalkSpeed = 0 character.Humanoid.JumpPower = 0 -- Have to make the player unable to move local a = Instance.new("Animation", character) -- Creating an animation a.Name = "FlamePillarHolding" a.AnimationId = "rbxassetid://6879113454" -- Giving it the animation id local al = character:WaitForChild("Humanoid"):LoadAnimation(a) -- Creating the animation loader al:Play() -- Making our animation play local holdingValue = Instance.new("IntValue", character) holdingValue.Name = "holdingValue" holdingValue.Value = 1 while character:FindFirstChild("holdingValue") do wait() if character:FindFirstChild("holdingValue").Value > 30 then break else character:FindFirstChild("holdingValue").Value = character:FindFirstChild("holdingValue").Value + 0.5 end end
its the sample of my code since it like 300 lines long and wont fit in the question the problem is the holding value but idk what to do its meant to increase in size up to 30