Can you send ScreenGuis over Remote Events?

So, I’m a little confused. At the moment, I have a module script from the server sending over data. The only part that doesn’t successfully send is the screenGui. Does anybody have any idea why this is? I didn’t find anything on the ScreenGui page saying it’s “NotReplicatable” or however it says it.

My module:

ReplicatedStorage.GivePassRewards:FireClient(player,"Radio",passItems.RadioGui)

My Local Script:

givePassRewardsEvent.OnClientEvent:Connect(function(passName,item)
	print(passName,item)
end)
1 Like

Whenever you send an instance, or in other words a physical object in the explorer window, it only sends a reference and not the object itself. It says “this Part right here”. If this object does not exist on both machines, then it won’t exist when you try to send the information.

Nope you can’t send any instances over events as it’s unsafe. NotReplicable means that it can’t be replicated from Client -> Server or Server -> Client.

Thanks, that makes sense

But shouldn’t server to client be safe? The server is giving the client one thing that it could technically edit, but it wouldn’t affect anything/one else.

1 Like

While what you’re saying makes sense and it should work that way it doesn’t :man_shrugging: