Remote event is not being received

Hello DevFoum,
when I fire the event from the local script to the server the server does not receive the event i checked output for errors or warnings and there where none everything prints upto ‘sent’[localscript: line 15]
and does not print hit or anything else? i have checked repstorage for the event on the client and server and it is there.

If anyone can help its greatly apricated,
thank you.

--script
1.game:GetService("ReplicatedStorage")["SCP-173"].OnServerEvent:Connect(function(plr)
2.	print("hit", script.Parent.Name)
3.	if plr.Name == script.Parent.Name then
4.		script.Parent.SCPDetection.Value.Value = true
5.
6.		print("CHANGE")
7.		wait(1)
8.		script.Parent.SCPDetection.Value.Value = false
9.		db = true
10	end
11.end)

--local script

1.local tweenService = game:GetService("TweenService")
2.local goal = {}
3.goal.Size = UDim2.new(0, 94,0, 0)
4.local info = TweenInfo.new(8, Enum.EasingStyle.Quint)
5.local tween = tweenService:Create(script.Parent.Frame.Frame, info, goal)
6.
7.game:GetService("ReplicatedStorage")["SCP-173"].OnClientEvent:Connect(function(t)
8.	if t then
9.		script.Parent.Frame.Visible = true
10.		tween:Play()
11.	        wait(6)
12.		print("BLINK")
13.		script.Parent.Frame.Frame.Size = UDim2.new(0, 94,0, 478)
14.		game:GetService("ReplicatedStorage")["SCP-173"]:FireServer()
15.		print("sent")
16.	else
17.		tween:Cancel()
18.		script.Parent.Frame.Visible = false
19.		script.Parent.Frame.Frame.Size = UDim2.new(0, 94,0, 478)
20.	end
21.end)

There is no line where it says :FireClient(Player).
Can you send it ?

game:GetService("ReplicatedStorage")["SCP-173"]:FireServer()

It’s FireServer() not FireClient() at line 15.

Can you share the script which receives the FireServer() firing of the server.

Indeed, there is effectively no line where FireClient() is used and htat’s what I noticed.

Could you send the entire client script and the receiving part of the server script alongside a output picture?

--SERVER SCRIPT--
local storage = game:GetService("ReplicatedStorage")
local scp = storage:WaitForChild("SCP-173")
local db

scp.OnServerEvent:Connect(function(plr)
	print("hit", script.Parent.Name)
	if plr.Name == script.Parent.Name then
		script.Parent:WaitForChild("SCPDetection"):WaitForChild("Value").Value = true
		print("CHANGE")
		task.wait(1)
		script.Parent:WaitForChild("SCPDetection"):WaitForChild("Value").Value = false
		db = true
	end
end)

--LOCAL SCRIPT--
local storage = game:GetService("ReplicatedStorage")
local scp = storage:WaitForChild("SCP-173")
local frame = script.Parent:WaitForChild("Frame")
local frameinframe = frame:WaitForChild("Frame")
local tweenService = game:GetService("TweenService")
local goal = {}
goal.Size = UDim2.new(0, 94,0, 0)
local info = TweenInfo.new(8, Enum.EasingStyle.Quint)
local tween = tweenService:Create(script.Parent.Frame.Frame, info, goal)

scp.OnClientEvent:Connect(function(t)
	if t then
		script.Parent.Frame.Visible = true
		tween:Play()
		wait(6)
		print("BLINK")
		frameinframe.Size = UDim2.new(0, 94,0, 478)
		scp:FireServer()
		print("sent")
	else
		tween:Cancel()
		frame.Visible = false --are these 2 supposed to be different frames?
		frameinframe.Size = UDim2.new(0, 94,0, 478)
	end
end)

this still has the same effect and nothing in the output

You have 2 scripts, one of them has OnServerEvent the other OnClientEvent but in neither do you call FireClient() or FireAllClients() so that’s likely your issue.

Your whole setup is messed up because you never FireServer() and where you’re supposed to FireServer() you have OnClientEvent function which receives the information from the server which is never even sent, basically you’re in a loop of nothingness. This should fix your issue,

-- server (server script inside of ServerScriptService) --

local storage = game:GetService("ReplicatedStorage")
local scp = storage:WaitForChild("SCP-173")
local db

scp.OnServerEvent:Connect(function(plr)
	print("hit", script.Parent.Name)
	if plr.Name == script.Parent.Name then
		script.Parent:WaitForChild("SCPDetection"):WaitForChild("Value").Value = true
		print("CHANGE")
		task.wait(1)
		script.Parent:WaitForChild("SCPDetection"):WaitForChild("Value").Value = false
		db = true
	end
end)

-- client (local script inside the player) --
local storage = game:GetService("ReplicatedStorage")
local scp = storage:WaitForChild("SCP-173")
local frame = script.Parent:WaitForChild("Frame")
local frameinframe = frame:WaitForChild("Frame")
local tweenService = game:GetService("TweenService")
local goal = {}
goal.Size = UDim2.new(0, 94,0, 0)
local info = TweenInfo.new(8, Enum.EasingStyle.Quint)
local tween = tweenService:Create(script.Parent.Frame.Frame, info, goal)

local function fireServer()
    script.Parent.Frame.Visible = true
	tween:Play()
	wait(6)
	print("BLINK")
	frameinframe.Size = UDim2.new(0, 94,0, 478)
	scp:FireServer()
	print("sent")
end

fireServer() -- call the function and fire the remote event

I have no clue what you’re trying to do with your script but this will fire the remote event for sure, if it doesn’t give you the results you want just explain to me better what you’re trying to achieve and I’ll help you fix it.

I have not put the ‘FireClient()’ in the sample as i know that works