Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ [!!] Hello, user! This script is the chat sans script, re-made by TheFlamingBlaster
- I give you 100% permission to modify, distrubute and use this script as long as you keep this comment in-tact. If you don't,
- that'd be copying, which is a bannable offence at voidacity's script builder! You wouldn't want to get banned there, would
- you? If you'd like to add credit to your script, please place it below this message, thanks! TheFlamingBlaster, 2016 --]]
- yourname = "myles0626"
- local player = game.Players[botc16]
- player.Chatted:connect(function(msg)
- for index, child in pairs(player.Character.Head:GetChildren()) do
- if child:IsA("BillboardGui") then
- child:Destroy()
- end
- end
- local newThread = coroutine.create(function()
- local wards = {}
- local i = 1
- for w in string.gmatch(msg, ".") do
- table.insert(wards,i,w)
- i = i + 1
- end
- local bill = Instance.new("BillboardGui",player.Character.Head)
- bill.Size = UDim2.new(0, 500,0, 100)
- bill.StudsOffset = Vector3.new(0,6,0)
- local txt = Instance.new("TextLabel",bill)
- txt.Text = (player.Name..": ") txt.TextWrapped = true txt.TextScaled = true txt.Transparency = 0 txt.TextColor3 = Color3.new(1,1,1) txt.BackgroundColor3 = Color3.new(0,0,0) txt.BorderColor3 = Color3.new(1,1,1) txt.BorderSizePixel = 5
- txt.Size = UDim2.new(0, 400,0, 100) txt.Position = UDim2.new(0,100,0,0)
- local img = Instance.new("ImageLabel",bill) img.Size = UDim2.new(0,100,0,100) img.Position = UDim2.new(0,00,0,0) img.Visible = true img.Image = ("http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..yourname) img.BorderColor3 = Color3.new(255/255,255/255,255/255) img.BorderSizePixel = 5
- for index, child in pairs(wards) do
- txt.Text = (txt.Text..child)
- txt.BackgroundColor3 = Color3.new(255/255, 190/255, 37/255)
- img.BackgroundColor3 = Color3.new(255/255, 190/255, 37/255)
- local snd = Instance.new("Sound",player.Character.Head) snd.SoundId = "rbxassetid://358280695" snd.Volume = 1 snd:Play()
- wait(0.0015)
- end
- txt.BackgroundColor3 = Color3.new(0,0,0)
- img.BackgroundColor3 = Color3.new(0,0,0)
- end)
- coroutine.resume(newThread)
- end)
- local scr = Instance.new("ScreenGui",player.PlayerGui)
- local txtbox = Instance.new("TextBox",scr) txtbox.Size = UDim2.new(0, 400,0, 100) txtbox.Position = UDim2.new(0.5,0,0,0) txtbox.TextWrapped = true txtbox.TextScaled = true
- local button = Instance.new("TextButton",scr) button.Size = UDim2.new(00,200,00,100) button.Position = UDim2.new(0.5,400,0,0) button.Text = "Chat message!" button.MouseButton1Down:connect(function() msg = txtbox.Text
- for index, child in pairs(player.Character.Head:GetChildren()) do
- if child:IsA("BillboardGui") then
- child:Destroy()
- end
- end
- local newThread = coroutine.create(function()
- local wards = {}
- local i = 1
- for w in string.gmatch(msg, ".") do
- table.insert(wards,i,w)
- i = i + 1
- end
- local bill = Instance.new("BillboardGui",player.Character.Head)
- bill.Size = UDim2.new(0, 500,0, 100)
- bill.StudsOffset = Vector3.new(0,6,0)
- local txt = Instance.new("TextLabel",bill)
- txt.Text = (player.Name..": ") txt.TextWrapped = true txt.TextScaled = true txt.Transparency = 0 txt.TextColor3 = Color3.new(1,1,1) txt.BackgroundColor3 = Color3.new(0,0,0) txt.BorderColor3 = Color3.new(1,1,1) txt.BorderSizePixel = 5
- txt.Size = UDim2.new(0, 400,0, 100) txt.Position = UDim2.new(0,100,0,0)
- local img = Instance.new("ImageLabel",bill) img.Size = UDim2.new(0,100,0,100) img.Image = ("http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..yourname) img.Visible = true img.BackgroundColor3 = Color3.new(0,0,0) img.BorderColor3 = Color3.new(255/255,255/255,255/255) img.BorderSizePixel = 5
- for index, child in pairs(wards) do
- txt.Text = (txt.Text..child)
- txt.BackgroundColor3 = Color3.new(255/255, 190/255, 37/255)
- img.BackgroundColor3 = Color3.new(255/255, 190/255, 37/255)
- local snd = Instance.new("Sound",player.Character.Head) snd.SoundId = "rbxassetid://358280695" snd.Volume = 1 snd:Play()
- wait(0.0015)
- end
- img.BackgroundColor3 = Color3.new(0,0,0)
- txt.BackgroundColor3 = Color3.new(0,0,0)
- end)
- coroutine.resume(newThread)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement