Advertisement
C-H-4-0-S

Rainbow chat

Apr 1st, 2024 (edited)
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. --enables bubble chat also
  2.  
  3. textcolour = Color3.new(0,0,0)
  4.  
  5. game:GetService("Chat").BubbleChatEnabled = true
  6.  
  7. coroutine.wrap(function()
  8. while wait() do
  9. for i = 0,255,10 do
  10. textcolour = Color3.new(255/255,i/255,0/255)
  11. wait()
  12. end
  13. for i = 255,0,-10 do
  14. textcolour = Color3.new(i/255,255/255,0/255)
  15. wait()
  16. end
  17. for i = 0,255,10 do
  18. textcolour = Color3.new(0/255,255/255,i/255)
  19. wait()
  20. end
  21. for i = 255,0,-10 do
  22. textcolour = Color3.new(0/255,i/255,255/255)
  23. wait()
  24. end
  25. for i = 0,255,10 do
  26. textcolour = Color3.new(i/255,0/255,255/255)
  27. wait()
  28. end
  29. for i = 255,0,-10 do
  30. textcolour = Color3.new(255/255,0/255,i/255)
  31. wait()
  32. end
  33. end
  34. end)()
  35.  
  36. local settings = {
  37.  
  38. }
  39.  
  40. while wait() do
  41. pcall(function()
  42. game:GetService("Chat"):SetBubbleChatSettings({
  43. TextColor3 = textcolour,
  44. -- The amount of time, in seconds, to wait before a bubble fades out.
  45. BubbleDuration = 10,
  46. -- The amount of messages to be displayed, before old ones disappear
  47. -- immediately when a new message comes in.
  48. MaxBubbles = 20,
  49.  
  50. -- Styling for the bubbles. These settings will change various visual aspects.
  51. BackgroundColor3 = Color3.fromRGB(0, 0, 0),
  52. TextSize = 16,
  53. Font = Enum.Font.Ubuntu, --Enum.Font.GothamSemibold
  54. Transparency = .1,
  55. CornerRadius = UDim.new(0, 30),
  56. TailVisible = true,
  57. Padding = 8, -- in pixels
  58. MaxWidth = 500, --in pixels
  59.  
  60. -- Extra space between the head and the billboard (useful if you want to
  61. -- leave some space for other character billboard UIs)
  62. VerticalStudsOffset = 0,
  63.  
  64. -- Space in pixels between two bubbles
  65. BubblesSpacing = 3,
  66.  
  67. -- The distance (from the camera) that bubbles turn into a single bubble
  68. -- with ellipses (...) to indicate chatter.
  69. MinimizeDistance = 200,
  70. -- The max distance (from the camera) that bubbles are shown at
  71. MaxDistance = 400,
  72. })
  73. end)
  74. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement