Bleu_Ui

TopKekV4

Feb 3rd, 2018
924
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 163.07 KB | None | 0 0
  1. local s = Instance.new ("Sound", workspace)
  2. s.SoundId = 'rbxassetid://198856346'
  3. s:Play()
  4.  
  5. local topkek = {}
  6. topkek.patch = '1.0.5a'
  7. topkek.data = {}
  8. topkek.commandbase = {}
  9. topkek.navigation = {}
  10. topkek.banmgr = {}
  11. topkek.lplr = game:GetService('Players').LocalPlayer
  12.  
  13. topkek.tools = {}
  14. topkek.tools.gui = {}
  15. topkek.tools.util = {}
  16. topkek.tools.animator = {}
  17.  
  18. topkek.windows = {}
  19. topkek.windows.lplr = {}
  20. topkek.windows.server = {}
  21. topkek.windows.players = {}
  22. topkek.windows.destruction = {}
  23. topkek.windows.scripts = {}
  24. topkek.windows.misc = {}
  25.  
  26. topkek.misc = {}
  27.  
  28. local NewGuiPart1 = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  29.     NewGuiPart1.Name = "4.0"
  30.     -------
  31.     local NewGuiPart2 = Instance.new("Frame")
  32.     NewGuiPart2.Active = true
  33.     NewGuiPart2.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  34.     NewGuiPart2.BorderSizePixel = 0
  35.     NewGuiPart2.Name = "Main"
  36.     NewGuiPart2.Position = UDim2.new(0, 300, 0, 50)
  37.     NewGuiPart2.Selectable = true
  38.     NewGuiPart2.Size = UDim2.new(0, 470, 0, 395)
  39.     NewGuiPart2.Visible = false
  40.     NewGuiPart2.ClipsDescendants = true
  41.     NewGuiPart2.Draggable = true
  42.     NewGuiPart2.Parent = NewGuiPart1
  43.     -------
  44.     local NewGuiPart3 = Instance.new("Frame")
  45.     NewGuiPart3.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  46.     NewGuiPart3.BorderSizePixel = 0
  47.     NewGuiPart3.Name = "Topbar"
  48.     NewGuiPart3.Position = UDim2.new(0, 150, 0, 0)
  49.     NewGuiPart3.Size = UDim2.new(0, 320, 0, 30)
  50.     NewGuiPart3.Parent = NewGuiPart2
  51.     -------
  52.     local NewGuiPart4 = Instance.new("TextLabel")
  53.     NewGuiPart4.BackgroundTransparency = 1
  54.     NewGuiPart4.Name = "PlayerName"
  55.     NewGuiPart4.Position = UDim2.new(0, -140, 0, 0)
  56.     NewGuiPart4.Size = UDim2.new(0.5, 0, 1, 0)
  57.     NewGuiPart4.Visible = false
  58.     NewGuiPart4.ZIndex = 4
  59.     NewGuiPart4.Font = Enum.Font.Arcade
  60.     NewGuiPart4.FontSize = Enum.FontSize.Size18
  61.     NewGuiPart4.Text = "Player1"
  62.     NewGuiPart4.TextColor3 = Color3.new(1, 1, 1)
  63.     NewGuiPart4.TextXAlignment = Enum.TextXAlignment.Left
  64.     NewGuiPart4.Parent = NewGuiPart3
  65.     -------
  66.     local NewGuiPart5 = Instance.new("Frame")
  67.     NewGuiPart5.BackgroundTransparency = 1
  68.     NewGuiPart5.Name = "Controllers"
  69.     NewGuiPart5.Position = UDim2.new(1, -128, 0, 3)
  70.     NewGuiPart5.Size = UDim2.new(0, 125, 1, -6)
  71.     NewGuiPart5.Parent = NewGuiPart3
  72.     -------
  73.     local NewGuiPart6 = Instance.new("TextButton")
  74.     NewGuiPart6.Active = true
  75.     NewGuiPart6.AutoButtonColor = false
  76.     NewGuiPart6.BackgroundColor3 = Color3.new(0.552941, 0.105882, 0.105882)
  77.     NewGuiPart6.BorderSizePixel = 0
  78.     NewGuiPart6.Name = "Exit"
  79.     NewGuiPart6.Position = UDim2.new(1, -24, 0, 0)
  80.     NewGuiPart6.Selectable = true
  81.     NewGuiPart6.Size = UDim2.new(0, 24, 0, 24)
  82.     NewGuiPart6.Style = Enum.ButtonStyle.Custom
  83.     NewGuiPart6.FontSize = Enum.FontSize.Size14
  84.     NewGuiPart6.Text = ""
  85.     NewGuiPart6.Parent = NewGuiPart5
  86.     -------
  87.     local NewGuiPart7 = Instance.new("TextButton")
  88.     NewGuiPart7.Active = true
  89.     NewGuiPart7.AutoButtonColor = false
  90.     NewGuiPart7.BackgroundColor3 = Color3.new(0.780392, 0.34902, 0)
  91.     NewGuiPart7.BorderSizePixel = 0
  92.     NewGuiPart7.Name = "Hide"
  93.     NewGuiPart7.Position = UDim2.new(1, -50, 0, 0)
  94.     NewGuiPart7.Selectable = true
  95.     NewGuiPart7.Size = UDim2.new(0, 24, 0, 24)
  96.     NewGuiPart7.Style = Enum.ButtonStyle.Custom
  97.     NewGuiPart7.FontSize = Enum.FontSize.Size14
  98.     NewGuiPart7.Text = ""
  99.     NewGuiPart7.Parent = NewGuiPart5
  100.     -------
  101.     local NewGuiPart8 = Instance.new("TextLabel")
  102.     NewGuiPart8.BackgroundTransparency = 1
  103.     NewGuiPart8.Name = "IsFE"
  104.     NewGuiPart8.Size = UDim2.new(0, 65, 1, 0)
  105.     NewGuiPart8.FontSize = Enum.FontSize.Size18
  106.     NewGuiPart8.Text = "Not FE"
  107.     NewGuiPart8.TextColor3 = Color3.new(0.333333, 0.666667, 0)
  108.     NewGuiPart8.TextStrokeTransparency = 0.69999998807907
  109.     NewGuiPart8.TextXAlignment = Enum.TextXAlignment.Right
  110.     NewGuiPart8.Parent = NewGuiPart5
  111.     -------
  112.     local NewGuiPart9 = Instance.new("TextLabel")
  113.     NewGuiPart9.BackgroundTransparency = 1
  114.     NewGuiPart9.Name = "Stella"
  115.     NewGuiPart9.Position = UDim2.new(0, -150, 0, 0)
  116.     NewGuiPart9.Size = UDim2.new(1, 150, 1, 0)
  117.     NewGuiPart9.ZIndex = 2
  118.     NewGuiPart9.Font = Enum.Font.Arcade
  119.     NewGuiPart9.FontSize = Enum.FontSize.Size18
  120.     NewGuiPart9.Text = "[Stella]"
  121.     NewGuiPart9.TextColor3 = Color3.new(0.054902, 0.0745098, 0.498039)
  122.     NewGuiPart9.Parent = NewGuiPart3
  123.     -------
  124.     local NewGuiPart10 = Instance.new("Frame")
  125.     NewGuiPart10.BackgroundTransparency = 1
  126.     NewGuiPart10.Name = "Holder"
  127.     NewGuiPart10.Position = UDim2.new(0, 150, 0, 30)
  128.     NewGuiPart10.Size = UDim2.new(0, 320, 0, 365)
  129.     NewGuiPart10.Parent = NewGuiPart2
  130.     -------
  131.     local NewGuiPart11 = Instance.new("Frame")
  132.     NewGuiPart11.BackgroundTransparency = 1
  133.     NewGuiPart11.Name = "Home"
  134.     NewGuiPart11.Size = UDim2.new(1, 0, 1, 0)
  135.     NewGuiPart11.Parent = NewGuiPart10
  136.     -------
  137.     local NewGuiPart12 = Instance.new("TextLabel")
  138.     NewGuiPart12.BackgroundTransparency = 1
  139.     NewGuiPart12.BorderSizePixel = 0
  140.     NewGuiPart12.Name = "Title1"
  141.     NewGuiPart12.Position = UDim2.new(0, 30, 0, 3)
  142.     NewGuiPart12.Selectable = true
  143.     NewGuiPart12.Size = UDim2.new(1, -30, 0, 40)
  144.     NewGuiPart12.Font = Enum.Font.SourceSansBold
  145.     NewGuiPart12.FontSize = Enum.FontSize.Size42
  146.     NewGuiPart12.Text = "T0PK3K 4.0"
  147.     NewGuiPart12.TextColor3 = Color3.new(1, 1, 1)
  148.     NewGuiPart12.TextStrokeTransparency = 0.5
  149.     NewGuiPart12.TextXAlignment = Enum.TextXAlignment.Left
  150.     NewGuiPart12.Parent = NewGuiPart11
  151.     -------
  152.     local NewGuiPart13 = Instance.new("TextLabel")
  153.     NewGuiPart13.BackgroundTransparency = 1
  154.     NewGuiPart13.BorderSizePixel = 0
  155.     NewGuiPart13.Name = "Title2"
  156.     NewGuiPart13.Position = UDim2.new(0.600000024, 5, 0, -5)
  157.     NewGuiPart13.Size = UDim2.new(0.400000006, 0, 1, 0)
  158.     NewGuiPart13.Font = Enum.Font.SourceSansBold
  159.     NewGuiPart13.FontSize = Enum.FontSize.Size18
  160.     NewGuiPart13.Text = "by nosyliam"
  161.     NewGuiPart13.TextColor3 = Color3.new(1, 1, 1)
  162.     NewGuiPart13.TextStrokeTransparency = 0.5
  163.     NewGuiPart13.TextXAlignment = Enum.TextXAlignment.Left
  164.     NewGuiPart13.TextYAlignment = Enum.TextYAlignment.Bottom
  165.     NewGuiPart13.Parent = NewGuiPart12
  166.     -------
  167.     local NewGuiPart14 = Instance.new("Frame")
  168.     NewGuiPart14.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  169.     NewGuiPart14.BorderColor3 = Color3.new(0.32549, 0, 0)
  170.     NewGuiPart14.Name = "Container"
  171.     NewGuiPart14.Position = UDim2.new(0, 16, 0, 50)
  172.     NewGuiPart14.Size = UDim2.new(1, -30, 0, 250)
  173.     NewGuiPart14.Parent = NewGuiPart11
  174.     -------
  175.     local NewGuiPart15 = Instance.new("TextLabel")
  176.     NewGuiPart15.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  177.     NewGuiPart15.BorderSizePixel = 0
  178.     NewGuiPart15.Name = "Message"
  179.     NewGuiPart15.Position = UDim2.new(0, 15, 0, 305)
  180.     NewGuiPart15.Size = UDim2.new(1, -30, 0, 25)
  181.     NewGuiPart15.Font = Enum.Font.Highway
  182.     NewGuiPart15.FontSize = Enum.FontSize.Size14
  183.     NewGuiPart15.Text = "Server Message: variable is gay"
  184.     NewGuiPart15.TextColor3 = Color3.new(0.886275, 0.886275, 0.886275)
  185.     NewGuiPart15.TextStrokeTransparency = 0.69999998807907
  186.     NewGuiPart15.Parent = NewGuiPart11
  187.     -------
  188.     local NewGuiPart16 = Instance.new("TextBox")
  189.     NewGuiPart16.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  190.     NewGuiPart16.BorderColor3 = Color3.new(0.32549, 0, 0)
  191.     NewGuiPart16.Name = "Command"
  192.     NewGuiPart16.Position = UDim2.new(0, 15, 0, 335)
  193.     NewGuiPart16.Size = UDim2.new(1, -30, 0, 20)
  194.     NewGuiPart16.Font = Enum.Font.Code
  195.     NewGuiPart16.FontSize = Enum.FontSize.Size12
  196.     NewGuiPart16.Text = "Press ; to enter a command"
  197.     NewGuiPart16.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
  198.     NewGuiPart16.TextStrokeTransparency = 0.80000001192093
  199.     NewGuiPart16.TextTransparency = 0.30000001192093
  200.     NewGuiPart16.Parent = NewGuiPart10
  201.     -------
  202.     local NewGuiPart17 = Instance.new("Frame")
  203.     NewGuiPart17.BackgroundTransparency = 1
  204.     NewGuiPart17.Name = "Template"
  205.     NewGuiPart17.Size = UDim2.new(1, 0, 1, 0)
  206.     NewGuiPart17.Visible = false
  207.     NewGuiPart17.ZIndex = 2
  208.     NewGuiPart17.Parent = NewGuiPart10
  209.     -------
  210.     local NewGuiPart18 = Instance.new("ScrollingFrame")
  211.     NewGuiPart18.Active = true
  212.     NewGuiPart18.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  213.     NewGuiPart18.BorderColor3 = Color3.new(0.32549, 0, 0)
  214.     NewGuiPart18.Name = "Container"
  215.     NewGuiPart18.Position = UDim2.new(0, 15, 0, 10)
  216.     NewGuiPart18.Selectable = true
  217.     NewGuiPart18.Size = UDim2.new(1, -30, 0, 320)
  218.     NewGuiPart18.ZIndex = 2
  219.     NewGuiPart18.BottomImage = "rbxassetid://368504177"
  220.     NewGuiPart18.CanvasSize = UDim2.new(0, 0, 0, 0)
  221.     NewGuiPart18.MidImage = "rbxassetid://368504177"
  222.     NewGuiPart18.ScrollBarThickness = 5
  223.     NewGuiPart18.TopImage = "rbxassetid://368504177"
  224.     NewGuiPart18.ClipsDescendants = true
  225.     NewGuiPart18.Parent = NewGuiPart17
  226.     -------
  227.     local NewGuiPart19 = Instance.new("Frame")
  228.     NewGuiPart19.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  229.     NewGuiPart19.BackgroundTransparency = 1
  230.     NewGuiPart19.BorderColor3 = Color3.new(0.32549, 0, 0)
  231.     NewGuiPart19.Name = "Navigator"
  232.     NewGuiPart19.Position = UDim2.new(0, 16, 0, 10)
  233.     NewGuiPart19.Size = UDim2.new(1, -30, 0, 60)
  234.     NewGuiPart19.Visible = false
  235.     NewGuiPart19.Parent = NewGuiPart10
  236.     -------
  237.     local NewGuiPart20 = Instance.new("Frame")
  238.     NewGuiPart20.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  239.     NewGuiPart20.BorderColor3 = Color3.new(0.32549, 0, 0)
  240.     NewGuiPart20.Name = "NavMain"
  241.     NewGuiPart20.Position = UDim2.new(0, 22, 0, 0)
  242.     NewGuiPart20.Size = UDim2.new(1, -44, 0, 60)
  243.     NewGuiPart20.Parent = NewGuiPart19
  244.     -------
  245.     local NewGuiPart21 = Instance.new("TextButton")
  246.     NewGuiPart21.Active = true
  247.     NewGuiPart21.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  248.     NewGuiPart21.BorderSizePixel = 0
  249.     NewGuiPart21.Name = "NavLeft"
  250.     NewGuiPart21.Selectable = true
  251.     NewGuiPart21.Size = UDim2.new(0, 17, 1, 0)
  252.     NewGuiPart21.Style = Enum.ButtonStyle.Custom
  253.     NewGuiPart21.FontSize = Enum.FontSize.Size14
  254.     NewGuiPart21.Text = ""
  255.     NewGuiPart21.Parent = NewGuiPart19
  256.     -------
  257.     local NewGuiPart22 = Instance.new("TextButton")
  258.     NewGuiPart22.Active = true
  259.     NewGuiPart22.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  260.     NewGuiPart22.BorderSizePixel = 0
  261.     NewGuiPart22.Name = "NavRight"
  262.     NewGuiPart22.Position = UDim2.new(1, -17, 0, 0)
  263.     NewGuiPart22.Selectable = true
  264.     NewGuiPart22.Size = UDim2.new(0, 17, 1, 0)
  265.     NewGuiPart22.Style = Enum.ButtonStyle.Custom
  266.     NewGuiPart22.FontSize = Enum.FontSize.Size14
  267.     NewGuiPart22.Text = ""
  268.     NewGuiPart22.Parent = NewGuiPart19
  269.     -------
  270.     local NewGuiPart23 = Instance.new("Frame")
  271.     NewGuiPart23.Active = true
  272.     NewGuiPart23.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  273.     NewGuiPart23.BorderSizePixel = 0
  274.     NewGuiPart23.Name = "Navigation"
  275.     NewGuiPart23.Size = UDim2.new(0, 150, 1, 0)
  276.     NewGuiPart23.ZIndex = 2
  277.     NewGuiPart23.Parent = NewGuiPart2
  278.     -------
  279.     local NewGuiPart24 = Instance.new("Frame")
  280.     NewGuiPart24.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  281.     NewGuiPart24.BorderSizePixel = 0
  282.     NewGuiPart24.Name = "Topbar"
  283.     NewGuiPart24.Size = UDim2.new(1, 0, 0, 30)
  284.     NewGuiPart24.ZIndex = 3
  285.     NewGuiPart24.Parent = NewGuiPart23
  286.     -------
  287.     local NewGuiPart25 = Instance.new("ScrollingFrame")
  288.     NewGuiPart25.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  289.     NewGuiPart25.BorderSizePixel = 0
  290.     NewGuiPart25.Name = "Scroll"
  291.     NewGuiPart25.Position = UDim2.new(0, 0, 0, 30)
  292.     NewGuiPart25.Selectable = true
  293.     NewGuiPart25.Size = UDim2.new(1, 0, 1, -30)
  294.     NewGuiPart25.ZIndex = 3
  295.     NewGuiPart25.BottomImage = "rbxassetid://368504177"
  296.     NewGuiPart25.MidImage = "rbxassetid://368504177"
  297.     NewGuiPart25.ScrollBarThickness = 6
  298.     NewGuiPart25.TopImage = "rbxassetid://368504177"
  299.     NewGuiPart25.ClipsDescendants = true
  300.     NewGuiPart25.Parent = NewGuiPart23
  301.     -------
  302.     local NewGuiPart26 = Instance.new("Frame")
  303.     NewGuiPart26.BackgroundTransparency = 1
  304.     NewGuiPart26.Name = "Composite1"
  305.     NewGuiPart26.Position = UDim2.new(-1, 0, 0.5, -50)
  306.     NewGuiPart26.Size = UDim2.new(0, 50, 0, 100)
  307.     NewGuiPart26.ClipsDescendants = true
  308.     NewGuiPart26.Parent = NewGuiPart1
  309.     -------
  310.     local NewGuiPart27 = Instance.new("TextLabel")
  311.     NewGuiPart27.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  312.     NewGuiPart27.BorderSizePixel = 0
  313.     NewGuiPart27.Name = "Label"
  314.     NewGuiPart27.Size = UDim2.new(2, 0, 1, 0)
  315.     NewGuiPart27.Font = Enum.Font.SourceSansBold
  316.     NewGuiPart27.FontSize = Enum.FontSize.Size96
  317.     NewGuiPart27.Text = "T"
  318.     NewGuiPart27.TextColor3 = Color3.new(1, 1, 1)
  319.     NewGuiPart27.Parent = NewGuiPart26
  320.     -------
  321.     local NewGuiPart28 = Instance.new("Frame")
  322.     NewGuiPart28.BackgroundTransparency = 1
  323.     NewGuiPart28.Name = "Composite2"
  324.     NewGuiPart28.Position = UDim2.new(1, 0, 0.5, -50)
  325.     NewGuiPart28.Size = UDim2.new(0, 50, 0, 100)
  326.     NewGuiPart28.ClipsDescendants = true
  327.     NewGuiPart28.Parent = NewGuiPart1
  328.     -------
  329.     local NewGuiPart29 = Instance.new("TextLabel")
  330.     NewGuiPart29.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  331.     NewGuiPart29.BorderSizePixel = 0
  332.     NewGuiPart29.Name = "Label"
  333.     NewGuiPart29.Position = UDim2.new(-1, 0, 0, 0)
  334.     NewGuiPart29.Size = UDim2.new(2, 0, 1, 0)
  335.     NewGuiPart29.Font = Enum.Font.SourceSansBold
  336.     NewGuiPart29.FontSize = Enum.FontSize.Size96
  337.     NewGuiPart29.Text = "T"
  338.     NewGuiPart29.TextColor3 = Color3.new(1, 1, 1)
  339.     NewGuiPart29.Parent = NewGuiPart28
  340.     -------
  341.     local NewGuiPart30 = Instance.new("Frame")
  342.     NewGuiPart30.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  343.     NewGuiPart30.Name = "Solid"
  344.     NewGuiPart30.Position = UDim2.new(0.5, -50, 0.5, -50)
  345.     NewGuiPart30.Visible = false
  346.     NewGuiPart30.ClipsDescendants = true
  347.     NewGuiPart30.Parent = NewGuiPart1
  348.     -------
  349.     local NewGuiPart31 = Instance.new("TextLabel")
  350.     NewGuiPart31.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  351.     NewGuiPart31.BorderSizePixel = 0
  352.     NewGuiPart31.Name = "Label"
  353.     NewGuiPart31.Size = UDim2.new(1, 0, 1, 0)
  354.     NewGuiPart31.Font = Enum.Font.SourceSansBold
  355.     NewGuiPart31.FontSize = Enum.FontSize.Size96
  356.     NewGuiPart31.Text = "T"
  357.     NewGuiPart31.TextColor3 = Color3.new(1, 1, 1)
  358.     NewGuiPart31.Parent = NewGuiPart30
  359.  
  360.  
  361.  
  362. topkek.center = game.Players.LocalPlayer.PlayerGui["4.0"].Main
  363. topkek.holder = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder
  364. topkek.topbar = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar
  365. topkek.template = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Template
  366. topkek.navigator = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Navigator
  367.  
  368. AllowHovers = false
  369. PlayerChatHook, UpdateBanlist = nil
  370. cmd = {}
  371.  
  372. --// data //--
  373. topkek.data.windows = {
  374.     'Home',
  375.     'LocalPlayer',
  376.     'Server',
  377.     'Players',
  378.     'Destruction',
  379.     'Scripts',
  380.     'Catalog',
  381.     'Music',
  382.     'Hats',
  383.     'Faces',
  384.     'Settings',
  385.     'Commands',
  386.     'Banlist',
  387. }
  388.  
  389. color3 = function(r,g,b)
  390.     return Color3.new(r/255, g/255, b/255)
  391. end
  392. --// doggo dropdown //--
  393. -- thanks krystal
  394. GUI = {
  395.     TextBox = {
  396.         Settings = {
  397.             Font = Enum.Font.SourceSans;
  398.             FontSize = Enum.FontSize.Size14;
  399.         };
  400.         Color = {
  401.             Main = Color3.fromRGB(5,8,11);
  402.             Border = Color3.fromRGB(27,42,53);
  403.             Text = Color3.fromRGB(199,199,199);
  404.         };
  405.         New = function(Position, Size, Parent, ...)
  406.             local arguments = {...};
  407.            
  408.             local TextBox = Instance.new("TextBox", Parent);
  409.             TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
  410.             TextBox.BorderColor3 = GUI.DropDown.Color.Border;
  411.             TextBox.Font = GUI.TextBox.Settings.Font;
  412.             TextBox.FontSize = GUI.TextBox.Settings.FontSize;
  413.             TextBox.TextColor3 = GUI.TextBox.Color.Text;
  414.             TextBox.Position = Position;
  415.             TextBox.Size = Size;
  416.             if #arguments then
  417.                 if arguments[1] then
  418.                     TextBox.Text = tostring(arguments[1]);
  419.                 else
  420.                     TextBox.Text = "";
  421.                 end
  422.             end    
  423.             return TextBox;
  424.         end;
  425.     };
  426.     DropDown = {
  427.         Settings = {
  428.             ScrollerAmount = 5; --A scroller will appear at this amount.
  429.             ScrollBarThickness = 6;
  430.         };
  431.         Gfx = {
  432.             Scroller = "rbxassetid://606572419";
  433.         };
  434.         Color = {
  435.             Main = color3(107, 36, 36);
  436.             Secondary = color3(113, 39, 39);
  437.             Border = color3(127, 44, 44);
  438.             Text = Color3.fromRGB(199,199,199);
  439.         };
  440.         New = function(Position, Size, Parent, ...)
  441.             local vValue = {};
  442.             local arguments = {...};
  443.             local vSelected = Instance.new("StringValue");
  444.             vSelected.Value = "nil";
  445.            
  446.             if arguments then
  447.                 if type(arguments) == "table" then
  448.                     for i=1,#(arguments) do
  449.                         if type(arguments[i]) == "table" then
  450.                             for f=1,#(arguments[i]) do
  451.                                 table.insert(vValue, tostring((arguments[i])[f]));
  452.                             end
  453.                         else
  454.                             table.insert(vValue, tostring(arguments[i]));
  455.                         end
  456.                     end
  457.                     vSelected.Value = (vValue[1]);
  458.                 end
  459.             end
  460.            
  461.             local Main = Instance.new("TextButton", Parent);
  462.             Main.BackgroundColor3 = GUI.DropDown.Color.Main;
  463.             Main.BorderColor3 = GUI.DropDown.Color.Border;
  464.             Main.Position = Position;
  465.             Main.Size = Size;
  466.             Main.TextColor3 = GUI.DropDown.Color.Text;
  467.             Main.FontSize = Enum.FontSize.Size14;
  468.             Main.TextStrokeTransparency = 0.5;
  469.             Main.TextXAlignment = Enum.TextXAlignment.Left;
  470.             Main.Font = Enum.Font.SourceSans;
  471.             Main.Text = "  "..tostring(vSelected.Value);
  472.             Main.ZIndex = 3
  473.            
  474.             local Icon = Instance.new("TextLabel", Main);
  475.             Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
  476.             Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
  477.             Icon.BorderColor3 = GUI.DropDown.Color.Border;
  478.             Icon.Position = UDim2.new(1,-2,1,-2);
  479.             Icon.Size = UDim2.new(-1,4,-1,4);
  480.             Icon.TextColor3 = GUI.DropDown.Color.Text;
  481.             Icon.FontSize = Enum.FontSize.Size14;
  482.             Icon.TextStrokeTransparency = 0.5;
  483.             Icon.Font = Enum.Font.SourceSans;
  484.             Icon.Text = "V"
  485.             Icon.ZIndex = 4
  486.  
  487.             local Holder, Search;
  488.             local ClearHolder = function()
  489.                 if Holder then
  490.                     Holder:ClearAllChildren();
  491.                     Holder.Size = UDim2.new(1,0,0,0);
  492.                     Holder.Visible = false;
  493.                     if Search then
  494.                         Search.Visible = false;
  495.                     end
  496.                 end
  497.             end;
  498.            
  499.             local CreateButton;
  500.             local RefreshDropDown = function()
  501.                 if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  502.                     if not Holder or not Holder:IsA("Frame") then
  503.                         Holder = nil; Search = nil;
  504.                         Holder = Instance.new("Frame",Main);
  505.                         Holder.Size = UDim2.new(1,0,0,0);
  506.                         Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  507.                         Holder.BorderColor3 = GUI.DropDown.Color.Border;
  508.                         Holder.Visible = false;
  509.                         Holder.ZIndex = 3
  510.                     end
  511.                 elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
  512.                     if not Holder or not Holder:IsA("ScrollingFrame") then
  513.                         Holder = nil; Search = nil;
  514.                         Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
  515.                         Search.Visible = false;
  516.                         Search.ZIndex = 4
  517.                         Search.Changed:connect(function(p)
  518.                             if p == "Text" then
  519.                                 CreateButton(Search.Text);
  520.                             end
  521.                         end)
  522.                         Holder = Instance.new("ScrollingFrame",Main);
  523.                         Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  524.                         Holder.BorderColor3 = GUI.DropDown.Color.Border;
  525.                         Holder.TopImage = GUI.DropDown.Gfx.Scroller;
  526.                         Holder.MidImage = GUI.DropDown.Gfx.Scroller;
  527.                         Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
  528.                         Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
  529.                         Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
  530.                         Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
  531.                         Holder.Visible = false;
  532.                         Holder.ZIndex = 3;
  533.                     end
  534.                 end
  535.                 if #vValue == 1 and vSelected.Value ~= vValue[1] then
  536.                     vSelected.Value = vValue[1];
  537.                 elseif #vValue == 0 then
  538.                     vSelected.Value = "nil";
  539.                     warn("Table amount is nil.");
  540.                 end
  541.                 Main.Text = "  "..tostring(vSelected.Value);
  542.                 --ClearHolder();
  543.             end;
  544.            
  545.             local Debounce = false;
  546.             CreateButton = function(searches)
  547.                 if Debounce == false then
  548.                     Debounce = true;
  549.                     ClearHolder()
  550.                     Holder.Visible = true;
  551.                     local Searched = 0;
  552.                     if #vValue > 0 then
  553.                         for i=1,#vValue do
  554.                             if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
  555.                                 Searched = Searched + 1;
  556.                             end
  557.                         end
  558.                         for i=1,#vValue do
  559.                             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
  560.                                 local Select = Instance.new("TextButton", Holder);
  561.                                 Select.BackgroundColor3 = GUI.DropDown.Color.Main;
  562.                                 Select.BorderColor3 = GUI.DropDown.Color.Border;
  563.                                 Select.BackgroundTransparency = 1;
  564.                                 Select.BorderSizePixel = 0;
  565.                                 Select.Position = Position;
  566.                                 if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  567.                                     Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
  568.                                 else
  569.                                     Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
  570.                                 end
  571.                                 Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
  572.                                 Select.TextColor3 = GUI.DropDown.Color.Text;
  573.                                 Select.FontSize = Enum.FontSize.Size14;
  574.                                 Select.TextStrokeTransparency = 0.5;
  575.                                 Select.Font = Enum.Font.SourceSans;
  576.                                 Select.Text = tostring(vValue[i]);
  577.                                 Select.ZIndex = 3
  578.                                 Select.MouseButton1Click:connect(function()
  579.                                     vSelected.Value = vValue[i];
  580.                                     ClearHolder();
  581.                                     RefreshDropDown();
  582.                                 end)
  583.                                 if  #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  584.                                     Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
  585.                                 elseif Holder:IsA("ScrollingFrame") then
  586.                                     Search.Visible = true;
  587.                                     if #Holder:GetChildren() >= 1 then
  588.                                         Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  589.                                         Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
  590.                                         if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
  591.                                             Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
  592.                                             Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  593.                                         end
  594.                                     elseif #Holder:GetChildren() < 1 then
  595.                                         Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  596.                                         Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  597.                                     end
  598.                                 end
  599.                             end
  600.                         end
  601.                     end
  602.                     Debounce = false;
  603.                 end
  604.             end;
  605.            
  606.             RefreshDropDown();
  607.  
  608.             Main.MouseButton1Click:connect(function()
  609.                 CreateButton()
  610.                 if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
  611.                     Search:CaptureFocus();
  612.                     Search.Text = "";
  613.                 end
  614.             end)
  615.            
  616.             topkek.lplr:GetMouse().Button1Down:connect(function()
  617.                 ClearHolder()
  618.             end)
  619.  
  620.             return {
  621.                 Update = function()
  622.                     RefreshDropDown();
  623.                 end;
  624.                 GetValue = function()
  625.                     RefreshDropDown();
  626.                     return vValue;
  627.                 end;
  628.                 GetSelected = function()
  629.                     RefreshDropDown();
  630.                     return vSelected.Value;
  631.                 end;
  632.                 SetTable = function(F)
  633.                     vValue = F;
  634.                     RefreshDropDown();
  635.                 end;
  636.                 Changed = function(F)
  637.                     vSelected.Changed:connect(function()
  638.                         ypcall(function()
  639.                             F(vSelected.Value);
  640.                         end)
  641.                     end)
  642.                     return "ChangedEvent Hooked";
  643.                 end;
  644.                 AddValue = function(obj)
  645.                     local Type = type(obj);
  646.                     if Type == "table" then
  647.                         for i=1,#obj do
  648.                             table.insert(vValue, obj[i])
  649.                         end
  650.                     elseif Type == "string" or Type == "number" or Type == "boolean" then
  651.                         table.insert(vValue, obj)
  652.                     end
  653.                     RefreshDropDown();
  654.                 end;
  655.                 RemoveValue = function(obj)
  656.                     local Type = type(obj);
  657.                     if Type == "table" then
  658.                         for i=1,#vValue do
  659.                             for f=1,#obj do
  660.                                 if tostring(obj[f]) == tostring(vValue[i]) then
  661.                                     table.remove(vValue,i)
  662.                                 end
  663.                             end
  664.                         end
  665.                     else
  666.                         for i=1,#vValue do
  667.                             if tostring(obj) == tostring(vValue[i]) then
  668.                                 table.remove(vValue,i)
  669.                             end
  670.                         end
  671.                     end
  672.                     RefreshDropDown();
  673.                 end;
  674.                 ClearValue = function()
  675.                     vValue = {};
  676.                     RefreshDropDown();
  677.                 end;
  678.             }
  679.         end;
  680.     };
  681. };
  682. --// util //--
  683. function topkek.tools.util.Object(o, p)
  684.     local a, b = pcall(function()
  685.         Instance.new(o)
  686.     end)
  687.     if not a then
  688.         return
  689.     end
  690.     local obj = Instance.new(o)
  691.     for prop, val in pairs(p) do
  692.         pcall(function()
  693.             obj[prop] = val
  694.         end)
  695.     end
  696.     return obj
  697. end
  698.  
  699. function topkek.tools.util.getContainer(n)
  700.     if game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder:FindFirstChild(n) then
  701.         return  game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder[n]
  702.     else
  703.         print("menu not found; returning template")
  704.         return topkek.holder['Template']
  705.     end
  706. end
  707.  
  708. function topkek.tools.util.play(id)
  709.     local mu = Instance.new("Sound", game:GetService('Workspace'))
  710.     mu.Volume = 1
  711.     mu.Looped = true
  712.     mu.Pitch = 1
  713.     mu.SoundId = "rbxassetid://"..tostring(id)
  714.     mu:Play()
  715. end
  716.  
  717. function topkek.tools.util.getTorso(plr) --r15 compatibility lole
  718.     if plr.Character then
  719.         if plr.Character:FindFirstChild('UpperTorso') then
  720.             return plr.Character.UpperTorso
  721.         elseif plr.Character:FindFirstChild('Torso') then
  722.             return plr.Character.Torso
  723.         else
  724.             return nil
  725.         end
  726.     end
  727. end
  728.  
  729. function topkek.tools.util.recurseRemove(x,type_)
  730.     local function recurse(x)
  731.         for i, v in pairs(x:GetChildren()) do
  732.             pcall(function()
  733.                 if v:IsA(type_) then
  734.                     v:Destroy()
  735.                 end
  736.                 if #(v:GetChildren())>0 then
  737.                     recurse(v)
  738.                 end
  739.             end)
  740.         end
  741.     end
  742.     recurse(x)
  743. end
  744.  
  745. function topkek.tools.util.recurseFunc(type_,func)
  746.     local function recurse(x)
  747.         for i, v in pairs(x:GetChildren()) do
  748.             pcall(function()
  749.                 if v:IsA(type_) then
  750.                     func(v)
  751.                 end
  752.                 if #(v:GetChildren())>0 then
  753.                     recurse(v)
  754.                 end
  755.             end)
  756.         end
  757.     end
  758.     recurse(game)
  759. end
  760. function topkek.tools.util.trowel()
  761.     local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
  762.     T.Name = 'Custom Trowel'
  763.    
  764.     local p = Instance.new('Part')
  765.     p.Name = 'Handle'
  766.     p.Size = Vector3.new(1,4.4,1)
  767.     p.Parent = T
  768.    
  769.     local specialMesh = Instance.new('SpecialMesh')
  770.     specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
  771.     specialMesh.MeshType = 'FileMesh'
  772.     specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
  773.     specialMesh.Parent = T.Handle
  774.    
  775.     local sound = Instance.new'Sound'
  776.     sound.Name = 'build'
  777.     sound.SoundId = 'rbxasset://sounds//bass.wav'
  778.     sound.Volume = 1
  779.     sound.Parent = T.Handle
  780.      
  781.     local brickHeight = 100
  782.     local trowelSpeed = 0.05
  783.     local brickWidth = 500
  784.     local mouseConnection
  785.      
  786.     function newBrick(CF, P, color)
  787.      local brick = Instance.new('Part')
  788.      brick.BrickColor = color
  789.      brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
  790.      brick.Parent = game.Workspace
  791.      brick:MakeJoints()
  792.      brick.Material = 'Neon'
  793.      brick.Name = 'DeleteMe'
  794.      return  brick, P + brick.Size
  795.     end
  796.      
  797.     function genBrick(cFrame)
  798.      local randBrickColor = BrickColor.Random()
  799.      assert(brickWidth > 0)
  800.      
  801.      local yPos = 0
  802.      
  803.      while yPos < brickHeight do
  804.       local vPos
  805.       local X = -brickWidth / 2
  806.       while X < brickWidth / 2 do
  807.        local brick
  808.        brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
  809.        X = vPos.x
  810.        wait(trowelSpeed)
  811.       end
  812.       yPos = vPos.y
  813.      end
  814.     end
  815.      
  816.     function calcPos(vec)
  817.      if (math.abs(vec.x) > math.abs(vec.z)) then
  818.       if vec.x > 0 then
  819.        return Vector3.new(1, 0, 0)
  820.       else
  821.        return Vector3.new(-1, 0, 0)
  822.       end
  823.      else
  824.       if (vec.z > 0) then
  825.        return Vector3.new(0, 0, 1)
  826.       else
  827.        return Vector3.new(0, 0, -1)
  828.       end
  829.      end
  830.     end
  831.      
  832.     T.Enabled = true
  833.    
  834.     T.Activated:connect(function()
  835.      if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  836.       T.Enabled = false
  837.       T.Handle.build:Play()
  838.       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)))
  839.       T.Enabled = true
  840.      end
  841.     end)
  842.    
  843.     T.Equipped:connect(function()
  844.      mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  845.       if (key == 'r') then
  846.        for i,v in next, workspace:children'' do
  847.         if (v.Name == 'DeleteMe') then
  848.          v:Destroy()
  849.         end
  850.        end
  851.       end
  852.      end)
  853.     end)
  854.    
  855.     T.Unequipped:connect(function()
  856.      mouseConnection:disconnect()
  857.     end)
  858. end
  859. function topkek.tools.util.recurseSet(type_,prop,val)
  860.     local function recurse(x)
  861.         for i, v in pairs(x:GetChildren()) do
  862.             pcall(function()
  863.                 if v:IsA(type_) then
  864.                     v[prop]=val
  865.                 end
  866.                 if #(v:GetChildren())>0 then
  867.                     recurse(v)
  868.                 end
  869.             end)
  870.         end
  871.     end
  872.     recurse(game)
  873. end
  874. function topkek.tools.util.recurseUltimate(d)
  875.     topkek.tools.util.recurseDecal(d)
  876.     topkek.tools.util.recurseParticles(d)
  877. end
  878. function topkek.tools.util.recurseDecal(img)
  879.     img = 'rbxassetid://' .. img
  880.     local function skybox(x)
  881.         local sky = Instance.new("Sky",game.Lighting)
  882.         local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  883.         for i,v in pairs(fcs) do
  884.             sky["Skybox"..v]=x
  885.         end
  886.     end
  887.    
  888.     local function decal(p, b)
  889.         local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  890.         for i, v in pairs(sides) do
  891.             local a = Instance.new("Decal", p)
  892.             a.Texture = b
  893.             a.Face = v
  894.         end
  895.     end
  896.            
  897.     local function recurse(x)
  898.         for i, v in pairs(x:GetChildren()) do
  899.             pcall(function() -- 'error occured, no output from Lua' LOLE
  900.                 if v:IsA("BasePart") then
  901.                     decal(v, img)
  902.                 end
  903.                 if #(v:GetChildren())>0 then
  904.                     recurse(v)
  905.                 end
  906.             end)
  907.         end
  908.     end
  909.            
  910.     recurse(game)
  911.     skybox(img)
  912. end
  913. function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
  914.     img = 'rbxassetid://' .. img
  915.     local function skybox(x)
  916.         local sky = Instance.new("Sky",game.Lighting)
  917.         local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  918.         for i,v in pairs(fcs) do
  919.             sky["Skybox"..v]=x
  920.         end
  921.     end
  922.     local function particle(p, b)
  923.         local a = Instance.new("ParticleEmitter", p)
  924.         a.Rate = 500
  925.         a.Lifetime = NumberRange.new(20, 30)
  926.         a.VelocitySpread = 200
  927.         a.Texture = b
  928.     end
  929.            
  930.     local function recurse(x)
  931.         for i, v in pairs(x:GetChildren()) do
  932.             pcall(function() -- 'error occured, no output from Lua' LOLE
  933.                 if v:IsA("BasePart") then
  934.                     particle(v, img)
  935.                 end
  936.                 if #(v:GetChildren())>0 then
  937.                     recurse(v)
  938.                 end
  939.             end)
  940.         end
  941.     end
  942.            
  943.     recurse(game)
  944.     skybox(img)
  945. end
  946. function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
  947.     local function recurse(x)
  948.         for i, v in pairs(x:GetChildren()) do
  949.             pcall(function()
  950.                 if v:IsA(type_) then
  951.                     v[prop]=val
  952.                 end
  953.                 if #(v:GetChildren())>0 then
  954.                     recurse(v)
  955.                 end
  956.             end)
  957.         end
  958.     end
  959.     recurse(obj)
  960. end
  961. function topkek.tools.util.doPlayers(cval, func)
  962.     local plrs = {}
  963.     if cval == 'All' then
  964.         plrs = game:GetService('Players'):GetPlayers()
  965.     else
  966.         plrs = {game:GetService('Players'):FindFirstChild(cval)}
  967.     end
  968.     for i, v in pairs(plrs) do
  969.         func(v)
  970.     end
  971. end
  972. function topkek.tools.util.scalePlayer(sc,plr)
  973.     local pchar = plr.Character
  974.     if pchar:FindFirstChild("UpperTorso") then
  975.         warn("Player [" ..plr.Name.. "] is R15.")
  976.         return
  977.     end
  978.     local function scale(chr,scl)
  979.    
  980.         for _,v in pairs(pchar:GetChildren()) do
  981.             if v:IsA("Hat") then
  982.                 v:Clone()
  983.                 v.Parent = game.Lighting
  984.             end
  985.         end
  986.            
  987.         local Head = chr['Head']
  988.         local Torso = chr['Torso']
  989.         local LA = chr['Left Arm']
  990.         local RA = chr['Right Arm']
  991.         local LL = chr['Left Leg']
  992.         local RL = chr['Right Leg']
  993.         local HRP = chr['HumanoidRootPart']
  994.    
  995.         wait(0.1)
  996.        
  997.         Head.formFactor = 3
  998.         Torso.formFactor = 3
  999.         LA.formFactor = 3
  1000.         RA.formFactor = 3
  1001.         LL.formFactor = 3
  1002.         RL.formFactor = 3
  1003.         HRP.formFactor = 3
  1004.        
  1005.         Head.Size = Vector3.new(scl * 2, scl, scl)
  1006.         Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1007.         LA.Size = Vector3.new(scl, scl * 2, scl)
  1008.         RA.Size = Vector3.new(scl, scl * 2, scl)
  1009.         LL.Size = Vector3.new(scl, scl * 2, scl)
  1010.         RL.Size = Vector3.new(scl, scl * 2, scl)
  1011.         HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1012.        
  1013.         local Motor1 = Instance.new('Motor6D', Torso)
  1014.         Motor1.Part0 = Torso
  1015.         Motor1.Part1 = Head
  1016.         Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1017.         Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1018.         Motor1.Name = "Neck"
  1019.                
  1020.         local Motor2 = Instance.new('Motor6D', Torso)
  1021.         Motor2.Part0 = Torso
  1022.         Motor2.Part1 = LA
  1023.         Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1024.         Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1025.         Motor2.Name = "Left Shoulder"
  1026.        
  1027.         local Motor3 = Instance.new('Motor6D', Torso)
  1028.         Motor3.Part0 = Torso
  1029.         Motor3.Part1 = RA
  1030.         Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1031.         Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1032.         Motor3.Name = "Right Shoulder"
  1033.        
  1034.         local Motor4 = Instance.new('Motor6D', Torso)
  1035.         Motor4.Part0 = Torso
  1036.         Motor4.Part1 = LL
  1037.         Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1038.         Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1039.         Motor4.Name = "Left Hip"
  1040.        
  1041.         local Motor5 = Instance.new('Motor6D', Torso)
  1042.         Motor5.Part0 = Torso
  1043.         Motor5.Part1 = RL
  1044.         Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1045.         Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1046.         Motor5.Name = "Right Hip"
  1047.        
  1048.         local Motor6 = Instance.new('Motor6D', HRP)
  1049.         Motor6.Part0 = HRP
  1050.         Motor6.Part1 = Torso
  1051.         Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1052.         Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1053.            
  1054.     end
  1055.    
  1056.     scale(pchar, sc)
  1057.    
  1058.     for _,v in pairs(game.Lighting:GetChildren()) do
  1059.         if v:IsA("Hat") then
  1060.             v.Parent = pchar
  1061.         end
  1062.     end
  1063. end
  1064. function topkek.tools.util.applyFace(id)
  1065.     local Char = topkek.lplr.Character
  1066.     if(Char)then
  1067.         local Type = id
  1068.         local Meme=id
  1069.         local BBG_SIZE=Char.Head.Size.X*1.25;
  1070.         local STUD_VECTOR_1=Char.Head.Size.Z/4;
  1071.         local STUD_VECTOR_2=Char.Head.Size.Z;
  1072.         local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
  1073.             bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  1074.             bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
  1075.             bbg.Adornee=Char.Head;
  1076.             bbg.Name='BBGMEME';
  1077.         local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
  1078.             img.BackgroundTransparency=1;
  1079.             img.Image="rbxassetid://"..Meme;
  1080.             img.Size=UDim2.new(1,0,1,0)
  1081.             img.Name='Meme';
  1082.         for i,v in next,Char:children()do
  1083.             if(v.className=='Hat')then
  1084.                 v=v:FindFirstChild'Handle';
  1085.                 if(v)then
  1086.                     v.Transparency=0
  1087.                 end;
  1088.             end;
  1089.         end;
  1090.     end;
  1091. end;
  1092. function topkek.tools.util.weenieHutJunior(plr)
  1093.     plr=plr.Character
  1094.     Shaft=Instance.new("Part", plr)
  1095.     Shaft.Name='Shaft'
  1096.     Shaft.Size=Vector3.new(1, 2.5, 1)
  1097.     Shaft.TopSurface=0
  1098.     Shaft.BottomSurface=0
  1099.     Shaft.CanCollide=true
  1100.     Cyln=Instance.new("CylinderMesh", Shaft)
  1101.     Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  1102.     Instance.new("Weld", plr)
  1103.     plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  1104.     plr.Weld.Part1=plr.Shaft
  1105.     plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  1106.     Shaft.BrickColor=BrickColor.new("Pastel brown")
  1107.     Tip=Instance.new("Part", plr)
  1108.     Tip.Name='Tip'
  1109.     Tip.TopSurface=0
  1110.     Tip.BottomSurface=0
  1111.     Tip.Size=Vector3.new(1, 1, 1)
  1112.     Tip.CanCollide=true
  1113.     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)
  1114.     Cyln2=Instance.new("SpecialMesh", Tip)
  1115.     Cyln2.MeshType='Sphere'
  1116.     Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  1117.     Instance.new("Weld", plr).Name='Weld2'
  1118.     plr.Weld2.Part0=plr.Shaft
  1119.     plr.Weld2.Part1=plr.Tip
  1120.     plr.Weld2.C0=CFrame.new(0,-.9,0)
  1121.     Tip.BrickColor=BrickColor.new("Pink")
  1122.     -----
  1123.     Ball1=Instance.new("Part", plr)
  1124.     Ball1.Name='Ball1'
  1125.     Ball1.Size=Vector3.new(1, 1, 1)
  1126.     Ball1.TopSurface=0
  1127.     Ball1.BottomSurface=0
  1128.     Cyln3=Instance.new("SpecialMesh", Ball1)
  1129.     Cyln3.MeshType='Sphere'
  1130.     Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  1131.     Instance.new("Weld", plr).Name='Weld3'
  1132.     plr.Weld3.Part0=plr.Shaft
  1133.     plr.Weld3.Part1=plr.Ball1
  1134.     plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  1135.     Ball1.BrickColor=BrickColor.new("Pastel brown")
  1136.     -----
  1137.     Ball2=Instance.new("Part", plr)
  1138.     Ball2.Name='Ball2'
  1139.     Ball2.Size=Vector3.new(1, 1, 1)
  1140.     Ball2.TopSurface=0
  1141.     Ball2.BottomSurface=0
  1142.     Cyln3=Instance.new("SpecialMesh", Ball2)
  1143.     Cyln3.MeshType='Sphere'
  1144.     Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  1145.     Instance.new("Weld", plr).Name='Weld4'
  1146.     plr.Weld4.Part0=plr.Shaft
  1147.     plr.Weld4.Part1=plr.Ball2
  1148.     plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  1149.     Ball2.BrickColor=BrickColor.new("Pastel brown")
  1150. end
  1151. --// banmgr //--
  1152. topkek.banmgr.isPrivate = false
  1153. topkek.banmgr.whitelist = {}
  1154. topkek.banmgr.bans = {}
  1155. function topkek.banmgr.executeKick(z)
  1156.     local function doKick()
  1157.         if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  1158.             z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  1159.             local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  1160.             spawn(function()
  1161.                 repeat wait()
  1162.                     if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  1163.                         SP.Position = z.Character.HumanoidRootPart.Position
  1164.                     end
  1165.                 until not game:GetService('Players'):FindFirstChild(z.Name)
  1166.             end)
  1167.             z.Character.Torso.Anchored = true
  1168.         end
  1169.     end
  1170.     repeat
  1171.         doKick()
  1172.         wait()
  1173.     until not z
  1174. end
  1175. function topkek.banmgr.loadFromFile()
  1176.     -- todo: read file
  1177.     topkek.settings.get()
  1178.     topkek.banmgr.bans = topkek.settingsTable['Bans']
  1179. end
  1180. function topkek.banmgr.addHardBan(p)
  1181.     -- todo: write file
  1182.     table.insert(topkek.banmgr.bans, p.Name)
  1183.     topkek.settings.get()
  1184.     table.insert(topkek.settingsTable['Bans'], p.Name)
  1185.     topkek.settings.write()
  1186.     print("Hardbanned " .. p.Name)
  1187.     UpdateBanlist()
  1188.     topkek.banmgr.executeKick(p)
  1189.     topkek.banmgr.loadFromFile()
  1190. end
  1191. function topkek.banmgr.addSoftBan(p)
  1192.     table.insert(topkek.banmgr.bans, p.Name)
  1193.     topkek.banmgr.executeKick(p)
  1194. end
  1195. function topkek.banmgr.plrBanned(p)
  1196.     for x, m in pairs(topkek.banmgr.bans) do
  1197.         if m == p.Name then
  1198.             return true
  1199.         end
  1200.     end
  1201.     return false
  1202. end
  1203. function topkek.banmgr.doWhitelist(p)
  1204.     print(p .. " whitelisted")
  1205.     table.insert(topkek.banmgr.whitelist, p)
  1206. end
  1207. function topkek.banmgr.unwhitelist(p)
  1208.     for x, m in pairs(topkek.banmgr.whitelist) do
  1209.         if m == p then
  1210.             print(m .. " unwhitelisted")
  1211.             table.remove(topkek.banmgr.whitelist, x)
  1212.             if game:GetService('Players'):FindFirstChild(p) then
  1213.                 topkek.banmgr.executeKick(game:GetService('Players')[p])
  1214.             end
  1215.         end
  1216.     end
  1217. end
  1218. function topkek.banmgr.plrWhitelisted(p)
  1219.     for x, m in pairs(topkek.banmgr.whitelist) do
  1220.         if m == p.Name then
  1221.             return true
  1222.         end
  1223.     end
  1224.     return false
  1225. end
  1226. function topkek.banmgr.makePrivate()
  1227.     topkek.banmgr.isPrivate = true
  1228.     for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  1229.         if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
  1230.             spawn(function()
  1231.                 topkek.banmgr.executeKick(v)
  1232.             end)
  1233.         end
  1234.     end
  1235. end
  1236. function topkek.banmgr.unprivate()
  1237.     topkek.banmgr.isPrivate = false
  1238. end
  1239. function topkek.banmgr.init()
  1240.     topkek.banmgr.loadFromFile()
  1241.     game:GetService('Players').PlayerAdded:connect(function(p)
  1242.         if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
  1243.             print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
  1244.             topkek.banmgr.executeKick(p)
  1245.         end
  1246.     end)
  1247. end
  1248. --// settings //--
  1249. topkek.settings = {}
  1250. topkek.settingsTable = {}
  1251. function topkek.settings.write()
  1252.     --writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
  1253. end
  1254. function topkek.settings.get()
  1255. if game.Players.LocalPlayer.Character then
  1256.         print("No settings! Making new ...")
  1257.         topkek.settingsTable = {
  1258.             ['Bans'] = {
  1259.                
  1260.             },
  1261.             ['Themes'] = {
  1262.                 {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
  1263.             };
  1264.         }
  1265.         topkek.settings.write()
  1266.         return topkek.settingsTable
  1267.     else
  1268.         local lset = game:GetService('HttpService'):JSONDecode(set)
  1269.         topkek.settingsTable = lset
  1270.         return lset
  1271. end
  1272. end
  1273. --// shortcuts //--
  1274. tk = {}
  1275. tk.ob = topkek.tools.util.Object
  1276. tk.dp = topkek.tools.util.doPlayers
  1277. tk.rcm = topkek.tools.util.recurseRemove
  1278. tk.rcs = topkek.tools.util.recurseSet
  1279. tk.rcf = topkek.tools.util.recurseFunc
  1280. tk.rco = topkek.tools.util.recurseSetObj
  1281. tk.play = topkek.tools.util.play
  1282. tk.gt = topkek.tools.util.getTorso
  1283. --// gui //--
  1284. -- copying this from topkek3.0 because i'm
  1285. -- too lazy to rewrite my lib
  1286. topkek.tools.gui.seperation = 12
  1287. function topkek.tools.gui:addLeftIcon(parent, img, sz)
  1288.     topkek.tools.util.Object('ImageLabel', {
  1289.         Parent = parent;
  1290.         BackgroundTransparency = 1;
  1291.         Position = UDim2.new(0, 2, 0, 2);
  1292.         Size = UDim2.new(0, sz, 0, sz);
  1293.         Image = img;
  1294.     })
  1295. end
  1296. function topkek.tools.gui:makeContainer(n)
  1297.     local temp = topkek.template:Clone()
  1298.     temp.Name = n
  1299.     temp.Parent = topkek.holder
  1300.     temp.Container.Visible = false
  1301. end
  1302. function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
  1303.     if not o:IsA("ScrollingFrame") and (not ncan) then
  1304.         return nil
  1305.     elseif o:IsA("ScrollingFrame") then
  1306.         o.CanvasSize = UDim2.new(0, 0, 0, 0)
  1307.     end
  1308.    
  1309.     local self = {}
  1310.     self.main = o
  1311.     self.drawX = 0
  1312.     self.drawY = stt or topkek.tools.gui.seperation/2
  1313.     self.drawHeight = 0
  1314.     self.sepr = sepr or topkek.tools.gui.seperation
  1315.    
  1316.     function self:drawButton(sz, txt, func, ysz, cbgd)
  1317.         local xposOffset = 0
  1318.         local xposScale = self.drawX
  1319.         local xszOffset = 0
  1320.         local xszScale = sz
  1321.         if not (self.drawX == 0)  then
  1322.             xszOffset = -5
  1323.             if sz + self.drawX > 0.998 then
  1324.                 xszOffset = -10
  1325.             end
  1326.         elseif sz == 1 then
  1327.             local bzz = 4
  1328.             if ncan then
  1329.                 bzz = 0
  1330.             end
  1331.             xszOffset = -(self.sepr) - bzz
  1332.             xposOffset = self.sepr/2
  1333.         else
  1334.             xszOffset = -4 + -(self.sepr/2)
  1335.             xposOffset = self.sepr/2
  1336.         end
  1337.         if not ysz then ysz = 20 end
  1338.         local obj = topkek.tools.util.Object("TextButton", {
  1339.             Parent = self.main;
  1340.             BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
  1341.             BorderSizePixel = 0;
  1342.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1343.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1344.             Font = 'SourceSans';
  1345.             FontSize = 'Size14';
  1346.             Text = txt;
  1347.             TextSize = 14;
  1348.             TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1349.         })
  1350.         obj.MouseButton1Down:connect(function()
  1351.             spawn(func)
  1352.         end)
  1353.         if ysz > self.drawHeight then
  1354.             self.drawHeight = ysz
  1355.         end
  1356.         self.drawX = self.drawX + sz
  1357.         if self.drawX > 0.998 then
  1358.             self.drawY = self.drawY + 3 + self.drawHeight
  1359.             self.drawX = 0
  1360.             self.drawHeight = 0
  1361.             if (not ncan) then
  1362.                 self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1363.             end
  1364.         end
  1365.         return obj
  1366.     end
  1367.    
  1368.     function self:GetChildren()
  1369.         return self.main:GetChildren()
  1370.     end
  1371.    
  1372.     function self:getDrawY()
  1373.         return self.drawY
  1374.     end
  1375.    
  1376.     function self:setDrawY(y)
  1377.         self.drawY = y
  1378.     end
  1379.    
  1380.     function self:drawTextBox(sz, txt, ysz, cbgd)
  1381.         local xposOffset = 0
  1382.         local xposScale = self.drawX
  1383.         local xszOffset = 0
  1384.         local xszScale = sz
  1385.         if not (self.drawX == 0)  then
  1386.             xszOffset = -5
  1387.             if sz + self.drawX > 0.998 then
  1388.                 xszOffset = -10
  1389.             end
  1390.         elseif sz == 1 then
  1391.             xszOffset = -(self.sepr) - 5
  1392.             xposOffset = self.sepr/2
  1393.         else
  1394.             xszOffset = -4 + -(self.sepr/2)
  1395.             xposOffset = self.sepr/2
  1396.         end
  1397.         if not ysz then ysz = 20 end
  1398.         local obj = topkek.tools.util.Object("TextBox", {
  1399.             Parent = self.main;
  1400.             BackgroundColor3 = cbgd or color3(153, 52, 52);
  1401.             BorderSizePixel = 0;
  1402.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1403.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1404.             Font = 'SourceSans';
  1405.             FontSize = 'Size14';
  1406.             Text = txt;
  1407.             TextSize = 14;
  1408.             TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1409.         })
  1410.         if ysz > self.drawHeight then
  1411.             self.drawHeight = ysz
  1412.         end
  1413.         self.drawX = self.drawX + sz
  1414.         if self.drawX > 0.998 then
  1415.             self.drawY = self.drawY + 3 + self.drawHeight
  1416.             self.drawX = 0
  1417.             self.drawHeight = 0
  1418.             self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1419.         end
  1420.         return obj
  1421.     end
  1422.    
  1423.     function self:drawImage(sz, img, ysz)
  1424.         local xposOffset = 0
  1425.         local xposScale = self.drawX
  1426.         local xszOffset = 0
  1427.         local xszScale = sz
  1428.         if not (self.drawX == 0)  then
  1429.             xszOffset = -5
  1430.             if sz + self.drawX > 0.998 then
  1431.                 xszOffset = -12
  1432.             end
  1433.         elseif sz == 1 then
  1434.             xszOffset = -(self.sepr) - 5
  1435.             xposOffset = self.sepr/2
  1436.         else
  1437.             xszOffset = -5 + -(self.sepr/2)
  1438.             xposOffset = self.sepr/2
  1439.         end
  1440.         if not ysz then ysz = 20 end
  1441.         local obj = topkek.tools.util.Object("ImageLabel", {
  1442.             Parent = self.main;
  1443.             BackgroundTransparency = 1;
  1444.             BorderColor3 = Color3.new(27, 42, 53);
  1445.             BorderSizePixel = 0;
  1446.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1447.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1448.             Image = img;
  1449.         })
  1450.         if ysz > self.drawHeight then
  1451.             self.drawHeight = ysz
  1452.         end
  1453.         self.drawX = self.drawX + sz
  1454.         if self.drawX > 0.998 then
  1455.             self.drawY = self.drawY + 3 + self.drawHeight
  1456.             self.drawX = 0
  1457.             self.drawHeight = 0
  1458.             if (not ncan) then
  1459.                 self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1460.             end
  1461.         end
  1462.         return obj
  1463.     end
  1464.    
  1465.     function self:drawText(sz, txt, ysz)
  1466.         local xposOffset = 0
  1467.         local xposScale = self.drawX
  1468.         local xszOffset = 0
  1469.         local xszScale = sz
  1470.         if not (self.drawX == 0)  then
  1471.             xszOffset = -5
  1472.             if sz + self.drawX > 0.998 then
  1473.                 xszOffset = -10
  1474.             end
  1475.         elseif sz == 1 then
  1476.             local bzz = 5
  1477.             if ncan then
  1478.                 bzz = 0
  1479.             end
  1480.             xszOffset = -(self.sepr) - bzz
  1481.             xposOffset = self.sepr/2
  1482.         else
  1483.             xszOffset = -4 + -(self.sepr/2)
  1484.             xposOffset = self.sepr/2
  1485.         end
  1486.         if not ysz then ysz = 20 end
  1487.         local obj = topkek.tools.util.Object("TextLabel", {
  1488.             Parent = self.main;
  1489.             BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
  1490.             BorderSizePixel = 0;
  1491.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1492.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1493.             Font = 'SourceSans';
  1494.             FontSize = 'Size14';
  1495.             Text = txt;
  1496.             TextSize = 14;
  1497.             TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1498.  
  1499.         })
  1500.         if ysz > self.drawHeight then
  1501.             self.drawHeight = ysz
  1502.         end
  1503.         self.drawX = self.drawX + sz
  1504.         if self.drawX > 0.998 then
  1505.             self.drawY = self.drawY + 3 + self.drawHeight
  1506.             self.drawX = 0
  1507.             self.drawHeight = 0
  1508.             if (not ncan) then
  1509.                 self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1510.             end
  1511.         end
  1512.         return obj
  1513.     end
  1514.    
  1515.    
  1516.     function self:drawScrollingContainer(ysz)
  1517.         local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  1518.         local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  1519.         local obj = topkek.tools.util.Object("ScrollingFrame", {
  1520.             Parent = self.main;
  1521.             BackgroundColor3 = color3(117, 42, 42);
  1522.             BorderSizePixel = 0;
  1523.             Position = pos;
  1524.             Size = sz;
  1525.             BottomImage = 'rbxassetid://368504177';
  1526.             MidImage = 'rbxassetid://368504177';
  1527.             TopImage = 'rbxassetid://368504177';
  1528.             ScrollBarThickness = 5;
  1529.         })
  1530.        
  1531.         self.drawY = self.drawY + 5 + ysz
  1532.         self.drawX = 0
  1533.         self.drawHeight = 0
  1534.         if (not ncan) then
  1535.             self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1536.         end
  1537.         return topkek.tools.gui:hookContainer(obj, false, 10, 3)
  1538.     end
  1539.    
  1540.     function self:drawContainer(xsz, ysz, xz, tz, sep)
  1541.         local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  1542.         local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
  1543.         local obj = topkek.tools.util.Object("Frame", {
  1544.             Parent = self.main;
  1545.             BackgroundColor3 = color3(117, 42, 42);
  1546.             BorderSizePixel = 0;
  1547.             Position = pos;
  1548.             Size = sz;
  1549.         })
  1550.         if not xz then
  1551.             self.drawY = self.drawY + 5 + ysz
  1552.         end
  1553.         self.drawX = 0
  1554.         self.drawHeight = 0
  1555.         if (not ncan) then
  1556.             self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1557.         end
  1558.         return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
  1559.     end
  1560.    
  1561.     function self:addSpacing()
  1562.         self.drawY = self.drawY + 3
  1563.     end
  1564.    
  1565.     function self:center()
  1566.         local a,c,b=
  1567.             self.main.Position.X.Scale,
  1568.                 self.main.Position.X.Offset,self.main.Size.Y.Offset
  1569.         self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  1570.     end
  1571.    
  1572.     return self
  1573. end
  1574.  
  1575. --//anim//--
  1576. topkek.tools.animator.animateTo = function(source, dest)
  1577.     -- holder2holder:
  1578.     -- invis holder
  1579.     -- clone holder; vis
  1580.     -- move holder to right
  1581.     -- vis dest container
  1582.     -- tween clone holder left
  1583.     -- tween dest holder right
  1584.     print("nav",source,dest)
  1585.     topkek.holder.Visible = false
  1586.     local hclone = topkek.holder:Clone()
  1587.     hclone.Parent = topkek.center
  1588.     hclone.Name = 'animclone'
  1589.     hclone.Visible = true
  1590.     topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
  1591.     source.Visible = false
  1592.     dest.Visible = true
  1593.     dest.Container.Visible = true
  1594.     dest.Container.ZIndex = 1
  1595.     dest.ZIndex = 1
  1596.     topkek.holder.Visible = true
  1597.     topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
  1598.     hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
  1599.     wait(0.3)
  1600. end
  1601. topkek.tools.animator.initialAnimation = function()
  1602.     -- initanim:
  1603.     -- join both composites
  1604.     -- delete composites; vis solid
  1605.     -- tween solid to nav topbar
  1606.     -- copy topbar plrname; move outside region
  1607.     -- tween in clone topbar
  1608.     -- delete clone and solid; vis topbar
  1609.     -- tween down topbar
  1610.     -- tween holder out
  1611.     local function abspos(x)
  1612.         return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
  1613.     end
  1614.     local function abssz(x)
  1615.         return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
  1616.     end
  1617.     local holder = topkek.holder
  1618.     local nav = topkek.navigator
  1619.     local topnav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation.Topbar
  1620.     local topbar = topkek.topbar
  1621.     local pname =  game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar.PlayerName:Clone()
  1622.     local solid = game.Players.LocalPlayer.PlayerGui["4.0"].Solid
  1623.     topkek.center.Size = UDim2.new(0, 150, 0, 30)
  1624.     game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
  1625.     game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
  1626.     wait(0.52)
  1627.     solid.Visible = true
  1628.     game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:Destroy()
  1629.     game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:Destroy()
  1630.     wait(3)
  1631.     solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
  1632.     solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
  1633.     wait(0.52)
  1634.     solid.Label:Destroy()
  1635.     wait(0.12)
  1636.     topkek.center.Visible = true
  1637.     topnav.Visible = true
  1638.     solid:Destroy()
  1639.     pname.Position = UDim2.new(0, -170, 0, 0)
  1640.     pname.Parent = topnav
  1641.     pname.Visible = true
  1642.     pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
  1643.     wait(0.25)
  1644.     topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
  1645.     spawn(topkek.navigation.buildNavigator)
  1646.     wait(0.35)
  1647.     topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
  1648.     wait(0.35)
  1649.     topbar.PlayerName.Visible = true
  1650.     pname:Destroy()
  1651.     AllowHovers = true
  1652. end
  1653. --//nav//--
  1654. topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
  1655. topkek.navigation.windowState = 0
  1656. topkek.navigation.gotoContainer = function(cont)
  1657.     topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
  1658.     topkek.navigation.currentContainer = cont
  1659. end
  1660. topkek.navigation.buildNavigator = function()
  1661.     local nav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation
  1662.     local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
  1663.     local btns = {}
  1664.     for l, x in pairs(topkek.data.windows) do
  1665.         local container = topkek.tools.util.getContainer(x)
  1666.         local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
  1667.         local ZPos = btn.Position
  1668.         btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
  1669.         btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
  1670.         btn.LayoutOrder = l
  1671.         btn.ZIndex = 4
  1672.         local OPos = btn.Position
  1673.         btn.MouseEnter:connect(function()
  1674.             if AllowHovers == false then
  1675.                 return
  1676.             end
  1677.             for i, v in pairs(btns) do
  1678.                 if v[1] ~= btn then
  1679.                     v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
  1680.                 end
  1681.             end
  1682.             btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
  1683.         end)
  1684.         btn.MouseLeave:connect(function()
  1685.             btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
  1686.         end)
  1687.         table.insert(btns, {btn, OPos})
  1688.         wait() 
  1689.     end
  1690. end
  1691. topkek.navigation.buildTopbar = function()
  1692.     local top = topkek.topbar
  1693.     local FELabel = top.Controllers.IsFE
  1694.     top.PlayerName.Text = topkek.lplr.Name
  1695.     if game:GetService('Workspace').FilteringEnabled == true then
  1696.         FELabel.Text = "FE Game"
  1697.         FELabel.TextColor3 = BrickColor.new("Bright red").Color
  1698.     else
  1699.         FELabel.Text = "Not FE"
  1700.         FELabel.TextColor3 = BrickColor.new("Bright green").Color
  1701.     end
  1702.     top.Controllers.Hide.MouseButton1Down:connect(function()
  1703.         if topkek.navigation.windowState == 0 then
  1704.             topkek.navigation.windowState = 1
  1705.             topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
  1706.         else
  1707.             topkek.navigation.windowState = 0
  1708.             topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
  1709.         end
  1710.     end)   
  1711.     top.Controllers.Exit.MouseButton1Down:connect(function()
  1712.         topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
  1713.         wait(0.31)
  1714.         topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
  1715.         PlayerChatHook:disconnect()
  1716.     end)
  1717.    
  1718. end
  1719. topkek.navigation.initCommandBar = function()
  1720.     DistributedCmdBar, cmd = topkek.holder.Command, {}
  1721.     --weathered-down version of my cmdscript for topkek
  1722. cmd = {}
  1723.  
  1724. -- ** defines ** --
  1725. cmd.service = (function(a) return game:service(a) end)
  1726. cmd.gplayers = (function() return cmd.service'Players':GetPlayers() end)
  1727. cmd.players = cmd.service('Players')
  1728. cmd.localplayer = cmd.players.LocalPlayer
  1729.  
  1730. cmd.prefix = ';'
  1731. cmd.hidden = '/'
  1732.  
  1733. cmd.commands = {}
  1734. cmd.util = {}
  1735. cmd.interface = {}
  1736.  
  1737. cmd.admins = {}
  1738. cmd.noclip = false
  1739.  
  1740. -- ** util ** --
  1741. cmd.util.pos = function(str, pos)
  1742.     local increment = 1
  1743.     for spc in str:gmatch("[^ ]+") do
  1744.         if increment == pos then
  1745.             return spc
  1746.         end
  1747.         increment = increment + 1
  1748.     end
  1749.     return ''
  1750. end
  1751. cmd.util.pstr = function(str, re_enc)
  1752.     str = string.lower(str)
  1753.     local players = {}
  1754.     if re_enc == true then
  1755.         if str == 'me' then
  1756.             return {game.Players.LocalPlayer}
  1757.         end
  1758.         if str == 'all' then
  1759.             return game.Players:GetPlayers()
  1760.         end
  1761.         if str == 'others' then
  1762.             for i, v in pairs(game.Players:GetPlayers()) do
  1763.                 if v ~= cmd.localplayer then
  1764.                     table.insert(players, v)
  1765.                 end
  1766.             end
  1767.         end
  1768.         for i, v in pairs(game.Players:GetPlayers()) do
  1769.             if string.lower(v.Name):sub(1, #str) == str then
  1770.                 table.insert(players, v)
  1771.             end
  1772.         end
  1773.         return players
  1774.     else
  1775.         for seper in str:gmatch("[^,]+") do
  1776.             for i, v in pairs(cmd.util.pstr(seper, true)) do
  1777.                 table.insert(players, v)
  1778.             end
  1779.         end
  1780.         return players
  1781.     end
  1782. end
  1783. cmd.util.parse = function(str, fmt)
  1784.     local args = {}
  1785.     local encountered = 0
  1786.     local position = 1
  1787.     for form in fmt:gmatch("[^%%]+") do
  1788.         if position == 1 then
  1789.             args['command'] = cmd.util.pos(str, position)
  1790.         end
  1791.         if form == 'inf' then
  1792.             args[position] = str:sub(encountered, #str)
  1793.         end
  1794.         if form == 'int' then
  1795.             local fetch = cmd.util.pos(str, position)
  1796.             if tonumber(fetch) == nil then
  1797.                 return nil
  1798.             end
  1799.             args[position] =  {'integer', data = fetch}
  1800.         end
  1801.         if form == 'str' then
  1802.             local fetch = cmd.util.pos(str, position)
  1803.             args[position] = {'string', data = fetch}
  1804.         end
  1805.         if form == 'plrs' then
  1806.             args[position] = cmd.util.pstr(cmd.util.pos(str, position), false)
  1807.         end
  1808.         encountered = encountered + ((#cmd.util.pos(str, position)) + 1)
  1809.         position = position + 1
  1810.     end
  1811.     return args
  1812. end
  1813. cmd.util.isadmin = function(p)
  1814.     if p == cmd.localplayer.Name then
  1815.         return true
  1816.     else
  1817.         for i, v in pairs(cmd.admins) do
  1818.             if v == p.Name then
  1819.                 return true
  1820.             end
  1821.         end
  1822.         return false
  1823.     end
  1824. end
  1825. cmd.util.BombVest = function(Players)
  1826.     -- modified by nosyliam
  1827.     local TickWait = 1
  1828.     local Dead = false
  1829.     local BeltPositions = { }
  1830.     local ExplodeSounds = { }
  1831.    
  1832.     for ___, player in pairs(Players) do   
  1833.     pcall(function()
  1834.     local Me = player
  1835.     local Char = Me.Character
  1836.     local Torso = Char.Torso
  1837.     local Color = "Medium stone gray"
  1838.     local Dead = false
  1839.    
  1840.    
  1841.     local Position = Vector3.new(0,100,0)
  1842.     local function NewPart(Parent)
  1843.         local Part = Instance.new("Part", Parent)
  1844.         Part.CanCollide = false
  1845.         Part.FormFactor = "Custom"
  1846.         Part.Position = Position
  1847.         Part.TopSurface = "Smooth"
  1848.         Part.BottomSurface = "Smooth"
  1849.         Part.BrickColor = BrickColor.new(Color)
  1850.         Position = Position + Vector3.new(0,Part.Size.Y + 10,0)
  1851.         return Part
  1852.     end
  1853.    
  1854.     local Model = Char:FindFirstChild("Bomb")
  1855.     if Model then Model:Destroy() end
  1856.    
  1857.     Model = Instance.new("Model", Char)
  1858.     Model.Name = "Bomb"
  1859.    
  1860.     local Belt = NewPart(Model)
  1861.     Belt.Size = Vector3.new(2.2,0.5,1.2)
  1862.     table.insert(BeltPositions, Belt)
  1863.     local Weld = Instance.new("Weld", Belt)
  1864.     Weld.Part0 = Belt
  1865.     Weld.Part1 = Torso
  1866.     Weld.C0 = CFrame.new(0,1.1,0)
  1867.     local Light = Instance.new("PointLight", Belt)
  1868.     Light.Range = 15
  1869.     Light.Brightness = 5
  1870.     Light.Color = Color3.new(1,0,0)
  1871.     local Beep = Instance.new("Sound", Belt)
  1872.     Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  1873.     local ExplodeSound = Instance.new("Sound", Belt)
  1874.     ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765
  1875.     ExplodeSound.Pitch = 2.8
  1876.     ExplodeSound.Volume = 3
  1877.     table.insert(ExplodeSounds, ExplodeSound)
  1878.    
  1879.     local Back = NewPart(Model)
  1880.     Back.Size = Vector3.new(1.5,1.5,0.5)
  1881.     local Weld = Instance.new("Weld", Back)
  1882.     Weld.Part0 = Back
  1883.     Weld.Part1 = Torso
  1884.     Weld.C0 = CFrame.new(0,0.1,-0.75)
  1885.    
  1886.     local StrapLeft = NewPart(Model)
  1887.     StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  1888.     local Weld = Instance.new("Weld", StrapLeft)
  1889.     Weld.Part0 = StrapLeft
  1890.     Weld.Part1 = Torso
  1891.     Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  1892.    
  1893.     local BuckleLeft = NewPart(Model)
  1894.     BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  1895.     local Weld = Instance.new("Weld", BuckleLeft)
  1896.     Weld.Part0 = BuckleLeft
  1897.     Weld.Part1 = Torso
  1898.     Weld.C0 = CFrame.new(0.65,0.1,0.5)
  1899.    
  1900.     local StrapRight = NewPart(Model)
  1901.     StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  1902.     local Weld = Instance.new("Weld", StrapRight)
  1903.     Weld.Part0 = StrapRight
  1904.     Weld.Part1 = Torso
  1905.     Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  1906.    
  1907.     local BuckleRight = NewPart(Model)
  1908.     BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  1909.     local Weld = Instance.new("Weld", BuckleRight)
  1910.     Weld.Part0 = BuckleRight
  1911.     Weld.Part1 = Torso
  1912.     Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  1913.    
  1914.    
  1915.     coroutine.wrap(function()
  1916.         repeat
  1917.             wait(TickWait)
  1918.             Light.Enabled = not Light.Enabled
  1919.             Beep:Play()
  1920.         until Dead == true
  1921.     end)()
  1922.     end)
  1923.     end
  1924.    
  1925.     local Tool = Instance.new("HopperBin", cmd.localplayer.Backpack)
  1926.     Tool.Name = "Bomb Vest"
  1927.    
  1928.     Tool.Selected:connect(function(Mouse)
  1929.         TickWait = 0.3
  1930.         Mouse.Icon = "http://www.roblox.com/asset/?id=9109985"
  1931.        
  1932.         Mouse.Button1Down:connect(function()
  1933.             if Dead == false then
  1934.                 Dead = true
  1935.                 for i, Belt in pairs(BeltPositions) do
  1936.                 coroutine.wrap(function()
  1937.                 pcall(function() ExplodeSounds[i]:Play() end)
  1938.                 wait(1.4)
  1939.                 local Explosion = Instance.new("Explosion", workspace)
  1940.                 Explosion.Position = Belt.Position
  1941.                 Explosion.BlastPressure = 100000
  1942.                 Explosion.DestroyJointRadiusPercent = 0.7
  1943.                 Explosion.ExplosionType = "CratersAndDebris"
  1944.                 Explosion.BlastRadius = 50
  1945.                 Explosion.Hit:connect(function(Part, Distance)
  1946.                     Part.Anchored = false
  1947.                     if Distance <= 10 then
  1948.                         Part:BreakJoints()
  1949.                     end
  1950.                 end)
  1951.                 end)()
  1952.                 end
  1953.             end
  1954.         end)
  1955.     end)
  1956.    
  1957.     Tool.Deselected:connect(function()
  1958.         TickWait = 1
  1959.     end)
  1960. end
  1961. cmd.util.hulk = function(p)
  1962.     function giant(p, size)
  1963.         local pchar = p.Character
  1964.         if pchar then
  1965.             local function scale(chr,scl)
  1966.            
  1967.                 for _,v in pairs(pchar:GetChildren()) do
  1968.                     if v:IsA("Hat") then
  1969.                         v:Clone()
  1970.                         v.Parent = game.Lighting
  1971.                     end
  1972.                 end
  1973.                    
  1974.                 local Head = chr['Head']
  1975.                 local Torso = chr['Torso']
  1976.                 local LA = chr['Left Arm']
  1977.                 local RA = chr['Right Arm']
  1978.                 local LL = chr['Left Leg']
  1979.                 local RL = chr['Right Leg']
  1980.                 local HRP = chr['HumanoidRootPart']
  1981.            
  1982.                 wait(0.1)
  1983.                
  1984.                 Head.formFactor = 3
  1985.                 Torso.formFactor = 3
  1986.                 LA.formFactor = 3
  1987.                 RA.formFactor = 3
  1988.                 LL.formFactor = 3
  1989.                 RL.formFactor = 3
  1990.                 HRP.formFactor = 3
  1991.                
  1992.                 Head.Size = Vector3.new(scl * 2, scl, scl)
  1993.                 Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1994.                 LA.Size = Vector3.new(scl, scl * 2, scl)
  1995.                 RA.Size = Vector3.new(scl, scl * 2, scl)
  1996.                 LL.Size = Vector3.new(scl, scl * 2, scl)
  1997.                 RL.Size = Vector3.new(scl, scl * 2, scl)
  1998.                 HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1999.                
  2000.                 local Motor1 = Instance.new('Motor6D', Torso)
  2001.                 Motor1.Part0 = Torso
  2002.                 Motor1.Part1 = Head
  2003.                 Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2004.                 Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2005.                 Motor1.Name = "Neck"
  2006.                        
  2007.                 local Motor2 = Instance.new('Motor6D', Torso)
  2008.                 Motor2.Part0 = Torso
  2009.                 Motor2.Part1 = LA
  2010.                 Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2011.                 Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2012.                 Motor2.Name = "Left Shoulder"
  2013.                
  2014.                 local Motor3 = Instance.new('Motor6D', Torso)
  2015.                 Motor3.Part0 = Torso
  2016.                 Motor3.Part1 = RA
  2017.                 Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2018.                 Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2019.                 Motor3.Name = "Right Shoulder"
  2020.                
  2021.                 local Motor4 = Instance.new('Motor6D', Torso)
  2022.                 Motor4.Part0 = Torso
  2023.                 Motor4.Part1 = LL
  2024.                 Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2025.                 Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2026.                 Motor4.Name = "Left Hip"
  2027.                
  2028.                 local Motor5 = Instance.new('Motor6D', Torso)
  2029.                 Motor5.Part0 = Torso
  2030.                 Motor5.Part1 = RL
  2031.                 Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2032.                 Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2033.                 Motor5.Name = "Right Hip"
  2034.                
  2035.                 local Motor6 = Instance.new('Motor6D', HRP)
  2036.                 Motor6.Part0 = HRP
  2037.                 Motor6.Part1 = Torso
  2038.                 Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2039.                 Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2040.                    
  2041.             end
  2042.            
  2043.             scale(pchar, size)
  2044.             pchar.Humanoid.WalkSpeed = 15 * size
  2045.        
  2046.             for _,v in pairs(game.Lighting:GetChildren()) do
  2047.                 if v:IsA("Hat") then
  2048.                     v.Parent = pchar
  2049.                 end
  2050.             end
  2051.         end
  2052.     end
  2053.    
  2054.     local plr = p
  2055.     giant(plr, 3)
  2056.     for i, v in pairs(plr.Character:GetChildren()) do
  2057.         if v:IsA("BasePart") then
  2058.             v.Touched:connect(function(p)
  2059.                 if p.Size.X<30 then
  2060.                     p.Anchored = false
  2061.                     p:BreakJoints()
  2062.                 end
  2063.             end)
  2064.         end
  2065.     end
  2066.    
  2067.     local csize = 3
  2068.    
  2069.     local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  2070.     local base = Instance.new("Frame", sgui)
  2071.     base.BackgroundTransparency = 1
  2072.     base.Size = UDim2.new(0, 110, 0, 200)
  2073.     base.Position = UDim2.new(1, -120, 1, -180)
  2074.     local indicator = Instance.new("TextLabel", base)
  2075.     indicator.Size = UDim2.new(1, 0, 0, 25)
  2076.     indicator.TextColor3 = Color3.new(1, 1, 1)
  2077.     indicator.BackgroundTransparency = 0
  2078.     indicator.FontSize = Enum.FontSize.Size18
  2079.     indicator.Font = Enum.Font.SourceSans
  2080.     indicator.Text = "Current Size: 3"
  2081.     local PlusOne = Instance.new("TextButton", base)
  2082.     PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  2083.     PlusOne.Position = UDim2.new(0, 0, 0, 40)
  2084.     PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
  2085.     PlusOne.BorderSizePixel = 2
  2086.     PlusOne.Font = Enum.Font.SourceSansBold
  2087.     PlusOne.FontSize = Enum.FontSize.Size24
  2088.     PlusOne.Text = "+1 Size"
  2089.     local MinusOne = Instance.new("TextButton", base)
  2090.     MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  2091.     MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
  2092.     MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
  2093.     MinusOne.Text = "-1 Size"
  2094.     MinusOne.BorderSizePixel = 2
  2095.     MinusOne.Font = Enum.Font.SourceSansBold
  2096.     MinusOne.FontSize = Enum.FontSize.Size24
  2097.    
  2098.     PlusOne.MouseButton1Down:connect(function()
  2099.         csize = csize + 1
  2100.         giant(plr, csize)
  2101.         indicator.Text = "Current Size: "..tostring(csize)
  2102.     end)
  2103.    
  2104.     MinusOne.MouseButton1Down:connect(function()
  2105.         csize = csize - 1
  2106.         giant(plr, csize)
  2107.         indicator.Text = "Current Size: "..tostring(csize)
  2108.     end)
  2109. end
  2110. cmd.util.R15 = function()
  2111.     rcode=[[local function Init()
  2112.         wait()
  2113.         local function ConChar(P)
  2114.             Character = P.Character
  2115.                
  2116.                 local R15Model = Instance.new("Model")
  2117.                 R15Model.Name = "R15Model"
  2118.                 R15Model.Parent = Character
  2119.                
  2120.                 local function CreateLimb(Name,Color,Size,Transparency,ConnectToLimb,MotorName,C0,C1,MeshId)
  2121.                     local Part = Instance.new("Part")
  2122.                     Part.FormFactor = "Custom"
  2123.                     Part.Size = Size
  2124.                     Part.BrickColor = Color
  2125.                     Part.CanCollide = false
  2126.                     Part.Name = Name
  2127.                     Part.Transparency = (Transparency == 0.001 and 0 or Transparency)
  2128.                     Part.TopSurface = "Smooth"
  2129.                     Part.BottomSurface = "Smooth"
  2130.                    
  2131.                     local Motor = Instance.new("Motor6D")
  2132.                     Motor.C0 = C0
  2133.                     Motor.C1 = C1
  2134.                     Motor.Part0 = ConnectToLimb
  2135.                     Motor.Part1 = Part
  2136.                     Motor.Name = MotorName
  2137.                     Motor.MaxVelocity = 0.1
  2138.                     Motor.Parent = ConnectToLimb
  2139.                    
  2140.                     if MeshId then
  2141.                         local Mesh = Instance.new("SpecialMesh")
  2142.                         Mesh.MeshType = "FileMesh"
  2143.                         Mesh.MeshId = MeshId
  2144.                         Mesh.Scale = Vector3.new(0.99,0.99,0.99)
  2145.                         Mesh.Parent = Part
  2146.                     end
  2147.                    
  2148.                     if MeshId and Transparency == 0.001 then
  2149.                         local ShirtTexturePart = Instance.new("Part")
  2150.                         ShirtTexturePart.FormFactor = "Custom"
  2151.                         ShirtTexturePart.Size = Size
  2152.                         ShirtTexturePart.BrickColor = Color
  2153.                         ShirtTexturePart.CanCollide = false
  2154.                         ShirtTexturePart.Name = "ShirtTexturePart"
  2155.                         ShirtTexturePart.Transparency = Transparency
  2156.                         ShirtTexturePart.TopSurface = "Smooth"
  2157.                         ShirtTexturePart.BottomSurface = "Smooth"
  2158.                        
  2159.                         local Mesh = Instance.new("SpecialMesh")
  2160.                         Mesh.MeshType = "FileMesh"
  2161.                         Mesh.MeshId = MeshId
  2162.                         Mesh.Parent = ShirtTexturePart
  2163.                        
  2164.                         local Weld = Instance.new("Weld")
  2165.                         Weld.Part0 = Part
  2166.                         Weld.Part1 = ShirtTexturePart
  2167.                         Weld.Parent = ShirtTexturePart
  2168.                        
  2169.                         ShirtTexturePart.Parent = Part
  2170.                     end
  2171.                     Part.Parent = R15Model
  2172.                     return Part
  2173.                 end
  2174.                
  2175.                
  2176.                 local HumanoidRootPart = CreateLimb("HumanoidRootPart",BrickColor.new("Medium stone grey"),Vector3.new(1,1,1),1,Character.HumanoidRootPart,"RootConnector",CFrame.new(),CFrame.new(0,0.7,0))
  2177.                 local LowerTorso = CreateLimb("LowerTorso",BrickColor.new("Bright blue"),Vector3.new(1,1,1),0.001,HumanoidRootPart,"Root",CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941715")
  2178.                 local UpperTorso = CreateLimb("UpperTorso",BrickColor.new("Bright blue"),Vector3.new(1,1,1),0.001,LowerTorso,"Waist",CFrame.new(0, 0.404105991, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941468")
  2179.                 local Head = CreateLimb("Head",BrickColor.new("Bright yellow"),Vector3.new(1,1,1),0,UpperTorso,"Neck",CFrame.new(0, 1.26949596, 0.0428609997, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.635110021, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941905")
  2180.                 local LeftUpperArm = CreateLimb("LeftUpperArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.672, 1),0.001,UpperTorso,"LeftShoulder",CFrame.new(-1.50177097, 0.924546003, 0, 1, 0, -0, 0, 0.999044001, 0.0437170006, 0, -0.0437170006, 0.999044001),CFrame.new(0, 0.336115986, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387938468")
  2181.                 local LeftLowerArm = CreateLimb("LeftLowerArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.703, 1),0.001,LeftUpperArm,"LeftElbow",CFrame.new(0, -0.336115986, 0, 1, 0, 0, 0, 0.999044001, -0.0437170006, 0, 0.0437170006, 0.999044001),CFrame.new(0, 0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387938971")
  2182.                 local LeftHand = CreateLimb("LeftHand",BrickColor.new("Bright yellow"),Vector3.new(1, 0.352, 1),0.001,LeftLowerArm,"LeftWrist",CFrame.new(0, -0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.175756007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939233")
  2183.                 local RightUpperArm = CreateLimb("RightUpperArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.671, 1),0.001,UpperTorso,"RightShoulder",CFrame.new(1.50049305, 0.923726022, 0, 1, 0, -0, 0, 0.999041617, 0.0437709838, 0, -0.0437709838, 0.999041617),CFrame.new(0, 0.335705996, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940113")
  2184.                 local RightLowerArm = CreateLimb("RightLowerArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.703, 1),0.001,RightUpperArm,"RightElbow",CFrame.new(0, -0.335705996, 0, 1, 0, 0, 0, 0.999041617, -0.0437709838, 0, 0.0437709838, 0.999041617),CFrame.new(0, 0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940356")
  2185.                 local RightHand = CreateLimb("RightHand",BrickColor.new("Bright yellow"),Vector3.new(1, 0.352, 1),0.001,RightLowerArm,"RightWrist",CFrame.new(0, -0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.175756007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940548")
  2186.                 local LeftUpperLeg = CreateLimb("LeftUpperLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.775, 1),0.001,LowerTorso,"LeftHip",CFrame.new(-0.457044005, -0.498115987, 0, 1, 0, -0, 0, 1, 0.000100999998, 0, -0.000100999998, 1),CFrame.new(0, 0.387418985, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939645")
  2187.                 local LeftLowerLeg = CreateLimb("LeftLowerLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.829, 1),0.001,LeftUpperLeg,"LeftKnee",CFrame.new(0, -0.387418985, 0, 1, 9.95820074e-007, 9.13360125e-008, -9.99999997e-007, 0.995820105, 0.0913360119, 0, -0.0913360119, 0.995820105),CFrame.new(0, 0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939489")
  2188.                 local LeftFoot = CreateLimb("LeftFoot",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.415, 1),0.001,LeftLowerLeg,"LeftAnkle",CFrame.new(0, -0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.207286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939912")
  2189.                 local RightUpperLeg = CreateLimb("RightUpperLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.775, 1),0.001,LowerTorso,"RightHip",CFrame.new(0.451141, -0.498115987, 0, 1, 0, -0, 0, 1, 0.000100999998, 0, -0.000100999998, 1),CFrame.new(0, 0.387418985, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940976")
  2190.                 local RightLowerLeg = CreateLimb("RightLowerLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.829, 1),0.001,RightUpperLeg,"RightKnee",CFrame.new(0, -0.387418985, 0, 1, 0, -0, 0, 0.995820105, 0.0913360119, 0, -0.0913360119, 0.995820105),CFrame.new(0, 0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940802")
  2191.                 local RightFoot = CreateLimb("RightFoot",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.415, 1),0.001,RightLowerLeg,"RightAnkle",CFrame.new(0, -0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.207286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941196")
  2192.                
  2193.                 --if Character:WaitForChild("Head"):WaitForChild("Mesh").MeshId ~= "" then
  2194.                 --  Head.MeshId = Character.Head.Mesh.MeshId
  2195.                 --end
  2196.                
  2197.                 Character:WaitForChild("Animate").Disabled = false
  2198.                 local Anim = game:GetObjects("rbxassetid://401967017")[1]; print("aobj", tostring(Anim))
  2199.                 for i, v in pairs(Anim:GetChildren()) do
  2200.                     v.Parent = script
  2201.                 end
  2202.                 script.Parent = Character
  2203.                
  2204.                 local function Clear(Name,Alternative,ColorParts)
  2205.                     local Part = Character:WaitForChild(Name)
  2206.                     Part.Transparency = (Name == "Head" and 0.99 or 1)
  2207.                     local function ChildAdded(Ins)
  2208.                         delay(0.05,function()
  2209.                             if Ins.Name == "face" then
  2210.                                 if Alternative:FindFirstChild("face") then Alternative:FindFirstChild("face"):Destroy() end
  2211.                                 Ins.Parent = Alternative
  2212.                             elseif Ins:IsA("Motor6D") and string.sub(Ins.Name,1,5) ~= "Fake_" then
  2213.                                 Ins.Name = "Fake_"..Ins.Name
  2214.                             elseif Ins.Name == "HeadWeld" then
  2215.                                 delay(0.05,function()
  2216.                                     Ins.Parent = Head
  2217.                                     Ins.Part0 = Head
  2218.                                     Ins.C1 = CFrame.new(0,0,0.05) * Ins.C1
  2219.                                 end)
  2220.                             elseif not Ins:IsA("Weld") then
  2221.                                 Ins:Destroy()
  2222.                             end
  2223.                         end)
  2224.                     end
  2225.                     for _,Sub in pairs(Part:GetChildren()) do
  2226.                         ChildAdded(Sub)
  2227.                     end
  2228.                     Part.ChildAdded:connect(ChildAdded)
  2229.                    
  2230.                     local function Color()
  2231.                         for _,Sub in pairs(ColorParts) do
  2232.                             Sub.BrickColor = Part.BrickColor
  2233.                             local TexturePart = Sub:FindFirstChild("ShirtTexturePart")
  2234.                             if TexturePart then
  2235.                                 TexturePart.BrickColor = Part.BrickColor
  2236.                             end
  2237.                         end
  2238.                     end
  2239.                     Color()
  2240.                     Part.Changed:connect(Color)
  2241.                 end
  2242.                
  2243.                 Clear("HumanoidRootPart",HumanoidRootPart,{HumanoidRootPart})
  2244.                 Clear("Head",Head,{Head})
  2245.                 Clear("Torso",nil,{LowerTorso,UpperTorso})
  2246.                 Clear("Left Arm",nil,{LeftLowerArm,LeftUpperArm,LeftHand})
  2247.                 Clear("Right Arm",nil,{RightLowerArm,RightUpperArm,RightHand})
  2248.                 Clear("Left Leg",nil,{LeftLowerLeg,LeftUpperLeg,LeftFoot})
  2249.                 Clear("Right Leg",nil,{RightLowerLeg,RightUpperLeg,RightFoot})
  2250.                
  2251.                 local ShirtUsed = false
  2252.                 local function ChildAdded(Ins)
  2253.                     if Ins:IsA("Hat") and string.sub(Ins.Name,1,7) ~= "Scaled_" then
  2254.                         delay(0.05,function()
  2255.                             local Mesh = Ins:WaitForChild("Handle"):WaitForChild("Mesh")
  2256.                             Ins.AttachmentPos = Ins.AttachmentPos
  2257.                             Mesh.Scale = Mesh.Scale
  2258.                             Ins.Name = "Scaled_"..Ins.Name
  2259.                         end)
  2260.                     elseif Ins:IsA("Shirt") then
  2261.                         ShirtUsed = true
  2262.                         LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2263.                         UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2264.                         LeftLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2265.                         LeftUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2266.                         LeftHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2267.                         RightLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2268.                         RightUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2269.                         RightHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2270.                     elseif Ins:IsA("Pants") then
  2271.                         LeftUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2272.                         LeftLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2273.                         LeftFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2274.                         RightUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2275.                         RightLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2276.                         RightFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2277.                         if LowerTorso.ShirtTexturePart.Mesh.TextureId == "" then
  2278.                             LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2279.                             UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2280.                         end
  2281.                     end
  2282.                 end
  2283.                
  2284.                 for _,Sub in pairs(Character:GetChildren()) do
  2285.                     ChildAdded(Sub)
  2286.                 end
  2287.                 Character.ChildAdded:connect(ChildAdded)
  2288.                 loadstring(Anim.Source)()
  2289.             end
  2290.         ConChar(game:service'Players'.LocalPlayer)
  2291.     end
  2292.    
  2293.     Init()]]
  2294.     spawn(function() loadstring(rcode)() end)
  2295. end
  2296. cmd.util.size = function(p, size)
  2297.     -- omfg thanks var
  2298.     local pchar = p.Character
  2299.         local function scale(chr,scl)
  2300.        
  2301.             for _,v in pairs(pchar:GetChildren()) do
  2302.                 if v:IsA("Hat") then
  2303.                     v:Clone()
  2304.                     v.Parent = game.Lighting
  2305.                 end
  2306.             end
  2307.                
  2308.             local Head = chr['Head']
  2309.             local Torso = chr['Torso']
  2310.             local LA = chr['Left Arm']
  2311.             local RA = chr['Right Arm']
  2312.             local LL = chr['Left Leg']
  2313.             local RL = chr['Right Leg']
  2314.             local HRP = chr['HumanoidRootPart']
  2315.        
  2316.             wait(0.1)
  2317.            
  2318.             Head.formFactor = 3
  2319.             Torso.formFactor = 3
  2320.             LA.formFactor = 3
  2321.             RA.formFactor = 3
  2322.             LL.formFactor = 3
  2323.             RL.formFactor = 3
  2324.             HRP.formFactor = 3
  2325.            
  2326.             Head.Size = Vector3.new(scl * 2, scl, scl)
  2327.             Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  2328.             LA.Size = Vector3.new(scl, scl * 2, scl)
  2329.             RA.Size = Vector3.new(scl, scl * 2, scl)
  2330.             LL.Size = Vector3.new(scl, scl * 2, scl)
  2331.             RL.Size = Vector3.new(scl, scl * 2, scl)
  2332.             HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  2333.            
  2334.             local Motor1 = Instance.new('Motor6D', Torso)
  2335.             Motor1.Part0 = Torso
  2336.             Motor1.Part1 = Head
  2337.             Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2338.             Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2339.             Motor1.Name = "Neck"
  2340.                    
  2341.             local Motor2 = Instance.new('Motor6D', Torso)
  2342.             Motor2.Part0 = Torso
  2343.             Motor2.Part1 = LA
  2344.             Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2345.             Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2346.             Motor2.Name = "Left Shoulder"
  2347.            
  2348.             local Motor3 = Instance.new('Motor6D', Torso)
  2349.             Motor3.Part0 = Torso
  2350.             Motor3.Part1 = RA
  2351.             Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2352.             Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2353.             Motor3.Name = "Right Shoulder"
  2354.            
  2355.             local Motor4 = Instance.new('Motor6D', Torso)
  2356.             Motor4.Part0 = Torso
  2357.             Motor4.Part1 = LL
  2358.             Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2359.             Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2360.             Motor4.Name = "Left Hip"
  2361.            
  2362.             local Motor5 = Instance.new('Motor6D', Torso)
  2363.             Motor5.Part0 = Torso
  2364.             Motor5.Part1 = RL
  2365.             Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2366.             Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2367.             Motor5.Name = "Right Hip"
  2368.            
  2369.             local Motor6 = Instance.new('Motor6D', HRP)
  2370.             Motor6.Part0 = HRP
  2371.             Motor6.Part1 = Torso
  2372.             Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2373.             Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2374.                
  2375.         end
  2376.        
  2377.         scale(pchar, size)
  2378.    
  2379.         for _,v in pairs(game.Lighting:GetChildren()) do
  2380.             if v:IsA("Hat") then
  2381.                 v.Parent = pchar
  2382.             end
  2383.         end
  2384. end
  2385. cmd.util.checktable = function(t, v)
  2386.     for i, __ in pairs(t) do
  2387.         if __ == v then
  2388.             return true
  2389.         end
  2390.     end
  2391.     return false
  2392. end
  2393. cmd.util.nextrgb = function(r, g, b)
  2394.     local ar, ag, ab = r, g, b
  2395.     if r == 255 and g < 255 and b == 0 then
  2396.         ag = g + 8.5
  2397.     end
  2398.     if g == 255 and r > 0 and b == 0 then
  2399.         ar = r - 8.5
  2400.     end
  2401.     if g == 255 and b < 255 and r == 0 then
  2402.         ab = b + 8.5
  2403.     end
  2404.     if b == 255 and g > 0 and r == 0 then
  2405.         ag = g - 8.5
  2406.     end
  2407.     if b == 255 and r < 255 and g == 0 then
  2408.         ar = r + 8.5
  2409.     end
  2410.     if r == 255 and b > 0 and g == 0 then
  2411.         ab = b - 8.5
  2412.     end
  2413.     return {ar, ag, ab}
  2414. end
  2415. -- ** interface ** --
  2416. game:GetService('UserInputService').InputBegan:connect(function(inp)
  2417.     if inp.UserInputType == Enum.UserInputType.Keyboard then
  2418.         if inp.KeyCode == Enum.KeyCode.Semicolon then
  2419.             DistributedCmdBar:CaptureFocus()
  2420.         end
  2421.     end
  2422. end)
  2423.  
  2424. -- ** commands ** --
  2425. cmd.commands.store = {}
  2426. cmd.commands.fmtstore = {}
  2427.  
  2428. cmd.commands.register = function(cmdz, fmt, func)
  2429.     cmd.commands.store[cmdz] = (function(str) coroutine.wrap(function() pcall(function() func(cmd.util.parse(str, fmt)) end) end)() end)
  2430.     cmd.commands.fmtstore[cmdz] = fmt
  2431. end
  2432.  
  2433. cmd.commands.run = function(str)
  2434.     local cmdz = cmd.util.pos(str, 1)
  2435.     if not cmd.commands.store[cmdz] then
  2436.         return nil
  2437.     else
  2438.         cmd.commands.store[cmdz](str)
  2439.     end
  2440. end
  2441.  
  2442. -- // actual commands // --
  2443.  
  2444. cmd.commands.register('kill', 'cmd%plrs', function(args)
  2445.     for i, v in pairs(args[2]) do
  2446.         v.Character.Humanoid.Health = 0
  2447.     end
  2448. end)
  2449.  
  2450. cmd.commands.register('clone', 'cmd%plrs', function(args)
  2451.     for i, v in pairs(args[2]) do
  2452.         v.Character.Archivable = true
  2453.         local clone = v.Character:Clone()
  2454.         clone.Parent = game.Workspace
  2455.         clone:MoveTo(v.Character.Torso.Position)
  2456.     end
  2457. end)
  2458.  
  2459. cmd.commands.register('damage', 'cmd%plrs%int', function(args)
  2460.     for i, v in pairs(args[2]) do
  2461.         v.Character.Humanoid:TakeDamage(args[3].data)
  2462.     end
  2463. end)
  2464.  
  2465. cmd.commands.register('freeze', 'cmd%plrs', function(args)
  2466.     for i, v in pairs(args[2]) do
  2467.         v.Character.Torso.Anchored = true
  2468.     end
  2469. end)
  2470.  
  2471. cmd.commands.register('thaw', 'cmd%plrs', function(args)
  2472.     for i, v in pairs(args[2]) do
  2473.         v.Character.Torso.Anchored = false
  2474.     end
  2475. end)
  2476. Fly = false;
  2477. cmd.commands.register('fly', 'cmd', function(args)
  2478.     if Fly == true then
  2479.         Fly = false
  2480.         return
  2481.     end
  2482.     Fly = true
  2483.   local mouse=game.Players.LocalPlayer:GetMouse''
  2484.   localplayer=game.Players.LocalPlayer
  2485.   game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  2486.   local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  2487.   local speed=0
  2488.   local keys={a=false,d=false,w=false,s=false}
  2489.   local e1
  2490.   local e2
  2491.   local function start()
  2492.    local pos = Instance.new("BodyPosition",torso)
  2493.    local gyro = Instance.new("BodyGyro",torso)
  2494.    pos.Name="EPIXPOS"
  2495.    pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2496.    pos.position = torso.Position
  2497.    gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2498.    gyro.cframe = torso.CFrame
  2499.    repeat
  2500.     wait()
  2501.     localplayer.Character.Humanoid.PlatformStand=true
  2502.     local new=gyro.cframe - gyro.cframe.p + pos.position
  2503.     if not keys.w and not keys.s and not keys.a and not keys.d then
  2504.      speed=1
  2505.     end
  2506.     if keys.w then
  2507.      new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2508.      speed=speed+0.01
  2509.     end
  2510.     if keys.s then
  2511.      new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2512.      speed=speed+0.01
  2513.     end
  2514.     if keys.d then
  2515.      new = new * CFrame.new(speed,0,0)
  2516.      speed=speed+0.01
  2517.     end
  2518.     if keys.a then
  2519.      new = new * CFrame.new(-speed,0,0)
  2520.      speed=speed+0.01
  2521.     end
  2522.     if speed>5 then
  2523.      speed=5
  2524.     end
  2525.     pos.position=new.p
  2526.     if keys.w then
  2527.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  2528.     elseif keys.s then
  2529.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  2530.     else
  2531.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  2532.     end
  2533.    until not Fly
  2534.    if gyro then gyro:Destroy() end
  2535.    if pos then pos:Destroy() end
  2536.    flying=false
  2537.    localplayer.Character.Humanoid.PlatformStand=false
  2538.    speed=0
  2539.   end
  2540.   e1=mouse.KeyDown:connect(function(key)
  2541.    if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  2542.    if key=="w" then
  2543.     keys.w=true
  2544.    elseif key=="s" then
  2545.     keys.s=true
  2546.    elseif key=="a" then
  2547.     keys.a=true
  2548.    elseif key=="d" then
  2549.     keys.d=true
  2550.    end
  2551.   end)
  2552.   e2=mouse.KeyUp:connect(function(key)
  2553.    if key=="w" then
  2554.     keys.w=false
  2555.    elseif key=="s" then
  2556.     keys.s=false
  2557.    elseif key=="a" then
  2558.     keys.a=false
  2559.    elseif key=="d" then
  2560.     keys.d=false
  2561.    end
  2562.   end)
  2563.   start()
  2564. end)
  2565. cmd.commands.register('tp', 'cmd%plrs%plrs', function(args)
  2566.     local players = args[2]
  2567.     local target = args[3][1]
  2568.     for i, player in pairs(args[2]) do
  2569.         player.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  2570.     end
  2571. end)
  2572.  
  2573. cmd.commands.register('naked', 'cmd%plrs', function(args)
  2574.     for i, v in pairs(args[2]) do
  2575.         v:ClearCharacterAppearance()
  2576.     end
  2577. end)
  2578. cmd.commands.register('sgod', 'cmd%plrs', function(args)
  2579.     for i, v in pairs(args[2]) do
  2580.         v.Character.Humanoid.MaxHealth = 999999999
  2581.         v.Character.Humanoid.Health = 999999999
  2582.     end
  2583. end)
  2584.  
  2585. cmd.commands.register('ws', 'cmd%plrs%int', function(args)
  2586.     for i, v in pairs(args[2]) do
  2587.         v.Character.Humanoid.WalkSpeed = args[3].data
  2588.     end
  2589. end)
  2590.  
  2591. cmd.commands.register('lag', 'cmd%plrs', function(args)
  2592.     for i, v in pairs(args[2]) do
  2593.         coroutine.wrap(function()
  2594.             for i = 1, 200 do
  2595.                 ypcall(function()
  2596.                     coroutine.wrap(function()
  2597.                         for i = 1, 1000 do
  2598.                             Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  2599.                         end
  2600.                     end)()
  2601.                 end)
  2602.                 wait()
  2603.             end
  2604.         end)()
  2605.     end
  2606. end)
  2607.  
  2608. cmd.commands.register('ban', 'cmd%plrs', function(args)
  2609.     for i, v in pairs(args[2]) do
  2610.         table.insert(cmd.bans, v.Name)
  2611.         v.Parent = nil
  2612.     end
  2613. end)
  2614.  
  2615. cmd.commands.register('lagban', 'cmd%plrs', function(args)
  2616.     for i, v in pairs(args[2]) do
  2617.         table.insert(cmd.lagbans, v.Name)
  2618.         coroutine.wrap(function()
  2619.             for i = 1, 200 do
  2620.                 ypcall(function()
  2621.                     coroutine.wrap(function()
  2622.                         for i = 1, 1000 do
  2623.                             Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  2624.                         end
  2625.                     end)()
  2626.                 end)
  2627.                 wait()
  2628.             end
  2629.         end)()
  2630.     end
  2631. end)
  2632.  
  2633. cmd.commands.register('punish', 'cmd%plrs', function(args)
  2634.     for i, v in pairs(args[2]) do
  2635.         v.Character.Parent = game.Lighting
  2636.     end
  2637. end)
  2638.  
  2639. cmd.commands.register('unpunish', 'cmd%plrs', function(args)
  2640.     for i, v in pairs(args[2]) do
  2641.         v.Character.Parent = game.Workspace
  2642.     end
  2643. end)
  2644.  
  2645. cmd.commands.register('respawn', 'cmd%plrs', function(args)
  2646.     for i, v in pairs(args[2]) do
  2647.         local a1 = Instance.new("Model", game.Workspace)
  2648.         local a2 = Instance.new("Part", game.Workspace)
  2649.         a2.CanCollide = true
  2650.         a2.Anchored = true
  2651.         a2.CFrame = CFrame.new(10000, 10000, 10000)
  2652.         a2.Name = "Torso"
  2653.         local a3 = Instance.new("Humanoid", a1)
  2654.         a3.MaxHealth=100;a3.Health=100
  2655.         v.Character = a1
  2656.         a3.Health=0
  2657.     end
  2658. end)
  2659.  
  2660. cmd.commands.register('shutdown', 'cmd', function(args)
  2661.     for i, v in pairs(cmd.service('Players'):GetPlayers()) do
  2662.         v.Parent = nil
  2663.     end
  2664. end)
  2665.  
  2666. cmd.commands.register('music', 'cmd%int', function(args)
  2667.     local a = Instance.new("Sound")
  2668.     a.SoundId = "rbxassetid://" .. tostring(args[2].data)
  2669.     a.Looped = true
  2670.     a.Volume = 1
  2671.     a.Parent = game.Workspace
  2672.     a:Play()
  2673.    
  2674. end)
  2675.  
  2676. cmd.commands.register('sit', 'cmd%plrs', function(args)
  2677.     for i, v in pairs(args[2]) do
  2678.         v.Character.Humanoid.Sit = true
  2679.     end
  2680. end)
  2681.  
  2682. cmd.commands.register('jump', 'cmd%plrs', function(args)
  2683.     for i, v in pairs(args[2]) do
  2684.         v.Character.Humanoid.Jump = true
  2685.     end
  2686. end)
  2687.  
  2688. cmd.commands.register('stun', 'cmd%plrs', function(args)
  2689.     for i, v in pairs(args[2]) do
  2690.         v.Character.Humanoid.PlatformStand = true
  2691.     end
  2692. end)
  2693.  
  2694. cmd.commands.register('unstun', 'cmd%plrs', function(args)
  2695.     for i, v in pairs(args[2]) do
  2696.         v.Character.Humanoid.PlatformStand = false
  2697.     end
  2698. end)
  2699.  
  2700. cmd.commands.register('loopstate', 'cmd%int', function(args)
  2701.     coroutine.resume(coroutine.create(function()
  2702.         repeat
  2703.             ypcall(function() cmd.localplayer.Character.Humanoid:ChangeState(args[2].data)  end)
  2704.             wait(0)
  2705.         until cmd.localplayer.Character.Humanoid == nil
  2706.     end))
  2707. end)
  2708.  
  2709. cmd.commands.register('invis', 'cmd%plrs', function(args)
  2710.     for i, v in pairs(args[2]) do
  2711.         local function dloop(o)
  2712.             for i, v in pairs(o:GetChildren()) do
  2713.                 pcall(function() v.Transparency = 1 end)
  2714.                 dloop(v)
  2715.             end
  2716.         end
  2717.         dloop(v.Character)
  2718.     end
  2719. end)
  2720.  
  2721. cmd.commands.register('vis', 'cmd%plrs', function(args)
  2722.     for i, v in pairs(args[2]) do
  2723.         local function dloop(o)
  2724.             for i, v in pairs(o:GetChildren()) do
  2725.                 pcall(function() v.Transparency = 0 end)
  2726.                 dloop(v)
  2727.             end
  2728.         end
  2729.         v.Character.HumanoidRootPart.Transparency = 1
  2730.         dloop(v.Character)
  2731.     end
  2732. end)
  2733.  
  2734. cmd.commands.register('nuke', 'cmd%plrs', function(args)
  2735.     for i, v in pairs(args[2]) do
  2736.         if v.Character then
  2737.             local nuke = Instance.new("Part", game.Workspace)
  2738.             nuke.Anchored = true
  2739.             nuke.CanCollide = false
  2740.             nuke.FormFactor = "Symmetric"
  2741.             nuke.Shape = "Ball"
  2742.             nuke.Size = Vector3.new(1,1,1)
  2743.             nuke.BrickColor = BrickColor.new("New Yeller")
  2744.             nuke.Transparency = 0.5
  2745.             nuke.Reflectance = 0.2
  2746.             nuke.TopSurface = 0
  2747.             nuke.BottomSurface = 0
  2748.             nuke.Touched:connect(function (hit)
  2749.                 if hit and hit.Parent then
  2750.                     local boom = Instance.new("Explosion", game.Workspace)
  2751.                     boom.Position = hit.Position
  2752.                     boom.BlastRadius = 11
  2753.                     boom.BlastPressure = math.huge
  2754.                 end
  2755.             end)
  2756.             local CF = v.Character.Torso.CFrame
  2757.             nuke.CFrame = CF
  2758.             for i = 1,333 do
  2759.                 nuke.Size = nuke.Size + Vector3.new(3,3,3)
  2760.                 nuke.CFrame = CF
  2761.                 wait(1/44)
  2762.             end
  2763.             nuke:Destroy()
  2764.         end
  2765.     end
  2766. end)
  2767.  
  2768. cmd.commands.register('explode', 'cmd%plrs', function(args)
  2769.     for i, v in pairs(args[2]) do
  2770.         Instance.new("Explosion", v.Character.Torso).Position = v.Character.Torso.Position
  2771.     end
  2772. end)
  2773.  
  2774. cmd.commands.register('hat', 'cmd%plrs%int', function(args)
  2775.     for i, v in pairs(args[2]) do
  2776.         cmd.service('InsertService'):LoadAsset(args[3].data):GetChildren()[1].Parent = v.Character
  2777.     end
  2778. end)
  2779.  
  2780. cmd.commands.register('chat', 'cmd%plrs%inf', function(args)
  2781.     for i, v in pairs(args[2]) do
  2782.         game:GetService('Chat'):Chat(v.Character, args[3], 1)
  2783.     end
  2784. end)
  2785.  
  2786. cmd.commands.register('god', 'cmd%plrs', function(args)
  2787.     for i, v in pairs(args[2]) do
  2788.         v.Character.Humanoid.MaxHealth = math.huge
  2789.         v.Character.Humanoid.Health = math.huge
  2790.     end
  2791. end)
  2792.  
  2793. cmd.commands.register('ungod', 'cmd%plrs', function(args)
  2794.     for i, v in pairs(args[2]) do
  2795.         v.Character.Humanoid.Health = 100
  2796.         v.Character.Humanoid.MaxHealth = 100
  2797.     end
  2798. end)
  2799.  
  2800. cmd.commands.register('rh', 'cmd%plrs', function(args)
  2801.     for i, v in pairs(args[2]) do
  2802.         v.Character.Humanoid.Parent = nil
  2803.     end
  2804. end)
  2805.  
  2806. cmd.commands.register('fire', 'cmd%plrs', function(args)
  2807.     for i, v in pairs(args[2]) do
  2808.         Instance.new('Fire', v.Character.Torso)
  2809.     end
  2810. end)
  2811.  
  2812. cmd.commands.register('insane', 'cmd%plrs', function(args)
  2813.     for x, m in pairs(args[2]) do
  2814.         for i,v in pairs(m.Character.Torso:GetChildren()) do
  2815.             if v:IsA("Motor6D") then
  2816.                 coroutine.wrap(function()
  2817.                     while v do
  2818.                         v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  2819.                         wait()
  2820.                     end
  2821.                 end)()
  2822.             end
  2823.         end
  2824.     end
  2825. end)
  2826.  
  2827. cmd.commands.register('admin', 'cmd%plrs',function(args)
  2828.     for i, v in pairs(args[2]) do
  2829.         --table.insert(cmd.admins, v.Name)
  2830.         v.Chatted:connect(function(msg)
  2831.                 if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  2832.                     cmd.commands.run(msg:sub(2, #msg))
  2833.                 end
  2834.         end)
  2835.     end
  2836. end)
  2837.  
  2838. cmd.commands.register('nosound', 'cmd', function(args)
  2839.     local function dx(o)
  2840.         for i, v in pairs(o:GetChildren()) do
  2841.             if v:IsA("Sound") then
  2842.                 v:Stop()
  2843.             end
  2844.             dx(v)
  2845.         end
  2846.     end
  2847.     dx(game.Workspace)
  2848. end)
  2849.  
  2850. cmd.commands.register('duck', 'cmd%plrs', function(args)
  2851.     for _,p in pairs(args[2]) do
  2852.         local pchar = p.Character
  2853.         for i,v in pairs(pchar.Torso:GetChildren()) do
  2854.             if v:IsA("Decal") then
  2855.                 v:Destroy()
  2856.             end
  2857.         end
  2858.         for i,v in pairs(pchar:GetChildren()) do
  2859.             if v:IsA("Hat") then
  2860.                 v:Destroy()
  2861.             end
  2862.         end
  2863.         local duck = Instance.new("SpecialMesh", pchar.Torso)
  2864.         duck.MeshType = "FileMesh"
  2865.         duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  2866.         duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  2867.         duck.Scale = Vector3.new(5, 5, 5)
  2868.         pchar.Head.Transparency = 1
  2869.         pchar["Left Arm"].Transparency = 1
  2870.         pchar["Right Arm"].Transparency = 1
  2871.         pchar["Left Leg"].Transparency = 1
  2872.         pchar["Right Leg"].Transparency = 1
  2873.         pchar.Head.face.Transparency = 1
  2874.     end
  2875. end)
  2876.  
  2877. cmd.commands.register('shrek', 'cmd%plrs', function(args)
  2878.     for i, v in pairs(args[2]) do
  2879.         local pchar = v.Character
  2880.         for i,v in pairs(pchar:GetChildren()) do
  2881.             if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  2882.                 v:Destroy()
  2883.             end
  2884.         end
  2885.         for i,v in pairs(pchar.Head:GetChildren()) do
  2886.             if v:IsA("Decal") or v:IsA("SpecialMesh") then
  2887.                 v:Destroy()
  2888.             end
  2889.         end
  2890.        
  2891.         local mesh = Instance.new("SpecialMesh", pchar.Head)
  2892.         mesh.MeshType = "FileMesh"
  2893.         pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  2894.         pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  2895.         pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  2896.        
  2897.         local Shirt = Instance.new("Shirt", v.Character)
  2898.         local Pants = Instance.new("Pants", v.Character)
  2899.        
  2900.         Shirt.ShirtTemplate = "rbxassetid://133078194"
  2901.         Pants.PantsTemplate = "rbxassetid://133078204"
  2902.     end
  2903. end)
  2904.  
  2905. cmd.commands.register('nograv', 'cmd%plrs', function(args)
  2906.     for i, v in pairs(args[2]) do
  2907.         for x, m in pairs(v.Character:GetChildren()) do
  2908.             if m:IsA("BasePart") then
  2909.                 local bf = Instance.new("BodyForce", m)
  2910.                 bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  2911.             end
  2912.             if m:IsA("Hat") then
  2913.                 if m:findFirstChild("Handle") then
  2914.                     local bf = Instance.new("BodyForce", m.Handle)
  2915.                     bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  2916.                 end
  2917.             end
  2918.         end
  2919.     end
  2920. end)
  2921.  
  2922. cmd.commands.register('loopheal', 'cmd%plrs', function(args)
  2923.     for i, v in pairs(args[2]) do
  2924.         coroutine.wrap(function()
  2925.             while wait() do
  2926.                 if v.Character.Humanoid then
  2927.                     v.Character.Humanoid.Health = 1000
  2928.                     v.Character.Humanoid.MaxHealth = 1000
  2929.                 end
  2930.             end
  2931.         end)()
  2932.     end
  2933. end)
  2934.  
  2935. cmd.commands.register('hulk', 'cmd%plrs', function(args)
  2936.     for i, v in pairs(args[2]) do
  2937.         cmd.util.hulk(v)
  2938.     end
  2939. end)
  2940.  
  2941. cmd.commands.register('sky', 'cmd%int', function(args)
  2942.     local ID = args[2].data
  2943.     local sky = Instance.new("Sky", game.Lighting)
  2944.     sky.SkyboxBk = "rbxassetid://" .. ID
  2945.     sky.SkyboxDn = "rbxassetid://" .. ID
  2946.     sky.SkyboxFt = "rbxassetid://" .. ID
  2947.     sky.SkyboxLf = "rbxassetid://" .. ID
  2948.     sky.SkyboxRt = "rbxassetid://" .. ID
  2949.     sky.SkyboxUp = "rbxassetid://" .. ID
  2950. end)
  2951.  
  2952. cmd.commands.register('bombs', 'cmd%plrs', function(args)
  2953.     cmd.util.BombVest(args[2])
  2954. end)
  2955.  
  2956. cmd.commands.register('control', 'cmd%plrs', function(args)
  2957.     -- variable
  2958.     local pchar = args[2][1].Character
  2959.     local char = cmd.localplayer.Character
  2960.     pchar.Humanoid.PlatformStand = true
  2961.     local w = Instance.new("Weld", pchar.Torso)
  2962.     w.Part0 = pchar.Torso
  2963.     w.Part1 = pchar.Torso  
  2964.     local w2 = Instance.new("Weld", pchar.Head)
  2965.     w2.Part0 = pchar.Head
  2966.     w2.Part1 = pchar.Head  
  2967.     local w3 = Instance.new("Weld", pchar:findFirstChild("Right Arm"))
  2968.     w3.Part0 = pchar:findFirstChild("Right Arm")
  2969.     w3.Part1 = pchar:findFirstChild("Right Arm")
  2970.     local w4 = Instance.new("Weld", pchar:findFirstChild("Left Arm"))
  2971.     w4.Part0 = pchar:findFirstChild("Left Arm")
  2972.     w4.Part1 = pchar:findFirstChild("Left Arm")
  2973.     local w5 = Instance.new("Weld", pchar:findFirstChild("Right Leg"))
  2974.     w5.Part0 = pchar:findFirstChild("Right Leg")
  2975.     w5.Part1 = pchar:findFirstChild("Right Leg")
  2976.     local w6 = Instance.new("Weld", pchar:findFirstChild("Left Leg"))
  2977.     w6.Part0 = pchar:findFirstChild("Left Leg")
  2978.     w6.Part1 = pchar:findFirstChild("Left Leg")
  2979.     char.Head.face:Destroy()
  2980.     for i,v in pairs(pchar:GetChildren()) do
  2981.         if v:IsA("BasePart") then
  2982.             v.CanCollide = false
  2983.         end
  2984.     end
  2985.     for i,v in pairs(char:GetChildren()) do
  2986.         if v:IsA("BasePart") then
  2987.             v.Transparency = 1
  2988.         elseif v:IsA("Hat") then
  2989.             v:Destroy()
  2990.         end
  2991.     end
  2992.     pchar.Parent = char
  2993.     repeat
  2994.         pchar.Humanoid.PlatformStand = true
  2995.         wait()
  2996.     until char.Parent == nil
  2997. end)
  2998.  
  2999. cmd.commands.register('rtag', 'cmd%inf', function(args)
  3000.     local len = 10; local player = cmd.localplayer
  3001.     local bb = Instance.new("BillboardGui")
  3002.     bb.Parent = player.Character.Head
  3003.     bb.Adornee = player.Character.Head
  3004.     bb.AlwaysOnTop = true
  3005.     bb.Enabled = true
  3006.     bb.Size = UDim2.new(len, 0, 1.5, 0)
  3007.     bb.Name = "tag"
  3008.     bb.StudsOffset = Vector3.new(0, 3, 0)
  3009.     --local fr = Instance.new("Frame")
  3010.     --fr.Parent = bb
  3011.     --fr.Size = UDim2.new(1, 0, 1, 0)
  3012.     --fr.Style = Enum.FrameStyle.RobloxRound
  3013.     local tl = Instance.new("TextLabel")
  3014.     tl.Parent = bb
  3015.     tl.BackgroundTransparency = 1
  3016.     tl.TextScaled = true
  3017.     tl.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  3018.     tl.Size = UDim2.new(1, 0, 1, 0)
  3019.     tl.Text = args[2]
  3020.     tl.Name = "trutag"
  3021.     tl.Visible = true
  3022.     tl.ZIndex = 2
  3023.     coroutine.wrap(function()
  3024.         local r, g, b = 255, 0, 0
  3025.         repeat
  3026.             tl.TextColor3 = Color3.new(r/255, g/255, b/255)
  3027.             local bo = cmd.util.nextrgb(r, g, b)
  3028.             r = bo[1]; g = bo[2]; b = bo[3];
  3029.             wait()
  3030.         until bb == nil
  3031.     end)()
  3032. end)
  3033.  
  3034. cmd.commands.register('smoke', 'cmd%plrs', function(args)
  3035.     for i, v in pairs(args[2]) do
  3036.         Instance.new('Smoke', v.Character.Torso)
  3037.     end
  3038. end)
  3039.  
  3040. cmd.commands.register('btools', 'cmd%plrs', function(args)
  3041.     for i, p in pairs(args[2]) do
  3042.         local a = Instance.new("HopperBin")
  3043.         a.BinType = "GameTool"
  3044.         a.Parent = p.Backpack
  3045.         local a = Instance.new("HopperBin")
  3046.         a.BinType = "Clone"
  3047.         a.Parent = p.Backpack
  3048.         local a = Instance.new("HopperBin")
  3049.         a.BinType = "Hammer"
  3050.         a.Parent = p.Backpack
  3051.     end
  3052. end)
  3053.  
  3054. con = nil;
  3055. cmd.commands.register('noclip', 'cmd', function(args)
  3056.     cmd.noclip = false
  3057.     con = game:GetService('RunService').Stepped:connect(function()
  3058.         if cmd.noclip == true then
  3059.             con:disconnect()
  3060.         else
  3061.             cmd.localplayer.Character.Torso.CanCollide = false
  3062.             cmd.localplayer.Character.Head.CanCollide = false
  3063.         end
  3064.     end)
  3065. end)
  3066.  
  3067. cmd.commands.register('clip', 'cmd', function(args)
  3068.     cmd.noclip = true
  3069. end)
  3070.  
  3071. cmd.commands.register('gear', 'cmd%plrs%int', function(args)
  3072.     local gear = game:GetService("InsertService"):LoadAsset(args[3].data):GetChildren()[1]
  3073.     if not gear then return end
  3074.     for i, v in pairs(args[2]) do
  3075.         gear:Clone().Parent = v.Backpack
  3076.     end
  3077. end)
  3078.  
  3079. cmd.commands.register('kick', 'cmd%plrs', function(args)
  3080.     for i, v in pairs(args[2]) do
  3081.         v.Parent = nil
  3082.     end
  3083. end)
  3084.  
  3085. cmd.commands.register('r15', 'cmd', function(args)
  3086.     cmd.util.R15()
  3087. end)
  3088.  
  3089. cmd.commands.register('char', 'cmd%plrs%str', function(args)
  3090.     if tonumber(args[3].data) ~= nil then
  3091.         args[3].data = tonumber(args[3].data)
  3092.     else
  3093.         args[3].data = cmd.players:GetUserIdFromNameAsync(args[3].data)
  3094.     end
  3095.     for i, v in pairs(args[2]) do
  3096.         v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=' .. args[3].data
  3097.         pcall(function() v.Character.Humanoid.Health = 0 end)
  3098.     end
  3099. end)
  3100.  
  3101. cmd.commands.register('noob', 'cmd%plrs', function(args)
  3102.     for i, v in pairs(args[2]) do
  3103.         v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=4'
  3104.         pcall(function() v.Character.Humanoid.Health = 0 end)
  3105.     end
  3106. end)
  3107.  
  3108. cmd.commands.register('ff', 'cmd%plrs', function(args)
  3109.     for i, v in pairs(args[2]) do
  3110.         Instance.new("ForceField", v.Character)
  3111.     end
  3112. end)
  3113.  
  3114. cmd.commands.register('unff', 'cmd%plrs', function(args)
  3115.     for i, v in pairs(args[2]) do
  3116.         for x, m in pairs(v.Character:GetChildren()) do
  3117.             if m:IsA("ForceField") then
  3118.                 m.Parent = nil
  3119.             end
  3120.         end
  3121.     end
  3122. end)
  3123.  
  3124. cmd.commands.register('guest', 'cmd%plrs', function(args)
  3125.     for i, v in pairs(args[2]) do
  3126.         v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=1'
  3127.         pcall(function() v.Character.Humanoid.Health = 0 end)
  3128.     end
  3129. end)
  3130.  
  3131. cmd.commands.register('giraffe', 'cmd%plrs', function(args)
  3132.     for i, v in pairs(args[2]) do
  3133.         local char=v.Character
  3134.         local h=char.Head
  3135.         local tor=char.Torso
  3136.         tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  3137.         local fn=Instance.new("Part",char)
  3138.         fn.Size=Vector3.new(1,5.5,1)
  3139.         fn.Name="FakeNeck"
  3140.         fn.Anchored=false
  3141.         fn.CanCollide=false
  3142.         if char:FindFirstChild("Body Colors") then
  3143.             fn.BrickColor=char["Body Colors"].HeadColor
  3144.         end
  3145.         local cm=Instance.new("CylinderMesh",fn)
  3146.         local we=Instance.new("Weld",h)
  3147.         we.Part0=h
  3148.         we.Part1=fn
  3149.         we.C1=we.C1*CFrame.new(0,2.6,0)
  3150.     end
  3151. end)
  3152.  
  3153. cmd.commands.register('notools', 'cmd%plrs', function(args)
  3154.     for i, v in pairs(args[2]) do
  3155.         for x, m in pairs(v.Backpack:GetChildren()) do
  3156.             m.Parent = nil
  3157.         end
  3158.     end
  3159. end)
  3160.  
  3161. cmd.commands.register('taketools', 'cmd%plrs', function(args)
  3162.     for i, v in pairs(args[2]) do
  3163.         for x, m in pairs(v.Backpack:GetChildren()) do
  3164.             m.Parent = cmd.localplayer.Backpack
  3165.         end
  3166.     end
  3167. end)
  3168.  
  3169. cmd.commands.register('confuse', 'cmd%plrs', function(args)
  3170.     for i, v in pairs(args[2]) do
  3171.         v.Character.Humanoid.WalkSpeed = -16
  3172.     end
  3173. end)
  3174.  
  3175. cmd.commands.register('spin', 'cmd%plrs', function(args)
  3176.     for i, v in pairs(args[2]) do
  3177.         for i,v in pairs(v.Character.Torso:GetChildren()) do
  3178.             if v.Name == "Spinning" then
  3179.                 v:Destroy()
  3180.             end
  3181.         end
  3182.         local Torso = v.Character.Torso
  3183.         local BG = Instance.new("BodyGyro", Torso)
  3184.         BG.Name = "Spinning"
  3185.         BG.maxTorque = Vector3.new(0, math.huge, 0)
  3186.         BG.P = 11111
  3187.         BG.cframe = Torso.CFrame
  3188.         repeat wait(1/44)
  3189.             BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  3190.         until not BG or BG.Parent ~= Torso
  3191.     end
  3192. end)
  3193.  
  3194. cmd.commands.register('fling', 'cmd%plrs', function(args)
  3195.     for i, v in pairs(args[2]) do
  3196.         local pchar = v.Character
  3197.         if pchar:FindFirstChild("Humanoid") then
  3198.             local xran
  3199.             local zran
  3200.             repeat
  3201.                 xran = math.random(-9999,9999)
  3202.             until math.abs(xran) >= 5555
  3203.             repeat
  3204.                 zran = math.random(-9999,9999)
  3205.             until math.abs(zran) >= 5555
  3206.             pchar.Humanoid.Sit = true
  3207.             pchar.Torso.Velocity = Vector3.new(0,0,0)
  3208.             local BF = Instance.new("BodyForce", pchar.Torso)
  3209.             BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  3210.         end
  3211.     end
  3212. end)
  3213.  
  3214. cmd.commands.register('burn', 'cmd%plrs', function(args)
  3215.     for i, v in pairs(args[2]) do
  3216.         spawn(function()
  3217.             wait(0.1)
  3218.             local fire=Instance.new("Fire", v.Character.Torso)
  3219.             wait(0.1)
  3220.             local fire=Instance.new("Fire", v.Character.Head)
  3221.             wait(0.1)
  3222.             local fire=Instance.new("Fire", v.Character["Left Arm"])
  3223.             wait(0.1)
  3224.             local fire=Instance.new("Fire", v.Character["Right Leg"])
  3225.             wait(0.5)
  3226.             v.Character:BreakJoints();
  3227.         end)
  3228.     end
  3229. end)
  3230.  
  3231. cmd.commands.register('printcmds', 'cmd', function(args)
  3232.     for i, v in pairs(cmd.commands.store) do
  3233.         print(i, '==', v)
  3234.     end
  3235. end)
  3236.  
  3237. cmd.commands.register('gun', 'cmd%plrs', function(args)
  3238.     local a = game:GetService("InsertService"):LoadAsset(130113146):GetChildren()[1]
  3239.     local b = game:GetService("InsertService"):LoadAsset(67747912):GetChildren()[1]
  3240.     local c = game:GetService("InsertService"):LoadAsset(95354288):GetChildren()[1]
  3241.     for i, v in pairs(args[2]) do
  3242.         a:Clone().Parent = v.Backpack
  3243.         b:Clone().Parent = v.Backpack
  3244.         c:Clone().Parent = v.Backpack
  3245.     end
  3246. end)
  3247.  
  3248.  
  3249. cmd.commands.register('goto', 'cmd%plrs', function(args)
  3250.     local target = args[2][1]
  3251.     cmd.localplayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  3252. end)
  3253.  
  3254. cmd.commands.register('select', 'cmd%plrs', function(args)
  3255.     for i, v in pairs(args[2]) do
  3256.         Instance.new("SelectionBox", v.Character).Adornee = v.Character
  3257.     end
  3258. end)
  3259.  
  3260. cmd.commands.register('sphere', 'cmd%plrs', function(args)
  3261.     for i, v in pairs(args[2]) do
  3262.         Instance.new("SelectionSphere", v.Character).Adornee = v.Character
  3263.     end
  3264. end)
  3265.  
  3266. cmd.commands.register('bring', 'cmd%plrs', function(args)
  3267.     for i, v in pairs(args[2]) do
  3268.         v.Character.HumanoidRootPart.CFrame = cmd.localplayer.Character.HumanoidRootPart.CFrame
  3269.     end
  3270. end)
  3271.  
  3272. cmd.commands.register('knife', 'cmd%plrs', function(args)
  3273.     local knife = game:GetService("InsertService"):LoadAsset(170897263):GetChildren()[1]
  3274.     for i, v in pairs(args[2]) do
  3275.         knife:Clone().Parent = v
  3276.     end
  3277. end)
  3278.  
  3279. cmd.commands.register('shades', 'cmd%plrs', function(args)
  3280.     local shades = game:GetService('InsertService'):LoadAsset(11748356):GetChildren()[1]
  3281.     for i, v in pairs(args[2]) do
  3282.         shades:Clone().Parent = v.Character
  3283.     end
  3284. end)
  3285.  
  3286. cmd.commands.register('alien', 'cmd%plrs', function(args)
  3287.     -- variable
  3288.     for i, v in pairs(args[2]) do
  3289.         local pchar = v.Character
  3290.         if pchar:FindFirstChild('Shirt') then
  3291.             pchar.Shirt:Destroy()
  3292.         end
  3293.         if pchar:FindFirstChild('Pants') then
  3294.             pchar.Pants:Destroy()
  3295.         end
  3296.         if pchar:FindFirstChild('Shirt Graphic') then
  3297.             pchar['Shirt Graphic'].Graphic = ''
  3298.         end
  3299.         for i,v in pairs(pchar:GetChildren()) do
  3300.             if v:IsA('Hat') then
  3301.                 v:Destroy()
  3302.             end
  3303.         end
  3304.         local ayy2 = game:GetObjects("rbxassetid://397033642")[1]
  3305.         ayy2.Parent = pchar
  3306.         local BC = pchar['Body Colors']
  3307.         BC.HeadColor = BrickColor.new('Fossil')
  3308.         BC.LeftArmColor = BrickColor.new('Fossil')
  3309.         BC.LeftLegColor = BrickColor.new('Fossil')
  3310.         BC.RightArmColor = BrickColor.new('Fossil')
  3311.         BC.RightLegColor = BrickColor.new('Fossil')
  3312.         BC.TorsoColor = BrickColor.new('Fossil')
  3313.     end
  3314. end)
  3315.  
  3316. cmd.commands.register('team', 'cmd%plrs%str', function(args)
  3317.     for i, v in pairs(args[2]) do
  3318.         for x, m in pairs(game:GetService('Teams'):GetTeams()) do
  3319.             if (m.Name):lower():sub(1, #args[3].data) == (args[3].data):lower() then
  3320.                 v.TeamColor = m.TeamColor              
  3321.             end    
  3322.         end
  3323.     end
  3324. end)
  3325.  
  3326. cmd.commands.register('particles', 'cmd%plrs%int', function(args)
  3327.     for i, v in pairs(args[2]) do
  3328.         Instance.new("ParticleEmitter", v.Character).Texture = args[3].data
  3329.     end
  3330. end)
  3331.  
  3332. cmd.commands.register('ghost', 'cmd%plrs', function(args)
  3333.     for i, v in pairs(args[2]) do
  3334.         local pchar = v.Character
  3335.         pchar.Head.Transparency = 0.5
  3336.         pchar.Torso.Transparency = 0.5
  3337.         pchar["Left Arm"].Transparency = 0.5
  3338.         pchar["Right Arm"].Transparency = 0.5
  3339.         pchar["Left Leg"].Transparency = 0.5
  3340.         pchar["Right Leg"].Transparency = 0.5
  3341.         pchar.Head.face.Transparency = 0.5
  3342.     end
  3343. end)
  3344.  
  3345. cmd.commands.register('firstperson', 'cmd%plrs', function(args)
  3346.     for i, v in pairs(args[2]) do
  3347.         v.CameraMode = Enum.CameraMode.LockFirstPerson
  3348.     end
  3349. end)
  3350.  
  3351. cmd.commands.register('creeper', 'cmd%plrs', function(args)
  3352.     for i, v in pairs(args[2]) do
  3353.         local pchar = v.Character
  3354.         if pchar then
  3355.             if pchar:FindFirstChild("Shirt") then
  3356.                     pchar.Shirt.Parent = pchar.Torso
  3357.                 end
  3358.                 if pchar:FindFirstChild("Pants") then
  3359.                     pchar.Pants.Parent = pchar.Torso
  3360.                 end
  3361.                 if pchar:FindFirstChild("Shirt Graphic") then
  3362.                     pchar["Shirt Graphic"].Graphic = ""
  3363.                 end
  3364.                 for i,v in pairs(pchar:GetChildren()) do
  3365.                     if v:IsA("Hat") then
  3366.                         v:Destroy()
  3367.                     end
  3368.                 end
  3369.                 pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  3370.                 pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  3371.                 pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  3372.                 pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  3373.                 pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  3374.                 pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  3375.                 pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  3376.                 pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  3377.                 pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  3378.                 pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  3379.                 pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  3380.             end
  3381.     end
  3382. end)
  3383.  
  3384. cmd.commands.register('insert', 'cmd%int', function(args)
  3385.     local m = cmd.service('InsertService'):LoadAsset(args[2].data)
  3386.     m.Parent = game.Workspace
  3387.     m:MoveTo(cmd.localplayer.Character.Torso.Position)
  3388.     m:MakeJoints()
  3389. end)
  3390.  
  3391. cmd.commands.register('nolimbs', 'cmd%plrs', function(args)
  3392.     for i, v in pairs(game.Players:GetPlayers()) do
  3393.         v.Character['Right Leg'].Parent = nil
  3394.         v.Character['Left Leg'].Parent = nil
  3395.         v.Character['Right Arm'].Parent = nil
  3396.         v.Character['Left Arm'].Parent = nil
  3397.     end
  3398. end)
  3399.  
  3400. cmd.commands.register('recurseremove', 'cmd%str', function(args)
  3401.     local function a(o)
  3402.         for i,v in pairs(o:GetChildren()) do
  3403.             if v:IsA(args[2].data) then
  3404.                 v.Parent=nil
  3405.             end
  3406.             a(v)
  3407.         end
  3408.     end
  3409.     a(game.Workspace)
  3410. end)
  3411.  
  3412. cmd.commands.register('name', 'cmd%plrs%inf', function(args)
  3413.     for i, v in pairs(args[2]) do
  3414.         local tchar = v.Character
  3415.         for x, m in pairs(tchar:GetChildren()) do
  3416.             if m:FindFirstChild('nm') then
  3417.                 m.Parent = nil
  3418.             end
  3419.         end
  3420.         tchar.Name = ''
  3421.         local ntag = Instance.new("Model", tchar)
  3422.         ntag.Name = args[3]
  3423.         local nhead = tchar.Head:Clone()
  3424.         nhead.Parent = ntag
  3425.         local nhum = Instance.new("Humanoid", ntag)
  3426.         nhum.MaxHealth = 0
  3427.         nhum.Health = 0
  3428.         nhum.Name = 'nm'
  3429.         local nweld = Instance.new("Weld", nhead)
  3430.         nweld.Part0 = nhead
  3431.         nweld.Part1 = tchar.Head
  3432.     end
  3433. end)
  3434.  
  3435. cmd.commands.register('track', 'cmd%plrs%inf', function(args)
  3436.     for i, v in pairs(args[2]) do
  3437.         local tchar = v.Character
  3438.         for x, m in pairs(tchar:GetChildren()) do
  3439.             if m:FindFirstChild('nm') then
  3440.                 m.Parent = nil
  3441.             end
  3442.         end
  3443.         tchar.Name = ''
  3444.         local ntag = Instance.new("Model", workspace.CurrentCamera)
  3445.         ntag.Name = v.Name
  3446.         local nhead = tchar.Head:Clone()
  3447.         nhead.Parent = ntag
  3448.         local nhum = Instance.new("Humanoid", ntag)
  3449.         nhum.MaxHealth = 0
  3450.         nhum.Health = 0
  3451.         nhum.Name = 'nm'
  3452.         local nweld = Instance.new("Weld", nhead)
  3453.         nweld.Part0 = nhead
  3454.         nweld.Part1 = tchar.Head
  3455.     end
  3456. end)
  3457.  
  3458. cmd.commands.register('rname', 'cmd%plrs', function(args)
  3459.     local player = cmd.localplayer
  3460.     player.Neutral = false
  3461.     repeat
  3462.         wait()
  3463.         player.TeamColor = BrickColor.Random()
  3464.     until not player.Character.Humanoid
  3465. end)
  3466.  
  3467. cmd.commands.register('fogend', 'cmd%int', function(args)
  3468.     game.Lighting.FogEnd = args[2].data
  3469. end)
  3470.  
  3471. cmd.commands.register('fogstart', 'cmd%int', function(args)
  3472.     game.Lighting.FogStart = args[2].data
  3473. end)
  3474.  
  3475. cmd.commands.register('time', 'cmd%int', function(args)
  3476.     game.Lighting:SetMinutesAfterMidnight(60 * args[2].data)
  3477. end)
  3478.  
  3479. cmd.commands.register('ambient', 'cmd%int%int%int', function(args)
  3480.     game.Lighting.Ambient = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  3481. end)
  3482.  
  3483. cmd.commands.register('fogcolor', 'cmd%int%int%int', function(args)
  3484.     game.Lighting.FogColor = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  3485. end)
  3486.  
  3487. cmd.commands.register('sword', 'cmd%plrs', function(args)
  3488.     local sword = game:GetService('InsertService'):LoadAsset(125013769):GetChildren()[1]
  3489.     for i, v in pairs(args[2]) do
  3490.         sword:Clone().Parent = v.Backpack
  3491.     end
  3492. end)
  3493.  
  3494. cmd.commands.register('paranoid', 'cmd%plrs', function(args)
  3495.     for i, v in pairs(cmd.localplayer.Character:GetChildren()) do
  3496.         if v:IsA("BasePart") then
  3497.             v.Anchored = true
  3498.         end
  3499.     end
  3500. end)
  3501.  
  3502. cmd.commands.register('size', 'cmd%plrs%int', function(args)
  3503.     for i, v in pairs(args[2]) do
  3504.         cmd.util.size(v, args[3].data)
  3505.     end
  3506. end)
  3507.  
  3508. cmd.commands.register('unlockws', 'cmd%plrs', function(args)
  3509.     local function dloop(o)
  3510.         for i, v in pairs(o:GetChildren()) do
  3511.             if v:IsA("BasePart") then
  3512.                 v.Anchored = false
  3513.             end
  3514.             if v:IsA("Model") then
  3515.                 v:BreakJoints()
  3516.             end
  3517.             dloop(v)
  3518.         end
  3519.     end
  3520.     dloop(game.Workspace)
  3521. end)
  3522.  
  3523. cmd.commands.register('change', 'cmd%plrs%str%inf', function(args)
  3524.     for i, v in pairs(args[2]) do
  3525.         if v:FindFirstChild("leaderstats") then
  3526.             if v.leaderstats:FindFirstChild(args[3].data) then
  3527.                 if v.leaderstats[args[3].data]:IsA("StringValue") then
  3528.                     v.leaderstats[args[3].data].Value = args[4]
  3529.                 end
  3530.                 if v.leaderstats[args[3].data]:IsA("NumberValue") or v.leaderstats[args[3].data]:IsA("IntValue") then
  3531.                     print(args[4])
  3532.                     if tonumber(args[4]) ~= nil then
  3533.                         v.leaderstats[args[3].data].Value = tonumber(args[4])
  3534.                     end
  3535.                 end
  3536.             end
  3537.         end
  3538.     end
  3539. end)
  3540.  
  3541. ---------------------------
  3542.  
  3543. -- ** init ** --
  3544.  
  3545. local count = 0
  3546. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  3547.  
  3548. warn("loaded nosyliam's cmdscript [a]")
  3549. warn(tostring(count).." commands")
  3550.  
  3551.     DistributedCmdBar.FocusLost:connect(function(e)
  3552.         if e == true then
  3553.             cmd.commands.run(DistributedCmdBar.Text)
  3554.             DistributedCmdBar.Text = ''
  3555.         end
  3556.     end)
  3557.    
  3558.     --PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
  3559.     --  if cmd.util.isadmin(plr.Name) then
  3560.     --      if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  3561.         --      cmd.commands.run(msg:sub(2, #msg))
  3562.     --      end
  3563.     --  end
  3564. --  end)
  3565. end
  3566. topkek.navigation.buildHomePage = function()
  3567.     local count = 0
  3568.     for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  3569.     local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
  3570.     hook:drawText(1, 'T0PK3K 4.0 ex-7 edition by TheMichalos')
  3571.     hook:drawText(1, 'Patch version 1.0.5')
  3572.     hook:drawText(1, 'Commandbase patch version 1.0.0')
  3573.     hook:drawText(1, 'Number of commands: ' .. tostring(count))
  3574.     local stime = hook:drawText(1, 'Server Time: 0')
  3575.     spawn(function()
  3576.         while true do
  3577.             stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
  3578.             wait(0.5)
  3579.         end
  3580.     end)
  3581.     local ssz = hook:drawText(1, 'Server Size: 0')
  3582.     spawn(function()
  3583.         while true do
  3584.             ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
  3585.             wait(0.5)
  3586.         end
  3587.     end)
  3588.     local fe = game:GetService('Workspace').FilteringEnabled
  3589.     hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
  3590.     hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
  3591.     hook:drawText(1, 'same', 55)
  3592. end
  3593. topkek.navigation.buildContainers = function()
  3594.     for _, v in pairs(topkek.data.windows) do
  3595.         topkek.tools.gui:makeContainer(v)
  3596.     end
  3597. end
  3598.  
  3599. topkek.navigation.initCommandBar()
  3600. topkek.navigation.buildContainers()
  3601. topkek.navigation.buildTopbar()
  3602. topkek.navigation.buildHomePage()
  3603. wait()
  3604.  
  3605.  
  3606. --// actual code below lole //--
  3607.  
  3608. --// PLAYERS //--
  3609. local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
  3610. local search = plrwin:drawButton(1, '', function()end)
  3611. drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
  3612. function fixPlayerDrop()
  3613.     local t = {'All'}
  3614.     for i, v in pairs(game.Players:GetPlayers()) do
  3615.         table.insert(t, v.Name)
  3616.     end
  3617.     drop.SetTable(t)
  3618. end
  3619. game.Players.PlayerAdded:connect(function()
  3620.     fixPlayerDrop()
  3621. end)
  3622. game.Players.PlayerRemoving:connect(function()
  3623.     fixPlayerDrop()
  3624. end)
  3625. plrFrame = plrwin:drawContainer(1, 100)
  3626. headshotContainer = plrFrame:drawContainer(0.4, 94, true)
  3627. headshotContainer:setDrawY(20)
  3628. headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
  3629. headshotContainer:setDrawY(0)
  3630. userNameText = headshotContainer:drawText(1, "[All]")
  3631. userNameText.ClipsDescendants = true
  3632. userNameText.Font = Enum.Font.SourceSansBold
  3633. infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
  3634. infoContainer.BackgroundColor3 = color3(108, 38, 38)
  3635. userIdText = infoContainer:drawText(1, "ID: 0")
  3636. userAgeText = infoContainer:drawText(1, "Age: 0")
  3637. userTeamText = infoContainer:drawText(1, "Team: Neutral")
  3638. cval = 'All'
  3639. fixPlayerDrop()
  3640.  
  3641. function updatePlayer(plri)
  3642.     local plr = game:GetService('Players'):FindFirstChild(plri)
  3643.     if not plr and plri ~= 'All' then
  3644.         print("Couldn't find player!")
  3645.         updatePlayer(topkek.lplr)
  3646.     else
  3647.         headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
  3648.         userNameText.Text = "[All]"
  3649.         userIdText.Text = 'ID: [multiple]'
  3650.         userAgeText.Text = 'Age: [multiple]'
  3651.         userTeamText.Text = 'Team: [multiple]'
  3652.         cval = 'All'
  3653.     end
  3654.     local team = plr.TeamColor
  3655.     if team == nil then
  3656.         team = 'Neutral'
  3657.     else
  3658.         team = tostring(team)
  3659.     end
  3660.     headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
  3661.     userNameText.Text = plr.Name
  3662.     userIdText.Text = 'ID: ' .. tostring(plr.UserId)
  3663.     userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
  3664.     userTeamText.Text = 'Team: ' .. team
  3665.     cval = plr.Name
  3666.    
  3667. end
  3668. drop.Changed(updatePlayer)
  3669. --actual code ------__-
  3670. plrwin:addSpacing()
  3671. plrwin:drawButton(1/2, 'Kick', function()
  3672.     tk.dp(cval, function(p)
  3673.         topkek.banmgr.executeKick(p)
  3674.     end)
  3675. end)
  3676.  
  3677. plrwin:drawButton(1/2, 'Ban', function()
  3678.     tk.dp(cval, function(p)
  3679.         topkek.banmgr.addSoftBan(p)
  3680.     end)
  3681. end)
  3682. plrwin:drawButton(1/2,'Friendlag', function()
  3683.     tk.dp(cval, function(p)
  3684.         for i = 1, 10 do
  3685.             spawn(function()
  3686.                 while wait() do
  3687.                     game.Players.LocalPlayer:RequestFriendship(p)
  3688.                     game.Players.LocalPlayer:RevokeFriendship(p)
  3689.                 end
  3690.             end)
  3691.         end
  3692.     end)
  3693. end)
  3694. plrwin:drawButton(1/2, 'Hardban', function()
  3695.     tk.dp(cval, function(p)
  3696.         topkek.banmgr.addHardBan(p)
  3697.     end)
  3698. end)
  3699. plrwin:addSpacing()
  3700. plrwin:drawButton(1/2, 'Bring', function()
  3701.     tk.dp(cval, function(z)
  3702.         if z.Character then
  3703.             z.Character.HumanoidRootPart.CFrame =
  3704.                 game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  3705.         end
  3706.     end)
  3707. end)
  3708. plrwin:drawButton(1/2, 'Goto', function()
  3709.     tk.dp(cval, function(z)
  3710.         game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
  3711.             z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  3712.     end)
  3713. end)
  3714. plrwin:addSpacing()
  3715. plrwin:drawButton(1/3, 'Kill', function()
  3716.     tk.dp(cval, function(p)
  3717.         if p.Character and p.Character:FindFirstChild("Humanoid") then
  3718.             p.Character.Humanoid.Health = 0
  3719.         end
  3720.     end)
  3721. end)
  3722. plrwin:drawButton(1/3, 'Seizure', function()
  3723.     tk.dp(cval, function(p)
  3724.         if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
  3725.             spawn(function()
  3726.                 p.Character.Humanoid.PlatformStand = true
  3727.                 tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0)
  3728.                 repeat
  3729.                     wait()
  3730.                     p.Character.Humanoid.PlatformStand = true
  3731.                     tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  3732.                     tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3733.                 until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
  3734.             end)
  3735.         end
  3736.     end)
  3737. end)
  3738. plrwin:drawButton(1/3, 'Stun', function()
  3739.     tk.dp(cval, function(p)
  3740.         if p.Character and p.Character:FindFirstChild("Humanoid") then
  3741.             p.Character.Humanoid.PlatformStand = true
  3742.             p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  3743.         end
  3744.     end)
  3745. end)
  3746. plrwin:drawButton(1/3, 'Freeze', function()
  3747.     tk.dp(cval, function(p)
  3748.         if p.Character then
  3749.             tk.gt(p).Anchored = true
  3750.         end
  3751.     end)
  3752. end)
  3753. plrwin:drawButton(1/3, 'Thaw', function()
  3754.     tk.dp(cval, function(p)
  3755.         if p.Character then
  3756.             tk.gt(p).Anchored = false
  3757.         end
  3758.     end)
  3759. end)
  3760. plrwin:drawButton(1/3, 'Superslow', function()
  3761.     tk.dp(cval, function(p)
  3762.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  3763.             p.Character.Humanoid.WalkSpeed = 1
  3764.         end
  3765.     end)
  3766. end)
  3767. plrwin:drawButton(1/3, 'Highjump', function()
  3768.     tk.dp(cval, function(p)
  3769.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  3770.             p.Character.Humanoid.JumpPower = 125
  3771.         end
  3772.     end)
  3773. end)
  3774. plrwin:drawButton(1/3, 'God', function()
  3775.     tk.dp(cval, function(p)
  3776.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  3777.             p.Character.Humanoid.MaxHealth = math.huge
  3778.             p.Character.Humanoid.Health = math.huge
  3779.         end
  3780.     end)
  3781. end)
  3782. plrwin:drawButton(1/3, 'Semigod', function()
  3783.     tk.dp(cval, function(p)
  3784.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  3785.             p.Character.Humanoid.MaxHealth = 9e9
  3786.             p.Character.Humanoid.Health = 9e9
  3787.         end
  3788.     end)
  3789. end)
  3790. plrwin:drawButton(1/3, 'Fast', function()
  3791.     tk.dp(cval, function(p)
  3792.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  3793.             p.Character.Humanoid.WalkSpeed = 50
  3794.         end
  3795.     end)
  3796. end)
  3797. Follow = false;
  3798. plrwin:drawButton(1/3, 'Annoy', function()
  3799.     tk.dp(cval, function(p)
  3800.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  3801.             if Follow == true then
  3802.                 Follow = false; return
  3803.             else Follow = true end
  3804.             while Follow == true do
  3805.                 game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
  3806.                     p.Character.HumanoidRootPart.CFrame
  3807.                 wait()
  3808.             end
  3809.         end
  3810.     end)
  3811. end)
  3812. plrwin:drawButton(1/3, 'Freefall', function()
  3813.     tk.dp(cval, function(p)
  3814.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  3815.             p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)    
  3816.         end
  3817.     end)
  3818. end)
  3819. plrwin:drawButton(1/3, 'Destroy', function()
  3820.     tk.dp(cval, function(p)
  3821.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  3822.             p.Character.Humanoid:Destroy()
  3823.         end
  3824.     end)
  3825. end)
  3826. plrwin:drawButton(1/3, 'Fix', function()
  3827.     tk.dp(cval, function(p)
  3828.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  3829.             p.Character.Humanoid.Health = 100
  3830.             p.Character.Humanoid.MaxHealth = 100
  3831.             p.Character.Humanoid.JumpPower = 100
  3832.             p.Character.Humanoid.WalkSpeed = 16
  3833.             p.Character.Humanoid.PlatformStand = false
  3834.             p.Character.Humanoid.Jump = true
  3835.         end
  3836.     end)
  3837. end)
  3838. plrwin:drawButton(1/3, 'Respawn', function()
  3839.     tk.dp(cval, function(p)
  3840.         if p.Character then
  3841.             local a1 = Instance.new("Model", game:service'Workspace')
  3842.             local a2 = Instance.new("Part", game:service'Workspace')
  3843.             a2.CanCollide = true
  3844.             a2.Anchored = true
  3845.             a2.CFrame = CFrame.new(10000, 10000, 10000)
  3846.             a2.Name = "Torso"
  3847.             local a3 = Instance.new("Humanoid", a1)
  3848.             a3.MaxHealth=100;a3.Health=100
  3849.             p.Character = a1
  3850.             a3.Health=0
  3851.         end
  3852.     end)
  3853. end)
  3854. plrwin:addSpacing()
  3855. local nameInp
  3856. plrwin:drawButton(1/3, 'Name', function()
  3857.     tk.dp(cval, function(z)
  3858.         local Character = z.Character
  3859.         local newName = Instance.new("Model", z.Character)
  3860.         newName.Name = nameInp.Text
  3861.         local cl = Character:WaitForChild("Head"):Clone()
  3862.         cl.Parent = newName
  3863.         cl:WaitForChild("face"):Destroy()
  3864.         local hum = Instance.new("Humanoid", newName)
  3865.         hum.Name = "NameTag"
  3866.         hum.MaxHealth = 0
  3867.         hum.Health = 0
  3868.         local weld = Instance.new("Weld", cl)
  3869.         weld.Part0 = cl
  3870.         weld.Part1 = Character:WaitForChild("Head")
  3871.         Character:WaitForChild("Head").Transparency = 1
  3872.         wait(.5)
  3873.         cl.BrickColor = Character:WaitForChild("Head").BrickColor
  3874.     end)
  3875. end)
  3876. nameInp = plrwin:drawTextBox(2/3, '')
  3877. local chatInp
  3878. plrwin:drawButton(1/3, 'Chat', function()
  3879.     tk.dp(cval, function(z)
  3880.         game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
  3881.     end)
  3882. end)
  3883. chatInp = plrwin:drawTextBox(2/3, '')
  3884. local disgInp
  3885. plrwin:drawButton(1/3, 'Disguise', function()
  3886.     tk.dp(cval, function(p)
  3887.         local id = 0
  3888.         if tonumber(disgInp.Text) then
  3889.             id = tonumber(disgInp.Text)
  3890.         else
  3891.             id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
  3892.         end
  3893.         if p.Character:FindFirstChild("Humanoid") then
  3894.             p.Character.Humanoid.Health = 0
  3895.         end
  3896.         p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  3897.     end)
  3898. end)
  3899. disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
  3900. plrwin:addSpacing()
  3901. clrR = plrwin:drawTextBox(1/3, '0')
  3902. clrG = plrwin:drawTextBox(1/3, '0')
  3903. clrB = plrwin:drawTextBox(1/3, '0')
  3904. function getColor()
  3905.     local r = tonumber(clrR.Text)
  3906.     local g = tonumber(clrG.Text)
  3907.     local b = tonumber(clrB.Text)
  3908.     if not (r and g and b) then return Color3.new(0,0,0) end
  3909.     return Color3.new(r/255, g/255, b/255)
  3910. end
  3911. plrwin:drawButton(1/3, 'Sparkles', function()
  3912.     tk.dp(cval, function(z)
  3913.         Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
  3914.     end)
  3915. end)
  3916. plrwin:drawButton(1/3, 'Smoke', function()
  3917.     tk.dp(cval, function(z)
  3918.         Instance.new("Smoke", tk.gt(z)).Color = getColor()
  3919.  
  3920.     end)
  3921. end)
  3922. plrwin:drawButton(1/3, 'Fire', function()
  3923.     tk.dp(cval, function(z)
  3924.         local fr = Instance.new("Fire", tk.gt(z))
  3925.         fr.Color = getColor()
  3926.         fr.Heat = 30
  3927.         fr.Size = 20
  3928.     end)
  3929. end)
  3930. plrwin:drawButton(1/3, 'Forcefield', function()
  3931.     tk.dp(cval, function(z)
  3932.         if z.Character then
  3933.             Instance.new("ForceField", z.Character)
  3934.         end
  3935.     end)
  3936. end)
  3937. plrwin:drawButton(1/3, 'Select', function()
  3938.     tk.dp(cval, function(z)
  3939.         if z.Character and tk.gt(z) then
  3940.             Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
  3941.         end
  3942.     end)
  3943. end)
  3944. plrwin:drawButton(1/3, 'Sphere', function()
  3945.     tk.dp(cval, function(z)
  3946.         if z.Character and tk.gt(z) then
  3947.             Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
  3948.         end
  3949.     end)
  3950. end)
  3951. plrwin:drawButton(1/3, 'Fling', function()
  3952.     tk.dp(cval, function(z)
  3953.         spawn(function() --kohls admin commands lol
  3954.             if z.Character and tk.gt(z) then
  3955.                 local xran, zran
  3956.                 repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
  3957.                 repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
  3958.                 z.Character.Humanoid.Sit = true
  3959.                 tk.gt(z).Velocity = Vector3.new(0,0,0)
  3960.                 local frc = Instance.new("BodyForce", tk.gt(z))
  3961.                 frc.Name = "BFRC"
  3962.                 frc.force = Vector3.new(xran*4,9999*5,zran*4)
  3963.                 game:GetService("Debris"):AddItem(frc, 0.1)
  3964.             end
  3965.         end)
  3966.     end)
  3967. end)
  3968. plrwin:drawButton(1/3, 'Explode', function()
  3969.     tk.dp(cval, function(z)
  3970.         if z.Character and tk.gt(z) then
  3971.             local explosion = Instance.new("Explosion")
  3972.             explosion.Position = tk.gt(z).Position
  3973.             explosion.Parent = workspace
  3974.         end
  3975.     end)
  3976. end)
  3977. plrwin:drawButton(1/3, 'Nuke', function()
  3978.     tk.dp(cval, function(z)
  3979.         if z.Character and tk.gt(z) then
  3980.             local torso = tk.gt(z)
  3981.             local nuke = Instance.new("Part", game.Workspace)
  3982.             local opos = torso.CFrame
  3983.             nuke.BrickColor = BrickColor.new("Bright yellow")
  3984.             nuke.TopSurface = Enum.SurfaceType.Smooth
  3985.             nuke.BottomSurface = Enum.SurfaceType.Smooth
  3986.             nuke.Anchored = true
  3987.             nuke.CanCollide = false
  3988.             nuke.Shape = "Ball"            
  3989.             nuke.Transparency = 0.5
  3990.             nuke.CFrame = torso.CFrame     
  3991.             nuke.Size = Vector3.new(1, 1, 1)
  3992.             nuke.Touched:connect(function(p)
  3993.                 local expl = Instance.new("Explosion", p)
  3994.                 expl.BlastPressure = 50000
  3995.                 expl.BlastRadius = 50
  3996.                 expl.Position = p.Position
  3997.                 p.Material = Enum.Material.CorrodedMetal
  3998.                 p:BreakJoints()
  3999.             end)
  4000.             for i = 1, 150 do
  4001.                 nuke.Size = Vector3.new(i, i, i)
  4002.                 nuke.CFrame = opos
  4003.                 wait(0.08)
  4004.             end
  4005.             nuke:Destroy()
  4006.         end
  4007.     end)
  4008. end)
  4009. plrwin:drawButton(1/3, 'No Tools', function()
  4010.     tk.dp(cval, function(p)
  4011.         for _, t in pairs(p.Backpack:GetChildren()) do
  4012.             t:Destroy()
  4013.         end
  4014.     end)
  4015. end)
  4016. plrwin:drawButton(1/3, 'Take Tools', function()
  4017.     tk.dp(cval, function(p)
  4018.         for _, t in pairs(p.Backpack:GetChildren()) do
  4019.             t.Parent = game:service'Players'.LocalPlayer.Backpack
  4020.         end
  4021.     end)
  4022. end)
  4023. plrwin:drawButton(1/3, 'BTools', function()
  4024.     tk.dp(cval, function(p)
  4025.         local a = Instance.new("HopperBin")
  4026.         a.BinType = "GameTool"
  4027.         a.Parent = p.Backpack
  4028.         local a = Instance.new("HopperBin")
  4029.         a.BinType = "Clone"
  4030.         a.Parent = p.Backpack
  4031.         local a = Instance.new("HopperBin")
  4032.         a.BinType = "Hammer"
  4033.         a.Parent = p.Backpack
  4034.     end)
  4035. end)
  4036. plrwin:drawButton(1/3, 'Hotdog', function()
  4037.     tk.dp(cval, function(p)
  4038.         if p.Character and tk.gt(p) then
  4039.             topkek.tools.util.weenieHutJunior(p)
  4040.         end
  4041.     end)
  4042. end)
  4043. plrwin:drawButton(1/3, 'Quicksand', function()
  4044.     tk.dp(cval, function(z)
  4045.         if z.Character and z.Character:FindFirstChild("Humanoid") then
  4046.             local tor = tk.gt(z)
  4047.             local hole = Instance.new("Part", z.Character)
  4048.             hole.Anchored = true
  4049.             hole.Name = "Hole"
  4050.             hole.FormFactor = Enum.FormFactor.Custom
  4051.             hole.Size = Vector3.new(7, 1, 7)
  4052.             hole.CanCollide = false
  4053.             hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
  4054.             hole.BrickColor = BrickColor.new("Cool yellow")
  4055.             hole.Material = Enum.Material.Sand
  4056.             local hm = Instance.new("CylinderMesh", hole)
  4057.             tor.Anchored = true
  4058.             if z.Character:FindFirstChild("Humanoid") then
  4059.                 z.Character.Humanoid.Jump = true
  4060.             end
  4061.             for x,m in pairs(z.Character:GetChildren()) do
  4062.                 if m:IsA("BasePart") or m:IsA("MeshPart") then
  4063.                     m.CanCollide = false
  4064.                 end
  4065.             end
  4066.             for i=1,75 do
  4067.                 tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  4068.                 wait(0.06)
  4069.             end
  4070.             tor.CFrame=tor.CFrame*CFrame.new(0,
  4071.                 -500,0
  4072.             )
  4073.             z.Character.Humanoid.Health = 0
  4074.         end
  4075.     end)
  4076. end)
  4077. plrwin:drawButton(1/3, 'Insane', function()
  4078.     tk.dp(cval, function(p)
  4079.         if p.Character and tk.gt(p) then
  4080.             for i,v in pairs(tk.gt(p):GetChildren()) do
  4081.                 if v:IsA("Motor6D") then
  4082.                     spawn(function()
  4083.                         while v do
  4084.                             v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  4085.                             wait()
  4086.                         end
  4087.                     end)
  4088.                 end
  4089.             end
  4090.         end
  4091.     end)
  4092. end)
  4093. plrwin:drawButton(1/3, 'Invisible', function()
  4094.     tk.dp(cval, function(p)
  4095.         tk.rco(p.Character, 'BasePart', 'Transparency', 1)
  4096.         tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
  4097.     end)
  4098. end)
  4099. plrwin:drawButton(1/3, 'Visible', function()
  4100.     tk.dp(cval, function(p)
  4101.         tk.rco(p.Character, 'BasePart', 'Transparency', 0)
  4102.         tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
  4103.     end)
  4104. end)
  4105. plrwin:drawButton(1/3, 'Bighead', function()
  4106.     tk.dp(cval, function(z)
  4107.         if z.Character then
  4108.             if z.Character:FindFirstChild('Head') then
  4109.                 z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
  4110.             end
  4111.         end
  4112.     end)
  4113. end)
  4114. plrwin:drawButton(1/3, 'Goldify', function()
  4115.     tk.dp(cval, function(z)
  4116.         if z.Character then
  4117.             tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
  4118.             tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
  4119.             tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
  4120.             tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
  4121.         end
  4122.     end)
  4123. end)
  4124. plrwin:drawButton(1/3, 'Neon', function()
  4125.     tk.dp(cval, function(z)
  4126.         if z.Character then
  4127.             tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
  4128.             tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
  4129.         end
  4130.     end)
  4131. end)
  4132. plrwin:drawButton(1/3, 'Shiny', function()
  4133.     tk.dp(cval, function(z)
  4134.         if z.Character then
  4135.             tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
  4136.             tk.rcm(z.Character, 'MeshPart')
  4137.         end
  4138.     end)
  4139. end)
  4140. plrwin:drawButton(1/3, 'Shrek', function()
  4141.     tk.dp(cval, function(z)
  4142.         if z.Character then
  4143.             local pchar = z.Character
  4144.             for i,v in pairs(pchar:GetChildren()) do
  4145.                 if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  4146.                     v:Destroy()
  4147.                 end
  4148.             end
  4149.             for i,v in pairs(pchar.Head:GetChildren()) do
  4150.                 if v:IsA("Decal") or v:IsA("SpecialMesh") then
  4151.                     v:Destroy()
  4152.                 end
  4153.             end
  4154.            
  4155.             local mesh = Instance.new("SpecialMesh", pchar.Head)
  4156.             mesh.MeshType = "FileMesh"
  4157.             pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  4158.             pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  4159.             pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  4160.            
  4161.             local Shirt = Instance.new("Shirt", z.Character)
  4162.             local Pants = Instance.new("Pants", z.Character)
  4163.            
  4164.             Shirt.ShirtTemplate = "rbxassetid://133078194"
  4165.             Pants.PantsTemplate = "rbxassetid://133078204"
  4166.         end
  4167.     end)
  4168. end)
  4169. plrwin:drawButton(1/3, 'Duck', function()
  4170.     tk.dp(cval, function(z)
  4171.         if z.Character then
  4172.             local pchar = z.Character
  4173.             for i,v in pairs(pchar:GetChildren()) do
  4174.                 if v:IsA("Hat") or v:IsA("Accessory") then
  4175.                     v:Destroy()
  4176.                 end
  4177.             end
  4178.             local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
  4179.             duck.MeshType = "FileMesh"
  4180.             duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  4181.             duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  4182.             duck.Scale = Vector3.new(5, 5, 5)
  4183.             tk.rco(z.Character, 'Instance', 'Transparency', 1)
  4184.             z.Character.HumanoidRootPart.Transparency = 0
  4185.         end
  4186.     end)
  4187. end)
  4188. plrwin:drawButton(1/3, 'Spheres', function()
  4189.     tk.dp(cval, function(z)
  4190.         if z.Character then
  4191.             tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
  4192.         end
  4193.     end)
  4194. end)
  4195. plrwin:drawButton(1/3, 'Big', function()
  4196.     tk.dp(cval, function(z)
  4197.         if z.Character then
  4198.             topkek.tools.util.scalePlayer(5, z)
  4199.         end
  4200.     end)
  4201. end)
  4202. plrwin:drawButton(1/3, 'Small', function()
  4203.     tk.dp(cval, function(z)
  4204.         if z.Character then
  4205.             topkek.tools.util.scalePlayer(5, z)
  4206.         end
  4207.     end)
  4208. end)
  4209. plrwin:drawButton(1/3, 'Giraffe', function()
  4210.     tk.dp(cval, function(z)
  4211.         if z.Character then
  4212.             local char=z.Character
  4213.             local h=char.Head
  4214.             local tor=char:FindFirstChild("Torso")
  4215.             if not tor then return end
  4216.             tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  4217.             local fn=Instance.new("Part",char)
  4218.             fn.Size=Vector3.new(1,5.5,1)
  4219.             fn.Name="FakeNeck"
  4220.             fn.Anchored=false
  4221.             fn.CanCollide=false
  4222.             if char:FindFirstChild("Body Colors") then
  4223.                 fn.BrickColor=char["Body Colors"].HeadColor
  4224.             end
  4225.             local cm=Instance.new("CylinderMesh",fn)
  4226.             local we=Instance.new("Weld",h)
  4227.             we.Part0=h
  4228.             we.Part1=fn
  4229.             we.C1=we.C1*CFrame.new(0,2.6,0)
  4230.         end
  4231.     end)
  4232. end)
  4233. plrwin:drawButton(1/3, 'Dab', function()
  4234.     tk.dp(cval, function(z)
  4235.         if z.Character and z.Character:FindFirstChild("Torso") then
  4236.             local chr = z.Character
  4237.             chr.Animate.Disabled = true
  4238.             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)
  4239.             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)
  4240.             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)
  4241.         end
  4242.     end)
  4243. end)
  4244. plrwin:drawButton(1/3, 'Force Follow', function()
  4245.     tk.dp(cval, function(z)
  4246.         game:GetService("RunService"):BindToRenderStep("_", 0, function()
  4247.             z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
  4248.         end)
  4249.     end)
  4250. end)
  4251. plrwin:drawButton(1/3, 'Camlock', function()
  4252.     tk.dp(cval, function(z)
  4253.         z.CameraMode = "LockFirstPerson"
  4254.     end)
  4255. end)
  4256. --// SERVER //--
  4257. local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
  4258. local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
  4259. detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
  4260. detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
  4261. detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
  4262. --detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
  4263. servwin:drawButton(1/2, 'Shutdown', function()
  4264.     workspace.Gravity = 0/0
  4265. end)
  4266. servwin:drawButton(1/2, 'Clear', function()
  4267.     for i,v in pairs(game:service'Workspace':GetChildren()) do
  4268.         if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  4269.             v:Destroy()
  4270.         end
  4271.     end
  4272. end)
  4273. servwin:drawButton(1/2, 'Baseplate', function()
  4274.     for X = -2500, 2500, 512 do
  4275.         for Z = -2500, 2500, 512 do
  4276.             local P = Instance.new("Part")
  4277.             P.Anchored = true
  4278.             P.Locked = true
  4279.             P.Size = Vector3.new(512,3,512)
  4280.             P.CFrame = CFrame.new(X,0,Z)
  4281.             P.BrickColor = BrickColor.Green()
  4282.             P.Parent = game:service'Workspace'
  4283.         end
  4284.     end
  4285. end)
  4286. servwin:drawButton(1/2, 'Reset', function()
  4287.     for i,v in pairs(game:service'Workspace':GetChildren()) do
  4288.         if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  4289.             v:Destroy()
  4290.         end
  4291.     end
  4292.     for X = -2500, 2500, 512 do
  4293.         for Z = -2500, 2500, 512 do
  4294.             local P = Instance.new("Part")
  4295.             P.Anchored = true
  4296.             P.Locked = true
  4297.             P.Size = Vector3.new(512,3,512)
  4298.             P.CFrame = CFrame.new(X,0,Z)
  4299.             P.BrickColor = BrickColor.Green()
  4300.             P.Parent = game:service'Workspace'
  4301.         end
  4302.     end
  4303.     for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  4304.         local a1 = Instance.new("Model", game:service'Workspace')
  4305.         local a2 = Instance.new("Part", game:service'Workspace')
  4306.         a2.CanCollide = true
  4307.         a2.Anchored = true
  4308.         a2.CFrame = CFrame.new(10000, 10000, 10000)
  4309.         a2.Name = "Torso"
  4310.         local a3 = Instance.new("Humanoid", a1)
  4311.         a3.MaxHealth=100;a3.Health=100
  4312.         v.Character = a1
  4313.         a3.Health=0
  4314.     end
  4315. end)
  4316. servwin:drawButton(1, 'Remove Sounds', function()
  4317.     tk.rcm(game, 'Sound')
  4318. end)
  4319. servwin:addSpacing()
  4320. servwin:drawButton(1, 'Break All', function()
  4321.     workspace:BreakJoints(workspace:GetChildren())
  4322. end)
  4323. local gravInp
  4324. servwin:drawButton(1/3, 'Gravity', function()
  4325.     if not tonumber(gravInp.Text) then return end
  4326.     workspace.Gravity = tonumber(gravInp.Text)
  4327. end)
  4328. gravInp = servwin:drawTextBox(2/3, '')
  4329. servwin:addSpacing()
  4330. servwin:drawButton(1, 'Reset Lighting', function()
  4331.     local l = game:service'Lighting'
  4332.     l.Ambient = Color3.new(0, 0, 0)
  4333.     l.Brightness = 1
  4334.     l.GlobalShadows = true
  4335.     l.Outlines = true
  4336.     l.FogEnd = 100000
  4337.     l.FogStart = 0
  4338.     l:SetMinutesAfterMidnight(12*60)
  4339. end)
  4340. local brightInp
  4341. servwin:drawButton(1/3, 'Brightness', function()
  4342.     if not tonumber(brightInp.Text) then return end
  4343.     game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
  4344. end)
  4345. brightInp = servwin:drawTextBox(2/3, '100')
  4346. local fogInp
  4347. servwin:drawButton(1/3, 'Fog', function()
  4348.     if not tonumber(fogInp.Text) then return end
  4349.     game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
  4350. end)
  4351. fogInp = servwin:drawTextBox(2/3, '0')
  4352. local timeInp
  4353. servwin:drawButton(1/3, 'Hour', function()
  4354.     if not tonumber(timeInp.Text) then return end
  4355.     game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
  4356. end)
  4357. timeInp = servwin:drawTextBox(2/3, '12')
  4358. servwin:addSpacing()
  4359. -- private server crap
  4360. local privateToggle
  4361. local privStatus = false
  4362. privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
  4363.     if privStatus == false then
  4364.         privStatus = true
  4365.         privateToggle.Text = 'Private Server ON'
  4366.         topkek.banmgr.makePrivate()
  4367.     else
  4368.         privateToggle.Text = 'Private Server OFF'
  4369.         topkek.banmgr.unprivate()
  4370.     end
  4371. end)
  4372. servwin:addSpacing()
  4373. servwin:drawText(1, 'Whitelist')
  4374. local plrAddInp
  4375. servwin:drawButton(1/3, 'Add', function()
  4376.     topkek.banmgr.doWhitelist(plrAddInp.Text)
  4377.     ReorderWL()
  4378. end)
  4379. plrAddInp = servwin:drawTextBox(2/3, '')
  4380. wlCont = servwin:drawScrollingContainer(100)
  4381. function ReorderWL()
  4382.     local wl = topkek.banmgr.whitelist
  4383.     for i,v in pairs(wlCont:GetChildren()) do
  4384.         v:Destroy()
  4385.     end
  4386.     wlCont:setDrawY(3)
  4387.     for i,v in pairs(wl) do
  4388.         wlCont:drawText(2/3, v)
  4389.         wlCont:drawButton(1/3, 'Remove', function()
  4390.             topkek.banmgr.unwhitelist(v)
  4391.             ReorderWL()
  4392.         end)
  4393.     end
  4394. end
  4395. ReorderWL()
  4396. --// LOCALPLAYER //--
  4397. local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
  4398. lpwin:drawButton(1, 'Reset Camera', function()
  4399.     game.Workspace.CurrentCamera:remove()
  4400.     wait(.1)
  4401.     game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or
  4402.         game.Workspace[topkek.lplr.Name].Humanoid
  4403.     game.Workspace.CurrentCamera.CameraType = "Custom"
  4404. end)
  4405. lpwin:drawButton(1, 'Respawn', function()
  4406.     local a1 = Instance.new("Model", game:service'Workspace')
  4407.     local a2 = Instance.new("Part", game:service'Workspace')
  4408.     a2.CanCollide = true
  4409.     a2.Anchored = true
  4410.     a2.CFrame = CFrame.new(10000, 10000, 10000)
  4411.     a2.Name = "Torso"
  4412.     local a3 = Instance.new("Humanoid", a1)
  4413.     a3.MaxHealth=100;a3.Health=100
  4414.     topkek.lplr.Character = a1
  4415.     a3.Health=0
  4416. end)
  4417. lpwin:drawButton(1, 'Rejoin', function()
  4418.     game:GetService('TeleportService'):Teleport(game.PlaceId)
  4419. end)
  4420. lpwin:addSpacing()
  4421. lpwin:drawButton(1/2, 'God', function()
  4422.     if topkek.lplr.Character:FindFirstChild("Humanoid") then
  4423.         topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  4424.         topkek.lplr.Character.Humanoid.Health = math.huge
  4425.     end
  4426. end)
  4427. lpwin:drawButton(1/2, 'Semigod', function()
  4428.     if topkek.lplr.Character:FindFirstChild("Humanoid") then
  4429.         topkek.lplr.Character.Humanoid.MaxHealth = 9e9
  4430.         topkek.lplr.Character.Humanoid.Health = 9e9
  4431.     end
  4432. end)
  4433. Loopgod = false
  4434. lpwin:drawButton(1, 'Loopgod', function()
  4435.     if Loopgod == false then
  4436.         Loopgod = true
  4437.         spawn(function()
  4438.             repeat
  4439.                 topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  4440.                 topkek.lplr.Character.Humanoid.Health = math.huge
  4441.                 wait()
  4442.             until Loopgod == false
  4443.         end)   
  4444.     else
  4445.         Loopgod = false
  4446.     end
  4447. end)
  4448. lpwin:addSpacing()
  4449. plrwin:addSpacing()
  4450. local Lev, Clip, Fly
  4451. lpwin:drawButton(1/2, 'Levitate', function()
  4452.     if Lev == true then
  4453.         Lev = false
  4454.         return
  4455.     end
  4456.     Lev = true
  4457.     repeat
  4458.         topkek.lplr.Character.Humanoid:ChangeState(10)
  4459.         wait(0)
  4460.     until Lev == false
  4461. end)
  4462. lpwin:drawButton(1/2, 'Noclip', function()
  4463.     if Clip == true then
  4464.         Clip = false
  4465.         return
  4466.     end
  4467.     Clip = true
  4468.     game:GetService("RunService").Stepped:connect(function()
  4469.         tk.gt(topkek.lplr).CanCollide = not Clip
  4470.         topkek.lplr.Character.Head.CanCollide = not Clip
  4471.         topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  4472.         if topkek.lplr.Character.UpperTorso then
  4473.             topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  4474.         end
  4475.     end)
  4476.     topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
  4477.         tk.gt(topkek.lplr).CanCollide = not Clip
  4478.         topkek.lplr.Character.Head.CanCollide = not Clip
  4479.         topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  4480.         if topkek.lplr.Character.UpperTorso then
  4481.             topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  4482.         end
  4483.     end)
  4484. end)
  4485. lpwin:drawButton(1/2, 'Fly', function()
  4486.     if Fly == true then
  4487.         Fly = false
  4488.         return
  4489.     end
  4490.     Fly = true
  4491.   local mouse=game.Players.LocalPlayer:GetMouse''
  4492.   localplayer=game.Players.LocalPlayer
  4493.   game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  4494.   local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  4495.   local speed=0
  4496.   local keys={a=false,d=false,w=false,s=false}
  4497.   local e1
  4498.   local e2
  4499.   local function start()
  4500.    local pos = Instance.new("BodyPosition",torso)
  4501.    local gyro = Instance.new("BodyGyro",torso)
  4502.    pos.Name="EPIXPOS"
  4503.    pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  4504.    pos.position = torso.Position
  4505.    gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  4506.    gyro.cframe = torso.CFrame
  4507.    repeat
  4508.     wait()
  4509.     localplayer.Character.Humanoid.PlatformStand=true
  4510.     local new=gyro.cframe - gyro.cframe.p + pos.position
  4511.     if not keys.w and not keys.s and not keys.a and not keys.d then
  4512.      speed=1
  4513.     end
  4514.     if keys.w then
  4515.      new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  4516.      speed=speed+0.01
  4517.     end
  4518.     if keys.s then
  4519.      new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  4520.      speed=speed+0.01
  4521.     end
  4522.     if keys.d then
  4523.      new = new * CFrame.new(speed,0,0)
  4524.      speed=speed+0.01
  4525.     end
  4526.     if keys.a then
  4527.      new = new * CFrame.new(-speed,0,0)
  4528.      speed=speed+0.01
  4529.     end
  4530.     if speed>5 then
  4531.      speed=5
  4532.     end
  4533.     pos.position=new.p
  4534.     if keys.w then
  4535.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  4536.     elseif keys.s then
  4537.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  4538.     else
  4539.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  4540.     end
  4541.    until not Fly
  4542.    if gyro then gyro:Destroy() end
  4543.    if pos then pos:Destroy() end
  4544.    flying=false
  4545.    localplayer.Character.Humanoid.PlatformStand=false
  4546.    speed=0
  4547.   end
  4548.   e1=mouse.KeyDown:connect(function(key)
  4549.    if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  4550.    if key=="w" then
  4551.     keys.w=true
  4552.    elseif key=="s" then
  4553.     keys.s=true
  4554.    elseif key=="a" then
  4555.     keys.a=true
  4556.    elseif key=="d" then
  4557.     keys.d=true
  4558.    end
  4559.   end)
  4560.   e2=mouse.KeyUp:connect(function(key)
  4561.    if key=="w" then
  4562.     keys.w=false
  4563.    elseif key=="s" then
  4564.     keys.s=false
  4565.    elseif key=="a" then
  4566.     keys.a=false
  4567.    elseif key=="d" then
  4568.     keys.d=false
  4569.    end
  4570.   end)
  4571.   start()
  4572. end)
  4573. lpwin:drawButton(1/2, 'Highjump', function()
  4574.     local thrust = Instance.new("BodyVelocity")
  4575.     game:GetService('UserInputService').InputBegan:connect(function(i, b)
  4576.         if i.KeyCode == Enum.KeyCode.Space then
  4577.             print("Got jump")
  4578.             coroutine.resume(coroutine.create(function()
  4579.                 thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  4580.                 thrust.velocity = Vector3.new(0,50,0)
  4581.                 thrust.maxForce = Vector3.new(0,4e+050,0)
  4582.                 wait(0.2)
  4583.                 thrust.Parent = nil
  4584.             end))
  4585.         end
  4586.     end)
  4587. end)
  4588. lpwin:addSpacing()
  4589. local apprInp
  4590. lpwin:drawButton(1/3, 'Appearance', function()
  4591.     local id = 0
  4592.     if tonumber(apprInp.Text) then
  4593.         id = tonumber(apprInp.Text)
  4594.     else
  4595.         id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
  4596.     end
  4597.     if topkek.lplr.Character:FindFirstChild("Humanoid") then
  4598.         topkek.lplr.Character.Humanoid.Health = 0
  4599.     end
  4600.     topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  4601. end)
  4602. apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
  4603. local teamInp
  4604. lpwin:drawButton(1/3, 'Team', function()
  4605.     topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
  4606. end)
  4607. teamInp = lpwin:drawTextBox(2/3, 'Bright red')
  4608. lpwin:drawButton(1/2, 'Naked', function()
  4609.     topkek.lplr:ClearCharacterAppearance()
  4610. end)
  4611. lpwin:drawButton(1/2, 'Neutral', function()
  4612.     topkek.lplr.Neutral = true
  4613. end)
  4614. lpwin:addSpacing()
  4615. lpwin:drawButton(1/2, 'Orb', function()
  4616.     game.Players.LocalPlayer.Character = nil
  4617.     --lp:Destroy()
  4618.     local cam = game.Workspace.CurrentCamera
  4619.     local m = Instance.new("Model", game.Workspace)
  4620.     m.Name = game.Players.LocalPlayer.Name
  4621.     local hum = Instance.new("Humanoid", m)
  4622.     hum.Health = 0
  4623.     hum.MaxHealth = 0
  4624.     local orb = Instance.new("Part", m)
  4625.     orb.Size = Vector3.new(1, 1, 1)
  4626.     orb.Shape = "Ball"
  4627.     orb.Name = "Head"
  4628.     orb.Anchored = true
  4629.     orb.CanCollide = true
  4630.     orb.BottomSurface = Enum.SurfaceType.Smooth
  4631.     orb.TopSurface = Enum.SurfaceType.Smooth
  4632.     orb.Transparency = 0
  4633.     spawn(function()
  4634.         while true do
  4635.             wait(0.1)
  4636.             if orb then
  4637.                 orb.BrickColor = BrickColor.Random()
  4638.             else break end
  4639.         end
  4640.     end)
  4641.     cam.CameraSubject = orb
  4642.     cam.CameraType = Enum.CameraType.Fixed
  4643.     game:GetService("RunService").RenderStepped:connect(function()
  4644.         orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  4645.     end)
  4646.     game.Players.LocalPlayer.Chatted:connect(function(a)
  4647.         game:GetService("Chat"):Chat(orb, a)
  4648.     end)
  4649. end)
  4650. lpwin:drawButton(1/2, 'Freecam', function()
  4651.     local cam = game.Workspace.CurrentCamera
  4652.     cam.CameraType = "Fixed"
  4653.     cam.CameraSubject = nil
  4654.     topkek.lplr.Character = nil
  4655. end)
  4656. lpwin:drawButton(1/2, 'NoGrav', function()
  4657.     if topkek.lplr.Character then
  4658.         for x,m in pairs(topkek.lplr.Character:GetChildren()) do
  4659.             if m:IsA("BasePart") then
  4660.                 local bf = Instance.new("BodyForce", m)
  4661.                 bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  4662.             end
  4663.             if m:IsA("Hat") or m:IsA("Accessory") then
  4664.                 if m:findFirstChild("Handle") then
  4665.                     local bf = Instance.new("BodyForce", m.Handle)
  4666.                     bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  4667.                 end
  4668.             end
  4669.         end
  4670.     end
  4671. end)
  4672. lpwin:drawButton(1/2, 'Trowel', function()
  4673.     topkek.tools.util.trowel()
  4674. end)
  4675. lpwin:addSpacing()
  4676. lpwin:drawButton(1/2, 'Fedora', function()
  4677.     local hats={
  4678.         98346834,
  4679.         215751161,
  4680.         119916949,
  4681.         72082328,
  4682.         147180077,
  4683.         100929604,
  4684.         63043890,
  4685.         1285307,
  4686.         1029025,
  4687.         334663683,
  4688.         259423244
  4689.     }
  4690.     game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
  4691. end)
  4692. lpwin:drawButton(1/2, 'Rainbow Name', function()
  4693.     topkek.lplr.Neutral = false
  4694.     repeat
  4695.         wait()
  4696.         topkek.lplr.TeamColor = BrickColor.Random()
  4697.     until not topkek.lplr.Character.Humanoid
  4698. end)
  4699. local tagInp
  4700. lpwin:drawButton(1/3, 'Tag', function()
  4701.     local len = 10
  4702.     local bb = Instance.new("BillboardGui")
  4703.     bb.Parent = topkek.lplr.Character.Head
  4704.     bb.Adornee = topkek.lplr.Character.Head
  4705.     bb.AlwaysOnTop = true
  4706.     bb.Enabled = true
  4707.     bb.Size = UDim2.new(len, 0, 1.5, 0)
  4708.     bb.Name = "tag"
  4709.     bb.StudsOffset = Vector3.new(0, 3, 0)
  4710.     --local fr = Instance.new("Frame")
  4711.     --fr.Parent = bb
  4712.     --fr.Size = UDim2.new(1, 0, 1, 0)
  4713.     --fr.Style = Enum.FrameStyle.RobloxRound
  4714.     local tl = Instance.new("TextLabel")
  4715.     tl.Parent = bb
  4716.     tl.Font = Enum.Font.Code
  4717.     tl.BackgroundTransparency = 1
  4718.     tl.TextScaled = true
  4719.     tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  4720.     tl.Size = UDim2.new(1, 0, 1, 0)
  4721.     tl.Text = tagInp.Text
  4722.     tl.Name = "trutag"
  4723.     tl.Visible = true
  4724.     tl.ZIndex = 2
  4725. end)
  4726. tagInp = lpwin:drawTextBox(2/3, '')
  4727. --// SCRIPTS //--
  4728. --local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
  4729. --local search = scriptwin:drawTextBox(1,'')
  4730. --local origy = scriptwin:getDrawY()
  4731. --scriptwin:addSpacing()
  4732. --scriptwin:addSpacing()
  4733. --local scripts = game:GetObjects("rbxassetid://376553985")[1]
  4734. --local container = {}
  4735. --function MakeList(condition)
  4736. --  for i,v in pairs(scriptwin:GetChildren()) do
  4737.     --  if v.Name == "Script" then
  4738.     --      v:Destroy()
  4739.     --  end
  4740. --  end
  4741.     --scriptwin:setDrawY(origy)
  4742.     --for i, v in pairs(scripts:GetChildren()) do
  4743.     --  if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
  4744.         --  local scr = scriptwin:drawButton(1, v.Name, function()
  4745.     --          spawn(function() loadstring(v.Source)() end)
  4746.     --      end, 25)
  4747.     --      scr.Name = 'Script'
  4748.     --  end
  4749. --  end
  4750. --end
  4751. --game:GetService("UserInputService").InputChanged:connect(function(inp)
  4752. --  if inp.UserInputType == Enum.UserInputType.TextInput then
  4753.     --  if search:IsFocused() then
  4754.     --      MakeList(search.Text)
  4755.     --  end
  4756.     --end
  4757. --end)
  4758. --MakeList('')
  4759. --// DESTRUCTION // --
  4760. local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
  4761. local decals, seldec = destwin:drawScrollingContainer(100)
  4762. seldec = destwin:drawText(1, 'Selected Decal: None')
  4763. cursel = nil
  4764. local decs = {
  4765.     {'Rain', '574772793'},
  4766.     {'Robbie', '574773630'},
  4767.     {'Pepe', '244905904'},
  4768.     {'Troll Face', '48308661'},
  4769.     {'Jeff', '109129888'},
  4770.     {'Shrek', '170539018'},
  4771.     {'Doge', '133720697'},
  4772.     {'Dat Boi', '409578848'},
  4773. }
  4774. for _, v in pairs(decs) do
  4775.     local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
  4776.     topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  4777. end
  4778. destwin:drawButton(1, 'Spam Decal', function()
  4779.     if cursel ~= nil then
  4780.         topkek.tools.util.recurseDecal(tonumber(cursel))
  4781.     end
  4782. end)
  4783. destwin:drawButton(1, 'Spam Particles', function()
  4784.     if cursel ~= nil then
  4785.         topkek.tools.util.recurseParticles(tonumber(cursel))
  4786.     end
  4787. end)
  4788. destwin:drawButton(1, 'Spam Both', function()
  4789.     if cursel ~= nil then
  4790.         topkek.tools.util.recurseUltimate(tonumber(cursel))
  4791.     end
  4792. end)
  4793. destwin:drawButton(1, 'Rollback', function()
  4794.     tk.rcm(workspace, 'Decal')
  4795.     tk.rcm(workspace, 'ParticleEmitter')
  4796. end)
  4797. destwin:addSpacing()
  4798. destwin:drawButton(1, '666', function()
  4799.     for i,v in next,workspace:children''do
  4800.         if(v:IsA'BasePart')then
  4801.         me=v;
  4802.         bbg=Instance.new('BillboardGui',me);
  4803.         bbg.Name='stuf';
  4804.         bbg.Adornee=me;
  4805.         bbg.Size=UDim2.new(2.5,0,2.5,0)
  4806.         --bbg.StudsOffset=Vector3.new(0,2,0)
  4807.         tlb=Instance.new'TextLabel';
  4808.         tlb.Text='666 666 666 666 666 666';
  4809.         tlb.Font='SourceSansBold';
  4810.         tlb.FontSize='Size48';
  4811.         tlb.TextColor3=Color3.new(1,0,0);
  4812.         tlb.Size=UDim2.new(1.25,0,1.25,0);
  4813.         tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  4814.         tlb.BackgroundTransparency=1;
  4815.         tlb.Parent=bbg;
  4816.         end;end;
  4817.         --coroutine.wrap(function()while wait''do
  4818.           s=Instance.new'Sound';
  4819.           s.Parent=workspace;
  4820.           s.SoundId='rbxassetid://152840862';
  4821.           s.Pitch=1;
  4822.           s.Volume=1;
  4823.           s.Looped=true;
  4824.           s:play();
  4825.           --end;end)();
  4826.           function xds(dd)
  4827.             for i,v in next,dd:children''do
  4828.               if(v:IsA'BasePart')then
  4829.                 v.BrickColor=BrickColor.new'Really black';
  4830.                 v.TopSurface='Smooth';
  4831.                 v.BottomSurface='Smooth';
  4832.                 s=Instance.new('SelectionBox',v);
  4833.                 s.Adornee=v;
  4834.                 s.Color=BrickColor.new'Really red';
  4835.                 a=Instance.new('PointLight',v);
  4836.                 a.Color=Color3.new(1,0,0);
  4837.                 a.Range=15;
  4838.                 a.Brightness=5;
  4839.                 f=Instance.new('Fire',v);
  4840.                 f.Size=19;
  4841.                 f.Heat=22;
  4842.                 end;
  4843.                 game.Lighting.TimeOfDay=0;
  4844.                 game.Lighting.Brightness=0;
  4845.                 game.Lighting.ShadowColor=Color3.new(0,0,0);
  4846.                 game.Lighting.Ambient=Color3.new(1,0,0);
  4847.                 game.Lighting.FogEnd=200;
  4848.                 game.Lighting.FogColor=Color3.new(0,0,0);
  4849.             local dec = 'http://www.roblox.com/asset/?id=19399245';
  4850.                 local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  4851.                 --coroutine.wrap(function()
  4852.                 --for _,__ in pairs(fac) do
  4853.                 --local ddec = Instance.new("Decal", v)
  4854.                 --ddec.Face = __
  4855.                 --ddec.Texture = dec
  4856.             --end end)()
  4857.                 if #(v:GetChildren())>0 then
  4858.                        xds(v)
  4859.                   end
  4860.              end
  4861.         end
  4862.     xds(game.Workspace)
  4863. end)
  4864. destwin:drawButton(1, 'Troll', function()
  4865.     topkek.tools.util.recurseUltimate('48308661')
  4866.     tk.play(154664102)
  4867. end)
  4868. destwin:addSpacing()
  4869. destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
  4870.     local materiallist =
  4871.     {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  4872.         Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  4873.         Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  4874.         Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  4875.         Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  4876.     local function r(where)
  4877.         for _,v in pairs (where:GetChildren()) do
  4878.         if v:IsA("BasePart") then
  4879.         spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait()   end end) end r(v) end end r(workspace)
  4880. end)
  4881. destwin:drawButton(1/2,'Materialize',function()
  4882.     local function r(where)
  4883.     for _,v in pairs (where:GetChildren()) do
  4884.     if v:IsA("BasePart") then
  4885.     spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait()   end end) end r(v) end end r(workspace)
  4886. end)
  4887. destwin:drawButton(1/2,'Meshify',function()
  4888.     local enums={
  4889.         Enum.MeshType.Head;
  4890.         Enum.MeshType.Torso;
  4891.         Enum.MeshType.Wedge;
  4892.         Enum.MeshType.Brick;
  4893.         Enum.MeshType.Sphere;
  4894.         Enum.MeshType.Cylinder;
  4895.     }
  4896.     tk.rcf('BasePart',function(o)
  4897.         local mesh = Instance.new('SpecialMesh', o)
  4898.         mesh.MeshType = enums[math.random(1,#enums)]
  4899.     end)
  4900. end)
  4901. destwin:drawButton(1/2,'Loop-Meshify',function()
  4902.     coroutine.wrap(function()
  4903.         while true do
  4904.             local enums={
  4905.                 Enum.MeshType.Head;
  4906.                 Enum.MeshType.Torso;
  4907.                 Enum.MeshType.Wedge;
  4908.                 Enum.MeshType.Brick;
  4909.                 Enum.MeshType.Sphere;
  4910.                 Enum.MeshType.Cylinder;
  4911.             }
  4912.             tk.rcf('BasePart',function(o)
  4913.                 if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  4914.                 local mesh = Instance.new('SpecialMesh', o)
  4915.                 mesh.MeshType = enums[math.random(1,#enums)]
  4916.             end)
  4917.             wait(0.5)
  4918.         end
  4919.     end)()
  4920. end)
  4921. destwin:addSpacing()
  4922. destwin:drawButton(1, 'Rotations', function()
  4923.     tk.rcf('BasePart', function(o)
  4924.         o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  4925.     end)
  4926. end)
  4927. destwin:drawButton(1, 'Collisions', function()
  4928.     tk.rcf('BasePart', function(o)
  4929.         o.CanCollide = false
  4930.     end)
  4931. end)
  4932. destwin:drawButton(1, 'Velocity', function()
  4933.     tk.rcf('BasePart', function(o)
  4934.         o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  4935.     end)
  4936. end)
  4937. destwin:drawButton(1, 'Invisiblity', function()
  4938.     tk.rcf('BasePart', function(o)
  4939.         o.Transparency = 1
  4940.     end)
  4941. end)
  4942. destwin:drawButton(1, 'BreakJoints', function()
  4943.     tk.rcf('Model', function(o)
  4944.         o:BreakJoints()
  4945.     end)
  4946. end)
  4947. destwin:drawButton(1, 'Forces', function()
  4948.     tk.rcf('BasePart', function(o)
  4949.         local bf = Instance.new("BodyForce", o)
  4950.         bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
  4951.     end)
  4952. end)
  4953. destwin:drawButton(1, 'Brightness', function()
  4954.     tk.rcf('BasePart', function(o)
  4955.         local light = Instance.new("SpotLight", o)
  4956.         light.Brightness = 9e9
  4957.         light.Range = 60
  4958.     end)
  4959. end)
  4960. --// CATALOG //--
  4961. local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
  4962. local page, currentkeyword = 1, ""
  4963. local searchbar, search, makeCatalog, res = 0, 0, 0, {}
  4964. local searchbar = catwin:drawTextBox(2/3,'')
  4965. local search = catwin:drawButton(1/3, 'Search', function()
  4966.     page = 1
  4967.     currentkeyword = searchbar.Text
  4968.     makeCatalog(currentkeyword, page)
  4969. end)
  4970. local previous = catwin:drawButton(1/2, 'Previous Page', function()
  4971.     if page > 1 then
  4972.         page = page - 1
  4973.         makeCatalog(currentkeyword, page)
  4974.     end
  4975. end)
  4976. local previous = catwin:drawButton(1/2, 'Next Page', function()
  4977.     if page >= 1 then
  4978.         page = page + 1
  4979.         makeCatalog(currentkeyword, page)
  4980.     end
  4981. end)
  4982. local catalog_start = catwin:getDrawY()
  4983. function split(str,divider)
  4984.     local found = ""
  4985.     local results = {}
  4986.     for i=1,string.len(str) do
  4987.         if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
  4988.             table.insert(results, found)
  4989.             found = ""
  4990.         else
  4991.             found = found..string.sub(str,i,i)
  4992.         end
  4993.     end
  4994.     table.insert(results, found)
  4995.     return results
  4996. end
  4997. function GetName(nm)
  4998.     local spl = split(nm," ")
  4999.     local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
  5000.     return (a.." "..b.." "..c.." "..d.." "..e)
  5001. end
  5002. --function makeCatalog(keyword, page)
  5003.     --local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
  5004.     --local results = game:HttpGet(endpoint, true)
  5005.     --local parse = game:GetService('HttpService'):JSONDecode(results)
  5006.     --for i, v in pairs(res) do
  5007.         --v:Destroy()
  5008.     --end
  5009.     --catwin:setDrawY(catalog_start)
  5010.     --catwin:addSpacing()
  5011.     --for i, v in pairs(parse) do
  5012.         --local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
  5013.         --local below = topkek.tools.util.Object("TextButton", {
  5014.         --  Parent = img;
  5015.         --  BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
  5016.         --  BorderSizePixel = 0;
  5017.         --  Position = UDim2.new(0, -45, 1, 5);
  5018.         --  Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
  5019.         --  Font = 'SourceSans';
  5020.         --  FontSize = 'Size14';
  5021.         --  Text = GetName(v['Name']);
  5022.         --  TextSize = 14;
  5023.         --  TextColor3 = color3(199, 199, 199);
  5024.         --  TextStrokeTransparency = 0.5;
  5025.         --  ClipsDescendants = true;
  5026.         --})
  5027.     --  below.MouseButton1Down:connect(function()
  5028.         --  local Model = Instance.new("Model", workspace)
  5029.         --  game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
  5030.         --  Model:MakeJoints()
  5031.         --  Model:MoveTo(topkek.lplr.Character.Head.Position)
  5032.         --end)
  5033.         --img.Size=UDim2.new(0,50,0,50)
  5034.         --img.Position=img.Position+UDim2.new(0,45,0,0)
  5035.     --  if (i%2)==0 then
  5036.         --  catwin:setDrawY(catwin:getDrawY() + 25)
  5037.         --end
  5038.     --  if (i==10) then
  5039.         --  catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
  5040.     --  end
  5041.     --  table.insert(res,img)
  5042.     --end
  5043. --end
  5044. --makeCatalog("", 1)
  5045. --// CMDS //--
  5046. cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
  5047. count = 0
  5048. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  5049. cmdwin:drawText(1, tostring(count) .. " Commands")
  5050. cmdwin:drawText(1, 'Chat Prefix: /')
  5051. local cmdlist = cmdwin:drawScrollingContainer(260)
  5052. for i, v in pairs(cmd.commands.fmtstore) do
  5053.     local xfmt = {}
  5054.     local str = "  ;" .. i .. " "
  5055.     for form in v:gmatch("[^%%]+") do
  5056.         if form ~= 'cmd' then
  5057.             if form == 'inf' then form = 'str' end
  5058.             str = str .. "{" .. form .. "} "
  5059.         end
  5060.     end
  5061.     cmdlist:drawText(1, str)
  5062. end
  5063. --// MUSIC //--
  5064. musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
  5065. Sounds = {
  5066.     {"caramell", 2303479};
  5067.     {"epic", 27697743};
  5068.     {"rick", 2027611}; 
  5069.     {"halo", 1034065};
  5070.     {"pokemon", 1372261};
  5071.     {"cursed", 1372257};
  5072.     {"extreme", 11420933};
  5073.     {"awaken", 27697277};
  5074.     {"alone", 27697392};
  5075.     {"mario", 1280470};
  5076.     {"choir", 1372258};
  5077.     {"chrono" ,1280463};
  5078.     {"dotr", 11420922};
  5079.     {"entertain", 27697267};
  5080.     {"fantasy", 1280473};
  5081.     {"final", 787};
  5082.     {"organ", 11231513};
  5083.     {"tunnel", 9650822}
  5084. }
  5085.  
  5086. local cursel
  5087. local xcursel = 0
  5088. scr = musicwin:drawScrollingContainer(230)
  5089. for i, v in pairs(Sounds) do
  5090.     scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
  5091.         cursel.Text = "Currently Selected - " .. v[1]
  5092.         xcursel = v[2]
  5093.     end)
  5094. end
  5095.  
  5096. cursel = musicwin:drawText(1, "Currently Selected - None")
  5097. local setInp
  5098. musicwin:drawButton(1/3, "Set", function()
  5099.     if tonumber(setInp.Text) then
  5100.         cursel.Text = "Currently Selected - " .. setInp.Text
  5101.         xcursel = tonumber(setInp.Text)
  5102.     end
  5103. end)
  5104. setInp = musicwin:drawTextBox(2/3, '')
  5105. musicwin:drawButton(1, "Play", function()
  5106.     tk.rcm(game, 'Sound')
  5107.     tk.play(xcursel)   
  5108. end)
  5109. musicwin:drawButton(1, "Stop", function()
  5110.     tk.rcm(game, 'Sound')
  5111. end)
  5112. --// FACES //--
  5113. facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
  5114. local faces = {
  5115.     {name='Rofl',id=47595647},
  5116.     {name='Sparta',id=74142203},
  5117.     {name='UJelly',id=48989071},
  5118.     {name='Troll',id=45120559},
  5119.     {name='Horse',id=62079221},
  5120.     {name='Angry',id=48258623},
  5121.     {name='Okey',id=62830600},
  5122.     {name='Yeaw',id=53646377},
  5123.     {name='Here',id=62677045},
  5124.     {name='Har',id=48260066},
  5125.     {name='Baby Sun',id=47596170},
  5126.     {name='LOL',id=48293007},
  5127.     {name='Sad',id=53645378},
  5128.     {name='Joseph Stalin',id=48290678},
  5129.     {name='Doge',id=130742396},
  5130.     {name='Forever Alone',id=156886272},
  5131.     {name='RickRoll',id=5104631},
  5132.     {name='Jim Carrey',id=74885351},
  5133.     {name='Meh IRL',id=237553381}
  5134. }
  5135. local cursel, xcursel = nil, 0
  5136. faclist = facwin:drawScrollingContainer(260)
  5137. for i,v in pairs(faces) do
  5138.     local btn = faclist:drawButton(1, v['name'], function()
  5139.         xcursel = v['id']
  5140.         cursel.Text = 'Currently Selected: ' .. v['name']
  5141.     end)
  5142.     topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
  5143. end
  5144. cursel = facwin:drawText(1, 'Currently Selected: None')
  5145. facwin:drawButton(1, 'Wear', function()
  5146.     if not (xcursel == 0) then
  5147.         if topkek.lplr.Character then
  5148.             tk.rcm(topkek.lplr.Character, 'Accessory')
  5149.             tk.rcm(topkek.lplr.Character, 'Hat')
  5150.             topkek.tools.util.applyFace(xcursel)
  5151.         end
  5152.     end
  5153. end)
  5154. --// SETTINGS // --
  5155. setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
  5156. setwin:drawText(1, 'Patch: ' .. topkek.patch)
  5157. setwin:drawText(1, 'Devnote: foh skids')
  5158. setwin:drawText(1, [[
  5159.     === CREDITS ===
  5160.    
  5161.     Variable - retard that created Stella
  5162.     KrystalTeam - provided critical design tips & advice
  5163.     Circumvention - lol joey salads
  5164.    
  5165.     Thanks to everyone that supported T0PK3K 4.0!
  5166.    
  5167. ]], 260)
  5168. --// BANLIST //--
  5169. banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
  5170. local plrBanInp
  5171. banwin:drawButton(1/3, 'Add', function()
  5172.     topkek.settings.get()
  5173.     table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
  5174.     topkek.settings.write()
  5175.     UpdateBanlist()
  5176. end)
  5177. plrBanInp = banwin:drawTextBox(2/3, '')
  5178. banCont = banwin:drawScrollingContainer(288)
  5179. function UpdateBanlist(x)
  5180.     topkek.settings.get()
  5181.     local wl = x or topkek.settingsTable['Bans']
  5182.     for i,v in pairs(banCont:GetChildren()) do
  5183.         v:Destroy()
  5184.     end
  5185.     banCont:setDrawY(3)
  5186.     for i,v in pairs(wl) do
  5187.         banCont:drawText(2/3, v)
  5188.         banCont:drawButton(1/3, 'Remove', function()
  5189.             for x, m in pairs(wl) do
  5190.                 if m == v then
  5191.                     table.remove(topkek.settingsTable['Bans'], x)
  5192.                     topkek.settings.write()
  5193.                     UpdateBanlist()
  5194.                     topkek.banmgr.bans = topkek.settingsTable['Bans']
  5195.                 end
  5196.             end
  5197.         end)
  5198.     end
  5199. end
  5200. UpdateBanlist()
  5201. --// HATS //--
  5202. hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
  5203. local hats={   
  5204.     {name='Dominus Empyreus',id=21070012},
  5205.     {name='Dominus Vespertilio',id=96103379},
  5206.     {name='Dominus Infernus',id=31101391},
  5207.     {name='Dominus Rex',id=250395631},
  5208.     {name='Dominus Frigidus',id=48545806},
  5209.     {name='Dominus Astra',id=162067148},
  5210.     {name='Dominus Aureus',id=138932314},
  5211.     {name='DIY Dominus Empyreus',id=151789690},
  5212.     {name='Dominus Messor',id=64444871},
  5213.     {name='Demon Skeleton Wings',id=133554007},
  5214.     {name='Gilded Wings of Glory',id=250405532},
  5215.     {name='Majestic Ice Wings',id=188702967},
  5216.     {name='Black Wings',id=215719598},
  5217.     {name='Clockworks Shades',id=11748356},
  5218.     {name='Faerie Wings',id=19399896},
  5219.     {name='Orinthian Wings',id=223751505},
  5220.     {name='Clockworks Headphones',id=1235488},
  5221.     {name='Perfectly Legitimate Business Hat',id=19027209},
  5222.     {name='Sparkling Angel Wings',id=192557913},
  5223.     {name='Commander Crows Wings',id=133553855},
  5224.     {name='Sunfire Wings',id=158068470},
  5225.     {name='Royal Faerie Wings',id=119916756},
  5226.     {name='Wings of Freedom',id=164174048},
  5227.     {name='Firebrand Wings',id=128160626},
  5228.     {name='Frozen Wings',id=136758613},
  5229.     {name='Webbed Wings',id=120507280},
  5230.     {name='Gargoyle Wings',id=120507201},
  5231.     {name='Bat Wings',id=19399858},
  5232.     {name='Wings of Fire',id=136758532},
  5233.     {name='Headrow',id=1082935},
  5234.     {name='Rubber Duckie',id=9254254},
  5235.     {name='Valkyrie Helm',id=1365767},
  5236. {name='Hockey Mask',id=5161514}}
  5237. local searchi = hatwin:drawButton(1, '', function()end)
  5238. dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
  5239. function fixPlayerDropi()
  5240.     local t = {'All'}
  5241.     for i, v in pairs(game.Players:GetPlayers()) do
  5242.         table.insert(t, v.Name)
  5243.     end
  5244.     dropx.SetTable(t)
  5245. end
  5246. game.Players.PlayerAdded:connect(function()
  5247.     fixPlayerDropi()
  5248. end)
  5249. game.Players.PlayerRemoving:connect(function()
  5250.     fixPlayerDropi()
  5251. end)
  5252. local eval = 'All'
  5253. dropx.Changed(function(p) eval = p end)
  5254. fixPlayerDrop()
  5255.  
  5256. local hatInp
  5257. hatlist = hatwin:drawScrollingContainer(260)
  5258. for i,v in pairs(hats) do
  5259.     hatlist:drawButton(1, v['name'], function()
  5260.         hatInp.Text = tostring(v['id'])
  5261.     end)
  5262. end
  5263. hatwin:drawButton(1/3, 'Wear', function()
  5264.     local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
  5265.     tk.dp(eval, function(x)
  5266.         if x.Character then
  5267.             hat:Clone().Parent = x.Character
  5268.         end
  5269.     end)
  5270. end)
  5271.  
  5272.  
  5273. hatInp = hatwin:drawTextBox(2/3, '')
  5274. topkek.tools.animator.initialAnimation()
  5275. topkek.banmgr.init()
Add Comment
Please, Sign In to add comment