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.

5 comments
I don't think the Connect event is deprecated...
^ http://wiki.roblox.com/index.php?title=RBXScriptSignal
They consider connect with a lowercase first letter to be deprecated. Connect still works just fine.
So is this what is wrong with my code, or am I in need of something else lol?
^ To be honest when this happens to me this is what I do, because this is the only solution I know of.