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?
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)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thank you! :)