Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why won't the player equip this?

Asked by 7 years ago
local weapon = game.Lighting.Weapons:FindFirstChild(game.ReplicatedStorage.ItemFolder:FindFirstChild(itemID):FindFirstChild("ItemName").Value):Clone()
        if weapon ~= nil then print("Found weapon") end
        game.Workspace:FindFirstChild(player.Name).Humanoid:EquipTool(weapon)

The output shows that it's found the weapon, but it's not equipping it. :/ No errors or anything. Any ideas?

1
Try doing this: weapon.Parent = game.Workspace:FindFirstChild(player.Name) TheDeadlyPanther 2460 — 7y
0
I thought that lead to problems in the latter portion of things. TinyPanda273 110 — 7y

Answer this question