Local Script not recieving remote event

Hi
I want a server script to fire a remote event to a local script which fires a remote event back to the server so that the server scripts can communicate however the local script seems to not be receiving the remote event. i have verified the remote event does fire

server script

if player.PlayerGui.Valves.Frame.count.Value == 5 or game.StarterGui.Valves.Frame.count.Value == 5 then
		

		game.ReplicatedStorage.Remotes.DoorEat:FireAllClients()

	end

local script

game.ReplicatedStorage.Remotes.DoorEat.OnClientEvent:Connect(function()
	print("rec")
	game.ReplicatedStorage.Remotes.DoorDes:FireServer()
end)

Where is the local script? It must be in StarterGui/PlayerGui, character or PlayerScripts to actually run. Is it enabled? Try to do those then it might work

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.