Advertisement
pitrioptixiop

Roblox | A button that turns everything into bad words

Aug 10th, 2018
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.27 KB | None | 0 0
  1. wait(2)
  2. texts = {}
  3. images = {}
  4. plrname = "retrojooooono" -- change
  5. plr = game:GetService("Players"):FindFirstChild(plrname)
  6. gui = Instance.new("ScreenGui",plr.PlayerGui)
  7. gui.Name = "CoreGui0"
  8. tb = Instance.new("TextButton",gui)
  9. tb.Position = UDim2.new(0.081,0,0.127,0)
  10. tb.Size = UDim2.new(0,102,0,83)
  11. tb.Text = "corrupt gui"
  12. tb.TextScaled = true
  13. function get(part)
  14. gc = part:GetChildren()
  15. for b=1, #gc do
  16. if gc[b].ClassName == "ImageLabel" or gc[b].ClassName == "ImageButton" then
  17. gc[b].Image = "rbxasset://textures/face.png"
  18. table.insert(images,1,gc[b])
  19. end
  20. if gc[b].ClassName == "TextButton" or gc[b].ClassName == "TextLabel" or gc[b].ClassName == "TextBox" then
  21. gc[b].Text = "gay"
  22. table.insert(texts,1,gc[b])
  23. end
  24. end
  25. end
  26. tb.MouseButton1Click:connect(function()
  27.     gps = game:GetService("Players"):GetPlayers()
  28.     for i=1, #gps do
  29.         if gps[i]:FindFirstChildOfClass("PlayerGui") then
  30.             gg = gps[i]:GetChildren()
  31.             for a=1, #gg do
  32.                 gg2 = gg[a]:GetChildren()
  33.                 for c=1, #gg2 do
  34.                     get(gg2[c])
  35.                     gg3 = gg2[c]:GetChildren()
  36.                     for d=1, #gg3 do
  37.                         get(gg3[d])
  38.                         gg4 = gg3[d]:GetChildren()
  39.                         for e=1, #gg4 do
  40.                             get(gg4[e])
  41.                             gg5 = gg4[e]:GetChildren()
  42.                             for f=1, #gg5 do
  43.                                 get(gg5[f])
  44.                                 gg6 = gg5[f]:GetChildren()
  45.                                 for g=1, #gg6 do
  46.                                     get(gg6[g])
  47.                                     gg7 = gg6[g]:GetChildren()
  48.                                     for h=1, #gg7 do
  49.                                         get(gg7[h])
  50.                                         gg8 = gg7[h]:GetChildren()
  51.                                         for j=1, #gg8 do
  52.                                             get(gg8[j])
  53.                                             gg9 = gg8[j]:GetChildren()
  54.                                             for k=1, #gg9 do
  55.                                                 get(gg9[k])
  56.                                                 gg10 = gg9[k]:GetChildren()
  57.                                                 for l=1, #gg10 do
  58.                                                     get(gg10[l])
  59.                                                     gg11 = gg10[l]:GetChildren()
  60.                                                     for m=1, #gg11 do
  61.                                                         get(gg11[m])
  62.                                                     end
  63.                                                 end
  64.                                             end
  65.                                         end
  66.                                     end
  67.                                 end
  68.                             end
  69.                         end
  70.                     end
  71.                 end
  72.                 get(gg[a])
  73.             end
  74.         end
  75.     end
  76.     gps = game.CoreGui:GetChildren()
  77.     for i=1, #gps do
  78.         if gps[i]:FindFirstChildOfClass("PlayerGui") then
  79.             gg = gps[i]:GetChildren()
  80.             for a=1, #gg do
  81.                 gg2 = gg[a]:GetChildren()
  82.                 for c=1, #gg2 do
  83.                     get(gg2[c])
  84.                     gg3 = gg2[c]:GetChildren()
  85.                     for d=1, #gg3 do
  86.                         get(gg3[d])
  87.                         gg4 = gg3[d]:GetChildren()
  88.                         for e=1, #gg4 do
  89.                             get(gg4[e])
  90.                             gg5 = gg4[e]:GetChildren()
  91.                             for f=1, #gg5 do
  92.                                 get(gg5[f])
  93.                                 gg6 = gg5[f]:GetChildren()
  94.                                 for g=1, #gg6 do
  95.                                     get(gg6[g])
  96.                                     gg7 = gg6[g]:GetChildren()
  97.                                     for h=1, #gg7 do
  98.                                         get(gg7[h])
  99.                                         gg8 = gg7[h]:GetChildren()
  100.                                         for j=1, #gg8 do
  101.                                             get(gg8[j])
  102.                                             gg9 = gg8[j]:GetChildren()
  103.                                             for k=1, #gg9 do
  104.                                                 get(gg9[k])
  105.                                                 gg10 = gg9[k]:GetChildren()
  106.                                                 for l=1, #gg10 do
  107.                                                     get(gg10[l])
  108.                                                     gg11 = gg10[l]:GetChildren()
  109.                                                     for m=1, #gg11 do
  110.                                                         get(gg11[m])
  111.                                                     end
  112.                                                 end
  113.                                             end
  114.                                         end
  115.                                     end
  116.                                 end
  117.                             end
  118.                         end
  119.                     end
  120.                 end
  121.                 get(gg[a])
  122.             end
  123.         end
  124.     end
  125.     end)
  126. while true do
  127. wait(0.01)
  128. for z=1, #texts do
  129. texts[z].Text = "gay"
  130. end
  131. for x=1, #images do
  132. images[x].Image = "rbxasset://textures/face.png"
  133. end
  134. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement