#It keeps saying it's not a function, does anyone know why?
1 messages · Page 1 of 1 (latest)
Changed in the new version
then try to run the script with a try .......... catch(error) and sends error in console
do try in small parts of the code so you can get whats wrong
Telling someone to find the error on their own isn't helping, you know?
wait Math.clamp doesnt exist in js
that the solution just do that or ask chatgpt waht could possibly be wrong
player.runCommandAsync('scoreboard players add @s black_flash ' + Math.clamp(lib.getScore(player, "str_cur") / 10))
Does ChatGPT know Js Minecraft? How funny 🤣
I did not know that
no but does know javascript so its still helpful
Hmmmm
Even using Math.clamp is wrong