I have just turned on filter enabled for my game. But this script isn't working anymore.
Here is the script.
script.Parent.DialogChoiceSelected:connect(function(player,dialog)
local gui = script.Parent.ScreenGui2
if dialog.Name=="Choice2" then
gui:Clone().Parent = player.PlayerGui
end
end)
If anyone reads this, please help me out. I'd also appreciate it if you'd explain why scripts disable like that when filter enabled is turned on.

1 comment
Server script or localscript?