Advertisement
PiggyGaming2020

chat art gui

Oct 3rd, 2022
1,555
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.89 KB | None | 0 0
  1. local letters = {
  2.     ["a"] = {
  3.         "⬛⬛⬛⬛⬛",
  4.         "⬛🔴🔴🔴⬛",
  5.         "⬛🔴⬛🔴⬛",
  6.         "⬛🔴🔴🔴⬛",
  7.         "⬛🔴⬛🔴⬛",
  8.         "⬛🔴⬛🔴⬛",
  9.         "⬛⬛⬛⬛⬛",
  10.     },
  11.     ["b"] = {
  12.         "⬛⬛⬛⬛⬛",
  13.         "⬛🔴🔴🔴⬛",
  14.         "⬛🔴⬛🔴⬛",
  15.         "⬛🔴🔴⬛⬛",
  16.         "⬛🔴⬛🔴⬛",
  17.         "⬛🔴🔴🔴⬛",
  18.         "⬛⬛⬛⬛⬛",
  19.     },
  20.     ["c"] = {
  21.         "⬛⬛⬛⬛⬛",
  22.         "⬛🔴🔴🔴⬛",
  23.         "⬛🔴⬛⬛⬛",
  24.         "⬛🔴⬛⬛⬛",
  25.         "⬛🔴⬛⬛⬛",
  26.         "⬛🔴🔴🔴⬛",
  27.         "⬛⬛⬛⬛⬛",
  28.     },
  29.     ["d"] = {
  30.         "⬛⬛⬛⬛⬛",
  31.         "⬛🔴🔴⬛⬛",
  32.         "⬛🔴⬛🔴⬛",
  33.         "⬛🔴⬛🔴⬛",
  34.         "⬛🔴⬛🔴⬛",
  35.         "⬛🔴🔴⬛⬛",
  36.         "⬛⬛⬛⬛⬛",
  37.     },
  38.     ["e"] = {
  39.         "⬛⬛⬛⬛⬛",
  40.         "⬛🔴🔴🔴⬛",
  41.         "⬛🔴⬛⬛⬛",
  42.         "⬛🔴🔴🔴⬛",
  43.         "⬛🔴⬛⬛⬛",
  44.         "⬛🔴🔴🔴⬛",
  45.         "⬛⬛⬛⬛⬛",
  46.     },
  47.     ["f"] = {
  48.         "⬛⬛⬛⬛⬛",
  49.         "⬛🔴🔴🔴⬛",
  50.         "⬛🔴⬛⬛⬛",
  51.         "⬛🔴🔴🔴⬛",
  52.         "⬛🔴⬛⬛⬛",
  53.         "⬛🔴⬛⬛⬛",
  54.         "⬛⬛⬛⬛⬛",
  55.     },
  56.     ["g"] = {
  57.         "⬛⬛⬛⬛⬛",
  58.         "⬛🔴🔴🔴⬛",
  59.         "⬛🔴⬛⬛⬛",
  60.         "⬛🔴⬛🔴⬛",
  61.         "⬛🔴⬛🔴⬛",
  62.         "⬛🔴🔴🔴⬛",
  63.         "⬛⬛⬛⬛⬛",
  64.     },
  65.     ["h"] = {
  66.         "⬛⬛⬛⬛⬛",
  67.         "⬛🔴⬛🔴⬛",
  68.         "⬛🔴⬛🔴⬛",
  69.         "⬛🔴🔴🔴⬛",
  70.         "⬛🔴⬛🔴⬛",
  71.         "⬛🔴⬛🔴⬛",
  72.         "⬛⬛⬛⬛⬛",
  73.     },
  74.     ["i"] = {
  75.         "⬛⬛⬛⬛⬛",
  76.         "⬛🔴🔴🔴⬛",
  77.         "⬛⬛🔴⬛⬛",
  78.         "⬛⬛🔴⬛⬛",
  79.         "⬛⬛🔴⬛⬛",
  80.         "⬛🔴🔴🔴⬛",
  81.         "⬛⬛⬛⬛⬛",
  82.     },
  83.     ["j"] = {
  84.         "⬛⬛⬛⬛⬛",
  85.         "⬛🔴🔴🔴⬛",
  86.         "⬛⬛⬛🔴⬛",
  87.         "⬛⬛⬛🔴⬛",
  88.         "⬛⬛⬛🔴⬛",
  89.         "⬛🔴🔴⬛⬛",
  90.         "⬛⬛⬛⬛⬛",
  91.     },
  92.     ["k"] = {
  93.         "⬛⬛⬛⬛⬛",
  94.         "⬛🔴⬛🔴⬛",
  95.         "⬛🔴⬛🔴⬛",
  96.         "⬛🔴🔴⬛⬛",
  97.         "⬛🔴⬛🔴⬛",
  98.         "⬛🔴⬛🔴⬛",
  99.         "⬛⬛⬛⬛⬛",
  100.     },
  101.     ["l"] = {
  102.         "⬛⬛⬛⬛⬛",
  103.         "⬛🔴⬛⬛⬛",
  104.         "⬛🔴⬛⬛⬛",
  105.         "⬛🔴⬛⬛⬛",
  106.         "⬛🔴⬛⬛⬛",
  107.         "⬛🔴🔴🔴⬛",
  108.         "⬛⬛⬛⬛⬛",
  109.     },
  110.     ["m"] = {
  111.         "⬛⬛⬛⬛⬛",
  112.         "🔴⬛⬛⬛🔴",
  113.         "🔴🔴⬛🔴🔴",
  114.         "🔴⬛🔴⬛🔴",
  115.         "🔴⬛⬛⬛🔴",
  116.         "🔴⬛⬛⬛🔴",
  117.         "⬛⬛⬛⬛⬛",
  118.     },
  119.     ["n"] = {
  120.         "⬛⬛⬛⬛⬛",
  121.         "⬛🔴🔴🔴⬛",
  122.         "⬛🔴⬛🔴⬛",
  123.         "⬛🔴⬛🔴⬛",
  124.         "⬛🔴⬛🔴⬛",
  125.         "⬛🔴⬛🔴⬛",
  126.         "⬛⬛⬛⬛⬛",
  127.     },
  128.     ["o"] = {
  129.         "⬛⬛⬛⬛⬛",
  130.         "⬛🔴🔴🔴⬛",
  131.         "⬛🔴⬛🔴⬛",
  132.         "⬛🔴⬛🔴⬛",
  133.         "⬛🔴⬛🔴⬛",
  134.         "⬛🔴🔴🔴⬛",
  135.         "⬛⬛⬛⬛⬛",
  136.     },
  137.     ["p"] = {
  138.         "⬛⬛⬛⬛⬛",
  139.         "⬛🔴🔴🔴⬛",
  140.         "⬛🔴⬛🔴⬛",
  141.         "⬛🔴🔴🔴⬛",
  142.         "⬛🔴⬛⬛⬛",
  143.         "⬛🔴⬛⬛⬛",
  144.         "⬛⬛⬛⬛⬛",
  145.     },
  146.     ["q"] = {
  147.         "⬛⬛⬛⬛⬛",
  148.         "⬛🔴🔴🔴⬛",
  149.         "⬛🔴⬛🔴⬛",
  150.         "⬛🔴⬛🔴⬛",
  151.         "⬛🔴🔴🔴⬛",
  152.         "⬛⬛⬛🔴⬛",
  153.         "⬛⬛⬛⬛⬛",
  154.     },
  155.     ["r"] = {
  156.         "⬛⬛⬛⬛⬛",
  157.         "⬛🔴🔴🔴⬛",
  158.         "⬛🔴⬛🔴⬛",
  159.         "⬛🔴🔴🔴⬛",
  160.         "⬛🔴🔴⬛⬛",
  161.         "⬛🔴⬛🔴⬛",
  162.         "⬛⬛⬛⬛⬛",
  163.     },
  164.     ["s"] = {
  165.         "⬛⬛⬛⬛⬛",
  166.         "⬛🔴🔴🔴⬛",
  167.         "⬛🔴⬛⬛⬛",
  168.         "⬛⬛🔴⬛⬛",
  169.         "⬛⬛⬛🔴⬛",
  170.         "⬛🔴🔴🔴⬛",
  171.         "⬛⬛⬛⬛⬛",
  172.     },
  173.     ["t"] = {
  174.         "⬛⬛⬛⬛⬛",
  175.         "⬛🔴🔴🔴⬛",
  176.         "⬛⬛🔴⬛⬛",
  177.         "⬛⬛🔴⬛⬛",
  178.         "⬛⬛🔴⬛⬛",
  179.         "⬛⬛🔴⬛⬛",
  180.         "⬛⬛⬛⬛⬛",
  181.     },
  182.     ["u"] = {
  183.         "⬛⬛⬛⬛⬛",
  184.         "⬛🔴⬛🔴⬛",
  185.         "⬛🔴⬛🔴⬛",
  186.         "⬛🔴⬛🔴⬛",
  187.         "⬛🔴⬛🔴⬛",
  188.         "⬛🔴🔴🔴⬛",
  189.         "⬛⬛⬛⬛⬛",
  190.     },
  191.     ["v"] = {
  192.         "⬛⬛⬛⬛⬛",
  193.         "⬛🔴⬛🔴⬛",
  194.         "⬛🔴⬛🔴⬛",
  195.         "⬛🔴⬛🔴⬛",
  196.         "⬛🔴⬛🔴⬛",
  197.         "⬛⬛🔴⬛⬛",
  198.         "⬛⬛⬛⬛⬛",
  199.     },
  200.     ["w"] = {
  201.         "⬛⬛⬛⬛⬛",
  202.         "⬛🔴⬛🔴⬛",
  203.         "⬛🔴⬛🔴⬛",
  204.         "⬛🔴🔴🔴⬛",
  205.         "⬛🔴⬛🔴⬛",
  206.         "⬛⬛⬛⬛⬛",
  207.         "⬛⬛⬛⬛⬛",
  208.     },
  209.     ["x"] = {
  210.         "⬛⬛⬛⬛⬛",
  211.         "⬛🔴⬛🔴⬛",
  212.         "⬛🔴⬛🔴⬛",
  213.         "⬛⬛🔴⬛⬛",
  214.         "⬛🔴⬛🔴⬛",
  215.         "⬛🔴⬛🔴⬛",
  216.         "⬛⬛⬛⬛⬛",
  217.     },
  218.     ["y"] = {
  219.         "⬛⬛⬛⬛⬛",
  220.         "⬛🔴⬛🔴⬛",
  221.         "⬛🔴⬛🔴⬛",
  222.         "⬛⬛🔴⬛⬛",
  223.         "⬛⬛🔴⬛⬛",
  224.         "⬛⬛🔴⬛⬛",
  225.         "⬛⬛⬛⬛⬛",
  226.     },
  227.     ["z"] = {
  228.         "⬛⬛⬛⬛⬛",
  229.         "⬛🔴🔴🔴⬛",
  230.         "⬛⬛⬛🔴⬛",
  231.         "⬛⬛🔴⬛⬛",
  232.         "⬛🔴⬛⬛⬛",
  233.         "⬛🔴🔴🔴⬛",
  234.         "⬛⬛⬛⬛⬛",
  235.     },
  236.     [" "] = {
  237.         "⬛⬛⬛⬛⬛",
  238.         "⬛⬛⬛⬛⬛",
  239.         "⬛⬛⬛⬛⬛",
  240.         "⬛⬛⬛⬛⬛",
  241.         "⬛⬛⬛⬛⬛",
  242.         "⬛⬛⬛⬛⬛",
  243.         "⬛⬛⬛⬛⬛",
  244.     }
  245. }
  246.  
  247. -- Instances:
  248.  
  249. local ScreenGui = Instance.new("ScreenGui")
  250. local Frame = Instance.new("Frame")
  251. local text = Instance.new("TextBox")
  252. local UICorner = Instance.new("UICorner")
  253. local chatbtn = Instance.new("TextButton")
  254. local UICorner_2 = Instance.new("UICorner")
  255. local header = Instance.new("TextLabel")
  256. local ImageButton = Instance.new("ImageButton")
  257.  
  258. --Properties:
  259.  
  260. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  261. ScreenGui.Enabled = true
  262. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  263.  
  264. Frame.Parent = ScreenGui
  265. Frame.BackgroundColor3 = Color3.fromRGB(170, 255, 255)
  266. Frame.BorderSizePixel = 0
  267. Frame.Position = UDim2.new(0.0543859638, 0, 0.673735678, 0)
  268. Frame.Size = UDim2.new(0, 313, 0, 178)
  269.  
  270. text.Name = "text"
  271. text.Parent = Frame
  272. text.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  273. text.BorderSizePixel = 0
  274. text.Position = UDim2.new(0.162026405, 0, 0.279887438, 0)
  275. text.Size = UDim2.new(0, 210, 0, 59)
  276. text.Font = Enum.Font.SourceSans
  277. text.Text = ""
  278. text.TextColor3 = Color3.fromRGB(0, 0, 0)
  279. text.TextScaled = true
  280. text.TextSize = 14.000
  281. text.TextWrapped = true
  282.  
  283. UICorner.Parent = text
  284.  
  285. chatbtn.Name = "chatbtn"
  286. chatbtn.Parent = Frame
  287. chatbtn.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
  288. chatbtn.BorderSizePixel = 0
  289. chatbtn.Position = UDim2.new(0.233974352, 0, 0.735042274, 0)
  290. chatbtn.Size = UDim2.new(0, 165, 0, 30)
  291. chatbtn.Font = Enum.Font.SourceSans
  292. chatbtn.Text = "Chat"
  293. chatbtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  294. chatbtn.TextScaled = true
  295. chatbtn.TextSize = 14.000
  296. chatbtn.TextWrapped = true
  297.  
  298. UICorner_2.Parent = chatbtn
  299.  
  300. header.Name = "header"
  301. header.Parent = Frame
  302. header.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  303. header.BorderSizePixel = 0
  304. header.Size = UDim2.new(0, 313, 0, 30)
  305. header.Font = Enum.Font.SourceSans
  306. header.Text = "Chat Art"
  307. header.TextColor3 = Color3.fromRGB(0, 0, 0)
  308. header.TextScaled = true
  309. header.TextSize = 14.000
  310. header.TextWrapped = true
  311.  
  312. ImageButton.Parent = header
  313. ImageButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  314. ImageButton.BackgroundTransparency = 1.000
  315. ImageButton.Size = UDim2.new(0, 30, 0, 30)
  316. ImageButton.Image = "http://www.roblox.com/asset/?id=5198838744"
  317.  
  318.  
  319.  
  320.  
  321. Frame.Selectable = true
  322. Frame.Active = true
  323. Frame.Draggable = true
  324.  
  325. Frame.chatbtn.MouseButton1Click:Connect(function()
  326.    
  327.     local message = Frame.text.Text
  328.     local final = {"","","","","","",""}
  329.     for i = 1, #message do
  330.         local l = message:sub(i,i)
  331.         for x, line in pairs(letters[string.lower(l)]) do
  332.             final[x] = final[x] .. line
  333.         end
  334.     end
  335.     for _, v in pairs(final) do
  336.         game:GetService("ReplicatedStorage")["DefaultChatSystemChatEvents"].SayMessageRequest:FireServer(v, "All")
  337.     end
  338.    
  339. end)
  340.  
  341. Frame.header.ImageButton.MouseButton1Click:Connect(function()
  342.     Frame.Parent:Destroy()
  343. end)
  344.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement