SHOW:
|
|
- or go back to the newest paste.
| 1 | --[[ [!!] Hello, user! This script is the chat sans script, re-made by TheFlamingBlaster | |
| 2 | 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, | |
| 3 | that'd be copying, which is a bannable offence at voidacity's script builder! You wouldn't want to get banned there, would | |
| 4 | you? If you'd like to add credit to your script, please place it below this message, thanks! TheFlamingBlaster, 2016 --]] | |
| 5 | - | yourname = "TheFlamingBlaster" |
| 5 | + | yourname = "myles0626" |
| 6 | local player = game.Players[botc16] | |
| 7 | player.Chatted:connect(function(msg) | |
| 8 | for index, child in pairs(player.Character.Head:GetChildren()) do | |
| 9 | if child:IsA("BillboardGui") then
| |
| 10 | child:Destroy() | |
| 11 | end | |
| 12 | end | |
| 13 | local newThread = coroutine.create(function() | |
| 14 | local wards = {}
| |
| 15 | local i = 1 | |
| 16 | for w in string.gmatch(msg, ".") do | |
| 17 | table.insert(wards,i,w) | |
| 18 | i = i + 1 | |
| 19 | end | |
| 20 | local bill = Instance.new("BillboardGui",player.Character.Head)
| |
| 21 | bill.Size = UDim2.new(0, 500,0, 100) | |
| 22 | bill.StudsOffset = Vector3.new(0,6,0) | |
| 23 | local txt = Instance.new("TextLabel",bill)
| |
| 24 | 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 | |
| 25 | txt.Size = UDim2.new(0, 400,0, 100) txt.Position = UDim2.new(0,100,0,0) | |
| 26 | 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
| |
| 27 | for index, child in pairs(wards) do | |
| 28 | txt.Text = (txt.Text..child) | |
| 29 | txt.BackgroundColor3 = Color3.new(255/255, 190/255, 37/255) | |
| 30 | img.BackgroundColor3 = Color3.new(255/255, 190/255, 37/255) | |
| 31 | local snd = Instance.new("Sound",player.Character.Head) snd.SoundId = "rbxassetid://358280695" snd.Volume = 1 snd:Play()
| |
| 32 | wait(0.0015) | |
| 33 | end | |
| 34 | txt.BackgroundColor3 = Color3.new(0,0,0) | |
| 35 | img.BackgroundColor3 = Color3.new(0,0,0) | |
| 36 | end) | |
| 37 | coroutine.resume(newThread) | |
| 38 | ||
| 39 | end) | |
| 40 | local scr = Instance.new("ScreenGui",player.PlayerGui)
| |
| 41 | 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
| |
| 42 | 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
| |
| 43 | for index, child in pairs(player.Character.Head:GetChildren()) do | |
| 44 | if child:IsA("BillboardGui") then
| |
| 45 | child:Destroy() | |
| 46 | end | |
| 47 | end | |
| 48 | local newThread = coroutine.create(function() | |
| 49 | local wards = {}
| |
| 50 | local i = 1 | |
| 51 | for w in string.gmatch(msg, ".") do | |
| 52 | table.insert(wards,i,w) | |
| 53 | i = i + 1 | |
| 54 | end | |
| 55 | local bill = Instance.new("BillboardGui",player.Character.Head)
| |
| 56 | bill.Size = UDim2.new(0, 500,0, 100) | |
| 57 | bill.StudsOffset = Vector3.new(0,6,0) | |
| 58 | local txt = Instance.new("TextLabel",bill)
| |
| 59 | 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 | |
| 60 | txt.Size = UDim2.new(0, 400,0, 100) txt.Position = UDim2.new(0,100,0,0) | |
| 61 | 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
| |
| 62 | for index, child in pairs(wards) do | |
| 63 | txt.Text = (txt.Text..child) | |
| 64 | txt.BackgroundColor3 = Color3.new(255/255, 190/255, 37/255) | |
| 65 | img.BackgroundColor3 = Color3.new(255/255, 190/255, 37/255) | |
| 66 | local snd = Instance.new("Sound",player.Character.Head) snd.SoundId = "rbxassetid://358280695" snd.Volume = 1 snd:Play()
| |
| 67 | wait(0.0015) | |
| 68 | end | |
| 69 | img.BackgroundColor3 = Color3.new(0,0,0) | |
| 70 | txt.BackgroundColor3 = Color3.new(0,0,0) | |
| 71 | end) | |
| 72 | coroutine.resume(newThread) | |
| 73 | end) |