#effect ring no work
24 messages · Page 1 of 1 (latest)
can you check if the effect is working again? using /effect
where did you get those methods from? are you trying to use ChatGPT?!
onEvent("player.tick",event => {
const player = event.player
if(player.mainHandItem.test("kubejs:casados") || player.mainHandItem.test("kubejs:casadoss")){
!player.potionEffects.isActive("kubejs:casado") && player.potionEffects.add("kubejs:casado",60,0,false,false)
}
})
try this first, it will activate for 3 seconds if item is in your main hand, and activate again when it wears off.
The curio is a bit more complicated
it will work for both rings
o id dos seus anéis tá uma bosta hein kjkkkkkkkkk
I know the ID of my rings, it's shit :p
How can I resolve this then?
ok thx
i go replace name more later
but the items' effects don't work, do you know how I can fix this?
it does work here, did you try what I sent?
i go try again
is working
thanks for much
To work within the inventory, without using my hand, how can I do it?
that will require some Curio stuff, look around the topics and stop using ChatGPT for your scripts, caralho