The problem is that the tool isn't being cloned into backpack

THIS WORKS IN STUDIO BUT NOT GAME

Local script

local player = game.Players.LocalPlayer
local Equip = script.Parent:WaitForChild('Unlocked')
local Start = game.Workspace:WaitForChild('GlobalSettings').PurgeStarted
local Warn = script.Parent:WaitForChild('Warn')

script.Parent.MouseButton1Click:connect(function()
	local Item = game.ReplicatedStorage:WaitForChild('Guns').Pistol
	local name = 'Pistol'
	if Equip.Value == true --[[and Start.Value == true]] then
	script.Parent.Parent.Parent.Parent.Parent.CloneTool:FireServer(name)
	script.Parent.Parent.Parent:WaitForChild('Primary').Image = script.Parent.Image
	elseif Start.Value == false then
		Warn.Visible = true
		wait(1)
		Warn.Visible = false
	end	
	
end)

Regular Script

local Remote = script.Parent.CloneTool

Remote.OnServerEvent:connect(function(player, ToolName)
	print(ToolName)
	local Item = game.ReplicatedStorage:WaitForChild('Guns'):WaitForChild(ToolName)
	Item:Clone().Parent = player.Backpack	
	
	
	
end)

Nothing is printed and no Errors in output, this is a filtering enabled place I'm guessing the ToolName is Nil or '' since nothing is printed, but if that's the case then how do i make it something?