Everything else in my script works other than the team changing bit. I don't have much experience with teams and just came up with this with a few tutorials I found.
local btn = script.Parent
local yes = btn.Parent.QuizOptY
local no = btn.Parent.QuizOptN
local player = game:GetService("Players").LocalPlayer -- you can ignore everything except for this and where it says yes.Mousebutton...
btn.MouseButton1Up:Connect(function()
yes.Visible = true
no.Visible = true
btn.Visible = false
end)
yes.MouseButton1Up:Connect(function() --this is where im having problems
yes.Visible = false
no.Visible = false
btn.Visible = true
player.Team = Teams["Employer"] -- here specifically
end)
no.MouseButton1Up:Connect(function()
yes.Visible = false
no.Visible = false
btn.Visible = true
end)
If you know how to help or know of a tutorial that can help. Please let me know. Thank you!

1 comment
I haven't tested but i think this is the problem