Advertisement
Guest User

chat script

a guest
Jan 11th, 2016
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. Texts={}
  2. game:service'Players'.LocalPlayer.Chatted:connect(function(MESSAGE)
  3. for i,v in pairs(Texts) do
  4. v.StudsOffset=v.StudsOffset+Vector3.new(0,1,0)
  5. end
  6. local billboardgui = Instance.new("BillboardGui", workspace.DarthStrantax)
  7. billboardgui.Size = UDim2.new(1 + #MESSAGE*.32, 0, 1, 0)
  8. billboardgui.StudsOffset = Vector3.new(0, 1, 0)
  9. billboardgui.Adornee=game:service'Players'.LocalPlayer.Character.Head
  10. local textbutton = Instance.new("TextButton", billboardgui)
  11. textbutton.FontSize = Enum.FontSize.Size14
  12. textbutton.BackgroundColor3 = Color3.new(1, 1, 1)
  13. textbutton.Size = UDim2.new(1, 0, 1, 0)
  14. textbutton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  15. textbutton.BorderColor3 = Color3.new(0.470588, 0.470588, 0.470588)
  16. textbutton.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  17. textbutton.Font = Enum.Font.SourceSans
  18. textbutton.TextScaled=true
  19. textbutton.Text=MESSAGE
  20. game:service'Debris':AddItem(billboardgui,3)
  21. table.insert(Texts,billboardgui)
  22. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement