I made a GUI you type a message and then click send. And it will be sent to a frame.
its actually working, i do see a frame but i don’t see any text on the frame.
We have no detailed information about how you’ve done replicating the text label. There might be several possible issues, but we can’t understand the exact issue you are facing. The possibilities are:
The script’s last parent looks like Workspace. I inferred that you access ServerStorage from a server-side script. However, while ServerStorage is accessible from the Workspace from your side, it won’t be replicated to other clients in the same server. Because script.Parent.Parent.Message location can never be approached by the server if it is not in Workspace. There is no clarification about where the message is typed.
If you want to get the text the client writes down in PlayerGui, you ought to use a RemoteEvent to replicate it to the server and sync with the other clients. However, this code snippet should be in a LocalScript. There is no way to grant the ServerStorage descendants, and you said in the first post that the frame appears without the text. Then, how is this possible with no error?
Consider providing the info about locations of UIs and the script in order to help fix your problem.
Did you set the Adornee property of the SurfaceGui anywhere located in Workspace? If it is not Workspace, are you rendering the text label in PlayerGui? How’d you get ServerStorage if it is not a Script? Are you sure you don’t get any errors printed on the output?
Other things to glance at:
TextTransparency, Visible, Size, Position, Zindex properties of the TextLabel
The Explorer menu right after the frame replicates if the text label as well is inherited.
The text if it is not empty nor containing whitespaces.
Server scripts should not be used to connect to client-based events. TextBox input is client-sided so it will not get seen by the server. Additionally it seems like you’re just adding something to a Gui so you shouldn’t even be using the server at all here. Use a LocalScript and pick a different parent other than ServerStorage to store the template frame.