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

How do you make a overhead Gui that dects groups?

Asked by
ANE_bot 17
5 years ago

In my new game, Alfa Labs 2, I am trying to make a script that detects if you are in the Alfa Labs Group And says above your head, Group rank, And then shows pictures of the AL logo. How?

0
if player:IsInGroup(ID) then .... theking48989987 2147 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

Do a server script inside ServerScriptService, and add this:

game.Players.PlayerAdded:Connect(function(plr)
    plr.CharacterAdded:Connect(function(char)
        if plr:IsInGroup(ID HERE) then
        --add the BillboardGui Here
        end
    end)
end)

Hope I helped.

0
Thx so much! ANE_bot 17 — 5y
Ad

Answer this question