RealGoodDan

Generation

generate functionFri, 21 Jul 2023

Create a code in lua for roblox that makes every gui in the game invisible after pressing the button

import lua code = """ local gui = game:GetService("CoreGui") local button = script.Parent button.MouseButton1Click:Connect(function() for i, v in pairs(gui:GetChildren()) do v.Visible = false end end) """ output = lua.execute(code) print(output)

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