daily pastebin goal
14%
SHARE
TWEET

Untitled

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