Skip to content

Commit

Permalink
Create Rainbow bubble chat
Browse files Browse the repository at this point in the history
  • Loading branch information
RyXeleron authored Mar 11, 2024
1 parent 4618f60 commit e92f73a
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions Rainbow bubble chat
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
for i = 255,0,-10 do
textcolour = Color3.new(255/255,0/255,i/255)
wait()
end
end
end)()

local settings = {

}

while wait() do
pcall(function()
game:GetService("Chat"):SetBubbleChatSettings({
TextColor3 = textcolour,
-- The amount of time, in seconds, to wait before a bubble fades out.
BubbleDuration = 20,
-- The amount of messages to be displayed, before old ones disappear
-- immediately when a new message comes in.
MaxBubbles = 20,

-- Styling for the bubbles. These settings will change various visual aspects.
BackgroundColor3 = Color3.fromRGB(0, 0, 0),
TextSize = 16,
Font = Enum.Font.Ubuntu, --Enum.Font.GothamSemibold
Transparency = .1,
CornerRadius = UDim.new(0, 30),
TailVisible = true,
Padding = 8, -- in pixels
MaxWidth = 500, --in pixels

-- Extra space between the head and the billboard (useful if you want to
-- leave some space for other character billboard UIs)
VerticalStudsOffset = 0,

-- Space in pixels between two bubbles
BubblesSpacing = 3,

-- The distance (from the camera) that bubbles turn into a single bubble
-- with ellipses (...) to indicate chatter.
MinimizeDistance = 250,
-- The max distance (from the camera) that bubbles are shown at
MaxDistance = 500,
})
end)
end

0 comments on commit e92f73a

Please sign in to comment.