I am making an RPG. But my problem is that my GUI doesn't work anymore.
There is this server script, which is supposed to open up a GUI when you talk to a NPC.
But it's now broken because of Filter Enabled.
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)
I have asked this question many times, but no one can't seem to answer it. But if you can, please just fix this script and explain why this server script isn't working.

1 comment
Fire a RemoteEvent to the client.