RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"a gui with a play and quit button"
-- local script (StarterGui) local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui", player.PlayerGui) local background = Instance.new("Frame", screenGui) background.BackgroundColor3 = Color3.fromRGB(0, 0, 0) local playButton = Instance.new("TextButton", background) playButton.Text = "Play" playButton.TextColor3 = Color3.fromRGB(255, 255, 255) playButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0) playButton.UICorner = 5 local quitButton = Instance.new("TextButton", background) quitButton.Text = "Quit" quitButton.TextColor3 = Color3.fromRGB(255, 255, 255) quitButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0) quitButton.UICorner = 5