Update script.lua

This commit is contained in:
2026-03-06 11:10:33 +01:00
parent 57cc9e4df8
commit 18414d500b

View File

@@ -1,7 +1,7 @@
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!
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