Hey guys! First off, thanks for taking the time to view my question. As for my problem: I created a custom chat gui (just for the hell of it), and it's working great when I click "test" in the studio. The problem I'm encountering is that when I enter my game via Roblox (not studio) the gui is almost completely unresponsive.
I won't post the entire source code, as it's way too long for that, so here's the part where I copy it to the new player:
game.Players.PlayerAdded:connect(function(plr)
script.ChatGui:Clone().Parent = plr.PlayerGui
end)
Here's the link to my place where I'm currently hosting the gui:http://www.roblox.com/games/336727197/Model-Creation-Center
If you can think of anything that I could add to help you help me, please tell me!
Note: I previously said almost completely unresponsive, because I can click one button and it will briefly change color, and because I can still click inside of the textbox used to chat. Other than that nothing else will respond or change.
Tried Solutions:
- Add a wait()
- changed script.ChatGui to script:WaitForChild("ChatGui")

3 comments
Make sure every single part of your GUI exists before doing anything else, you get and error when you join that place involving a problem than can be fixed with what I said, unless it actually doesn't exist. However, you're not giving enough information to get help.
https://scriptinghelpers.org/blog/it-works-in-studio-but-not-online
If filtering enabled is on than server scripts can't access the players GUI. You will have to use remote function. :P