RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"there is a gui at the top of the screen and when you click it you drop the tool your holding"
-- local script inside the GUI button local button = script.Parent local player = game.Players.LocalPlayer local backpack = player:WaitForChild("Backpack") local function dropTool() local currentTool = player.Character:FindFirstChildWhichIsA("Tool") if currentTool then currentTool.Parent = workspace currentTool.Handle.CFrame = player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -5) end end button.MouseButton1Click:Connect(dropTool)