I am doing this for my group game. I am really wondering how do you make group-rank only spawns? This is a thing for just group spawns only. but I don't need that.
Insert a script into server script service.
game.Players.PlayerAdded:Connect(function(player) local playerrank = player:GetRoleInGroup() -- Insert group id inside the brackets if playerrank == "Rank_Name" or playerrank == "Rank_Name2" then local wplayer = game.Workspace:WaitForChild("player.Name") wplayer.HumanoidRootPart.CFrame = CFrame.new() -- insert a part where you want the player to teleport, copy the position property, and paste it inside brackets, then delete the part as you no longer need it. end)