RealGoodDan

Generation

generate functionFri, 21 Jul 2023

Create a code in lua for roblox so when i press a button it deletes everything in the workspace

while true do for _,v in pairs(workspace:GetDescendants()) do if v:IsA("BasePart") then v:Destroy() end end end

Want to kickstart your project?Use the new AI Studio to create your code