Advertisement
2AreYouMental110

Infectious Smile GUI (WIP)

Jul 16th, 2022 (edited)
1,877
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 20.14 KB | None | 0 0
  1. -- infectious smile
  2. for i,v in pairs(game.Workspace.Map:GetChildren()) do
  3.     if v.Name == "AntiHack" then
  4.         v:Destroy()
  5.     end
  6. end
  7.  
  8.  
  9. getgenv().placeholder2 = false
  10. getgenv().placeholder1 = false
  11.  
  12. local selectedoption
  13. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  14. local Window = Library.CreateLib("infectious smile", "Sentinel")
  15.  
  16. local A = Window:NewTab("Map")
  17. local A1 = A:NewSection("Map")
  18. local B = Window:NewTab("Humans")
  19. local B1 = B:NewSection("Humans")
  20. local C = Window:NewTab("Smiling")
  21. local C1 = C:NewSection("Smiling")
  22.  
  23. A1:NewLabel("Smiling parts that infect stay the same color")
  24. A1:NewLabel("green = doesnt do anything")
  25. A1:NewLabel("red = doesnt do anything")
  26. A1:NewLabel("if a part has the smile effect then i didnt add it in")
  27. A1:NewLabel("smile room infects.. idk how to fix that")
  28.  
  29.  
  30. A1:NewDropdown("placeholder", "placeholder", {"placeholer", "placeholder"}, function(value1)
  31.     selectedoption = value1
  32.     print(value1)
  33. end)
  34.  
  35. A1:NewButton("get all items", "gets all the items", function()
  36.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  37.         if v.ClassName == "ClickDetector" then
  38.             v.MaxActivationDistance = math.huge
  39.             fireclickdetector(v,game.Players.LocalPlayer.Character.HumanoidRootPart)
  40.         end
  41.     end
  42. end)
  43.  
  44. A1:NewButton("kill parts dont kill", "kill parts dont kill", function()
  45.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  46.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "Abyss" then
  47.             local part = Instance.new("Part")
  48.             part.Name = "qqqp2"
  49.             part.Parent = v.Parent.Parent
  50.             part.CFrame = v.Parent.CFrame
  51.             part.Color = Color3.fromRGB(248,0,0)
  52.             part.CanCollide = true
  53.             part.Anchored = true
  54.             part.Archivable = true
  55.             part.Material = v.Parent.Material
  56.             part.Shape = v.Parent.Shape
  57.             part.Transparency = v.Parent.Transparency
  58.             part.Size = v.Parent.Size
  59.             part.Orientation = v.Parent.Orientation
  60.             v.Parent.CFrame = CFrame.new(69420,69420,69420)
  61.             v:Destroy()
  62.         end
  63.     end
  64.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  65.         if v.ClassName == "Model" and v.Parent.Name == "Saws" then
  66.             v:Destroy()
  67.         end
  68.     end
  69.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do -- 69!!
  70.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "KillPart" then
  71.             local part = Instance.new("Part")
  72.             part.Name = "qqqp2"
  73.             part.Parent = v.Parent.Parent
  74.             part.CFrame = v.Parent.CFrame
  75.             part.Color = Color3.fromRGB(248,0,0)
  76.             part.CanCollide = true
  77.             part.Anchored = true
  78.             part.Archivable = true
  79.             part.Material = v.Parent.Material
  80.             part.Shape = v.Parent.Shape
  81.             part.Transparency = v.Parent.Transparency
  82.             part.Size = v.Parent.Size
  83.             part.Orientation = v.Parent.Orientation
  84.             v.Parent.CFrame = CFrame.new(69420,69420,69420)
  85.             v:Destroy()
  86.         end
  87.     end
  88.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  89.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "Main" then
  90.             local part = Instance.new("Part")
  91.             part.Name = "qqqp2"
  92.             part.Parent = v.Parent.Parent
  93.             part.CFrame = v.Parent.CFrame
  94.             part.Color = Color3.fromRGB(248,0,0)
  95.             part.CanCollide = true
  96.             part.Anchored = true
  97.             part.Archivable = true
  98.             part.Material = v.Parent.Material
  99.             part.Shape = v.Parent.Shape
  100.             part.Transparency = v.Parent.Transparency
  101.             part.Size = v.Parent.Size
  102.             part.Orientation = v.Parent.Orientation
  103.             v.Parent:Destroy()
  104.         end
  105.     end
  106.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  107.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "BuildingPart" and v.Parent.Parent.Name == "Spinners" then
  108.             local part = Instance.new("Part")
  109.             part.Name = "qqqp2"
  110.             part.Parent = v.Parent.Parent
  111.             part.CFrame = v.Parent.CFrame
  112.             part.Color = Color3.fromRGB(v.Parent.Color)
  113.             part.CanCollide = true
  114.             part.Anchored = true
  115.             part.Archivable = true
  116.             part.Material = v.Parent.Material
  117.             part.Shape = v.Parent.Shape
  118.             part.Transparency = v.Parent.Transparency
  119.             part.Size = v.Parent.Size
  120.             part.Orientation = v.Parent.Orientation
  121.             v.Parent:Destroy()
  122.         end
  123.     end
  124.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  125.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "KillAll" then
  126.             local part = Instance.new("Part")
  127.             part.Name = "qqqp2"
  128.             part.Parent = v.Parent.Parent
  129.             part.CFrame = v.Parent.CFrame
  130.             part.Color = Color3.fromRGB(248,0,0)
  131.             part.CanCollide = true
  132.             part.Anchored = true
  133.             part.Archivable = true
  134.             part.Material = v.Parent.Material
  135.             part.Transparency = v.Parent.Transparency
  136.             part.Size = v.Parent.Size
  137.             part.Orientation = v.Parent.Orientation
  138.             v.Parent:Destroy()
  139.         end
  140.     end
  141.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  142.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "Lava" then
  143.             local part = Instance.new("Part")
  144.             part.Name = "qqqp2"
  145.             part.Parent = v.Parent.Parent
  146.             part.CFrame = v.Parent.CFrame
  147.             part.Color = Color3.fromRGB(248,0,0)
  148.             part.CanCollide = true
  149.             part.Anchored = true
  150.             part.Archivable = true
  151.             part.Material = v.Parent.Material
  152.             part.Shape = v.Parent.Shape
  153.             part.Transparency = v.Parent.Transparency
  154.             part.Size = v.Parent.Size
  155.             part.Orientation = v.Parent.Orientation
  156.             v.Parent.CFrame = CFrame.new(69420,69420,69420)
  157.             v:Destroy()
  158.         end
  159.     end
  160.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  161.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "Hitbox" then
  162.             local part = Instance.new("Part")
  163.             part.Name = "qqqp2"
  164.             part.Parent = v.Parent.Parent
  165.             part.CFrame = v.Parent.CFrame
  166.             part.Color = Color3.fromRGB(248,0,0)
  167.             part.CanCollide = false
  168.             part.Anchored = true
  169.             part.Archivable = true
  170.             part.Material = v.Parent.Material
  171.             part.Shape = v.Parent.Shape
  172.             part.Transparency = v.Parent.Transparency
  173.             part.Size = v.Parent.Size
  174.             part.Orientation = v.Parent.Orientation
  175.             v.Parent.CFrame = CFrame.new(69420,69420,69420)
  176.             v:Destroy()
  177.         end
  178.     end
  179.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  180.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "Mist" then
  181.             local part = Instance.new("Part")
  182.             part.Name = "qqqp2"
  183.             part.Parent = v.Parent.Parent
  184.             part.CFrame = v.Parent.CFrame
  185.             part.Color = Color3.fromRGB(248,0,0)
  186.             part.CanCollide = false
  187.             part.Anchored = true
  188.             part.Archivable = true
  189.             part.Material = v.Parent.Material
  190.             part.Shape = v.Parent.Shape
  191.             part.Transparency = v.Parent.Transparency
  192.             part.Size = v.Parent.Size
  193.             part.Orientation = v.Parent.Orientation
  194.             v.Parent.CFrame = CFrame.new(69420,69420,69420)
  195.             v:Destroy()
  196.         end
  197.     end
  198.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  199.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "Laser" then
  200.             local part = Instance.new("Part")
  201.             part.Name = "qqqp2"
  202.             part.Parent = v.Parent.Parent
  203.             part.CFrame = v.Parent.CFrame
  204.             part.Color = Color3.fromRGB(248,0,0)
  205.             part.CanCollide = false
  206.             part.Anchored = true
  207.             part.Archivable = true
  208.             part.Material = v.Parent.Material
  209.             part.Shape = v.Parent.Shape
  210.             part.Transparency = v.Parent.Transparency
  211.             part.Size = v.Parent.Size
  212.             part.Orientation = v.Parent.Orientation
  213.             v.Parent:Destroy()
  214.         end
  215.     end
  216.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  217.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "SewageWater" then
  218.             local part = Instance.new("Part")
  219.             part.Name = "qqqp2"
  220.             part.Parent = v.Parent.Parent
  221.             part.CFrame = v.Parent.CFrame
  222.             part.Color = Color3.fromRGB(248,0,0)
  223.             part.CanCollide = false
  224.             part.Anchored = true
  225.             part.Archivable = true
  226.             part.Material = v.Parent.Material
  227.             part.Shape = v.Parent.Shape
  228.             part.Transparency = v.Parent.Transparency
  229.             part.Size = v.Parent.Size
  230.             part.Orientation = v.Parent.Orientation
  231.             v.Parent:Destroy()
  232.         end
  233.     end
  234. end)
  235.  
  236.  
  237. A1:NewButton("disasters dont kill", "disasters dont kill", function()
  238.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  239.         if v.ClassName == "TouchTransmitter" and v.Parent.Parent.Name == "Water" then
  240.             local part = Instance.new("Part")
  241.             part.Name = "qqqp2"
  242.             part.Parent = v.Parent.Parent
  243.             part.CFrame = v.Parent.CFrame
  244.             part.Color = Color3.fromRGB(248,0,0)
  245.             part.CanCollide = false
  246.             part.Anchored = true
  247.             part.Archivable = true
  248.             part.Material = v.Parent.Material
  249.             part.Transparency = v.Parent.Transparency
  250.             part.Size = v.Parent.Size
  251.             part.Orientation = v.Parent.Orientation
  252.             v.Parent:Destroy()
  253.         end
  254.     end
  255.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  256.         if v.ClassName == "TouchTransmitter" and v.Parent.Parent.Name == "Weight" then
  257.             local part = Instance.new("Part")
  258.             part.Name = "qqqp2"
  259.             part.Parent = v.Parent.Parent
  260.             part.CFrame = v.Parent.CFrame
  261.             part.Color = Color3.fromRGB(248,0,0)
  262.             part.CanCollide = false
  263.             part.Anchored = true
  264.             part.Archivable = true
  265.             part.Material = v.Parent.Material
  266.             part.Shape = v.Parent.Shape
  267.             part.Transparency = v.Parent.Transparency
  268.             part.Size = v.Parent.Size
  269.             part.Orientation = v.Parent.Orientation
  270.             v.Parent:Destroy()
  271.         end
  272.     end
  273.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  274.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "Lava" then
  275.             local part = Instance.new("Part")
  276.             part.Name = "qqqp2"
  277.             part.Parent = v.Parent.Parent
  278.             part.CFrame = v.Parent.CFrame
  279.             part.Color = Color3.fromRGB(248,0,0)
  280.             part.CanCollide = false
  281.             part.Anchored = true
  282.             part.Archivable = true
  283.             part.Material = v.Parent.Material
  284.             part.Shape = v.Parent.Shape
  285.             part.Transparency = v.Parent.Transparency
  286.             part.Size = v.Parent.Size
  287.             v.Parent:Destroy()
  288.         end
  289.     end
  290. end)
  291. A1:NewButton("smiling parts dont infect/kill", "except for human base", function()
  292.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  293.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "Gate" then
  294.             local part = Instance.new("Part")
  295.             part.Name = "qqqp2"
  296.             part.Parent = v.Parent.Parent
  297.             part.CFrame = v.Parent.CFrame
  298.             part.Color = Color3.fromRGB(248,0,0)
  299.             part.CanCollide = false
  300.             part.Anchored = true
  301.             part.Archivable = true
  302.             part.Material = v.Parent.Material
  303.             part.Shape = v.Parent.Shape
  304.             part.Transparency = v.Parent.Transparency
  305.             part.Size = v.Parent.Size
  306.             part.Orientation = v.Parent.Orientation
  307.             v.Parent.CFrame = CFrame.new(69420,69420,69420)
  308.             v:Destroy()
  309.         end
  310.     end
  311.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  312.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "RandomPart" then
  313.             local part = Instance.new("Part")
  314.             part.Name = "qqqp2"
  315.             part.Parent = v.Parent.Parent
  316.             part.CFrame = v.Parent.CFrame
  317.             part.Color = Color3.fromRGB(248,0,0)
  318.             part.CanCollide = true
  319.             part.Anchored = true
  320.             part.Archivable = true
  321.             part.Material = v.Parent.Material
  322.             part.Shape = v.Parent.Shape
  323.             part.Transparency = v.Parent.Transparency
  324.             part.Size = v.Parent.Size
  325.             part.Orientation = v.Parent.Orientation
  326.             v.Parent.CFrame = CFrame.new(69420,69420,69420)
  327.             v:Destroy()
  328.         end
  329.     end
  330.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  331.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "AntiSmiler" then
  332.             local part = Instance.new("Part")
  333.             part.Name = "qqqp2"
  334.             part.Parent = v.Parent.Parent
  335.             part.CFrame = v.Parent.CFrame
  336.             part.Color = Color3.fromRGB(0,248,248)
  337.             part.CanCollide = false
  338.             part.Anchored = true
  339.             part.Archivable = true
  340.             part.Material = v.Parent.Material
  341.             part.Shape = v.Parent.Shape
  342.             part.Transparency = v.Parent.Transparency
  343.             part.Size = v.Parent.Size
  344.             part.Orientation = v.Parent.Orientation
  345.             v.Parent.CFrame = CFrame.new(69420,69420,69420)
  346.             v:Destroy()
  347.         end
  348.     end
  349.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  350.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "Part" and v.Parent.Parent.Parent.Name == "Headcam" then
  351.             local part = Instance.new("Part")
  352.             part.Name = "qqqp2"
  353.             part.Parent = v.Parent.Parent
  354.             part.CFrame = v.Parent.CFrame
  355.             part.Color = Color3.fromRGB(248,248,248)
  356.             part.CanCollide = false
  357.             part.Anchored = true
  358.             part.Archivable = true
  359.             part.Material = v.Parent.Material
  360.             part.Shape = v.Parent.Shape
  361.             part.Transparency = v.Parent.Transparency
  362.             part.Size = v.Parent.Size
  363.             part.Orientation = v.Parent.Orientation
  364.             v.Parent.CFrame = CFrame.new(69420,69420,69420)
  365.             v:Destroy()
  366.         end
  367.     end
  368.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  369.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "Part" then
  370.             local part = Instance.new("Part")
  371.             part.Name = "qqqp2"
  372.             part.Parent = v.Parent.Parent
  373.             part.CFrame = v.Parent.CFrame
  374.             part.Color = Color3.fromRGB(248,248,248)
  375.             part.CanCollide = false
  376.             part.Anchored = true
  377.             part.Archivable = true
  378.             part.Material = v.Parent.Material
  379.             part.Shape = v.Parent.Shape
  380.             part.Transparency = v.Parent.Transparency
  381.             part.Size = v.Parent.Size
  382.             part.Orientation = v.Parent.Orientation
  383.             v.Parent:Destroy()
  384.         end
  385.     end
  386.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  387.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "Spotlight" then
  388.             local part = Instance.new("Part")
  389.             part.Name = "qqqp2"
  390.             part.Parent = v.Parent.Parent
  391.             part.CFrame = v.Parent.CFrame
  392.             part.Color = Color3.fromRGB(248,248,248)
  393.             part.CanCollide = false
  394.             part.Anchored = true
  395.             part.Archivable = true
  396.             part.Material = v.Parent.Material
  397.             part.Shape = v.Parent.Shape
  398.             part.Transparency = v.Parent.Transparency
  399.             part.Size = v.Parent.Size
  400.             part.Orientation = v.Parent.Orientation
  401.             v.Parent:Destroy()
  402.         end
  403.     end
  404. end)
  405.  
  406. A1:NewButton("black hole doesnt suck", "d-", function()
  407.     for i,v in pairs(game.Workspace.Map.System:GetDescendants()) do
  408.         if v.ClassName == "TouchTransmitter" and v.Parent.Parent.Name == "BlackHole" then
  409.             local part = Instance.new("Part")
  410.             part.Name = "qqqp2"
  411.             part.Parent = v.Parent.Parent
  412.             part.CFrame = v.Parent.CFrame
  413.             part.Color = Color3.fromRGB(248,0,0)
  414.             part.CanCollide = false
  415.             part.Anchored = true
  416.             part.Archivable = true
  417.             part.Material = v.Parent.Material
  418.             part.Transparency = v.Parent.Transparency
  419.             part.Size = v.Parent.Size
  420.             part.Orientation = v.Parent.Orientation
  421.             v.Parent:Destroy()
  422.         end
  423.     end
  424. end)
  425.  
  426.  
  427. A1:NewButton("gate at end doesnt kill", "that one gate when you finish all the maps dont kill you", function()
  428.     for i,v in pairs(game:GetService("Workspace").Map.ConstantTerrain.KillGateSwitcher:GetDescendants()) do
  429.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "Gate" then
  430.             local part = Instance.new("Part")
  431.             part.Name = "qqqp2"
  432.             part.Parent = v.Parent.Parent
  433.             part.CFrame = v.Parent.CFrame
  434.             part.Color = Color3.fromRGB(0,248,0)
  435.             part.CanCollide = false
  436.             part.Anchored = true
  437.             part.Archivable = true
  438.             part.Material = v.Parent.Material
  439.             part.Shape = v.Parent.Shape
  440.             part.Transparency = v.Parent.Transparency
  441.             part.Size = v.Parent.Size
  442.             part.Orientation = v.Parent.Orientation
  443.             v.Parent:Destroy()
  444.         end
  445.     end
  446. end)
  447.  
  448. A1:NewButton("spears at end doesnt kill", "those spears when you finish all the maps dont kill you", function()
  449.     for i,v in pairs(game:GetService("Workspace").Map.Misc.Spearer:GetDescendants()) do
  450.         if v.ClassName == "TouchTransmitter" and v.Parent.Name == "Spearhead" then
  451.             local part = Instance.new("Part")
  452.             part.Name = "qqqp2"
  453.             part.Parent = v.Parent.Parent
  454.             part.CFrame = v.Parent.CFrame
  455.             part.Color = Color3.fromRGB(0,248,0)
  456.             part.CanCollide = false
  457.             part.Anchored = true
  458.             part.Archivable = true
  459.             part.Material = v.Parent.Material
  460.             part.Transparency = v.Parent.Transparency
  461.             part.Size = v.Parent.Size
  462.             part.Orientation = v.Parent.Orientation
  463.             v.Parent:Destroy()
  464.         end
  465.     end
  466. end)
  467.  
  468. A1:NewButton("print raided hideout codes", "prints raided hideout codes", function()
  469.     for i,v in pairs(game:GetService("Workspace").Map.System["Raided Hideout"].Safe.hiddenCodes:GetDescendants()) do
  470.         if v.ClassName == "TextLabel" and v.Parent.ClassName == "SurfaceGui" then
  471.             print(v.Text)
  472.         end
  473.     end
  474. end)
  475.  
  476.  
  477.  
  478. A1:NewToggle("auto activate button on spotlight map", "fires button on spotligjt map", function(bool)
  479.     getgenv().placeholder1 = bool
  480.     if selectedoption then
  481.         if bool then
  482.             placeholder1()
  483.         end
  484.     end
  485. end)
  486. C1:NewButton("become Smiling", "becomes Smiling", function()
  487.     local v = game:GetService("Workspace").Map.Infectors.Infector.Part.TouchInterest
  488.     local player = game.Players.LocalPlayer.Character.HumanoidRootPart
  489.     firetouchinterest(v.Parent,player,0)
  490. end)
  491.  
  492.  
  493. function placeholder2()
  494.     spawn(function()
  495.         while getgenv().placeholder2 do
  496.             firetouchinterest(game:GetService("Workspace").Map.System.SpotlightMap.ButtonSystem.Button.TouchInterest,game.Players.LocalPlayer.Character.HumanoidRootPart,0)
  497.             wait()
  498.         end
  499.     end)
  500. end
  501.  
  502. function placeholder1()
  503.     print("placeholder")
  504.     wait()
  505. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement