Me and my friend are making game with two group. How do we get the leader broad to say which group we’er in and what rank we are?
So I thought I might as well answer your question after making the script I hope your group does well I also added a lot of explanation in the script
local groupID = "" --Insert Group ID local groupID1 = "" --Insert Second Group ID game.Players.PlayerAdded:Connect(function(player)--Checks when players join local group1 = Instance.new("Folder",player)--Creates Leaderstats group1.Name = "leaderstats"--Name local value = Instance.new("StringValue",group1)--Creates StringValue value.Name = "Rank" --Creates Name for Stringvalue value.Value = player:GetRoleInGroup(groupID)--Checks the name of the role for the group local value2 = Instance.new("StringValue",group1)--For second group{ value2.Name = "Rank" value2.Value = player:GetRoleInGroup(groupID1)--{ end) --------------Created by Voidofdeathfire---------------------------------------