Every time I run this it sais TextButton is not a valid member of StarterGui so here is my script please help me? ~~~~~~~~~~~~~~~~~ local textButton = game.StarterGui.TextButton.Parent textButton.MouseButton1Down:connect(function() local Uchiha = game.Teams.Uchiha local player = game.Players.LocalPlayer player.team = Uchiha
end)
I may of just coded this totally wrong I tried this and like I said it gives me the error local
TextButton is not a valid member of StarterGui

1 comment
im pretty sure you need to have the textbutton inside of a screengui