ExploiterRoblox

TOPTEK CRACK SC^RIPT [ROBLOX] [TROLLING]

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