Remote event not working?

Greetings, I’ve been trying to make a move system for a game, but when I attempt to fire a remote event I don’t think it does anything.
Code:

Local Script

local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")

UserInputService.InputBegan:Connect(function(Input, isTyping)
	if isTyping then return end
	if Input.KeyCode == Enum.KeyCode.F then
		ReplicatedStorage.Remotes.Moves.Ability.Hit:FireServer()
	
	end
end)

Server Script

local ReplicatedStorage = game:GetService("ReplicatedStorage")


local Cooldown = false

ReplicatedStorage.Remotes.Moves.Ability.Hit.OnServerEvent:Connect(function(Player)
	local Character = Player.Character
	local RArm = Character:WaitForChild("RightArm")
	
	if Cooldown == false then
		print("Hit for".. Damage.. "Damage!")
		
	end
end)

I haven’t exactly coded anything in yet, so it should just be printing, but it isn’t. Any help would be appreciated.

May I know the output error please?

No error, it just doesn’t do anything.

You aren’t setting the value of Cooldown anywhere in the script. And I believe that’s not how you check if something is false. It should be something like this: if not Cooldown then end

Try to check if the input is receiving any signals, if not then it has to be something local sided. Also it’d be nice if we could see more of the code as it can be something else causing the issue

Oh my, I’m so sorry y’all, I realized the mistake. I forgot to put a space in between Right and Arm. I’ve been experimenting with R15 a lot more than R6 recently. But for some reason an error wasn’t popping up in the console so I thought it was something else. Sorry.

1 Like