Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local lp = game:GetService("Players").LocalPlayer
- game:GetService("UserInputService").InputBegan:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.E then
- for i, tool in pairs(lp.Backpack:GetChildren()) do
- if tool:IsA("Tool") then
- tool.Parent = lp.Character
- tool:Activate()
- wait() -- Changed task.wait() to wait()
- tool.Parent = lp.Backpack
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement