function onClick() script.Parent.Parent.Parent:Destroy() end script.Parent.MouseButton1Down:connect(onClick)
so this normal script should destroy the GUI it is in(however it cant because of filtering enabled). I was wondering how i would approach this. For starters should i use a remote function or event(personally i would'e chosen a remote event). Now usually i would call the client from the server however i cannot access the "ScreenGUI" in the Player's GUI because filtering wont allow it. I was thinking how i could call the server from the client, so i was wondering how i could approach this, because if i send a signal to the server, how would i get it to return something that would destory the GUI when it bounces back? sorry the paragraph ha, any help is useful, thanks ~bubs
This should have nothing to do with the server.
Because the .MouseButton1Down
event is registered on the client, and all you're doing is destroying a GUI, you should handle all the work on the client. There is no security risk.