Issue With FE Gun Tool

I have a game script that clones a tool into a players backpack but the tool doesn’t work (FE Gun Kit)
but when I put it in the starterpack it works, How can I fix this?

Here is a gif of it: https://gyazo.com/6982a01b3d35a0da0249fdde9cf6b611
the one on the right is the cloned one
the one on the right is the starterpack one

1 Like

wait for the character to load before giving the tool

local character = player.Character or player.CharacterAdded:Wait()

The game script already checks that

maybe send the script here so i can take a look

1 Like

Code:

	for a,b in pairs(game.Players:GetChildren()) do

	local randweapons = math.random(1, #weapons)

	local loadout = weapons[randweapons]:Clone()

		loadout.Parent = b.Backpack
		
		b.Character.Humanoid:EquipTool(loadout)

you should use :GetPlayers() instead of :GetChildren()
Maybe you have other object in game.Player that is not a player

Nah, the problem isnt the cloning it works fine its just the tool.

oh right my bad i didnt read it carefully lol
any errors when you try to use the cloned tool
also try to compare the cloned tool and the original tool in the explorer to see what is missing

1 Like

Yeah you were right lol, goof moment somethin was missing.