Make me a roblox script gui make the gui black and make it look like a rectangle put a name at the top make it say Awaken v3 make that text white and put it at the top of the gui put credits at the bottom make it say credits: All credits go to Awaken

3 answers

Sure! Below is a simple example of a Roblox Lua script that creates a black GUI with the specified features. This script can be placed in a LocalScript inside StarterGui:

```lua
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local Credits = Instance.new("TextLabel")

-- Parent the GUI to the Player's PlayerGUI
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

-- Set up the Frame
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.new(0, 0, 0) -- Black
Frame.Size = UDim2.new(0.5, 0, 0.5, 0) -- Adjust size as needed
Frame.Position = UDim2.new(0.25, 0, 0.25, 0) -- Center the GUI

-- Set up the Title
Title.Parent = Frame
Title.Text = "Awaken v3"
Title.TextColor3 = Color3.new(1, 1, 1) -- White
Title.BackgroundColor3 = Color3.new(0, 0, 0) -- Black
Title.Size = UDim2.new(1, 0, 0.2, 0)
Title.Position = UDim2.new(0, 0, 0, 0)
Title.Font = Enum.Font.SourceSans
Title.TextScaled = true

-- Set up the Credits
Credits.Parent = Frame
Credits.Text = "Credits: All credits go to Awaken"
Credits.TextColor3 = Color3.new(1, 1, 1) -- White
Credits.BackgroundColor3 = Color3.new(0, 0, 0) -- Black
Credits.Size = UDim2.new(1, 0, 0.2, 0)
Credits.Position = UDim2.new(0, 0, 0.8, 0)
Credits.Font = Enum.Font.SourceSans
Credits.TextScaled = true
```

Here’s a quick breakdown of what each part of the script does:
- **Instance.new("ScreenGui")**: Creates a ScreenGui, which is a container for all GUI elements.
- **Instance.new("Frame")**: Creates a Frame, which serves as the background of the GUI.
- **Instance.new("TextLabel")**: Creates a TextLabel element for the title and credits.
- The **Parent** property is used to set the hierarchy of the elements, making sure they appear on the screen.
- **BackgroundColor3** and **TextColor3** are used to set the colors as specified (black background and white text).
- **UDim2** is used for setting the size and position, making it responsive to different screen sizes.

Copy and paste the code into a LocalScript within the StarterGui, and when you run the game, the GUI should appear as specified. Feel free to adjust the sizes and positions as needed.
Make it a rectangle put like this | not like this - and remove the lines on the gui
Certainly! Below is an updated version of the script to make the frame a vertical rectangle and to ensure that there are no visible borders or lines around the GUI elements.

```lua
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local Credits = Instance.new("TextLabel")

-- Parent the GUI to the Player's PlayerGUI
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

-- Set up the Frame
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.new(0, 0, 0) -- Black
Frame.Size = UDim2.new(0.2, 0, 0.6, 0) -- Adjust size to make it a vertical rectangle
Frame.Position = UDim2.new(0.4, 0, 0.2, 0) -- Center the GUI
Frame.BorderSizePixel = 0 -- Remove border lines

-- Set up the Title
Title.Parent = Frame
Title.Text = "Awaken v3"
Title.TextColor3 = Color3.new(1, 1, 1) -- White
Title.BackgroundColor3 = Color3.new(0, 0, 0) -- Black
Title.BackgroundTransparency = 1 -- Make the background transparent
Title.Size = UDim2.new(1, 0, 0.2, 0)
Title.Position = UDim2.new(0, 0, 0, 0)
Title.Font = Enum.Font.SourceSans
Title.TextScaled = true
Title.BorderSizePixel = 0 -- Remove border lines

-- Set up the Credits
Credits.Parent = Frame
Credits.Text = "Credits: All credits go to Awaken"
Credits.TextColor3 = Color3.new(1, 1, 1) -- White
Credits.BackgroundColor3 = Color3.new(0, 0, 0) -- Black
Credits.BackgroundTransparency = 1 -- Make the background transparent
Credits.Size = UDim2.new(1, 0, 0.2, 0)
Credits.Position = UDim2.new(0, 0, 0.8, 0)
Credits.Font = Enum.Font.SourceSans
Credits.TextScaled = true
Credits.BorderSizePixel = 0 -- Remove border lines
```

In this updated script:
- **Frame.Size** and **Frame.Position** have been adjusted to make the Frame a vertical rectangle.
- **BorderSizePixel = 0** is set for the Frame, Title, and Credits to remove any visible lines or borders.
- **BackgroundTransparency = 1** for the Title and Credits to make their backgrounds transparent, ensuring they don't add any unnecessary lines or rectangles.

This will create a GUI with a vertical rectangle frame, a title at the top, and credits at the bottom, without any unwanted borders.