SkeletalScripts

main3

Mar 18th, 2020
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 15.17 KB | None | 0 0
  1. M3main:Cheat(
  2.     "Button", -- Type
  3.     "Red Key", -- Name
  4.     function() -- Callback function
  5.         print("Teleporting To: Red Key")
  6.         for i,v in pairs(workspace:GetChildren()) do
  7.             if v.ClassName == "Folder" then
  8.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  9.                     if v:FindFirstChildOfClass("Part") then
  10.                         for i,z in pairs(v:GetChildren()) do
  11.                             if z.Color == Color3.fromRGB(255,0,0) then
  12.                                 local savedpos = hrp.CFrame
  13.                                 if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  14.                                     game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  15.                                 end
  16.                                 z.ClickDetector.MaxActivationDistance = "100"
  17.                                 parttp(z.CFrame)
  18.                                 fireclickdetector(z.ClickDetector,0)
  19.                                 wait(0.25)
  20.                                 if backpack:FindFirstChild(z) then
  21.                                     humanoid:EquipTool(backpack:FindFirstChild(z))
  22.                                 end
  23.                                 wait(0.25)
  24.                                 parttp(savedpos)
  25.                             end
  26.                         end
  27.                     end
  28.                 end
  29.             end
  30.         end
  31.      end)
  32.  
  33. M3main:Cheat(
  34.     "Button", -- Type
  35.     "Blue Key", -- Name
  36.     function() -- Callback function
  37.         print("Teleporting To: Blue Key")
  38.         for i,v in pairs(workspace:GetChildren()) do
  39.         if v.ClassName == "Folder" then
  40.             if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  41.                 if v:FindFirstChildOfClass("Part") then
  42.                     for i,z in pairs(v:GetChildren()) do
  43.                         if z.Color == Color3.fromRGB(0,255,255) then
  44.                             local savedpos = hrp.CFrame
  45.                             if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  46.                                 game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  47.                             end
  48.                             z.ClickDetector.MaxActivationDistance = "100"
  49.                             parttp(z.CFrame)
  50.                             fireclickdetector(z.ClickDetector,0)
  51.                             wait(0.25)
  52.                             if backpack:FindFirstChild(z) then
  53.                                 humanoid:EquipTool(backpack:FindFirstChild(z))
  54.                             end
  55.                             wait(0.25)
  56.                             parttp(savedpos)
  57.                         end
  58.                     end
  59.                 end
  60.             end
  61.         end
  62.     end
  63. end)
  64.    
  65. M3main:Cheat(
  66.     "Button", -- Type
  67.     "Green Key", -- Name
  68.     function() -- Callback function
  69.         print("Teleporting To: Green Key")
  70.         for i,v in pairs(workspace:GetChildren()) do
  71.             if v.ClassName == "Folder" then
  72.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  73.                     if v:FindFirstChildOfClass("Part") then
  74.                         for i,z in pairs(v:GetChildren()) do
  75.                             if z.Color == Color3.fromRGB(0,255,0) then
  76.                                 local savedpos = hrp.CFrame
  77.                                 if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  78.                                     game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  79.                                 end
  80.                                 z.ClickDetector.MaxActivationDistance = "100"
  81.                                 parttp(z.CFrame)
  82.                                 fireclickdetector(z.ClickDetector,0)
  83.                                 wait(0.25)
  84.                                 if backpack:FindFirstChild(z) then
  85.                                     humanoid:EquipTool(backpack:FindFirstChild(z))
  86.                                 end
  87.                                 wait(0.25)
  88.                                 parttp(savedpos)
  89.                             end
  90.                         end
  91.                     end
  92.                 end
  93.             end
  94.         end
  95.     end)
  96.    
  97. M3main:Cheat(
  98.     "Button", -- Type
  99.     "Purple Key", -- Name
  100.     function() -- Callback function
  101.         for i,v in pairs(workspace:GetChildren()) do
  102.             if v.ClassName == "Folder" then
  103.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  104.                     if v:FindFirstChildOfClass("Part") then
  105.                         for i,z in pairs(v:GetChildren()) do
  106.                             if z.Color == Color3.fromRGB(180,128,255) then
  107.                                 local savedpos = hrp.CFrame
  108.                                 if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  109.                                     game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  110.                                 end
  111.                                 z.ClickDetector.MaxActivationDistance = "100"
  112.                                 parttp(z.CFrame)
  113.                                 fireclickdetector(z.ClickDetector,0)
  114.                                 wait(0.25)
  115.                                 if backpack:FindFirstChild(z) then
  116.                                     humanoid:EquipTool(backpack:FindFirstChild(z))
  117.                                 end
  118.                                 wait(0.25)
  119.                                 parttp(savedpos)
  120.                             end
  121.                         end
  122.                     end
  123.                 end
  124.             end
  125.         end
  126.     end)
  127.    
  128. M3main:Cheat(
  129.     "Button", -- Type
  130.     "Bronze Key", -- Name
  131.     function() -- Callback function
  132.         for i,v in pairs(workspace:GetChildren()) do
  133.             if v.ClassName == "Folder" then
  134.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  135.                     if v:FindFirstChildOfClass("Part") then
  136.                         for i,z in pairs(v:GetChildren()) do
  137.                             if z.Color == Color3.fromRGB(213,115,61) then
  138.                                 local savedpos = hrp.CFrame
  139.                                 if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  140.                                     game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  141.                                 end
  142.                                 z.ClickDetector.MaxActivationDistance = "100"
  143.                                 parttp(z.CFrame)
  144.                                 fireclickdetector(z.ClickDetector,0)
  145.                                 wait(0.25)
  146.                                 if backpack:FindFirstChild(z) then
  147.                                     humanoid:EquipTool(backpack:FindFirstChild(z))
  148.                                 end
  149.                                 wait(0.25)
  150.                                 parttp(savedpos)
  151.                             end
  152.                         end
  153.                     end
  154.                 end
  155.             end
  156.         end
  157.     end)
  158.  
  159. M3main:Cheat(
  160.     "Button", -- Type
  161.     "Gold Key", -- Name
  162.     function() -- Callback function
  163.         for i,v in pairs(workspace:GetChildren()) do
  164.             if v.ClassName == "Folder" then
  165.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  166.                     if v:FindFirstChildOfClass("Part") then
  167.                         for i,z in pairs(v:GetChildren()) do
  168.                             if z.Color == Color3.fromRGB(239, 184, 56) then
  169.                                 local savedpos = hrp.CFrame
  170.                                 if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  171.                                     game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  172.                                 end
  173.                                 z.ClickDetector.MaxActivationDistance = "100"
  174.                                 parttp(z.CFrame)
  175.                                 fireclickdetector(z.ClickDetector,0)
  176.                                 wait(0.25)
  177.                                 if backpack:FindFirstChild(z) then
  178.                                     humanoid:EquipTool(backpack:FindFirstChild(z))
  179.                                 end
  180.                                 wait(0.25)
  181.                                 parttp(savedpos)
  182.                             end
  183.                         end
  184.                     end
  185.                 end
  186.             end
  187.         end
  188.     end)
  189.    
  190. M3main:Cheat(
  191.     "Button", -- Type
  192.     "Silver Key", -- Name
  193.     function() -- Callback function
  194.         for i,v in pairs(workspace:GetChildren()) do
  195.             if v.ClassName == "Folder" then
  196.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  197.                     if v:FindFirstChildOfClass("Part") then
  198.                         for i,z in pairs(v:GetChildren()) do
  199.                             if z.Color == Color3.fromRGB(248,248,248) then
  200.                                 if z:FindFirstChild("Mesh").Scale == Vector3.new(5,5,5) then
  201.                                     local savedpos = hrp.CFrame
  202.                                 if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  203.                                     game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  204.                                 end
  205.                                 z.ClickDetector.MaxActivationDistance = "100"
  206.                                 parttp(z.CFrame)
  207.                                 fireclickdetector(z.ClickDetector,0)
  208.                                 wait(0.25)
  209.                                 if backpack:FindFirstChild(z) then
  210.                                     humanoid:EquipTool(backpack:FindFirstChild(z))
  211.                                 end
  212.                                 wait(0.25)
  213.                                 parttp(savedpos)
  214.                                 end
  215.                             end
  216.                         end
  217.                     end
  218.                 end
  219.             end
  220.         end
  221.     end)
  222.    
  223. M3main:Cheat(
  224.     "Button", -- Type
  225.     "Ammo", -- Name
  226.     function() -- Callback function
  227.         for i,v in pairs(workspace:GetChildren()) do
  228.             if v.ClassName == "Folder" then
  229.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  230.                     if v:FindFirstChildOfClass("Part") then
  231.                         for i,z in pairs(v:GetChildren()) do
  232.                             if z.Color == Color3.fromRGB(248,248,248) then
  233.                                 if z:FindFirstChild("Mesh").Scale == Vector3.new(0.05,0.05,0.05) then
  234.                                     local savedpos = hrp.CFrame
  235.                                     if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  236.                                         game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  237.                                     end
  238.                                     z.ClickDetector.MaxActivationDistance = "100"
  239.                                     parttp(z.CFrame)
  240.                                     fireclickdetector(z.ClickDetector,0)
  241.                                     wait(0.25)
  242.                                     if backpack:FindFirstChild(z) then
  243.                                         humanoid:EquipTool(backpack:FindFirstChild(z))
  244.                                     end
  245.                                     wait(0.25)
  246.                                     parttp(savedpos)
  247.                                 end
  248.                             end
  249.                         end
  250.                     end
  251.                 end
  252.             end
  253.         end
  254.     end)
  255.    
  256. M3main:Cheat(
  257.     "Button", -- Type
  258.     "Gun", -- Name
  259.     function() -- Callback function
  260.         for i,v in pairs(workspace:GetChildren()) do
  261.             if v.ClassName == "Folder" then
  262.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  263.                     if v:FindFirstChildOfClass("Part") then
  264.                         for i,z in pairs(v:GetChildren()) do
  265.                             if z.Color == Color3.fromRGB(248,248,248) then
  266.                                 if z:FindFirstChild("Mesh").Scale == Vector3.new(1.25,1.25,1.25) then
  267.                                     local savedpos = hrp.CFrame
  268.                                     if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  269.                                         game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  270.                                     end
  271.                                     z.ClickDetector.MaxActivationDistance = "100"
  272.                                     parttp(z.CFrame)
  273.                                     fireclickdetector(z.ClickDetector,0)
  274.                                     wait(0.25)
  275.                                     if backpack:FindFirstChild(z) then
  276.                                         humanoid:EquipTool(backpack:FindFirstChild(z))
  277.                                     end
  278.                                     wait(0.25)
  279.                                     parttp(savedpos)
  280.                                 end
  281.                             end
  282.                         end
  283.                     end
  284.                 end
  285.             end
  286.         end
  287.     end)
  288.    
  289. M3main:Cheat(
  290.     "Button", -- Type
  291.     "Wood", -- Name
  292.     function() -- Callback function
  293.         for i,v in pairs(workspace:GetChildren()) do
  294.             if v.ClassName == "Folder" then
  295.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  296.                     if v:FindFirstChildOfClass("Part") then
  297.                         for i,z in pairs(v:GetChildren()) do
  298.                             if z.Color == Color3.fromRGB(106, 57, 9) then
  299.                                 local savedpos = hrp.CFrame
  300.                                 if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  301.                                     game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  302.                                 end
  303.                                 z.ClickDetector.MaxActivationDistance = "100"
  304.                                 parttp(z.CFrame)
  305.                                 fireclickdetector(z.ClickDetector,0)
  306.                                 wait(0.25)
  307.                                 if backpack:FindFirstChild(z) then
  308.                                     humanoid:EquipTool(backpack:FindFirstChild(z))
  309.                                 end
  310.                                 wait(0.25)
  311.                                 parttp(savedpos)
  312.                             end
  313.                         end
  314.                     end
  315.                 end
  316.             end
  317.         end
  318.     end)
  319.    
  320. M3main:Cheat(
  321.     "Button", -- Type
  322.     "Hammer", -- Name
  323.     function() -- Callback function
  324.         for i,v in pairs(workspace:GetChildren()) do
  325.             if v.ClassName == "Folder" then
  326.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  327.                     if v:FindFirstChildOfClass("Part") then
  328.                         for i,z in pairs(v:GetChildren()) do
  329.                             if z.Color == Color3.fromRGB(248,248,248) then
  330.                                 if z:FindFirstChild("Mesh").Scale == Vector3.new(1.2,1.2,1.2) then
  331.                                     local savedpos = hrp.CFrame
  332.                                 if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  333.                                     game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  334.                                 end
  335.                                 z.ClickDetector.MaxActivationDistance = "100"
  336.                                 parttp(z.CFrame)
  337.                                 fireclickdetector(z.ClickDetector,0)
  338.                                 wait(0.25)
  339.                                 if backpack:FindFirstChild(z) then
  340.                                     humanoid:EquipTool(backpack:FindFirstChild(z))
  341.                                 end
  342.                                 wait(0.25)
  343.                                 parttp(savedpos)
  344.                                 end
  345.                             end
  346.                         end
  347.                     end
  348.                 end
  349.             end
  350.         end
  351.     end)
  352.    
  353. M3main:Cheat(
  354.     "Button", -- Type
  355.     "Wrench", -- Name
  356.     function() -- Callback function
  357.         for i,v in pairs(workspace:GetChildren()) do
  358.             if v.ClassName == "Folder" then
  359.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  360.                     if v:FindFirstChildOfClass("Part") then
  361.                         for i,z in pairs(v:GetChildren()) do
  362.                             if z.Color == Color3.fromRGB(248,248,248) then
  363.                                 if z:FindFirstChild("Mesh").Scale == Vector3.new(0.6,0.6,0.6) then
  364.                                     local savedpos = hrp.CFrame
  365.                                 if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  366.                                     game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  367.                                 end
  368.                                 z.ClickDetector.MaxActivationDistance = "100"
  369.                                 parttp(z.CFrame)
  370.                                 fireclickdetector(z.ClickDetector,0)
  371.                                 wait(0.25)
  372.                                 if backpack:FindFirstChild(z) then
  373.                                     humanoid:EquipTool(backpack:FindFirstChild(z))
  374.                                 end
  375.                                 wait(0.25)
  376.                                 parttp(savedpos)
  377.                                 end
  378.                             end
  379.                         end
  380.                     end
  381.                 end
  382.             end
  383.         end
  384.     end)
  385.  
  386. local M3Exclusive= map2:Sector("Exclusive Teleports")
  387.  
  388. M3Exclusive:Cheat(
  389.     "Button", -- Type
  390.     "Bone", -- Name
  391.     function() -- Callback function
  392.         for i,v in pairs(workspace:GetChildren()) do
  393.             if v.ClassName == "Folder" then
  394.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  395.                     for i,z in pairs(v:GetChildren()) do
  396.                         if z.Color == Color3.fromRGB(202,191,163) then
  397.                             local savedpos = hrp.CFrame
  398.                             if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  399.                                 game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  400.                             end
  401.                             z.ClickDetector.MaxActivationDistance = "100"
  402.                             parttp(z.CFrame)
  403.                             fireclickdetector(z.ClickDetector,0)
  404.                             wait(0.25)
  405.                             if backpack:FindFirstChild(z) then
  406.                                 humanoid:EquipTool(backpack:FindFirstChild(z))
  407.                             end
  408.                             wait(0.25)
  409.                             parttp(savedpos)
  410.                         end
  411.                     end
  412.                 end
  413.             end
  414.         end
  415.     end)
  416.    
  417. M3Exclusive:Cheat(
  418.     "Button", -- Type
  419.     "Green Egg", -- Name
  420.     function() -- Callback function
  421.         for i,v in pairs(workspace:GetChildren()) do
  422.             if v.ClassName == "Folder" then
  423.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  424.                     for i,z in pairs(v:GetChildren()) do
  425.                         if z.Color == Color3.fromRGB(52,142,64) then
  426.                             local savedpos = hrp.CFrame
  427.                             if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  428.                                 game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  429.                             end
  430.                             z.ClickDetector.MaxActivationDistance = "100"
  431.                             parttp(z.CFrame)
  432.                             fireclickdetector(z.ClickDetector,0)
  433.                             wait(0.25)
  434.                             if backpack:FindFirstChild(z) then
  435.                                 humanoid:EquipTool(backpack:FindFirstChild(z))
  436.                             end
  437.                             wait(0.25)
  438.                             parttp(savedpos)
  439.                         end
  440.                     end
  441.                 end
  442.             end
  443.         end
  444.     end)
  445. M3Exclusive:Cheat(
  446.     "Button", -- Type
  447.     "Red Egg", -- Name
  448.     function() -- Callback function
  449.         for i,v in pairs(workspace:GetChildren()) do
  450.             if v.ClassName == "Folder" then
  451.                 if v.Name ~= "PeppaNPC" or "GameFolder" or "LoadedMap" then
  452.                     for i,z in pairs(v:GetChildren()) do
  453.                         if z.Color == Color3.fromRGB(196,40,28) then
  454.                             local savedpos = hrp.CFrame
  455.                             if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Teleporting") then -- Anti Cheat remove
  456.                                 game:GetService("Players").LocalPlayer.Character.Teleporting:Destroy()
  457.                             end
  458.                             z.ClickDetector.MaxActivationDistance = "100"
  459.                             parttp(z.CFrame)
  460.                             fireclickdetector(z.ClickDetector,0)
  461.                             wait(0.25)
  462.                             if backpack:FindFirstChild(z) then
  463.                                 humanoid:EquipTool(backpack:FindFirstChild(z))
  464.                             end
  465.                             wait(0.25)
  466.                             parttp(savedpos)
  467.                         end
  468.                     end
  469.                 end
  470.             end
  471.         end
  472.     end)
Advertisement
Add Comment
Please, Sign In to add comment