I made a pretty basic script to test this out.
-- Parent is TextButton, Parent.Parent is BillBoard gui. script.Parent.MouseButton1Up:Connect(function() script.Parent.Text = "NO U" wait(3) script.Parent.Text = "Click me (test)" end)
Nothing happens, no errors, NOTHING! I also tried it with a normal non-local script just in case it doesn't work because it's a non-local instance, that didn't help. This works on a SurfaceGui though.
Help is appreciated, thanks!
Well, since you said it was FE, (filtering enabled) you'll need 2 different scripts and 1 remoteEvent.
So, a RemoteEvent is a Instance that is usually used in any type of FilteringEnabled games which fires from the client or server.
In the RemoteEvent, you want to use OnServerEvent if the client/player is firing the event. Such as clicking a TextButton. But, a better way to memorize which type of Event to use is by knowing if what it works in non-FE. So, like a LocalScript is used to get a MouseButton1Down function or something like that, meaning you'll use FireServer since you're firing it from there like in non-FE games.
But, when using OnClientEvent, it's just the opposite. So, if you were doing a touch event or player added event, you would normally use a script for that in non-FE games. All you need to do is use FireClient now in the Script and set your code up with OnClientEvent in a local script.