Remotes.Main1.OnServerEvent:Connect(function(X,G)local F=X local c=F.Character for X,F in pairs(GetTable)do if G==X then if c:FindFirstChild(X)==nil then local G=Weapons[X]:Clone()G.Parent=c if G.WielderType.Value==F.WielderType then local T=Instance.new("\077\111\116\111\114\054\068")T.Part0=c["\082\105\103\104\116 \065\114\109"]T.Part1=G.Handle T.C0=F.WeldCFrame T.Parent=c["\082\105\103\104\116 \065\114\109"]T.Name=X Name=X end end end end if G=="\085\110\101\113\117\105\112"then pcall(function()c[Name]:Destroy()end)end end)
-- // Equips & Unequip
Remotes.Main1.OnServerEvent:Connect(function(plr, firingtype)
	local LocalPlayer = plr
	local Character = LocalPlayer.Character
	for GetType, _ in pairs(GetTable) do
		if firingtype == GetType then
			--LocalPlayer.PlayerGui.ScreenGui.Folder[Slots].Value = true

			--if LocalPlayer.PlayerGui.ScreenGui.Folder[Slots].Value then

			if Character:FindFirstChild(GetType) == nil then
				local FindWeapons = Weapons[GetType]:Clone()
				FindWeapons.Parent = Character
				if FindWeapons.WielderType.Value == _.WielderType then
					local DefineWeldings = Instance.new("Motor6D")
					DefineWeldings.Part0 = Character["Right Arm"]
					DefineWeldings.Part1 = FindWeapons.Handle
					DefineWeldings.C0 = _.WeldCFrame
					DefineWeldings.Parent = Character["Right Arm"]
					DefineWeldings.Name = GetType
					Name = GetType
				end
			end
		end
	end

	if firingtype == "Unequip" then
		pcall(function()
			Character[Name]:Destroy()
		end)
	end
end)
