RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a basic gui that you can inject into a game."
-- LocalScript inside a ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer.PlayerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0.3, 0, 0.3, 0) frame.Position = UDim2.new(0.5, 0, 0.5, 0) frame.AnchorPoint = Vector2.new(0.5, 0.5) frame.BackgroundColor3 = Color3.fromRGB(50, 50, 50) frame.Parent = screenGui local textLabel = Instance.new("TextLabel") textLabel.Size = UDim2.new(1, 0, 0.5, 0) textLabel.BackgroundTransparency = 1 textLabel.Text = "Hello, welcome to the game!" textLabel.TextColor3 = Color3.fromRGB(255, 255, 255) textLabel.Font = Enum.Font.SourceSansBold textLabel.TextScaled = true textLabel.Parent = frame