View difference between Paste ID: RdAckkgH and 9dS2fEYf
SHOW: | | - or go back to the newest paste.
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.TheOfficalNoob4788)
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
11+
textbutton.FontSize = Enum.FontSize.Size16
12-
textbutton.BackgroundColor3 = Color3.new(1, 1, 1)
12+
textbutton.BackgroundColor3 = Color3.new(0.3, 0, 0)
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)