Badge script should work, but doesn't?

I want the badge to be awarded to that rank and people who are above that rank.

Check if the badge was awarded in your inventory, it might’ve awarded it but it’s not actually showing up for some reason.

This is because the account already owns the badge. Badges cannot be awarded twice.

My bad, I should’ve double-checked my script. Fixed it! :slight_smile:

1 Like

I don’t even have the badge in my inventory, but it’ll work for other accounts and it’ll output in the dev console.

Maybe this is a bug of some sort. I’d report it but I cannot access #bug-reports because I’m not a Regular.

Then all should be good. This is most likely an engine bug… Assuming you’re using the script I wrote, everything should function as it should.

I’m just gonna mark my reply as the solution. Seeing as I found the issue…

I believe there is a bug. Because Forummer’s solution should work for 100%

What was the issue at the end?

AFAIK you need to own the badge to award it, don’t quote me on that though heard that somewhere

1 Like

charrr limittttt

Wait I think I read that wrong…

Are you testing this in a Groups game or your game?

It’s in a group game.

Charrr limittt

And you’re the owner [alt or main], or a developer?

Because it happens to me too

I am the owner of the group.

This text will be blurred

Strange. It happenes to me pretty often too.

I also figured out the problem… And its a bit funny…

I remembered I modified the badge before badges became free and I found out I already own the badge! :joy:

I’m literally so forgetful sometimes!

Hehe, happens to all of us :wink:

Glad you’ve found the issue

TIP:
When you’re using badges, use pcalls, incase errors occur

1 Like