I am making an RPG. But I'm having this issue with this Server Script.
My problem is that this this Script isn't opening up a GUI for me.
Here is the script.
script.Parent.DialogChoiceSelected:connect(function(player,dialog)
local gui = script.Parent.ScreenGui
if dialog.Name=="Choice1" then
gui:Clone().Parent = player.PlayerGui
end
end)
This script used to work when FilterEnabled was off.
I'm really confused with this as I'm a newbie at scripting. I've asked this question many times, and scripters are answering to use a RemoteEvent.
I'm not sure what a RemoteEvent is yet. But if you can help me, please give a clear answer for me.

2 comments
You can't access PlayerGui from the server.
@incapaz That is not true, you can.