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!
COMMUNITY QUESTION
Gui in PlayerGui will appear in game, but doesent function?
1 answer
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)
This discussion is preserved as it was. New answers, comments, and votes are closed.

10 comments
Keep in mind, i checked the gui's in my other games aswell, and they are somehow doing the same thing, idk why, but they arent working anymore either, what changed in roblox and how do i fix this?
What are you trying to do?
Are you using a normal script for the guis?
This is because FilteringEnabled is enabled. To learn more about FE check out the YT video by ScriptGuider or the Wiki.
Filteringenabled is disabled, i checked, and tried even enabling it but it wont work. The scripts and gui's were working before, but suddenly they just dont work
Ughhh i feel stupid, i just replaced the buttons scripts with local scripts. But it doesnt fix the issue of, for some reason i cant index the gui's in player gui within other scripts.
FE is not disabled. It has been forced, Experimental Mode has been removed.
IM having another problem now, because i moved over to local scripts some effects arent being seen by other players.
NEVER PUT SERVER SIDED SCRIPTS IN GUI's, i had to learn that the hard way, a start would be to convert all scripts in the gui into localscripts
so how would i go about fixing these scripts,(which are local scripts) and making them so others can see the effects?