Connecting to remote event wont work?

  1. What do you want to achieve? I want to be able for a remote event to fire and then a script connect to that (both are scripts and then 1 is a local script which then connects to that 1 script and fires it again for the other script to work)

  2. What is the issue? for some reason it just doesn’t work even though its correctly scripted.

  3. What solutions have you tried so far? one of my friends who is a scripter tried fixing it but had no idea what caused the problem since there were no errors in output

script that connects to the remote

if hunger.Value == 0 then
	print("am cry ")
	game.ReplicatedStorage.Remotes.kickmuz:FireAllClients()
end
--hunger is a local property but its not included here

local script that fires remote event again so the first script gets it so it works

game:GetService("ReplicatedStorage")

game.ReplicatedStorage.Remotes.AddHunger.OnClientEvent:Connect(function()
	game.ReplicatedStorage.Remotes.AddHunger:FireAllClients()
end)

script that is a proximity prompt that fires the remote even so the local script gets it and then fire that

local Part = script.Parent.Parent
local ProximityPrompt = script.Parent



ProximityPrompt.Triggered:Connect(function(Player)
	if Player and Player.Character then
		local alreadyown2 = Player.Backpack:findFirstChild("Wet Food") or Player.Character:findFirstChild("Wet Food")
		local price = Player.leaderstats.tokens

		if script.Parent.Enabled == true then

			script.Parent.Parent.yum:Play()	

			game.ReplicatedStorage.Remotes.AddHunger:FireAllClients()

			alreadyown2:Destroy()
			ProximityPrompt.Enabled = false




		end
	end
end)

I am not sure about your scripts, but if you want two way communication between the scripts then use a remote function not remote event.