Advertisement
scriptingboi1

How to make a TextGuiFuction

Feb 4th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. Hey guys! Today im going to show you how to "Script" on Roblox. Today your learning how to make a "Text Gui Function"
  2. Before you start, You need to make sure that you type this text EXACTLY how i typed it here or the script will not work. And if you do not know were to go to do the scripts, then here is the game link : https://web.roblox.com/games/843468296/Void-Script-Builder-Place-1
  3.  
  4.  
  5. *Note: if this does not work then im sorry
  6.  
  7.  
  8. Type this: wait(2)
  9. local Player = game:GetService("Players").slowxxlittleplayerxx <----- your Roblox username here
  10. bbg = Instance.new("BillboardGui",h)
  11. bbg.Size = UDim2.new(0,200,0,50)
  12. bbg.StudsOffset = Vector3.new(0,2,0)
  13. bbgTl = Instance.new("TextLabel",bbg)
  14. bbgTl.BackgroundTransparency = 1
  15. bbgTl.Size = UDim2.new(10,0,1,0)
  16. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  17. bbgTl.Font = "Cartoon"
  18. bbgTl.Text = " "
  19. bbgTl.TextSize = 30
  20. bbgTl.TextStrokeColor3 = Color3.fromRGB(255,160)
  21. bbgTl.TextColor3 = Color3.fromRGB(255,255,255)
  22. bbgTl.TextStrokeTransparency = 0
  23. bbgTl.TextWrapped = true
  24. plr.Chatted:connect(function(msg)
  25. bbgTl.Text = msg
  26. wait(5)
  27. if bbgTl.Text == msg then
  28. bbgTl.Text = " "
  29. end
  30. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement