Problem with RemoteEvent

So I have a script that should fire a remote event located in ReplicatedStorage. On the other side, a local script parented to StarterGui should take OnClientEvent() to make a frame visible for 1 second. But I get the following error:

Players.octav20071.PlayerGui.SCANNER.LOCALSCRIPT:1:
attempt to call a RBXScriptSignal value
local script
game.ReplicatedStorage.Virtualize.OnClientEvent(function(USER)
	script.Parent.FRAME.Visible = true
	wait(1)
	script.Parent.FRAME.Visible = false
end)

Any help ?