I have a bit of an issue with the :EquipTool function while trying to equip a tool. It has a handle, the backpack is disabled and the script is a normal one. I get no errors, code below! Please help.
local ServerStorage = game:GetService("ServerStorage")
game.Players.PlayerAdded:Connect(function(player)
local t = ServerStorage:FindFirstChild("Petition"):Clone()
local char = player.Character or player.CharacterAdded:Wait()
local hum = char:FindFirstChildOfClass("Humanoid")
hum:EquipTool(t)
end)
local ServerStorage = game:GetService("ServerStorage")
game.Players.PlayerAdded:Connect(function(player)
local char = player.Character or player.CharacterAdded:Wait()
local t = ServerStorage:FindFirstChild("Petition"):Clone()
t.Parent = player:WaitForChild("Backpack")
local hum = char:FindFirstChildOfClass("Humanoid")
hum:EquipTool(t)
end)