DrawingJhon

GUI

Aug 31st, 2020 (edited)
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. local gui = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  2. gui.Enabled = true
  3. gui.Size = UDim2.new(40, 35, 2, 35)
  4. gui.StudsOffset = Vector3.new(0, 2, 0)
  5. local tb = Instance.new("TextLabel", gui)
  6. tb.Active = false
  7. tb.BackgroundTransparency = 1
  8. tb.Font = "Cartoon"
  9. tb.FontSize = "Size32"
  10. tb.Position = UDim2.new(0, 0, 0.05, 0)
  11. tb.Size = UDim2.new(1, 0, 0.4, 0)
  12. tb.TextColor = BrickColor.new(255, 255, 255)
  13. tb.TextStrokeTransparency = 0
  14. tb.TextScaled = true
  15. tb.Text = "lol"
  16.  
  17. while wait() do
  18.     local ran1 = math.random(-10, 10)
  19.     local ran2 = math.random(-10, 10)
  20.     tb.Position = UDim2.new(0, ran1, 0.05, ran2)
  21.     tb.Rotation = math.random(0, 1)
  22. end
Add Comment
Please, Sign In to add comment