Inoob8C

autogramer

Apr 3rd, 2022
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.69 KB | None | 0 0
  1. --[[
  2. ─────────▄──────────────▄────
  3. ────────▌▒█───────────▄▀▒▌───
  4. ────────▌▒▒▀▄───────▄▀▒▒▒▐───
  5. ───────▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐───
  6. ─────▄▄▀▒▒▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐───
  7. ───▄▀▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▀██▀▒▌───
  8. ──▐▒▒▒▄▄▄▒▒▒▒▒▒▒▒▒▒▒▒▒▀▄▒▒▌──
  9. ──▌▒▒▐▄█▀▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐──
  10. ─▐▒▒▒▒▒▒▒▒▒▒▒▌██▀▒▒▒▒▒▒▒▒▀▄▌─
  11. ─▌▒▀▄██▄▒▒▒▒▒▒▒▒▒▒▒░░░░▒▒▒▒▌─
  12. ─▌▀▐▄█▄█▌▄▒▀▒▒▒▒▒▒░░░░░░▒▒▒▐─
  13. ▐▒▀▐▀▐▀▒▒▄▄▒▄▒▒▒▒▒░░░░░░▒▒▒▒▌
  14. ▐▒▒▒▀▀▄▄▒▒▒▄▒▒▒▒▒▒░░░░░░▒▒▒▐─
  15. ─▌▒▒▒▒▒▒▀▀▀▒▒▒▒▒▒▒▒░░░░▒▒▒▒▌─
  16. ─▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▐──
  17. ──▀▄▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▄▒▒▒▒▌──
  18. ────▀▄▒▒▒▒▒▒▒▒▒▒▄▄▄▀▒▒▒▒▄▀───
  19. ───▐▀▒▀▄▄▄▄▄▄▀▀▀▒▒▒▒▒▄▄▀─────
  20. ──▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▀▀────────
  21.  
  22. created by shib#1337
  23. while you're here, heres a picture of my shiba inu:
  24. https://media.discordapp.net/attachments/931817753910865960/948993361648447498/unknown.png
  25. bobby was here :D
  26.  
  27. ok bye
  28. ]]
  29. shared.CustomCorrections = shared.CustomCorrections or {}
  30. --// EARKLY VARIALBES GJYUIS OMG \\--
  31.  
  32. local Corrections = {
  33. ["i"] = "I",
  34. ["im"] = "I'm",
  35. ["ive"] = "I've",
  36. ["dont"] = "don't",
  37. ["doesnt"] = "doesn't",
  38. ["cant"] = "can't",
  39. ["youre"] = "you're",
  40. ["ur"] = "your",
  41. ["u"] = "you",
  42. ["its"] = "it's",
  43. ["oh"] = "oh,",
  44. ["thnks"] = "thanks",
  45. ["thx"] = "thanks",
  46. ["git"] = "get",
  47. ["gud"] = "good",
  48. ["gramer"] = "grammar",
  49. ["grammer"] = "grammar",
  50. ["anymor"] = "anymore",
  51. ["amerika"] = "america",
  52. ["gremmer"] = "grammar",
  53.  
  54. }
  55.  
  56. for i, v in pairs(shared.CustomCorrections) do
  57. if table.find(Corrections,v) then
  58. table.remove(Corrections[i])
  59. end
  60. table.insert(Corrections,v)
  61. Corrections[i] = v
  62. end
  63. table.clear(shared.CustomCorrections)
  64.  
  65. local Questions = {
  66. "mean",
  67. "ask",
  68. "you",
  69. "care",
  70. "script",
  71. "is",
  72. "what",
  73. "it",
  74. "question",
  75. "here"
  76. }
  77.  
  78. -- "ufjhjsdg add functions or im gonna cry :((( p;ls!! ur script so ugly!!" HERE YOU GO
  79. -- what is the point of this man
  80. local function GrabFirstLetter(Text)
  81. return string.sub(Text,1,1)
  82. end
  83. local function GrabLowercased(Text)
  84. return string.sub(Text,2)
  85. end
  86. local function AddStrings(String1,String2)
  87. return tostring(String1..String2)
  88. end
  89. local function GrabLastCharacter(Text)
  90. return string.sub(Text,string.len(Text),string.len(Text))
  91. end
  92. local function ConvertWords(Table)
  93. for i, v in pairs(Table) do
  94. v = v:lower()
  95. if Corrections[v] then
  96. pcall(function()
  97. if Table[i] == Table[1] then
  98. -- Making the first letter uppercase just in case if it needs to be corrected.
  99. local Corrected = Corrections[v]
  100. local FirstLetter = GrabFirstLetter(Corrected)
  101. local Lowercased = GrabLowercased(Corrected)
  102.  
  103. Table[i] = FirstLetter:upper()..Lowercased
  104. else
  105. -- Just replace it.
  106. Table[i] = Corrections[v]
  107. end
  108. end)
  109. end
  110. end
  111. end
  112.  
  113. -- Checking just incase yk
  114. if not hookmetamethod then
  115. return game.Players.LocalPlayer:Kick("Your executor sadly does not currently support this script. :(")
  116. end
  117.  
  118.  
  119. OldNamecall = hookmetamethod(game,"__namecall",function(...)
  120. local Method = getnamecallmethod()
  121. local Arguments = {...}
  122. if Method == "FireServer" and tostring(Arguments[1]) == "SayMessageRequest" then
  123. local Text = Arguments[2]
  124.  
  125.  
  126. -- First letter converting
  127. local FirstLetter = GrabFirstLetter(Text)
  128. local Lowercased = GrabLowercased(Text)
  129. local CapitalText = AddStrings(FirstLetter:upper(),Lowercased)
  130.  
  131. -- Word correction
  132. local Table = string.split(CapitalText," ")
  133. local Corrected = ConvertWords(Table)
  134. local Final = ""
  135.  
  136. -- Adding all the words back
  137. for i, v in pairs(Table) do
  138. if Table[i] == Table[1] then
  139. Final = Final..v
  140. else
  141. Final = Final.." "..v
  142. end
  143. end
  144.  
  145. -- Adding dots n shit
  146. local LastCharacter = GrabLastCharacter(Final)
  147. if LastCharacter == "!" or LastCharacter == "." or LastCharacter == "?" then
  148. Arguments[2] = Final
  149.  
  150. else
  151. if table.find(Questions,Table[#Table]:lower()) then
  152. Arguments[2] = Final.."?"
  153. else
  154. Arguments[2] = Final.."."
  155. end
  156. end
  157. return OldNamecall(unpack(Arguments))
  158. end
  159. return OldNamecall(...)
  160. end)
  161.  
  162.  
  163. -- lil join prompt thing
  164. loadstring(game:HttpGet("https://raw.githubusercontent.com/eosuwu/boblox/main/invite.lua"))()
Advertisement
Add Comment
Please, Sign In to add comment