Clone not working Tool into Character

My Script is not working i want the tool clone into character when character spawn i want the tool clone into character and auto equip , there is no error but its not working

local rp = game:GetService("ReplicatedStorage")
local guns = rp:WaitForChild("Guns")
local gfolder = rp:WaitForChild("GunValue")



game.Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function(char)
	if gfolder.Ak47.Value == true and not char:FindFirstChild("Ak47") then
		local ak47 = guns:FindFirstChild("Ak47"):Clone()
		ak47.Parent = char
		char.Humanoid:EquipTool(ak47)
	elseif gfolder.Scar.Value == true and not char:FindFirstChild("Scar") then
		local scar = guns:FindFirstChild("Scar"):Clone()
		scar.Parent = char
		char.Humanoid:EquipTool(scar)
	elseif gfolder.Revolver.Value == true and not char:FindFirstChild("Revolver") then
		local revolver = guns:FindFirstChild("Revolver"):Clone()	
		revolver.Parent = char
			char.Humanoid:EquipTool(revolver)
		end
	end)
end)

also i on ak47 value but its not still working

remove char.Humanoid:EquipTool() lines

(If you want more of an explanation, equiptool only works when the tool is in the players backpack but you cloned it into the character)

2 Likes