OnClientEvent wont work

Whenever I’m trying to send a client event I can send it but the client wont ever receive it, can you help?

	if message == "!pdon" then
				--pd on
				print("Pd on")
				game.ServerScriptService.PD.Value = true
				workspace.PDSound:Play()
				
				game.ReplicatedStorage.PdOn:FireAllClients()
				print("b")

			end
			if message == "!pdoff" then
				--pd off
				print("Pd off")

				game.ServerScriptService.PD.Value = false
				workspace.PDSound:Stop()
				game.ReplicatedStorage.PdOff:FireAllClients()
				print("b")

				
			end

In this script “b” will print but when it gets to the client

local pd = game.ServerScriptService.PD
local Pdon = ReplicatedStorage.PdOn
local Pdoff = ReplicatedStorage.PdOff

Pdon.OnClientEvent:Connect(function()
	print("a")
	playerGui.InPD.Enabled = true
end)

Pdoff.OnClientEvent:Connect(function()
	print("a")
	playerGui.InPD.Enabled = false

end)

“a” will not print

It seems your capitalization is different between your scripts, is that the case for the actual scripts aswell?

Are you sure the script is running and is local and where is localscript located? Are there any errors?