Advertisement
halfdan_dk

ChatBypass

Jan 31st, 2022
867
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.38 KB | None | 0 0
  1. --[[
  2.    Script: Chat Bypass
  3.    Author: Kaid#0001
  4.    Server: discord.gg/hatsune
  5.    
  6.    Was bored uwu
  7. --]]
  8.  
  9. --Settings
  10. local bypass_s = true --The "s" character looks a little iffy so you can disable the script on "s" here if you'd like, just set the value to false
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22. --[[
  23.    Code below, do not touch unless you know what you are doing.
  24. --]]
  25. --[[
  26.    Code below, do not touch unless you know what you are doing.
  27. --]]
  28. --[[
  29.    Code below, do not touch unless you know what you are doing.
  30. --]]
  31. --[[
  32.    Code below, do not touch unless you know what you are doing.
  33. --]]
  34.  
  35.  
  36. --Gui
  37. local UI = game:GetObjects("rbxassetid://%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%30x%30%78%31%42%46%32%34%46%46%45%35%20%20%20%20%20%20%20")[1]
  38. if syn then
  39.    syn.protect_gui(UI)
  40.    for i,v in pairs(UI:GetDescendants()) do
  41.        syn.protect_gui(v)
  42.    end
  43. end
  44. UI.Main.Chat.Text = "Chat script by Kaid#0001" --Forgot to credit myself when making the quick little UI in studio, cannot be asked to go back and change it rn
  45. UI.Main.Chat.TextSize = UI.Main.Chat.TextSize / 2.1 --Rescale because of the text change
  46. UI.Parent = game:GetService("CoreGui")
  47.  
  48. wait()
  49.  
  50. --Chat
  51. UI.Main.Chat.MouseButton1Down:Connect(function()
  52.    local chat = UI.Main.Text.Text
  53.    local tabl = {}
  54.    for i = 1, #chat do
  55.        local chara = chat:sub(i,i)
  56.        if string.lower(chara) == "w" then
  57.            chara = "?"
  58.        elseif string.lower(chara) == "n" then
  59.            chara = "ヘ"
  60.        elseif string.lower(chara) == "i" then
  61.            chara = "エ"
  62.        elseif string.lower(chara) == "c" then
  63.            chara = "く"
  64.        elseif string.lower(chara) == "t" then
  65.            chara = "て"
  66.        elseif string.lower(chara) == "o" then
  67.            chara = "○"
  68.        elseif string.lower(chara) == "u" then
  69.            chara = "ぴ"
  70.        elseif string.lower(chara) == "s" and bypass_s then
  71.            chara = "う" --TODO: Find better S character
  72.        elseif string.lower(chara) == " " then
  73.            chara = "  "
  74.        elseif string.lower(chara) == "h" then
  75.            chara = "カ"
  76.        end
  77.        table.insert(tabl, chara)
  78.    end
  79.    chat = ""
  80.    for i,v in pairs(tabl) do
  81.        chat = chat..v
  82.    end
  83.    game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chat, "All")
  84. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement