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)