So I'm trying to make an item I pick up clone a folder from ReplicatedStorage to the player's backpack. That part works, but whenever I clone the folder, the scripts start working. When I put the folder in StarterPack, they work fine and do what I want them to. I've checked over a lot to make sure I didn't make any syntax errors, and I haven't. I've tried a lot of different things but none of them work. There are two scripts inside the folder.

This one's in a local script:

local UIS = game:GetService('UserInputService')
local RS = game:GetService('ReplicatedStorage')

UIS.InputBegan:Connect(function(input)
	
	if input.KeyCode == Enum.KeyCode.E then
		RS.KazanStart:FireServer()
	end
end)

This one a normal script:

local RS = game:GetService('ReplicatedStorage')

RS.KazanStart.OnServerEvent:Connect(function(plr)
	if script.Parent.BoolValue.Value == false then
		local char = plr.Character
		local Kazan = RS.Kazan:Clone()
		Kazan.Parent = workspace
		Kazan.Position = char.UpperTorso.Position - Vector3.new(0,2.5,0)
		script.Parent.BoolValue.Value = true
		wait(5)
		script.Parent.BoolValue.Value = false
	end
end)

This is the script in the item that clones the folder, which is a local script:

local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local Kazan = game.ReplicatedStorage.KazanFold	

function onClick()
	local KazanCl = Kazan:Clone()
	KazanCl.Parent = Player.Backpack
end

Mouse.Button1Down:Connect(onClick)

Anyone know how I can fix this? I'm really confused.