
580 Views
565 Executions
Drop all items from inventory
Universal Script 📌 7 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
It's just that the script that throws all the items out of the inventory may not work on some games.
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local function dropAllItems()
local backpack = player:FindFirstChild("Backpack")
if backpack then
local items = backpack:GetChildren()
for _, item in pairs(items) do
if item:IsA("Tool") then
item.Parent = game.Workspace
local handle = item:FindFirstChild("Handle")
if handle and handle:IsA("BasePart") then
handle.CFrame = character.PrimaryPart.CFrame * CFrame.new(0, 0, -5)
end
end
end
end
local toolInHand = character:FindFirstChildOfClass("Tool")
if toolInHand then
toolInHand.Parent = game.Workspace
end
end
dropAllItems()
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!





