Can't seem to get rank only click detector working

Hello,

I’m trying to make a part clickable but only certain group ranks can use it. If they are not 1 of the 2 ranks the click detector will destroy.

I can’t seems to get it to work and I don’t know the problem.

e0b3075ef677477aded42931997e3a07
d522424db903dd50a58590d594f7f93a

Rank1 = IntValue
Rank2 = IntValue
GroupID = NumberValue

GetRole returns the name of the rank while GetRank returns a number of the rank. I think you should use GetRank because you are using arithmetic comparisons

2 Likes