Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What is wrong with this GetRankInGroup line?

I know this is pretty simple, but it keeps giving me the red underline with the error of "function arguments expected near '>='". How should I fix this?

if player:GetRankInGroup >= 10 then

Thanks!

1 answer

✓ Accepted answer

You need your parameters. Remember, it's a function!

if player:GetRankInGroup(ID HERE) >= 10 then

4 comments

0

Ah, sorry, thanks!

0

No need to apologize. I like helping people. :D

0

Arguments, actually, I'm pretty sure.

0

The word "parameters" refers to "parentheses" as well.

This discussion is preserved as it was. New answers, comments, and votes are closed.