SHARE
TWEET

Projection Scripts V1.00

a guest Apr 24th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Gui Made By Robloxim991 V1.00
  2. local MyGui = Instance.new("ScreenGui")
  3. local OpenFrame = Instance.new("Frame")
  4. local Open = Instance.new("TextButton")
  5. local Main = Instance.new("Frame")
  6. local NameofGui2 = Instance.new("Frame")
  7. local TextLabel = Instance.new("TextLabel")
  8. local NameofGui = Instance.new("Frame")
  9. local TextLabel_2 = Instance.new("TextLabel")
  10. local TopKek40 = Instance.new("TextButton")
  11. local MadFucker = Instance.new("TextButton")
  12. local TextButton = Instance.new("TextButton")
  13. local TextButton_2 = Instance.new("TextButton")
  14. local TextButton_3 = Instance.new("TextButton")
  15. local TextButton_4 = Instance.new("TextButton")
  16. local TopKek30 = Instance.new("TextButton")
  17. local TextButton_5 = Instance.new("TextButton")
  18. local TextButton_6 = Instance.new("TextButton")
  19. local Close = Instance.new("TextButton")
  20. --Properties:
  21. MyGui.Name = "MyGui"
  22. MyGui.Parent = game.CoreGui
  23.  
  24. OpenFrame.Name = "OpenFrame"
  25. OpenFrame.Parent = MyGui
  26. OpenFrame.BackgroundColor3 = Color3.new(0.329412, 0.933333, 1)
  27. OpenFrame.Position = UDim2.new(0.420749277, 0, 0, 0)
  28. OpenFrame.Size = UDim2.new(0, 112, 0, 36)
  29.  
  30. Open.Name = "Open"
  31. Open.Parent = OpenFrame
  32. Open.BackgroundColor3 = Color3.new(0.286275, 0.929412, 1)
  33. Open.Size = UDim2.new(0, 112, 0, 36)
  34. Open.Font = Enum.Font.SourceSans
  35. Open.Text = "Open"
  36. Open.TextColor3 = Color3.new(1, 1, 1)
  37. Open.TextScaled = true
  38. Open.TextSize = 30
  39. Open.TextWrapped = true
  40. Open.MouseButton1Down:connect(function()
  41. Main.Visible = true
  42. OpenFrame.Visible = false
  43.  
  44. Main.Name = "Main"
  45. Main.Parent = MyGui
  46. Main.BackgroundColor3 = Color3.new(0.231373, 0, 1)
  47. Main.Position = UDim2.new(0.123919308, 0, 0.232118815, 0)
  48. Main.Size = UDim2.new(0, 744, 0, 395)
  49. Main.Visible = false
  50. Main.Dragable = true
  51.  
  52. NameofGui2.Name = "NameofGui2"
  53. NameofGui2.Parent = Main
  54. NameofGui2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  55. NameofGui2.Size = UDim2.new(0, 744, 0, 42)
  56.  
  57. TextLabel.Parent = NameofGui2
  58. TextLabel.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  59. TextLabel.Size = UDim2.new(0, 744, 0, 42)
  60. TextLabel.Font = Enum.Font.SourceSans
  61. TextLabel.Text = "Projection Scripts"
  62. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  63. TextLabel.TextScaled = true
  64. TextLabel.TextSize = 14
  65. TextLabel.TextWrapped = true
  66.  
  67. NameofGui.Name = "NameofGui"
  68. NameofGui.Parent = Main
  69. NameofGui.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  70. NameofGui.Position = UDim2.new(0, 0, 0.893670857, 0)
  71. NameofGui.Size = UDim2.new(0, 744, 0, 42)
  72.  
  73. TextLabel_2.Parent = NameofGui
  74. TextLabel_2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  75. TextLabel_2.Size = UDim2.new(0, 744, 0, 42)
  76. TextLabel_2.Font = Enum.Font.SourceSans
  77. TextLabel_2.Text = "Credits : Robloxim991 [ROBLOX] And The Scripts Owners"
  78. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  79. TextLabel_2.TextScaled = true
  80. TextLabel_2.TextSize = 14
  81. TextLabel_2.TextWrapped = true
  82.  
  83. TopKek40.Name = "TopKek 4.0"
  84. TopKek40.Parent = Main
  85. TopKek40.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
  86. TopKek40.Position = UDim2.new(0.0728556588, 0, 0.103968307, 0)
  87. TopKek40.Size = UDim2.new(0, 200, 0, 50)
  88. TopKek40.Font = Enum.Font.SourceSans
  89. TopKek40.Text = "TopKek 4.0"
  90. TopKek40.TextColor3 = Color3.new(1, 1, 1)
  91. TopKek40.TextScaled = true
  92. TopKek40.TextSize = 14
  93. TopKek40.TextWrapped = true
  94. TopKek40.MouseButton1Down:connect(function()
  95. --TopKek 4.0 Leak by Nazi Army
  96. --Works for Intriga, RC7, Stella, Cerberus, Veil and ProtoSmasher
  97. local topkek = {}
  98. topkek.patch = '1.0.5a'
  99. topkek.data = {}
  100. topkek.commandbase = {}
  101. topkek.navigation = {}
  102. topkek.banmgr = {}
  103. topkek.lplr = game:GetService('Players').LocalPlayer
  104.  
  105. topkek.tools = {}
  106. topkek.tools.gui = {}
  107. topkek.tools.util = {}
  108. topkek.tools.animator = {}
  109.  
  110. topkek.windows = {}
  111. topkek.windows.lplr = {}
  112. topkek.windows.server = {}
  113. topkek.windows.players = {}
  114. topkek.windows.destruction = {}
  115. topkek.windows.scripts = {}
  116. topkek.windows.misc = {}
  117.  
  118. topkek.misc = {}
  119.  
  120. topkek.gui = game:GetObjects("rbxassetid://678309209")[1]
  121. topkek.gui.Parent = game:GetService("CoreGui")
  122.  
  123. topkek.center = topkek.gui.Main
  124. topkek.holder = topkek.center.Holder
  125. topkek.topbar = topkek.center.Topbar
  126. topkek.template = topkek.holder.Template
  127. topkek.navigator = topkek.center.Navigation
  128.  
  129. AllowHovers = false
  130. PlayerChatHook, UpdateBanlist = nil
  131. cmd = {}
  132.  
  133. --// data //--
  134. topkek.data.windows = {
  135.     'Home',
  136.     'LocalPlayer',
  137.     'Server',
  138.     'Players',
  139.     'Destruction',
  140.     'Scripts',
  141.     'Catalog',
  142.     'Music',
  143.     'Hats',
  144.     'Faces',
  145.     'Settings',
  146.     'Commands',
  147.     'Banlist',
  148. }
  149.  
  150. color3 = function(r,g,b)
  151.     return Color3.new(r/255, g/255, b/255)
  152. end
  153. --// doggo dropdown //--
  154. -- thanks krystal
  155. GUI = {
  156.     TextBox = {
  157.         Settings = {
  158.             Font = Enum.Font.SourceSans;
  159.             FontSize = Enum.FontSize.Size14;
  160.         };
  161.         Color = {
  162.             Main = Color3.fromRGB(5,8,11);
  163.             Border = Color3.fromRGB(27,42,53);
  164.             Text = Color3.fromRGB(199,199,199);
  165.         };
  166.         New = function(Position, Size, Parent, ...)
  167.             local arguments = {...};
  168.            
  169.             local TextBox = Instance.new("TextBox", Parent);
  170.             TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
  171.             TextBox.BorderColor3 = GUI.DropDown.Color.Border;
  172.             TextBox.Font = GUI.TextBox.Settings.Font;
  173.             TextBox.FontSize = GUI.TextBox.Settings.FontSize;
  174.             TextBox.TextColor3 = GUI.TextBox.Color.Text;
  175.             TextBox.Position = Position;
  176.             TextBox.Size = Size;
  177.             if #arguments then
  178.                 if arguments[1] then
  179.                     TextBox.Text = tostring(arguments[1]);
  180.                 else
  181.                     TextBox.Text = "";
  182.                 end
  183.             end    
  184.             return TextBox;
  185.         end;
  186.     };
  187.     DropDown = {
  188.         Settings = {
  189.             ScrollerAmount = 5; --A scroller will appear at this amount.
  190.             ScrollBarThickness = 6;
  191.         };
  192.         Gfx = {
  193.             Scroller = "rbxassetid://606572419";
  194.         };
  195.         Color = {
  196.             Main = color3(107, 36, 36);
  197.             Secondary = color3(113, 39, 39);
  198.             Border = color3(127, 44, 44);
  199.             Text = Color3.fromRGB(199,199,199);
  200.         };
  201.         New = function(Position, Size, Parent, ...)
  202.             local vValue = {};
  203.             local arguments = {...};
  204.             local vSelected = Instance.new("StringValue");
  205.             vSelected.Value = "nil";
  206.            
  207.             if arguments then
  208.                 if type(arguments) == "table" then
  209.                     for i=1,#(arguments) do
  210.                         if type(arguments[i]) == "table" then
  211.                             for f=1,#(arguments[i]) do
  212.                                 table.insert(vValue, tostring((arguments[i])[f]));
  213.                             end
  214.                         else
  215.                             table.insert(vValue, tostring(arguments[i]));
  216.                         end
  217.                     end
  218.                     vSelected.Value = (vValue[1]);
  219.                 end
  220.             end
  221.            
  222.             local Main = Instance.new("TextButton", Parent);
  223.             Main.BackgroundColor3 = GUI.DropDown.Color.Main;
  224.             Main.BorderColor3 = GUI.DropDown.Color.Border;
  225.             Main.Position = Position;
  226.             Main.Size = Size;
  227.             Main.TextColor3 = GUI.DropDown.Color.Text;
  228.             Main.FontSize = Enum.FontSize.Size14;
  229.             Main.TextStrokeTransparency = 0.5;
  230.             Main.TextXAlignment = Enum.TextXAlignment.Left;
  231.             Main.Font = Enum.Font.SourceSans;
  232.             Main.Text = "  "..tostring(vSelected.Value);
  233.             Main.ZIndex = 3
  234.            
  235.             local Icon = Instance.new("TextLabel", Main);
  236.             Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
  237.             Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
  238.             Icon.BorderColor3 = GUI.DropDown.Color.Border;
  239.             Icon.Position = UDim2.new(1,-2,1,-2);
  240.             Icon.Size = UDim2.new(-1,4,-1,4);
  241.             Icon.TextColor3 = GUI.DropDown.Color.Text;
  242.             Icon.FontSize = Enum.FontSize.Size14;
  243.             Icon.TextStrokeTransparency = 0.5;
  244.             Icon.Font = Enum.Font.SourceSans;
  245.             Icon.Text = "V"
  246.             Icon.ZIndex = 4
  247.  
  248.             local Holder, Search;
  249.             local ClearHolder = function()
  250.                 if Holder then
  251.                     Holder:ClearAllChildren();
  252.                     Holder.Size = UDim2.new(1,0,0,0);
  253.                     Holder.Visible = false;
  254.                     if Search then
  255.                         Search.Visible = false;
  256.                     end
  257.                 end
  258.             end;
  259.            
  260.             local CreateButton;
  261.             local RefreshDropDown = function()
  262.                 if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  263.                     if not Holder or not Holder:IsA("Frame") then
  264.                         Holder = nil; Search = nil;
  265.                         Holder = Instance.new("Frame",Main);
  266.                         Holder.Size = UDim2.new(1,0,0,0);
  267.                         Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  268.                         Holder.BorderColor3 = GUI.DropDown.Color.Border;
  269.                         Holder.Visible = false;
  270.                         Holder.ZIndex = 3
  271.                     end
  272.                 elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
  273.                     if not Holder or not Holder:IsA("ScrollingFrame") then
  274.                         Holder = nil; Search = nil;
  275.                         Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
  276.                         Search.Visible = false;
  277.                         Search.ZIndex = 4
  278.                         Search.Changed:connect(function(p)
  279.                             if p == "Text" then
  280.                                 CreateButton(Search.Text);
  281.                             end
  282.                         end)
  283.                         Holder = Instance.new("ScrollingFrame",Main);
  284.                         Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  285.                         Holder.BorderColor3 = GUI.DropDown.Color.Border;
  286.                         Holder.TopImage = GUI.DropDown.Gfx.Scroller;
  287.                         Holder.MidImage = GUI.DropDown.Gfx.Scroller;
  288.                         Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
  289.                         Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
  290.                         Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
  291.                         Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
  292.                         Holder.Visible = false;
  293.                         Holder.ZIndex = 3;
  294.                     end
  295.                 end
  296.                 if #vValue == 1 and vSelected.Value ~= vValue[1] then
  297.                     vSelected.Value = vValue[1];
  298.                 elseif #vValue == 0 then
  299.                     vSelected.Value = "nil";
  300.                     warn("Table amount is nil.");
  301.                 end
  302.                 Main.Text = "  "..tostring(vSelected.Value);
  303.                 --ClearHolder();
  304.             end;
  305.            
  306.             local Debounce = false;
  307.             CreateButton = function(searches)
  308.                 if Debounce == false then
  309.                     Debounce = true;
  310.                     ClearHolder()
  311.                     Holder.Visible = true;
  312.                     local Searched = 0;
  313.                     if #vValue > 0 then
  314.                         for i=1,#vValue do
  315.                             if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
  316.                                 Searched = Searched + 1;
  317.                             end
  318.                         end
  319.                         for i=1,#vValue do
  320.                             if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "" and Searched > 0) or searches == nil or searches == "" or Searched <= 0 then
  321.                                 local Select = Instance.new("TextButton", Holder);
  322.                                 Select.BackgroundColor3 = GUI.DropDown.Color.Main;
  323.                                 Select.BorderColor3 = GUI.DropDown.Color.Border;
  324.                                 Select.BackgroundTransparency = 1;
  325.                                 Select.BorderSizePixel = 0;
  326.                                 Select.Position = Position;
  327.                                 if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  328.                                     Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
  329.                                 else
  330.                                     Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
  331.                                 end
  332.                                 Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
  333.                                 Select.TextColor3 = GUI.DropDown.Color.Text;
  334.                                 Select.FontSize = Enum.FontSize.Size14;
  335.                                 Select.TextStrokeTransparency = 0.5;
  336.                                 Select.Font = Enum.Font.SourceSans;
  337.                                 Select.Text = tostring(vValue[i]);
  338.                                 Select.ZIndex = 3
  339.                                 Select.MouseButton1Click:connect(function()
  340.                                     vSelected.Value = vValue[i];
  341.                                     ClearHolder();
  342.                                     RefreshDropDown();
  343.                                 end)
  344.                                 if  #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  345.                                     Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
  346.                                 elseif Holder:IsA("ScrollingFrame") then
  347.                                     Search.Visible = true;
  348.                                     if #Holder:GetChildren() >= 1 then
  349.                                         Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  350.                                         Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
  351.                                         if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
  352.                                             Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
  353.                                             Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  354.                                         end
  355.                                     elseif #Holder:GetChildren() < 1 then
  356.                                         Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  357.                                         Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  358.                                     end
  359.                                 end
  360.                             end
  361.                         end
  362.                     end
  363.                     Debounce = false;
  364.                 end
  365.             end;
  366.            
  367.             RefreshDropDown();
  368.  
  369.             Main.MouseButton1Click:connect(function()
  370.                 CreateButton()
  371.                 if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
  372.                     Search:CaptureFocus();
  373.                     Search.Text = "";
  374.                 end
  375.             end)
  376.            
  377.             topkek.lplr:GetMouse().Button1Down:connect(function()
  378.                 ClearHolder()
  379.             end)
  380.  
  381.             return {
  382.                 Update = function()
  383.                     RefreshDropDown();
  384.                 end;
  385.                 GetValue = function()
  386.                     RefreshDropDown();
  387.                     return vValue;
  388.                 end;
  389.                 GetSelected = function()
  390.                     RefreshDropDown();
  391.                     return vSelected.Value;
  392.                 end;
  393.                 SetTable = function(F)
  394.                     vValue = F;
  395.                     RefreshDropDown();
  396.                 end;
  397.                 Changed = function(F)
  398.                     vSelected.Changed:connect(function()
  399.                         ypcall(function()
  400.                             F(vSelected.Value);
  401.                         end)
  402.                     end)
  403.                     return "ChangedEvent Hooked";
  404.                 end;
  405.                 AddValue = function(obj)
  406.                     local Type = type(obj);
  407.                     if Type == "table" then
  408.                         for i=1,#obj do
  409.                             table.insert(vValue, obj[i])
  410.                         end
  411.                     elseif Type == "string" or Type == "number" or Type == "boolean" then
  412.                         table.insert(vValue, obj)
  413.                     end
  414.                     RefreshDropDown();
  415.                 end;
  416.                 RemoveValue = function(obj)
  417.                     local Type = type(obj);
  418.                     if Type == "table" then
  419.                         for i=1,#vValue do
  420.                             for f=1,#obj do
  421.                                 if tostring(obj[f]) == tostring(vValue[i]) then
  422.                                     table.remove(vValue,i)
  423.                                 end
  424.                             end
  425.                         end
  426.                     else
  427.                         for i=1,#vValue do
  428.                             if tostring(obj) == tostring(vValue[i]) then
  429.                                 table.remove(vValue,i)
  430.                             end
  431.                         end
  432.                     end
  433.                     RefreshDropDown();
  434.                 end;
  435.                 ClearValue = function()
  436.                     vValue = {};
  437.                     RefreshDropDown();
  438.                 end;
  439.             }
  440.         end;
  441.     };
  442. };
  443. --// util //--
  444. function topkek.tools.util.Object(o, p)
  445.     local a, b = pcall(function()
  446.         Instance.new(o)
  447.     end)
  448.     if not a then
  449.         return
  450.     end
  451.     local obj = Instance.new(o)
  452.     for prop, val in pairs(p) do
  453.         pcall(function()
  454.             obj[prop] = val
  455.         end)
  456.     end
  457.     return obj
  458. end
  459.  
  460. function topkek.tools.util.getContainer(n)
  461.     if topkek.holder:FindFirstChild(n) then
  462.         return topkek.holder[n]
  463.     else
  464.         print("menu not found; returning template")
  465.         return topkek.holder['Template']
  466.     end
  467. end
  468.  
  469. function topkek.tools.util.play(id)
  470.     local mu = Instance.new("Sound", game:GetService('Workspace'))
  471.     mu.Volume = 1
  472.     mu.Looped = true
  473.     mu.Pitch = 1
  474.     mu.SoundId = "rbxassetid://"..tostring(id)
  475.     mu:Play()
  476. end
  477.  
  478. function topkek.tools.util.getTorso(plr) --r15 compatibility lole
  479.     if plr.Character then
  480.         if plr.Character:FindFirstChild('UpperTorso') then
  481.             return plr.Character.UpperTorso
  482.         elseif plr.Character:FindFirstChild('Torso') then
  483.             return plr.Character.Torso
  484.         else
  485.             return nil
  486.         end
  487.     end
  488. end
  489.  
  490. function topkek.tools.util.recurseRemove(x,type_)
  491.     local function recurse(x)
  492.         for i, v in pairs(x:GetChildren()) do
  493.             pcall(function()
  494.                 if v:IsA(type_) then
  495.                     v:Destroy()
  496.                 end
  497.                 if #(v:GetChildren())>0 then
  498.                     recurse(v)
  499.                 end
  500.             end)
  501.         end
  502.     end
  503.     recurse(x)
  504. end
  505.  
  506. function topkek.tools.util.recurseFunc(type_,func)
  507.     local function recurse(x)
  508.         for i, v in pairs(x:GetChildren()) do
  509.             pcall(function()
  510.                 if v:IsA(type_) then
  511.                     func(v)
  512.                 end
  513.                 if #(v:GetChildren())>0 then
  514.                     recurse(v)
  515.                 end
  516.             end)
  517.         end
  518.     end
  519.     recurse(game)
  520. end
  521. function topkek.tools.util.trowel()
  522.     local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
  523.     T.Name = 'Custom Trowel'
  524.    
  525.     local p = Instance.new('Part')
  526.     p.Name = 'Handle'
  527.     p.Size = Vector3.new(1,4.4,1)
  528.     p.Parent = T
  529.    
  530.     local specialMesh = Instance.new('SpecialMesh')
  531.     specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
  532.     specialMesh.MeshType = 'FileMesh'
  533.     specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
  534.     specialMesh.Parent = T.Handle
  535.    
  536.     local sound = Instance.new'Sound'
  537.     sound.Name = 'build'
  538.     sound.SoundId = 'rbxasset://sounds//bass.wav'
  539.     sound.Volume = 1
  540.     sound.Parent = T.Handle
  541.      
  542.     local brickHeight = 100
  543.     local trowelSpeed = 0.05
  544.     local brickWidth = 500
  545.     local mouseConnection
  546.      
  547.     function newBrick(CF, P, color)
  548.      local brick = Instance.new('Part')
  549.      brick.BrickColor = color
  550.      brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
  551.      brick.Parent = game.Workspace
  552.      brick:MakeJoints()
  553.      brick.Material = 'Neon'
  554.      brick.Name = 'DeleteMe'
  555.      return  brick, P + brick.Size
  556.     end
  557.      
  558.     function genBrick(cFrame)
  559.      local randBrickColor = BrickColor.Random()
  560.      assert(brickWidth > 0)
  561.      
  562.      local yPos = 0
  563.      
  564.      while yPos < brickHeight do
  565.       local vPos
  566.       local X = -brickWidth / 2
  567.       while X < brickWidth / 2 do
  568.        local brick
  569.        brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
  570.        X = vPos.x
  571.        wait(trowelSpeed)
  572.       end
  573.       yPos = vPos.y
  574.      end
  575.     end
  576.      
  577.     function calcPos(vec)
  578.      if (math.abs(vec.x) > math.abs(vec.z)) then
  579.       if vec.x > 0 then
  580.        return Vector3.new(1, 0, 0)
  581.       else
  582.        return Vector3.new(-1, 0, 0)
  583.       end
  584.      else
  585.       if (vec.z > 0) then
  586.        return Vector3.new(0, 0, 1)
  587.       else
  588.        return Vector3.new(0, 0, -1)
  589.       end
  590.      end
  591.     end
  592.      
  593.     T.Enabled = true
  594.    
  595.     T.Activated:connect(function()
  596.      if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  597.       T.Enabled = false
  598.       T.Handle.build:Play()
  599.       genBrick(CFrame.new(game.Players.LocalPlayer.Character.Humanoid.TargetPoint, game.Players.LocalPlayer.Character.Humanoid.TargetPoint + calcPos((game.Players.LocalPlayer.Character.Humanoid.TargetPoint - game.Players.LocalPlayer.Character.Head.Position).unit)))
  600.       T.Enabled = true
  601.      end
  602.     end)
  603.    
  604.     T.Equipped:connect(function()
  605.      mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  606.       if (key == 'r') then
  607.        for i,v in next, workspace:children'' do
  608.         if (v.Name == 'DeleteMe') then
  609.          v:Destroy()
  610.         end
  611.        end
  612.       end
  613.      end)
  614.     end)
  615.    
  616.     T.Unequipped:connect(function()
  617.      mouseConnection:disconnect()
  618.     end)
  619. end
  620. function topkek.tools.util.recurseSet(type_,prop,val)
  621.     local function recurse(x)
  622.         for i, v in pairs(x:GetChildren()) do
  623.             pcall(function()
  624.                 if v:IsA(type_) then
  625.                     v[prop]=val
  626.                 end
  627.                 if #(v:GetChildren())>0 then
  628.                     recurse(v)
  629.                 end
  630.             end)
  631.         end
  632.     end
  633.     recurse(game)
  634. end
  635. function topkek.tools.util.recurseUltimate(d)
  636.     topkek.tools.util.recurseDecal(d)
  637.     topkek.tools.util.recurseParticles(d)
  638. end
  639. function topkek.tools.util.recurseDecal(img)
  640.     img = 'rbxassetid://' .. img
  641.     local function skybox(x)
  642.         local sky = Instance.new("Sky",game.Lighting)
  643.         local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  644.         for i,v in pairs(fcs) do
  645.             sky["Skybox"..v]=x
  646.         end
  647.     end
  648.    
  649.     local function decal(p, b)
  650.         local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  651.         for i, v in pairs(sides) do
  652.             local a = Instance.new("Decal", p)
  653.             a.Texture = b
  654.             a.Face = v
  655.         end
  656.     end
  657.            
  658.     local function recurse(x)
  659.         for i, v in pairs(x:GetChildren()) do
  660.             pcall(function() -- 'error occured, no output from Lua' LOLE
  661.                 if v:IsA("BasePart") then
  662.                     decal(v, img)
  663.                 end
  664.                 if #(v:GetChildren())>0 then
  665.                     recurse(v)
  666.                 end
  667.             end)
  668.         end
  669.     end
  670.            
  671.     recurse(game)
  672.     skybox(img)
  673. end
  674. function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
  675.     img = 'rbxassetid://' .. img
  676.     local function skybox(x)
  677.         local sky = Instance.new("Sky",game.Lighting)
  678.         local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  679.         for i,v in pairs(fcs) do
  680.             sky["Skybox"..v]=x
  681.         end
  682.     end
  683.     local function particle(p, b)
  684.         local a = Instance.new("ParticleEmitter", p)
  685.         a.Rate = 500
  686.         a.Lifetime = NumberRange.new(20, 30)
  687.         a.VelocitySpread = 200
  688.         a.Texture = b
  689.     end
  690.            
  691.     local function recurse(x)
  692.         for i, v in pairs(x:GetChildren()) do
  693.             pcall(function() -- 'error occured, no output from Lua' LOLE
  694.                 if v:IsA("BasePart") then
  695.                     particle(v, img)
  696.                 end
  697.                 if #(v:GetChildren())>0 then
  698.                     recurse(v)
  699.                 end
  700.             end)
  701.         end
  702.     end
  703.            
  704.     recurse(game)
  705.     skybox(img)
  706. end
  707. function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
  708.     local function recurse(x)
  709.         for i, v in pairs(x:GetChildren()) do
  710.             pcall(function()
  711.                 if v:IsA(type_) then
  712.                     v[prop]=val
  713.                 end
  714.                 if #(v:GetChildren())>0 then
  715.                     recurse(v)
  716.                 end
  717.             end)
  718.         end
  719.     end
  720.     recurse(obj)
  721. end
  722. function topkek.tools.util.doPlayers(cval, func)
  723.     local plrs = {}
  724.     if cval == 'All' then
  725.         plrs = game:GetService('Players'):GetPlayers()
  726.     else
  727.         plrs = {game:GetService('Players'):FindFirstChild(cval)}
  728.     end
  729.     for i, v in pairs(plrs) do
  730.         func(v)
  731.     end
  732. end
  733. function topkek.tools.util.scalePlayer(sc,plr)
  734.     local pchar = plr.Character
  735.     if pchar:FindFirstChild("UpperTorso") then
  736.         warn("Player [" ..plr.Name.. "] is R15.")
  737.         return
  738.     end
  739.     local function scale(chr,scl)
  740.    
  741.         for _,v in pairs(pchar:GetChildren()) do
  742.             if v:IsA("Hat") then
  743.                 v:Clone()
  744.                 v.Parent = game.Lighting
  745.             end
  746.         end
  747.            
  748.         local Head = chr['Head']
  749.         local Torso = chr['Torso']
  750.         local LA = chr['Left Arm']
  751.         local RA = chr['Right Arm']
  752.         local LL = chr['Left Leg']
  753.         local RL = chr['Right Leg']
  754.         local HRP = chr['HumanoidRootPart']
  755.    
  756.         wait(0.1)
  757.        
  758.         Head.formFactor = 3
  759.         Torso.formFactor = 3
  760.         LA.formFactor = 3
  761.         RA.formFactor = 3
  762.         LL.formFactor = 3
  763.         RL.formFactor = 3
  764.         HRP.formFactor = 3
  765.        
  766.         Head.Size = Vector3.new(scl * 2, scl, scl)
  767.         Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  768.         LA.Size = Vector3.new(scl, scl * 2, scl)
  769.         RA.Size = Vector3.new(scl, scl * 2, scl)
  770.         LL.Size = Vector3.new(scl, scl * 2, scl)
  771.         RL.Size = Vector3.new(scl, scl * 2, scl)
  772.         HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  773.        
  774.         local Motor1 = Instance.new('Motor6D', Torso)
  775.         Motor1.Part0 = Torso
  776.         Motor1.Part1 = Head
  777.         Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  778.         Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  779.         Motor1.Name = "Neck"
  780.                
  781.         local Motor2 = Instance.new('Motor6D', Torso)
  782.         Motor2.Part0 = Torso
  783.         Motor2.Part1 = LA
  784.         Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  785.         Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  786.         Motor2.Name = "Left Shoulder"
  787.        
  788.         local Motor3 = Instance.new('Motor6D', Torso)
  789.         Motor3.Part0 = Torso
  790.         Motor3.Part1 = RA
  791.         Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  792.         Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  793.         Motor3.Name = "Right Shoulder"
  794.        
  795.         local Motor4 = Instance.new('Motor6D', Torso)
  796.         Motor4.Part0 = Torso
  797.         Motor4.Part1 = LL
  798.         Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  799.         Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  800.         Motor4.Name = "Left Hip"
  801.        
  802.         local Motor5 = Instance.new('Motor6D', Torso)
  803.         Motor5.Part0 = Torso
  804.         Motor5.Part1 = RL
  805.         Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  806.         Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  807.         Motor5.Name = "Right Hip"
  808.        
  809.         local Motor6 = Instance.new('Motor6D', HRP)
  810.         Motor6.Part0 = HRP
  811.         Motor6.Part1 = Torso
  812.         Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  813.         Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  814.            
  815.     end
  816.    
  817.     scale(pchar, sc)
  818.    
  819.     for _,v in pairs(game.Lighting:GetChildren()) do
  820.         if v:IsA("Hat") then
  821.             v.Parent = pchar
  822.         end
  823.     end
  824. end
  825. function topkek.tools.util.applyFace(id)
  826.     local Char = topkek.lplr.Character
  827.     if(Char)then
  828.         local Type = id
  829.         local Meme=id
  830.         local BBG_SIZE=Char.Head.Size.X*1.25;
  831.         local STUD_VECTOR_1=Char.Head.Size.Z/4;
  832.         local STUD_VECTOR_2=Char.Head.Size.Z;
  833.         local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
  834.             bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  835.             bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
  836.             bbg.Adornee=Char.Head;
  837.             bbg.Name='BBGMEME';
  838.         local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
  839.             img.BackgroundTransparency=1;
  840.             img.Image="rbxassetid://"..Meme;
  841.             img.Size=UDim2.new(1,0,1,0)
  842.             img.Name='Meme';
  843.         for i,v in next,Char:children()do
  844.             if(v.className=='Hat')then
  845.                 v=v:FindFirstChild'Handle';
  846.                 if(v)then
  847.                     v.Transparency=0
  848.                 end;
  849.             end;
  850.         end;
  851.     end;
  852. end;
  853. function topkek.tools.util.weenieHutJunior(plr)
  854.     plr=plr.Character
  855.     Shaft=Instance.new("Part", plr)
  856.     Shaft.Name='Shaft'
  857.     Shaft.Size=Vector3.new(1, 2.5, 1)
  858.     Shaft.TopSurface=0
  859.     Shaft.BottomSurface=0
  860.     Shaft.CanCollide=true
  861.     Cyln=Instance.new("CylinderMesh", Shaft)
  862.     Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  863.     Instance.new("Weld", plr)
  864.     plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  865.     plr.Weld.Part1=plr.Shaft
  866.     plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  867.     Shaft.BrickColor=BrickColor.new("Pastel brown")
  868.     Tip=Instance.new("Part", plr)
  869.     Tip.Name='Tip'
  870.     Tip.TopSurface=0
  871.     Tip.BottomSurface=0
  872.     Tip.Size=Vector3.new(1, 1, 1)
  873.     Tip.CanCollide=true
  874.     Tip.Touched:connect(function(prt) if prt.Parent~=player then spawn(function() for i=1, 5 do local pert=Instance.new("Part", player) pert.CFrame=CFrame.new(prt.Position) pert.CanCollide=true local mesh=Instance.new("BlockMesh", pert) mesh.Scale=Vector3.new(0.2,0.2,0.2) pert.BrickColor=BrickColor.new("White") end end) end end)
  875.     Cyln2=Instance.new("SpecialMesh", Tip)
  876.     Cyln2.MeshType='Sphere'
  877.     Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  878.     Instance.new("Weld", plr).Name='Weld2'
  879.     plr.Weld2.Part0=plr.Shaft
  880.     plr.Weld2.Part1=plr.Tip
  881.     plr.Weld2.C0=CFrame.new(0,-.9,0)
  882.     Tip.BrickColor=BrickColor.new("Pink")
  883.     -----
  884.     Ball1=Instance.new("Part", plr)
  885.     Ball1.Name='Ball1'
  886.     Ball1.Size=Vector3.new(1, 1, 1)
  887.     Ball1.TopSurface=0
  888.     Ball1.BottomSurface=0
  889.     Cyln3=Instance.new("SpecialMesh", Ball1)
  890.     Cyln3.MeshType='Sphere'
  891.     Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  892.     Instance.new("Weld", plr).Name='Weld3'
  893.     plr.Weld3.Part0=plr.Shaft
  894.     plr.Weld3.Part1=plr.Ball1
  895.     plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  896.     Ball1.BrickColor=BrickColor.new("Pastel brown")
  897.     -----
  898.     Ball2=Instance.new("Part", plr)
  899.     Ball2.Name='Ball2'
  900.     Ball2.Size=Vector3.new(1, 1, 1)
  901.     Ball2.TopSurface=0
  902.     Ball2.BottomSurface=0
  903.     Cyln3=Instance.new("SpecialMesh", Ball2)
  904.     Cyln3.MeshType='Sphere'
  905.     Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  906.     Instance.new("Weld", plr).Name='Weld4'
  907.     plr.Weld4.Part0=plr.Shaft
  908.     plr.Weld4.Part1=plr.Ball2
  909.     plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  910.     Ball2.BrickColor=BrickColor.new("Pastel brown")
  911. end
  912. --// banmgr //--
  913. topkek.banmgr.isPrivate = false
  914. topkek.banmgr.whitelist = {}
  915. topkek.banmgr.bans = {}
  916. function topkek.banmgr.executeKick(z)
  917.     local function doKick()
  918.         if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  919.             z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  920.             local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  921.             spawn(function()
  922.                 repeat wait()
  923.                     if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  924.                         SP.Position = z.Character.HumanoidRootPart.Position
  925.                     end
  926.                 until not game:GetService('Players'):FindFirstChild(z.Name)
  927.             end)
  928.             z.Character.Torso.Anchored = true
  929.         end
  930.     end
  931.     repeat
  932.         doKick()
  933.         wait()
  934.     until not z
  935. end
  936. function topkek.banmgr.loadFromFile()
  937.     -- todo: read file
  938.     topkek.settings.get()
  939.     topkek.banmgr.bans = topkek.settingsTable['Bans']
  940. end
  941. function topkek.banmgr.addHardBan(p)
  942.     -- todo: write file
  943.     table.insert(topkek.banmgr.bans, p.Name)
  944.     topkek.settings.get()
  945.     table.insert(topkek.settingsTable['Bans'], p.Name)
  946.     topkek.settings.write()
  947.     print("Hardbanned " .. p.Name)
  948.     UpdateBanlist()
  949.     topkek.banmgr.executeKick(p)
  950.     topkek.banmgr.loadFromFile()
  951. end
  952. function topkek.banmgr.addSoftBan(p)
  953.     table.insert(topkek.banmgr.bans, p.Name)
  954.     topkek.banmgr.executeKick(p)
  955. end
  956. function topkek.banmgr.plrBanned(p)
  957.     for x, m in pairs(topkek.banmgr.bans) do
  958.         if m == p.Name then
  959.             return true
  960.         end
  961.     end
  962.     return false
  963. end
  964. function topkek.banmgr.doWhitelist(p)
  965.     print(p .. " whitelisted")
  966.     table.insert(topkek.banmgr.whitelist, p)
  967. end
  968. function topkek.banmgr.unwhitelist(p)
  969.     for x, m in pairs(topkek.banmgr.whitelist) do
  970.         if m == p then
  971.             print(m .. " unwhitelisted")
  972.             table.remove(topkek.banmgr.whitelist, x)
  973.             if game:GetService('Players'):FindFirstChild(p) then
  974.                 topkek.banmgr.executeKick(game:GetService('Players')[p])
  975.             end
  976.         end
  977.     end
  978. end
  979. function topkek.banmgr.plrWhitelisted(p)
  980.     for x, m in pairs(topkek.banmgr.whitelist) do
  981.         if m == p.Name then
  982.             return true
  983.         end
  984.     end
  985.     return false
  986. end
  987. function topkek.banmgr.makePrivate()
  988.     topkek.banmgr.isPrivate = true
  989.     for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  990.         if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
  991.             spawn(function()
  992.                 topkek.banmgr.executeKick(v)
  993.             end)
  994.         end
  995.     end
  996. end
  997. function topkek.banmgr.unprivate()
  998.     topkek.banmgr.isPrivate = false
  999. end
  1000. function topkek.banmgr.init()
  1001.     topkek.banmgr.loadFromFile()
  1002.     game:GetService('Players').PlayerAdded:connect(function(p)
  1003.         if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
  1004.             print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
  1005.             topkek.banmgr.executeKick(p)
  1006.         end
  1007.     end)
  1008. end
  1009. --// settings //--
  1010. topkek.settings = {}
  1011. topkek.settingsTable = {}
  1012. function topkek.settings.write()
  1013.     --writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
  1014. end
  1015. function topkek.settings.get()
  1016. if game.Players.LocalPlayer.Character then
  1017.         print("No settings! Making new ...")
  1018.         topkek.settingsTable = {
  1019.             ['Bans'] = {
  1020.                
  1021.             },
  1022.             ['Themes'] = {
  1023.                 {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
  1024.             };
  1025.         }
  1026.         topkek.settings.write()
  1027.         return topkek.settingsTable
  1028.     else
  1029.         local lset = game:GetService('HttpService'):JSONDecode(set)
  1030.         topkek.settingsTable = lset
  1031.         return lset
  1032. end
  1033. end
  1034. --// shortcuts //--
  1035. tk = {}
  1036. tk.ob = topkek.tools.util.Object
  1037. tk.dp = topkek.tools.util.doPlayers
  1038. tk.rcm = topkek.tools.util.recurseRemove
  1039. tk.rcs = topkek.tools.util.recurseSet
  1040. tk.rcf = topkek.tools.util.recurseFunc
  1041. tk.rco = topkek.tools.util.recurseSetObj
  1042. tk.play = topkek.tools.util.play
  1043. tk.gt = topkek.tools.util.getTorso
  1044. --// gui //--
  1045. -- copying this from topkek3.0 because i'm
  1046. -- too lazy to rewrite my lib
  1047. topkek.tools.gui.seperation = 12
  1048. function topkek.tools.gui:addLeftIcon(parent, img, sz)
  1049.     topkek.tools.util.Object('ImageLabel', {
  1050.         Parent = parent;
  1051.         BackgroundTransparency = 1;
  1052.         Position = UDim2.new(0, 2, 0, 2);
  1053.         Size = UDim2.new(0, sz, 0, sz);
  1054.         Image = img;
  1055.     })
  1056. end
  1057. function topkek.tools.gui:makeContainer(n)
  1058.     local temp = topkek.template:Clone()
  1059.     temp.Name = n
  1060.     temp.Parent = topkek.holder
  1061.     temp.Container.Visible = false
  1062. end
  1063. function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
  1064.     if not o:IsA("ScrollingFrame") and (not ncan) then
  1065.         return nil
  1066.     elseif o:IsA("ScrollingFrame") then
  1067.         o.CanvasSize = UDim2.new(0, 0, 0, 0)
  1068.     end
  1069.    
  1070.     local self = {}
  1071.     self.main = o
  1072.     self.drawX = 0
  1073.     self.drawY = stt or topkek.tools.gui.seperation/2
  1074.     self.drawHeight = 0
  1075.     self.sepr = sepr or topkek.tools.gui.seperation
  1076.    
  1077.     function self:drawButton(sz, txt, func, ysz, cbgd)
  1078.         local xposOffset = 0
  1079.         local xposScale = self.drawX
  1080.         local xszOffset = 0
  1081.         local xszScale = sz
  1082.         if not (self.drawX == 0)  then
  1083.             xszOffset = -5
  1084.             if sz + self.drawX > 0.998 then
  1085.                 xszOffset = -10
  1086.             end
  1087.         elseif sz == 1 then
  1088.             local bzz = 4
  1089.             if ncan then
  1090.                 bzz = 0
  1091.             end
  1092.             xszOffset = -(self.sepr) - bzz
  1093.             xposOffset = self.sepr/2
  1094.         else
  1095.             xszOffset = -4 + -(self.sepr/2)
  1096.             xposOffset = self.sepr/2
  1097.         end
  1098.         if not ysz then ysz = 20 end
  1099.         local obj = topkek.tools.util.Object("TextButton", {
  1100.             Parent = self.main;
  1101.             BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
  1102.             BorderSizePixel = 0;
  1103.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1104.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1105.             Font = 'SourceSans';
  1106.             FontSize = 'Size14';
  1107.             Text = txt;
  1108.             TextSize = 14;
  1109.             TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1110.         })
  1111.         obj.MouseButton1Down:connect(function()
  1112.             spawn(func)
  1113.         end)
  1114.         if ysz > self.drawHeight then
  1115.             self.drawHeight = ysz
  1116.         end
  1117.         self.drawX = self.drawX + sz
  1118.         if self.drawX > 0.998 then
  1119.             self.drawY = self.drawY + 3 + self.drawHeight
  1120.             self.drawX = 0
  1121.             self.drawHeight = 0
  1122.             if (not ncan) then
  1123.                 self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1124.             end
  1125.         end
  1126.         return obj
  1127.     end
  1128.    
  1129.     function self:GetChildren()
  1130.         return self.main:GetChildren()
  1131.     end
  1132.    
  1133.     function self:getDrawY()
  1134.         return self.drawY
  1135.     end
  1136.    
  1137.     function self:setDrawY(y)
  1138.         self.drawY = y
  1139.     end
  1140.    
  1141.     function self:drawTextBox(sz, txt, ysz, cbgd)
  1142.         local xposOffset = 0
  1143.         local xposScale = self.drawX
  1144.         local xszOffset = 0
  1145.         local xszScale = sz
  1146.         if not (self.drawX == 0)  then
  1147.             xszOffset = -5
  1148.             if sz + self.drawX > 0.998 then
  1149.                 xszOffset = -10
  1150.             end
  1151.         elseif sz == 1 then
  1152.             xszOffset = -(self.sepr) - 5
  1153.             xposOffset = self.sepr/2
  1154.         else
  1155.             xszOffset = -4 + -(self.sepr/2)
  1156.             xposOffset = self.sepr/2
  1157.         end
  1158.         if not ysz then ysz = 20 end
  1159.         local obj = topkek.tools.util.Object("TextBox", {
  1160.             Parent = self.main;
  1161.             BackgroundColor3 = cbgd or color3(153, 52, 52);
  1162.             BorderSizePixel = 0;
  1163.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1164.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1165.             Font = 'SourceSans';
  1166.             FontSize = 'Size14';
  1167.             Text = txt;
  1168.             TextSize = 14;
  1169.             TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1170.         })
  1171.         if ysz > self.drawHeight then
  1172.             self.drawHeight = ysz
  1173.         end
  1174.         self.drawX = self.drawX + sz
  1175.         if self.drawX > 0.998 then
  1176.             self.drawY = self.drawY + 3 + self.drawHeight
  1177.             self.drawX = 0
  1178.             self.drawHeight = 0
  1179.             self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1180.         end
  1181.         return obj
  1182.     end
  1183.    
  1184.     function self:drawImage(sz, img, ysz)
  1185.         local xposOffset = 0
  1186.         local xposScale = self.drawX
  1187.         local xszOffset = 0
  1188.         local xszScale = sz
  1189.         if not (self.drawX == 0)  then
  1190.             xszOffset = -5
  1191.             if sz + self.drawX > 0.998 then
  1192.                 xszOffset = -12
  1193.             end
  1194.         elseif sz == 1 then
  1195.             xszOffset = -(self.sepr) - 5
  1196.             xposOffset = self.sepr/2
  1197.         else
  1198.             xszOffset = -5 + -(self.sepr/2)
  1199.             xposOffset = self.sepr/2
  1200.         end
  1201.         if not ysz then ysz = 20 end
  1202.         local obj = topkek.tools.util.Object("ImageLabel", {
  1203.             Parent = self.main;
  1204.             BackgroundTransparency = 1;
  1205.             BorderColor3 = Color3.new(27, 42, 53);
  1206.             BorderSizePixel = 0;
  1207.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1208.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1209.             Image = img;
  1210.         })
  1211.         if ysz > self.drawHeight then
  1212.             self.drawHeight = ysz
  1213.         end
  1214.         self.drawX = self.drawX + sz
  1215.         if self.drawX > 0.998 then
  1216.             self.drawY = self.drawY + 3 + self.drawHeight
  1217.             self.drawX = 0
  1218.             self.drawHeight = 0
  1219.             if (not ncan) then
  1220.                 self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1221.             end
  1222.         end
  1223.         return obj
  1224.     end
  1225.    
  1226.     function self:drawText(sz, txt, ysz)
  1227.         local xposOffset = 0
  1228.         local xposScale = self.drawX
  1229.         local xszOffset = 0
  1230.         local xszScale = sz
  1231.         if not (self.drawX == 0)  then
  1232.             xszOffset = -5
  1233.             if sz + self.drawX > 0.998 then
  1234.                 xszOffset = -10
  1235.             end
  1236.         elseif sz == 1 then
  1237.             local bzz = 5
  1238.             if ncan then
  1239.                 bzz = 0
  1240.             end
  1241.             xszOffset = -(self.sepr) - bzz
  1242.             xposOffset = self.sepr/2
  1243.         else
  1244.             xszOffset = -4 + -(self.sepr/2)
  1245.             xposOffset = self.sepr/2
  1246.         end
  1247.         if not ysz then ysz = 20 end
  1248.         local obj = topkek.tools.util.Object("TextLabel", {
  1249.             Parent = self.main;
  1250.             BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
  1251.             BorderSizePixel = 0;
  1252.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1253.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1254.             Font = 'SourceSans';
  1255.             FontSize = 'Size14';
  1256.             Text = txt;
  1257.             TextSize = 14;
  1258.             TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1259.  
  1260.         })
  1261.         if ysz > self.drawHeight then
  1262.             self.drawHeight = ysz
  1263.         end
  1264.         self.drawX = self.drawX + sz
  1265.         if self.drawX > 0.998 then
  1266.             self.drawY = self.drawY + 3 + self.drawHeight
  1267.             self.drawX = 0
  1268.             self.drawHeight = 0
  1269.             if (not ncan) then
  1270.                 self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1271.             end
  1272.         end
  1273.         return obj
  1274.     end
  1275.    
  1276.    
  1277.     function self:drawScrollingContainer(ysz)
  1278.         local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  1279.         local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  1280.         local obj = topkek.tools.util.Object("ScrollingFrame", {
  1281.             Parent = self.main;
  1282.             BackgroundColor3 = color3(117, 42, 42);
  1283.             BorderSizePixel = 0;
  1284.             Position = pos;
  1285.             Size = sz;
  1286.             BottomImage = 'rbxassetid://368504177';
  1287.             MidImage = 'rbxassetid://368504177';
  1288.             TopImage = 'rbxassetid://368504177';
  1289.             ScrollBarThickness = 5;
  1290.         })
  1291.        
  1292.         self.drawY = self.drawY + 5 + ysz
  1293.         self.drawX = 0
  1294.         self.drawHeight = 0
  1295.         if (not ncan) then
  1296.             self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1297.         end
  1298.         return topkek.tools.gui:hookContainer(obj, false, 10, 3)
  1299.     end
  1300.    
  1301.     function self:drawContainer(xsz, ysz, xz, tz, sep)
  1302.         local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  1303.         local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
  1304.         local obj = topkek.tools.util.Object("Frame", {
  1305.             Parent = self.main;
  1306.             BackgroundColor3 = color3(117, 42, 42);
  1307.             BorderSizePixel = 0;
  1308.             Position = pos;
  1309.             Size = sz;
  1310.         })
  1311.         if not xz then
  1312.             self.drawY = self.drawY + 5 + ysz
  1313.         end
  1314.         self.drawX = 0
  1315.         self.drawHeight = 0
  1316.         if (not ncan) then
  1317.             self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1318.         end
  1319.         return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
  1320.     end
  1321.    
  1322.     function self:addSpacing()
  1323.         self.drawY = self.drawY + 3
  1324.     end
  1325.    
  1326.     function self:center()
  1327.         local a,c,b=
  1328.             self.main.Position.X.Scale,
  1329.                 self.main.Position.X.Offset,self.main.Size.Y.Offset
  1330.         self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  1331.     end
  1332.    
  1333.     return self
  1334. end
  1335.  
  1336. --//anim//--
  1337. topkek.tools.animator.animateTo = function(source, dest)
  1338.     -- holder2holder:
  1339.     -- invis holder
  1340.     -- clone holder; vis
  1341.     -- move holder to right
  1342.     -- vis dest container
  1343.     -- tween clone holder left
  1344.     -- tween dest holder right
  1345.     print("nav",source,dest)
  1346.     topkek.holder.Visible = false
  1347.     local hclone = topkek.holder:Clone()
  1348.     hclone.Parent = topkek.center
  1349.     hclone.Name = 'animclone'
  1350.     hclone.Visible = true
  1351.     topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
  1352.     source.Visible = false
  1353.     dest.Visible = true
  1354.     dest.Container.Visible = true
  1355.     dest.Container.ZIndex = 1
  1356.     dest.ZIndex = 1
  1357.     topkek.holder.Visible = true
  1358.     topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
  1359.     hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
  1360.     wait(0.3)
  1361. end
  1362. topkek.tools.animator.initialAnimation = function()
  1363.     -- initanim:
  1364.     -- join both composites
  1365.     -- delete composites; vis solid
  1366.     -- tween solid to nav topbar
  1367.     -- copy topbar plrname; move outside region
  1368.     -- tween in clone topbar
  1369.     -- delete clone and solid; vis topbar
  1370.     -- tween down topbar
  1371.     -- tween holder out
  1372.     local function abspos(x)
  1373.         return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
  1374.     end
  1375.     local function abssz(x)
  1376.         return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
  1377.     end
  1378.     local holder = topkek.holder
  1379.     local nav = topkek.navigator
  1380.     local topnav = nav.Topbar
  1381.     local topbar = topkek.topbar
  1382.     local pname = topbar.PlayerName:Clone()
  1383.     local solid = topkek.gui.Solid
  1384.     topkek.center.Size = UDim2.new(0, 150, 0, 30)
  1385.     topkek.gui.Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
  1386.     topkek.gui.Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
  1387.     wait(0.52)
  1388.     solid.Visible = true
  1389.     topkek.gui.Composite1:Destroy()
  1390.     topkek.gui.Composite2:Destroy()
  1391.     wait(3)
  1392.     solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
  1393.     solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
  1394.     wait(0.52)
  1395.     solid.Label:Destroy()
  1396.     wait(0.12)
  1397.     topkek.center.Visible = true
  1398.     topnav.Visible = true
  1399.     solid:Destroy()
  1400.     pname.Position = UDim2.new(0, -170, 0, 0)
  1401.     pname.Parent = topnav
  1402.     pname.Visible = true
  1403.     pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
  1404.     wait(0.25)
  1405.     topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
  1406.     spawn(topkek.navigation.buildNavigator)
  1407.     wait(0.35)
  1408.     topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
  1409.     wait(0.35)
  1410.     topbar.PlayerName.Visible = true
  1411.     pname:Destroy()
  1412.     AllowHovers = true
  1413. end
  1414. --//nav//--
  1415. topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
  1416. topkek.navigation.windowState = 0
  1417. topkek.navigation.gotoContainer = function(cont)
  1418.     topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
  1419.     topkek.navigation.currentContainer = cont
  1420. end
  1421. topkek.navigation.buildNavigator = function()
  1422.     local nav = topkek.navigator
  1423.     local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
  1424.     local btns = {}
  1425.     for l, x in pairs(topkek.data.windows) do
  1426.         local container = topkek.tools.util.getContainer(x)
  1427.         local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
  1428.         local ZPos = btn.Position
  1429.         btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
  1430.         btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
  1431.         btn.LayoutOrder = l
  1432.         btn.ZIndex = 4
  1433.         local OPos = btn.Position
  1434.         btn.MouseEnter:connect(function()
  1435.             if AllowHovers == false then
  1436.                 return
  1437.             end
  1438.             for i, v in pairs(btns) do
  1439.                 if v[1] ~= btn then
  1440.                     v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
  1441.                 end
  1442.             end
  1443.             btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
  1444.         end)
  1445.         btn.MouseLeave:connect(function()
  1446.             btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
  1447.         end)
  1448.         table.insert(btns, {btn, OPos})
  1449.         wait() 
  1450.     end
  1451. end
  1452. topkek.navigation.buildTopbar = function()
  1453.     local top = topkek.topbar
  1454.     local FELabel = top.Controllers.IsFE
  1455.     top.PlayerName.Text = topkek.lplr.Name
  1456.     if game:GetService('Workspace').FilteringEnabled == true then
  1457.         FELabel.Text = "FE Game"
  1458.         FELabel.TextColor3 = BrickColor.new("Bright red").Color
  1459.     else
  1460.         FELabel.Text = "Not FE"
  1461.         FELabel.TextColor3 = BrickColor.new("Bright green").Color
  1462.     end
  1463.     top.Controllers.Hide.MouseButton1Down:connect(function()
  1464.         if topkek.navigation.windowState == 0 then
  1465.             topkek.navigation.windowState = 1
  1466.             topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
  1467.         else
  1468.             topkek.navigation.windowState = 0
  1469.             topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
  1470.         end
  1471.     end)   
  1472.     top.Controllers.Exit.MouseButton1Down:connect(function()
  1473.         topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
  1474.         wait(0.31)
  1475.         topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
  1476.         PlayerChatHook:disconnect()
  1477.     end)
  1478.    
  1479. end
  1480. topkek.navigation.initCommandBar = function()
  1481.     DistributedCmdBar, cmd = topkek.holder.Command, {}
  1482.     loadstring(game:GetObjects("rbxassetid://685510751")[1].Source)()
  1483.     DistributedCmdBar.FocusLost:connect(function(e)
  1484.         if e == true then
  1485.             cmd.commands.run(DistributedCmdBar.Text)
  1486.             DistributedCmdBar.Text = ''
  1487.         end
  1488.     end)
  1489.    
  1490.     PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
  1491.         if cmd.util.isadmin(plr.Name) then
  1492.             if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  1493.                 cmd.commands.run(msg:sub(2, #msg))
  1494.             end
  1495.         end
  1496.     end)
  1497. end
  1498. topkek.navigation.buildHomePage = function()
  1499.     local count = 0
  1500.     for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  1501.     local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
  1502.     hook:drawText(1, 'T0PK3K 4.0 ProtoSmasher Edition edited by bork')
  1503.     hook:drawText(1, 'Patch version 1.0.5')
  1504.     hook:drawText(1, 'Commandbase patch version 1.0.0')
  1505.     hook:drawText(1, 'Number of commands: ' .. tostring(count))
  1506.     local stime = hook:drawText(1, 'Server Time: 0')
  1507.     spawn(function()
  1508.         while true do
  1509.             stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
  1510.             wait(0.5)
  1511.         end
  1512.     end)
  1513.     local ssz = hook:drawText(1, 'Server Size: 0')
  1514.     spawn(function()
  1515.         while true do
  1516.             ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
  1517.             wait(0.5)
  1518.         end
  1519.     end)
  1520.     local fe = game:GetService('Workspace').FilteringEnabled
  1521.     hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
  1522.     hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
  1523.     hook:drawText(1, 'same', 55)
  1524. end
  1525. topkek.navigation.buildContainers = function()
  1526.     for _, v in pairs(topkek.data.windows) do
  1527.         topkek.tools.gui:makeContainer(v)
  1528.     end
  1529. end
  1530.  
  1531. topkek.navigation.initCommandBar()
  1532. topkek.navigation.buildContainers()
  1533. topkek.navigation.buildTopbar()
  1534. topkek.navigation.buildHomePage()
  1535. wait()
  1536.  
  1537.  
  1538. --// actual code below lole //--
  1539.  
  1540. --// PLAYERS //--
  1541. local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
  1542. local search = plrwin:drawButton(1, '', function()end)
  1543. drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
  1544. function fixPlayerDrop()
  1545.     local t = {'All'}
  1546.     for i, v in pairs(game.Players:GetPlayers()) do
  1547.         table.insert(t, v.Name)
  1548.     end
  1549.     drop.SetTable(t)
  1550. end
  1551. game.Players.PlayerAdded:connect(function()
  1552.     fixPlayerDrop()
  1553. end)
  1554. game.Players.PlayerRemoving:connect(function()
  1555.     fixPlayerDrop()
  1556. end)
  1557. plrFrame = plrwin:drawContainer(1, 100)
  1558. headshotContainer = plrFrame:drawContainer(0.4, 94, true)
  1559. headshotContainer:setDrawY(20)
  1560. headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
  1561. headshotContainer:setDrawY(0)
  1562. userNameText = headshotContainer:drawText(1, "[All]")
  1563. userNameText.ClipsDescendants = true
  1564. userNameText.Font = Enum.Font.SourceSansBold
  1565. infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
  1566. infoContainer.BackgroundColor3 = color3(108, 38, 38)
  1567. userIdText = infoContainer:drawText(1, "ID: 0")
  1568. userAgeText = infoContainer:drawText(1, "Age: 0")
  1569. userTeamText = infoContainer:drawText(1, "Team: Neutral")
  1570. cval = 'All'
  1571. fixPlayerDrop()
  1572.  
  1573. function updatePlayer(plri)
  1574.     local plr = game:GetService('Players'):FindFirstChild(plri)
  1575.     if not plr and plri ~= 'All' then
  1576.         print("Couldn't find player!")
  1577.         updatePlayer(topkek.lplr)
  1578.     else
  1579.         headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
  1580.         userNameText.Text = "[All]"
  1581.         userIdText.Text = 'ID: [multiple]'
  1582.         userAgeText.Text = 'Age: [multiple]'
  1583.         userTeamText.Text = 'Team: [multiple]'
  1584.         cval = 'All'
  1585.     end
  1586.     local team = plr.TeamColor
  1587.     if team == nil then
  1588.         team = 'Neutral'
  1589.     else
  1590.         team = tostring(team)
  1591.     end
  1592.     headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
  1593.     userNameText.Text = plr.Name
  1594.     userIdText.Text = 'ID: ' .. tostring(plr.UserId)
  1595.     userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
  1596.     userTeamText.Text = 'Team: ' .. team
  1597.     cval = plr.Name
  1598.    
  1599. end
  1600. drop.Changed(updatePlayer)
  1601. --actual code ------__-
  1602. plrwin:addSpacing()
  1603. plrwin:drawButton(1/2, 'Kick', function()
  1604.     tk.dp(cval, function(p)
  1605.         topkek.banmgr.executeKick(p)
  1606.     end)
  1607. end)
  1608.  
  1609. plrwin:drawButton(1/2, 'Ban', function()
  1610.     tk.dp(cval, function(p)
  1611.         topkek.banmgr.addSoftBan(p)
  1612.     end)
  1613. end)
  1614. plrwin:drawButton(1/2,'Friendlag', function()
  1615.     tk.dp(cval, function(p)
  1616.         for i = 1, 10 do
  1617.             spawn(function()
  1618.                 while wait() do
  1619.                     game.Players.LocalPlayer:RequestFriendship(p)
  1620.                     game.Players.LocalPlayer:RevokeFriendship(p)
  1621.                 end
  1622.             end)
  1623.         end
  1624.     end)
  1625. end)
  1626. plrwin:drawButton(1/2, 'Hardban', function()
  1627.     tk.dp(cval, function(p)
  1628.         topkek.banmgr.addHardBan(p)
  1629.     end)
  1630. end)
  1631. plrwin:addSpacing()
  1632. plrwin:drawButton(1/2, 'Bring', function()
  1633.     tk.dp(cval, function(z)
  1634.         if z.Character then
  1635.             z.Character.HumanoidRootPart.CFrame =
  1636.                 game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  1637.         end
  1638.     end)
  1639. end)
  1640. plrwin:drawButton(1/2, 'Goto', function()
  1641.     tk.dp(cval, function(z)
  1642.         game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
  1643.             z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  1644.     end)
  1645. end)
  1646. plrwin:addSpacing()
  1647. plrwin:drawButton(1/3, 'Kill', function()
  1648.     tk.dp(cval, function(p)
  1649.         if p.Character and p.Character:FindFirstChild("Humanoid") then
  1650.             p.Character.Humanoid.Health = 0
  1651.         end
  1652.     end)
  1653. end)
  1654. plrwin:drawButton(1/3, 'Seizure', function()
  1655.     tk.dp(cval, function(p)
  1656.         if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
  1657.             spawn(function()
  1658.                 p.Character.Humanoid.PlatformStand = true
  1659.                 tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0)
  1660.                 repeat
  1661.                     wait()
  1662.                     p.Character.Humanoid.PlatformStand = true
  1663.                     tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  1664.                     tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1665.                 until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
  1666.             end)
  1667.         end
  1668.     end)
  1669. end)
  1670. plrwin:drawButton(1/3, 'Stun', function()
  1671.     tk.dp(cval, function(p)
  1672.         if p.Character and p.Character:FindFirstChild("Humanoid") then
  1673.             p.Character.Humanoid.PlatformStand = true
  1674.             p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  1675.         end
  1676.     end)
  1677. end)
  1678. plrwin:drawButton(1/3, 'Freeze', function()
  1679.     tk.dp(cval, function(p)
  1680.         if p.Character then
  1681.             tk.gt(p).Anchored = true
  1682.         end
  1683.     end)
  1684. end)
  1685. plrwin:drawButton(1/3, 'Thaw', function()
  1686.     tk.dp(cval, function(p)
  1687.         if p.Character then
  1688.             tk.gt(p).Anchored = false
  1689.         end
  1690.     end)
  1691. end)
  1692. plrwin:drawButton(1/3, 'Superslow', function()
  1693.     tk.dp(cval, function(p)
  1694.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  1695.             p.Character.Humanoid.WalkSpeed = 1
  1696.         end
  1697.     end)
  1698. end)
  1699. plrwin:drawButton(1/3, 'Highjump', function()
  1700.     tk.dp(cval, function(p)
  1701.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  1702.             p.Character.Humanoid.JumpPower = 125
  1703.         end
  1704.     end)
  1705. end)
  1706. plrwin:drawButton(1/3, 'God', function()
  1707.     tk.dp(cval, function(p)
  1708.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  1709.             p.Character.Humanoid.MaxHealth = math.huge
  1710.             p.Character.Humanoid.Health = math.huge
  1711.         end
  1712.     end)
  1713. end)
  1714. plrwin:drawButton(1/3, 'Semigod', function()
  1715.     tk.dp(cval, function(p)
  1716.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  1717.             p.Character.Humanoid.MaxHealth = 9e9
  1718.             p.Character.Humanoid.Health = 9e9
  1719.         end
  1720.     end)
  1721. end)
  1722. plrwin:drawButton(1/3, 'Fast', function()
  1723.     tk.dp(cval, function(p)
  1724.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  1725.             p.Character.Humanoid.WalkSpeed = 50
  1726.         end
  1727.     end)
  1728. end)
  1729. Follow = false;
  1730. plrwin:drawButton(1/3, 'Annoy', function()
  1731.     tk.dp(cval, function(p)
  1732.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  1733.             if Follow == true then
  1734.                 Follow = false; return
  1735.             else Follow = true end
  1736.             while Follow == true do
  1737.                 game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
  1738.                     p.Character.HumanoidRootPart.CFrame
  1739.                 wait()
  1740.             end
  1741.         end
  1742.     end)
  1743. end)
  1744. plrwin:drawButton(1/3, 'Freefall', function()
  1745.     tk.dp(cval, function(p)
  1746.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  1747.             p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)    
  1748.         end
  1749.     end)
  1750. end)
  1751. plrwin:drawButton(1/3, 'Destroy', function()
  1752.     tk.dp(cval, function(p)
  1753.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  1754.             p.Character.Humanoid:Destroy()
  1755.         end
  1756.     end)
  1757. end)
  1758. plrwin:drawButton(1/3, 'Fix', function()
  1759.     tk.dp(cval, function(p)
  1760.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  1761.             p.Character.Humanoid.Health = 100
  1762.             p.Character.Humanoid.MaxHealth = 100
  1763.             p.Character.Humanoid.JumpPower = 100
  1764.             p.Character.Humanoid.WalkSpeed = 16
  1765.             p.Character.Humanoid.PlatformStand = false
  1766.             p.Character.Humanoid.Jump = true
  1767.         end
  1768.     end)
  1769. end)
  1770. plrwin:drawButton(1/3, 'Respawn', function()
  1771.     tk.dp(cval, function(p)
  1772.         if p.Character then
  1773.             local a1 = Instance.new("Model", game:service'Workspace')
  1774.             local a2 = Instance.new("Part", game:service'Workspace')
  1775.             a2.CanCollide = true
  1776.             a2.Anchored = true
  1777.             a2.CFrame = CFrame.new(10000, 10000, 10000)
  1778.             a2.Name = "Torso"
  1779.             local a3 = Instance.new("Humanoid", a1)
  1780.             a3.MaxHealth=100;a3.Health=100
  1781.             p.Character = a1
  1782.             a3.Health=0
  1783.         end
  1784.     end)
  1785. end)
  1786. plrwin:addSpacing()
  1787. local nameInp
  1788. plrwin:drawButton(1/3, 'Name', function()
  1789.     tk.dp(cval, function(z)
  1790.         local Character = z.Character
  1791.         local newName = Instance.new("Model", z.Character)
  1792.         newName.Name = nameInp.Text
  1793.         local cl = Character:WaitForChild("Head"):Clone()
  1794.         cl.Parent = newName
  1795.         cl:WaitForChild("face"):Destroy()
  1796.         local hum = Instance.new("Humanoid", newName)
  1797.         hum.Name = "NameTag"
  1798.         hum.MaxHealth = 0
  1799.         hum.Health = 0
  1800.         local weld = Instance.new("Weld", cl)
  1801.         weld.Part0 = cl
  1802.         weld.Part1 = Character:WaitForChild("Head")
  1803.         Character:WaitForChild("Head").Transparency = 1
  1804.         wait(.5)
  1805.         cl.BrickColor = Character:WaitForChild("Head").BrickColor
  1806.     end)
  1807. end)
  1808. nameInp = plrwin:drawTextBox(2/3, '')
  1809. local chatInp
  1810. plrwin:drawButton(1/3, 'Chat', function()
  1811.     tk.dp(cval, function(z)
  1812.         game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
  1813.     end)
  1814. end)
  1815. chatInp = plrwin:drawTextBox(2/3, '')
  1816. local disgInp
  1817. plrwin:drawButton(1/3, 'Disguise', function()
  1818.     tk.dp(cval, function(p)
  1819.         local id = 0
  1820.         if tonumber(disgInp.Text) then
  1821.             id = tonumber(disgInp.Text)
  1822.         else
  1823.             id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
  1824.         end
  1825.         if p.Character:FindFirstChild("Humanoid") then
  1826.             p.Character.Humanoid.Health = 0
  1827.         end
  1828.         p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  1829.     end)
  1830. end)
  1831. disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
  1832. plrwin:addSpacing()
  1833. clrR = plrwin:drawTextBox(1/3, '0')
  1834. clrG = plrwin:drawTextBox(1/3, '0')
  1835. clrB = plrwin:drawTextBox(1/3, '0')
  1836. function getColor()
  1837.     local r = tonumber(clrR.Text)
  1838.     local g = tonumber(clrG.Text)
  1839.     local b = tonumber(clrB.Text)
  1840.     if not (r and g and b) then return Color3.new(0,0,0) end
  1841.     return Color3.new(r/255, g/255, b/255)
  1842. end
  1843. plrwin:drawButton(1/3, 'Sparkles', function()
  1844.     tk.dp(cval, function(z)
  1845.         Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
  1846.     end)
  1847. end)
  1848. plrwin:drawButton(1/3, 'Smoke', function()
  1849.     tk.dp(cval, function(z)
  1850.         Instance.new("Smoke", tk.gt(z)).Color = getColor()
  1851.  
  1852.     end)
  1853. end)
  1854. plrwin:drawButton(1/3, 'Fire', function()
  1855.     tk.dp(cval, function(z)
  1856.         local fr = Instance.new("Fire", tk.gt(z))
  1857.         fr.Color = getColor()
  1858.         fr.Heat = 30
  1859.         fr.Size = 20
  1860.     end)
  1861. end)
  1862. plrwin:drawButton(1/3, 'Forcefield', function()
  1863.     tk.dp(cval, function(z)
  1864.         if z.Character then
  1865.             Instance.new("ForceField", z.Character)
  1866.         end
  1867.     end)
  1868. end)
  1869. plrwin:drawButton(1/3, 'Select', function()
  1870.     tk.dp(cval, function(z)
  1871.         if z.Character and tk.gt(z) then
  1872.             Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
  1873.         end
  1874.     end)
  1875. end)
  1876. plrwin:drawButton(1/3, 'Sphere', function()
  1877.     tk.dp(cval, function(z)
  1878.         if z.Character and tk.gt(z) then
  1879.             Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
  1880.         end
  1881.     end)
  1882. end)
  1883. plrwin:drawButton(1/3, 'Fling', function()
  1884.     tk.dp(cval, function(z)
  1885.         spawn(function() --kohls admin commands lol
  1886.             if z.Character and tk.gt(z) then
  1887.                 local xran, zran
  1888.                 repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
  1889.                 repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
  1890.                 z.Character.Humanoid.Sit = true
  1891.                 tk.gt(z).Velocity = Vector3.new(0,0,0)
  1892.                 local frc = Instance.new("BodyForce", tk.gt(z))
  1893.                 frc.Name = "BFRC"
  1894.                 frc.force = Vector3.new(xran*4,9999*5,zran*4)
  1895.                 game:GetService("Debris"):AddItem(frc, 0.1)
  1896.             end
  1897.         end)
  1898.     end)
  1899. end)
  1900. plrwin:drawButton(1/3, 'Explode', function()
  1901.     tk.dp(cval, function(z)
  1902.         if z.Character and tk.gt(z) then
  1903.             local explosion = Instance.new("Explosion")
  1904.             explosion.Position = tk.gt(z).Position
  1905.             explosion.Parent = workspace
  1906.         end
  1907.     end)
  1908. end)
  1909. plrwin:drawButton(1/3, 'Nuke', function()
  1910.     tk.dp(cval, function(z)
  1911.         if z.Character and tk.gt(z) then
  1912.             local torso = tk.gt(z)
  1913.             local nuke = Instance.new("Part", game.Workspace)
  1914.             local opos = torso.CFrame
  1915.             nuke.BrickColor = BrickColor.new("Bright yellow")
  1916.             nuke.TopSurface = Enum.SurfaceType.Smooth
  1917.             nuke.BottomSurface = Enum.SurfaceType.Smooth
  1918.             nuke.Anchored = true
  1919.             nuke.CanCollide = false
  1920.             nuke.Shape = "Ball"            
  1921.             nuke.Transparency = 0.5
  1922.             nuke.CFrame = torso.CFrame     
  1923.             nuke.Size = Vector3.new(1, 1, 1)
  1924.             nuke.Touched:connect(function(p)
  1925.                 local expl = Instance.new("Explosion", p)
  1926.                 expl.BlastPressure = 50000
  1927.                 expl.BlastRadius = 50
  1928.                 expl.Position = p.Position
  1929.                 p.Material = Enum.Material.CorrodedMetal
  1930.                 p:BreakJoints()
  1931.             end)
  1932.             for i = 1, 150 do
  1933.                 nuke.Size = Vector3.new(i, i, i)
  1934.                 nuke.CFrame = opos
  1935.                 wait(0.08)
  1936.             end
  1937.             nuke:Destroy()
  1938.         end
  1939.     end)
  1940. end)
  1941. plrwin:drawButton(1/3, 'No Tools', function()
  1942.     tk.dp(cval, function(p)
  1943.         for _, t in pairs(p.Backpack:GetChildren()) do
  1944.             t:Destroy()
  1945.         end
  1946.     end)
  1947. end)
  1948. plrwin:drawButton(1/3, 'Take Tools', function()
  1949.     tk.dp(cval, function(p)
  1950.         for _, t in pairs(p.Backpack:GetChildren()) do
  1951.             t.Parent = game:service'Players'.LocalPlayer.Backpack
  1952.         end
  1953.     end)
  1954. end)
  1955. plrwin:drawButton(1/3, 'BTools', function()
  1956.     tk.dp(cval, function(p)
  1957.         local a = Instance.new("HopperBin")
  1958.         a.BinType = "GameTool"
  1959.         a.Parent = p.Backpack
  1960.         local a = Instance.new("HopperBin")
  1961.         a.BinType = "Clone"
  1962.         a.Parent = p.Backpack
  1963.         local a = Instance.new("HopperBin")
  1964.         a.BinType = "Hammer"
  1965.         a.Parent = p.Backpack
  1966.     end)
  1967. end)
  1968. plrwin:drawButton(1/3, 'Hotdog', function()
  1969.     tk.dp(cval, function(p)
  1970.         if p.Character and tk.gt(p) then
  1971.             topkek.tools.util.weenieHutJunior(p)
  1972.         end
  1973.     end)
  1974. end)
  1975. plrwin:drawButton(1/3, 'Quicksand', function()
  1976.     tk.dp(cval, function(z)
  1977.         if z.Character and z.Character:FindFirstChild("Humanoid") then
  1978.             local tor = tk.gt(z)
  1979.             local hole = Instance.new("Part", z.Character)
  1980.             hole.Anchored = true
  1981.             hole.Name = "Hole"
  1982.             hole.FormFactor = Enum.FormFactor.Custom
  1983.             hole.Size = Vector3.new(7, 1, 7)
  1984.             hole.CanCollide = false
  1985.             hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
  1986.             hole.BrickColor = BrickColor.new("Cool yellow")
  1987.             hole.Material = Enum.Material.Sand
  1988.             local hm = Instance.new("CylinderMesh", hole)
  1989.             tor.Anchored = true
  1990.             if z.Character:FindFirstChild("Humanoid") then
  1991.                 z.Character.Humanoid.Jump = true
  1992.             end
  1993.             for x,m in pairs(z.Character:GetChildren()) do
  1994.                 if m:IsA("BasePart") or m:IsA("MeshPart") then
  1995.                     m.CanCollide = false
  1996.                 end
  1997.             end
  1998.             for i=1,75 do
  1999.                 tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  2000.                 wait(0.06)
  2001.             end
  2002.             tor.CFrame=tor.CFrame*CFrame.new(0,
  2003.                 -500,0
  2004.             )
  2005.             z.Character.Humanoid.Health = 0
  2006.         end
  2007.     end)
  2008. end)
  2009. plrwin:drawButton(1/3, 'Insane', function()
  2010.     tk.dp(cval, function(p)
  2011.         if p.Character and tk.gt(p) then
  2012.             for i,v in pairs(tk.gt(p):GetChildren()) do
  2013.                 if v:IsA("Motor6D") then
  2014.                     spawn(function()
  2015.                         while v do
  2016.                             v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  2017.                             wait()
  2018.                         end
  2019.                     end)
  2020.                 end
  2021.             end
  2022.         end
  2023.     end)
  2024. end)
  2025. plrwin:drawButton(1/3, 'Invisible', function()
  2026.     tk.dp(cval, function(p)
  2027.         tk.rco(p.Character, 'BasePart', 'Transparency', 1)
  2028.         tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
  2029.     end)
  2030. end)
  2031. plrwin:drawButton(1/3, 'Visible', function()
  2032.     tk.dp(cval, function(p)
  2033.         tk.rco(p.Character, 'BasePart', 'Transparency', 0)
  2034.         tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
  2035.     end)
  2036. end)
  2037. plrwin:drawButton(1/3, 'Bighead', function()
  2038.     tk.dp(cval, function(z)
  2039.         if z.Character then
  2040.             if z.Character:FindFirstChild('Head') then
  2041.                 z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
  2042.             end
  2043.         end
  2044.     end)
  2045. end)
  2046. plrwin:drawButton(1/3, 'Goldify', function()
  2047.     tk.dp(cval, function(z)
  2048.         if z.Character then
  2049.             tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
  2050.             tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
  2051.             tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
  2052.             tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
  2053.         end
  2054.     end)
  2055. end)
  2056. plrwin:drawButton(1/3, 'Neon', function()
  2057.     tk.dp(cval, function(z)
  2058.         if z.Character then
  2059.             tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
  2060.             tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
  2061.         end
  2062.     end)
  2063. end)
  2064. plrwin:drawButton(1/3, 'Shiny', function()
  2065.     tk.dp(cval, function(z)
  2066.         if z.Character then
  2067.             tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
  2068.             tk.rcm(z.Character, 'MeshPart')
  2069.         end
  2070.     end)
  2071. end)
  2072. plrwin:drawButton(1/3, 'Shrek', function()
  2073.     tk.dp(cval, function(z)
  2074.         if z.Character then
  2075.             local pchar = z.Character
  2076.             for i,v in pairs(pchar:GetChildren()) do
  2077.                 if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  2078.                     v:Destroy()
  2079.                 end
  2080.             end
  2081.             for i,v in pairs(pchar.Head:GetChildren()) do
  2082.                 if v:IsA("Decal") or v:IsA("SpecialMesh") then
  2083.                     v:Destroy()
  2084.                 end
  2085.             end
  2086.            
  2087.             local mesh = Instance.new("SpecialMesh", pchar.Head)
  2088.             mesh.MeshType = "FileMesh"
  2089.             pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  2090.             pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  2091.             pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  2092.            
  2093.             local Shirt = Instance.new("Shirt", z.Character)
  2094.             local Pants = Instance.new("Pants", z.Character)
  2095.            
  2096.             Shirt.ShirtTemplate = "rbxassetid://133078194"
  2097.             Pants.PantsTemplate = "rbxassetid://133078204"
  2098.         end
  2099.     end)
  2100. end)
  2101. plrwin:drawButton(1/3, 'Duck', function()
  2102.     tk.dp(cval, function(z)
  2103.         if z.Character then
  2104.             local pchar = z.Character
  2105.             for i,v in pairs(pchar:GetChildren()) do
  2106.                 if v:IsA("Hat") or v:IsA("Accessory") then
  2107.                     v:Destroy()
  2108.                 end
  2109.             end
  2110.             local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
  2111.             duck.MeshType = "FileMesh"
  2112.             duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  2113.             duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  2114.             duck.Scale = Vector3.new(5, 5, 5)
  2115.             tk.rco(z.Character, 'Instance', 'Transparency', 1)
  2116.             z.Character.HumanoidRootPart.Transparency = 0
  2117.         end
  2118.     end)
  2119. end)
  2120. plrwin:drawButton(1/3, 'Spheres', function()
  2121.     tk.dp(cval, function(z)
  2122.         if z.Character then
  2123.             tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
  2124.         end
  2125.     end)
  2126. end)
  2127. plrwin:drawButton(1/3, 'Big', function()
  2128.     tk.dp(cval, function(z)
  2129.         if z.Character then
  2130.             topkek.tools.util.scalePlayer(5, z)
  2131.         end
  2132.     end)
  2133. end)
  2134. plrwin:drawButton(1/3, 'Small', function()
  2135.     tk.dp(cval, function(z)
  2136.         if z.Character then
  2137.             topkek.tools.util.scalePlayer(5, z)
  2138.         end
  2139.     end)
  2140. end)
  2141. plrwin:drawButton(1/3, 'Giraffe', function()
  2142.     tk.dp(cval, function(z)
  2143.         if z.Character then
  2144.             local char=z.Character
  2145.             local h=char.Head
  2146.             local tor=char:FindFirstChild("Torso")
  2147.             if not tor then return end
  2148.             tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  2149.             local fn=Instance.new("Part",char)
  2150.             fn.Size=Vector3.new(1,5.5,1)
  2151.             fn.Name="FakeNeck"
  2152.             fn.Anchored=false
  2153.             fn.CanCollide=false
  2154.             if char:FindFirstChild("Body Colors") then
  2155.                 fn.BrickColor=char["Body Colors"].HeadColor
  2156.             end
  2157.             local cm=Instance.new("CylinderMesh",fn)
  2158.             local we=Instance.new("Weld",h)
  2159.             we.Part0=h
  2160.             we.Part1=fn
  2161.             we.C1=we.C1*CFrame.new(0,2.6,0)
  2162.         end
  2163.     end)
  2164. end)
  2165. plrwin:drawButton(1/3, 'Dab', function()
  2166.     tk.dp(cval, function(z)
  2167.         if z.Character and z.Character:FindFirstChild("Torso") then
  2168.             local chr = z.Character
  2169.             chr.Animate.Disabled = true
  2170.             chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346)
  2171.             chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008)
  2172.             chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124)
  2173.         end
  2174.     end)
  2175. end)
  2176. plrwin:drawButton(1/3, 'Force Follow', function()
  2177.     tk.dp(cval, function(z)
  2178.         game:GetService("RunService"):BindToRenderStep("_", 0, function()
  2179.             z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
  2180.         end)
  2181.     end)
  2182. end)
  2183. plrwin:drawButton(1/3, 'Camlock', function()
  2184.     tk.dp(cval, function(z)
  2185.         z.CameraMode = "LockFirstPerson"
  2186.     end)
  2187. end)
  2188. --// SERVER //--
  2189. local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
  2190. local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
  2191. detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
  2192. detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
  2193. detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
  2194. detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
  2195. servwin:drawButton(1/2, 'Shutdown', function()
  2196.     workspace.Gravity = 0/0
  2197. end)
  2198. servwin:drawButton(1/2, 'Clear', function()
  2199.     for i,v in pairs(game:service'Workspace':GetChildren()) do
  2200.         if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  2201.             v:Destroy()
  2202.         end
  2203.     end
  2204. end)
  2205. servwin:drawButton(1/2, 'Baseplate', function()
  2206.     for X = -2500, 2500, 512 do
  2207.         for Z = -2500, 2500, 512 do
  2208.             local P = Instance.new("Part")
  2209.             P.Anchored = true
  2210.             P.Locked = true
  2211.             P.Size = Vector3.new(512,3,512)
  2212.             P.CFrame = CFrame.new(X,0,Z)
  2213.             P.BrickColor = BrickColor.Green()
  2214.             P.Parent = game:service'Workspace'
  2215.         end
  2216.     end
  2217. end)
  2218. servwin:drawButton(1/2, 'Reset', function()
  2219.     for i,v in pairs(game:service'Workspace':GetChildren()) do
  2220.         if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  2221.             v:Destroy()
  2222.         end
  2223.     end
  2224.     for X = -2500, 2500, 512 do
  2225.         for Z = -2500, 2500, 512 do
  2226.             local P = Instance.new("Part")
  2227.             P.Anchored = true
  2228.             P.Locked = true
  2229.             P.Size = Vector3.new(512,3,512)
  2230.             P.CFrame = CFrame.new(X,0,Z)
  2231.             P.BrickColor = BrickColor.Green()
  2232.             P.Parent = game:service'Workspace'
  2233.         end
  2234.     end
  2235.     for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  2236.         local a1 = Instance.new("Model", game:service'Workspace')
  2237.         local a2 = Instance.new("Part", game:service'Workspace')
  2238.         a2.CanCollide = true
  2239.         a2.Anchored = true
  2240.         a2.CFrame = CFrame.new(10000, 10000, 10000)
  2241.         a2.Name = "Torso"
  2242.         local a3 = Instance.new("Humanoid", a1)
  2243.         a3.MaxHealth=100;a3.Health=100
  2244.         v.Character = a1
  2245.         a3.Health=0
  2246.     end
  2247. end)
  2248. servwin:drawButton(1, 'Remove Sounds', function()
  2249.     tk.rcm(game, 'Sound')
  2250. end)
  2251. servwin:addSpacing()
  2252. servwin:drawButton(1, 'Break All', function()
  2253.     workspace:BreakJoints(workspace:GetChildren())
  2254. end)
  2255. local gravInp
  2256. servwin:drawButton(1/3, 'Gravity', function()
  2257.     if not tonumber(gravInp.Text) then return end
  2258.     workspace.Gravity = tonumber(gravInp.Text)
  2259. end)
  2260. gravInp = servwin:drawTextBox(2/3, '')
  2261. servwin:addSpacing()
  2262. servwin:drawButton(1, 'Reset Lighting', function()
  2263.     local l = game:service'Lighting'
  2264.     l.Ambient = Color3.new(0, 0, 0)
  2265.     l.Brightness = 1
  2266.     l.GlobalShadows = true
  2267.     l.Outlines = true
  2268.     l.FogEnd = 100000
  2269.     l.FogStart = 0
  2270.     l:SetMinutesAfterMidnight(12*60)
  2271. end)
  2272. local brightInp
  2273. servwin:drawButton(1/3, 'Brightness', function()
  2274.     if not tonumber(brightInp.Text) then return end
  2275.     game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
  2276. end)
  2277. brightInp = servwin:drawTextBox(2/3, '100')
  2278. local fogInp
  2279. servwin:drawButton(1/3, 'Fog', function()
  2280.     if not tonumber(fogInp.Text) then return end
  2281.     game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
  2282. end)
  2283. fogInp = servwin:drawTextBox(2/3, '0')
  2284. local timeInp
  2285. servwin:drawButton(1/3, 'Hour', function()
  2286.     if not tonumber(timeInp.Text) then return end
  2287.     game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
  2288. end)
  2289. timeInp = servwin:drawTextBox(2/3, '12')
  2290. servwin:addSpacing()
  2291. -- private server crap
  2292. local privateToggle
  2293. local privStatus = false
  2294. privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
  2295.     if privStatus == false then
  2296.         privStatus = true
  2297.         privateToggle.Text = 'Private Server ON'
  2298.         topkek.banmgr.makePrivate()
  2299.     else
  2300.         privateToggle.Text = 'Private Server OFF'
  2301.         topkek.banmgr.unprivate()
  2302.     end
  2303. end)
  2304. servwin:addSpacing()
  2305. servwin:drawText(1, 'Whitelist')
  2306. local plrAddInp
  2307. servwin:drawButton(1/3, 'Add', function()
  2308.     topkek.banmgr.doWhitelist(plrAddInp.Text)
  2309.     ReorderWL()
  2310. end)
  2311. plrAddInp = servwin:drawTextBox(2/3, '')
  2312. wlCont = servwin:drawScrollingContainer(100)
  2313. function ReorderWL()
  2314.     local wl = topkek.banmgr.whitelist
  2315.     for i,v in pairs(wlCont:GetChildren()) do
  2316.         v:Destroy()
  2317.     end
  2318.     wlCont:setDrawY(3)
  2319.     for i,v in pairs(wl) do
  2320.         wlCont:drawText(2/3, v)
  2321.         wlCont:drawButton(1/3, 'Remove', function()
  2322.             topkek.banmgr.unwhitelist(v)
  2323.             ReorderWL()
  2324.         end)
  2325.     end
  2326. end
  2327. ReorderWL()
  2328. --// LOCALPLAYER //--
  2329. local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
  2330. lpwin:drawButton(1, 'Reset Camera', function()
  2331.     game.Workspace.CurrentCamera:remove()
  2332.     wait(.1)
  2333.     game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or
  2334.         game.Workspace[topkek.lplr.Name].Humanoid
  2335.     game.Workspace.CurrentCamera.CameraType = "Custom"
  2336. end)
  2337. lpwin:drawButton(1, 'Respawn', function()
  2338.     local a1 = Instance.new("Model", game:service'Workspace')
  2339.     local a2 = Instance.new("Part", game:service'Workspace')
  2340.     a2.CanCollide = true
  2341.     a2.Anchored = true
  2342.     a2.CFrame = CFrame.new(10000, 10000, 10000)
  2343.     a2.Name = "Torso"
  2344.     local a3 = Instance.new("Humanoid", a1)
  2345.     a3.MaxHealth=100;a3.Health=100
  2346.     topkek.lplr.Character = a1
  2347.     a3.Health=0
  2348. end)
  2349. lpwin:drawButton(1, 'Rejoin', function()
  2350.     game:GetService('TeleportService'):Teleport(game.PlaceId)
  2351. end)
  2352. lpwin:addSpacing()
  2353. lpwin:drawButton(1/2, 'God', function()
  2354.     if topkek.lplr.Character:FindFirstChild("Humanoid") then
  2355.         topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  2356.         topkek.lplr.Character.Humanoid.Health = math.huge
  2357.     end
  2358. end)
  2359. lpwin:drawButton(1/2, 'Semigod', function()
  2360.     if topkek.lplr.Character:FindFirstChild("Humanoid") then
  2361.         topkek.lplr.Character.Humanoid.MaxHealth = 9e9
  2362.         topkek.lplr.Character.Humanoid.Health = 9e9
  2363.     end
  2364. end)
  2365. Loopgod = false
  2366. lpwin:drawButton(1, 'Loopgod', function()
  2367.     if Loopgod == false then
  2368.         Loopgod = true
  2369.         spawn(function()
  2370.             repeat
  2371.                 topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  2372.                 topkek.lplr.Character.Humanoid.Health = math.huge
  2373.                 wait()
  2374.             until Loopgod == false
  2375.         end)   
  2376.     else
  2377.         Loopgod = false
  2378.     end
  2379. end)
  2380. lpwin:addSpacing()
  2381. plrwin:addSpacing()
  2382. local Lev, Clip, Fly
  2383. lpwin:drawButton(1/2, 'Levitate', function()
  2384.     if Lev == true then
  2385.         Lev = false
  2386.         return
  2387.     end
  2388.     Lev = true
  2389.     repeat
  2390.         topkek.lplr.Character.Humanoid:ChangeState(10)
  2391.         wait(0)
  2392.     until Lev == false
  2393. end)
  2394. lpwin:drawButton(1/2, 'Noclip', function()
  2395.     if Clip == true then
  2396.         Clip = false
  2397.         return
  2398.     end
  2399.     Clip = true
  2400.     game:GetService("RunService").Stepped:connect(function()
  2401.         tk.gt(topkek.lplr).CanCollide = not Clip
  2402.         topkek.lplr.Character.Head.CanCollide = not Clip
  2403.         topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  2404.         if topkek.lplr.Character.UpperTorso then
  2405.             topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  2406.         end
  2407.     end)
  2408.     topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
  2409.         tk.gt(topkek.lplr).CanCollide = not Clip
  2410.         topkek.lplr.Character.Head.CanCollide = not Clip
  2411.         topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  2412.         if topkek.lplr.Character.UpperTorso then
  2413.             topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  2414.         end
  2415.     end)
  2416. end)
  2417. lpwin:drawButton(1/2, 'Fly', function()
  2418.     if Fly == true then
  2419.         Fly = false
  2420.         return
  2421.     end
  2422.     Fly = true
  2423.   local mouse=game.Players.LocalPlayer:GetMouse''
  2424.   localplayer=game.Players.LocalPlayer
  2425.   game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  2426.   local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  2427.   local speed=0
  2428.   local keys={a=false,d=false,w=false,s=false}
  2429.   local e1
  2430.   local e2
  2431.   local function start()
  2432.    local pos = Instance.new("BodyPosition",torso)
  2433.    local gyro = Instance.new("BodyGyro",torso)
  2434.    pos.Name="EPIXPOS"
  2435.    pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2436.    pos.position = torso.Position
  2437.    gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2438.    gyro.cframe = torso.CFrame
  2439.    repeat
  2440.     wait()
  2441.     localplayer.Character.Humanoid.PlatformStand=true
  2442.     local new=gyro.cframe - gyro.cframe.p + pos.position
  2443.     if not keys.w and not keys.s and not keys.a and not keys.d then
  2444.      speed=1
  2445.     end
  2446.     if keys.w then
  2447.      new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2448.      speed=speed+0.01
  2449.     end
  2450.     if keys.s then
  2451.      new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2452.      speed=speed+0.01
  2453.     end
  2454.     if keys.d then
  2455.      new = new * CFrame.new(speed,0,0)
  2456.      speed=speed+0.01
  2457.     end
  2458.     if keys.a then
  2459.      new = new * CFrame.new(-speed,0,0)
  2460.      speed=speed+0.01
  2461.     end
  2462.     if speed>5 then
  2463.      speed=5
  2464.     end
  2465.     pos.position=new.p
  2466.     if keys.w then
  2467.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  2468.     elseif keys.s then
  2469.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  2470.     else
  2471.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  2472.     end
  2473.    until not Fly
  2474.    if gyro then gyro:Destroy() end
  2475.    if pos then pos:Destroy() end
  2476.    flying=false
  2477.    localplayer.Character.Humanoid.PlatformStand=false
  2478.    speed=0
  2479.   end
  2480.   e1=mouse.KeyDown:connect(function(key)
  2481.    if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  2482.    if key=="w" then
  2483.     keys.w=true
  2484.    elseif key=="s" then
  2485.     keys.s=true
  2486.    elseif key=="a" then
  2487.     keys.a=true
  2488.    elseif key=="d" then
  2489.     keys.d=true
  2490.    end
  2491.   end)
  2492.   e2=mouse.KeyUp:connect(function(key)
  2493.    if key=="w" then
  2494.     keys.w=false
  2495.    elseif key=="s" then
  2496.     keys.s=false
  2497.    elseif key=="a" then
  2498.     keys.a=false
  2499.    elseif key=="d" then
  2500.     keys.d=false
  2501.    end
  2502.   end)
  2503.   start()
  2504. end)
  2505. lpwin:drawButton(1/2, 'Highjump', function()
  2506.     local thrust = Instance.new("BodyVelocity")
  2507.     game:GetService('UserInputService').InputBegan:connect(function(i, b)
  2508.         if i.KeyCode == Enum.KeyCode.Space then
  2509.             print("Got jump")
  2510.             coroutine.resume(coroutine.create(function()
  2511.                 thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  2512.                 thrust.velocity = Vector3.new(0,50,0)
  2513.                 thrust.maxForce = Vector3.new(0,4e+050,0)
  2514.                 wait(0.2)
  2515.                 thrust.Parent = nil
  2516.             end))
  2517.         end
  2518.     end)
  2519. end)
  2520. lpwin:addSpacing()
  2521. local apprInp
  2522. lpwin:drawButton(1/3, 'Appearance', function()
  2523.     local id = 0
  2524.     if tonumber(apprInp.Text) then
  2525.         id = tonumber(apprInp.Text)
  2526.     else
  2527.         id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
  2528.     end
  2529.     if topkek.lplr.Character:FindFirstChild("Humanoid") then
  2530.         topkek.lplr.Character.Humanoid.Health = 0
  2531.     end
  2532.     topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  2533. end)
  2534. apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
  2535. local teamInp
  2536. lpwin:drawButton(1/3, 'Team', function()
  2537.     topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
  2538. end)
  2539. teamInp = lpwin:drawTextBox(2/3, 'Bright red')
  2540. lpwin:drawButton(1/2, 'Naked', function()
  2541.     topkek.lplr:ClearCharacterAppearance()
  2542. end)
  2543. lpwin:drawButton(1/2, 'Neutral', function()
  2544.     topkek.lplr.Neutral = true
  2545. end)
  2546. lpwin:addSpacing()
  2547. lpwin:drawButton(1/2, 'Orb', function()
  2548.     game.Players.LocalPlayer.Character = nil
  2549.     --lp:Destroy()
  2550.     local cam = game.Workspace.CurrentCamera
  2551.     local m = Instance.new("Model", game.Workspace)
  2552.     m.Name = game.Players.LocalPlayer.Name
  2553.     local hum = Instance.new("Humanoid", m)
  2554.     hum.Health = 0
  2555.     hum.MaxHealth = 0
  2556.     local orb = Instance.new("Part", m)
  2557.     orb.Size = Vector3.new(1, 1, 1)
  2558.     orb.Shape = "Ball"
  2559.     orb.Name = "Head"
  2560.     orb.Anchored = true
  2561.     orb.CanCollide = true
  2562.     orb.BottomSurface = Enum.SurfaceType.Smooth
  2563.     orb.TopSurface = Enum.SurfaceType.Smooth
  2564.     orb.Transparency = 0
  2565.     spawn(function()
  2566.         while true do
  2567.             wait(0.1)
  2568.             if orb then
  2569.                 orb.BrickColor = BrickColor.Random()
  2570.             else break end
  2571.         end
  2572.     end)
  2573.     cam.CameraSubject = orb
  2574.     cam.CameraType = Enum.CameraType.Fixed
  2575.     game:GetService("RunService").RenderStepped:connect(function()
  2576.         orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  2577.     end)
  2578.     game.Players.LocalPlayer.Chatted:connect(function(a)
  2579.         game:GetService("Chat"):Chat(orb, a)
  2580.     end)
  2581. end)
  2582. lpwin:drawButton(1/2, 'Freecam', function()
  2583.     local cam = game.Workspace.CurrentCamera
  2584.     cam.CameraType = "Fixed"
  2585.     cam.CameraSubject = nil
  2586.     topkek.lplr.Character = nil
  2587. end)
  2588. lpwin:drawButton(1/2, 'NoGrav', function()
  2589.     if topkek.lplr.Character then
  2590.         for x,m in pairs(topkek.lplr.Character:GetChildren()) do
  2591.             if m:IsA("BasePart") then
  2592.                 local bf = Instance.new("BodyForce", m)
  2593.                 bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  2594.             end
  2595.             if m:IsA("Hat") or m:IsA("Accessory") then
  2596.                 if m:findFirstChild("Handle") then
  2597.                     local bf = Instance.new("BodyForce", m.Handle)
  2598.                     bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  2599.                 end
  2600.             end
  2601.         end
  2602.     end
  2603. end)
  2604. lpwin:drawButton(1/2, 'Trowel', function()
  2605.     topkek.tools.util.trowel()
  2606. end)
  2607. lpwin:addSpacing()
  2608. lpwin:drawButton(1/2, 'Fedora', function()
  2609.     local hats={
  2610.         98346834,
  2611.         215751161,
  2612.         119916949,
  2613.         72082328,
  2614.         147180077,
  2615.         100929604,
  2616.         63043890,
  2617.         1285307,
  2618.         1029025,
  2619.         334663683,
  2620.         259423244
  2621.     }
  2622.     game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
  2623. end)
  2624. lpwin:drawButton(1/2, 'Rainbow Name', function()
  2625.     topkek.lplr.Neutral = false
  2626.     repeat
  2627.         wait()
  2628.         topkek.lplr.TeamColor = BrickColor.Random()
  2629.     until not topkek.lplr.Character.Humanoid
  2630. end)
  2631. local tagInp
  2632. lpwin:drawButton(1/3, 'Tag', function()
  2633.     local len = 10
  2634.     local bb = Instance.new("BillboardGui")
  2635.     bb.Parent = topkek.lplr.Character.Head
  2636.     bb.Adornee = topkek.lplr.Character.Head
  2637.     bb.AlwaysOnTop = true
  2638.     bb.Enabled = true
  2639.     bb.Size = UDim2.new(len, 0, 1.5, 0)
  2640.     bb.Name = "tag"
  2641.     bb.StudsOffset = Vector3.new(0, 3, 0)
  2642.     --local fr = Instance.new("Frame")
  2643.     --fr.Parent = bb
  2644.     --fr.Size = UDim2.new(1, 0, 1, 0)
  2645.     --fr.Style = Enum.FrameStyle.RobloxRound
  2646.     local tl = Instance.new("TextLabel")
  2647.     tl.Parent = bb
  2648.     tl.Font = Enum.Font.Code
  2649.     tl.BackgroundTransparency = 1
  2650.     tl.TextScaled = true
  2651.     tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  2652.     tl.Size = UDim2.new(1, 0, 1, 0)
  2653.     tl.Text = tagInp.Text
  2654.     tl.Name = "trutag"
  2655.     tl.Visible = true
  2656.     tl.ZIndex = 2
  2657. end)
  2658. tagInp = lpwin:drawTextBox(2/3, '')
  2659. --// SCRIPTS //--
  2660. local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
  2661. local search = scriptwin:drawTextBox(1,'')
  2662. local origy = scriptwin:getDrawY()
  2663. scriptwin:addSpacing()
  2664. scriptwin:addSpacing()
  2665. local scripts = game:GetObjects("rbxassetid://376553985")[1]
  2666. local container = {}
  2667. function MakeList(condition)
  2668.     for i,v in pairs(scriptwin:GetChildren()) do
  2669.         if v.Name == "Script" then
  2670.             v:Destroy()
  2671.         end
  2672.     end
  2673.     scriptwin:setDrawY(origy)
  2674.     for i, v in pairs(scripts:GetChildren()) do
  2675.         if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
  2676.             local scr = scriptwin:drawButton(1, v.Name, function()
  2677.                 spawn(function() loadstring(v.Source)() end)
  2678.             end, 25)
  2679.             scr.Name = 'Script'
  2680.         end
  2681.     end
  2682. end
  2683. game:GetService("UserInputService").InputChanged:connect(function(inp)
  2684.     if inp.UserInputType == Enum.UserInputType.TextInput then
  2685.         if search:IsFocused() then
  2686.             MakeList(search.Text)
  2687.         end
  2688.     end
  2689. end)
  2690. MakeList('')
  2691. --// DESTRUCTION // --
  2692. local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
  2693. local decals, seldec = destwin:drawScrollingContainer(100)
  2694. seldec = destwin:drawText(1, 'Selected Decal: None')
  2695. cursel = nil
  2696. local decs = {
  2697.     {'Rain', '574772793'},
  2698.     {'Robbie', '574773630'},
  2699.     {'Pepe', '244905904'},
  2700.     {'Troll Face', '48308661'},
  2701.     {'Jeff', '109129888'},
  2702.     {'Shrek', '170539018'},
  2703.     {'Doge', '133720697'},
  2704.     {'Dat Boi', '409578848'},
  2705. }
  2706. for _, v in pairs(decs) do
  2707.     local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
  2708.     topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  2709. end
  2710. destwin:drawButton(1, 'Spam Decal', function()
  2711.     if cursel ~= nil then
  2712.         topkek.tools.util.recurseDecal(tonumber(cursel))
  2713.     end
  2714. end)
  2715. destwin:drawButton(1, 'Spam Particles', function()
  2716.     if cursel ~= nil then
  2717.         topkek.tools.util.recurseParticles(tonumber(cursel))
  2718.     end
  2719. end)
  2720. destwin:drawButton(1, 'Spam Both', function()
  2721.     if cursel ~= nil then
  2722.         topkek.tools.util.recurseUltimate(tonumber(cursel))
  2723.     end
  2724. end)
  2725. destwin:drawButton(1, 'Rollback', function()
  2726.     tk.rcm(workspace, 'Decal')
  2727.     tk.rcm(workspace, 'ParticleEmitter')
  2728. end)
  2729. destwin:addSpacing()
  2730. destwin:drawButton(1, '666', function()
  2731.     for i,v in next,workspace:children''do
  2732.         if(v:IsA'BasePart')then
  2733.         me=v;
  2734.         bbg=Instance.new('BillboardGui',me);
  2735.         bbg.Name='stuf';
  2736.         bbg.Adornee=me;
  2737.         bbg.Size=UDim2.new(2.5,0,2.5,0)
  2738.         --bbg.StudsOffset=Vector3.new(0,2,0)
  2739.         tlb=Instance.new'TextLabel';
  2740.         tlb.Text='666 666 666 666 666 666';
  2741.         tlb.Font='SourceSansBold';
  2742.         tlb.FontSize='Size48';
  2743.         tlb.TextColor3=Color3.new(1,0,0);
  2744.         tlb.Size=UDim2.new(1.25,0,1.25,0);
  2745.         tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  2746.         tlb.BackgroundTransparency=1;
  2747.         tlb.Parent=bbg;
  2748.         end;end;
  2749.         --coroutine.wrap(function()while wait''do
  2750.           s=Instance.new'Sound';
  2751.           s.Parent=workspace;
  2752.           s.SoundId='rbxassetid://152840862';
  2753.           s.Pitch=1;
  2754.           s.Volume=1;
  2755.           s.Looped=true;
  2756.           s:play();
  2757.           --end;end)();
  2758.           function xds(dd)
  2759.             for i,v in next,dd:children''do
  2760.               if(v:IsA'BasePart')then
  2761.                 v.BrickColor=BrickColor.new'Really black';
  2762.                 v.TopSurface='Smooth';
  2763.                 v.BottomSurface='Smooth';
  2764.                 s=Instance.new('SelectionBox',v);
  2765.                 s.Adornee=v;
  2766.                 s.Color=BrickColor.new'Really red';
  2767.                 a=Instance.new('PointLight',v);
  2768.                 a.Color=Color3.new(1,0,0);
  2769.                 a.Range=15;
  2770.                 a.Brightness=5;
  2771.                 f=Instance.new('Fire',v);
  2772.                 f.Size=19;
  2773.                 f.Heat=22;
  2774.                 end;
  2775.                 game.Lighting.TimeOfDay=0;
  2776.                 game.Lighting.Brightness=0;
  2777.                 game.Lighting.ShadowColor=Color3.new(0,0,0);
  2778.                 game.Lighting.Ambient=Color3.new(1,0,0);
  2779.                 game.Lighting.FogEnd=200;
  2780.                 game.Lighting.FogColor=Color3.new(0,0,0);
  2781.             local dec = 'http://www.roblox.com/asset/?id=19399245';
  2782.                 local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  2783.                 --coroutine.wrap(function()
  2784.                 --for _,__ in pairs(fac) do
  2785.                 --local ddec = Instance.new("Decal", v)
  2786.                 --ddec.Face = __
  2787.                 --ddec.Texture = dec
  2788.             --end end)()
  2789.                 if #(v:GetChildren())>0 then
  2790.                        xds(v)
  2791.                   end
  2792.              end
  2793.         end
  2794.     xds(game.Workspace)
  2795. end)
  2796. destwin:drawButton(1, 'Troll', function()
  2797.     topkek.tools.util.recurseUltimate('48308661')
  2798.     tk.play(154664102)
  2799. end)
  2800. destwin:addSpacing()
  2801. destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
  2802.     local materiallist =
  2803.     {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  2804.         Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  2805.         Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  2806.         Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  2807.         Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  2808.     local function r(where)
  2809.         for _,v in pairs (where:GetChildren()) do
  2810.         if v:IsA("BasePart") then
  2811.         spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait()   end end) end r(v) end end r(workspace)
  2812. end)
  2813. destwin:drawButton(1/2,'Materialize',function()
  2814.     local function r(where)
  2815.     for _,v in pairs (where:GetChildren()) do
  2816.     if v:IsA("BasePart") then
  2817.     spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait()   end end) end r(v) end end r(workspace)
  2818. end)
  2819. destwin:drawButton(1/2,'Meshify',function()
  2820.     local enums={
  2821.         Enum.MeshType.Head;
  2822.         Enum.MeshType.Torso;
  2823.         Enum.MeshType.Wedge;
  2824.         Enum.MeshType.Brick;
  2825.         Enum.MeshType.Sphere;
  2826.         Enum.MeshType.Cylinder;
  2827.     }
  2828.     tk.rcf('BasePart',function(o)
  2829.         local mesh = Instance.new('SpecialMesh', o)
  2830.         mesh.MeshType = enums[math.random(1,#enums)]
  2831.     end)
  2832. end)
  2833. destwin:drawButton(1/2,'Loop-Meshify',function()
  2834.     coroutine.wrap(function()
  2835.         while true do
  2836.             local enums={
  2837.                 Enum.MeshType.Head;
  2838.                 Enum.MeshType.Torso;
  2839.                 Enum.MeshType.Wedge;
  2840.                 Enum.MeshType.Brick;
  2841.                 Enum.MeshType.Sphere;
  2842.                 Enum.MeshType.Cylinder;
  2843.             }
  2844.             tk.rcf('BasePart',function(o)
  2845.                 if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  2846.                 local mesh = Instance.new('SpecialMesh', o)
  2847.                 mesh.MeshType = enums[math.random(1,#enums)]
  2848.             end)
  2849.             wait(0.5)
  2850.         end
  2851.     end)()
  2852. end)
  2853. destwin:addSpacing()
  2854. destwin:drawButton(1, 'Rotations', function()
  2855.     tk.rcf('BasePart', function(o)
  2856.         o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  2857.     end)
  2858. end)
  2859. destwin:drawButton(1, 'Collisions', function()
  2860.     tk.rcf('BasePart', function(o)
  2861.         o.CanCollide = false
  2862.     end)
  2863. end)
  2864. destwin:drawButton(1, 'Velocity', function()
  2865.     tk.rcf('BasePart', function(o)
  2866.         o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  2867.     end)
  2868. end)
  2869. destwin:drawButton(1, 'Invisiblity', function()
  2870.     tk.rcf('BasePart', function(o)
  2871.         o.Transparency = 1
  2872.     end)
  2873. end)
  2874. destwin:drawButton(1, 'BreakJoints', function()
  2875.     tk.rcf('Model', function(o)
  2876.         o:BreakJoints()
  2877.     end)
  2878. end)
  2879. destwin:drawButton(1, 'Forces', function()
  2880.     tk.rcf('BasePart', function(o)
  2881.         local bf = Instance.new("BodyForce", o)
  2882.         bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
  2883.     end)
  2884. end)
  2885. destwin:drawButton(1, 'Brightness', function()
  2886.     tk.rcf('BasePart', function(o)
  2887.         local light = Instance.new("SpotLight", o)
  2888.         light.Brightness = 9e9
  2889.         light.Range = 60
  2890.     end)
  2891. end)
  2892. --// CATALOG //--
  2893. local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
  2894. local page, currentkeyword = 1, ""
  2895. local searchbar, search, makeCatalog, res = 0, 0, 0, {}
  2896. local searchbar = catwin:drawTextBox(2/3,'')
  2897. local search = catwin:drawButton(1/3, 'Search', function()
  2898.     page = 1
  2899.     currentkeyword = searchbar.Text
  2900.     makeCatalog(currentkeyword, page)
  2901. end)
  2902. local previous = catwin:drawButton(1/2, 'Previous Page', function()
  2903.     if page > 1 then
  2904.         page = page - 1
  2905.         makeCatalog(currentkeyword, page)
  2906.     end
  2907. end)
  2908. local previous = catwin:drawButton(1/2, 'Next Page', function()
  2909.     if page >= 1 then
  2910.         page = page + 1
  2911.         makeCatalog(currentkeyword, page)
  2912.     end
  2913. end)
  2914. local catalog_start = catwin:getDrawY()
  2915. function split(str,divider)
  2916.     local found = ""
  2917.     local results = {}
  2918.     for i=1,string.len(str) do
  2919.         if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
  2920.             table.insert(results, found)
  2921.             found = ""
  2922.         else
  2923.             found = found..string.sub(str,i,i)
  2924.         end
  2925.     end
  2926.     table.insert(results, found)
  2927.     return results
  2928. end
  2929. function GetName(nm)
  2930.     local spl = split(nm," ")
  2931.     local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
  2932.     return (a.." "..b.." "..c.." "..d.." "..e)
  2933. end
  2934. function makeCatalog(keyword, page)
  2935.     local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
  2936.     local results = game:HttpGet(endpoint, true)
  2937.     local parse = game:GetService('HttpService'):JSONDecode(results)
  2938.     for i, v in pairs(res) do
  2939.         v:Destroy()
  2940.     end
  2941.     catwin:setDrawY(catalog_start)
  2942.     catwin:addSpacing()
  2943.     for i, v in pairs(parse) do
  2944.         local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
  2945.         local below = topkek.tools.util.Object("TextButton", {
  2946.             Parent = img;
  2947.             BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
  2948.             BorderSizePixel = 0;
  2949.             Position = UDim2.new(0, -45, 1, 5);
  2950.             Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
  2951.             Font = 'SourceSans';
  2952.             FontSize = 'Size14';
  2953.             Text = GetName(v['Name']);
  2954.             TextSize = 14;
  2955.             TextColor3 = color3(199, 199, 199);
  2956.             TextStrokeTransparency = 0.5;
  2957.             ClipsDescendants = true;
  2958.         })
  2959.         below.MouseButton1Down:connect(function()
  2960.             local Model = Instance.new("Model", workspace)
  2961.             game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
  2962.             Model:MakeJoints()
  2963.             Model:MoveTo(topkek.lplr.Character.Head.Position)
  2964.         end)
  2965.         img.Size=UDim2.new(0,50,0,50)
  2966.         img.Position=img.Position+UDim2.new(0,45,0,0)
  2967.         if (i%2)==0 then
  2968.             catwin:setDrawY(catwin:getDrawY() + 25)
  2969.         end
  2970.         if (i==10) then
  2971.             catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
  2972.         end
  2973.         table.insert(res,img)
  2974.     end
  2975. end
  2976. makeCatalog("", 1)
  2977. --// CMDS //--
  2978. cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
  2979. count = 0
  2980. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  2981. cmdwin:drawText(1, tostring(count) .. " Commands")
  2982. cmdwin:drawText(1, 'Chat Prefix: /')
  2983. local cmdlist = cmdwin:drawScrollingContainer(260)
  2984. for i, v in pairs(cmd.commands.fmtstore) do
  2985.     local xfmt = {}
  2986.     local str = "  ;" .. i .. " "
  2987.     for form in v:gmatch("[^%%]+") do
  2988.         if form ~= 'cmd' then
  2989.             if form == 'inf' then form = 'str' end
  2990.             str = str .. "{" .. form .. "} "
  2991.         end
  2992.     end
  2993.     cmdlist:drawText(1, str)
  2994. end
  2995. --// MUSIC //--
  2996. musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
  2997. Sounds = {
  2998.     {"caramell", 2303479};
  2999.     {"epic", 27697743};
  3000.     {"rick", 2027611}; 
  3001.     {"halo", 1034065};
  3002.     {"pokemon", 1372261};
  3003.     {"cursed", 1372257};
  3004.     {"extreme", 11420933};
  3005.     {"awaken", 27697277};
  3006.     {"alone", 27697392};
  3007.     {"mario", 1280470};
  3008.     {"choir", 1372258};
  3009.     {"chrono" ,1280463};
  3010.     {"dotr", 11420922};
  3011.     {"entertain", 27697267};
  3012.     {"fantasy", 1280473};
  3013.     {"final", 787};
  3014.     {"organ", 11231513};
  3015.     {"tunnel", 9650822}
  3016. }
  3017.  
  3018. local cursel
  3019. local xcursel = 0
  3020. scr = musicwin:drawScrollingContainer(230)
  3021. for i, v in pairs(Sounds) do
  3022.     scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
  3023.         cursel.Text = "Currently Selected - " .. v[1]
  3024.         xcursel = v[2]
  3025.     end)
  3026. end
  3027.  
  3028. cursel = musicwin:drawText(1, "Currently Selected - None")
  3029. local setInp
  3030. musicwin:drawButton(1/3, "Set", function()
  3031.     if tonumber(setInp.Text) then
  3032.         cursel.Text = "Currently Selected - " .. setInp.Text
  3033.         xcursel = tonumber(setInp.Text)
  3034.     end
  3035. end)
  3036. setInp = musicwin:drawTextBox(2/3, '')
  3037. musicwin:drawButton(1, "Play", function()
  3038.     tk.rcm(game, 'Sound')
  3039.     tk.play(xcursel)   
  3040. end)
  3041. musicwin:drawButton(1, "Stop", function()
  3042.     tk.rcm(game, 'Sound')
  3043. end)
  3044. --// FACES //--
  3045. facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
  3046. local faces = {
  3047.     {name='Rofl',id=47595647},
  3048.     {name='Sparta',id=74142203},
  3049.     {name='UJelly',id=48989071},
  3050.     {name='Troll',id=45120559},
  3051.     {name='Horse',id=62079221},
  3052.     {name='Angry',id=48258623},
  3053.     {name='Okey',id=62830600},
  3054.     {name='Yeaw',id=53646377},
  3055.     {name='Here',id=62677045},
  3056.     {name='Har',id=48260066},
  3057.     {name='Baby Sun',id=47596170},
  3058.     {name='LOL',id=48293007},
  3059.     {name='Sad',id=53645378},
  3060.     {name='Joseph Stalin',id=48290678},
  3061.     {name='Doge',id=130742396},
  3062.     {name='Forever Alone',id=156886272},
  3063.     {name='RickRoll',id=5104631},
  3064.     {name='Jim Carrey',id=74885351},
  3065.     {name='Meh IRL',id=237553381}
  3066. }
  3067. local cursel, xcursel = nil, 0
  3068. faclist = facwin:drawScrollingContainer(260)
  3069. for i,v in pairs(faces) do
  3070.     local btn = faclist:drawButton(1, v['name'], function()
  3071.         xcursel = v['id']
  3072.         cursel.Text = 'Currently Selected: ' .. v['name']
  3073.     end)
  3074.     topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
  3075. end
  3076. cursel = facwin:drawText(1, 'Currently Selected: None')
  3077. facwin:drawButton(1, 'Wear', function()
  3078.     if not (xcursel == 0) then
  3079.         if topkek.lplr.Character then
  3080.             tk.rcm(topkek.lplr.Character, 'Accessory')
  3081.             tk.rcm(topkek.lplr.Character, 'Hat')
  3082.             topkek.tools.util.applyFace(xcursel)
  3083.         end
  3084.     end
  3085. end)
  3086. --// SETTINGS // --
  3087. setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
  3088. setwin:drawText(1, 'Patch: ' .. topkek.patch)
  3089. setwin:drawText(1, 'Devnote: foh skids')
  3090. setwin:drawText(1, [[
  3091.     === CREDITS ===
  3092.    
  3093.     Variable - retard that created Stella
  3094.     KrystalTeam - provided critical design tips & advice
  3095.     Circumvention - lol joey salads
  3096.    
  3097.     Thanks to everyone that supported T0PK3K 4.0!
  3098.    
  3099. ]], 260)
  3100. --// BANLIST //--
  3101. banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
  3102. local plrBanInp
  3103. banwin:drawButton(1/3, 'Add', function()
  3104.     topkek.settings.get()
  3105.     table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
  3106.     topkek.settings.write()
  3107.     UpdateBanlist()
  3108. end)
  3109. plrBanInp = banwin:drawTextBox(2/3, '')
  3110. banCont = banwin:drawScrollingContainer(288)
  3111. function UpdateBanlist(x)
  3112.     topkek.settings.get()
  3113.     local wl = x or topkek.settingsTable['Bans']
  3114.     for i,v in pairs(banCont:GetChildren()) do
  3115.         v:Destroy()
  3116.     end
  3117.     banCont:setDrawY(3)
  3118.     for i,v in pairs(wl) do
  3119.         banCont:drawText(2/3, v)
  3120.         banCont:drawButton(1/3, 'Remove', function()
  3121.             for x, m in pairs(wl) do
  3122.                 if m == v then
  3123.                     table.remove(topkek.settingsTable['Bans'], x)
  3124.                     topkek.settings.write()
  3125.                     UpdateBanlist()
  3126.                     topkek.banmgr.bans = topkek.settingsTable['Bans']
  3127.                 end
  3128.             end
  3129.         end)
  3130.     end
  3131. end
  3132. UpdateBanlist()
  3133. --// HATS //--
  3134. hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
  3135. local hats={   
  3136.     {name='Dominus Empyreus',id=21070012},
  3137.     {name='Dominus Vespertilio',id=96103379},
  3138.     {name='Dominus Infernus',id=31101391},
  3139.     {name='Dominus Rex',id=250395631},
  3140.     {name='Dominus Frigidus',id=48545806},
  3141.     {name='Dominus Astra',id=162067148},
  3142.     {name='Dominus Aureus',id=138932314},
  3143.     {name='DIY Dominus Empyreus',id=151789690},
  3144.     {name='Dominus Messor',id=64444871},
  3145.     {name='Demon Skeleton Wings',id=133554007},
  3146.     {name='Gilded Wings of Glory',id=250405532},
  3147.     {name='Majestic Ice Wings',id=188702967},
  3148.     {name='Black Wings',id=215719598},
  3149.     {name='Clockworks Shades',id=11748356},
  3150.     {name='Faerie Wings',id=19399896},
  3151.     {name='Orinthian Wings',id=223751505},
  3152.     {name='Clockworks Headphones',id=1235488},
  3153.     {name='Perfectly Legitimate Business Hat',id=19027209},
  3154.     {name='Sparkling Angel Wings',id=192557913},
  3155.     {name='Commander Crows Wings',id=133553855},
  3156.     {name='Sunfire Wings',id=158068470},
  3157.     {name='Royal Faerie Wings',id=119916756},
  3158.     {name='Wings of Freedom',id=164174048},
  3159.     {name='Firebrand Wings',id=128160626},
  3160.     {name='Frozen Wings',id=136758613},
  3161.     {name='Webbed Wings',id=120507280},
  3162.     {name='Gargoyle Wings',id=120507201},
  3163.     {name='Bat Wings',id=19399858},
  3164.     {name='Wings of Fire',id=136758532},
  3165.     {name='Headrow',id=1082935},
  3166.     {name='Rubber Duckie',id=9254254},
  3167.     {name='Valkyrie Helm',id=1365767},
  3168. {name='Hockey Mask',id=5161514}}
  3169. local searchi = hatwin:drawButton(1, '', function()end)
  3170. dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
  3171. function fixPlayerDropi()
  3172.     local t = {'All'}
  3173.     for i, v in pairs(game.Players:GetPlayers()) do
  3174.         table.insert(t, v.Name)
  3175.     end
  3176.     dropx.SetTable(t)
  3177. end
  3178. game.Players.PlayerAdded:connect(function()
  3179.     fixPlayerDropi()
  3180. end)
  3181. game.Players.PlayerRemoving:connect(function()
  3182.     fixPlayerDropi()
  3183. end)
  3184. local eval = 'All'
  3185. dropx.Changed(function(p) eval = p end)
  3186. fixPlayerDrop()
  3187.  
  3188. local hatInp
  3189. hatlist = hatwin:drawScrollingContainer(260)
  3190. for i,v in pairs(hats) do
  3191.     hatlist:drawButton(1, v['name'], function()
  3192.         hatInp.Text = tostring(v['id'])
  3193.     end)
  3194. end
  3195. hatwin:drawButton(1/3, 'Wear', function()
  3196.     local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
  3197.     tk.dp(eval, function(x)
  3198.         if x.Character then
  3199.             hat:Clone().Parent = x.Character
  3200.         end
  3201.     end)
  3202. end)
  3203.  
  3204.  
  3205. hatInp = hatwin:drawTextBox(2/3, '')
  3206. topkek.tools.animator.initialAnimation()
  3207. topkek.banmgr.init()
  3208.  
  3209. end)
  3210. MadFucker.Name = "Mad Fucker"
  3211. MadFucker.Parent = Main
  3212. MadFucker.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
  3213. MadFucker.Position = UDim2.new(0.0718950629, 0, 0.546558738, 0)
  3214. MadFucker.Size = UDim2.new(0, 200, 0, 50)
  3215. MadFucker.Font = Enum.Font.SourceSans
  3216. MadFucker.Text = "Mad Fucker"
  3217. MadFucker.TextColor3 = Color3.new(1, 1, 1)
  3218. MadFucker.TextScaled = true
  3219. MadFucker.TextSize = 14
  3220. MadFucker.TextWrapped = true
  3221. MadFucker.MouseButton1Down:connect(function()
  3222. --Made by 2sins on v3rm (Alexx#5864), I know it's shit rn but I just wanted to throw something together real quick to fuck around, auto robs (if I can be assed to figure out the game) soon tm
  3223.  
  3224. -- Instances:
  3225. local MadFucker = Instance.new("ScreenGui")
  3226. local Back = Instance.new("Frame")
  3227. local TitleBar = Instance.new("Frame")
  3228. local TextLabel = Instance.new("TextLabel")
  3229. local TextLabel_2 = Instance.new("TextLabel")
  3230. local TextLabel_3 = Instance.new("TextLabel")
  3231. local Close = Instance.new("TextButton")
  3232. local PN = Instance.new("TextBox")
  3233. local TP = Instance.new("TextButton")
  3234. local BANK = Instance.new("TextButton")
  3235. local JS = Instance.new("TextButton")
  3236. local CS = Instance.new("TextButton")
  3237. local GS = Instance.new("TextButton")
  3238. local Credit = Instance.new("TextLabel")
  3239. local GA = Instance.new("TextButton")
  3240. local CAM = Instance.new("TextButton")
  3241. local SS = Instance.new("TextButton")
  3242. local GRAV = Instance.new("TextButton")
  3243. local MoreSoon = Instance.new("TextLabel")
  3244. local CB = Instance.new("TextButton")
  3245. local SA = Instance.new("TextBox")
  3246. local GG = Instance.new("TextButton")
  3247. local AR = Instance.new("TextButton")
  3248. local EC = Instance.new("TextButton")
  3249. local Open = Instance.new("TextButton")
  3250. local player = game.Players.LocalPlayer
  3251. local mouse = player:GetMouse()
  3252. local humanoid = player.Character.Humanoid
  3253. local Speed = SA.Text
  3254.  
  3255. --Properties:
  3256. MadFucker.Name = "MadFucker"
  3257. MadFucker.Parent = game.CoreGui
  3258. MadFucker.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  3259.  
  3260. Back.Name = "Back"
  3261. Back.Parent = MadFucker
  3262. Back.Active = true
  3263. Back.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  3264. Back.BorderSizePixel = 0
  3265. Back.Draggable = true
  3266. Back.Position = UDim2.new(0.349450558, 0, 0.325520813, 0)
  3267. Back.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
  3268. Back.Active = true
  3269. Back.Draggable = true
  3270.  
  3271. TitleBar.Name = "TitleBar"
  3272. TitleBar.Parent = Back
  3273. TitleBar.BackgroundColor3 = Color3.new(0.423529, 0.423529, 0.423529)
  3274. TitleBar.BorderSizePixel = 0
  3275. TitleBar.Size = UDim2.new(1, 0, 0.100000001, 0)
  3276.  
  3277. TextLabel.Parent = TitleBar
  3278. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  3279. TextLabel.BackgroundTransparency = 1
  3280. TextLabel.Position = UDim2.new(0.346764326, 0, -0.0434027761, 0)
  3281. TextLabel.Size = UDim2.new(0.100000001, 0, 1, 0)
  3282. TextLabel.Font = Enum.Font.GothamSemibold
  3283. TextLabel.Text = "M"
  3284. TextLabel.TextColor3 = Color3.new(1, 0.521569, 0.529412)
  3285. TextLabel.TextScaled = true
  3286. TextLabel.TextSize = 14
  3287. TextLabel.TextWrapped = true
  3288.  
  3289. Credit.Name = "Credit"
  3290. Credit.Parent = TitleBar
  3291. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  3292. Credit.BackgroundTransparency = 1
  3293. Credit.Position = UDim2.new(0, 0, -0.00300000003, 0)
  3294. Credit.Size = UDim2.new(0.349999994, 0, 1, 0)
  3295. Credit.Font = Enum.Font.SourceSansItalic
  3296. Credit.Text = "Made by:  Alexx#5864"
  3297. Credit.TextColor3 = Color3.new(0.741176, 0.741176, 0.741176)
  3298. Credit.TextScaled = true
  3299. Credit.TextSize = 14
  3300. Credit.TextWrapped = true
  3301. Credit.TextXAlignment = Enum.TextXAlignment.Left
  3302.  
  3303. TextLabel_2.Parent = TitleBar
  3304. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  3305. TextLabel_2.BackgroundTransparency = 1
  3306. TextLabel_2.Position = UDim2.new(0.419890106, 0, -0.00340277702, 0)
  3307. TextLabel_2.Size = UDim2.new(0.5, 0, 1, 0)
  3308. TextLabel_2.Font = Enum.Font.GothamSemibold
  3309. TextLabel_2.Text = "ad    ucker"
  3310. TextLabel_2.TextColor3 = Color3.new(0.741176, 0.741176, 0.741176)
  3311. TextLabel_2.TextScaled = true
  3312. TextLabel_2.TextSize = 14
  3313. TextLabel_2.TextWrapped = true
  3314. TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
  3315.  
  3316. TextLabel_3.Parent = TitleBar
  3317. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  3318. TextLabel_3.BackgroundTransparency = 1
  3319. TextLabel_3.Position = UDim2.new(0.476190448, 0, -0.0434027761, 0)
  3320. TextLabel_3.Size = UDim2.new(0.100000001, 0, 1, 0)
  3321. TextLabel_3.Font = Enum.Font.GothamSemibold
  3322. TextLabel_3.Text = "F"
  3323. TextLabel_3.TextColor3 = Color3.new(1, 0.521569, 0.529412)
  3324. TextLabel_3.TextScaled = true
  3325. TextLabel_3.TextSize = 14
  3326. TextLabel_3.TextWrapped = true
  3327.  
  3328. Close.Name = "Close"
  3329. Close.Parent = TitleBar
  3330. Close.BackgroundColor3 = Color3.new(1, 0.509804, 0.517647)
  3331. Close.BorderSizePixel = 0
  3332. Close.Position = UDim2.new(0.949999988, 0, 0, 0)
  3333. Close.Size = UDim2.new(0.0500000007, 0, 1, 0)
  3334. Close.Font = Enum.Font.GothamSemibold
  3335. Close.Text = "X"
  3336. Close.TextColor3 = Color3.new(1, 1, 1)
  3337. Close.TextScaled = true
  3338. Close.TextSize = 14
  3339. Close.TextWrapped = true
  3340.  
  3341. PN.Name = "PN"
  3342. PN.Parent = Back
  3343. PN.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3344. PN.BorderSizePixel = 0
  3345. PN.Position = UDim2.new(0.0268620253, 0, 0.138888881, 0)
  3346. PN.Size = UDim2.new(0.349999994, 0, 0.100000001, 0)
  3347. PN.Font = Enum.Font.SourceSans
  3348. PN.PlaceholderColor3 = Color3.new(0.623529, 0.623529, 0.623529)
  3349. PN.PlaceholderText = "[PLR NAME]"
  3350. PN.Text = ""
  3351. PN.TextColor3 = Color3.new(1, 1, 1)
  3352. PN.TextScaled = true
  3353. PN.TextSize = 14
  3354. PN.TextWrapped = true
  3355.  
  3356. TP.Name = "TP"
  3357. TP.Parent = Back
  3358. TP.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3359. TP.BorderSizePixel = 0
  3360. TP.Position = UDim2.new(0.0268620253, 0, 0.269097209, 0)
  3361. TP.Size = UDim2.new(0.349999994, 0, 0.100000001, 0)
  3362. TP.Font = Enum.Font.GothamSemibold
  3363. TP.Text = "Teleport"
  3364. TP.TextColor3 = Color3.new(1, 1, 1)
  3365. TP.TextSize = 14
  3366.  
  3367. BANK.Name = "BANK"
  3368. BANK.Parent = Back
  3369. BANK.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3370. BANK.BorderSizePixel = 0
  3371. BANK.Position = UDim2.new(0.732600689, 0, 0.138888881, 0)
  3372. BANK.Size = UDim2.new(0.25, 0, 0.100000001, 0)
  3373. BANK.Font = Enum.Font.GothamSemibold
  3374. BANK.Text = "Bank"
  3375. BANK.TextColor3 = Color3.new(1, 1, 1)
  3376. BANK.TextSize = 14
  3377.  
  3378. JS.Name = "JS"
  3379. JS.Parent = Back
  3380. JS.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3381. JS.BorderSizePixel = 0
  3382. JS.Position = UDim2.new(0.732600689, 0, 0.269097209, 0)
  3383. JS.Size = UDim2.new(0.25, 0, 0.100000001, 0)
  3384. JS.Font = Enum.Font.GothamSemibold
  3385. JS.Text = "Jewelry Store"
  3386. JS.TextColor3 = Color3.new(1, 1, 1)
  3387. JS.TextSize = 14
  3388.  
  3389. CS.Name = "CS"
  3390. CS.Parent = Back
  3391. CS.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3392. CS.BorderSizePixel = 0
  3393. CS.Position = UDim2.new(0.732600689, 0, 0.394965231, 0)
  3394. CS.Size = UDim2.new(0.25, 0, 0.100000001, 0)
  3395. CS.Font = Enum.Font.GothamSemibold
  3396. CS.Text = "Casino"
  3397. CS.TextColor3 = Color3.new(1, 1, 1)
  3398. CS.TextSize = 14
  3399.  
  3400. GS.Name = "GS"
  3401. GS.Parent = Back
  3402. GS.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3403. GS.BorderSizePixel = 0
  3404. GS.Position = UDim2.new(0.732600689, 0, 0.529513836, 0)
  3405. GS.Size = UDim2.new(0.25, 0, 0.100000001, 0)
  3406. GS.Font = Enum.Font.GothamSemibold
  3407. GS.Text = "Gun Store"
  3408. GS.TextColor3 = Color3.new(1, 1, 1)
  3409. GS.TextSize = 14
  3410.  
  3411. GA.Name = "GA"
  3412. GA.Parent = Back
  3413. GA.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3414. GA.BorderSizePixel = 0
  3415. GA.Position = UDim2.new(0.732600689, 0, 0.655381918, 0)
  3416. GA.Size = UDim2.new(0.25, 0, 0.100000001, 0)
  3417. GA.Font = Enum.Font.GothamSemibold
  3418. GA.Text = "Garage"
  3419. GA.TextColor3 = Color3.new(1, 1, 1)
  3420. GA.TextSize = 14
  3421.  
  3422. CAM.Name = "CAM"
  3423. CAM.Parent = Back
  3424. CAM.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3425. CAM.BorderSizePixel = 0
  3426. CAM.Position = UDim2.new(0.73299998, 0, 0.779999971, 0)
  3427. CAM.Size = UDim2.new(0.25, 0, 0.100000001, 0)
  3428. CAM.Font = Enum.Font.GothamSemibold
  3429. CAM.Text = "Camero"
  3430. CAM.TextColor3 = Color3.new(1, 1, 1)
  3431. CAM.TextSize = 14
  3432.  
  3433. SS.Name = "SS"
  3434. SS.Parent = Back
  3435. SS.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3436. SS.BorderSizePixel = 0
  3437. SS.Position = UDim2.new(0.0763888508, 0, 0.527777791, 0)
  3438. SS.Size = UDim2.new(0.25, 0, 0.100000001, 0)
  3439. SS.Font = Enum.Font.GothamSemibold
  3440. SS.Text = "Set Speed"
  3441. SS.TextColor3 = Color3.new(1, 1, 1)
  3442. SS.TextSize = 14
  3443. SS.TextWrapped = true
  3444.  
  3445. GRAV.Name = "GRAV"
  3446. GRAV.Parent = Back
  3447. GRAV.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3448. GRAV.BorderSizePixel = 0
  3449. GRAV.Position = UDim2.new(0.434027731, 0, 0.136381164, 0)
  3450. GRAV.Size = UDim2.new(0.25, 0, 0.100000001, 0)
  3451. GRAV.Font = Enum.Font.GothamSemibold
  3452. GRAV.Text = "Gravity [OFF]"
  3453. GRAV.TextColor3 = Color3.new(1, 1, 1)
  3454. GRAV.TextSize = 14
  3455.  
  3456. MoreSoon.Name = "MoreSoon"
  3457. MoreSoon.Parent = Back
  3458. MoreSoon.BackgroundColor3 = Color3.new(1, 1, 1)
  3459. MoreSoon.BackgroundTransparency = 1
  3460. MoreSoon.Position = UDim2.new(0.0634920597, 0, 0.878568649, 0)
  3461. MoreSoon.Size = UDim2.new(0.600000024, 0, 0.100000001, 0)
  3462. MoreSoon.Font = Enum.Font.GothamSemibold
  3463. MoreSoon.Text = "More Coming Soon..."
  3464. MoreSoon.TextColor3 = Color3.new(1, 1, 1)
  3465. MoreSoon.TextScaled = true
  3466. MoreSoon.TextSize = 14
  3467. MoreSoon.TextWrapped = true
  3468.  
  3469. CB.Name = "CB"
  3470. CB.Parent = Back
  3471. CB.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3472. CB.BorderSizePixel = 0
  3473. CB.Position = UDim2.new(0.732600689, 0, 0.89843744, 0)
  3474. CB.Size = UDim2.new(0.25, 0, 0.100000001, 0)
  3475. CB.Font = Enum.Font.GothamSemibold
  3476. CB.Text = "Criminal Base"
  3477. CB.TextColor3 = Color3.new(1, 1, 1)
  3478. CB.TextSize = 14
  3479.  
  3480. SA.Name = "SA"
  3481. SA.Parent = Back
  3482. SA.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3483. SA.BorderSizePixel = 0
  3484. SA.Position = UDim2.new(0.0268620253, 0, 0.391975284, 0)
  3485. SA.Size = UDim2.new(0.349999994, 0, 0.100000001, 0)
  3486. SA.Font = Enum.Font.SourceSans
  3487. SA.PlaceholderColor3 = Color3.new(0.623529, 0.623529, 0.623529)
  3488. SA.PlaceholderText = "[ENTER SPEED]"
  3489. SA.Text = ""
  3490. SA.TextColor3 = Color3.new(1, 1, 1)
  3491. SA.TextScaled = true
  3492. SA.TextSize = 14
  3493. SA.TextWrapped = true
  3494.  
  3495. GG.Name = "GG"
  3496. GG.Parent = Back
  3497. GG.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3498. GG.BorderSizePixel = 0
  3499. GG.Position = UDim2.new(0.434027731, 0, 0.269097209, 0)
  3500. GG.Size = UDim2.new(0.25, 0, 0.100000001, 0)
  3501. GG.Font = Enum.Font.GothamSemibold
  3502. GG.Text = "Give Guns"
  3503. GG.TextColor3 = Color3.new(1, 1, 1)
  3504. GG.TextSize = 14
  3505.  
  3506. AR.Name = "AR"
  3507. AR.Parent = Back
  3508. AR.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3509. AR.BorderSizePixel = 0
  3510. AR.Position = UDim2.new(0.434027731, 0, 0.392553985, 0)
  3511. AR.Size = UDim2.new(0.25, 0, 0.100000001, 0)
  3512. AR.Font = Enum.Font.GothamSemibold
  3513. AR.Text = "Auto Arrest [BETA]"
  3514. AR.TextColor3 = Color3.new(1, 1, 1)
  3515. AR.TextSize = 14
  3516. AR.TextScaled = true
  3517.  
  3518. EC.Name = "EC"
  3519. EC.Parent = Back
  3520. EC.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  3521. EC.BorderSizePixel = 0
  3522. EC.Position = UDim2.new(0.434027731, 0, 0.525270045, 0)
  3523. EC.Size = UDim2.new(0.25, 0, 0.100000001, 0)
  3524. EC.Font = Enum.Font.GothamSemibold
  3525. EC.Text = "EZ Cash"
  3526. EC.TextColor3 = Color3.new(1, 1, 1)
  3527. EC.TextSize = 14
  3528.  
  3529. Open.Name = "Open"
  3530. Open.Parent = MadFucker
  3531. Open.BackgroundColor3 = Color3.new(0.262745, 0.262745, 0.262745)
  3532. Open.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  3533. Open.BorderSizePixel = 3
  3534. Open.Position = UDim2.new(0.398999989, 0, 0.95989579, 0)
  3535. Open.Size = UDim2.new(0.200000003, 0, 0.0399999991, 0)
  3536. Open.Visible = false
  3537. Open.Font = Enum.Font.GothamSemibold
  3538. Open.Text = "Open"
  3539. Open.TextColor3 = Color3.new(1, 1, 1)
  3540. Open.TextScaled = true
  3541. Open.TextSize = 14
  3542. Open.TextWrapped = true
  3543. -- Scripts:
  3544.  
  3545.  
  3546.  
  3547. --Open shit
  3548. O = true
  3549.  
  3550. Close.MouseButton1Down:Connect(function()
  3551.     O = false
  3552.     Open.Visible = true
  3553.     Back.Visible = false
  3554. end)
  3555.  
  3556. Open.MouseButton1Down:Connect(function()
  3557.     O = true
  3558.     Open.Visible = false
  3559.     Back.Visible = true
  3560. end)
  3561.  
  3562. --TP shit
  3563.  
  3564. TP.MouseButton1Down:Connect(function()
  3565.     local target = game.Players:FindFirstChild(PN.Text)
  3566.     local yes = target.Character.HumanoidRootPart.CFrame
  3567.    
  3568.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = yes
  3569.     print("You just tp'd to "..PN.Text.." yesyes")
  3570. end)
  3571.  
  3572. BANK.MouseButton1Down:Connect(function()
  3573.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(690.11553955078,24.889343261719,446.09664916992)
  3574. end)
  3575.  
  3576. JS.MouseButton1Down:Connect(function()
  3577.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-203.3496960449,24.578149795532,731.06182861328)
  3578. end)
  3579.  
  3580. CS.MouseButton1Down:Connect(function()
  3581.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1779.7911376953,24.738931655884,685.00677490234)
  3582. end)
  3583.  
  3584. GS.MouseButton1Down:Connect(function()
  3585.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1619.1705322266,41.934741973877,684.16217041016)
  3586. end)
  3587.  
  3588. GA.MouseButton1Down:Connect(function()
  3589.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(231.40872192383,24.549949645996,-493.32705688477)
  3590. end)
  3591.  
  3592. CAM.MouseButton1Down:Connect(function()
  3593.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-882.36700439453,53.278591156006,-2648.3139648438)
  3594. end)
  3595.  
  3596. CB.MouseButton1Down:Connect(function()
  3597.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2116.2019042969,25.10528755188,348.36651611328)
  3598. end)
  3599.  
  3600. --Other shit
  3601. gr = true
  3602.  
  3603. GRAV.MouseButton1Down:Connect(function()
  3604.     if gr == true then
  3605.         gr = false
  3606.         game.workspace.Gravity = 195
  3607.         GRAV.Text = "Gravity [OFF]"
  3608.     else
  3609.         gr = true
  3610.         game.workspace.Gravity = 45
  3611.         GRAV.Text = "Gravity [ON]"
  3612.     end
  3613. end)
  3614.  
  3615. SS.MouseButton1Down:Connect(function()
  3616.     local humanoid = player.Character.Humanoid
  3617.     local Speed = SA.Text
  3618.     while wait() do
  3619.         humanoid.WalkSpeed = Speed
  3620.     end
  3621. end)
  3622.  
  3623. GG.MouseButton1Down:Connect(function()
  3624.     local Remote = game.Workspace.ObjectSelection.Shotgun.Shotgun.Shotgun['Event']
  3625.     local Arguments = {
  3626.     }
  3627.     Remote:FireServer(unpack(Arguments))
  3628.     local Remote = game.Workspace.ObjectSelection.MP5.MP5.MP5['Event']
  3629.     local Arguments = {
  3630.     }
  3631.     Remote:FireServer(unpack(Arguments))
  3632.     local Remote = game.Workspace.ObjectSelection.Baton.Baton.Baton['Event']
  3633.     local Arguments = {
  3634.     }
  3635.     Remote:FireServer(unpack(Arguments))
  3636. end)
  3637.  
  3638. EC.MouseButton1Down:Connect(function()
  3639.     local w = game:GetService("Workspace")
  3640.     local ObjectSelection = w:WaitForChild("ObjectSelection")
  3641.     for _,v in pairs (ObjectSelection:GetChildren()) do
  3642.         if v.Name == "CashRegister" then
  3643.             if v:FindFirstChild("SmashCash") then
  3644.                 local Event = v.SmashCash.SmashCash.Event
  3645.                 Event:FireServer()
  3646.             end
  3647.         end
  3648.     if v.Name == "ATM" then
  3649.         if v:FindFirstChild("ATM") then
  3650.             local Event = v.ATM.ATM.Event
  3651.             Event:FireServer()
  3652.         end
  3653.     end
  3654.     if v.Name == "Cash" then
  3655.         if v:FindFirstChild("Cash") then
  3656.             local Event = v.Cash.Cash.Event
  3657.             Event:FireServer()
  3658.         end
  3659.     end
  3660.     if v.Name == "DiamondBox" then
  3661.         if v:FindFirstChild("SmashCash") then
  3662.             local Event = v.SmashCash.SmashCash.Event
  3663.             Event:FireServer()
  3664.         end
  3665.     end
  3666.     if v.Name == "Safe" then
  3667.         if v:FindFirstChild("SmashCash") then
  3668.             local Event = v.SmashCash.SmashCash.Event
  3669.             Event:FireServer()
  3670.         end
  3671.     end
  3672.     if v.Name == "SlotMachine" then
  3673.         if v:FindFirstChild("SlotMachine") then
  3674.             local Event = v.SlotMachine.SlotMachine.Event
  3675.             Event:FireServer()
  3676.         end
  3677.     end
  3678.     end
  3679. end)
  3680.  
  3681. AR.MouseButton1Down:Connect(function()
  3682.     while wait() do
  3683.         game.Players.LocalPlayer.Character.Humanoid:EquipTool(game.Players.LocalPlayer.Backpack.Handcuffs)
  3684.         game.ReplicatedStorage.Event:FireServer("Equip", game.Players.LocalPlayer.Character, game.Players.LocalPlayer.Character.Handcuffs.Handle)
  3685.         for i,v in pairs(game.Players:GetChildren()) do
  3686.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  3687.             wait(0.25)
  3688.             game.ReplicatedStorage.Event:FireServer("Arrest", v)
  3689.             wait()
  3690.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, 0,0)
  3691.         end
  3692.             wait(0.25)
  3693.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, -1000,0)
  3694.             game.Players.LocalPlayer.Character:BreakJoints()
  3695.             wait(20)
  3696.     end
  3697. end)
  3698.  
  3699. end)
  3700. TextButton.Parent = Main
  3701. TextButton.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
  3702. TextButton.Position = UDim2.new(0.691592276, 0, 0.546558738, 0)
  3703. TextButton.Size = UDim2.new(0, 200, 0, 50)
  3704. TextButton.Font = Enum.Font.SourceSans
  3705. TextButton.Text = "None"
  3706. TextButton.TextColor3 = Color3.new(1, 1, 1)
  3707. TextButton.TextScaled = true
  3708. TextButton.TextSize = 14
  3709. TextButton.TextWrapped = true
  3710.  
  3711. TextButton_2.Parent = Main
  3712. TextButton_2.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
  3713. TextButton_2.Position = UDim2.new(0.391338199, 0, 0.294794947, 0)
  3714. TextButton_2.Size = UDim2.new(0, 200, 0, 50)
  3715. TextButton_2.Font = Enum.Font.SourceSans
  3716. TextButton_2.Text = "None"
  3717. TextButton_2.TextColor3 = Color3.new(1, 1, 1)
  3718. TextButton_2.TextScaled = true
  3719. TextButton_2.TextSize = 14
  3720. TextButton_2.TextWrapped = true
  3721.  
  3722. TextButton_3.Parent = Main
  3723. TextButton_3.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
  3724. TextButton_3.Position = UDim2.new(0.390954763, 0, 0.546558738, 0)
  3725. TextButton_3.Size = UDim2.new(0, 200, 0, 50)
  3726. TextButton_3.Font = Enum.Font.SourceSans
  3727. TextButton_3.Text = "None"
  3728. TextButton_3.TextColor3 = Color3.new(1, 1, 1)
  3729. TextButton_3.TextScaled = true
  3730. TextButton_3.TextSize = 14
  3731. TextButton_3.TextWrapped = true
  3732.  
  3733. TextButton_4.Parent = Main
  3734. TextButton_4.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
  3735. TextButton_4.Position = UDim2.new(0.690631688, 0, 0.294794917, 0)
  3736. TextButton_4.Size = UDim2.new(0, 200, 0, 50)
  3737. TextButton_4.Font = Enum.Font.SourceSans
  3738. TextButton_4.Text = "None"
  3739. TextButton_4.TextColor3 = Color3.new(1, 1, 1)
  3740. TextButton_4.TextScaled = true
  3741. TextButton_4.TextSize = 14
  3742. TextButton_4.TextWrapped = true
  3743.  
  3744. TopKek30.Name = "TopKek 3.0"
  3745. TopKek30.Parent = Main
  3746. TopKek30.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
  3747. TopKek30.Position = UDim2.new(0.0718950704, 0, 0.312516451, 0)
  3748. TopKek30.Size = UDim2.new(0, 200, 0, 50)
  3749. TopKek30.Font = Enum.Font.SourceSans
  3750. TopKek30.Text = "Topkek 3.0"
  3751. TopKek30.TextColor3 = Color3.new(1, 1, 1)
  3752. TopKek30.TextScaled = true
  3753. TopKek30.TextSize = 14
  3754. TopKek30.TextWrapped = true
  3755. TopKek30.MouseButton1Down:connect(function()
  3756. --boobs lol
  3757.  
  3758. local ScreenGui = Instance.new("ScreenGui")
  3759.  
  3760. local Base = Instance.new("Frame")
  3761.  
  3762. local Top = Instance.new("Frame")
  3763.  
  3764. local First = Instance.new("TextLabel")
  3765.  
  3766. local Second = Instance.new("TextLabel")
  3767.  
  3768. local Location = Instance.new("TextLabel")
  3769.  
  3770. local Exit = Instance.new("TextButton")
  3771.  
  3772. local HomeContainer = Instance.new("Frame")
  3773.  
  3774. local Players = Instance.new("Frame")
  3775.  
  3776. local ImageLabel = Instance.new("ImageLabel")
  3777.  
  3778. local TextLabel = Instance.new("TextLabel")
  3779.  
  3780. local Mask = Instance.new("TextButton")
  3781.  
  3782. local Server = Instance.new("Frame")
  3783.  
  3784. local ImageLabel_2 = Instance.new("ImageLabel")
  3785.  
  3786. local TextLabel_2 = Instance.new("TextLabel")
  3787.  
  3788. local Mask_2 = Instance.new("TextButton")
  3789.  
  3790. local LocalPlayer = Instance.new("Frame")
  3791.  
  3792. local ImageLabel_3 = Instance.new("ImageLabel")
  3793.  
  3794. local TextLabel_3 = Instance.new("TextLabel")
  3795.  
  3796. local Mask_3 = Instance.new("TextButton")
  3797.  
  3798. local Scripts = Instance.new("Frame")
  3799.  
  3800. local ImageLabel_4 = Instance.new("ImageLabel")
  3801.  
  3802. local TextLabel_4 = Instance.new("TextLabel")
  3803.  
  3804. local Mask_4 = Instance.new("TextButton")
  3805.  
  3806. local Miscellaneous = Instance.new("Frame")
  3807.  
  3808. local ImageLabel_5 = Instance.new("ImageLabel")
  3809.  
  3810. local TextLabel_5 = Instance.new("TextLabel")
  3811.  
  3812. local Mask_5 = Instance.new("TextButton")
  3813.  
  3814. local Settings = Instance.new("Frame")
  3815.  
  3816. local ImageLabel_6 = Instance.new("ImageLabel")
  3817.  
  3818. local TextLabel_6 = Instance.new("TextLabel")
  3819.  
  3820. local Mask_6 = Instance.new("TextButton")
  3821.  
  3822. local Navigator = Instance.new("ScrollingFrame")
  3823.  
  3824. local Item = Instance.new("TextButton")
  3825.  
  3826. local ServerContainer = Instance.new("ScrollingFrame")
  3827.  
  3828. local dd = Instance.new("TextButton")
  3829.  
  3830. local ImageLabel_7 = Instance.new("ImageLabel")
  3831.  
  3832. local LocalPlayerContainer = Instance.new("ScrollingFrame")
  3833.  
  3834. local PlayersContainer = Instance.new("ScrollingFrame")
  3835.  
  3836.  
  3837.  
  3838. -- Properties
  3839.  
  3840. local hist = game:GetService("LogService"):GetLogHistory()
  3841.  
  3842. local eiss = false
  3843.  
  3844. for i,v in pairs(hist) do
  3845.  
  3846.     if string.find(v["message"]:lower(), "eiss") then
  3847.  
  3848.         eiss = true
  3849.  
  3850.         warn("Detected EISS, Parenting to PlayerGui")
  3851.  
  3852.     end
  3853.  
  3854. end
  3855.  
  3856. if eiss then
  3857.  
  3858.     ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  3859.  
  3860.     game.StarterGui.ResetPlayerGuiOnSpawn = false
  3861.  
  3862. else
  3863.  
  3864.     ScreenGui.Parent = script.Parent
  3865.  
  3866. end
  3867.  
  3868.  
  3869.  
  3870. Base.Name = "Base"
  3871.  
  3872. Base.Parent = ScreenGui
  3873.  
  3874. Base.Active = true
  3875.  
  3876. Base.BackgroundColor3 = Color3.new(0.054902, 0.0901961, 0.113725)
  3877.  
  3878. Base.BorderColor3 = Color3.new(0.0156863, 0.027451, 0.0352941)
  3879.  
  3880. Base.BorderSizePixel = 2
  3881.  
  3882. Base.Draggable = true
  3883.  
  3884. Base.Position = UDim2.new(0, 50, 0, 250)
  3885.  
  3886. Base.Selectable = true
  3887.  
  3888. Base.Size = UDim2.new(0, 450, 0, 250)
  3889.  
  3890.  
  3891.  
  3892. Top.Name = "Top"
  3893.  
  3894. Top.Parent = Base
  3895.  
  3896. Top.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
  3897.  
  3898. Top.BackgroundTransparency = 0.5
  3899.  
  3900. Top.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  3901.  
  3902. Top.Position = UDim2.new(0, 10, 0, 7)
  3903.  
  3904. Top.Size = UDim2.new(1, -20, 0, 20)
  3905.  
  3906.  
  3907.  
  3908. First.Name = "First"
  3909.  
  3910. First.Parent = Top
  3911.  
  3912. First.BackgroundColor3 = Color3.new(1, 1, 1)
  3913.  
  3914. First.BackgroundTransparency = 1
  3915.  
  3916. First.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726)
  3917.  
  3918. First.Size = UDim2.new(1, 0, 1, 0)
  3919.  
  3920. First.Font = Enum.Font.SourceSans
  3921.  
  3922. First.FontSize = Enum.FontSize.Size18
  3923.  
  3924. First.Text = "  T0PK3K 3.0"
  3925.  
  3926. First.TextColor3 = Color3.new(0.721569, 0.027451, 0.211765)
  3927.  
  3928. First.TextStrokeTransparency = 0
  3929.  
  3930. First.TextXAlignment = Enum.TextXAlignment.Left
  3931.  
  3932.  
  3933.  
  3934. Second.Name = "Second"
  3935.  
  3936. Second.Parent = Top
  3937.  
  3938. Second.BackgroundColor3 = Color3.new(1, 1, 1)
  3939.  
  3940. Second.BackgroundTransparency = 1
  3941.  
  3942. Second.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726)
  3943.  
  3944. Second.Position = UDim2.new(1, -125, 0, 0)
  3945.  
  3946. Second.Size = UDim2.new(0, 100, 1, 0)
  3947.  
  3948. Second.Font = Enum.Font.SourceSans
  3949.  
  3950. Second.FontSize = Enum.FontSize.Size18
  3951.  
  3952. Second.Text = "Cerberus Edition"
  3953.  
  3954. Second.TextColor3 = Color3.new(0.721569, 0.027451, 0.211765)
  3955.  
  3956. Second.TextStrokeTransparency = 0
  3957.  
  3958. Second.TextXAlignment = Enum.TextXAlignment.Left
  3959.  
  3960.  
  3961.  
  3962. Location.Name = "Location"
  3963.  
  3964. Location.Parent = Top
  3965.  
  3966. Location.BackgroundColor3 = Color3.new(1, 1, 1)
  3967.  
  3968. Location.BackgroundTransparency = 1
  3969.  
  3970. Location.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726)
  3971.  
  3972. Location.Position = UDim2.new(0, 90, 0, 0)
  3973.  
  3974. Location.Size = UDim2.new(1, -200, 1, 0)
  3975.  
  3976. Location.Font = Enum.Font.SourceSansBold
  3977.  
  3978. Location.FontSize = Enum.FontSize.Size18
  3979.  
  3980. Location.Text = "Home"
  3981.  
  3982. Location.TextColor3 = Color3.new(0.588235, 0.0196078, 0.172549)
  3983.  
  3984. Location.TextStrokeTransparency = 0
  3985.  
  3986.  
  3987.  
  3988. Exit.Name = "Exit"
  3989.  
  3990. Exit.Parent = Top
  3991.  
  3992. Exit.BackgroundColor3 = Color3.new(0.588235, 0.0196078, 0.172549)
  3993.  
  3994. Exit.BorderSizePixel = 0
  3995.  
  3996. Exit.Position = UDim2.new(1, -18, 0, 2)
  3997.  
  3998. Exit.Size = UDim2.new(0, 16, 0, 16)
  3999.  
  4000. Exit.Font = Enum.Font.SourceSansBold
  4001.  
  4002. Exit.FontSize = Enum.FontSize.Size14
  4003.  
  4004. Exit.Text = "X"
  4005.  
  4006. Exit.TextColor3 = Color3.new(1, 1, 1)
  4007.  
  4008. Exit.MouseButton1Down:connect(function()
  4009.  
  4010.     Base.Parent = nil
  4011.  
  4012. end)
  4013.  
  4014.  
  4015.  
  4016. HomeContainer.Name = "HomeContainer"
  4017.  
  4018. HomeContainer.Parent = Base
  4019.  
  4020. HomeContainer.BackgroundColor3 = Color3.new(1, 1, 1)
  4021.  
  4022. HomeContainer.BackgroundTransparency = 1
  4023.  
  4024. HomeContainer.Position = UDim2.new(0, 10, 0, 50)
  4025.  
  4026. HomeContainer.Size = UDim2.new(1, -20, 1, -65)
  4027.  
  4028.  
  4029.  
  4030. Players.Name = "Players"
  4031.  
  4032. Players.Parent = HomeContainer
  4033.  
  4034. Players.BackgroundColor3 = Color3.new(1, 1, 1)
  4035.  
  4036. Players.BackgroundTransparency = 1
  4037.  
  4038. Players.Position = UDim2.new(0.666000009, 10, 0, 0)
  4039.  
  4040. Players.Size = UDim2.new(0.333000004, -10, 0.5, -10)
  4041.  
  4042.  
  4043.  
  4044. ImageLabel.Parent = Players
  4045.  
  4046. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  4047.  
  4048. ImageLabel.BackgroundTransparency = 1
  4049.  
  4050. ImageLabel.Position = UDim2.new(0.5, -25, 0, 0)
  4051.  
  4052. ImageLabel.Size = UDim2.new(0, 50, 0, 50)
  4053.  
  4054. ImageLabel.Image = "rbxassetid://573066980"
  4055.  
  4056. ImageLabel.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
  4057.  
  4058.  
  4059.  
  4060. TextLabel.Parent = Players
  4061.  
  4062. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  4063.  
  4064. TextLabel.BackgroundTransparency = 1
  4065.  
  4066. TextLabel.Position = UDim2.new(0, 10, 1, -40)
  4067.  
  4068. TextLabel.Size = UDim2.new(1, -20, 0, 20)
  4069.  
  4070. TextLabel.Font = Enum.Font.SourceSansBold
  4071.  
  4072. TextLabel.FontSize = Enum.FontSize.Size24
  4073.  
  4074. TextLabel.Text = "Players"
  4075.  
  4076. TextLabel.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
  4077.  
  4078.  
  4079.  
  4080. Mask.Name = "Mask"
  4081.  
  4082. Mask.Parent = Players
  4083.  
  4084. Mask.BackgroundColor3 = Color3.new(1, 1, 1)
  4085.  
  4086. Mask.BackgroundTransparency = 1
  4087.  
  4088. Mask.Position = UDim2.new(0, 27, 0, 0)
  4089.  
  4090. Mask.Size = UDim2.new(1, -56, 0, 65)
  4091.  
  4092. Mask.Font = Enum.Font.SourceSans
  4093.  
  4094. Mask.FontSize = Enum.FontSize.Size14
  4095.  
  4096. Mask.Text = ""
  4097.  
  4098.  
  4099.  
  4100. Server.Name = "Server"
  4101.  
  4102. Server.Parent = HomeContainer
  4103.  
  4104. Server.BackgroundColor3 = Color3.new(1, 1, 1)
  4105.  
  4106. Server.BackgroundTransparency = 1
  4107.  
  4108. Server.Size = UDim2.new(0.333000004, -10, 0.5, -10)
  4109.  
  4110.  
  4111.  
  4112. ImageLabel_2.Parent = Server
  4113.  
  4114. ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  4115.  
  4116. ImageLabel_2.BackgroundTransparency = 1
  4117.  
  4118. ImageLabel_2.Position = UDim2.new(0.5, -23, 0, 0)
  4119.  
  4120. ImageLabel_2.Size = UDim2.new(0, 46, 0, 46)
  4121.  
  4122. ImageLabel_2.Image = "rbxassetid://573084509"
  4123.  
  4124. ImageLabel_2.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
  4125.  
  4126.  
  4127.  
  4128. TextLabel_2.Parent = Server
  4129.  
  4130. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  4131.  
  4132. TextLabel_2.BackgroundTransparency = 1
  4133.  
  4134. TextLabel_2.Position = UDim2.new(0, 10, 1, -40)
  4135.  
  4136. TextLabel_2.Size = UDim2.new(1, -20, 0, 20)
  4137.  
  4138. TextLabel_2.Font = Enum.Font.SourceSansBold
  4139.  
  4140. TextLabel_2.FontSize = Enum.FontSize.Size24
  4141.  
  4142. TextLabel_2.Text = "Server"
  4143.  
  4144. TextLabel_2.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
  4145.  
  4146.  
  4147.  
  4148. Mask_2.Name = "Mask"
  4149.  
  4150. Mask_2.Parent = Server
  4151.  
  4152. Mask_2.BackgroundColor3 = Color3.new(1, 1, 1)
  4153.  
  4154. Mask_2.BackgroundTransparency = 1
  4155.  
  4156. Mask_2.Position = UDim2.new(0, 27, 0, 0)
  4157.  
  4158. Mask_2.Size = UDim2.new(1, -56, 0, 65)
  4159.  
  4160. Mask_2.Font = Enum.Font.SourceSans
  4161.  
  4162. Mask_2.FontSize = Enum.FontSize.Size14
  4163.  
  4164. Mask_2.Text = ""
  4165.  
  4166.  
  4167.  
  4168. LocalPlayer.Name = "LocalPlayer"
  4169.  
  4170. LocalPlayer.Parent = HomeContainer
  4171.  
  4172. LocalPlayer.BackgroundColor3 = Color3.new(1, 1, 1)
  4173.  
  4174. LocalPlayer.BackgroundTransparency = 1
  4175.  
  4176. LocalPlayer.Position = UDim2.new(0.333000004, 10, 0, 0)
  4177.  
  4178. LocalPlayer.Size = UDim2.new(0.333000004, -10, 0.5, -10)
  4179.  
  4180.  
  4181.  
  4182. ImageLabel_3.Parent = LocalPlayer
  4183.  
  4184. ImageLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  4185.  
  4186. ImageLabel_3.BackgroundTransparency = 1
  4187.  
  4188. ImageLabel_3.Position = UDim2.new(0.5, -25, 0, 0)
  4189.  
  4190. ImageLabel_3.Size = UDim2.new(0, 50, 0, 50)
  4191.  
  4192. ImageLabel_3.Image = "rbxassetid://573078228"
  4193.  
  4194. ImageLabel_3.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
  4195.  
  4196.  
  4197.  
  4198. TextLabel_3.Parent = LocalPlayer
  4199.  
  4200. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  4201.  
  4202. TextLabel_3.BackgroundTransparency = 1
  4203.  
  4204. TextLabel_3.Position = UDim2.new(0, 10, 1, -40)
  4205.  
  4206. TextLabel_3.Size = UDim2.new(1, -20, 0, 20)
  4207.  
  4208. TextLabel_3.Font = Enum.Font.SourceSansBold
  4209.  
  4210. TextLabel_3.FontSize = Enum.FontSize.Size24
  4211.  
  4212. TextLabel_3.Text = "LocalPlayer"
  4213.  
  4214. TextLabel_3.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
  4215.  
  4216.  
  4217.  
  4218. Mask_3.Name = "Mask"
  4219.  
  4220. Mask_3.Parent = LocalPlayer
  4221.  
  4222. Mask_3.BackgroundColor3 = Color3.new(1, 1, 1)
  4223.  
  4224. Mask_3.BackgroundTransparency = 1
  4225.  
  4226. Mask_3.Position = UDim2.new(0, 27, 0, 0)
  4227.  
  4228. Mask_3.Size = UDim2.new(1, -56, 0, 65)
  4229.  
  4230. Mask_3.Font = Enum.Font.SourceSans
  4231.  
  4232. Mask_3.FontSize = Enum.FontSize.Size14
  4233.  
  4234. Mask_3.Text = ""
  4235.  
  4236.  
  4237.  
  4238. Scripts.Name = "Scripts"
  4239.  
  4240. Scripts.Parent = HomeContainer
  4241.  
  4242. Scripts.BackgroundColor3 = Color3.new(1, 1, 1)
  4243.  
  4244. Scripts.BackgroundTransparency = 1
  4245.  
  4246. Scripts.Position = UDim2.new(0, 0, 0.5, 0)
  4247.  
  4248. Scripts.Size = UDim2.new(0.333000004, -10, 0.5, -10)
  4249.  
  4250.  
  4251.  
  4252. ImageLabel_4.Parent = Scripts
  4253.  
  4254. ImageLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  4255.  
  4256. ImageLabel_4.BackgroundTransparency = 1
  4257.  
  4258. ImageLabel_4.Position = UDim2.new(0.5, -25, 0, 0)
  4259.  
  4260. ImageLabel_4.Size = UDim2.new(0, 50, 0, 50)
  4261.  
  4262. ImageLabel_4.Image = "rbxassetid://573081437"
  4263.  
  4264. ImageLabel_4.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
  4265.  
  4266.  
  4267.  
  4268. TextLabel_4.Parent = Scripts
  4269.  
  4270. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  4271.  
  4272. TextLabel_4.BackgroundTransparency = 1
  4273.  
  4274. TextLabel_4.Position = UDim2.new(0, 10, 1, -40)
  4275.  
  4276. TextLabel_4.Size = UDim2.new(1, -20, 0, 20)
  4277.  
  4278. TextLabel_4.Font = Enum.Font.SourceSansBold
  4279.  
  4280. TextLabel_4.FontSize = Enum.FontSize.Size24
  4281.  
  4282. TextLabel_4.Text = "Scripts"
  4283.  
  4284. TextLabel_4.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
  4285.  
  4286.  
  4287.  
  4288. Mask_4.Name = "Mask"
  4289.  
  4290. Mask_4.Parent = Scripts
  4291.  
  4292. Mask_4.BackgroundColor3 = Color3.new(1, 1, 1)
  4293.  
  4294. Mask_4.BackgroundTransparency = 1
  4295.  
  4296. Mask_4.Position = UDim2.new(0, 27, 0, 0)
  4297.  
  4298. Mask_4.Size = UDim2.new(1, -56, 0, 65)
  4299.  
  4300. Mask_4.Font = Enum.Font.SourceSans
  4301.  
  4302. Mask_4.FontSize = Enum.FontSize.Size14
  4303.  
  4304. Mask_4.Text = ""
  4305.  
  4306.  
  4307.  
  4308. Miscellaneous.Name = "Miscellaneous"
  4309.  
  4310. Miscellaneous.Parent = HomeContainer
  4311.  
  4312. Miscellaneous.BackgroundColor3 = Color3.new(1, 1, 1)
  4313.  
  4314. Miscellaneous.BackgroundTransparency = 1
  4315.  
  4316. Miscellaneous.Position = UDim2.new(0.333000004, 10, 0.5, 0)
  4317.  
  4318. Miscellaneous.Size = UDim2.new(0.333000004, -10, 0.5, -10)
  4319.  
  4320.  
  4321.  
  4322. ImageLabel_5.Parent = Miscellaneous
  4323.  
  4324. ImageLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  4325.  
  4326. ImageLabel_5.BackgroundTransparency = 1
  4327.  
  4328. ImageLabel_5.Position = UDim2.new(0.5, -23, 0, 0)
  4329.  
  4330. ImageLabel_5.Size = UDim2.new(0, 46, 0, 46)
  4331.  
  4332. ImageLabel_5.Image = "rbxassetid://573087376"
  4333.  
  4334. ImageLabel_5.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
  4335.  
  4336.  
  4337.  
  4338. TextLabel_5.Parent = Miscellaneous
  4339.  
  4340. TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  4341.  
  4342. TextLabel_5.BackgroundTransparency = 1
  4343.  
  4344. TextLabel_5.Position = UDim2.new(0, 10, 1, -40)
  4345.  
  4346. TextLabel_5.Size = UDim2.new(1, -20, 0, 20)
  4347.  
  4348. TextLabel_5.Font = Enum.Font.SourceSansBold
  4349.  
  4350. TextLabel_5.FontSize = Enum.FontSize.Size24
  4351.  
  4352. TextLabel_5.Text = "Miscellaneous"
  4353.  
  4354. TextLabel_5.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
  4355.  
  4356.  
  4357.  
  4358. Mask_5.Name = "Mask"
  4359.  
  4360. Mask_5.Parent = Miscellaneous
  4361.  
  4362. Mask_5.BackgroundColor3 = Color3.new(1, 1, 1)
  4363.  
  4364. Mask_5.BackgroundTransparency = 1
  4365.  
  4366. Mask_5.Position = UDim2.new(0, 27, 0, 0)
  4367.  
  4368. Mask_5.Size = UDim2.new(1, -56, 0, 65)
  4369.  
  4370. Mask_5.Font = Enum.Font.SourceSans
  4371.  
  4372. Mask_5.FontSize = Enum.FontSize.Size14
  4373.  
  4374. Mask_5.Text = ""
  4375.  
  4376.  
  4377.  
  4378. Settings.Name = "Settings"
  4379.  
  4380. Settings.Parent = HomeContainer
  4381.  
  4382. Settings.BackgroundColor3 = Color3.new(1, 1, 1)
  4383.  
  4384. Settings.BackgroundTransparency = 1
  4385.  
  4386. Settings.Position = UDim2.new(0.666000009, 10, 0.5, 0)
  4387.  
  4388. Settings.Size = UDim2.new(0.333000004, -10, 0.5, -10)
  4389.  
  4390.  
  4391.  
  4392. ImageLabel_6.Parent = Settings
  4393.  
  4394. ImageLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
  4395.  
  4396. ImageLabel_6.BackgroundTransparency = 1
  4397.  
  4398. ImageLabel_6.Position = UDim2.new(0.5, -23, 0, 0)
  4399.  
  4400. ImageLabel_6.Size = UDim2.new(0, 46, 0, 46)
  4401.  
  4402. ImageLabel_6.Image = "rbxassetid://573090294"
  4403.  
  4404. ImageLabel_6.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
  4405.  
  4406.  
  4407.  
  4408. TextLabel_6.Parent = Settings
  4409.  
  4410. TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
  4411.  
  4412. TextLabel_6.BackgroundTransparency = 1
  4413.  
  4414. TextLabel_6.Position = UDim2.new(0, 10, 1, -40)
  4415.  
  4416. TextLabel_6.Size = UDim2.new(1, -20, 0, 20)
  4417.  
  4418. TextLabel_6.Font = Enum.Font.SourceSansBold
  4419.  
  4420. TextLabel_6.FontSize = Enum.FontSize.Size24
  4421.  
  4422. TextLabel_6.Text = "Settings"
  4423.  
  4424. TextLabel_6.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
  4425.  
  4426.  
  4427.  
  4428. Mask_6.Name = "Mask"
  4429.  
  4430. Mask_6.Parent = Settings
  4431.  
  4432. Mask_6.BackgroundColor3 = Color3.new(1, 1, 1)
  4433.  
  4434. Mask_6.BackgroundTransparency = 1
  4435.  
  4436. Mask_6.Position = UDim2.new(0, 27, 0, 0)
  4437.  
  4438. Mask_6.Size = UDim2.new(1, -56, 0, 65)
  4439.  
  4440. Mask_6.Font = Enum.Font.SourceSans
  4441.  
  4442. Mask_6.FontSize = Enum.FontSize.Size14
  4443.  
  4444. Mask_6.Text = ""
  4445.  
  4446.  
  4447.  
  4448. Navigator.Name = "Navigator"
  4449.  
  4450. Navigator.Parent = Base
  4451.  
  4452. Navigator.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
  4453.  
  4454. Navigator.BackgroundTransparency = 0.5
  4455.  
  4456. Navigator.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  4457.  
  4458. Navigator.Position = UDim2.new(0, 10, 0, 35)
  4459.  
  4460. Navigator.Size = UDim2.new(0, 125, 1, -45)
  4461.  
  4462. Navigator.Visible = false
  4463.  
  4464. Navigator.BottomImage = "rbxassetid://573102620"
  4465.  
  4466. Navigator.MidImage = "rbxassetid://573102620"
  4467.  
  4468. Navigator.ScrollBarThickness = 5
  4469.  
  4470. Navigator.TopImage = "rbxassetid://573102620"
  4471.  
  4472.  
  4473.  
  4474. Item.Name = "Item"
  4475.  
  4476. Item.Parent = Navigator
  4477.  
  4478. Item.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
  4479.  
  4480. Item.BackgroundTransparency = 0.5
  4481.  
  4482. Item.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  4483.  
  4484. Item.Position = UDim2.new(0, 5, 0, 5)
  4485.  
  4486. Item.Size = UDim2.new(1, -15, 0, 20)
  4487.  
  4488. Item.Selected = true
  4489.  
  4490. Item.Font = Enum.Font.SourceSans
  4491.  
  4492. Item.FontSize = Enum.FontSize.Size14
  4493.  
  4494. Item.Text = "NavItem"
  4495.  
  4496. Item.TextColor3 = Color3.new(0.721569, 0.721569, 0.721569)
  4497.  
  4498.  
  4499.  
  4500. ServerContainer.Name = "ServerContainer"
  4501.  
  4502. ServerContainer.Parent = Base
  4503.  
  4504. ServerContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
  4505.  
  4506. ServerContainer.BackgroundTransparency = 0.5
  4507.  
  4508. ServerContainer.Position = UDim2.new(0, 140, 0, 35)
  4509.  
  4510. ServerContainer.Size = UDim2.new(1, -150, 1, -45)
  4511.  
  4512. ServerContainer.Visible = false
  4513.  
  4514. ServerContainer.BottomImage = "rbxassetid://573102620"
  4515.  
  4516. ServerContainer.MidImage = "rbxassetid://573102620"
  4517.  
  4518. ServerContainer.ScrollBarThickness = 5
  4519.  
  4520. ServerContainer.TopImage = "rbxassetid://573102620"
  4521.  
  4522.  
  4523.  
  4524. dd.Name = "dd"
  4525.  
  4526. dd.Parent = ServerContainer
  4527.  
  4528. dd.BackgroundColor3 = Color3.new(0.0196078, 0.0313726, 0.0431373)
  4529.  
  4530. dd.Position = UDim2.new(0, 6, 0, 6)
  4531.  
  4532. dd.Size = UDim2.new(0.5, -10, 0, 20)
  4533.  
  4534. dd.Visible = false
  4535.  
  4536. dd.Font = Enum.Font.SourceSans
  4537.  
  4538. dd.FontSize = Enum.FontSize.Size14
  4539.  
  4540. dd.Text = "Troll Spam"
  4541.  
  4542. dd.TextColor3 = Color3.new(0.780392, 0.780392, 0.780392)
  4543.  
  4544. dd.TextStrokeTransparency = 0.5
  4545.  
  4546.  
  4547.  
  4548. ImageLabel_7.Parent = dd
  4549.  
  4550. ImageLabel_7.BackgroundColor3 = Color3.new(1, 1, 1)
  4551.  
  4552. ImageLabel_7.BackgroundTransparency = 1
  4553.  
  4554. ImageLabel_7.Position = UDim2.new(0, 2, 0, 0)
  4555.  
  4556. ImageLabel_7.Size = UDim2.new(0, 20, 0, 20)
  4557.  
  4558. ImageLabel_7.Image = "rbxassetid://133293265"
  4559.  
  4560.  
  4561.  
  4562. LocalPlayerContainer.Name = "LocalPlayerContainer"
  4563.  
  4564. LocalPlayerContainer.Parent = Base
  4565.  
  4566. LocalPlayerContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
  4567.  
  4568. LocalPlayerContainer.BackgroundTransparency = 0.5
  4569.  
  4570. LocalPlayerContainer.Position = UDim2.new(0, 140, 0, 35)
  4571.  
  4572. LocalPlayerContainer.Size = UDim2.new(1, -150, 1, -45)
  4573.  
  4574. LocalPlayerContainer.Visible = false
  4575.  
  4576. LocalPlayerContainer.BottomImage = "rbxassetid://573102620"
  4577.  
  4578. LocalPlayerContainer.MidImage = "rbxassetid://573102620"
  4579.  
  4580. LocalPlayerContainer.ScrollBarThickness = 5
  4581.  
  4582. LocalPlayerContainer.TopImage = "rbxassetid://573102620"
  4583.  
  4584.  
  4585.  
  4586. PlayersContainer.Name = "PlayersContainer"
  4587.  
  4588. PlayersContainer.Parent = Base
  4589.  
  4590. PlayersContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
  4591.  
  4592. PlayersContainer.BackgroundTransparency = 0.5
  4593.  
  4594. PlayersContainer.Position = UDim2.new(0, 140, 0, 35)
  4595.  
  4596. PlayersContainer.Size = UDim2.new(1, -150, 1, -45)
  4597.  
  4598. PlayersContainer.Visible = false
  4599.  
  4600. PlayersContainer.BottomImage = "rbxassetid://573102620"
  4601.  
  4602. PlayersContainer.MidImage = "rbxassetid://573102620"
  4603.  
  4604. PlayersContainer.ScrollBarThickness = 5
  4605.  
  4606. PlayersContainer.TopImage = "rbxassetid://573102620"
  4607.  
  4608.  
  4609.  
  4610. function MakeContainer(n)
  4611.  
  4612.     local cont = PlayersContainer:Clone()
  4613.  
  4614.     cont.Name = n .. 'Container'
  4615.  
  4616.     cont.Parent = Base
  4617.  
  4618.     return cont
  4619.  
  4620. end
  4621.  
  4622.  
  4623.  
  4624. local ScriptsContainer = MakeContainer('Scripts')
  4625.  
  4626. local MiscContainer = MakeContainer('Miscellaneous')
  4627.  
  4628.  
  4629.  
  4630. local topkek = {}
  4631.  
  4632. topkek.store = {}
  4633.  
  4634. topkek.cache = {}
  4635.  
  4636. topkek.libgui = {}
  4637.  
  4638. topkek.libsettings = {}
  4639.  
  4640. topkek.libutil = {}
  4641.  
  4642. topkek.libwindows = {}
  4643.  
  4644. topkek.libcmd = {}
  4645.  
  4646. --[[ gay ass dropdown lib i made a while ago ]]--
  4647.  
  4648. dropdown = {}
  4649.  
  4650. dropdown.new = function(gui, items, placeholder)
  4651.  
  4652.     local self = {}
  4653.  
  4654.     self.value = placeholder
  4655.  
  4656.     self.items = items
  4657.  
  4658.     self.gui = gui
  4659.  
  4660.    
  4661.  
  4662.     if self.gui:FindFirstChild("__DROPDOWN") then
  4663.  
  4664.         self.gui["__DROPDOWN"]:Destroy()
  4665.  
  4666.     end
  4667.  
  4668.    
  4669.  
  4670.     self.debug = false
  4671.  
  4672.    
  4673.  
  4674.     self.gui.Text = placeholder
  4675.  
  4676.     self.gui.BorderSizePixel = 0
  4677.  
  4678.     self.gui.ZIndex = 1
  4679.  
  4680.    
  4681.  
  4682.     self.textcolor = self.gui.TextColor3
  4683.  
  4684.     function self.make()
  4685.  
  4686.         if self.gui:FindFirstChild("__DROPDOWN") then
  4687.  
  4688.             self.gui["__DROPDOWN"]:Destroy()
  4689.  
  4690.         end
  4691.  
  4692.            
  4693.  
  4694.        
  4695.  
  4696.         self.selectgui = Instance.new("ScrollingFrame")
  4697.  
  4698.         self.selectgui.Parent = self.gui
  4699.  
  4700.         self.selectgui.Name = "__DROPDOWN"
  4701.  
  4702.         self.selectgui.Size = UDim2.new(1, 0, 0, 100)
  4703.  
  4704.         self.selectgui.Position = UDim2.new(0, 0, 0, self.gui.AbsoluteSize.Y)
  4705.  
  4706.         self.selectgui.BorderSizePixel = 0
  4707.  
  4708.         self.selectgui.ZIndex = 2
  4709.  
  4710.         self.selectgui.BackgroundTransparency = self.gui.BackgroundTransparency
  4711.  
  4712.         self.selectgui.BackgroundColor3 = self.gui.BackgroundColor3
  4713.  
  4714.         self.selectgui.Visible = false
  4715.  
  4716.         self.selectgui.CanvasSize = UDim2.new(0, 0, 0, (#self.items-1) * 20)
  4717.  
  4718.         self.selectgui.ScrollBarThickness = 5
  4719.  
  4720.        
  4721.  
  4722.         if #self.items < 4 then
  4723.  
  4724.             self.selectgui.CanvasSize = UDim2.new(0, 0, 0, 0)
  4725.  
  4726.             self.selectgui.Size = UDim2.new(1, 0, 0, (#self.items-1) * 20)
  4727.  
  4728.         end
  4729.  
  4730.        
  4731.  
  4732.         self.item = Instance.new("TextButton")
  4733.  
  4734.         self.item.Size = UDim2.new(1, 0, 0, 20)
  4735.  
  4736.         self.item.Position = UDim2.new(0, 0, 0, 0)
  4737.  
  4738.         self.item.BackgroundTransparency = self.gui.BackgroundTransparency - 0.1
  4739.  
  4740.         self.item.BackgroundColor3 = self.gui.BackgroundColor3
  4741.  
  4742.         self.item.BorderSizePixel = 0
  4743.  
  4744.         self.item.ZIndex = 2
  4745.  
  4746.         self.item.TextColor3 = self.gui.TextColor3
  4747.  
  4748.         self.item.Font = Enum.Font.SourceSans
  4749.  
  4750.         self.item.FontSize = Enum.FontSize.Size14
  4751.  
  4752.        
  4753.  
  4754.         self.curitem = nil
  4755.  
  4756.        
  4757.  
  4758.         for i, v in pairs(self.items) do
  4759.  
  4760.             if not (v == self.value) then
  4761.  
  4762.                 local ti = self.item:Clone()
  4763.  
  4764.                 ti.Parent = self.selectgui
  4765.  
  4766.                 if i == 1 then i = 2 end
  4767.  
  4768.                 ti.Position = UDim2.new(0, 0, 0, (i - 2) * 20)
  4769.  
  4770.                 ti.Text = v
  4771.  
  4772.                 ti.MouseButton1Down:connect(function()
  4773.  
  4774.                     self.value = v
  4775.  
  4776.                     self.open = false
  4777.  
  4778.                     self.selectgui.Visible = false
  4779.  
  4780.                     self.gui.Text = v
  4781.  
  4782.                     self.make()
  4783.  
  4784.                 end)
  4785.  
  4786.             end
  4787.  
  4788.         end
  4789.  
  4790.     end
  4791.  
  4792.    
  4793.  
  4794.     self.getvalue = function()
  4795.  
  4796.         return self.value
  4797.  
  4798.     end
  4799.  
  4800.    
  4801.  
  4802.     self.update = function(itms)
  4803.  
  4804.         self.items = itms
  4805.  
  4806.         self.make()
  4807.  
  4808.     end
  4809.  
  4810.  
  4811.  
  4812.     self.open = false  
  4813.  
  4814.    
  4815.  
  4816.     self.gui.MouseButton1Down:connect(function()
  4817.  
  4818.         if self.open == false then
  4819.  
  4820.             self.selectgui.CanvasPosition = Vector2.new(0, 0)
  4821.  
  4822.             self.selectgui.Visible = true
  4823.  
  4824.             self.open = true
  4825.  
  4826.         else
  4827.  
  4828.             self.selectgui.Visible = false
  4829.  
  4830.             self.open = false
  4831.  
  4832.         end
  4833.  
  4834.     end)
  4835.  
  4836.    
  4837.  
  4838.     self.make()
  4839.  
  4840.     return self
  4841.  
  4842. end
  4843.  
  4844. --[[ libsettings lole ]]--
  4845.  
  4846. topkek.libsettings.store = {}
  4847.  
  4848. function topkek.libsettings:getSetting(k)
  4849.  
  4850.     return topkek.libsettings.store[k]
  4851.  
  4852. end
  4853.  
  4854.  
  4855.  
  4856. function topkek.libsettings:setSetting(k,v)
  4857.  
  4858.     topkek.libsettings.store[k]=v
  4859.  
  4860. end
  4861.  
  4862.  
  4863.  
  4864. -- [[ libutil ]] --
  4865.  
  4866. function topkek.libutil:createObject(o, p)
  4867.  
  4868.     local a, b = pcall(function()
  4869.  
  4870.         Instance.new(o)
  4871.  
  4872.     end)
  4873.  
  4874.     if not a then
  4875.  
  4876.         return
  4877.  
  4878.     end
  4879.  
  4880.     local obj = Instance.new(o)
  4881.  
  4882.     for prop, val in pairs(p) do
  4883.  
  4884.         pcall(function()
  4885.  
  4886.             obj[prop] = val
  4887.  
  4888.         end)
  4889.  
  4890.     end
  4891.  
  4892.     return obj
  4893.  
  4894. end
  4895.  
  4896. function topkek.libutil:Color3(r,g,b)
  4897.  
  4898.     return Color3.new(r/255,g/255,b/255)
  4899.  
  4900. end; color3 = function(r,g,b) return topkek.libutil:Color3(r,g,b) end
  4901.  
  4902. function topkek.libutil:recurseDecal(img)--topkek2.0 code tbh
  4903.  
  4904.     img = 'rbxassetid://' .. img
  4905.  
  4906.     local function skybox(x)
  4907.  
  4908.         local sky = Instance.new("Sky",game.Lighting)
  4909.  
  4910.         local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  4911.  
  4912.         for i,v in pairs(fcs) do
  4913.  
  4914.             sky["Skybox"..v]=x
  4915.  
  4916.         end
  4917.  
  4918.     end
  4919.  
  4920.     local function particle(p, b)
  4921.  
  4922.         local a = Instance.new("ParticleEmitter", p)
  4923.  
  4924.         a.Rate = 500
  4925.  
  4926.         a.Lifetime = NumberRange.new(20, 30)
  4927.  
  4928.         a.VelocitySpread = 200
  4929.  
  4930.         a.Texture = b
  4931.  
  4932.     end
  4933.  
  4934.            
  4935.  
  4936.     local function decal(p, b)
  4937.  
  4938.         local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  4939.  
  4940.         for i, v in pairs(sides) do
  4941.  
  4942.             local a = Instance.new("Decal", p)
  4943.  
  4944.             a.Texture = b
  4945.  
  4946.             a.Face = v
  4947.  
  4948.         end
  4949.  
  4950.     end
  4951.  
  4952.            
  4953.  
  4954.     local function recurse(x)
  4955.  
  4956.         for i, v in pairs(x:GetChildren()) do
  4957.  
  4958.             pcall(function() -- 'error occured, no output from Lua' LOLE
  4959.  
  4960.                 if v:IsA("BasePart") then
  4961.  
  4962.                     particle(v, img)
  4963.  
  4964.                     decal(v, img)
  4965.  
  4966.                 end
  4967.  
  4968.                 if #(v:GetChildren())>0 then
  4969.  
  4970.                     recurse(v)
  4971.  
  4972.                 end
  4973.  
  4974.             end)
  4975.  
  4976.         end
  4977.  
  4978.     end
  4979.  
  4980.            
  4981.  
  4982.     recurse(game)
  4983.  
  4984.     skybox(img)
  4985.  
  4986. end
  4987.  
  4988. function topkek.libutil:recurseRemove(type_)
  4989.  
  4990.     local function recurse(x)
  4991.  
  4992.         for i, v in pairs(x:GetChildren()) do
  4993.  
  4994.             pcall(function()
  4995.  
  4996.                 if v:IsA(type_) then
  4997.  
  4998.                     v:Destroy()
  4999.  
  5000.                 end
  5001.  
  5002.                 if #(v:GetChildren())>0 then
  5003.  
  5004.                     recurse(v)
  5005.  
  5006.                 end
  5007.  
  5008.             end)
  5009.  
  5010.         end
  5011.  
  5012.     end
  5013.  
  5014.     recurse(game)
  5015.  
  5016. end
  5017.  
  5018. function topkek.libutil:recurseSet(type_,prop,val)
  5019.  
  5020.     local function recurse(x)
  5021.  
  5022.         for i, v in pairs(x:GetChildren()) do
  5023.  
  5024.             pcall(function()
  5025.  
  5026.                 if v:IsA(type_) then
  5027.  
  5028.                     v[prop]=val
  5029.  
  5030.                 end
  5031.  
  5032.                 if #(v:GetChildren())>0 then
  5033.  
  5034.                     recurse(v)
  5035.  
  5036.                 end
  5037.  
  5038.             end)
  5039.  
  5040.         end
  5041.  
  5042.     end
  5043.  
  5044.     recurse(game)
  5045.  
  5046. end
  5047.  
  5048. function topkek.libutil:recurseSetObj(obj,type_,prop,val)
  5049.  
  5050.     local function recurse(x)
  5051.  
  5052.         for i, v in pairs(x:GetChildren()) do
  5053.  
  5054.             pcall(function()
  5055.  
  5056.                 if v:IsA(type_) then
  5057.  
  5058.                     v[prop]=val
  5059.  
  5060.                 end
  5061.  
  5062.                 if #(v:GetChildren())>0 then
  5063.  
  5064.                     recurse(v)
  5065.  
  5066.                 end
  5067.  
  5068.             end)
  5069.  
  5070.         end
  5071.  
  5072.     end
  5073.  
  5074.     recurse(obj)
  5075.  
  5076. end
  5077.  
  5078. function topkek.libutil:recurseFunc(type_,func)
  5079.  
  5080.     local function recurse(x)
  5081.  
  5082.         for i, v in pairs(x:GetChildren()) do
  5083.  
  5084.             pcall(function()
  5085.  
  5086.                 if v:IsA(type_) then
  5087.  
  5088.                     func(v)
  5089.  
  5090.                 end
  5091.  
  5092.                 if #(v:GetChildren())>0 then
  5093.  
  5094.                     recurse(v)
  5095.  
  5096.                 end
  5097.  
  5098.             end)
  5099.  
  5100.         end
  5101.  
  5102.     end
  5103.  
  5104.     recurse(game)
  5105.  
  5106. end
  5107.  
  5108. function topkek.libutil:Play(id)
  5109.  
  5110.     local mu = Instance.new("Sound", game.Workspace)
  5111.  
  5112.     mu.Volume = 1
  5113.  
  5114.     mu.Looped = true
  5115.  
  5116.     mu.Pitch = 1
  5117.  
  5118.     mu.SoundId = "rbxassetid://"..tostring(id)
  5119.  
  5120.     mu:Play()
  5121.  
  5122. end
  5123.  
  5124. function topkek.libutil:GetPlayerList()
  5125.  
  5126.     local list = {'Everybody'}
  5127.  
  5128.     for i, v in pairs(game:service'Players':GetPlayers()) do
  5129.  
  5130.         table.insert(list, v.Name)
  5131.  
  5132.     end
  5133.  
  5134.     return list
  5135.  
  5136. end
  5137.  
  5138. function topkek.libutil:doPlayers(drop, func)
  5139.  
  5140.     local str = drop.getvalue()
  5141.  
  5142.     local plrs = {}
  5143.  
  5144.     if str == 'Everybody' then
  5145.  
  5146.         plrs = game:GetService('Players'):GetPlayers()
  5147.  
  5148.     else
  5149.  
  5150.         plrs = {game:GetService('Players'):FindFirstChild(str)}
  5151.  
  5152.     end
  5153.  
  5154.     for i, v in pairs(plrs) do
  5155.  
  5156.         func(v)
  5157.  
  5158.     end
  5159.  
  5160. end
  5161.  
  5162. function topkek.libutil:insert(id)
  5163.  
  5164.     if topkek.cache[id] then return topkek.cache[id] end -- moist
  5165.  
  5166.     local obj = game:service'InsertService':LoadAsset(id):GetChildren()[1]
  5167.  
  5168.     topkek.cache[id] = obj:Clone()
  5169.  
  5170.     return obj
  5171.  
  5172. end; insert = function(id) return topkek.libutil:insert(id) end
  5173.  
  5174. function topkek.libutil:getTorso(plr) --r15 compatibility lole
  5175.  
  5176.     if plr.Character then
  5177.  
  5178.         if plr.Character:FindFirstChild('UpperTorso') then
  5179.  
  5180.             return plr.Character.UpperTorso
  5181.  
  5182.         else
  5183.  
  5184.             return plr.Character.Torso
  5185.  
  5186.         end
  5187.  
  5188.     end
  5189.  
  5190. end
  5191.  
  5192. function topkek.libutil:weiner(plr)
  5193.  
  5194.     plr=plr.Character
  5195.  
  5196.     Shaft=Instance.new("Part", plr)
  5197.  
  5198.     Shaft.Name='Shaft'
  5199.  
  5200.     Shaft.Size=Vector3.new(1, 2.5, 1)
  5201.  
  5202.     Shaft.TopSurface=0
  5203.  
  5204.     Shaft.BottomSurface=0
  5205.  
  5206.     Shaft.CanCollide=true
  5207.  
  5208.     Cyln=Instance.new("CylinderMesh", Shaft)
  5209.  
  5210.     Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  5211.  
  5212.     Instance.new("Weld", plr)
  5213.  
  5214.     plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  5215.  
  5216.     plr.Weld.Part1=plr.Shaft
  5217.  
  5218.     plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  5219.  
  5220.     Shaft.BrickColor=BrickColor.new("Pastel brown")
  5221.  
  5222.     Tip=Instance.new("Part", plr)
  5223.  
  5224.     Tip.Name='Tip'
  5225.  
  5226.     Tip.TopSurface=0
  5227.  
  5228.     Tip.BottomSurface=0
  5229.  
  5230.     Tip.Size=Vector3.new(1, 1, 1)
  5231.  
  5232.     Tip.CanCollide=true
  5233.  
  5234.     Tip.Touched:connect(function(prt) if prt.Parent~=player then spawn(function() for i=1, 5 do local pert=Instance.new("Part", player) pert.CFrame=CFrame.new(prt.Position) pert.CanCollide=true local mesh=Instance.new("BlockMesh", pert) mesh.Scale=Vector3.new(0.2,0.2,0.2) pert.BrickColor=BrickColor.new("White") end end) end end)
  5235.  
  5236.     Cyln2=Instance.new("SpecialMesh", Tip)
  5237.  
  5238.     Cyln2.MeshType='Sphere'
  5239.  
  5240.     Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  5241.  
  5242.     Instance.new("Weld", plr).Name='Weld2'
  5243.  
  5244.     plr.Weld2.Part0=plr.Shaft
  5245.  
  5246.     plr.Weld2.Part1=plr.Tip
  5247.  
  5248.     plr.Weld2.C0=CFrame.new(0,-.9,0)
  5249.  
  5250.     Tip.BrickColor=BrickColor.new("Pink")
  5251.  
  5252.     -----
  5253.  
  5254.     Ball1=Instance.new("Part", plr)
  5255.  
  5256.     Ball1.Name='Ball1'
  5257.  
  5258.     Ball1.Size=Vector3.new(1, 1, 1)
  5259.  
  5260.     Ball1.TopSurface=0
  5261.  
  5262.     Ball1.BottomSurface=0
  5263.  
  5264.     Cyln3=Instance.new("SpecialMesh", Ball1)
  5265.  
  5266.     Cyln3.MeshType='Sphere'
  5267.  
  5268.     Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  5269.  
  5270.     Instance.new("Weld", plr).Name='Weld3'
  5271.  
  5272.     plr.Weld3.Part0=plr.Shaft
  5273.  
  5274.     plr.Weld3.Part1=plr.Ball1
  5275.  
  5276.     plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  5277.  
  5278.     Ball1.BrickColor=BrickColor.new("Pastel brown")
  5279.  
  5280.     -----
  5281.  
  5282.     Ball2=Instance.new("Part", plr)
  5283.  
  5284.     Ball2.Name='Ball2'
  5285.  
  5286.     Ball2.Size=Vector3.new(1, 1, 1)
  5287.  
  5288.     Ball2.TopSurface=0
  5289.  
  5290.     Ball2.BottomSurface=0
  5291.  
  5292.     Cyln3=Instance.new("SpecialMesh", Ball2)
  5293.  
  5294.     Cyln3.MeshType='Sphere'
  5295.  
  5296.     Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  5297.  
  5298.     Instance.new("Weld", plr).Name='Weld4'
  5299.  
  5300.     plr.Weld4.Part0=plr.Shaft
  5301.  
  5302.     plr.Weld4.Part1=plr.Ball2
  5303.  
  5304.     plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  5305.  
  5306.     Ball2.BrickColor=BrickColor.new("Pastel brown")
  5307.  
  5308. end
  5309.  
  5310. function topkek.libutil:scalePlayer(plr, sz)
  5311.  
  5312.     local pchar = plr.Character
  5313.  
  5314.     if pchar:FindFirstChild("UpperTorso") then
  5315.  
  5316.         warn("Player [" ..plr.Name.. "] is R15.")
  5317.  
  5318.         return
  5319.  
  5320.     end
  5321.  
  5322.     local function scale(chr,scl)
  5323.  
  5324.    
  5325.  
  5326.         for _,v in pairs(pchar:GetChildren()) do
  5327.  
  5328.             if v:IsA("Hat") then
  5329.  
  5330.                 v:Clone()
  5331.  
  5332.                 v.Parent = game.Lighting
  5333.  
  5334.             end
  5335.  
  5336.         end
  5337.  
  5338.            
  5339.  
  5340.         local Head = chr['Head']
  5341.  
  5342.         local Torso = chr['Torso']
  5343.  
  5344.         local LA = chr['Left Arm']
  5345.  
  5346.         local RA = chr['Right Arm']
  5347.  
  5348.         local LL = chr['Left Leg']
  5349.  
  5350.         local RL = chr['Right Leg']
  5351.  
  5352.         local HRP = chr['HumanoidRootPart']
  5353.  
  5354.    
  5355.  
  5356.         wait(0.1)
  5357.  
  5358.        
  5359.  
  5360.         Head.formFactor = 3
  5361.  
  5362.         Torso.formFactor = 3
  5363.  
  5364.         LA.formFactor = 3
  5365.  
  5366.         RA.formFactor = 3
  5367.  
  5368.         LL.formFactor = 3
  5369.  
  5370.         RL.formFactor = 3
  5371.  
  5372.         HRP.formFactor = 3
  5373.  
  5374.        
  5375.  
  5376.         Head.Size = Vector3.new(scl * 2, scl, scl)
  5377.  
  5378.         Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  5379.  
  5380.         LA.Size = Vector3.new(scl, scl * 2, scl)
  5381.  
  5382.         RA.Size = Vector3.new(scl, scl * 2, scl)
  5383.  
  5384.         LL.Size = Vector3.new(scl, scl * 2, scl)
  5385.  
  5386.         RL.Size = Vector3.new(scl, scl * 2, scl)
  5387.  
  5388.         HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  5389.  
  5390.        
  5391.  
  5392.         local Motor1 = Instance.new('Motor6D', Torso)
  5393.  
  5394.         Motor1.Part0 = Torso
  5395.  
  5396.         Motor1.Part1 = Head
  5397.  
  5398.         Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  5399.  
  5400.         Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  5401.  
  5402.         Motor1.Name = "Neck"
  5403.  
  5404.                
  5405.  
  5406.         local Motor2 = Instance.new('Motor6D', Torso)
  5407.  
  5408.         Motor2.Part0 = Torso
  5409.  
  5410.         Motor2.Part1 = LA
  5411.  
  5412.         Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  5413.  
  5414.         Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  5415.  
  5416.         Motor2.Name = "Left Shoulder"
  5417.  
  5418.        
  5419.  
  5420.         local Motor3 = Instance.new('Motor6D', Torso)
  5421.  
  5422.         Motor3.Part0 = Torso
  5423.  
  5424.         Motor3.Part1 = RA
  5425.  
  5426.         Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  5427.  
  5428.         Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  5429.  
  5430.         Motor3.Name = "Right Shoulder"
  5431.  
  5432.        
  5433.  
  5434.         local Motor4 = Instance.new('Motor6D', Torso)
  5435.  
  5436.         Motor4.Part0 = Torso
  5437.  
  5438.         Motor4.Part1 = LL
  5439.  
  5440.         Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  5441.  
  5442.         Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  5443.  
  5444.         Motor4.Name = "Left Hip"
  5445.  
  5446.        
  5447.  
  5448.         local Motor5 = Instance.new('Motor6D', Torso)
  5449.  
  5450.         Motor5.Part0 = Torso
  5451.  
  5452.         Motor5.Part1 = RL
  5453.  
  5454.         Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  5455.  
  5456.         Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  5457.  
  5458.         Motor5.Name = "Right Hip"
  5459.  
  5460.        
  5461.  
  5462.         local Motor6 = Instance.new('Motor6D', HRP)
  5463.  
  5464.         Motor6.Part0 = HRP
  5465.  
  5466.         Motor6.Part1 = Torso
  5467.  
  5468.         Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  5469.  
  5470.         Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  5471.  
  5472.            
  5473.  
  5474.     end
  5475.  
  5476.    
  5477.  
  5478.     scale(pchar, sz)
  5479.  
  5480.    
  5481.  
  5482.     for _,v in pairs(game.Lighting:GetChildren()) do
  5483.  
  5484.         if v:IsA("Hat") then
  5485.  
  5486.             v.Parent = pchar
  5487.  
  5488.         end
  5489.  
  5490.     end
  5491.  
  5492. end
  5493.  
  5494. function topkek.libutil:dickShooter()
  5495.  
  5496.     Player = game:GetService("Players").LocalPlayer
  5497.  
  5498.     Character = Player.Character
  5499.  
  5500.     PlayerGui = Player.PlayerGui
  5501.  
  5502.     Backpack = Player.Backpack
  5503.  
  5504.     Torso = Character.Torso
  5505.  
  5506.     Head = Character.Head
  5507.  
  5508.     LeftArm = Character["Left Arm"]
  5509.  
  5510.     LeftLeg = Character["Left Leg"]
  5511.  
  5512.     RightArm = Character["Right Arm"]
  5513.  
  5514.     RightLeg = Character["Right Leg"]
  5515.  
  5516.     LS = Torso["Left Shoulder"]
  5517.  
  5518.     LH = Torso["Left Hip"]
  5519.  
  5520.     RS = Torso["Right Shoulder"]
  5521.  
  5522.     RH = Torso["Right Hip"]
  5523.  
  5524.         Tool = Instance.new("HopperBin")
  5525.  
  5526.         Tool.Parent = Backpack
  5527.  
  5528.         Tool.Name = "Painis"
  5529.  
  5530.     Bin = Tool
  5531.  
  5532.     so = function(id, par, vol, pit)
  5533.  
  5534.        
  5535.  
  5536.         coroutine.resume(coroutine.create(function()
  5537.  
  5538.            
  5539.  
  5540.             local sou = Instance.new("Sound", par or workspace)
  5541.  
  5542.             sou.Volume = vol
  5543.  
  5544.             sou.Pitch = pit or 1
  5545.  
  5546.             sou.SoundId = id
  5547.  
  5548.             wait()
  5549.  
  5550.             sou:play()
  5551.  
  5552.             wait(6)
  5553.  
  5554.             sou:Remove()
  5555.  
  5556.         end
  5557.  
  5558.     ))
  5559.  
  5560.     end
  5561.  
  5562.    
  5563.  
  5564.     ob1d = function(mouse)
  5565.  
  5566.        
  5567.  
  5568.         size = 0.5
  5569.  
  5570.         mode = 1
  5571.  
  5572.         color = BrickColor.new(Color3.new(math.random(), math.random(), math.random()))
  5573.  
  5574.         mo = Instance.new("Model")
  5575.  
  5576.         mo.Name = "EEEEUGH HA HA HAAAAA"
  5577.  
  5578.         mo.Parent = workspace
  5579.  
  5580.         game.Debris:AddItem(mo, 10)
  5581.  
  5582.         p = Instance.new("Seat")
  5583.  
  5584.         p.Name = "Torso"
  5585.  
  5586.         p.Size = Vector3.new(14, 50, 14) * size
  5587.  
  5588.         p.BrickColor = color
  5589.  
  5590.         m = Instance.new("SpecialMesh")
  5591.  
  5592.         m.Parent = p
  5593.  
  5594.         p.Name = "Torso"
  5595.  
  5596.         p.Parent = mo
  5597.  
  5598.         p = Instance.new("Seat")
  5599.  
  5600.         p.Shape = "Ball"
  5601.  
  5602.         p.Size = Vector3.new(24, 24, 24) * size
  5603.  
  5604.         p.BrickColor = color
  5605.  
  5606.         p.Name = "Legball"
  5607.  
  5608.         for i = 1, 10 do
  5609.  
  5610.             lol = Instance.new("Seat")
  5611.  
  5612.             lol.BrickColor = BrickColor:Black()
  5613.  
  5614.             lol.Name = "SEE?"
  5615.  
  5616.             lol.Parent = mo
  5617.  
  5618.             lol.Size = Vector3.new(1, math.random(30, 40), 1) * size
  5619.  
  5620.             w = Instance.new("Weld")
  5621.  
  5622.             w.Part0 = p
  5623.  
  5624.             w.Part1 = lol
  5625.  
  5626.             w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  5627.  
  5628.             w.Parent = w.Part0
  5629.  
  5630.         end
  5631.  
  5632.         p.Parent = mo
  5633.  
  5634.         w = Instance.new("Weld")
  5635.  
  5636.         w.Part0 = mo.Torso
  5637.  
  5638.         w.Part1 = p
  5639.  
  5640.         w.C0 = CFrame.new(16 * (size / 2), -48 * (size / 2), 0)
  5641.  
  5642.         w.Parent = w.Part0
  5643.  
  5644.         p = Instance.new("Seat")
  5645.  
  5646.         p.Shape = "Ball"
  5647.  
  5648.         p.Size = Vector3.new(24, 24, 24) * size
  5649.  
  5650.         p.BrickColor = color
  5651.  
  5652.         p.Name = "Legball"
  5653.  
  5654.         for i = 1, 10 do
  5655.  
  5656.             lol = Instance.new("Seat")
  5657.  
  5658.             lol.BrickColor = BrickColor:Black()
  5659.  
  5660.             lol.Name = "SEE?"
  5661.  
  5662.             lol.Parent = mo
  5663.  
  5664.             lol.Size = Vector3.new(1, math.random(30, 40), 1) * size
  5665.  
  5666.             w = Instance.new("Weld")
  5667.  
  5668.             w.Part0 = p
  5669.  
  5670.             w.Part1 = lol
  5671.  
  5672.             w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  5673.  
  5674.             w.Parent = w.Part0
  5675.  
  5676.         end
  5677.  
  5678.         p.Parent = mo
  5679.  
  5680.         w = Instance.new("Weld")
  5681.  
  5682.         w.Part0 = mo.Torso
  5683.  
  5684.         w.Part1 = p
  5685.  
  5686.         w.C0 = CFrame.new(-16 * (size / 2), -48 * (size / 2), 0)
  5687.  
  5688.         w.Parent = w.Part0
  5689.  
  5690.         p = Instance.new("Seat")
  5691.  
  5692.         p.Shape = "Ball"
  5693.  
  5694.         p.Size = Vector3.new(21, 15, 21) * size
  5695.  
  5696.         p.BrickColor = color
  5697.  
  5698.         p.Name = "Legball"
  5699.  
  5700.         for i = 1, 10 do
  5701.  
  5702.             lol = Instance.new("Seat")
  5703.  
  5704.             lol.BrickColor = BrickColor:Black()
  5705.  
  5706.             lol.Name = "SEE?"
  5707.  
  5708.             lol.Parent = mo
  5709.  
  5710.             lol.Size = Vector3.new(1, math.random(30, 40), 1) * size
  5711.  
  5712.             w = Instance.new("Weld")
  5713.  
  5714.             w.Part0 = p
  5715.  
  5716.             w.Part1 = lol
  5717.  
  5718.             w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  5719.  
  5720.             w.Parent = w.Part0
  5721.  
  5722.         end
  5723.  
  5724.         p.Parent = mo
  5725.  
  5726.         w = Instance.new("Weld")
  5727.  
  5728.         w.Part0 = mo.Torso
  5729.  
  5730.         w.Part1 = p
  5731.  
  5732.         w.C0 = CFrame.new(0, 60 * (size / 2), 0)
  5733.  
  5734.         m = Instance.new("SpecialMesh")
  5735.  
  5736.         m.Parent = p
  5737.  
  5738.         p.Name = "Head"
  5739.  
  5740.         w.Parent = w.Part0
  5741.  
  5742.         s = Instance.new("Sound")
  5743.  
  5744.         s.Parent = mo.Torso
  5745.  
  5746.         s.Volume = 100
  5747.  
  5748.         s.Pitch = 1
  5749.  
  5750.         s.SoundId = "http://www.roblox.com/asset/?id=149779810"
  5751.  
  5752.         s.Looped = true
  5753.  
  5754.         s:play()
  5755.  
  5756.         coroutine.resume(coroutine.create(function(Part)
  5757.  
  5758.            
  5759.  
  5760.             while Part.Parent ~= nil do
  5761.  
  5762.                 wait(math.random())
  5763.  
  5764.                 so("http://www.roblox.com/asset/?id=148636758", Part, 100, 1)
  5765.  
  5766.             end
  5767.  
  5768.         end
  5769.  
  5770.     ), mo.Torso)
  5771.  
  5772.         mo.Torso.CFrame = mo.Torso.CFrame * Torso.CFrame * CFrame.new(0, 0, -50 * size) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  5773.  
  5774.         mo.Torso.Velocity = mouse.Hit.lookVector * 400
  5775.  
  5776.         coroutine.resume(coroutine.create(function(Part)
  5777.  
  5778.            
  5779.  
  5780.             while 1 do
  5781.  
  5782.                 wait(math.random(0, 1) + math.random())
  5783.  
  5784.                 Part.RotVelocity = Vector3.new(math.random(-40, 40), math.random(-40, 40), math.random(-40, 40))
  5785.  
  5786.             end
  5787.  
  5788.         end
  5789.  
  5790.     ), mo.Torso)
  5791.  
  5792.     end
  5793.  
  5794.    
  5795.  
  5796.     ob1u = function(mouse)
  5797.  
  5798.        
  5799.  
  5800.     end
  5801.  
  5802.    
  5803.  
  5804.     buttonhold = false
  5805.  
  5806.     key = function(key, mouse)
  5807.  
  5808.        
  5809.  
  5810.     end
  5811.  
  5812.    
  5813.  
  5814.     key2 = function(key, mouse)
  5815.  
  5816.        
  5817.  
  5818.     end
  5819.  
  5820.    
  5821.  
  5822.     s = function(mouse)
  5823.  
  5824.        
  5825.  
  5826.         mouse.Button1Down:connect(function()
  5827.  
  5828.            
  5829.  
  5830.             ob1d(mouse)
  5831.  
  5832.         end
  5833.  
  5834.     )
  5835.  
  5836.         mouse.Button1Up:connect(function()
  5837.  
  5838.            
  5839.  
  5840.             ob1u(mouse)
  5841.  
  5842.         end
  5843.  
  5844.     )
  5845.  
  5846.         mouse.KeyDown:connect(key)
  5847.  
  5848.         mouse.KeyUp:connect(key2)
  5849.  
  5850.     end
  5851.  
  5852.    
  5853.  
  5854.     ds = function(mouse)
  5855.  
  5856.        
  5857.  
  5858.     end
  5859.  
  5860.    
  5861.  
  5862.     Bin.Selected:connect(s)
  5863.  
  5864.     Bin.Deselected:connect(ds)
  5865.  
  5866. end
  5867.  
  5868. --[[ libgui xd ]]--
  5869.  
  5870. topkek.libgui.seperation = 12
  5871.  
  5872. function topkek.libgui:addLeftIcon(parent, img, sz)
  5873.  
  5874.     topkek.libutil:createObject('ImageLabel', {
  5875.  
  5876.         Parent = parent;
  5877.  
  5878.         BackgroundTransparency = 1;
  5879.  
  5880.         Position = UDim2.new(0, 2, 0, 0);
  5881.  
  5882.         Size = UDim2.new(0, sz, 0, sz);
  5883.  
  5884.         Image = img;
  5885.  
  5886.     })
  5887.  
  5888. end
  5889.  
  5890. function topkek.libgui:hookContainer(o, sepr, stt)
  5891.  
  5892.     if not o:IsA("ScrollingFrame") then
  5893.  
  5894.         return nil
  5895.  
  5896.     end
  5897.  
  5898.    
  5899.  
  5900.     local self = {}
  5901.  
  5902.     self.main = o
  5903.  
  5904.     self.drawX = 0
  5905.  
  5906.     self.drawY = stt or topkek.libgui.seperation/2
  5907.  
  5908.     self.drawHeight = 0
  5909.  
  5910.     self.sepr = sepr or topkek.libgui.seperation
  5911.  
  5912.    
  5913.  
  5914.     function self:drawButton(sz, txt, func, ysz, cbgd)
  5915.  
  5916.         local xposOffset = 0
  5917.  
  5918.         local xposScale = self.drawX
  5919.  
  5920.         local xszOffset = 0
  5921.  
  5922.         local xszScale = sz
  5923.  
  5924.         if not (self.drawX == 0)  then
  5925.  
  5926.             xszOffset = -4
  5927.  
  5928.             if sz + self.drawX > 0.998 then
  5929.  
  5930.                 xszOffset = -11
  5931.  
  5932.             end
  5933.  
  5934.         elseif sz == 1 then
  5935.  
  5936.             xszOffset = -(self.sepr) - 5
  5937.  
  5938.             xposOffset = self.sepr/2
  5939.  
  5940.         else
  5941.  
  5942.             xszOffset = -4 + -(self.sepr/2)
  5943.  
  5944.             xposOffset = self.sepr/2
  5945.  
  5946.         end
  5947.  
  5948.         if not ysz then ysz = 20 end
  5949.  
  5950.         local obj = topkek.libutil:createObject("TextButton", {
  5951.  
  5952.             Parent = self.main;
  5953.  
  5954.             BackgroundColor3 = cbgd or color3(15, 23, 30);
  5955.  
  5956.             BorderColor3 = color3(27, 42, 53);
  5957.  
  5958.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  5959.  
  5960.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  5961.  
  5962.             Font = 'SourceSans';
  5963.  
  5964.             FontSize = 'Size14';
  5965.  
  5966.             Text = txt;
  5967.  
  5968.             TextSize = 14;
  5969.  
  5970.             TextColor3 = color3(199, 199, 199);
  5971.  
  5972.             TextStrokeTransparency = 0.5;
  5973.  
  5974.         })
  5975.  
  5976.         obj.MouseButton1Down:connect(function()
  5977.  
  5978.             func()
  5979.  
  5980.         end)
  5981.  
  5982.         if ysz > self.drawHeight then
  5983.  
  5984.             self.drawHeight = ysz
  5985.  
  5986.         end
  5987.  
  5988.         self.drawX = self.drawX + sz
  5989.  
  5990.         if self.drawX > 0.998 then
  5991.  
  5992.             self.drawY = self.drawY + 3 + self.drawHeight
  5993.  
  5994.             self.drawX = 0
  5995.  
  5996.             self.drawHeight = 0
  5997.  
  5998.             self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  5999.  
  6000.         end
  6001.  
  6002.         return obj
  6003.  
  6004.     end
  6005.  
  6006.    
  6007.  
  6008.     function self:GetChildren()
  6009.  
  6010.         return self.main:GetChildren()
  6011.  
  6012.     end
  6013.  
  6014.    
  6015.  
  6016.     function self:getDrawY()
  6017.  
  6018.         return self.drawY
  6019.  
  6020.     end
  6021.  
  6022.    
  6023.  
  6024.     function self:setDrawY(y)
  6025.  
  6026.         self.drawY = y
  6027.  
  6028.     end
  6029.  
  6030.    
  6031.  
  6032.     function self:drawTextBox(sz, txt, ysz, cbgd)
  6033.  
  6034.         local xposOffset = 0
  6035.  
  6036.         local xposScale = self.drawX
  6037.  
  6038.         local xszOffset = 0
  6039.  
  6040.         local xszScale = sz
  6041.  
  6042.         if not (self.drawX == 0)  then
  6043.  
  6044.             xszOffset = -4
  6045.  
  6046.             if sz + self.drawX > 0.998 then
  6047.  
  6048.                 xszOffset = -11
  6049.  
  6050.             end
  6051.  
  6052.         elseif sz == 1 then
  6053.  
  6054.             xszOffset = -(self.sepr) - 5
  6055.  
  6056.             xposOffset = self.sepr/2
  6057.  
  6058.         else
  6059.  
  6060.             xszOffset = -4 + -(self.sepr/2)
  6061.  
  6062.             xposOffset = self.sepr/2
  6063.  
  6064.         end
  6065.  
  6066.         if not ysz then ysz = 20 end
  6067.  
  6068.         local obj = topkek.libutil:createObject("TextBox", {
  6069.  
  6070.             Parent = self.main;
  6071.  
  6072.             BackgroundColor3 = cbgd or color3(5, 8, 11);
  6073.  
  6074.             BorderColor3 = color3(27, 42, 53);
  6075.  
  6076.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  6077.  
  6078.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  6079.  
  6080.             Font = 'SourceSans';
  6081.  
  6082.             FontSize = 'Size14';
  6083.  
  6084.             Text = txt;
  6085.  
  6086.             TextSize = 14;
  6087.  
  6088.             TextColor3 = color3(199, 199, 199);
  6089.  
  6090.         })
  6091.  
  6092.         if ysz > self.drawHeight then
  6093.  
  6094.             self.drawHeight = ysz
  6095.  
  6096.         end
  6097.  
  6098.         self.drawX = self.drawX + sz
  6099.  
  6100.         if self.drawX > 0.998 then
  6101.  
  6102.             self.drawY = self.drawY + 3 + self.drawHeight
  6103.  
  6104.             self.drawX = 0
  6105.  
  6106.             self.drawHeight = 0
  6107.  
  6108.             self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  6109.  
  6110.         end
  6111.  
  6112.         return obj
  6113.  
  6114.     end
  6115.  
  6116.    
  6117.  
  6118.     function self:drawScrollingContainer(ysz)
  6119.  
  6120.         local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  6121.  
  6122.         local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  6123.  
  6124.         local obj = topkek.libutil:createObject("ScrollingFrame", {
  6125.  
  6126.             Parent = self.main;
  6127.  
  6128.             BackgroundColor3 = color3(7, 11, 15);
  6129.  
  6130.             BorderColor3 = color3(27, 42, 53);
  6131.  
  6132.             Position = pos;
  6133.  
  6134.             Size = sz;
  6135.  
  6136.             BottomImage = 'rbxassetid://573102620';
  6137.  
  6138.             MidImage = 'rbxassetid://573102620';
  6139.  
  6140.             TopImage = 'rbxassetid://573102620';
  6141.  
  6142.             ScrollBarThickness = 5;
  6143.  
  6144.         })
  6145.  
  6146.         self.drawY = self.drawY + 5 + ysz
  6147.  
  6148.         self.drawX = 0
  6149.  
  6150.         self.drawHeight = 0
  6151.  
  6152.         self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  6153.  
  6154.         return topkek.libgui:hookContainer(obj, 12, 5)
  6155.  
  6156.     end
  6157.  
  6158.    
  6159.  
  6160.     function self:drawContainer(xsz, ysz)
  6161.  
  6162.         local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  6163.  
  6164.         local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  6165.  
  6166.         local obj = topkek.libutil:createObject("ScrollingFrame", {
  6167.  
  6168.             Parent = self.main;
  6169.  
  6170.             BackgroundTransparency = 1;
  6171.  
  6172.             Position = pos;
  6173.  
  6174.             Size = sz;
  6175.  
  6176.         })
  6177.  
  6178.         self.drawY = self.drawY + 5 + ysz
  6179.  
  6180.         self.drawX = 0
  6181.  
  6182.         self.drawHeight = 0
  6183.  
  6184.         self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  6185.  
  6186.         return topkek.libgui:hookContainer(obj, 12, 5)
  6187.  
  6188.     end
  6189.  
  6190.    
  6191.  
  6192.     function self:addSpacing()
  6193.  
  6194.         self.drawY = self.drawY + 3
  6195.  
  6196.     end
  6197.  
  6198.    
  6199.  
  6200.     function self:center()
  6201.  
  6202.         local a,c,b=
  6203.  
  6204.             self.main.Position.X.Scale,
  6205.  
  6206.                 self.main.Position.X.Offset,self.main.Size.Y.Offset
  6207.  
  6208.         self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  6209.  
  6210.     end
  6211.  
  6212.    
  6213.  
  6214.     return self
  6215.  
  6216. end
  6217.  
  6218.  
  6219.  
  6220. --[[ windows ]]--
  6221.  
  6222. topkek.libwindows.windows = {}
  6223.  
  6224. function topkek.libwindows:registerWindow(w)
  6225.  
  6226.     table.insert(topkek.libwindows.windows, w)
  6227.  
  6228. end
  6229.  
  6230. function topkek.libwindows:switchWindow(w, x)
  6231.  
  6232.     for _, k in pairs(topkek.libwindows.windows) do
  6233.  
  6234.         if k.Name == w then
  6235.  
  6236.             k.Visible = true
  6237.  
  6238.         else
  6239.  
  6240.             k.Visible = false
  6241.  
  6242.         end
  6243.  
  6244.     end
  6245.  
  6246.     if w == 'HomeContainer' then
  6247.  
  6248.         base.Navigator.Visible = false
  6249.  
  6250.     else
  6251.  
  6252.         base.Navigator.Visible = true
  6253.  
  6254.     end
  6255.  
  6256.     base.Top.Location.Text = x
  6257.  
  6258. end
  6259.  
  6260. function topkek.libwindows:initiateNavigator()
  6261.  
  6262.     local nav = base.Navigator
  6263.  
  6264.     local template = nav.Item:Clone(); nav.Item:Destroy();
  6265.  
  6266.     local wins = topkek.libsettings:getSetting('windows')
  6267.  
  6268.     local y = 5
  6269.  
  6270.     for _, k in pairs(wins) do
  6271.  
  6272.         local o = template:Clone()
  6273.  
  6274.         o.Parent = nav
  6275.  
  6276.         o.Position = UDim2.new(0, 5, 0, y)
  6277.  
  6278.         o.Text = k
  6279.  
  6280.         o.MouseButton1Down:connect(function()
  6281.  
  6282.             topkek.libwindows:switchWindow(k .. 'Container', k)
  6283.  
  6284.         end)
  6285.  
  6286.         y = y + 25
  6287.  
  6288.     end
  6289.  
  6290.     nav.CanvasSize = UDim2.new(0, 0, 0, y)
  6291.  
  6292. end
  6293.  
  6294. function topkek.libwindows:initiateHome()
  6295.  
  6296.     local home = base.HomeContainer
  6297.  
  6298.     home.LocalPlayer.Mask.MouseButton1Down:connect(function()
  6299.  
  6300.         topkek.libwindows:switchWindow('LocalPlayerContainer', 'LocalPlayer')
  6301.  
  6302.     end)
  6303.  
  6304.     home.Server.Mask.MouseButton1Down:connect(function()
  6305.  
  6306.         topkek.libwindows:switchWindow('ServerContainer', 'Server')
  6307.  
  6308.     end)
  6309.  
  6310.     home.Scripts.Mask.MouseButton1Down:connect(function()
  6311.  
  6312.         topkek.libwindows:switchWindow('ScriptsContainer', 'Scripts')
  6313.  
  6314.     end)
  6315.  
  6316.     home.Miscellaneous.Mask.MouseButton1Down:connect(function()
  6317.  
  6318.         topkek.libwindows:switchWindow('MiscellaneousContainer', 'Miscellaneous')
  6319.  
  6320.     end)
  6321.  
  6322.     home.Players.Mask.MouseButton1Down:connect(function()
  6323.  
  6324.         topkek.libwindows:switchWindow('PlayersContainer', 'Players')
  6325.  
  6326.     end)
  6327.  
  6328.     home.Settings.Mask.MouseButton1Down:connect(function()
  6329.  
  6330.         topkek.libwindows:switchWindow('SettingsContainer', 'Settings')
  6331.  
  6332.     end)
  6333.  
  6334. end
  6335.  
  6336. --[[ defines ]]--
  6337.  
  6338. topkek.libsettings:setSetting('version', '1.0.0')
  6339.  
  6340. topkek.libsettings:setSetting('bans', {})
  6341.  
  6342. topkek.libsettings:setSetting('admins', {})
  6343.  
  6344. topkek.libsettings:setSetting('windows', {
  6345.  
  6346.     'Home';
  6347.  
  6348.     'Server';
  6349.  
  6350.     'LocalPlayer';
  6351.  
  6352.     'Players';
  6353.  
  6354.     'Scripts';
  6355.  
  6356.     'Miscellaneous';
  6357.  
  6358.     'Settings';
  6359.  
  6360.     'Explorer';
  6361.  
  6362.     'Gear';
  6363.  
  6364.     'Hats';
  6365.  
  6366.     'Music';
  6367.  
  6368.     'Effects';
  6369.  
  6370.     'Filtering';
  6371.  
  6372.     'Commands';
  6373.  
  6374. })
  6375.  
  6376. topkek.libsettings:setSetting('misc', {
  6377.  
  6378.     'Explorer';
  6379.  
  6380.     'Gear';
  6381.  
  6382.     'Hats';
  6383.  
  6384.     'Music';
  6385.  
  6386.     'Effects';
  6387.  
  6388.     'Filtering';
  6389.  
  6390.     'Commands';
  6391.  
  6392. })
  6393.  
  6394. topkek.store.gui = ScreenGui; gui = topkek.store.gui --  change later
  6395.  
  6396. topkek.store.base = topkek.store.gui['Base']; base = topkek.store.base
  6397.  
  6398. -- [[ server ]] --
  6399.  
  6400. --sz, txt, func, ysz, cbgd
  6401.  
  6402. local servwin = topkek.libgui:hookContainer(base['ServerContainer'])
  6403.  
  6404. local decalList, decalImp = servwin:drawScrollingContainer(100)
  6405.  
  6406. local decalAct = servwin:drawButton(2/3,'Spam Decal',function()
  6407.  
  6408.     topkek.libutil:recurseDecal(decalImp.Text)end)
  6409.  
  6410. decalImp = servwin:drawTextBox(1/3,'573896613')
  6411.  
  6412. servwin:drawButton(1,'Rollback Spam',function()
  6413.  
  6414.     topkek.libutil:recurseRemove('ParticleEmitter')
  6415.  
  6416.     topkek.libutil:recurseRemove('Decal')
  6417.  
  6418. end)
  6419.  
  6420. local decs = {
  6421.  
  6422.     {'Cerberus', '573896613'},
  6423.  
  6424.     {'Rain', '574772793'},
  6425.  
  6426.     {'Robbie', '574773630'},
  6427.  
  6428.     {'Pepe', '244905904'},
  6429.  
  6430.     {'Troll Face', '48308661'},
  6431.  
  6432.     {'Jeff', '109129888'},
  6433.  
  6434.     {'Shrek', '170539018'},
  6435.  
  6436.     {'Doge', '133720697'},
  6437.  
  6438.     {'Dat Boi', '409578848'},
  6439.  
  6440. }
  6441.  
  6442. for _, v in pairs(decs) do
  6443.  
  6444.     local b = decalList:drawButton(1, v[1], function()decalImp.Text=v[2]end,20,color3(5,8,11))
  6445.  
  6446.     topkek.libgui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  6447.  
  6448. end
  6449.  
  6450. servwin:addSpacing()
  6451.  
  6452. -- [[lighting]] --
  6453.  
  6454. -- <<time>> --
  6455.  
  6456. local timeInp
  6457.  
  6458. servwin:drawButton(2/3,'Set Time',function()
  6459.  
  6460.     game:GetService('Lighting').TimeOfDay = timeImp.Text .. ":00:00"
  6461.  
  6462. end)
  6463.  
  6464. timeImp = servwin:drawTextBox(1/3,'14')
  6465.  
  6466. -- <<fog> --
  6467.  
  6468. local fogInp
  6469.  
  6470. servwin:drawButton(2/3,'Set FogEnd',function()
  6471.  
  6472.     if not tonumber(fogInp.Text) then return end
  6473.  
  6474.     game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
  6475.  
  6476. end)
  6477.  
  6478. fogInp = servwin:drawTextBox(1/3,'100000')
  6479.  
  6480. -- <<brightness>> --
  6481.  
  6482. local brightInp
  6483.  
  6484. servwin:drawButton(2/3,'Set Brightness',function()
  6485.  
  6486.     if not tonumber(brightInp.Text) then return end
  6487.  
  6488.     game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
  6489.  
  6490. end)
  6491.  
  6492. brightInp = servwin:drawTextBox(1/3,'1')
  6493.  
  6494. -- <<reset>> --
  6495.  
  6496. servwin:drawButton(1,'Reset Lighting',function()
  6497.  
  6498.     local l = game:service'Lighting'
  6499.  
  6500.     l.Ambient = Color3.new(0, 0, 0)
  6501.  
  6502.     l.Brightness = 1
  6503.  
  6504.     l.GlobalShadows = true
  6505.  
  6506.     l.Outlines = true
  6507.  
  6508.     l.FogEnd = 100000
  6509.  
  6510.     l.FogStart = 0
  6511.  
  6512.     l:SetMinutesAfterMidnight(12*60)
  6513.  
  6514. end)
  6515.  
  6516. -- [[ fixing ]] --
  6517.  
  6518. servwin:addSpacing()
  6519.  
  6520. servwin:drawButton(1/2,'Clear Server',function()
  6521.  
  6522.     for i,v in pairs(game:service'Workspace':GetChildren()) do
  6523.  
  6524.         if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  6525.  
  6526.             v:Destroy()
  6527.  
  6528.         end
  6529.  
  6530.     end
  6531.  
  6532. end)
  6533.  
  6534. servwin:drawButton(1/2,'Shutdown',function()
  6535.  
  6536.     for i,v in pairs(game:GetService('Players')) do
  6537.  
  6538.         v.Parent = nil
  6539.  
  6540.     end
  6541.  
  6542. end)
  6543.  
  6544. servwin:drawButton(1/2,'Remove Sound',function()
  6545.  
  6546.     topkek.libutil:recurseRemove('Sound')
  6547.  
  6548. end)
  6549.  
  6550. servwin:drawButton(1/2,'Baseplate',function()
  6551.  
  6552.     for X = -2500, 2500, 512 do
  6553.  
  6554.         for Z = -2500, 2500, 512 do
  6555.  
  6556.             local P = Instance.new("Part")
  6557.  
  6558.             P.Anchored = true
  6559.  
  6560.             P.Locked = true
  6561.  
  6562.             P.Size = Vector3.new(512,3,512)
  6563.  
  6564.             P.CFrame = CFrame.new(X,0,Z)
  6565.  
  6566.             P.BrickColor = BrickColor.Green()
  6567.  
  6568.             P.Parent = game:service'Workspace'
  6569.  
  6570.         end
  6571.  
  6572.     end
  6573.  
  6574. end)
  6575.  
  6576. --[[ destruction ]]--
  6577.  
  6578. servwin:addSpacing()
  6579.  
  6580. servwin:drawButton(1/2,'Clear Terrain',function()
  6581.  
  6582.     game:service'Workspace'.Terrain:Clear()
  6583.  
  6584. end)
  6585.  
  6586. servwin:drawButton(1/2,'Flood',function()
  6587.  
  6588.     game:service'Workspace'.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")
  6589.  
  6590. end)
  6591.  
  6592. servwin:drawButton(1/2,'Reflectancy',function()
  6593.  
  6594.     topkek.libutil:recurseSet('BasePart','Reflectance',1)
  6595.  
  6596. end)
  6597.  
  6598. servwin:drawButton(1/2,'Transparency',function()
  6599.  
  6600.     topkek.libutil:recurseSet('BasePart','Transparency',1)
  6601.  
  6602. end)
  6603.  
  6604. servwin:drawButton(1/2,'666',function()
  6605.  
  6606.     for i,v in next,workspace:children''do
  6607.  
  6608.         if(v:IsA'BasePart')then
  6609.  
  6610.         me=v;
  6611.  
  6612.         bbg=Instance.new('BillboardGui',me);
  6613.  
  6614.         bbg.Name='stuf';
  6615.  
  6616.         bbg.Adornee=me;
  6617.  
  6618.         bbg.Size=UDim2.new(2.5,0,2.5,0)
  6619.  
  6620.         --bbg.StudsOffset=Vector3.new(0,2,0)
  6621.  
  6622.         tlb=Instance.new'TextLabel';
  6623.  
  6624.         tlb.Text='666 666 666 666 666 666';
  6625.  
  6626.         tlb.Font='SourceSansBold';
  6627.  
  6628.         tlb.FontSize='Size48';
  6629.  
  6630.         tlb.TextColor3=Color3.new(1,0,0);
  6631.  
  6632.         tlb.Size=UDim2.new(1.25,0,1.25,0);
  6633.  
  6634.         tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  6635.  
  6636.         tlb.BackgroundTransparency=1;
  6637.  
  6638.         tlb.Parent=bbg;
  6639.  
  6640.         end;end;
  6641.  
  6642.         --coroutine.wrap(function()while wait''do
  6643.  
  6644.           s=Instance.new'Sound';
  6645.  
  6646.           s.Parent=workspace;
  6647.  
  6648.           s.SoundId='rbxassetid://152840862';
  6649.  
  6650.           s.Pitch=1;
  6651.  
  6652.           s.Volume=1;
  6653.  
  6654.           s.Looped=true;
  6655.  
  6656.           s:play();
  6657.  
  6658.           --end;end)();
  6659.  
  6660.           function xds(dd)
  6661.  
  6662.             for i,v in next,dd:children''do
  6663.  
  6664.               if(v:IsA'BasePart')then
  6665.  
  6666.                 v.BrickColor=BrickColor.new'Really black';
  6667.  
  6668.                 v.TopSurface='Smooth';
  6669.  
  6670.                 v.BottomSurface='Smooth';
  6671.  
  6672.                 s=Instance.new('SelectionBox',v);
  6673.  
  6674.                 s.Adornee=v;
  6675.  
  6676.                 s.Color=BrickColor.new'Really red';
  6677.  
  6678.                 a=Instance.new('PointLight',v);
  6679.  
  6680.                 a.Color=Color3.new(1,0,0);
  6681.  
  6682.                 a.Range=15;
  6683.  
  6684.                 a.Brightness=5;
  6685.  
  6686.                 f=Instance.new('Fire',v);
  6687.  
  6688.                 f.Size=19;
  6689.  
  6690.                 f.Heat=22;
  6691.  
  6692.                 end;
  6693.  
  6694.                 game.Lighting.TimeOfDay=0;
  6695.  
  6696.                 game.Lighting.Brightness=0;
  6697.  
  6698.                 game.Lighting.ShadowColor=Color3.new(0,0,0);
  6699.  
  6700.                 game.Lighting.Ambient=Color3.new(1,0,0);
  6701.  
  6702.                 game.Lighting.FogEnd=200;
  6703.  
  6704.                 game.Lighting.FogColor=Color3.new(0,0,0);
  6705.  
  6706.             local dec = 'http://www.roblox.com/asset/?id=19399245';
  6707.  
  6708.                 local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  6709.  
  6710.                 --coroutine.wrap(function()
  6711.  
  6712.                 --for _,__ in pairs(fac) do
  6713.  
  6714.                 --local ddec = Instance.new("Decal", v)
  6715.  
  6716.                 --ddec.Face = __
  6717.  
  6718.                 --ddec.Texture = dec
  6719.  
  6720.             --end end)()
  6721.  
  6722.                 if #(v:GetChildren())>0 then
  6723.  
  6724.                        xds(v)
  6725.  
  6726.                   end
  6727.  
  6728.              end
  6729.  
  6730.         end
  6731.  
  6732.     xds(game.Workspace)
  6733.  
  6734. end)
  6735.  
  6736. servwin:drawButton(1/2,'Troll',function()
  6737.  
  6738.     topkek.libutil:recurseDecal('48308661')
  6739.  
  6740.     topkek.libutil:Play(154664102)
  6741.  
  6742. end)
  6743.  
  6744. servwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
  6745.  
  6746.     local materiallist =
  6747.  
  6748.     {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  6749.  
  6750.         Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  6751.  
  6752.         Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  6753.  
  6754.         Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  6755.  
  6756.         Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  6757.  
  6758.     local function r(where)
  6759.  
  6760.         for _,v in pairs (where:GetChildren()) do
  6761.  
  6762.         if v:IsA("BasePart") then
  6763.  
  6764.         spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait()   end end) end r(v) end end r(workspace)
  6765.  
  6766. end)
  6767.  
  6768. servwin:drawButton(1/2,'Materialize',function()
  6769.  
  6770.     local function r(where)
  6771.  
  6772.     for _,v in pairs (where:GetChildren()) do
  6773.  
  6774.     if v:IsA("BasePart") then
  6775.  
  6776.     spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait()   end end) end r(v) end end r(workspace)
  6777.  
  6778. end)
  6779.  
  6780. servwin:drawButton(1/2,'Meshify',function()
  6781.  
  6782.     local enums={
  6783.  
  6784.         Enum.MeshType.Head;
  6785.  
  6786.         Enum.MeshType.Torso;
  6787.  
  6788.         Enum.MeshType.Wedge;
  6789.  
  6790.         Enum.MeshType.Brick;
  6791.  
  6792.         Enum.MeshType.Sphere;
  6793.  
  6794.         Enum.MeshType.Cylinder;
  6795.  
  6796.     }
  6797.  
  6798.     topkek.libutil:recurseFunc('BasePart',function(o)
  6799.  
  6800.         local mesh = Instance.new('SpecialMesh', o)
  6801.  
  6802.         mesh.MeshType = enums[math.random(1,#enums)]
  6803.  
  6804.     end)
  6805.  
  6806. end)
  6807.  
  6808. servwin:drawButton(1/2,'Loop-Meshify',function()
  6809.  
  6810.     coroutine.wrap(function()
  6811.  
  6812.         while true do
  6813.  
  6814.             local enums={
  6815.  
  6816.                 Enum.MeshType.Head;
  6817.  
  6818.                 Enum.MeshType.Torso;
  6819.  
  6820.                 Enum.MeshType.Wedge;
  6821.  
  6822.                 Enum.MeshType.Brick;
  6823.  
  6824.                 Enum.MeshType.Sphere;
  6825.  
  6826.                 Enum.MeshType.Cylinder;
  6827.  
  6828.             }
  6829.  
  6830.             topkek.libutil:recurseFunc('BasePart',function(o)
  6831.  
  6832.                 if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  6833.  
  6834.                 local mesh = Instance.new('SpecialMesh', o)
  6835.  
  6836.                 mesh.MeshType = enums[math.random(1,#enums)]
  6837.  
  6838.             end)
  6839.  
  6840.             wait(0.5)
  6841.  
  6842.         end
  6843.  
  6844.     end)()
  6845.  
  6846. end)
  6847.  
  6848. --<<<< END OF SERVER MENU >>>>--
  6849.  
  6850. plrwin = topkek.libgui:hookContainer(base['PlayersContainer'])
  6851.  
  6852. local plrDrop = plrwin:drawButton(1,'test-dropdown',function()end)
  6853.  
  6854. plrDrop = dropdown.new(plrDrop,topkek.libutil:GetPlayerList(),'Everybody')
  6855.  
  6856. game:GetService('Players').PlayerAdded:connect(function()
  6857.  
  6858.     plrDrop.update(topkek.libutil:GetPlayerList())
  6859.  
  6860. end)
  6861.  
  6862. game:GetService('Players').PlayerRemoving:connect(function()
  6863.  
  6864.     plrDrop.update(topkek.libutil:GetPlayerList())
  6865.  
  6866. end)
  6867.  
  6868. plrwin:addSpacing()
  6869.  
  6870. local actions = plrwin --plrwin:drawScrollingContainer(163) [[lole]]
  6871.  
  6872. actions:drawButton(1/3, 'Kill', function()
  6873.  
  6874.     topkek.libutil:doPlayers(plrDrop, function(z)
  6875.  
  6876.         if z.Character:FindFirstChild('Humanoid') then
  6877.  
  6878.             z.Character.Humanoid.Health = 0
  6879.  
  6880.         end
  6881.  
  6882.     end)
  6883.  
  6884. end)
  6885.  
  6886. actions:drawButton(1/3, 'Freeze', function()
  6887.  
  6888.     topkek.libutil:doPlayers(plrDrop, function(z)
  6889.  
  6890.         if z.Character:FindFirstChild('Humanoid') then
  6891.  
  6892.             topkek.libutil:getTorso(z).Anchored = true
  6893.  
  6894.         end
  6895.  
  6896.     end)
  6897.  
  6898. end)
  6899.  
  6900. actions:drawButton(1/3, 'Thaw', function()
  6901.  
  6902.     topkek.libutil:doPlayers(plrDrop, function(z)
  6903.  
  6904.         if z.Character:FindFirstChild('Humanoid') then
  6905.  
  6906.             topkek.libutil:getTorso(z).Anchored = false
  6907.  
  6908.         end
  6909.  
  6910.     end)
  6911.  
  6912. end)
  6913.  
  6914. actions:drawButton(1/3, 'Fire', function()
  6915.  
  6916.     topkek.libutil:doPlayers(plrDrop, function(z)
  6917.  
  6918.         if z.Character then
  6919.  
  6920.             Instance.new("Fire", topkek.libutil:getTorso(z))
  6921.  
  6922.         end
  6923.  
  6924.     end)
  6925.  
  6926. end)
  6927.  
  6928. actions:drawButton(1/3, 'Sparkles', function()
  6929.  
  6930.     topkek.libutil:doPlayers(plrDrop, function(z)
  6931.  
  6932.         if z.Character then
  6933.  
  6934.             Instance.new("Sparkles", topkek.libutil:getTorso(z))
  6935.  
  6936.         end
  6937.  
  6938.     end)
  6939.  
  6940. end)
  6941.  
  6942. actions:drawButton(1/3, 'Smoke', function()
  6943.  
  6944.     topkek.libutil:doPlayers(plrDrop, function(z)
  6945.  
  6946.         if z.Character then
  6947.  
  6948.             Instance.new("Smoke", topkek.libutil:getTorso(z))
  6949.  
  6950.         end
  6951.  
  6952.     end)
  6953.  
  6954. end)
  6955.  
  6956. actions:drawButton(1/3, 'BTools', function()
  6957.  
  6958.     topkek.libutil:doPlayers(plrDrop, function(z)
  6959.  
  6960.         local a = Instance.new("HopperBin")
  6961.  
  6962.         a.BinType = "GameTool"
  6963.  
  6964.         a.Parent = z.Backpack
  6965.  
  6966.         local a = Instance.new("HopperBin")
  6967.  
  6968.         a.BinType = "Clone"
  6969.  
  6970.         a.Parent = z.Backpack
  6971.  
  6972.         local a = Instance.new("HopperBin")
  6973.  
  6974.         a.BinType = "Hammer"
  6975.  
  6976.         a.Parent = z.Backpack
  6977.  
  6978.     end)
  6979.  
  6980. end)
  6981.  
  6982. actions:drawButton(1/3, 'Kick', function()
  6983.  
  6984.     topkek.libutil:doPlayers(plrDrop, function(z)
  6985.  
  6986.         local function doKick()
  6987.  
  6988.             if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  6989.  
  6990.                 z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  6991.  
  6992.                 local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  6993.  
  6994.                 spawn(function()
  6995.  
  6996.                     repeat wait()
  6997.  
  6998.                         if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  6999.  
  7000.                             SP.Position = z.Character.HumanoidRootPart.Position
  7001.  
  7002.                         end
  7003.  
  7004.                     until not game:GetService('Players'):FindFirstChild(z.Name)
  7005.  
  7006.                 end)
  7007.  
  7008.                 z.Character.Torso.Anchored = true
  7009.  
  7010.             end
  7011.  
  7012.         end
  7013.  
  7014.         repeat
  7015.  
  7016.             doKick()
  7017.  
  7018.             wait()
  7019.  
  7020.         until not z
  7021.  
  7022.     end)
  7023.  
  7024. end)
  7025.  
  7026. actions:drawButton(1/3, 'Nil', function()
  7027.  
  7028.     topkek.libutil:doPlayers(plrDrop, function(z)
  7029.  
  7030.         z.Parent = nil
  7031.  
  7032.     end)
  7033.  
  7034. end)
  7035.  
  7036. actions:drawButton(1/3, 'Bring', function()
  7037.  
  7038.     topkek.libutil:doPlayers(plrDrop, function(z)
  7039.  
  7040.         if z.Character then
  7041.  
  7042.             z.Character.HumanoidRootPart.CFrame =
  7043.  
  7044.                 game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  7045.  
  7046.         end
  7047.  
  7048.     end)
  7049.  
  7050. end)
  7051.  
  7052. actions:drawButton(1/3, 'Goto', function()
  7053.  
  7054.     topkek.libutil:doPlayers(plrDrop, function(z)
  7055.  
  7056.         if z.Character then
  7057.  
  7058.             game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
  7059.  
  7060.                 z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  7061.  
  7062.         end
  7063.  
  7064.     end)
  7065.  
  7066. end)
  7067.  
  7068. actions:drawButton(1/3, 'Freefall', function()
  7069.  
  7070.     topkek.libutil:doPlayers(plrDrop, function(z)
  7071.  
  7072.         if z.Character then
  7073.  
  7074.             z.Character.HumanoidRootPart.CFrame = z.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)    
  7075.  
  7076.         end
  7077.  
  7078.     end)
  7079.  
  7080. end)
  7081.  
  7082. actions:drawButton(1/3, 'Sword', function()
  7083.  
  7084.     topkek.libutil:doPlayers(plrDrop, function(z)
  7085.  
  7086.         insert(125013769).Parent = z.Backpack
  7087.  
  7088.     end)
  7089.  
  7090. end)
  7091.  
  7092. actions:drawButton(1/3, 'Guns', function()
  7093.  
  7094.     topkek.libutil:doPlayers(plrDrop, function(z)
  7095.  
  7096.         insert(130113146).Parent = z.Backpack
  7097.  
  7098.         insert(67747912).Parent = z.Backpack
  7099.  
  7100.         insert(95354288).Parent = z.Backpack
  7101.  
  7102.     end)
  7103.  
  7104. end)
  7105.  
  7106. actions:drawButton(1/3, 'Knife', function()
  7107.  
  7108.     topkek.libutil:doPlayers(plrDrop, function(z)
  7109.  
  7110.         insert(170897263).Parent = z.Backpack
  7111.  
  7112.     end)
  7113.  
  7114. end)
  7115.  
  7116.  
  7117.  
  7118. actions:drawButton(1/3, 'Stun', function()
  7119.  
  7120.     topkek.libutil:doPlayers(plrDrop, function(z)
  7121.  
  7122.         if not z.Character:FindFirstChild('UpperTorso') then
  7123.  
  7124.             z.Character.Torso.CFrame = z.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  7125.  
  7126.         end
  7127.  
  7128.         z.Character.Humanoid.PlatformStand = true
  7129.  
  7130.     end)
  7131.  
  7132. end)
  7133.  
  7134. actions:drawButton(1/3, 'Invisible', function()
  7135.  
  7136.     topkek.libutil:doPlayers(plrDrop, function(z)
  7137.  
  7138.         if z.Character then
  7139.  
  7140.             topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Transparency', 1)
  7141.  
  7142.             topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Transparency', 1)
  7143.  
  7144.         end
  7145.  
  7146.     end)
  7147.  
  7148. end)
  7149.  
  7150. actions:drawButton(1/3, 'Visible', function()
  7151.  
  7152.     topkek.libutil:doPlayers(plrDrop, function(z)
  7153.  
  7154.         if z.Character then
  7155.  
  7156.             topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Transparency', 0)
  7157.  
  7158.             topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Transparency', 1)
  7159.  
  7160.         end
  7161.  
  7162.     end)
  7163.  
  7164. end)
  7165.  
  7166. actions:drawButton(1/3, 'God', function()
  7167.  
  7168.     topkek.libutil:doPlayers(plrDrop, function(z)
  7169.  
  7170.         if z.Character:FindFirstChild('Humanoid') then
  7171.  
  7172.             z.Character.Humanoid.MaxHealth = math.huge
  7173.  
  7174.             z.Character.Humanoid.Health = math.huge
  7175.  
  7176.         end
  7177.  
  7178.     end)
  7179.  
  7180. end)
  7181.  
  7182.  
  7183.  
  7184. actions:drawButton(1/3, 'Semigod', function()
  7185.  
  7186.     topkek.libutil:doPlayers(plrDrop, function(z)
  7187.  
  7188.         if z.Character:FindFirstChild('Humanoid') then
  7189.  
  7190.             z.Character.Humanoid.MaxHealth = 9999999999
  7191.  
  7192.             z.Character.Humanoid.Health = 9999999999
  7193.  
  7194.         end
  7195.  
  7196.     end)
  7197.  
  7198. end)
  7199.  
  7200. actions:drawButton(1/3, 'Nuke', function()
  7201.  
  7202.     topkek.libutil:doPlayers(plrDrop, function(z)
  7203.  
  7204.         local torso = topkek.libutil:getTorso(z)
  7205.  
  7206.         local nuke = Instance.new("Part", game.Workspace)
  7207.  
  7208.         local opos = torso.CFrame
  7209.  
  7210.         nuke.BrickColor = BrickColor.new("Bright yellow")
  7211.  
  7212.         nuke.TopSurface = Enum.SurfaceType.Smooth
  7213.  
  7214.         nuke.BottomSurface = Enum.SurfaceType.Smooth
  7215.  
  7216.         nuke.Anchored = true
  7217.  
  7218.         nuke.CanCollide = false
  7219.  
  7220.         nuke.Shape = "Ball"            
  7221.  
  7222.         nuke.Transparency = 0.5
  7223.  
  7224.         nuke.CFrame = torso.CFrame     
  7225.  
  7226.         nuke.Size = Vector3.new(1, 1, 1)
  7227.  
  7228.         nuke.Touched:connect(function(p)
  7229.  
  7230.             local expl = Instance.new("Explosion", p)
  7231.  
  7232.             expl.BlastPressure = 50000
  7233.  
  7234.             expl.BlastRadius = 50
  7235.  
  7236.             expl.Position = p.Position
  7237.  
  7238.             p.Material = Enum.Material.CorrodedMetal
  7239.  
  7240.             p:BreakJoints()
  7241.  
  7242.         end)
  7243.  
  7244.         for i = 1, 150 do
  7245.  
  7246.             nuke.Size = Vector3.new(i, i, i)
  7247.  
  7248.             nuke.CFrame = opos
  7249.  
  7250.             wait(0.08)
  7251.  
  7252.         end
  7253.  
  7254.         nuke:Destroy()
  7255.  
  7256.     end)
  7257.  
  7258. end)
  7259.  
  7260. actions:drawButton(1/3, 'Confuse', function()
  7261.  
  7262.     topkek.libutil:doPlayers(plrDrop, function(z)
  7263.  
  7264.         if z.Character:FindFirstChild('Humanoid') then
  7265.  
  7266.             z.Character.Humanoid.WalkSpeed = -16
  7267.  
  7268.         end
  7269.  
  7270.     end)
  7271.  
  7272. end)
  7273.  
  7274. actions:drawButton(1/3, 'Goldify', function()
  7275.  
  7276.     topkek.libutil:doPlayers(plrDrop, function(z)
  7277.  
  7278.         if z.Character then
  7279.  
  7280.             topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Material', 'Marble')
  7281.  
  7282.             topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Material', 'Marble')
  7283.  
  7284.             topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
  7285.  
  7286.             topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
  7287.  
  7288.         end
  7289.  
  7290.     end)
  7291.  
  7292. end)
  7293.  
  7294. actions:drawButton(1/3, 'Neon', function()
  7295.  
  7296.     topkek.libutil:doPlayers(plrDrop, function(z)
  7297.  
  7298.         if z.Character then
  7299.  
  7300.             topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Material', 'Neon')
  7301.  
  7302.             topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Material', 'Neon')
  7303.  
  7304.         end
  7305.  
  7306.     end)
  7307.  
  7308. end)
  7309.  
  7310. actions:drawButton(1/3, 'Insane', function()
  7311.  
  7312.     topkek.libutil:doPlayers(plrDrop, function(z)
  7313.  
  7314.         if z.Character then
  7315.  
  7316.             for i,v in pairs(topkek.libutil:getTorso(z):GetChildren()) do
  7317.  
  7318.                 if v:IsA("Motor6D") then
  7319.  
  7320.                     coroutine.wrap(function()
  7321.  
  7322.                     while v do
  7323.  
  7324.                         v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  7325.  
  7326.                         wait()
  7327.  
  7328.                     end
  7329.  
  7330.                     end)()
  7331.  
  7332.                 end
  7333.  
  7334.             end
  7335.  
  7336.         end
  7337.  
  7338.     end)
  7339.  
  7340. end)
  7341.  
  7342. actions:drawButton(1/3, 'Quicksand', function()
  7343.  
  7344.     topkek.libutil:doPlayers(plrDrop, function(z)
  7345.  
  7346.         if z.Character then
  7347.  
  7348.             if z.Character:FindFirstChild('Humanoid') then
  7349.  
  7350.                 local tor = topkek.libutil:getTorso(z)
  7351.  
  7352.                 local hole = Instance.new("Part", z.Character)
  7353.  
  7354.                 hole.Anchored = true
  7355.  
  7356.                 hole.Name = "Hole"
  7357.  
  7358.                 hole.FormFactor = Enum.FormFactor.Custom
  7359.  
  7360.                 hole.Size = Vector3.new(7, 1, 7)
  7361.  
  7362.                 hole.CanCollide = false
  7363.  
  7364.                 hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
  7365.  
  7366.                 hole.BrickColor = BrickColor.new("Cool yellow")
  7367.  
  7368.                 hole.Material = Enum.Material.Sand
  7369.  
  7370.                 local hm = Instance.new("CylinderMesh", hole)
  7371.  
  7372.                 tor.Anchored = true
  7373.  
  7374.                 if z.Character:FindFirstChild("Humanoid") then
  7375.  
  7376.                     z.Character.Humanoid.Jump = true
  7377.  
  7378.                 end
  7379.  
  7380.                 for x,m in pairs(z.Character:GetChildren()) do
  7381.  
  7382.                     if m:IsA("BasePart") or m:IsA("MeshPart") then
  7383.  
  7384.                         m.CanCollide = false
  7385.  
  7386.                     end
  7387.  
  7388.                 end
  7389.  
  7390.                 for i=1,75 do
  7391.  
  7392.                     tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  7393.  
  7394.                     wait(0.06)
  7395.  
  7396.                 end
  7397.  
  7398.                 tor.CFrame=tor.CFrame*CFrame.new(0,
  7399.  
  7400.                     -500,0
  7401.  
  7402.                 )
  7403.  
  7404.                 z.Character.Humanoid.Health = 0
  7405.  
  7406.             end
  7407.  
  7408.         end
  7409.  
  7410.     end)
  7411.  
  7412. end)
  7413.  
  7414. actions:drawButton(1/3, 'Duck', function()
  7415.  
  7416.     topkek.libutil:doPlayers(plrDrop, function(z)
  7417.  
  7418.         if z.Character then
  7419.  
  7420.             local pchar = z.Character
  7421.  
  7422. --          for i,v in pairs(pchar.Torso:GetChildren()) do
  7423.  
  7424. --              if v:IsA("Decal") then
  7425.  
  7426. --                  v:Destroy()
  7427.  
  7428. --              end
  7429.  
  7430. --          end
  7431.  
  7432.             for i,v in pairs(pchar:GetChildren()) do
  7433.  
  7434.                 if v:IsA("Hat") or v:IsA("Accessory") then
  7435.  
  7436.                     v:Destroy()
  7437.  
  7438.                 end
  7439.  
  7440.             end
  7441.  
  7442.             local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
  7443.  
  7444.             duck.MeshType = "FileMesh"
  7445.  
  7446.             duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  7447.  
  7448.             duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  7449.  
  7450.             duck.Scale = Vector3.new(5, 5, 5)
  7451.  
  7452.             topkek.libutil:recurseSetObj(z.Character, 'Instance', 'Transparency', 1)
  7453.  
  7454.             z.Character.HumanoidRootPart.Transparency = 0
  7455.  
  7456.         end
  7457.  
  7458.     end)
  7459.  
  7460. end)
  7461.  
  7462. actions:drawButton(1/3, 'Shrek', function()
  7463.  
  7464.     topkek.libutil:doPlayers(plrDrop, function(z)
  7465.  
  7466.         if z.Character then
  7467.  
  7468.             local pchar = z.Character
  7469.  
  7470.             for i,v in pairs(pchar:GetChildren()) do
  7471.  
  7472.                 if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  7473.  
  7474.                     v:Destroy()
  7475.  
  7476.                 end
  7477.  
  7478.             end
  7479.  
  7480.             for i,v in pairs(pchar.Head:GetChildren()) do
  7481.  
  7482.                 if v:IsA("Decal") or v:IsA("SpecialMesh") then
  7483.  
  7484.                     v:Destroy()
  7485.  
  7486.                 end
  7487.  
  7488.             end
  7489.  
  7490.            
  7491.  
  7492.             local mesh = Instance.new("SpecialMesh", pchar.Head)
  7493.  
  7494.             mesh.MeshType = "FileMesh"
  7495.  
  7496.             pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  7497.  
  7498.             pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  7499.  
  7500.             pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  7501.  
  7502.            
  7503.  
  7504.             local Shirt = Instance.new("Shirt", z.Character)
  7505.  
  7506.             local Pants = Instance.new("Pants", z.Character)
  7507.  
  7508.            
  7509.  
  7510.             Shirt.ShirtTemplate = "rbxassetid://133078194"
  7511.  
  7512.             Pants.PantsTemplate = "rbxassetid://133078204"
  7513.  
  7514.         end
  7515.  
  7516.     end)
  7517.  
  7518. end)
  7519.  
  7520. actions:drawButton(1/3, 'Bighead', function()
  7521.  
  7522.     topkek.libutil:doPlayers(plrDrop, function(z)
  7523.  
  7524.         if z.Character then
  7525.  
  7526.             if z.Character:FindFirstChild('Head') then
  7527.  
  7528.                 z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
  7529.  
  7530.             end
  7531.  
  7532.         end
  7533.  
  7534.     end)
  7535.  
  7536. end)
  7537.  
  7538. actions:drawButton(1/3, 'Hotdog', function()
  7539.  
  7540.     topkek.libutil:doPlayers(plrDrop, function(z)
  7541.  
  7542.         if z.Character then
  7543.  
  7544.             if z.Character:FindFirstChild('Head') then
  7545.  
  7546.                 topkek.libutil:weiner(z)
  7547.  
  7548.             end
  7549.  
  7550.         end
  7551.  
  7552.     end)
  7553.  
  7554. end)
  7555.  
  7556. actions:drawButton(1/3, 'Dwarf [R6]', function()
  7557.  
  7558.     topkek.libutil:doPlayers(plrDrop, function(z)
  7559.  
  7560.         if z.Character then
  7561.  
  7562.             topkek.libutil:scalePlayer(z, 0.5)
  7563.  
  7564.         end
  7565.  
  7566.     end)
  7567.  
  7568. end)
  7569.  
  7570. actions:drawButton(1/3, 'Giant [R6]', function()
  7571.  
  7572.     topkek.libutil:doPlayers(plrDrop, function(z)
  7573.  
  7574.         if z.Character then
  7575.  
  7576.             topkek.libutil:scalePlayer(z, 5)
  7577.  
  7578.         end
  7579.  
  7580.     end)
  7581.  
  7582. end)
  7583.  
  7584. actions:drawButton(1/3, 'Giraffe [R6]', function()
  7585.  
  7586.     topkek.libutil:doPlayers(plrDrop, function(z)
  7587.  
  7588.         if z.Character then
  7589.  
  7590.             local char=z.Character
  7591.  
  7592.             local h=char.Head
  7593.  
  7594.             local tor=char:FindFirstChild("Torso")
  7595.  
  7596.             if not tor then return end
  7597.  
  7598.             tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  7599.  
  7600.             local fn=Instance.new("Part",char)
  7601.  
  7602.             fn.Size=Vector3.new(1,5.5,1)
  7603.  
  7604.             fn.Name="FakeNeck"
  7605.  
  7606.             fn.Anchored=false
  7607.  
  7608.             fn.CanCollide=false
  7609.  
  7610.             if char:FindFirstChild("Body Colors") then
  7611.  
  7612.                 fn.BrickColor=char["Body Colors"].HeadColor
  7613.  
  7614.             end
  7615.  
  7616.             local cm=Instance.new("CylinderMesh",fn)
  7617.  
  7618.             local we=Instance.new("Weld",h)
  7619.  
  7620.             we.Part0=h
  7621.  
  7622.             we.Part1=fn
  7623.  
  7624.             we.C1=we.C1*CFrame.new(0,2.6,0)
  7625.  
  7626.         end
  7627.  
  7628.     end)
  7629.  
  7630. end)
  7631.  
  7632. actions:drawButton(1/3, 'Select', function()
  7633.  
  7634.     topkek.libutil:doPlayers(plrDrop, function(z)
  7635.  
  7636.         if z.Character then
  7637.  
  7638.             Instance.new("SelectionBox", z.Character).Adornee = z.Character
  7639.  
  7640.         end
  7641.  
  7642.     end)
  7643.  
  7644. end)
  7645.  
  7646. actions:drawButton(1/3, 'Sphere', function()
  7647.  
  7648.     topkek.libutil:doPlayers(plrDrop, function(z)
  7649.  
  7650.         if z.Character then
  7651.  
  7652.             Instance.new("SelectionSphere", z.Character).Adornee = z.Character
  7653.  
  7654.         end
  7655.  
  7656.     end)
  7657.  
  7658. end)
  7659.  
  7660. actions:drawButton(1/3, 'Sit', function()
  7661.  
  7662.     topkek.libutil:doPlayers(plrDrop, function(z)
  7663.  
  7664.         if z.Character:FindFirstChild("Humanoid") then
  7665.  
  7666.             z.Character.Humanoid.Sit = true
  7667.  
  7668.         end
  7669.  
  7670.     end)
  7671.  
  7672. end)
  7673.  
  7674. actions:drawButton(1/3, 'Jump', function()
  7675.  
  7676.     topkek.libutil:doPlayers(plrDrop, function(z)
  7677.  
  7678.         if z.Character:FindFirstChild("Humanoid") then
  7679.  
  7680.             z.Character.Humanoid.Jump = true
  7681.  
  7682.         end
  7683.  
  7684.     end)
  7685.  
  7686. end)
  7687.  
  7688. actions:drawButton(1/3, 'No Tools', function()
  7689.  
  7690.     topkek.libutil:doPlayers(plrDrop, function(z)
  7691.  
  7692.         for _, t in pairs(z.Backpack:GetChildren()) do
  7693.  
  7694.             t:Destroy()
  7695.  
  7696.         end
  7697.  
  7698.     end)
  7699.  
  7700. end)
  7701.  
  7702. actions:drawButton(1/3, 'Take Tools', function()
  7703.  
  7704.     topkek.libutil:doPlayers(plrDrop, function(z)
  7705.  
  7706.         for _, t in pairs(z.Backpack:GetChildren()) do
  7707.  
  7708.             t.Parent = game:service'Players'.LocalPlayer.Backpack
  7709.  
  7710.         end
  7711.  
  7712.     end)
  7713.  
  7714. end)
  7715.  
  7716. actions:drawButton(1/3, 'Disable', function()
  7717.  
  7718.     topkek.libutil:doPlayers(plrDrop, function(z)
  7719.  
  7720.         if z.Character:FindFirstChild("Humanoid") then
  7721.  
  7722.             z.Character.Humanoid.Parent = nil
  7723.  
  7724.         end
  7725.  
  7726.     end)
  7727.  
  7728. end)
  7729.  
  7730. actions:drawButton(1/3, 'Fast', function()
  7731.  
  7732.     topkek.libutil:doPlayers(plrDrop, function(z)
  7733.  
  7734.         if z.Character:FindFirstChild("Humanoid") then
  7735.  
  7736.             z.Character.Humanoid.WalkSpeed = 50
  7737.  
  7738.         end
  7739.  
  7740.     end)
  7741.  
  7742. end)
  7743.  
  7744. actions:drawButton(1/3, 'Slow', function()
  7745.  
  7746.     topkek.libutil:doPlayers(plrDrop, function(z)
  7747.  
  7748.         if z.Character:FindFirstChild("Humanoid") then
  7749.  
  7750.             z.Character.Humanoid.WalkSpeed = 8
  7751.  
  7752.         end
  7753.  
  7754.     end)
  7755.  
  7756. end)
  7757.  
  7758. actions:drawButton(1/3,'Explode', function()
  7759.  
  7760.     topkek.libtil:doPlayers(plrDrop, function(z)
  7761.  
  7762.         local explosion = Instance.new("Explosion")
  7763.  
  7764.         explosion.Position = topkek.libutil:getTorso(z).Position
  7765.  
  7766.         explosion.Parent = game.Workspace
  7767.  
  7768.     end)
  7769.  
  7770. end)
  7771.  
  7772. local Follow
  7773.  
  7774. actions:drawButton(1/3,'Annoy', function()
  7775.  
  7776.     if Follow == true then
  7777.  
  7778.         Follow = false; return
  7779.  
  7780.     else Follow = true end
  7781.  
  7782.     topkek.libutil:doPlayers(plrDrop, function(z)
  7783.  
  7784.         while Follow == true do
  7785.  
  7786.             game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
  7787.  
  7788.                 z.Character.HumanoidRootPart.CFrame
  7789.  
  7790.             wait()
  7791.  
  7792.         end
  7793.  
  7794.     end)
  7795.  
  7796. end)
  7797.  
  7798. actions:drawButton(1/3,'ForceField', function()
  7799.  
  7800.     topkek.libutil:doPlayers(plrDrop, function(z)
  7801.  
  7802.         if z.Character then
  7803.  
  7804.             Instance.new("ForceField", z.Character)
  7805.  
  7806.         end
  7807.  
  7808.     end)
  7809.  
  7810. end)
  7811.  
  7812. actions:drawButton(1/3,'Friendlag', function()
  7813.  
  7814.     topkek.libutil:doPlayers(plrDrop, function(z)
  7815.  
  7816.         for i = 1, 10 do
  7817.  
  7818.             spawn(function()
  7819.  
  7820.                 while wait() do
  7821.  
  7822.                     game.Players.LocalPlayer:RequestFriendship(z)
  7823.  
  7824.                     game.Players.LocalPlayer:RevokeFriendship(z)
  7825.  
  7826.                 end
  7827.  
  7828.             end)
  7829.  
  7830.         end
  7831.  
  7832.     end)
  7833.  
  7834. end)
  7835.  
  7836. actions:drawButton(1/3,'Force Follow', function()
  7837.  
  7838.     topkek.libutil:doPlayers(plrDrop, function(z)
  7839.  
  7840.         game:GetService("RunService"):BindToRenderStep("_", 0, function()
  7841.  
  7842.             z.Character.Humanoid:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
  7843.  
  7844.         end)
  7845.  
  7846.     end)
  7847.  
  7848. end)
  7849.  
  7850. actions:drawButton(1/3,'Dab', function()
  7851.  
  7852.     topkek.libutil:doPlayers(plrDrop, function(z)
  7853.  
  7854.         if z.Character and z.Character:FindFirstChild("Torso") then
  7855.  
  7856.             local chr = z.Character
  7857.  
  7858.             chr.Animate.Disabled = true
  7859.  
  7860.             chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346)
  7861.  
  7862.             chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008)
  7863.  
  7864.             chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124)
  7865.  
  7866.         end
  7867.  
  7868.     end)
  7869.  
  7870. end)
  7871.  
  7872. actions:addSpacing()
  7873.  
  7874. local chatInp
  7875.  
  7876. actions:drawButton(1/2, 'Make Chat', function()
  7877.  
  7878.     topkek.libutil:doPlayers(plrDrop, function(z)
  7879.  
  7880.         game:GetService('Chat'):Chat(z.Character, chatInp.Text)
  7881.  
  7882.     end)
  7883.  
  7884. end)
  7885.  
  7886. chatInp = actions:drawTextBox(1/2, '')
  7887.  
  7888. local insertInp
  7889.  
  7890. actions:drawButton(1/2, 'Insert Into', function()
  7891.  
  7892.     if not tonumber(insertInp.Text) then return end
  7893.  
  7894.     local item = insert(insertInp.Text)
  7895.  
  7896.     if not item then return end
  7897.  
  7898.     topkek.libutil:doPlayers(plrDrop, function(z)
  7899.  
  7900.         item:Clone().Parent = z.Backpack
  7901.  
  7902.     end)
  7903.  
  7904. end)
  7905.  
  7906. insertInp = actions:drawTextBox(1/2, '')
  7907.  
  7908. local speedInp
  7909.  
  7910. actions:drawButton(1/2, 'Set Speed', function()
  7911.  
  7912.     if not tonumber(speedInp.Text) then return end
  7913.  
  7914.     topkek.libutil:doPlayers(plrDrop, function(z)
  7915.  
  7916.         if z.Character:FindFirstChild('Humanoid') then
  7917.  
  7918.             z.Character.Humanoid.WalkSpeed = tonumber(speedInp.Text)
  7919.  
  7920.         end
  7921.  
  7922.     end)
  7923.  
  7924. end)
  7925.  
  7926. speedInp = actions:drawTextBox(1/2, '')
  7927.  
  7928. local nameInp
  7929.  
  7930. actions:drawButton(1/2, 'Set Name', function()
  7931.  
  7932.     topkek.libutil:doPlayers(plrDrop, function(z)
  7933.  
  7934.         local Character = z.Character
  7935.  
  7936.         local newName = Instance.new("Model", z.Character)
  7937.  
  7938.         newName.Name = nameInp.Text
  7939.  
  7940.         local cl = Character:WaitForChild("Head"):Clone()
  7941.  
  7942.         cl.Parent = newName
  7943.  
  7944.         cl:WaitForChild("face"):Destroy()
  7945.  
  7946.         local hum = Instance.new("Humanoid", newName)
  7947.  
  7948.         hum.Name = "NameTag"
  7949.  
  7950.         hum.MaxHealth = 0
  7951.  
  7952.         hum.Health = 0
  7953.  
  7954.         local weld = Instance.new("Weld", cl)
  7955.  
  7956.         weld.Part0 = cl
  7957.  
  7958.         weld.Part1 = Character:WaitForChild("Head")
  7959.  
  7960.         Character:WaitForChild("Head").Transparency = 1
  7961.  
  7962.         Wait(.5)
  7963.  
  7964.         cl.BrickColor = Character:WaitForChild("Head").BrickColo
  7965.  
  7966.     end)
  7967.  
  7968. end)
  7969.  
  7970. nameInp = actions:drawTextBox(1/2, '')
  7971.  
  7972. --[[ localplayer ]]--
  7973.  
  7974. local lp = game:GetService('Players').LocalPlayer
  7975.  
  7976. local localwin = topkek.libgui:hookContainer(base['LocalPlayerContainer'])
  7977.  
  7978. local appearInp
  7979.  
  7980. localwin:drawButton(1/2, 'Set Appearance', function()
  7981.  
  7982.     local id = 0
  7983.  
  7984.     if not tonumber(appearInp.Text) then
  7985.  
  7986.         id = tonumber(appearInp.Text)
  7987.  
  7988.     else
  7989.  
  7990.         id = game:GetService('Players'):GetUserIdFromNameAsync(appearInp.Text)
  7991.  
  7992.     end
  7993.  
  7994.     lp.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  7995.  
  7996. end)
  7997.  
  7998. appearInp = localwin:drawTextBox(1/2, '')
  7999.  
  8000. localwin:drawButton(1/2, 'Set TeamColor', function()
  8001.  
  8002.     if teamInp.Text == 'Neutral' then
  8003.  
  8004.         lp.Neutral = true
  8005.  
  8006.         return
  8007.  
  8008.     end
  8009.  
  8010.     local clr = BrickColor.new(teamInp.Text)
  8011.  
  8012.     lp.TeamColor = clr
  8013.  
  8014. end)
  8015.  
  8016. teamInp = localwin:drawTextBox(1/2, 'Neutral')
  8017.  
  8018. localwin:drawButton(1, 'Reset Camera', function()
  8019.  
  8020.     game.Workspace.CurrentCamera:remove()
  8021.  
  8022.     wait(.1)
  8023.  
  8024.     game.Workspace.CurrentCamera.CameraSubject = lp.Character.Humanoid or
  8025.  
  8026.         game.Workspace[lp.Name].Humanoid
  8027.  
  8028.     game.Workspace.CurrentCamera.CameraType = "Custom"
  8029.  
  8030. end)
  8031.  
  8032. localwin:drawButton(1, 'Respawn', function()
  8033.  
  8034.     local a1 = Instance.new("Model", game:service'Workspace')
  8035.  
  8036.     local a2 = Instance.new("Part", game:service'Workspace')
  8037.  
  8038.     a2.CanCollide = true
  8039.  
  8040.     a2.Anchored = true
  8041.  
  8042.     a2.CFrame = CFrame.new(10000, 10000, 10000)
  8043.  
  8044.     a2.Name = "Torso"
  8045.  
  8046.     local a3 = Instance.new("Humanoid", a1)
  8047.  
  8048.     a3.MaxHealth=100;a3.Health=100
  8049.  
  8050.     lp.Character = a1
  8051.  
  8052.     a3.Health=0
  8053.  
  8054. end)
  8055.  
  8056. localwin:addSpacing()
  8057.  
  8058. local Lev, Clip, Fly
  8059.  
  8060. localwin:drawButton(1/2, 'Levitate', function()
  8061.  
  8062.     if Lev == true then
  8063.  
  8064.         Lev = false
  8065.  
  8066.         return
  8067.  
  8068.     end
  8069.  
  8070.     Lev = true
  8071.  
  8072.     repeat
  8073.  
  8074.         lp.Character.Humanoid:ChangeState(10)
  8075.  
  8076.         wait(0)
  8077.  
  8078.     until Lev == false
  8079.  
  8080. end)
  8081.  
  8082. localwin:drawButton(1/2, 'Noclip', function()
  8083.  
  8084.     if Clip == true then
  8085.  
  8086.         Clip = false
  8087.  
  8088.         return
  8089.  
  8090.     end
  8091.  
  8092.     Clip = true
  8093.  
  8094.     game:GetService("RunService").Stepped:connect(function()
  8095.  
  8096.         topkek.libutil:getTorso(lp).CanCollide = not Clip
  8097.  
  8098.         lp.Character.Head.CanCollide = not Clip
  8099.  
  8100.         lp.Character.HumanoidRootPart.CanCollide = not Clip
  8101.  
  8102.         if lp.Character.UpperTorso then
  8103.  
  8104.             lp.Character.LowerTorso.CanCollide = not Clip
  8105.  
  8106.         end
  8107.  
  8108.     end)
  8109.  
  8110.     lp.Character.HumanoidRootPart.Changed:connect(function()
  8111.  
  8112.         topkek.libutil:getTorso(lp).CanCollide = not Clip
  8113.  
  8114.         lp.Character.Head.CanCollide = not Clip
  8115.  
  8116.         lp.Character.HumanoidRootPart.CanCollide = not Clip
  8117.  
  8118.         if lp.Character.UpperTorso then
  8119.  
  8120.             lp.Character.LowerTorso.CanCollide = not Clip
  8121.  
  8122.         end
  8123.  
  8124.     end)
  8125.  
  8126. end)
  8127.  
  8128. localwin:drawButton(1/2, 'Fly', function()
  8129.  
  8130.     if Fly == true then
  8131.  
  8132.         Fly = false
  8133.  
  8134.         return
  8135.  
  8136.     end
  8137.  
  8138.     Fly = true
  8139.  
  8140.   local mouse=game.Players.LocalPlayer:GetMouse''
  8141.  
  8142.   localplayer=game.Players.LocalPlayer
  8143.  
  8144.   game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  8145.  
  8146.   local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  8147.  
  8148.   local speed=0
  8149.  
  8150.   local keys={a=false,d=false,w=false,s=false}
  8151.  
  8152.   local e1
  8153.  
  8154.   local e2
  8155.  
  8156.   local function start()
  8157.  
  8158.    local pos = Instance.new("BodyPosition",torso)
  8159.  
  8160.    local gyro = Instance.new("BodyGyro",torso)
  8161.  
  8162.    pos.Name="EPIXPOS"
  8163.  
  8164.    pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  8165.  
  8166.    pos.position = torso.Position
  8167.  
  8168.    gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  8169.  
  8170.    gyro.cframe = torso.CFrame
  8171.  
  8172.    repeat
  8173.  
  8174.     wait()
  8175.  
  8176.     localplayer.Character.Humanoid.PlatformStand=true
  8177.  
  8178.     local new=gyro.cframe - gyro.cframe.p + pos.position
  8179.  
  8180.     if not keys.w and not keys.s and not keys.a and not keys.d then
  8181.  
  8182.      speed=1
  8183.  
  8184.     end
  8185.  
  8186.     if keys.w then
  8187.  
  8188.      new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  8189.  
  8190.      speed=speed+0.01
  8191.  
  8192.     end
  8193.  
  8194.     if keys.s then
  8195.  
  8196.      new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  8197.  
  8198.      speed=speed+0.01
  8199.  
  8200.     end
  8201.  
  8202.     if keys.d then
  8203.  
  8204.      new = new * CFrame.new(speed,0,0)
  8205.  
  8206.      speed=speed+0.01
  8207.  
  8208.     end
  8209.  
  8210.     if keys.a then
  8211.  
  8212.      new = new * CFrame.new(-speed,0,0)
  8213.  
  8214.      speed=speed+0.01
  8215.  
  8216.     end
  8217.  
  8218.     if speed>5 then
  8219.  
  8220.      speed=5
  8221.  
  8222.     end
  8223.  
  8224.     pos.position=new.p
  8225.  
  8226.     if keys.w then
  8227.  
  8228.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  8229.  
  8230.     elseif keys.s then
  8231.  
  8232.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  8233.  
  8234.     else
  8235.  
  8236.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  8237.  
  8238.     end
  8239.  
  8240.    until not Fly
  8241.  
  8242.    if gyro then gyro:Destroy() end
  8243.  
  8244.    if pos then pos:Destroy() end
  8245.  
  8246.    flying=false
  8247.  
  8248.    localplayer.Character.Humanoid.PlatformStand=false
  8249.  
  8250.    speed=0
  8251.  
  8252.   end
  8253.  
  8254.   e1=mouse.KeyDown:connect(function(key)
  8255.  
  8256.    if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  8257.  
  8258.    if key=="w" then
  8259.  
  8260.     keys.w=true
  8261.  
  8262.    elseif key=="s" then
  8263.  
  8264.     keys.s=true
  8265.  
  8266.    elseif key=="a" then
  8267.  
  8268.     keys.a=true
  8269.  
  8270.    elseif key=="d" then
  8271.  
  8272.     keys.d=true
  8273.  
  8274.    end
  8275.  
  8276.   end)
  8277.  
  8278.   e2=mouse.KeyUp:connect(function(key)
  8279.  
  8280.    if key=="w" then
  8281.  
  8282.     keys.w=false
  8283.  
  8284.    elseif key=="s" then
  8285.  
  8286.     keys.s=false
  8287.  
  8288.    elseif key=="a" then
  8289.  
  8290.     keys.a=false
  8291.  
  8292.    elseif key=="d" then
  8293.  
  8294.     keys.d=false
  8295.  
  8296.    end
  8297.  
  8298.   end)
  8299.  
  8300.   start()
  8301.  
  8302. end)
  8303.  
  8304. localwin:drawButton(1/2, 'Highjump', function()
  8305.  
  8306.     local thrust = Instance.new("BodyVelocity")
  8307.  
  8308.     game:GetService('UserInputService').InputBegan:connect(function(i, b)
  8309.  
  8310.         if i.KeyCode == Enum.KeyCode.Space then
  8311.  
  8312.             print("Got jump")
  8313.  
  8314.             coroutine.resume(coroutine.create(function()
  8315.  
  8316.                 thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  8317.  
  8318.                 thrust.velocity = Vector3.new(0,50,0)
  8319.  
  8320.                 thrust.maxForce = Vector3.new(0,4e+050,0)
  8321.  
  8322.                 wait(0.2)
  8323.  
  8324.                 thrust.Parent = nil
  8325.  
  8326.             end))
  8327.  
  8328.         end
  8329.  
  8330.     end)
  8331.  
  8332. end)
  8333.  
  8334. localwin:addSpacing()
  8335.  
  8336. localwin:drawButton(1/2, 'Freecam', function()
  8337.  
  8338.     local cam = game.Workspace.CurrentCamera
  8339.  
  8340.     cam.CameraType = "Fixed"
  8341.  
  8342.     cam.CameraSubject = nil
  8343.  
  8344.     lp.Character = nil
  8345.  
  8346. end)
  8347.  
  8348. localwin:drawButton(1/2, 'Nil Orb', function()
  8349.  
  8350.     game.Players.LocalPlayer.Character = nil
  8351.  
  8352.     --lp:Destroy()
  8353.  
  8354.     local cam = game.Workspace.CurrentCamera
  8355.  
  8356.     local m = Instance.new("Model", game.Workspace)
  8357.  
  8358.     m.Name = game.Players.LocalPlayer.Name
  8359.  
  8360.     local hum = Instance.new("Humanoid", m)
  8361.  
  8362.     hum.Health = 0
  8363.  
  8364.     hum.MaxHealth = 0
  8365.  
  8366.     local orb = Instance.new("Part", m)
  8367.  
  8368.     orb.Size = Vector3.new(1, 1, 1)
  8369.  
  8370.     orb.Shape = "Ball"
  8371.  
  8372.     orb.Name = "Head"
  8373.  
  8374.     orb.Anchored = true
  8375.  
  8376.     orb.CanCollide = true
  8377.  
  8378.     orb.BottomSurface = Enum.SurfaceType.Smooth
  8379.  
  8380.     orb.TopSurface = Enum.SurfaceType.Smooth
  8381.  
  8382.     orb.Transparency = 0
  8383.  
  8384.     cam.CameraSubject = orb
  8385.  
  8386.     cam.CameraType = Enum.CameraType.Fixed
  8387.  
  8388.     game:GetService("RunService").RenderStepped:connect(function()
  8389.  
  8390.         orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  8391.  
  8392.     end)
  8393.  
  8394.     game.Players.LocalPlayer.Chatted:connect(function(a)
  8395.  
  8396.         game:GetService("Chat"):Chat(orb, a)
  8397.  
  8398.     end)
  8399.  
  8400. end)
  8401.  
  8402. localwin:drawButton(1/2, 'God', function()
  8403.  
  8404.     lp.Character.Humanoid.MaxHealth = math.huge
  8405.  
  8406.     lp.Character.Humanoid.Health = math.huge
  8407.  
  8408. end)
  8409.  
  8410. localwin:drawButton(1/2, 'NoGrav', function()
  8411.  
  8412.     if lp.Character then
  8413.  
  8414.         for x,m in pairs(lp.Character:GetChildren()) do
  8415.  
  8416.             if m:IsA("BasePart") then
  8417.  
  8418.                 local bf = Instance.new("BodyForce", m)
  8419.  
  8420.                 bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  8421.  
  8422.             end
  8423.  
  8424.             if m:IsA("Hat") or m:IsA("Accessory") then
  8425.  
  8426.                 if m:findFirstChild("Handle") then
  8427.  
  8428.                     local bf = Instance.new("BodyForce", m.Handle)
  8429.  
  8430.                     bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  8431.  
  8432.                 end
  8433.  
  8434.             end
  8435.  
  8436.         end
  8437.  
  8438.     end
  8439.  
  8440. end)
  8441.  
  8442. localwin:drawButton(1/2, 'Rainbow Name', function()
  8443.  
  8444.     lp.Neutral = false
  8445.  
  8446.     repeat
  8447.  
  8448.         wait()
  8449.  
  8450.         lp.TeamColor = BrickColor.Random()
  8451.  
  8452.     until not lp.Character.Humanoid
  8453.  
  8454. end)
  8455.  
  8456. localwin:drawButton(1/2, 'Random Fedora', function()
  8457.  
  8458.     local hats={
  8459.  
  8460.         98346834,
  8461.  
  8462.         215751161,
  8463.  
  8464.         119916949,
  8465.  
  8466.         72082328,
  8467.  
  8468.         147180077,
  8469.  
  8470.         100929604,
  8471.  
  8472.         63043890,
  8473.  
  8474.         1285307,
  8475.  
  8476.         1029025,
  8477.  
  8478.         334663683,
  8479.  
  8480.         259423244
  8481.  
  8482.     }
  8483.  
  8484.     game:GetService("InsertService"):LoadAsset(hats[math.random(1,#hats)]):GetChildren()[1].Parent = lp.Character
  8485.  
  8486. end)
  8487.  
  8488. localwin:drawButton(1/2, 'Clear Appearance', function()
  8489.  
  8490.     lp:ClearCharacterAppearance()
  8491.  
  8492. end)
  8493.  
  8494. localwin:drawButton(1/2, 'Disguise', function()
  8495.  
  8496.     local p = lp.Character
  8497.  
  8498.     if p:FindFirstChild("topkek") then
  8499.  
  8500.         p.topkek:Destroy()
  8501.  
  8502.     end
  8503.  
  8504.     p.Name = ""
  8505.  
  8506.     p.Head.Transparency = 1
  8507.  
  8508.     local mo = Instance.new("Model", p)
  8509.  
  8510.     mo.Name = ""
  8511.  
  8512.     local hu = Instance.new("Humanoid", mo)
  8513.  
  8514.     hu.Name = "distag"
  8515.  
  8516.     hu.Health = 100
  8517.  
  8518.     hu.MaxHealth = 100
  8519.  
  8520.     local fh = p.Head:Clone()
  8521.  
  8522.     fh.Parent = mo
  8523.  
  8524.     fh.Transparency = 0
  8525.  
  8526.     local we = Instance.new("Weld", fh)
  8527.  
  8528.     we.Part0 = p.Head
  8529.  
  8530.     we.Part1 = mo
  8531.  
  8532.     lp:ClearCharacterAppearance()
  8533.  
  8534.     pcall(function() p["Body Colors"]:Destroy() end)
  8535.  
  8536.     Instance.new("BodyColors", p)
  8537.  
  8538. end)
  8539.  
  8540. localwin:drawButton(1, 'Dick Shooter', function()
  8541.  
  8542.     topkek.libutil:dickShooter()
  8543.  
  8544. end)
  8545.  
  8546. localwin:addSpacing()
  8547.  
  8548. local hackerInp
  8549.  
  8550. localwin:drawButton(1/2, 'Set Tag', function()
  8551.  
  8552.     local len = 10
  8553.  
  8554.     local bb = Instance.new("BillboardGui")
  8555.  
  8556.     bb.Parent = lp.Character.Head
  8557.  
  8558.     bb.Adornee = lp.Character.Head
  8559.  
  8560.     bb.AlwaysOnTop = true
  8561.  
  8562.     bb.Enabled = true
  8563.  
  8564.     bb.Size = UDim2.new(len, 0, 1.5, 0)
  8565.  
  8566.     bb.Name = "tag"
  8567.  
  8568.     bb.StudsOffset = Vector3.new(0, 3, 0)
  8569.  
  8570.     --local fr = Instance.new("Frame")
  8571.  
  8572.     --fr.Parent = bb
  8573.  
  8574.     --fr.Size = UDim2.new(1, 0, 1, 0)
  8575.  
  8576.     --fr.Style = Enum.FrameStyle.RobloxRound
  8577.  
  8578.     local tl = Instance.new("TextLabel")
  8579.  
  8580.     tl.Parent = bb
  8581.  
  8582.     tl.Font = Enum.Font.Code
  8583.  
  8584.     tl.BackgroundTransparency = 1
  8585.  
  8586.     tl.TextScaled = true
  8587.  
  8588.     tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  8589.  
  8590.     tl.Size = UDim2.new(1, 0, 1, 0)
  8591.  
  8592.     tl.Text = hackerInp.Text
  8593.  
  8594.     tl.Name = "trutag"
  8595.  
  8596.     tl.Visible = true
  8597.  
  8598.     tl.ZIndex = 2
  8599.  
  8600. end)
  8601.  
  8602. hackerInp = localwin:drawTextBox(1/2, 'Hacker')
  8603.  
  8604. --[[ scripts ]]--
  8605.  
  8606. -- excuse my disgusting code :v
  8607.  
  8608. local scriptwin = topkek.libgui:hookContainer(base['ScriptsContainer'])
  8609.  
  8610. local search = scriptwin:drawTextBox(1,'')
  8611.  
  8612. local origy = scriptwin:getDrawY()
  8613.  
  8614. scriptwin:addSpacing()
  8615.  
  8616. scriptwin:addSpacing()
  8617.  
  8618. local a = Instance.new("LocalScript");a.Name='script 1'
  8619.  
  8620. local b = Instance.new("LocalScript");b.Name='script 2'
  8621.  
  8622. local c = Instance.new("LocalScript");c.Name='script 3'
  8623.  
  8624. local scripts = {a,b,c}
  8625.  
  8626. local container = {}
  8627.  
  8628. function MakeList(condition)
  8629.  
  8630.     for i,v in pairs(scriptwin:GetChildren()) do
  8631.  
  8632.         if v.Name == "Script" then
  8633.  
  8634.             v:Destroy()
  8635.  
  8636.         end
  8637.  
  8638.     end
  8639.  
  8640.     scriptwin:setDrawY(origy)
  8641.  
  8642.     for i, v in pairs(scripts) do
  8643.  
  8644.         if string.find(v.Name, condition) or (condition == "") or (condition == " ") then
  8645.  
  8646.             local scr = scriptwin:drawButton(1, v.Name, function()
  8647.  
  8648.                 print('no loadstring lol')
  8649.  
  8650.             end, 25)
  8651.  
  8652.             scr.Name = 'Script'
  8653.  
  8654.         end
  8655.  
  8656.     end
  8657.  
  8658. end
  8659.  
  8660. game:GetService("UserInputService").InputChanged:connect(function(inp)
  8661.  
  8662.     if inp.UserInputType == Enum.UserInputType.TextInput then
  8663.  
  8664.         if search:IsFocused() then
  8665.  
  8666.             MakeList(search.Text)
  8667.  
  8668.         end
  8669.  
  8670.     end
  8671.  
  8672. end)
  8673.  
  8674. MakeList('')
  8675.  
  8676. --[[ misc main ]]--
  8677.  
  8678. local miscwin = topkek.libgui:hookContainer(base['MiscellaneousContainer'])
  8679.  
  8680. local scroll = miscwin:drawScrollingContainer(165)
  8681.  
  8682. scroll:center()
  8683.  
  8684. for i, v in pairs(topkek.libsettings:getSetting("misc")) do
  8685.  
  8686.     scroll:drawButton(1, v, function()
  8687.  
  8688.         topkek.libwindows:switchWindow(v .. 'Container', v)
  8689.  
  8690.     end)
  8691.  
  8692. end
  8693.  
  8694. scroll.main.CanvasSize = scroll.main.CanvasSize - UDim2.new(0, 0, 0, 3)
  8695.  
  8696. --[[ initiation ]]--
  8697.  
  8698. topkek.libwindows:registerWindow(base['HomeContainer'])
  8699.  
  8700. topkek.libwindows:registerWindow(base['ServerContainer'])
  8701.  
  8702. topkek.libwindows:registerWindow(base['PlayersContainer'])
  8703.  
  8704. topkek.libwindows:registerWindow(base['LocalPlayerContainer'])
  8705.  
  8706. topkek.libwindows:registerWindow(base['ScriptsContainer'])
  8707.  
  8708. topkek.libwindows:registerWindow(base['MiscellaneousContainer'])
  8709.  
  8710. topkek.libwindows:initiateNavigator()
  8711.  
  8712. topkek.libwindows:initiateHome()
  8713.  
  8714. end)
  8715. TextButton_5.Parent = Main
  8716. TextButton_5.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
  8717. TextButton_5.Position = UDim2.new(0.390954733, 0, 0.1039683, 0)
  8718. TextButton_5.Size = UDim2.new(0, 200, 0, 50)
  8719. TextButton_5.Font = Enum.Font.SourceSans
  8720. TextButton_5.Text = "None"
  8721. TextButton_5.TextColor3 = Color3.new(1, 1, 1)
  8722. TextButton_5.TextScaled = true
  8723. TextButton_5.TextSize = 14
  8724. TextButton_5.TextWrapped = true
  8725.  
  8726. TextButton_6.Parent = Main
  8727. TextButton_6.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
  8728. TextButton_6.Position = UDim2.new(0.690631688, 0, 0.103968307, 0)
  8729. TextButton_6.Size = UDim2.new(0, 200, 0, 50)
  8730. TextButton_6.Font = Enum.Font.SourceSans
  8731. TextButton_6.Text = "Reviz Admin"
  8732. TextButton_6.TextColor3 = Color3.new(1, 1, 1)
  8733. TextButton_6.TextScaled = true
  8734. TextButton_6.TextSize = 14
  8735. TextButton_6.TextWrapped = true
  8736.  
  8737. Close.Name = "Close"
  8738. Close.Parent = Main
  8739. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  8740. Close.BackgroundTransparency = 1
  8741. Close.Position = UDim2.new(0.941270769, 0, -0.0112540331, 0)
  8742. Close.Size = UDim2.new(0, 43, 0, 50)
  8743. Close.Font = Enum.Font.SourceSans
  8744. Close.Text = "X"
  8745. Close.TextColor3 = Color3.new(0, 0, 0)
  8746. Close.TextScaled = true
  8747. Close.TextSize = 14
  8748. Close.TextWrapped = true
  8749. Close.MouseButton1Down:connect(function()
  8750. OpenFrame.Visible = true
  8751. Main.Visible = false
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top