Advertisement
mawesome4ever

Hello World

Aug 25th, 2021
1,053
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. local Screen = GetPartFromPort(1, 'Screen')
  2. Screen:ClearElements()
  3. local TextLabel = Screen:CreateElement('TextLabel', {
  4.     AnchorPoint = Vector2.new(0.5, 0.5);
  5.     Position = UDim2.fromScale(0.5, 0.5);
  6.     Size = UDim2.fromScale(1, 1);
  7.     Text = 'Hello, world!';
  8.     TextSize = 20;
  9.     TextScaled = false;
  10. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement