So when i enter the game, my gui's appear on the screen but they do not function, Buttons wont work, and scripts wont work, and the gui does not seem to exist in the PlayerGui folder. I have tried indexing them and finding them within the developers window in game, but it comes up as nil, yet the gui's still appear on screen. For some reason it works in PlaySolo, but not in-game. PLEASE HELP!
Hello,
Try to use a LocalScript
in your TextButton
. Here is an example:
--LocalScript local changedcolor = false script.Parent.MouseButton1Click:Connect(function() if changedcolor == false then script.Parent.BackgroundColor3 = Color3.new(255, 170, 0) changedcolor = true else script.Parent.BackgroundColor3 = Color3.new(255, 255, 255) changedcolor = false end end)