Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Texts={}
- game:service'Players'.LocalPlayer.Chatted:connect(function(MESSAGE)
- for i,v in pairs(Texts) do
- v.StudsOffset=v.StudsOffset+Vector3.new(0,1,0)
- end
- local billboardgui = Instance.new("BillboardGui", workspace.TheOfficalNoob4788)
- billboardgui.Size = UDim2.new(1 + #MESSAGE*.32, 0, 1, 0)
- billboardgui.StudsOffset = Vector3.new(0, 1, 0)
- billboardgui.Adornee=game:service'Players'.LocalPlayer.Character.Head
- local textbutton = Instance.new("TextButton", billboardgui)
- textbutton.FontSize = Enum.FontSize.Size16
- textbutton.BackgroundColor3 = Color3.new(0.3, 0, 0)
- textbutton.Size = UDim2.new(1, 0, 1, 0)
- textbutton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- textbutton.BorderColor3 = Color3.new(0.470588, 0.470588, 0.470588)
- textbutton.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- textbutton.Font = Enum.Font.SourceSans
- textbutton.TextScaled=true
- textbutton.Text=MESSAGE
- game:service'Debris':AddItem(billboardgui,3)
- table.insert(Texts,billboardgui)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement