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

Group only team changer gui (help)?

Asked by 4 years ago

Basically I have it all done except I have no clue how to make it group only can you help me?

0
use IsInGroup Benbebop 1049 — 4y

2 answers

Log in to vote
0
Answered by
Benbebop 1049 Moderation Voter
4 years ago
if Players.LocalPlayer:IsInGroup(GroupID) == true do
    -- code to change team --
end

Only works in a LocalScript

Ad
Log in to vote
0
Answered by 4 years ago

Use the function if Player:GetRankInGroup(GroupId) then end

etc, etc. Do you have the script for it that I can see?

Answer this question