✓ Accepted answer
I presume your game has FE enabled?
You should make sure you give us your whole script. In your localscript, you say MakeText, so I assume that above there is a variable saying
local MakeText = game.ReplicatedStorage:WaitForChild("MakeText")
This variable should be the same in both of your scripts, correct? Perhaps besides some hierarchy.
Also, you should be using a RemoteEvent.
Assuming all the above is basically true, you're missing the part where you script actually does the part where the text is changed. You mainly need to edit your LocalScript to bellow.
Top.TextButton.MouseButton1Click:connect(function()
MakeText:FireServer('I was clicked!')
end)
MakeText.OnClientEvent:connect(function(Text)
Top.TextButton.Text = Text
end)
You never made the event that FireAllClients is going to well, fire.
If this helped, accept this answer! Any quesitons/problems? Just comment them
2 comments
Where is the remote event being stored in the gui?
Replicated Storage