This is a script within a folder in workspace
game.ReplicatedStorage.HoloGuiEvent.OnServerEvent:connect(function(player) x = game.Workspace["HoloGui Giver"].ScreenGui:Clone() x.Parent = player.PlayerGui end)
this is a local script within a brick called 'HoloGui Giver'
script.Parent.Touched:connect(function(hit) game.ReplicatedStorage.HoloGuiEvent:FireServer() end)
Pictures for reference.
'connect' is deprecated.
I've run into this bug plenty of times myself when using FilteringEnabled.
What you need to do is manually create the GUI yourself in the script, so for example once the remote event is triggered then you start with:
local gui = Instance.new("ScreenGui", parenthere) -- repeat rest for all children & children of children