From 254de6e395e1a1559793248207e6a2ff7b087798 Mon Sep 17 00:00:00 2001 From: Ben de Roo Date: Fri, 6 Mar 2026 11:05:59 +0100 Subject: [PATCH] Add script.lua --- script.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 script.lua diff --git a/script.lua b/script.lua new file mode 100644 index 0000000..70d0723 --- /dev/null +++ b/script.lua @@ -0,0 +1,8 @@ +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 = "Hi!", --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 +}) \ No newline at end of file