View difference between Paste ID: yEk6RKRR and 8CAAJx41
SHOW: | | - or go back to the newest paste.
1
    --End of the previous code
2
     openTween:Play()
3
-- ====================== New code =============================
4
     if frameName == "PetInventory" then
5
         local damage = game.Players.LocalPlayer.Values.Damage.Value
6
         frame.Upgrade.Text = "Upgrade for " .. 10*(2^(damage-1)) .. " Shards"
7
         frame.DamageLabel.Text = "Your dmg multiplier: x" .. damage
8
     end
9
-- ====================End of new code=======================
10
    end
11
end
12