Hi, Ive got a simple code for removing a gui when a button is pushed, i would also like to make it change the team of the player that pushed the gui button.

Here's the code

script.Parent.MouseButton1Click:Connect(function(click) script.Parent.Parent:Destroy() end)

Is there any way to do that?

Thanks again

Hipigilovepig