RunService.Heartbeat:Connect(function(dt)
if holdShoot or holdDribble or holdBallJump then
if holdBallJump then
power = math.min(power + (5 * (dt / 0.015)), 100)
end
if holdDribble then
power = math.min(power + (4 * (dt / 0.015)), 100)
end
if holdShoot then
power = math.min(power + (3.5 * (dt / 0.015)), 100)
end
else
power = 0
end
if PowerBar then
PowerBar.Size = UDim2.new(1, 0, power / 100, 0)
end
end)