I have done Debugging and the code is running with no error and the GUI's are being stored in the right place. Is there a certain property of the UI's i should change?
Code is as follows (There is nothing in the fire all clients side):
local rep = game.ReplicatedStorage.RemoteEvent
rep.OnClientEvent:Connect(function()
local GUI = Instance.new("ScreenGui")
local Text = Instance.new("TextBox")
Text.Text = "Fart"
GUI.Parent = game.StarterGui
Text.Parent = GUI
wait(2)
print(Text.Parent.Parent)
end)

3 comments
What. The. Heck.
This is very wrong. LocalScripts can access ReplicatedStorage from anywhere in the game.
sorry then :<