Dfgjfj

custom bubble chat script

Feb 12th, 2025
710
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. --// Service
  2. local TextChatService = game:GetService("TextChatService")
  3. local BubbleChat = TextChatService.BubbleChatConfiguration
  4.  
  5. --// Variables
  6. local RainbowBubble = false --// Enable rainbow background or not ( true = yes, false = no)
  7. local BubbleTime = 5 --// how long the bubble last
  8. local BubbleSpacing = 6 --// BubbleSpacing idk how it works, but i added it
  9. local BubbleLimit = 3 --// bubble limit no need to explain
  10. local MaxDistances = 100 --// how far they see the bubble
  11. local Offset = Vector3.new(0,0,0) --// offset of bubble, you can edit to make it position higher or less idk i dont use it
  12. local TextColor = Color3.fromRGB(255,255,255) --// color of bubble text in rgb
  13. local BackgroundColor = Color3.fromRGB(0,0,0) --// background color of bubble
  14. local BackGroundTransparency = 0 --// transparency of background
  15. --// make sure to enable bubble if disabled xd
  16. BubbleChat.Enabled = true
  17.  
  18. --// set everything up [Dont touch useless if you know what your doing]
  19. BubbleChat.TextColor3 = TextColor
  20. BubbleChat.BackgroundColor3 = BackgroundColor
  21. BubbleChat.BackgroundTransparency = BackGroundTransparency
  22. BubbleChat.BubbleDuration = BubbleTime
  23. BubbleChat.BubblesSpacing = BubbleSpacing
  24. BubbleChat.LocalPlayerStudsOffset = Offset
  25. BubbleChat.MaxBubbles = BubbleLimit
  26. BubbleChat.MaxDistance = MaxDistances
  27.  
  28. while RainbowBubble do
  29. for i = 0,1,0.01 do
  30. BubbleChat.BackgroundColor3 = Color3.fromHSV(i,1,1)
  31. task.wait()
  32. end
  33. task.wait()
  34. end
Advertisement
Add Comment
Please, Sign In to add comment