Need help with a gear spawn

This should be a simple fix but I’m just not sure how to do it.
I need the player to click the button and get the gear into their backpack which is working fine, but when they equip it, it’s still in the spot where I spawned the gear in studio and not letting the player move. GIF below.

This is the script I am using:

local tool  = game.ReplicatedStorage.JetPack
local giver = script.Parent
local canGive=false

local function GiveTool (player)
	if canGive ==false then
		canGive=true
		local clone = tool:Clone()
		clone.Parent = player.Backpack
		wait(1)
		canGive = false
	end
end

giver.ClickDetector.MouseClick:Connect(function(player)
	GiveTool(player)
end)

If any more information is needed I most likely be able to provide. I am using the official gear from the catalog that I inserted with the command bar in studio.

3 Likes

Ensure that the tools aren’t anchored, that could be causing this.

3 Likes

Unanchored no welds.

30 character limit l

1 Like

Just unanchor it. (30 characters)

Welds?

2 Likes

Sneaky weld. Was inside a part I didn’t see.