#Can Some1 Help me(Forgot the script)

1 messages · Page 1 of 1 (latest)

undone frost
#

I will create a Vault system like if player Join first time the server he get a ID tag ID Counter its the same like members counter but he have a ID and if he will warp to vault he need to type his ID in the entity but if he type another ID He get rerturned and tp cancel

#
import { Player } from '@minecraft/server';
import { ActionFormData, ActionFormResponse } from '@minecraft/server-ui';

function VaultUI(player: Player) {
    const form = new ActionFormData()
        .title('Zenith Vault')
        .body('Vault system!')
        .button('Buy Vault')
        .button('Warp Vault')
        .button('Invite Friends')
        .button('Kick Friends')
        .button('Cancel');

    form.show(player).then((response: ActionFormResponse) => {
        if (response.selection === 3)
        }```