Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

TextButton is not a valid member of StarterGui?

Asked by 8 years ago

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

0
im pretty sure you need to have the textbutton inside of a screengui theCJarmy7 1293 — 8y

Answer this question