I'm making a filtering enabled game which i'm not very familiar with so i was hoping i could get some help with this, I have no clue what could go wrong here.
I have a ImageButton that has a LocalScript inside of it, The LocalScript has a Script and a RemoteEvent in it
Inside of the LocalScript
script.Parent.MouseButton1Down:connect(function()
script.RemoteEvent:FireServer()
end)
Inside of the Script
script.Parent.RemoteEvent.OnServerEvent:connect(function(player)
player.Transformation.Value = "None"
end)
I have a script that creates a StringValue inside the player when the player joins
Layout of things in studio
Thank you for reading this i'm very grateful, Sorry if i made a stupid mistake haha.

2 comments
You should not need a remote event in a gui. It is common to use replicated storage to hold remote events. Lastly the script would not run in the starter gui or the players gui. It should be in server script service.
Thank you very much for answering my question, this worked.