Tool vanishes on equip

Basically I have a script in ServerScriptService which fires everytime player’s character loads, and its supposed to equip a tool to that player. The problem is, that the tool becomes invisible. I have checked and yes, its transparency is set to zero and the humanoid indeed has the tool equipped. Any idea why does it happen?

Script that equips the tool to the player

  local players = game:GetService("Players")
local replicated = game:GetService("ReplicatedStorage")
local WEr = replicated.Remotes:WaitForChild("WeaponEquip")

local function weaponEquip(plr)
	local hum = plr.Character:FindFirstChild("Humanoid")
	local char = replicated:FindFirstChild(plr.Name):WaitForChild("character")
	local weapon = replicated.Weapons:FindFirstChild(char.Value):FindFirstChildOfClass("Tool")
	hum:EquipTool(weapon)
end

WEr.OnServerEvent:Connect(weaponEquip)
1 Like

Does the tool have a “Handle” under it?

yes it does, the tool works normally when its in starterpack

I found out the solution, I had to first parent the tool to the player