πŸ”₯All scripts on our website are 50% off!πŸ”₯
Logo

Triggers & Exports

TRIGGER

Trigger to open the script:

TriggerClientEvent("bit-crypto:open")

EXPORT

Export to get the user balance:

exports.bit-crypto:GetUserBalance()

Usage Example

You can use this export to check a player's cryptocurrency balance from other scripts:

local balance = exports["bit-crypto"]:GetUserBalance()
print("Player crypto balance: " .. balance)

This export returns the total balance of all cryptocurrencies owned by the player.