Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do I make Member and Guest not show up?

Asked by 5 years ago

So I'm making rank tags for the chat in my game but for some reason ranks under 248 still show up. How do I prevent this?

01local Players = game:GetService("Players")
02local ScriptService = game:GetService("ServerScriptService")
03local ChatService = require(ScriptService:WaitForChild("ChatServiceRunner").ChatService)
04local MarketplaceService = game:GetService("MarketplaceService")
05 
06local colors = {
07    [255] = Color3.fromRGB(0, 255, 99);
08    [254] = Color3.fromRGB(160, 56, 206);
09    [253] = Color3.fromRGB(0, 255, 227);
10    [252] = Color3.fromRGB(255, 98, 232);
11    [251] = Color3.fromRGB(255, 63, 66);
12    [250] = Color3.fromRGB(255, 103, 40);
13    [249] = Color3.fromRGB(255, 179, 27);
14    [248] = Color3.fromRGB(172, 172, 85)
15}
View all 32 lines...

1 answer

Log in to vote
2
Answered by
Robin5D 186
5 years ago

Are you sure the ranks in the group are set up correctly? There's nothing that appears to be wrong with this code, and it should work fine. The only possible answer is that the ranks in the group are numbered incorrectly or you are testing it improperly.

0
Even if the ranks were set incorrectly (which they aren't) it still shouldn't be showing the rank "Guest" which would be rank 0. JJBIoxxer 50 — 5y
Ad

Answer this question