No errors are show, I am completely stuck to what is wrong?
game.Players.PlayerAdded:Connect(function(plr)
if game.Teams:FindFirstChild("Customer") and game.Teams:FindFirstChild("Manager") then
local leaderstatsA = plr:WaitForChild("leaderstatsA")
if leaderstatsA:WaitForChild("Customer").Value == true and leaderstatsA:WaitForChild("Manager").Value == false
then
print("idk")
plr.Team = game.Teams.Customer
end
if leaderstatsA:WaitForChild("Manager").Value == true and leaderstatsA:WaitForChild("Customer").Value == false
then
plr.Team = game.Teams.Manager
end
end
end)

1 comment
Not sure if this is the issue without seeing the rest of your code, but if the value of manager and customer are the same, then plr.Team will never be assigned