Files
waste-of-space/script.lua
2026-03-06 11:10:33 +01:00

8 lines
474 B
Lua

local screen = GetPartFromPort(1, "Screen") --Gets the screen
screen:ClearElements() --clears the screen of any previous elements
screen:CreateElement("TextLabel", { -- creates an element with the given name and properties
Text = "Hello World!", --Sets the text to Hi!
TextScaled = true, -- Automatically scales the text to fit the screen
Size = UDim2.fromScale(1, 1), --Makes the size cover the whole screen
Position = UDim2.fromScale(0, 0) --sets the position
})