Is there an way/script that enable a GUI appear to a certain rank on a game?

P.S: U need to have a certain rank in a certain group to get the same rank in the game.

Example:

I'm the rank "Visitor", so the GUI appears for me and the others who have the same rank as me.

I'm the rank "Unkown", the GUI doesn't appear for me and for the others who have the same rank as me.

Here's the script of the ranking system:


game.Players.PlayerAdded:connect(function(player) -- function is called when player joins game
    if player:GetRankInGroup(2671856) >= 8 then --checks if players rank in 2671856 is greater than or equal to 8
        player.Team = "Officers" -- sets players team to officers
    elseif player:GetRankInGroup(2671856) < 8 then -- checks if players rank in 2671856 is smaller than 8
        player.Team = "Unlisted" -- sets players team to unlisted
    else -- if player meets none of the above conditions 
        player.TeamColor = "Visitors" -- set team to visitors
end)

2 comments

0

scripting. helpers. is. not. a. request. site.

0

he wasn't requesting anything, he provided his own script and was asking for what was wrong.