#Does anyone know whats wrong with my slider

1 messages · Page 1 of 1 (latest)

smoky notch
#
function battle(player) {
    new ModalFormData()
        .title('§3§lBattle Pass')
        .slider("Claim Your Tier! ", 1, 100, 1)
        .show(player).then((r) => {
            if (r.formValues[0] === 0) {
                player.runCommandAsync('say test');
            }
        });
} ```
smoky notch
#

already tried nope

#

dont think the vaules are whats wrong its

            if (r.formValues[```
#

i thought it wasnt accidentally did js if (r.formValues[1] === 0) {