-
What do you want to achieve? Assign a team to a player once from a screengui, and after they rejoin, they will keep the team.
-
What is the issue? I do not know how to do this.
-
What solutions have you tried so far? I looked on Devforum, and Youtube.
Here’s a part of my script for the teams.
local qk = setmenu.Quinte
local tk = setmenu.TK
local Teams = game:GetService("Teams")
local tkteam = Teams.Telekinesis
local qkteam = Teams.Quintekinesis
qk.MouseButton1Click:Connect(function()
player.Team = qkteam
setmenu.Visible = false
end)
tk.MouseButton1Click:Connect(function()
player.Team = tkteam
setmenu.Visible = false
end)