-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRainbow bubble chat
46 lines (39 loc) · 1.55 KB
/
Rainbow bubble chat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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