local a=game:GetService("UserInputService")local b=game:GetService("Players")local c=b.LocalPlayer;local d=c:GetMouse()local e=c.Character or c.CharacterAdded:Wait()local f=e:WaitForChild("Humanoid")local g;local h;local function i()if d.Target and d.Target:FindFirstChildWhichIsA("ClickDetector")then local j=c:FindFirstChild("Backpack")local k={}if j then for l,m in pairs(e:GetChildren())do if m:IsA("Tool")then table.insert(k,m)m.Parent=j end end;task.spawn(function()task.wait(1)if e and e.Parent then for l,n in pairs(k)do if n.Parent==j then n.Parent=e end end end end)end;return end;for o,p in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren())do if p.ClassName=="Tool"then p.Parent=game:GetService("Players").LocalPlayer.Character end end;for o,p in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren())do if p.ClassName=="Tool"then p:Activate()end end end;g=a.InputBegan:Connect(function(q,r)if r then return end;if q.UserInputType==Enum.UserInputType.MouseButton1 then i()end end)h=a.TouchTapInWorld:Connect(function(s,r)if r then return end;i()end)f.Died:Connect(function()if g then g:Disconnect()end;if h then h:Disconnect()end;script:Destroy()end)