Examples: Kestrel.
Kestrel has ranked by group. Like, President, General, etc. Its based on your rank in that group's place. How do you do this?
local GroupID = 1 game.Players.PlayerAdded:connect(function(player) local stats = Instance.new("IntValue") local rank = Instance.new("StringValue", stats) rank.Value =player:GetRoleInGroup(GroupID) stats.Parent = player --[[player.CharacterAdded:connect(function(character) local groupSpawns = game.Workspace:FindFirstChild("GroupSpawns"):GetChildren() local torso = character:WaitForChild("Torso") torso.CFrame = CFrame.new(groupSpawns[math.random(1,#groupSpawns)].Position) end)]] end)
Closed as Not Constructive by AmericanStripes
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?