coding_giants

l18 module script

Mar 21st, 2024
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
Add Comment
Please, Sign In to add comment