Created
December 29, 2024 21:29
-
-
Save bubu07codes/8c302c71207d3ffbab4b2da5fbe2e8a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Put this in a Part (: | |
local gui = Instance.new("SurfaceGui") -- Creates a SurfaceGui | |
gui.Parent = script.Parent -- Don’t forget to set the parent! | |
gui.SizingMode = "PixelsPerStud" -- Same as Enum.SurfaceGuiSizingMode.PixelsPerStud | |
local text = Instance.new("TextLabel") -- Creates a TextLabel | |
text.Parent = gui -- Parent to the gui | |
text.Size = UDim2.fromScale(1,1) -- Gets scaled to Max (x,y) | |
text.BackgroundTransparency = 1 -- Sets background transparency to 1 (fully transparent) | |
text.Text = "Hello, I am BubuTheDev" -- What is says | |
text.TextScaled = true -- Makes the text big you can use text.TextSize |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment