Advertisement
gabiplayz

Untitled

Feb 16th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1.  
  2. name = "YO GRANMA TITS!"
  3. realname = "errorerror1234"
  4. local brickcolorOne = BrickColor.new("White")
  5. local colorOne = brickcolorOne.Color
  6.  
  7. local brickcolorTwo = BrickColor.new("Really black")
  8. local colorTwo = brickcolorTwo.Color
  9.  
  10. local main = Instance.new("BillboardGui")
  11. main.Parent = game.Workspace[realname].Head
  12. main.Adornee = game.Workspace[realname].Head
  13. main.StudsOffset = Vector3.new(1.1,2.5,1)
  14. main.Size = UDim2.new(2,0,1,0)
  15.  
  16. local textlabel = Instance.new("TextLabel")
  17. textlabel.Text = name
  18. textlabel.FontSize = "Size24"
  19. textlabel.Font = "ArialBold"
  20. textlabel.TextColor3 = colorOne
  21. textlabel.TextStrokeColor3 = colorTwo
  22. textlabel.TextStrokeTransparency = 0
  23. textlabel.Parent = main
  24.  
  25. local maingui = Instance.new("ScreenGui")
  26. maingui.Name = "HideBanner"
  27. maingui.Parent = game.Players[realname].PlayerGui
  28.  
  29. local textbutton = Instance.new("TextButton")
  30. textbutton.Text = "Hide Banner"
  31. textbutton.Position = UDim2.new(0, 400, 0, 0)
  32. textbutton.Size = UDim2.new(0, 300, 0, 50)
  33. textbutton.Parent = maingui
  34.  
  35. local textbutton2 = Instance.new("TextButton")
  36. textbutton2.Text = "Show Banner"
  37. textbutton2.Position = UDim2.new(0, 1200, 0, 0)
  38. textbutton2.Size = UDim2.new(0, 300, 0, 50)
  39. textbutton2.Parent = maingui
  40.  
  41. function onClicked()
  42.  
  43. game.Workspace[realname].Head.BillboardGui.TextLabel.Visible = false
  44.  
  45. end
  46.  
  47. textbutton.MouseButton1Down:connect(onClicked)
  48.  
  49. function onClickedShow()
  50.  
  51. game.Workspace[realname].Head.BillboardGui.TextLabel.Visible = true
  52.  
  53. end
  54.  
  55. textbutton2.MouseButton1Down:connect(onClickedShow)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement