SHARE
TWEET

poopoo lol XDDXD

a guest Aug 20th, 2019 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local poopooGui = Instance.new("ScreenGui")
  5. local Menu = Instance.new("Frame")
  6. local Bar2 = Instance.new("Frame")
  7. local MainLogin = Instance.new("Frame")
  8. local Title = Instance.new("TextLabel")
  9. local UserBox = Instance.new("TextBox")
  10. local PassBox = Instance.new("TextBox")
  11. local LoginBut = Instance.new("TextButton")
  12. local open = Instance.new("TextButton")
  13. local MainGui = Instance.new("Frame")
  14. local GrabKnifeV3 = Instance.new("TextButton")
  15. local InkedMonster = Instance.new("TextButton")
  16. local Saness = Instance.new("TextButton")
  17. local NoobSwitcher = Instance.new("TextButton")
  18. local HandOrb = Instance.new("TextButton")
  19. local TopKek = Instance.new("TextButton")
  20. local MainGuiTitle = Instance.new("TextLabel")
  21. --Properties:
  22. poopooGui.Name = "poopooGui"
  23. poopooGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  24. poopooGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  25.  
  26. open.Name = "open"
  27. open.Parent = poopooGui
  28. open.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  29. open.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  30. open.Position = UDim2.new(-0.00989583507, 0, 0.482584804, 0)
  31. open.Size = UDim2.new(0, 278, 0, 87)
  32. open.Font = Enum.Font.SourceSans
  33. open.Text = "gui"
  34. open.TextColor3 = Color3.new(1, 1, 1)
  35. open.TextScaled = true
  36. open.TextSize = 14
  37. open.TextWrapped = true
  38.  
  39. MainGui.Name = "MainGui"
  40. MainGui.Parent = poopooGui
  41. MainGui.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  42. MainGui.BorderSizePixel = 0
  43. MainGui.Active = true
  44. MainGui.Draggable = true
  45. MainGui.Position = UDim2.new(0.059417069, 0, 0.0394243002, 0)
  46. MainGui.Size = UDim2.new(0, 508, 0, 461)
  47.  
  48. GrabKnifeV3.Name = "GrabKnifeV3"
  49. GrabKnifeV3.Parent = MainGui
  50. GrabKnifeV3.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  51. GrabKnifeV3.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
  52. GrabKnifeV3.BorderSizePixel = 5
  53. GrabKnifeV3.Position = UDim2.new(0.0600858405, 0, 0.0872340426, 0)
  54. GrabKnifeV3.Size = UDim2.new(0, 206, 0, 69)
  55. GrabKnifeV3.Font = Enum.Font.GothamSemibold
  56. GrabKnifeV3.Text = "Grab Knife V3"
  57. GrabKnifeV3.TextColor3 = Color3.new(1, 1, 1)
  58. GrabKnifeV3.TextScaled = true
  59. GrabKnifeV3.TextSize = 14
  60. GrabKnifeV3.TextWrapped = true
  61.  
  62. GrabKnifeV3.MouseButton1Down:connect(function()
  63.     --Made By Bartus2009_Bro
  64. --do not leak plz
  65.  
  66. CV="White"
  67.  
  68.     p = game.Players.LocalPlayer
  69.     char = p.Character
  70.     local txt = Instance.new("BillboardGui", char)
  71.     txt.Adornee = char .Head
  72.     txt.Name = "_status"
  73.     txt.Size = UDim2.new(2, 0, 1.2, 0)
  74.     txt.StudsOffset = Vector3.new(-9, 8, 0)
  75.     local text = Instance.new("TextLabel", txt)
  76.     text.Size = UDim2.new(10, 0, 7, 0)
  77.     text.FontSize = "Size24"
  78.     text.TextScaled = true
  79.     text.TextTransparency = 0
  80.     text.BackgroundTransparency = 1
  81.     text.TextTransparency = 0
  82.     text.TextStrokeTransparency = 1
  83.     text.Font = "Arcade"
  84.     text.TextStrokeColor3 = Color3.new(255,255,255)
  85.  
  86.     v=Instance.new("Part")
  87.     v.Name = "ColorBrick"
  88.     v.Parent=p.Character
  89.     v.FormFactor="Symmetric"
  90.     v.Anchored=true
  91.     v.CanCollide=false
  92.     v.BottomSurface="Smooth"
  93.     v.TopSurface="Smooth"
  94.     v.Size=Vector3.new(10,5,3)
  95.     v.Transparency=1
  96.     v.CFrame=char.Torso.CFrame
  97.     v.BrickColor=BrickColor.new(CV)
  98.     v.Transparency=1
  99.     text.TextColor3 = Color3.new(255,255,255)
  100.     v.Shape="Block"
  101.     text.Text = "Some Boi With Knife And Gun"
  102. wait(1 / 60)
  103.  
  104. -- Objects
  105.  
  106. local ScreenGui = Instance.new("ScreenGui")
  107. local Frame = Instance.new("Frame")
  108. local TextLabel = Instance.new("TextLabel")
  109. local TextButton = Instance.new("TextButton")
  110. local TextBox = Instance.new("TextBox")
  111. local TextButton_2 = Instance.new("TextButton")
  112.  
  113. -- Properties
  114.  
  115. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  116.  
  117. Frame.Parent = ScreenGui
  118. Frame.Active = true
  119. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  120. Frame.BorderColor3 = Color3.new(1, 0, 0)
  121. Frame.ClipsDescendants = true
  122. Frame.Draggable = true
  123. Frame.Position = UDim2.new(0, 52, 0, 340)
  124. Frame.Selectable = true
  125. Frame.Size = UDim2.new(0, 400, 0, 248)
  126. Frame.Visible = false
  127.  
  128. TextLabel.Parent = Frame
  129. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  130. TextLabel.BorderColor3 = Color3.new(1, 0, 0)
  131. TextLabel.Position = UDim2.new(0, 22, 0, 24)
  132. TextLabel.Size = UDim2.new(0, 359, 0, 50)
  133. TextLabel.Font = Enum.Font.SourceSans
  134. TextLabel.FontSize = Enum.FontSize.Size14
  135. TextLabel.Text = "Grab Knife GUI By Migas3456"
  136. TextLabel.TextColor3 = Color3.new(1, 0, 0)
  137. TextLabel.TextScaled = true
  138. TextLabel.TextSize = 14
  139. TextLabel.TextWrapped = true
  140.  
  141. TextButton.Parent = Frame
  142. TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
  143. TextButton.BorderColor3 = Color3.new(1, 0, 0)
  144. TextButton.Position = UDim2.new(0, 100, 0, 173)
  145. TextButton.Size = UDim2.new(0, 200, 0, 50)
  146. TextButton.Font = Enum.Font.SourceSans
  147. TextButton.FontSize = Enum.FontSize.Size14
  148. TextButton.Text = "Get Grab Knife"
  149. TextButton.TextColor3 = Color3.new(1, 1, 1)
  150. TextButton.TextSize = 14
  151. TextButton.TextWrapped = true
  152.  
  153. TextButton.MouseButton1Down:connect(function()
  154. --== Grab Knife script fixed by karstenes ==--
  155.  
  156. me = game.Players[TextBox.Text]
  157.  
  158. char = me.Character
  159.  
  160. selected = false
  161.  
  162. attacking = false
  163.  
  164. hurt = false
  165.  
  166. grabbed = nil
  167.  
  168. mode = "drop"
  169.  
  170. bloodcolors = {"Really red", "Bright red"}
  171.  
  172.  
  173.  
  174. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  175.  
  176. part.Parent = parent
  177.  
  178. part.formFactor = form
  179.  
  180. part.CanCollide = collide
  181.  
  182. part.Transparency = tran
  183.  
  184. part.Reflectance = ref
  185.  
  186. part.Size = Vector3.new(x,y,z)
  187.  
  188. part.BrickColor = BrickColor.new(color)
  189.  
  190. part.TopSurface = 0
  191.  
  192. part.BottomSurface = 0
  193.  
  194. part.Anchored = anchor
  195.  
  196. part.Locked = true
  197.  
  198. part:BreakJoints()
  199.  
  200. end
  201.  
  202.  
  203. function weld(w, p, p1, a, b, c, x, y, z)
  204.  
  205. w.Parent = p
  206.  
  207. w.Part0 = p
  208.  
  209. w.Part1 = p1
  210.  
  211. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  212.  
  213. end
  214.  
  215.  
  216. function mesh(mesh, parent, x, y, z, type)
  217.  
  218. mesh.Parent = parent
  219.  
  220. mesh.Scale = Vector3.new(x, y, z)
  221.  
  222. mesh.MeshType = type
  223.  
  224. end
  225.  
  226.  
  227. function remgui()
  228.  
  229. for _,v in pairs(me.PlayerGui:GetChildren()) do
  230.  
  231. if v.Name == "Modeshow" then
  232.  
  233. v:remove()
  234.  
  235. end
  236.  
  237. end
  238.  
  239. end
  240.  
  241.  
  242. function inform(text,delay)
  243.  
  244. remgui()
  245.  
  246. sc = Instance.new("ScreenGui")
  247.  
  248. sc.Parent = me.PlayerGui
  249.  
  250. sc.Name = "Modeshow"
  251.  
  252. bak = Instance.new("Frame",sc)
  253.  
  254. bak.BackgroundColor3 = Color3.new(1,1,1)
  255.  
  256. bak.Size = UDim2.new(0.94,0,0.1,0)
  257.  
  258. bak.Position = UDim2.new(0.03,0,0.037,0)
  259.  
  260. bak.BorderSizePixel = 0
  261.  
  262. gi = Instance.new("TextLabel",sc)
  263.  
  264. gi.Size = UDim2.new(0.92,0,0.09,0)
  265.  
  266. gi.BackgroundColor3 = Color3.new(0,0,0)
  267.  
  268. gi.Position = UDim2.new(0.04,0,0.042,0)
  269.  
  270. gi.TextColor3 = Color3.new(1,1,1)
  271.  
  272. gi.FontSize = "Size12"
  273.  
  274. gi.Text = text
  275.  
  276. coroutine.resume(coroutine.create(function()
  277.  
  278. wait(delay)
  279.  
  280. sc:remove()
  281.  
  282. end))
  283.  
  284. end
  285.  
  286.  
  287. if char:findFirstChild("Bricks",true) then
  288.  
  289. char:findFirstChild("Bricks",true):remove()
  290.  
  291. end
  292.  
  293.  
  294. bricks = Instance.new("Model",me.Character)
  295.  
  296. bricks.Name = "Bricks"
  297.  
  298.  
  299. --Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------
  300.  
  301.  
  302. rarm = char:findFirstChild("Right Arm")
  303.  
  304. larm = char:findFirstChild("Left Arm")
  305.  
  306. lleg = char:findFirstChild("Left Leg")
  307.  
  308. torso = char:findFirstChild("Torso")
  309.  
  310. hum = char:findFirstChild("Humanoid")
  311.  
  312.  
  313. righthold = Instance.new("Part")
  314.  
  315. prop(righthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  316.  
  317. w11 = Instance.new("Weld")
  318.  
  319. weld(w11, rarm, righthold, 0, 0, 0, 0, 1, 0)
  320.  
  321.  
  322. lefthold = Instance.new("Part")
  323.  
  324. prop(lefthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  325.  
  326. w12 = Instance.new("Weld")
  327.  
  328. weld(w12, larm, lefthold, 0, 0, 0, 0, 1, 0)
  329.  
  330.  
  331. hold = Instance.new("Part")
  332.  
  333. prop(hold, bricks, false, 0, 0, 0.2, 0.4, 0.7, "Really red", false, "Custom")
  334.  
  335. oh = Instance.new("Weld")
  336.  
  337. weld(oh, lleg, hold, -math.pi/1.4, 0, math.rad(35), 0.55, -0.9, 0.3)
  338.  
  339.  
  340. knife = Instance.new("Part")
  341.  
  342. prop(knife, bricks, false, 0, 0, 0.35, 1.1, 0.5, "Really black", false, "Custom")
  343.  
  344. orr = Instance.new("Weld")
  345.  
  346. weld(orr, hold, knife, 0, 0, 0, 0, 0.7, 0)
  347.  
  348. ar = Instance.new("Weld")
  349.  
  350. weld(ar, lefthold, nil, math.pi/2, 0, math.pi, 0, 0, 0)
  351.  
  352.  
  353.  
  354. blade = Instance.new("Part")
  355.  
  356. prop(blade, bricks, false, 0, 0, 0.1, 1.5, 0.4, "Medium grey", false, "Custom")
  357.  
  358. Instance.new("BlockMesh",blade).Scale = Vector3.new(0.3,1,1)
  359.  
  360. w2 = Instance.new("Weld")
  361.  
  362. weld(w2, knife, blade, 0, 0, 0, 0, -1.2, 0)
  363.  
  364.  
  365. blade2 = Instance.new("Part")
  366.  
  367. prop(blade2, bricks, false, 0, 0, 0.1, 0.5, 0.4, "Medium grey", false, "Custom")
  368.  
  369. mew = Instance.new("SpecialMesh",blade2)
  370.  
  371. mew.MeshType = "Wedge"
  372.  
  373. mew.Scale = Vector3.new(0.3,1,1)
  374.  
  375. w3 = Instance.new("Weld")
  376.  
  377. weld(w3, blade, blade2, 0, 0, 0, 0, -1, 0)
  378.  
  379.  
  380.  
  381.  
  382.  
  383. rb = Instance.new("Part")
  384.  
  385. prop(rb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  386.  
  387. w13 = Instance.new("Weld")
  388.  
  389. weld(w13, torso, rb, 0, 0, 0, -1.5, -0.5, 0)
  390.  
  391.  
  392. lb = Instance.new("Part")
  393.  
  394. prop(lb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")
  395.  
  396. w14 = Instance.new("Weld")
  397.  
  398. weld(w14, torso, lb, 0, 0, 0, 1.5, -0.5, 0)
  399.  
  400.  
  401. rw = Instance.new("Weld")
  402.  
  403. weld(rw, rb, nil, 0, 0, 0, 0, 0.5, 0)
  404.  
  405.  
  406. lw = Instance.new("Weld")
  407.  
  408. weld(lw, lb, nil, 0, 0, 0, 0, 0.5, 0)
  409.  
  410.  
  411. grabweld = nil
  412.  
  413. platlol = nil
  414.  
  415. lolhum = nil
  416.  
  417.  
  418. function touch(h)
  419.  
  420. if hurt then
  421.  
  422. if grabbed == nil then
  423.  
  424. hu = h.Parent:findFirstChild("Humanoid")
  425.  
  426. head = h.Parent:findFirstChild("Head")
  427.  
  428. torz = h.Parent:findFirstChild("Torso")
  429.  
  430. if hu ~= nil and head ~= nil and torz ~= nil and h.Parent.Name ~= name then
  431.  
  432. if hu.Health > 0 then
  433.  
  434. grabbed = torz
  435.  
  436. hu.PlatformStand = true
  437.  
  438. w = Instance.new("Weld")
  439.  
  440. weld(w,righthold,grabbed,math.pi/2,0.2,0,0.7,-0.9,-0.6)
  441.  
  442. grabweld = w
  443.  
  444. lolhum = hu
  445.  
  446. lolxd = true
  447.  
  448. platlol = lolxd
  449.  
  450. hu.Changed:connect(function(prop)
  451.  
  452. if prop == "PlatformStand" and platlol then
  453.  
  454. hu.PlatformStand = true
  455.  
  456. end
  457.  
  458. end)
  459.  
  460. end
  461.  
  462. end
  463.  
  464. end
  465.  
  466. end
  467.  
  468. end
  469.  
  470.  
  471. righthold.Touched:connect(touch)
  472.  
  473. lefthold.Touched:connect(touch)
  474.  
  475.  
  476. function bleed(part,po)
  477.  
  478. lol1 = math.random(5,30)/100
  479.  
  480. lol2 = math.random(5,30)/100
  481.  
  482. lol3 =math.random(5,30)/100
  483.  
  484. lol4 = math.random(1,#bloodcolors)
  485.  
  486. p = Instance.new("Part")
  487.  
  488. prop(p,part.Parent,false,0,0,lol1,lol2,lol3,bloodcolors[lol4],false,"Custom")
  489.  
  490. p.CFrame = part.CFrame * CFrame.new(math.random(-5,5)/10,po,math.random(-5,5)/10)
  491.  
  492. p.Velocity = Vector3.new(math.random(-190,190)/10,math.random(-190,190)/10,math.random(-190,190)/10)
  493.  
  494. p.RotVelocity = Vector3.new(math.random(-400,400)/10,math.random(-400,400)/10,math.random(-400,400)/10)
  495.  
  496. coroutine.resume(coroutine.create(function()
  497.  
  498. wait(3)
  499.  
  500. p:remove()
  501.  
  502. end))
  503.  
  504. end
  505.  
  506.  
  507. h = Instance.new("HopperBin",me.Backpack)
  508.  
  509. h.Name = "Grab"
  510.  
  511. script.Parent = h
  512.  
  513.  
  514. bin = h
  515.  
  516.  
  517. function select(mouse)
  518.  
  519. orr.Part1 = nil
  520.  
  521. ar.Part1 = knife
  522.  
  523. mouse.Button1Down:connect(function()
  524.  
  525. if attacking == false then
  526.  
  527. attacking = true
  528.  
  529. lw.Part1 = larm
  530.  
  531. rw.Part1 = rarm
  532.  
  533. hurt = true
  534.  
  535. for i=1, 8 do
  536.  
  537. rw.C0 = rw.C0 * CFrame.new(-0.03,0,-0.08) * CFrame.fromEulerAnglesXYZ(0.18,0.04,0)
  538.  
  539. lw.C0 = lw.C0 * CFrame.new(0.06,0,-0.06) * CFrame.fromEulerAnglesXYZ(0.15,-0.11,-0.05)
  540.  
  541. wait()
  542.  
  543. end
  544.  
  545. wait(1)
  546.  
  547. hurt = false
  548.  
  549. if grabbed == nil then
  550.  
  551. for i=1, 4 do
  552.  
  553. rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  554.  
  555. lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
  556.  
  557. wait()
  558.  
  559. end
  560.  
  561. lw.C0 = CFrame.new(0,0,0)
  562.  
  563. rw.C0 = CFrame.new(0,0,0)
  564.  
  565. lw.Part1 = nil
  566.  
  567. rw.Part1 = nil
  568.  
  569. attacking = false
  570.  
  571. end
  572.  
  573. elseif hurt == false and grabbed ~= nil and mode == "drop" then
  574.  
  575. grabweld:remove()
  576.  
  577. grabweld = nil
  578.  
  579. platlol = false
  580.  
  581. grabbed = nil
  582.  
  583. lolhum.PlatformStand = false
  584.  
  585. lolhum = nil
  586.  
  587. for i=1, 4 do
  588.  
  589. rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  590.  
  591. lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
  592.  
  593. wait()
  594.  
  595. end
  596.  
  597. lw.C0 = CFrame.new(0,0,0)
  598.  
  599. rw.C0 = CFrame.new(0,0,0)
  600.  
  601. lw.Part1 = nil
  602.  
  603. rw.Part1 = nil
  604.  
  605. attacking = false
  606.  
  607. platlol = nil
  608.  
  609. elseif hurt == false and grabbed ~= nil and grabweld ~= nil and mode == "throw" then
  610.  
  611. grabweld:remove()
  612.  
  613. grabweld = nil
  614.  
  615. bf = Instance.new("BodyForce",grabbed)
  616.  
  617. bf.force = torso.CFrame.lookVector * 8500
  618.  
  619. bf.force = bf.force + Vector3.new(0,7400,0)
  620.  
  621. coroutine.resume(coroutine.create(function()
  622.  
  623. wait(0.12)
  624.  
  625. bf:remove()
  626.  
  627. end))
  628.  
  629. for i=1, 6 do
  630.  
  631. rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.35,0,0)
  632.  
  633. lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.18,0,0)
  634.  
  635. wait()
  636.  
  637. end
  638.  
  639. for i=1, 4 do
  640.  
  641. rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.47,0,0)
  642.  
  643. lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  644.  
  645. wait()
  646.  
  647. end
  648.  
  649. wait(0.2)
  650.  
  651. platlol = false
  652.  
  653. grabbed = nil
  654.  
  655. lolhum.PlatformStand = false
  656.  
  657. lolhum = nil
  658.  
  659. for i=1, 4 do
  660.  
  661. rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  662.  
  663. lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
  664.  
  665. wait()
  666.  
  667. end
  668.  
  669. lw.C0 = CFrame.new(0,0,0)
  670.  
  671. rw.C0 = CFrame.new(0,0,0)
  672.  
  673. lw.Part1 = nil
  674.  
  675. rw.Part1 = nil
  676.  
  677. attacking = false
  678.  
  679. platlol = nil
  680.  
  681. elseif hurt == false and grabbed ~= nil and lolhum ~= nil and grabweld ~= nil and mode == "kill" then
  682.  
  683. for i=1, 5 do
  684.  
  685. lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
  686.  
  687. wait()
  688.  
  689. end
  690.  
  691. ne = grabbed:findFirstChild("Neck")
  692.  
  693. coroutine.resume(coroutine.create(function()
  694.  
  695. duh = grabbed
  696.  
  697. duh2 = grabbed.Parent.Head
  698.  
  699. lolas = lolhum
  700.  
  701. duh.RotVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  702.  
  703. for i=1, 60 do
  704.  
  705. wait()
  706.  
  707. hm = math.random(1,9)
  708.  
  709. pcall(function()
  710.  
  711. if hm == 1 then
  712.  
  713. duh2.Sound.Pitch = math.random(90,110)/100
  714.  
  715. duh2.Sound:play()
  716.  
  717. end
  718.  
  719. end)
  720.  
  721. if hm > 0 and hm < 3 then
  722.  
  723. bleed(duh,1)
  724.  
  725. bleed(duh2,-0.5)
  726.  
  727. end
  728.  
  729. end
  730.  
  731. lolas.Health = 0
  732.  
  733. for i=1, 85 do
  734.  
  735. wait()
  736.  
  737. hm = math.random(1,9)
  738.  
  739. pcall(function()
  740.  
  741. if hm == 1 then
  742.  
  743. duh2.Sound.Pitch = math.random(90,110)/100
  744.  
  745. duh2.Sound:play()
  746.  
  747. end
  748.  
  749. end)
  750.  
  751. if hm > 0 and hm < 3 then
  752.  
  753. bleed(duh,1)
  754.  
  755. bleed(duh2,-0.5)
  756.  
  757. end
  758.  
  759. end
  760.  
  761. end))
  762.  
  763. for i=1, 3 do
  764.  
  765. lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
  766.  
  767. if ne ~= nil then
  768.  
  769. grabbed.Neck.C0 = grabbed.Neck.C0 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  770.  
  771. end
  772.  
  773. wait()
  774.  
  775. end
  776.  
  777. grabweld:remove()
  778.  
  779. grabweld = nil
  780.  
  781. for i=1, 4 do
  782.  
  783. lw.C0 = lw.C0 * CFrame.new(-0.04,-0.24,-0.2) * CFrame.fromEulerAnglesXYZ(0.1,0,0.06)
  784.  
  785. wait()
  786.  
  787. end
  788.  
  789. for i=1, 4 do
  790.  
  791. rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
  792.  
  793. lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
  794.  
  795. wait()
  796.  
  797. end
  798.  
  799. lw.C0 = CFrame.new(0,0,0)
  800.  
  801. rw.C0 = CFrame.new(0,0,0)
  802.  
  803. lw.Part1 = nil
  804.  
  805. rw.Part1 = nil
  806.  
  807. platlol = false
  808.  
  809. grabbed = nil
  810.  
  811. lolhum = nil
  812.  
  813. attacking = false
  814.  
  815. platlol = nil
  816.  
  817. end
  818.  
  819. end)
  820.  
  821. mouse.KeyDown:connect(function(kai)
  822.  
  823. key = kai:lower()
  824.  
  825. if key == "q" then
  826.  
  827. mode = "drop"
  828.  
  829. inform("Mode: Drop",2)
  830.  
  831. elseif key == "e" then
  832.  
  833. mode = "throw"
  834.  
  835. inform("Mode: Throw",2)
  836.  
  837. elseif key == "f" then
  838.  
  839. mode = "kill"
  840.  
  841. inform("Mode: Kill",2)
  842.  
  843. end
  844.  
  845. end)
  846.  
  847. end
  848.  
  849.  
  850. function desel()
  851.  
  852. repeat wait() until attacking == false
  853.  
  854. orr.Part1 = knife
  855.  
  856. ar.Part1 = nil
  857.  
  858. end
  859.  
  860.  
  861. bin.Selected:connect(select)
  862.  
  863. bin.Deselected:connect(desel)
  864.  
  865.  
  866. char.Humanoid.Died:connect(function()
  867.  
  868. pcall(function()
  869.  
  870. grabweld:remove()
  871.  
  872. grabweld = nil
  873.  
  874. grabbed = nil
  875.  
  876. platlol = false
  877.  
  878. platlol = nil
  879.  
  880. end)
  881.  
  882. end)
  883.  
  884.  
  885. inform("Grab Knife V5 (with knife and gun) script loaded succesfully.",2)
  886. ----------------------------------------------------
  887.  
  888. ----------------------------------------------------
  889. ypcall(function()
  890. char.Hat:Destroy()
  891. Hat = Instance.new("Hat", char)
  892. Hat.Name = "Hat"
  893. char.Hat.HatTemplate = "http://www.roblox.com/asset/?id=1029025"
  894. end)
  895. end)
  896.  
  897. TextBox.Parent = Frame
  898. TextBox.BackgroundColor3 = Color3.new(0, 0, 0)
  899. TextBox.BorderColor3 = Color3.new(1, 0, 0)
  900. TextBox.Position = UDim2.new(0, 100, 0, 99)
  901. TextBox.Size = UDim2.new(0, 200, 0, 50)
  902. TextBox.Font = Enum.Font.SourceSans
  903. TextBox.FontSize = Enum.FontSize.Size14
  904. TextBox.Text = "UserName"
  905. TextBox.TextColor3 = Color3.new(1, 1, 1)
  906. TextBox.TextSize = 14
  907.  
  908. TextButton_2.Parent = ScreenGui
  909. TextButton_2.BackgroundColor3 = Color3.new(0, 0, 0)
  910. TextButton_2.BorderColor3 = Color3.new(1, 0, 0)
  911. TextButton_2.Position = UDim2.new(0, 0, 0, 399)
  912. TextButton_2.Size = UDim2.new(0, 200, 0, 50)
  913. TextButton_2.Font = Enum.Font.SourceSans
  914. TextButton_2.FontSize = Enum.FontSize.Size14
  915. TextButton_2.Text = "Open"
  916. TextButton_2.TextColor3 = Color3.new(1, 1, 1)
  917. TextButton_2.TextSize = 14
  918.  
  919. TextButton_2.MouseButton1Down:connect(function()
  920.     TextButton_2.Visible = false
  921.     Frame.Visible = true
  922. end)
  923.  
  924. wait(1)
  925. ---------------------------[[[ VARIABLES ]]]---------------------------
  926.  
  927. local plr = game.Players.LocalPlayer
  928. local chr = plr.Character
  929. local mou = plr:GetMouse()
  930. local leftarm = false
  931. local active = false
  932. local curkey = "f"
  933. local stunneds = {}
  934.  
  935. ---------------------------[[[ PARTS ]]]---------------------------
  936.  
  937. -- 1 - Glock
  938. obj1 = Instance.new("Model")
  939. obj1.Name = "Glock"
  940. obj1.Parent = chr
  941.  
  942. -- 2 - Part
  943. obj2 = Instance.new("Part")
  944. obj2.CFrame = CFrame.new(Vector3.new(14.25, 3.51428652, 46.8584824)) * CFrame.Angles(0.69812995195389, 0, -0)
  945. obj2.TopSurface = Enum.SurfaceType.Smooth
  946. obj2.BottomSurface = Enum.SurfaceType.Smooth
  947. obj2.Material = Enum.Material.Metal
  948. obj2.Size = Vector3.new(0.300000012, 0.200000003, 0.200000003)
  949. obj2.Anchored = true
  950. obj2.BrickColor = BrickColor.new("Black")
  951. obj2.Friction = 0.30000001192093
  952. obj2.Shape = Enum.PartType.Block
  953. obj2.CanCollide = false
  954. obj2.Parent = obj1
  955.  
  956. -- 3 - Top
  957. obj3 = Instance.new("Part")
  958. obj3.CFrame = CFrame.new(Vector3.new(14.25, 3.8499999, 47.1499977)) * CFrame.Angles(-0, 0, -0)
  959. obj3.TopSurface = Enum.SurfaceType.Smooth
  960. obj3.BottomSurface = Enum.SurfaceType.Smooth
  961. obj3.Material = Enum.Material.Metal
  962. obj3.Size = Vector3.new(0.300000012, 0.300000012, 1.5)
  963. obj3.Anchored = true
  964. obj3.BrickColor = BrickColor.new("Ghost grey")
  965. obj3.Friction = 0.30000001192093
  966. obj3.Shape = Enum.PartType.Block
  967. obj3.CanCollide = false
  968. obj3.Name = "Top"
  969. obj3.Parent = obj1
  970.  
  971. -- 4 - Top
  972. obj4 = Instance.new("Part")
  973. obj4.CFrame = CFrame.new(Vector3.new(14.25, 3.8499999, 47.8999977)) * CFrame.Angles(0, 1.5707963705063, 0)
  974. obj4.TopSurface = Enum.SurfaceType.Smooth
  975. obj4.BottomSurface = Enum.SurfaceType.Smooth
  976. obj4.Material = Enum.Material.Metal
  977. obj4.Size = Vector3.new(0.200000003, 0.299999982, 0.300000012)
  978. obj4.Anchored = true
  979. obj4.BrickColor = BrickColor.new("Ghost grey")
  980. obj4.Friction = 0.30000001192093
  981. obj4.Shape = Enum.PartType.Cylinder
  982. obj4.Name = "Top"
  983. obj4.CanCollide = false
  984. obj4.Parent = obj1
  985.  
  986. -- 5 - Part
  987. obj5 = Instance.new("Part")
  988. obj5.CFrame = CFrame.new(Vector3.new(14.25, 3.35359001, 47.1499939)) * CFrame.Angles(-1.5707978010178, 0, -0)
  989. obj5.TopSurface = Enum.SurfaceType.Smooth
  990. obj5.BottomSurface = Enum.SurfaceType.Smooth
  991. obj5.Material = Enum.Material.Metal
  992. obj5.Size = Vector3.new(0.300000012, 0.200000003, 0.299999982)
  993. obj5.Anchored = true
  994. obj5.BrickColor = BrickColor.new("Black")
  995. obj5.Friction = 0.30000001192093
  996. obj5.Shape = Enum.PartType.Block
  997. obj5.CanCollide = false
  998. obj5.Parent = obj1
  999.  
  1000. -- 6 - Part
  1001. obj6 = Instance.new("Part")
  1002. obj6.CFrame = CFrame.new(Vector3.new(14.25, 3.5999999, 47.1499977)) * CFrame.Angles(-0, 0, -0)
  1003. obj6.TopSurface = Enum.SurfaceType.Smooth
  1004. obj6.BottomSurface = Enum.SurfaceType.Smooth
  1005. obj6.Material = Enum.Material.Metal
  1006. obj6.Size = Vector3.new(0.300000012, 0.200000003, 1.5)
  1007. obj6.Anchored = true
  1008. obj6.BrickColor = BrickColor.new("Black")
  1009. obj6.CanCollide = false
  1010. obj6.Friction = 0.30000001192093
  1011. obj6.Shape = Enum.PartType.Block
  1012. obj6.Parent = obj1
  1013.  
  1014. -- 7 - Part
  1015. obj7 = Instance.new("Part")
  1016. obj7.CFrame = CFrame.new(Vector3.new(14.25, 3.60000014, 47.8999977)) * CFrame.Angles(0, 1.5707963705063, 0)
  1017. obj7.TopSurface = Enum.SurfaceType.Smooth
  1018. obj7.BottomSurface = Enum.SurfaceType.Smooth
  1019. obj7.Material = Enum.Material.Metal
  1020. obj7.Size = Vector3.new(0.200000003, 0.200000003, 0.300000012)
  1021. obj7.Anchored = true
  1022. obj7.BrickColor = BrickColor.new("Black")
  1023. obj7.CanCollide = false
  1024. obj7.Friction = 0.30000001192093
  1025. obj7.Shape = Enum.PartType.Cylinder
  1026. obj7.Parent = obj1
  1027.  
  1028. -- 8 - Part
  1029. obj8 = Instance.new("Part")
  1030. obj8.CFrame = CFrame.new(Vector3.new(14.25, 3.15358996, 46.8499985)) * CFrame.Angles(1.1920913323138e-007, 0, -0)
  1031. obj8.TopSurface = Enum.SurfaceType.Smooth
  1032. obj8.BottomSurface = Enum.SurfaceType.Smooth
  1033. obj8.Material = Enum.Material.Metal
  1034. obj8.Size = Vector3.new(0.300000012, 0.200000003, 0.699999988)
  1035. obj8.Anchored = true
  1036. obj8.BrickColor = BrickColor.new("Black")
  1037. obj8.Friction = 0.30000001192093
  1038. obj8.CanCollide = false
  1039. obj8.Shape = Enum.PartType.Block
  1040. obj8.Parent = obj1
  1041.  
  1042. -- 9 - Part
  1043. obj9 = Instance.new("Part")
  1044. obj9.CFrame = CFrame.new(Vector3.new(14.25, 3.27858996, 46.5067024)) * CFrame.Angles(-1.0471963882446, 0, -0)
  1045. obj9.TopSurface = Enum.SurfaceType.Smooth
  1046. obj9.BottomSurface = Enum.SurfaceType.Smooth
  1047. obj9.Material = Enum.Material.Metal
  1048. obj9.Size = Vector3.new(0.300000012, 0.300000012, 0.699999988)
  1049. obj9.Anchored = true
  1050. obj9.BrickColor = BrickColor.new("Black")
  1051. obj9.CanCollide = false
  1052. obj9.Friction = 0.30000001192093
  1053. obj9.Shape = Enum.PartType.Block
  1054. obj9.Parent = obj1
  1055.  
  1056. local previous = nil
  1057. for i,v in pairs(obj1:GetChildren()) do
  1058.     if v:IsA('BasePart') then
  1059.         if previous then
  1060.             local weld = Instance.new('Weld',v)
  1061.             weld.Part0 = v
  1062.             weld.Part1 = previous
  1063.             weld.C0 = v.CFrame:inverse() * previous.CFrame
  1064.             previous.Anchored = false
  1065.         end
  1066.         previous = v
  1067.     end
  1068. end
  1069. previous.Anchored = false
  1070.  
  1071. ---------------------------[[[ FUNCTIONS ]]]---------------------------
  1072.  
  1073. function notify(msg,forever)
  1074.     local doit = coroutine.wrap(function()
  1075.         for i,v in pairs(plr.PlayerGui:GetChildren()) do
  1076.             if v.Name == "Notification" and v:IsA('ScreenGui') then
  1077.                 v:Destroy()
  1078.             end
  1079.         end
  1080.         local gui = Instance.new('ScreenGui',plr.PlayerGui)
  1081.         gui.Name = "Notification"
  1082.         local frame = Instance.new('Frame',gui)
  1083.         frame.Position = UDim2.new(0,0,0,0)
  1084.         frame.Size = UDim2.new(1,0,0.2,0)
  1085.         frame.BackgroundTransparency = 1
  1086.         local txt = Instance.new('TextLabel',frame)
  1087.         txt.TextColor3 = Color3.new(255,255,255)
  1088.         txt.TextStrokeColor3 = Color3.new(0, 0, 0)
  1089.         txt.TextStrokeTransparency = 0
  1090.         txt.BackgroundTransparency = 1
  1091.         txt.Text = ""
  1092.         txt.Size = UDim2.new(1,0,0.3,0)
  1093.         txt.Position = UDim2.new(0,0,0.4,0)
  1094.         txt.TextScaled = true
  1095.         txt.Font = "Code"
  1096.         txt.TextXAlignment = "Center"
  1097.         local tap = Instance.new("Sound")
  1098.         tap.Parent = plr.Backpack
  1099.         tap.SoundId = "rbxassetid://147982968"
  1100.         tap.TimePosition = 0.1
  1101.         local str = msg
  1102.         local len = string.len(str)
  1103.         for i=1,len do
  1104.             txt.Text = string.sub(str,1,i)
  1105.             local pitche = math.random(2, 4)
  1106.             tap.PlaybackSpeed = pitche
  1107.             tap:Play()
  1108.             wait(0.05)
  1109.         end
  1110.         if forever == false then
  1111.             wait(1)
  1112.             while txt.TextTransparency < 1 do
  1113.                 txt.TextTransparency = txt.TextTransparency + 0.1
  1114.                 txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1
  1115.                 wait()
  1116.             end
  1117.             gui:Destroy()
  1118.         end
  1119.     end)
  1120.     doit()
  1121. end
  1122.  
  1123.  
  1124. function damage(playa,hita)
  1125. local hitz = hita.Name
  1126. local heyy = hitz
  1127.     if hitz == "Right Arm" then
  1128.     local Limb = playa:FindFirstChild("Right Arm")
  1129.     local ters = playa:FindFirstChild('Torso')
  1130.         if Limb and ters then
  1131.             if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end
  1132.             for i,v in pairs(Limb:GetChildren()) do
  1133.                 if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
  1134.                     v:Destroy()
  1135.                 end
  1136.             end
  1137.             Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0)
  1138.             local Joint = Instance.new("Glue")
  1139.             Joint.Name = "RightShoulder"
  1140.             Joint.Part0 = ters
  1141.             Joint.Part1 = Limb
  1142.             Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1143.             Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1144.             Joint.Parent = ters
  1145.  
  1146.             local B = Instance.new("Part")
  1147.             B.TopSurface = 0
  1148.             B.BottomSurface = 0
  1149.             B.formFactor = "Symmetric"
  1150.             B.Size = Vector3.new(1, 1, 1)
  1151.             B.Transparency = 1
  1152.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1153.             B.Parent = playa
  1154.             local W = Instance.new("Weld")
  1155.             W.Part0 = Limb
  1156.             W.Part1 = B
  1157.             W.C0 = CFrame.new(0, -0.5, 0)
  1158.             W.Parent = Limb
  1159.         end
  1160.     elseif hitz == "Left Arm" then
  1161.         local Limb = playa:FindFirstChild("Left Arm")
  1162.     local ters = playa:FindFirstChild('Torso')
  1163.         if Limb and ters then
  1164.             if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end
  1165.             for i,v in pairs(Limb:GetChildren()) do
  1166.                 if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
  1167.                     v:Destroy()
  1168.                 end
  1169.             end
  1170.             Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0)
  1171.             local Joint = Instance.new("Glue")
  1172.             Joint.Name = "LeftShoulder"
  1173.             Joint.Part0 = ters
  1174.             Joint.Part1 = Limb
  1175.             Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1176.             Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1177.             Joint.Parent = ters
  1178.             local B = Instance.new("Part")
  1179.             B.TopSurface = 0
  1180.             B.BottomSurface = 0
  1181.             B.formFactor = "Symmetric"
  1182.             B.Size = Vector3.new(1, 1, 1)
  1183.             B.Transparency = 1
  1184.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1185.             B.Parent = playa
  1186.             local W = Instance.new("Weld")
  1187.             W.Part0 = ters
  1188.             W.Part1 = B
  1189.             W.C0 = CFrame.new(0, -0.5, 0)
  1190.             W.Parent = Limb
  1191.         end
  1192.     elseif hitz == "Right Leg" then
  1193.         local Limb = playa:FindFirstChild("Right Leg")
  1194.     local ters = playa:FindFirstChild('Torso')
  1195.         if Limb and ters then
  1196.             if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end
  1197.             for i,v in pairs(Limb:GetChildren()) do
  1198.                 if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
  1199.                     v:Destroy()
  1200.                 end
  1201.             end
  1202.         Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
  1203.             local Joint = Instance.new("Glue")
  1204.             Joint.Name = "Right Hip"
  1205.             Joint.Part0 = ters
  1206.             Joint.Part1 = Limb
  1207.             Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1208.             Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1209.             Joint.Parent = ters
  1210.             local B = Instance.new("Part")
  1211.             B.TopSurface = 0
  1212.             B.BottomSurface = 0
  1213.             B.formFactor = "Symmetric"
  1214.             B.Size = Vector3.new(1, 1, 1)
  1215.             B.Transparency = 1
  1216.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1217.             B.Parent = playa
  1218.             local W = Instance.new("Weld")
  1219.             W.Part0 = Limb
  1220.             W.Part1 = B
  1221.             W.C0 = CFrame.new(0, -0.5, 0)
  1222.             W.Parent = Limb
  1223.             if playa:FindFirstChildOfClass('Humanoid') then
  1224.                 local hum = playa:FindFirstChildOfClass('Humanoid')
  1225.                 local target = playa
  1226.                 if target:FindFirstChild('HumanoidRootPart') then
  1227.                     target.HumanoidRootPart:Destroy()
  1228.                 end
  1229.                 local found = false
  1230.                 for i,v in pairs(stunneds) do
  1231.                     if v == hum then
  1232.                         found = true
  1233.                     end
  1234.                 end
  1235.                 if found == false then
  1236.                     table.insert(stunneds,hum)
  1237.                 end
  1238.             end
  1239.         end
  1240.     elseif hitz == "Left Leg" then
  1241.         local Limb = playa:FindFirstChild("Left Leg")
  1242.     local ters = playa:FindFirstChild('Torso')
  1243.         if Limb and ters then
  1244.             if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end
  1245.             for i,v in pairs(Limb:GetChildren()) do
  1246.                 if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
  1247.                     v:Destroy()
  1248.                 end
  1249.             end
  1250.         Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
  1251.             Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0)
  1252.             local Joint = Instance.new("Glue")
  1253.             Joint.Name = "LeftHip"
  1254.             Joint.Part0 = ters
  1255.             Joint.Part1 = Limb
  1256.             Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1257.             Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1258.             Joint.Parent = ters
  1259.  
  1260.             local B = Instance.new("Part")
  1261.             B.TopSurface = 0
  1262.             B.BottomSurface = 0
  1263.             B.formFactor = "Symmetric"
  1264.             B.Size = Vector3.new(1, 1, 1)
  1265.             B.Transparency = 1
  1266.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1267.             B.Parent = playa
  1268.             local W = Instance.new("Weld")
  1269.             W.Part0 = Limb
  1270.             W.Part1 = B
  1271.             W.C0 = CFrame.new(0, -0.5, 0)
  1272.             W.Parent = Limb
  1273.             Limb.CanCollide = false
  1274.             if playa:FindFirstChildOfClass('Humanoid') then
  1275.                 local hum = playa:FindFirstChildOfClass('Humanoid')
  1276.                 local target = playa
  1277.                 if target:FindFirstChild('HumanoidRootPart') then
  1278.                     target.HumanoidRootPart:Destroy()
  1279.                 end
  1280.                 local found = false
  1281.                 for i,v in pairs(stunneds) do
  1282.                     if v == hum then
  1283.                         found = true
  1284.                     end
  1285.                 end
  1286.                 if found == false then
  1287.                     table.insert(stunneds,hum)
  1288.                 end
  1289.             end
  1290.         end
  1291.     else
  1292.         local playa2 = playa
  1293.         playa.Archivable = true
  1294.         local playa = playa:Clone()
  1295.         playa.Archivable = false
  1296.         playa2:Destroy()
  1297.         playa.Parent = workspace
  1298.         local Gibs = game.Workspace
  1299. print(playa)
  1300.         local Torso = playa.Torso
  1301.         local Head = playa:FindFirstChild("Head")
  1302.         local function Scan(ch)
  1303.         local e
  1304.         for e = 1,#ch do
  1305.             Scan(ch[e]:GetChildren())
  1306.             if ch[e].ClassName == "Weld"  or ch[e].ClassName == "Motor6D" then
  1307.                 ch[e]:remove()
  1308.             end
  1309.         end
  1310.     end
  1311.     Scan(playa:GetChildren())
  1312.         if playa:FindFirstChild('HumanoidRootPart') then
  1313.             playa:FindFirstChild('HumanoidRootPart'):Destroy()
  1314.         end
  1315.         local hum2 = playa:FindFirstChildOfClass("Humanoid")
  1316.  
  1317.  
  1318.     if hum2 ~= nil then
  1319.         hum2.Name = "Humanoid2"
  1320.         hum2.PlatformStand = true
  1321.         hum2.Health = 0
  1322.     end
  1323.     local ch = playa:GetChildren()
  1324.     local i
  1325.     for i = 1,#ch do
  1326.         if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1327.             ch[i]:remove()
  1328.         end
  1329.     end
  1330.  
  1331.         if Head then
  1332.             local Neck = Instance.new("Weld")
  1333.             Neck.Name = "Neck"
  1334.             Neck.Part0 = Torso
  1335.             Neck.Part1 = Head
  1336.             Neck.C0 = CFrame.new(0, 1.5, 0)
  1337.             Neck.C1 = CFrame.new()
  1338.             Neck.Parent = Torso
  1339.         end
  1340.         local Limb = playa:FindFirstChild("Right Arm")
  1341.         if Limb then
  1342.  
  1343.             Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  1344.             local Joint = Instance.new("Glue")
  1345.             Joint.Name = "RightShoulder"
  1346.             Joint.Part0 = Torso
  1347.             Joint.Part1 = Limb
  1348.             Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1349.             Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1350.             Joint.Parent = Torso
  1351.  
  1352.             local B = Instance.new("Part")
  1353.             B.TopSurface = 0
  1354.             B.BottomSurface = 0
  1355.             B.formFactor = "Symmetric"
  1356.             B.Size = Vector3.new(1, 1, 1)
  1357.             B.Transparency = 1
  1358.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1359.             B.Parent = playa
  1360.             local W = Instance.new("Weld")
  1361.             W.Part0 = Limb
  1362.             W.Part1 = B
  1363.             W.C0 = CFrame.new(0, -0.5, 0)
  1364.             W.Parent = Limb
  1365.         end
  1366.         local Limb = playa:FindFirstChild("Left Arm")
  1367.         if Limb then
  1368.  
  1369.             Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  1370.             local Joint = Instance.new("Glue")
  1371.             Joint.Name = "LeftShoulder"
  1372.             Joint.Part0 = Torso
  1373.             Joint.Part1 = Limb
  1374.             Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1375.             Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1376.             Joint.Parent = Torso
  1377.  
  1378.             local B = Instance.new("Part")
  1379.             B.TopSurface = 0
  1380.             B.BottomSurface = 0
  1381.             B.formFactor = "Symmetric"
  1382.             B.Size = Vector3.new(1, 1, 1)
  1383.             B.Transparency = 1
  1384.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1385.             B.Parent = playa
  1386.             local W = Instance.new("Weld")
  1387.             W.Part0 = Limb
  1388.             W.Part1 = B
  1389.             W.C0 = CFrame.new(0, -0.5, 0)
  1390.             W.Parent = Limb
  1391.         end
  1392.         local Limb = playa:FindFirstChild("Right Leg")
  1393.         if Limb then
  1394.  
  1395.             Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  1396.             local Joint = Instance.new("Glue")
  1397.             Joint.Name = "RightHip"
  1398.             Joint.Part0 = Torso
  1399.             Joint.Part1 = Limb
  1400.             Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1401.             Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1402.             Joint.Parent = Torso
  1403.  
  1404.             local B = Instance.new("Part")
  1405.             B.TopSurface = 0
  1406.             B.BottomSurface = 0
  1407.             B.formFactor = "Symmetric"
  1408.             B.Size = Vector3.new(1, 1, 1)
  1409.             B.Transparency = 1
  1410.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1411.             B.Parent = playa
  1412.             local W = Instance.new("Weld")
  1413.             W.Part0 = Limb
  1414.             W.Part1 = B
  1415.             W.C0 = CFrame.new(0, -0.5, 0)
  1416.             W.Parent = Limb
  1417.         end
  1418.         local Limb = playa:FindFirstChild("Left Leg")
  1419.         if Limb then
  1420.  
  1421.             Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  1422.             local Joint = Instance.new("Glue")
  1423.             Joint.Name = "LeftHip"
  1424.             Joint.Part0 = Torso
  1425.             Joint.Part1 = Limb
  1426.             Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1427.             Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1428.             Joint.Parent = Torso
  1429.  
  1430.             local B = Instance.new("Part")
  1431.             B.TopSurface = 0
  1432.             B.BottomSurface = 0
  1433.             B.formFactor = "Symmetric"
  1434.             B.Size = Vector3.new(1, 1, 1)
  1435.             B.Transparency = 1
  1436.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1437.             B.Parent = playa
  1438.             local W = Instance.new("Weld")
  1439.             W.Part0 = Limb
  1440.             W.Part1 = B
  1441.             W.C0 = CFrame.new(0, -0.5, 0)
  1442.             W.Parent = Limb
  1443.         end
  1444.         --[
  1445.         local Bar = Instance.new("Part")
  1446.         Bar.TopSurface = 0
  1447.         Bar.BottomSurface = 0
  1448.         Bar.formFactor = "Symmetric"
  1449.         Bar.Size = Vector3.new(1, 1, 1)
  1450.         Bar.Transparency = 1
  1451.         Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  1452.         Bar.Parent = playa
  1453.         local Weld = Instance.new("Weld")
  1454.         Weld.Part0 = Torso
  1455.         Weld.Part1 = Bar
  1456.         Weld.C0 = CFrame.new(0, 0.5, 0)
  1457.         Weld.Parent = Torso
  1458.         --]]
  1459.         playa.Parent = Gibs
  1460.     game.Debris:AddItem(playa, 12)
  1461.     end
  1462. end
  1463.  
  1464.  
  1465. function calculate()
  1466.     if leftarm and chr:FindFirstChild('Head') and chr:FindFirstChild('Torso') and chr.Torso:FindFirstChild("Left Shoulder") and chr:FindFirstChild('Left Arm') then
  1467.     local Head = plr.Character.Head
  1468.         local RightShoulder = plr.Character.Torso["Left Shoulder"]
  1469.         local RightArm = plr.Character["Left Arm"]
  1470.         local MousePosition = mou.Hit.p
  1471.         local ToMouse = (MousePosition - Head.Position).unit
  1472.         local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  1473.         local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((-Head.Size.X / 2) + (-RightArm.Size.X / 2)), ((-Head.Size.Y / 2) - (-RightArm.Size.Z / 2)), 0)))
  1474.         local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(-1 ,0, -1)).unit
  1475.         local Look = (Head.CFrame.lookVector * Vector3.new(-1, 0, -1)).unit
  1476.         local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  1477.         if tostring(LateralAngle) == "-1.#IND" then
  1478.             LateralAngle = 0
  1479.         end
  1480.         local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  1481.        --[[
  1482.         if LateralAngle > (math.pi / 2) then
  1483.             LateralAngle = (math.pi / 2)
  1484.             if chr:FindFirstChild('Torso') then
  1485.                 local Torso = chr.Torso
  1486.                 local Point = Torso.CFrame:vectorToObjectSpace(mou.Hit.p-Torso.CFrame.p)
  1487.                 if Point.Z > 0 then
  1488.                     if Point.X > 0 then
  1489.                         Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mou.Hit.X,Torso.Position.Y,mou.Hit.Z))*CFrame.Angles(0,math.rad(90),0)
  1490.                     elseif Point.X < 0 then
  1491.                         Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mou.Hit.X,Torso.Position.Y,mou.Hit.Z))*CFrame.Angles(0,math.rad(-90),0)
  1492.                     end
  1493.                 end
  1494.             end
  1495.         end
  1496. ]]--
  1497. print(LateralAngle)
  1498. warn(math.pi / 2)
  1499.         if Cross.Y < 0 then
  1500.             LateralAngle = -LateralAngle
  1501.         end
  1502.         return(CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2))
  1503.     elseif chr:FindFirstChild('Head') and chr:FindFirstChild('Torso') and chr.Torso:FindFirstChild("Right Shoulder") and chr:FindFirstChild('Right Arm') then
  1504.         local Head = plr.Character.Head
  1505.         local RightShoulder = plr.Character.Torso["Right Shoulder"]
  1506.         local RightArm = plr.Character["Right Arm"]
  1507.         local MousePosition = mou.Hit.p
  1508.         local ToMouse = (MousePosition - Head.Position).unit
  1509.         local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  1510.         local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0)))
  1511.         local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  1512.         local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  1513.         local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  1514.         if tostring(LateralAngle) == "-1.#IND" then
  1515.             LateralAngle = 0
  1516.         end
  1517.         local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  1518.         if LateralAngle > (math.pi / 2) then
  1519.             LateralAngle = (math.pi / 2)
  1520.             if chr:FindFirstChild('Torso') then
  1521.                 local Torso = chr.Torso
  1522.                 local Point = Torso.CFrame:vectorToObjectSpace(mou.Hit.p-Torso.CFrame.p)
  1523.                 if Point.Z > 0 then
  1524.                     if Point.X > 0 then
  1525.                         Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mou.Hit.X,Torso.Position.Y,mou.Hit.Z))*CFrame.Angles(0,math.rad(90),0)
  1526.                     elseif Point.X < 0 then
  1527.                         Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mou.Hit.X,Torso.Position.Y,mou.Hit.Z))*CFrame.Angles(0,math.rad(-90),0)
  1528.                     end
  1529.                 end
  1530.             end
  1531.         end
  1532.         if Cross.Y < 0 then
  1533.             LateralAngle = -LateralAngle
  1534.         end
  1535.         return(CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2))
  1536.     end
  1537. end
  1538.  
  1539. function fire()
  1540.     if mou.Target then
  1541.         local humanoid = mou.Target.Parent:FindFirstChildOfClass("Humanoid")
  1542.         if not humanoid then
  1543.             humanoid = mou.Target.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1544.         end
  1545.         if humanoid then
  1546.             local coru = coroutine.wrap(function()
  1547.                 damage(humanoid.Parent,mou.Target)
  1548.             end)
  1549.             coru()
  1550.         end
  1551.     end
  1552.     local beam = Instance.new("Part", workspace)
  1553.     beam.BrickColor = BrickColor.new("Bright yellow")
  1554.     beam.FormFactor = "Custom"
  1555.     beam.Material = "Neon"
  1556.     beam.Transparency = 0.25
  1557.     beam.Anchored = true
  1558.     beam.Locked = true
  1559.     beam.CanCollide = false
  1560.     local distance = (obj4.CFrame.p - mou.Hit.p).magnitude
  1561.     beam.Size = Vector3.new(0.2, 0.2, distance)
  1562.     beam.CFrame = CFrame.new(obj4.CFrame.p, mou.Hit.p) * CFrame.new(0, 0, -distance / 2)
  1563.     game:GetService("Debris"):AddItem(beam, 0.05)
  1564.     local sound = Instance.new('Sound',obj4)
  1565.     sound.SoundId = 'rbxassetid://139593133'
  1566.     sound.Volume = 3
  1567.     sound.EmitterSize = 40
  1568.     sound.MaxDistance = 450
  1569.     sound:Play()
  1570.     game:GetService("Debris"):AddItem(beam, sound.TimeLength)
  1571. end
  1572.  
  1573. ---------------------------[[[ SCRIPT ]]]---------------------------
  1574. if chr:FindFirstChild('Left Arm') == nil or chr:FindFirstChild('Torso') == nil or chr.Torso:FindFirstChild('Left Shoulder') == nil then
  1575.     leftarm = false
  1576. end
  1577. local weldas = Instance.new('Weld',obj2)
  1578. if leftarm and chr:FindFirstChild('Left Arm') then
  1579.     weldas.Part0 = obj2
  1580.     weldas.Part1 = chr["Left Arm"]
  1581.     weldas.C0 = CFrame.new(0,-0.85,-0.30)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(180))
  1582. elseif chr:FindFirstChild('Right Arm') then
  1583.     weldas.Part0 = obj2
  1584.     weldas.Part1 = chr["Right Arm"]
  1585.     weldas.C0 = CFrame.new(0,-0.85,-0.30)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(180))
  1586. end
  1587.  
  1588.  
  1589. if leftarm and chr:FindFirstChild('Left Arm') and chr:FindFirstChild('Torso') and chr.Torso:FindFirstChild('Left Shoulder') then
  1590.     chr:FindFirstChild('Left Arm').AncestryChanged:connect(function(me,par)
  1591.         if par ~= chr and chr:FindFirstChild('Right Arm') then
  1592.             if obj2 and obj2:FindFirstChildOfClass('Weld') then
  1593.                 obj2:FindFirstChildOfClass('Weld').Part1 = chr["Right Arm"]
  1594.             end
  1595.             leftarm = false
  1596.         end
  1597.     end)
  1598.     chr.Torso:FindFirstChild('Left Shoulder').AncestryChanged:connect(function(me,par)
  1599.         if par ~= chr:FindFirstChild('Torso') and chr:FindFirstChild('Right Arm') then
  1600.             if obj2 and obj2:FindFirstChildOfClass('Weld') then
  1601.                 obj2:FindFirstChildOfClass('Weld').Part1 = chr["Right Arm"]
  1602.             end
  1603.         end
  1604.         leftarm = false
  1605.     end)
  1606. elseif leftarm then
  1607.     if obj2 and obj2:FindFirstChildOfClass('Weld') and chr:FindFirstChild('Right Arm') then
  1608.         obj2:FindFirstChildOfClass('Weld').Part1 = chr["Right Arm"]
  1609.     end
  1610. end
  1611.  
  1612. mou.KeyDown:connect(function(key)
  1613.     if key == string.lower(curkey) then
  1614.         active = not active
  1615.     end
  1616. end)
  1617.  
  1618. plr.Chatted:connect(function(msg)
  1619.     if string.lower(string.sub(msg,1,5)) == "!bind" then
  1620.         curkey = string.lower(string.sub(msg,7,7))
  1621.         notify([[Changed key for equip/unequip to "]]..curkey..[[".]],false)
  1622.     end
  1623. end)
  1624.  
  1625. game:GetService('RunService').Stepped:connect(function()
  1626.     if active and chr:FindFirstChild('Torso') then
  1627.         if leftarm then
  1628.             chr.Torso["Left Shoulder"].C0 = calculate()
  1629.         else
  1630.             chr.Torso["Right Shoulder"].C0 = calculate()
  1631.         end
  1632.         weldas.Part1 = chr["Right Arm"]
  1633.     weldas.C0 = CFrame.new(0,-0.85,-0.30)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(180))
  1634.     elseif chr:FindFirstChild('Torso') and (chr.Torso:FindFirstChild('Left Shoulder') or chr.Torso:FindFirstChild('Right Shoulder')) then
  1635.         if leftarm then
  1636.             chr.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0)*CFrame.Angles(0,-math.pi/2,0)
  1637.         else
  1638.             chr.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0)*CFrame.Angles(0,math.pi/2,0)
  1639.         end
  1640.         weldas.Part1 = chr.Torso
  1641.         weldas.C0 = CFrame.new(-1,0,-1)*CFrame.Angles(math.rad(-90),0,0)
  1642.     end
  1643.     for i,v in pairs(stunneds) do
  1644.         v.PlatformStand = true
  1645.     end
  1646. end)
  1647.  
  1648. mou.Button1Down:connect(function()
  1649.     if active then
  1650.         fire()
  1651.     end
  1652. end)
  1653.  
  1654. notify([[Chat "Press "F" to Equip Gun."]],false)
  1655. end)
  1656.  
  1657. InkedMonster.Name = "InkedMonster"
  1658. InkedMonster.Parent = MainGui
  1659. InkedMonster.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  1660. InkedMonster.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
  1661. InkedMonster.BorderSizePixel = 5
  1662. InkedMonster.Position = UDim2.new(0.536480725, 0, 0.0872340426, 0)
  1663. InkedMonster.Size = UDim2.new(0, 206, 0, 69)
  1664. InkedMonster.Font = Enum.Font.GothamSemibold
  1665. InkedMonster.Text = "Inked Monster"
  1666. InkedMonster.TextColor3 = Color3.new(1, 1, 1)
  1667. InkedMonster.TextScaled = true
  1668. InkedMonster.TextSize = 14
  1669. InkedMonster.TextWrapped = true
  1670.  
  1671. InkedMonster.MouseButton1Down:connect(function()
  1672.     -----------------------
  1673. --[[ Name : Inked Monster ]]--
  1674. -------------------------------------------------------
  1675. --A script By makhail07
  1676.  
  1677. --Discord Creterisk#2958
  1678.  
  1679. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  1680. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  1681. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  1682. --YOU FUCKING SKIDS,
  1683. --For Those who log/decompile this, If you sell or trade this,
  1684. --and I find out who you are, i will take massive action.
  1685.  
  1686. -------------------------------------------------------
  1687.  
  1688. local FavIDs = {
  1689.     340106355, --Nefl Crystals
  1690.     927529620, --Dimension
  1691.     876981900, --Fantasy
  1692.     398987889, --Ordinary Days
  1693.     1117396305, --Oh wait, it's you.
  1694.     885996042, --Action Winter Journey
  1695.     919231299, --Sprawling Idiot Effigy
  1696.     743466274, --Good Day Sunshine
  1697.     727411183, --Knife Fight
  1698.     1402748531, --The Earth Is Counting On You!
  1699.     595230126 --Robot Language
  1700.     }
  1701.  
  1702.  
  1703.  
  1704. --The reality of my life isn't real but a Universe -makhail07
  1705. wait(0.2)
  1706. local plr = game:service'Players'.LocalPlayer
  1707. print('Local User is '..plr.Name)
  1708. print('Inked Monster Loaded')
  1709. print('Wat')
  1710. local char = plr.Character
  1711. local hum = char.Humanoid
  1712. local hed = char.Head
  1713. local root = char.HumanoidRootPart
  1714. local rootj = root.RootJoint
  1715. local tors = char.Torso
  1716. local ra = char["Right Arm"]
  1717. local la = char["Left Arm"]
  1718. local rl = char["Right Leg"]
  1719. local ll = char["Left Leg"]
  1720. local neck = tors["Neck"]
  1721. local mouse = plr:GetMouse()
  1722. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1723. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1724. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1725. local maincolor = BrickColor.new("Institutional white")
  1726. -------------------------------------------------------
  1727. --Start Whitelist and Invincibility--
  1728. -------------------------------------------------------
  1729. ff = Instance.new("ForceField",char)
  1730. ff.Visible = false
  1731. hum.Name = "Base"
  1732. hum.MaxHealth = 1.0E298
  1733. hum.Health = 1.0E298
  1734. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  1735.   if hum.Health > 0.1 and hum.Health < 1.0E298 then
  1736.     hum.MaxHealth = 1.0E298
  1737.     hum.Health = 1.0E298
  1738.   end
  1739. end)
  1740. -------------------------------------------------------
  1741. --End Whitelist and Invincibility--
  1742. -------------------------------------------------------
  1743.  
  1744. -------------------------------------------------------
  1745. --Start Good Stuff--
  1746. -------------------------------------------------------
  1747. cam = game.Workspace.CurrentCamera
  1748. CF = CFrame.new
  1749. angles = CFrame.Angles
  1750. attack = false
  1751. Euler = CFrame.fromEulerAnglesXYZ
  1752. Rad = math.rad
  1753. IT = Instance.new
  1754. BrickC = BrickColor.new
  1755. Cos = math.cos
  1756. Acos = math.acos
  1757. Sin = math.sin
  1758. Asin = math.asin
  1759. Abs = math.abs
  1760. Mrandom = math.random
  1761. Floor = math.floor
  1762. -------------------------------------------------------
  1763. --End Good Stuff--
  1764. -------------------------------------------------------
  1765. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1766. RSH, LSH = nil, nil
  1767. RW = Instance.new("Weld")
  1768. LW = Instance.new("Weld")
  1769. RH = tors["Right Hip"]
  1770. LH = tors["Left Hip"]
  1771. RSH = tors["Right Shoulder"]
  1772. LSH = tors["Left Shoulder"]
  1773. RSH.Parent = nil
  1774. LSH.Parent = nil
  1775. RW.Name = "RW"
  1776. RW.Part0 = tors
  1777. RW.C0 = CF(1.5, 0.5, 0)
  1778. RW.C1 = CF(0, 0.5, 0)
  1779. RW.Part1 = ra
  1780. RW.Parent = tors
  1781. LW.Name = "LW"
  1782. LW.Part0 = tors
  1783. LW.C0 = CF(-1.5, 0.5, 0)
  1784. LW.C1 = CF(0, 0.5, 0)
  1785. LW.Part1 = la
  1786. LW.Parent = tors
  1787. Effects = {}
  1788. -------------------------------------------------------
  1789. --Start HeartBeat--
  1790. -------------------------------------------------------
  1791. ArtificialHB = Instance.new("BindableEvent", script)
  1792. ArtificialHB.Name = "Heartbeat"
  1793. script:WaitForChild("Heartbeat")
  1794.  
  1795. frame = 1 / 60
  1796. tf = 0
  1797. allowframeloss = false
  1798. tossremainder = false
  1799.  
  1800.  
  1801. lastframe = tick()
  1802. script.Heartbeat:Fire()
  1803.  
  1804.  
  1805. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1806.     tf = tf + s
  1807.     if tf >= frame then
  1808.         if allowframeloss then
  1809.             script.Heartbeat:Fire()
  1810.             lastframe = tick()
  1811.         else
  1812.             for i = 1, math.floor(tf / frame) do
  1813.                 script.Heartbeat:Fire()
  1814.             end
  1815.             lastframe = tick()
  1816.         end
  1817.         if tossremainder then
  1818.             tf = 0
  1819.         else
  1820.             tf = tf - frame * math.floor(tf / frame)
  1821.         end
  1822.     end
  1823. end)
  1824. -------------------------------------------------------
  1825. --End HeartBeat--
  1826. -------------------------------------------------------
  1827.  
  1828. -------------------------------------------------------
  1829. --Start Important Functions--
  1830. -------------------------------------------------------
  1831. function swait(num)
  1832.     if num == 0 or num == nil then
  1833.         game:service("RunService").Stepped:wait(0)
  1834.     else
  1835.         for i = 0, num do
  1836.             game:service("RunService").Stepped:wait(0)
  1837.         end
  1838.     end
  1839. end
  1840. function thread(f)
  1841.     coroutine.resume(coroutine.create(f))
  1842. end
  1843. function clerp(a, b, t)
  1844.     local qa = {
  1845.         QuaternionFromCFrame(a)
  1846.     }
  1847.     local qb = {
  1848.         QuaternionFromCFrame(b)
  1849.     }
  1850.     local ax, ay, az = a.x, a.y, a.z
  1851.     local bx, by, bz = b.x, b.y, b.z
  1852.     local _t = 1 - t
  1853.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1854. end
  1855. function QuaternionFromCFrame(cf)
  1856.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1857.     local trace = m00 + m11 + m22
  1858.     if trace > 0 then
  1859.         local s = math.sqrt(1 + trace)
  1860.         local recip = 0.5 / s
  1861.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1862.     else
  1863.         local i = 0
  1864.         if m00 < m11 then
  1865.             i = 1
  1866.         end
  1867.         if m22 > (i == 0 and m00 or m11) then
  1868.             i = 2
  1869.         end
  1870.         if i == 0 then
  1871.             local s = math.sqrt(m00 - m11 - m22 + 1)
  1872.             local recip = 0.5 / s
  1873.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1874.         elseif i == 1 then
  1875.             local s = math.sqrt(m11 - m22 - m00 + 1)
  1876.             local recip = 0.5 / s
  1877.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1878.         elseif i == 2 then
  1879.             local s = math.sqrt(m22 - m00 - m11 + 1)
  1880.             local recip = 0.5 / s
  1881.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1882.         end
  1883.     end
  1884. end
  1885. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1886.     local xs, ys, zs = x + x, y + y, z + z
  1887.     local wx, wy, wz = w * xs, w * ys, w * zs
  1888.     local xx = x * xs
  1889.     local xy = x * ys
  1890.     local xz = x * zs
  1891.     local yy = y * ys
  1892.     local yz = y * zs
  1893.     local zz = z * zs
  1894.     return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  1895. end
  1896. function QuaternionSlerp(a, b, t)
  1897.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1898.     local startInterp, finishInterp
  1899.     if cosTheta >= 1.0E-4 then
  1900.         if 1 - cosTheta > 1.0E-4 then
  1901.             local theta = math.acos(cosTheta)
  1902.             local invSinTheta = 1 / Sin(theta)
  1903.             startInterp = Sin((1 - t) * theta) * invSinTheta
  1904.             finishInterp = Sin(t * theta) * invSinTheta
  1905.         else
  1906.             startInterp = 1 - t
  1907.             finishInterp = t
  1908.         end
  1909.     elseif 1 + cosTheta > 1.0E-4 then
  1910.         local theta = math.acos(-cosTheta)
  1911.         local invSinTheta = 1 / Sin(theta)
  1912.         startInterp = Sin((t - 1) * theta) * invSinTheta
  1913.         finishInterp = Sin(t * theta) * invSinTheta
  1914.     else
  1915.         startInterp = t - 1
  1916.         finishInterp = t
  1917.     end
  1918.     return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  1919. end
  1920. function rayCast(Position, Direction, Range, Ignore)
  1921.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1922. end
  1923. local RbxUtility = LoadLibrary("RbxUtility")
  1924. local Create = RbxUtility.Create
  1925.  
  1926. -------------------------------------------------------
  1927. --Start Damage Function--
  1928. -------------------------------------------------------
  1929. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1930.     if hit.Parent == nil then
  1931.         return
  1932.     end
  1933.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1934.     for _, v in pairs(hit.Parent:children()) do
  1935.         if v:IsA("Humanoid") then
  1936.             h = v
  1937.         end
  1938.     end
  1939.          if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1940.    
  1941.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  1942.          end
  1943.  
  1944.     if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1945.         if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1946.             if hit.Parent.DebounceHit.Value == true then
  1947.                 return
  1948.             end
  1949.         end
  1950.          if insta == true then
  1951.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  1952.          end
  1953.         local c = Create("ObjectValue"){
  1954.             Name = "creator",
  1955.             Value = game:service("Players").LocalPlayer,
  1956.             Parent = h,
  1957.         }
  1958.         game:GetService("Debris"):AddItem(c, .5)
  1959.         if HitSound ~= nil and HitPitch ~= nil then
  1960.             CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1961.         end
  1962.         local Damage = math.random(minim, maxim)
  1963.         local blocked = false
  1964.         local block = hit.Parent:findFirstChild("Block")
  1965.         if block ~= nil then
  1966.             if block.className == "IntValue" then
  1967.                 if block.Value > 0 then
  1968.                     blocked = true
  1969.                     block.Value = block.Value - 1
  1970.                     print(block.Value)
  1971.                 end
  1972.             end
  1973.         end
  1974.         if blocked == false then
  1975.             h.Health = h.Health - Damage
  1976.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1977.         else
  1978.             h.Health = h.Health - (Damage / 2)
  1979.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1980.         end
  1981.         if Type == "Knockdown" then
  1982.             local hum = hit.Parent.Humanoid
  1983.             hum.PlatformStand = true
  1984.             coroutine.resume(coroutine.create(function(HHumanoid)
  1985.                 swait(1)
  1986.                 HHumanoid.PlatformStand = false
  1987.             end), hum)
  1988.             local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1989.             local bodvol = Create("BodyVelocity"){
  1990.                 velocity = angle * knockback,
  1991.                 P = 5000,
  1992.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1993.                 Parent = hit,
  1994.             }
  1995.             local rl = Create("BodyAngularVelocity"){
  1996.                 P = 3000,
  1997.                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1998.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1999.                 Parent = hit,
  2000.             }
  2001.             game:GetService("Debris"):AddItem(bodvol, .5)
  2002.             game:GetService("Debris"):AddItem(rl, .5)
  2003.         elseif Type == "Normal" then
  2004.             local vp = Create("BodyVelocity"){
  2005.                 P = 500,
  2006.                 maxForce = Vector3.new(math.huge, 0, math.huge),
  2007.                 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  2008.             }
  2009.             if knockback > 0 then
  2010.                 vp.Parent = hit.Parent.Torso
  2011.             end
  2012.             game:GetService("Debris"):AddItem(vp, .5)
  2013.         elseif Type == "Up" then
  2014.             local bodyVelocity = Create("BodyVelocity"){
  2015.                 velocity = Vector3.new(0, 20, 0),
  2016.                 P = 5000,
  2017.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2018.                 Parent = hit,
  2019.             }
  2020.             game:GetService("Debris"):AddItem(bodyVelocity, .5)
  2021.         elseif Type == "DarkUp" then
  2022.             coroutine.resume(coroutine.create(function()
  2023.                 for i = 0, 1, 0.1 do
  2024.                     swait()
  2025.                     Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  2026.                 end
  2027.             end))
  2028.             local bodyVelocity = Create("BodyVelocity"){
  2029.                 velocity = Vector3.new(0, 20, 0),
  2030.                 P = 5000,
  2031.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2032.                 Parent = hit,
  2033.             }
  2034.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2035.         elseif Type == "Snare" then
  2036.             local bp = Create("BodyPosition"){
  2037.                 P = 2000,
  2038.                 D = 100,
  2039.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2040.                 position = hit.Parent.Torso.Position,
  2041.                 Parent = hit.Parent.Torso,
  2042.             }
  2043.             game:GetService("Debris"):AddItem(bp, 1)
  2044.         elseif Type == "Freeze" then
  2045.             local BodPos = Create("BodyPosition"){
  2046.                 P = 50000,
  2047.                 D = 1000,
  2048.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2049.                 position = hit.Parent.Torso.Position,
  2050.                 Parent = hit.Parent.Torso,
  2051.             }
  2052.             local BodGy = Create("BodyGyro") {
  2053.                 maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2054.                 P = 20e+003,
  2055.                 Parent = hit.Parent.Torso,
  2056.                 cframe = hit.Parent.Torso.CFrame,
  2057.             }
  2058.             hit.Parent.Torso.Anchored = true
  2059.             coroutine.resume(coroutine.create(function(Part)
  2060.                 swait(1.5)
  2061.                 Part.Anchored = false
  2062.             end), hit.Parent.Torso)
  2063.             game:GetService("Debris"):AddItem(BodPos, 3)
  2064.             game:GetService("Debris"):AddItem(BodGy, 3)
  2065.         end
  2066.         local debounce = Create("BoolValue"){
  2067.             Name = "DebounceHit",
  2068.             Parent = hit.Parent,
  2069.             Value = true,
  2070.         }
  2071.         game:GetService("Debris"):AddItem(debounce, Delay)
  2072.         c = Create("ObjectValue"){
  2073.             Name = "creator",
  2074.             Value = Player,
  2075.             Parent = h,
  2076.         }
  2077.         game:GetService("Debris"):AddItem(c, .5)
  2078.     end
  2079. end
  2080. -------------------------------------------------------
  2081. --End Damage Function--
  2082. -------------------------------------------------------
  2083.  
  2084. -------------------------------------------------------
  2085. --Start Damage Function Customization--
  2086. -------------------------------------------------------
  2087. function ShowDamage(Pos, Text, Time, Color)
  2088.     local Rate = (1 / 30)
  2089.     local Pos = (Pos or Vector3.new(0, 0, 0))
  2090.     local Text = (Text or "")
  2091.     local Time = (Time or 2)
  2092.     local Color = (Color or Color3.new(1, 0, 1))
  2093.     local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2094.     EffectPart.Anchored = true
  2095.     local BillboardGui = Create("BillboardGui"){
  2096.         Size = UDim2.new(3, 0, 3, 0),
  2097.         Adornee = EffectPart,
  2098.         Parent = EffectPart,
  2099.     }
  2100.     local TextLabel = Create("TextLabel"){
  2101.         BackgroundTransparency = 1,
  2102.         Size = UDim2.new(1, 0, 1, 0),
  2103.         Text = Text,
  2104.         Font = "Bodoni",
  2105.         TextColor3 = Color,
  2106.         TextScaled = true,
  2107.         TextStrokeColor3 = Color3.fromRGB(0,0,0),
  2108.         Parent = BillboardGui,
  2109.     }
  2110.     game.Debris:AddItem(EffectPart, (Time))
  2111.     EffectPart.Parent = game:GetService("Workspace")
  2112.     delay(0, function()
  2113.         local Frames = (Time / Rate)
  2114.         for Frame = 1, Frames do
  2115.             wait(Rate)
  2116.             local Percent = (Frame / Frames)
  2117.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2118.             TextLabel.TextTransparency = Percent
  2119.         end
  2120.         if EffectPart and EffectPart.Parent then
  2121.             EffectPart:Destroy()
  2122.         end
  2123.     end)
  2124. end
  2125. -------------------------------------------------------
  2126. --End Damage Function Customization--
  2127. -------------------------------------------------------
  2128.  
  2129. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2130.   for _, c in pairs(workspace:children()) do
  2131.     local hum = c:findFirstChild("Humanoid")
  2132.     if hum ~= nil then
  2133.       local head = c:findFirstChild("Head")
  2134.       if head ~= nil then
  2135.         local targ = head.Position - Part.Position
  2136.         local mag = targ.magnitude
  2137.         if magni >= mag and c.Name ~= plr.Name then
  2138.           Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  2139.         end
  2140.       end
  2141.     end
  2142.   end
  2143. end
  2144.  
  2145.  
  2146. CFuncs = {
  2147.     Part = {
  2148.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2149.             local Part = Create("Part")({
  2150.                 Parent = Parent,
  2151.                 Reflectance = Reflectance,
  2152.                 Transparency = Transparency,
  2153.                 CanCollide = false,
  2154.                 Locked = true,
  2155.                 BrickColor = BrickColor.new(tostring(BColor)),
  2156.                 Name = Name,
  2157.                 Size = Size,
  2158.                 Material = Material
  2159.             })
  2160.             RemoveOutlines(Part)
  2161.             return Part
  2162.         end
  2163.     },
  2164.     Mesh = {
  2165.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2166.             local Msh = Create(Mesh)({
  2167.                 Parent = Part,
  2168.                 Offset = OffSet,
  2169.                 Scale = Scale
  2170.             })
  2171.             if Mesh == "SpecialMesh" then
  2172.                 Msh.MeshType = MeshType
  2173.                 Msh.MeshId = MeshId
  2174.             end
  2175.             return Msh
  2176.         end
  2177.     },
  2178.     Mesh = {
  2179.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2180.             local Msh = Create(Mesh)({
  2181.                 Parent = Part,
  2182.                 Offset = OffSet,
  2183.                 Scale = Scale
  2184.             })
  2185.             if Mesh == "SpecialMesh" then
  2186.                 Msh.MeshType = MeshType
  2187.                 Msh.MeshId = MeshId
  2188.             end
  2189.             return Msh
  2190.         end
  2191.     },
  2192.     Weld = {
  2193.         Create = function(Parent, Part0, Part1, C0, C1)
  2194.             local Weld = Create("Weld")({
  2195.                 Parent = Parent,
  2196.                 Part0 = Part0,
  2197.                 Part1 = Part1,
  2198.                 C0 = C0,
  2199.                 C1 = C1
  2200.             })
  2201.             return Weld
  2202.         end
  2203.     },
  2204.     Sound = {
  2205.         Create = function(id, par, vol, pit)
  2206.             coroutine.resume(coroutine.create(function()
  2207.                 local S = Create("Sound")({
  2208.                     Volume = vol,
  2209.                     Pitch = pit or 1,
  2210.                     SoundId = id,
  2211.                     Parent = par or workspace
  2212.                 })
  2213.                 wait()
  2214.                 S:play()
  2215.                 game:GetService("Debris"):AddItem(S, 6)
  2216.             end))
  2217.         end
  2218.     },
  2219.     ParticleEmitter = {
  2220.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2221.             local fp = Create("ParticleEmitter")({
  2222.                 Parent = Parent,
  2223.                 Color = ColorSequence.new(Color1, Color2),
  2224.                 LightEmission = LightEmission,
  2225.                 Size = Size,
  2226.                 Texture = Texture,
  2227.                 Transparency = Transparency,
  2228.                 ZOffset = ZOffset,
  2229.                 Acceleration = Accel,
  2230.                 Drag = Drag,
  2231.                 LockedToPart = LockedToPart,
  2232.                 VelocityInheritance = VelocityInheritance,
  2233.                 EmissionDirection = EmissionDirection,
  2234.                 Enabled = Enabled,
  2235.                 Lifetime = LifeTime,
  2236.                 Rate = Rate,
  2237.                 Rotation = Rotation,
  2238.                 RotSpeed = RotSpeed,
  2239.                 Speed = Speed,
  2240.                 VelocitySpread = VelocitySpread
  2241.             })
  2242.             return fp
  2243.         end
  2244.     }
  2245. }
  2246. function RemoveOutlines(part)
  2247.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2248. end
  2249. function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2250.     local Part = Create("Part")({
  2251.         formFactor = FormFactor,
  2252.         Parent = Parent,
  2253.         Reflectance = Reflectance,
  2254.         Transparency = Transparency,
  2255.         CanCollide = false,
  2256.         Locked = true,
  2257.         BrickColor = BrickColor.new(tostring(BColor)),
  2258.         Name = Name,
  2259.         Size = Size,
  2260.         Material = Material
  2261.     })
  2262.     RemoveOutlines(Part)
  2263.     return Part
  2264. end
  2265. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2266.     local NEWPART = IT("Part")
  2267.     NEWPART.formFactor = FORMFACTOR
  2268.     NEWPART.Reflectance = REFLECTANCE
  2269.     NEWPART.Transparency = TRANSPARENCY
  2270.     NEWPART.CanCollide = false
  2271.     NEWPART.Locked = true
  2272.     NEWPART.Anchored = true
  2273.     if ANCHOR == false then
  2274.         NEWPART.Anchored = false
  2275.     end
  2276.     NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
  2277.     NEWPART.Name = NAME
  2278.     NEWPART.Size = SIZE
  2279.     NEWPART.Position = tors.Position
  2280.     NEWPART.Material = MATERIAL
  2281.     NEWPART:BreakJoints()
  2282.     NEWPART.Parent = PARENT
  2283.     return NEWPART
  2284. end
  2285. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2286.     local Msh = Create(Mesh)({
  2287.         Parent = Part,
  2288.         Offset = OffSet,
  2289.         Scale = Scale
  2290.     })
  2291.     if Mesh == "SpecialMesh" then
  2292.         Msh.MeshType = MeshType
  2293.         Msh.MeshId = MeshId
  2294.     end
  2295.     return Msh
  2296. end
  2297. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2298.     local Weld = Create("Weld")({
  2299.         Parent = Parent,
  2300.         Part0 = Part0,
  2301.         Part1 = Part1,
  2302.         C0 = C0,
  2303.         C1 = C1
  2304.     })
  2305.     return Weld
  2306. end
  2307.  
  2308.  
  2309. -------------------------------------------------------
  2310. --Start Effect Function--
  2311. -------------------------------------------------------
  2312. EffectModel = Instance.new("Model", char)
  2313. Effects = {
  2314.   Block = {
  2315.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2316.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2317.       prt.Anchored = true
  2318.       prt.CFrame = cframe
  2319.       local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2320.       game:GetService("Debris"):AddItem(prt, 10)
  2321.       if Type == 1 or Type == nil then
  2322.         table.insert(Effects, {
  2323.           prt,
  2324.           "Block1",
  2325.           delay,
  2326.           x3,
  2327.           y3,
  2328.           z3,
  2329.           msh
  2330.         })
  2331.       elseif Type == 2 then
  2332.         table.insert(Effects, {
  2333.           prt,
  2334.           "Block2",
  2335.           delay,
  2336.           x3,
  2337.           y3,
  2338.           z3,
  2339.           msh
  2340.         })
  2341.       else
  2342.         table.insert(Effects, {
  2343.           prt,
  2344.           "Block3",
  2345.           delay,
  2346.           x3,
  2347.           y3,
  2348.           z3,
  2349.           msh
  2350.         })
  2351.       end
  2352.     end
  2353.   },
  2354.   Sphere = {
  2355.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2356.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2357.       prt.Anchored = true
  2358.       prt.CFrame = cframe
  2359.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2360.       game:GetService("Debris"):AddItem(prt, 10)
  2361.       table.insert(Effects, {
  2362.         prt,
  2363.         "Cylinder",
  2364.         delay,
  2365.         x3,
  2366.         y3,
  2367.         z3,
  2368.         msh
  2369.       })
  2370.     end
  2371.   },
  2372.   Cylinder = {
  2373.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2374.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2375.       prt.Anchored = true
  2376.       prt.CFrame = cframe
  2377.       local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2378.       game:GetService("Debris"):AddItem(prt, 10)
  2379.       table.insert(Effects, {
  2380.         prt,
  2381.         "Cylinder",
  2382.         delay,
  2383.         x3,
  2384.         y3,
  2385.         z3,
  2386.         msh
  2387.       })
  2388.     end
  2389.   },
  2390.   Wave = {
  2391.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2392.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2393.       prt.Anchored = true
  2394.       prt.CFrame = cframe
  2395.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  2396.       game:GetService("Debris"):AddItem(prt, 10)
  2397.       table.insert(Effects, {
  2398.         prt,
  2399.         "Cylinder",
  2400.         delay,
  2401.         x3 / 60,
  2402.         y3 / 60,
  2403.         z3 / 60,
  2404.         msh
  2405.       })
  2406.     end
  2407.   },
  2408.   Ring = {
  2409.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2410.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2411.       prt.Anchored = true
  2412.       prt.CFrame = cframe
  2413.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2414.       game:GetService("Debris"):AddItem(prt, 10)
  2415.       table.insert(Effects, {
  2416.         prt,
  2417.         "Cylinder",
  2418.         delay,
  2419.         x3,
  2420.         y3,
  2421.         z3,
  2422.         msh
  2423.       })
  2424.     end
  2425.   },
  2426.   Break = {
  2427.     Create = function(brickcolor, cframe, x1, y1, z1)
  2428.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2429.       prt.Anchored = true
  2430.       prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2431.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2432.       local num = math.random(10, 50) / 1000
  2433.       game:GetService("Debris"):AddItem(prt, 10)
  2434.       table.insert(Effects, {
  2435.         prt,
  2436.         "Shatter",
  2437.         num,
  2438.         prt.CFrame,
  2439.         math.random() - math.random(),
  2440.         0,
  2441.         math.random(50, 100) / 100
  2442.       })
  2443.     end
  2444.   },
  2445. Spiral = {
  2446.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2447.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2448.       prt.Anchored = true
  2449.       prt.CFrame = cframe
  2450.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2451.       game:GetService("Debris"):AddItem(prt, 10)
  2452.       table.insert(Effects, {
  2453.         prt,
  2454.         "Cylinder",
  2455.         delay,
  2456.         x3,
  2457.         y3,
  2458.         z3,
  2459.         msh
  2460.       })
  2461.     end
  2462.   },
  2463. Push = {
  2464.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2465.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2466.       prt.Anchored = true
  2467.       prt.CFrame = cframe
  2468.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2469.       game:GetService("Debris"):AddItem(prt, 10)
  2470.       table.insert(Effects, {
  2471.         prt,
  2472.         "Cylinder",
  2473.         delay,
  2474.         x3,
  2475.         y3,
  2476.         z3,
  2477.         msh
  2478.       })
  2479.     end
  2480.   }
  2481. }
  2482. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  2483.     local fp = IT("Part")
  2484.     fp.formFactor = formfactor
  2485.     fp.Parent = parent
  2486.     fp.Reflectance = reflectance
  2487.     fp.Transparency = transparency
  2488.     fp.CanCollide = false
  2489.     fp.Locked = true
  2490.     fp.BrickColor = brickcolor
  2491.     fp.Name = name
  2492.     fp.Size = size
  2493.     fp.Position = tors.Position
  2494.     RemoveOutlines(fp)
  2495.     fp.Material = "SmoothPlastic"
  2496.     fp:BreakJoints()
  2497.     return fp
  2498. end
  2499.  
  2500. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2501.     local mesh = IT(Mesh)
  2502.     mesh.Parent = part
  2503.     if Mesh == "SpecialMesh" then
  2504.         mesh.MeshType = meshtype
  2505.     if meshid ~= "nil" then
  2506.         mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  2507.         end
  2508.     end
  2509.     mesh.Offset = offset
  2510.     mesh.Scale = scale
  2511.     return mesh
  2512. end
  2513.  
  2514. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  2515.     local type = type
  2516.     local rng = Instance.new("Part", char)
  2517.     rng.Anchored = true
  2518.     rng.BrickColor = color
  2519.     rng.CanCollide = false
  2520.     rng.FormFactor = 3
  2521.     rng.Name = "Ring"
  2522.     rng.Material = "Neon"
  2523.     rng.Size = Vector3.new(1, 1, 1)
  2524.     rng.Transparency = 0
  2525.     rng.TopSurface = 0
  2526.     rng.BottomSurface = 0
  2527.     rng.CFrame = pos
  2528.     local rngm = Instance.new("SpecialMesh", rng)
  2529.     rngm.MeshType = MType
  2530.     rngm.Scale = scale
  2531.     local scaler2 = 1
  2532.     if type == "Add" then
  2533.         scaler2 = 1 * value
  2534.     elseif type == "Divide" then
  2535.         scaler2 = 1 / value
  2536.     end
  2537.     coroutine.resume(coroutine.create(function()
  2538.         for i = 0, 10 / bonuspeed, 0.1 do
  2539.             swait()
  2540.             if type == "Add" then
  2541.                 scaler2 = scaler2 - 0.01 * value / bonuspeed
  2542.             elseif type == "Divide" then
  2543.                 scaler2 = scaler2 - 0.01 / value * bonuspeed
  2544.             end
  2545.             rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2546.             rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  2547.         end
  2548.         rng:Destroy()
  2549.     end))
  2550. end
  2551.  
  2552. function Eviscerate(dude)
  2553.     if dude.Name ~= char then
  2554.         local bgf = IT("BodyGyro", dude.Head)
  2555.         bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  2556.         local val = IT("BoolValue", dude)
  2557.         val.Name = "IsHit"
  2558.         local ds = coroutine.wrap(function()
  2559.             dude:WaitForChild("Head"):BreakJoints()
  2560.             wait(0.5)
  2561.             target = nil
  2562.             coroutine.resume(coroutine.create(function()
  2563.                 for i, v in pairs(dude:GetChildren()) do
  2564.                     if v:IsA("Accessory") then
  2565.                         v:Destroy()
  2566.                     end
  2567.                     if v:IsA("Humanoid") then
  2568.                         v:Destroy()
  2569.                     end
  2570.                     if v:IsA("CharacterMesh") then
  2571.                         v:Destroy()
  2572.                     end
  2573.                     if v:IsA("Model") then
  2574.                         v:Destroy()
  2575.                     end
  2576.                     if v:IsA("Part") or v:IsA("MeshPart") then
  2577.                         for x, o in pairs(v:GetChildren()) do
  2578.                             if o:IsA("Decal") then
  2579.                                 o:Destroy()
  2580.                             end
  2581.                         end
  2582.                         coroutine.resume(coroutine.create(function()
  2583.                             v.Material = "Neon"
  2584.                             v.CanCollide = false
  2585.                             local PartEmmit1 = IT("ParticleEmitter", v)
  2586.                             PartEmmit1.LightEmission = 1
  2587.                             PartEmmit1.Texture = "rbxassetid://284205403"
  2588.                             PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2589.                             PartEmmit1.Rate = 150
  2590.                             PartEmmit1.Lifetime = NumberRange.new(1)
  2591.                             PartEmmit1.Size = NumberSequence.new({
  2592.                                 NumberSequenceKeypoint.new(0, 0.75, 0),
  2593.                                 NumberSequenceKeypoint.new(1, 0, 0)
  2594.                             })
  2595.                             PartEmmit1.Transparency = NumberSequence.new({
  2596.                                 NumberSequenceKeypoint.new(0, 0, 0),
  2597.                                 NumberSequenceKeypoint.new(1, 1, 0)
  2598.                             })
  2599.                             PartEmmit1.Speed = NumberRange.new(0, 0)
  2600.                             PartEmmit1.VelocitySpread = 30000
  2601.                             PartEmmit1.Rotation = NumberRange.new(-500, 500)
  2602.                             PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  2603.                             local BodPoss = IT("BodyPosition", v)
  2604.                             BodPoss.P = 3000
  2605.                             BodPoss.D = 1000
  2606.                             BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2607.                             BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2608.                             v.Color = maincolor.Color
  2609.                             coroutine.resume(coroutine.create(function()
  2610.                                 for i = 0, 49 do
  2611.                                     swait(1)
  2612.                                     v.Transparency = v.Transparency + 0.08
  2613.                                 end
  2614.                                 wait(0.5)
  2615.                                 PartEmmit1.Enabled = false
  2616.                                 wait(3)
  2617.                                 v:Destroy()
  2618.                                 dude:Destroy()
  2619.                             end))
  2620.                         end))
  2621.                     end
  2622.                 end
  2623.             end))
  2624.         end)
  2625.         ds()
  2626.     end
  2627. end
  2628.  
  2629. function FindNearestHead(Position, Distance, SinglePlayer)
  2630.     if SinglePlayer then
  2631.         return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  2632.     end
  2633.     local List = {}
  2634.     for i, v in pairs(workspace:GetChildren()) do
  2635.         if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  2636.             table.insert(List, v)
  2637.         end
  2638.     end
  2639.     return List
  2640. end
  2641.  
  2642. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  2643.     local type = type
  2644.     local rng = Instance.new("Part", char)
  2645.     rng.Anchored = true
  2646.     rng.BrickColor = color
  2647.     rng.CanCollide = false
  2648.     rng.FormFactor = 3
  2649.     rng.Name = "Ring"
  2650.     rng.Material = "Neon"
  2651.     rng.Size = Vector3.new(1, 1, 1)
  2652.     rng.Transparency = 0
  2653.     rng.TopSurface = 0
  2654.     rng.BottomSurface = 0
  2655.     rng.CFrame = pos
  2656.     rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2657.     local rngm = Instance.new("SpecialMesh", rng)
  2658.     rngm.MeshType = MType
  2659.     rngm.Scale = Vector3.new(x1, y1, z1)
  2660.     local scaler2 = 1
  2661.     local speeder = FastSpeed
  2662.     if type == "Add" then
  2663.         scaler2 = 1 * value
  2664.     elseif type == "Divide" then
  2665.         scaler2 = 1 / value
  2666.     end
  2667.     coroutine.resume(coroutine.create(function()
  2668.         for i = 0, 10 / bonuspeed, 0.1 do
  2669.             swait()
  2670.             if type == "Add" then
  2671.                 scaler2 = scaler2 - 0.01 * value / bonuspeed
  2672.             elseif type == "Divide" then
  2673.                 scaler2 = scaler2 - 0.01 / value * bonuspeed
  2674.             end
  2675.             speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2676.             rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2677.             rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2678.             rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2679.         end
  2680.         rng:Destroy()
  2681.     end))
  2682. end
  2683.  
  2684. function SoulSteal(dude)
  2685. if dude.Name ~= char then
  2686. local bgf = IT("BodyGyro", dude.Head)
  2687. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  2688. local val = IT("BoolValue", dude)
  2689. val.Name = "IsHit"
  2690. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  2691. local soulst = coroutine.wrap(function()
  2692. local soul = Instance.new("Part",dude)
  2693. soul.Size = Vector3.new(1,1,1)
  2694. soul.CanCollide = false
  2695. soul.Anchored = false
  2696. soul.Position = torso.Position
  2697. soul.Transparency = 1
  2698. local PartEmmit1 = IT("ParticleEmitter", soul)
  2699. PartEmmit1.LightEmission = 1
  2700. PartEmmit1.Texture = "rbxassetid://569507414"
  2701. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2702. PartEmmit1.Rate = 250
  2703. PartEmmit1.Lifetime = NumberRange.new(1.6)
  2704. PartEmmit1.Size = NumberSequence.new({
  2705.     NumberSequenceKeypoint.new(0, 1, 0),
  2706.     NumberSequenceKeypoint.new(1, 0, 0)
  2707. })
  2708. PartEmmit1.Transparency = NumberSequence.new({
  2709.     NumberSequenceKeypoint.new(0, 0, 0),
  2710.     NumberSequenceKeypoint.new(1, 1, 0)
  2711. })
  2712. PartEmmit1.Speed = NumberRange.new(0, 0)
  2713. PartEmmit1.VelocitySpread = 30000
  2714. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  2715. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  2716. local BodPoss = IT("BodyPosition", soul)
  2717. BodPoss.P = 3000
  2718. BodPoss.D = 1000
  2719. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2720. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2721. wait(1.6)
  2722. soul.Touched:connect(function(hit)
  2723.     if hit.Parent == char then
  2724.     soul:Destroy()
  2725.     end
  2726. end)
  2727. wait(1.2)
  2728. while soul do
  2729.     swait()
  2730.     PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2731.     BodPoss.Position = tors.Position
  2732. end
  2733. end)
  2734.     soulst()
  2735.     end
  2736. end
  2737. function FaceMouse()
  2738. local   Cam = workspace.CurrentCamera
  2739.     return {
  2740.         CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2741.         Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2742.     }
  2743. end
  2744. -------------------------------------------------------
  2745. --End Effect Function--
  2746. -------------------------------------------------------
  2747. function Cso(ID, PARENT, VOLUME, PITCH)
  2748.     local NSound = nil
  2749.     coroutine.resume(coroutine.create(function()
  2750.         NSound = IT("Sound", PARENT)
  2751.         NSound.Volume = VOLUME
  2752.         NSound.Pitch = PITCH
  2753.         NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  2754.         swait()
  2755.         NSound:play()
  2756.         game:GetService("Debris"):AddItem(NSound, 10)
  2757.     end))
  2758.     return NSound
  2759. end
  2760. function CameraEnshaking(Length, Intensity)
  2761.     coroutine.resume(coroutine.create(function()
  2762.         local intensity = 1 * Intensity
  2763.         local rotM = 0.01 * Intensity
  2764.         for i = 0, Length, 0.1 do
  2765.             swait()
  2766.             intensity = intensity - 0.05 * Intensity / Length
  2767.             rotM = rotM - 5.0E-4 * Intensity / Length
  2768.             hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  2769.             cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  2770.         end
  2771.         hum.CameraOffset = Vector3.new(0, 0, 0)
  2772.     end))
  2773. end
  2774.  
  2775. local Particle = IT("ParticleEmitter",nil)
  2776. Particle.Enabled = false
  2777. --Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  2778. Particle.LightEmission = 0.5
  2779. Particle.Rate = 150
  2780. Particle.ZOffset = 1
  2781. Particle.Rotation = NumberRange.new(-180, 180)
  2782. Particle.RotSpeed = NumberRange.new(-180, 180)
  2783. Particle.Texture = "http://www.roblox.com/asset/?id=284205403"
  2784. Particle.Color = ColorSequence.new(Color3.new(0,0,0),Color3.new(0,0,0))
  2785.  
  2786. function ParticleEmitter(Table)
  2787.     local PRTCL = Particle:Clone()
  2788.     local Speed = Table.Speed or 5
  2789.     local Drag = Table.Drag or 0
  2790.     local Size1 = Table.Size1 or 1
  2791.     local Size2 = Table.Size2 or 5
  2792.     local Lifetime1 = Table.Lifetime1 or 1
  2793.     local Lifetime2 = Table.Lifetime2 or 1.5
  2794.     local Parent = Table.Parent or tors
  2795.     local Emit = Table.Emit or 100
  2796.     local Offset = Table.Offset or 360
  2797.     local Acel = Table.Acel or Vector3.new(0,-50,0)
  2798.     local Enabled = Table.Enabled or false
  2799.     PRTCL.Parent = Parent
  2800.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  2801.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2802.     PRTCL.Speed = NumberRange.new(Speed)
  2803.     PRTCL.VelocitySpread = Offset
  2804.     PRTCL.Drag = Drag
  2805.     PRTCL.Acceleration = Acel
  2806.     if Enabled == false then
  2807.         PRTCL:Emit(Emit)
  2808.         game:GetService("Debris"):AddItem(PRTCL,Lifetime2)
  2809.     else
  2810.         PRTCL.Enabled = true
  2811.     end
  2812.     return PRTCL
  2813. end
  2814. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = rl, Emit = 900, Offset = 360, Enabled = true})
  2815. --PRT.LockedToPart = true
  2816. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = ll, Emit = 900, Offset = 360, Enabled = true})
  2817. --PRT.LockedToPart = true
  2818. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = tors, Emit = 900, Offset = 360, Enabled = true})
  2819. --PRT.LockedToPart = true
  2820. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = ra, Emit = 900, Offset = 360, Enabled = true})
  2821. --PRT.LockedToPart = true
  2822. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = la, Emit = 900, Offset = 360, Enabled = true})
  2823. --PRT.LockedToPart = true
  2824. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2825.     local NEWWELD = IT(TYPE)
  2826.     NEWWELD.Part0 = PART0
  2827.     NEWWELD.Part1 = PART1
  2828.     NEWWELD.C0 = C0
  2829.     NEWWELD.C1 = C1
  2830.     NEWWELD.Parent = PARENT
  2831.     return NEWWELD
  2832. end
  2833.  
  2834. function MakeForm(PART,TYPE)
  2835.     local MSH = nil
  2836.     if TYPE == "Cyl" then
  2837.         MSH = IT("CylinderMesh",PART)
  2838.     elseif TYPE == "Ball" then
  2839.         MSH = IT("SpecialMesh",PART)
  2840.         MSH.MeshType = "Sphere"
  2841.     elseif TYPE == "Wedge" then
  2842.         MSH = IT("SpecialMesh",PART)
  2843.         MSH.MeshType = "Wedge"
  2844.     elseif TYPE == "Block" then
  2845.         MSH = IT("SpecialMesh",PART)
  2846.         MSH.MeshType = "Brick"
  2847.     end
  2848.     return MSH
  2849. end
  2850.  
  2851. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  2852.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  2853. end
  2854.  
  2855. function Sink(position,radius)
  2856.     for i,v in ipairs(workspace:GetChildren()) do
  2857.     if v:FindFirstChild("Hit2By"..plr.Name) == nil then
  2858.         local body = v:GetChildren()
  2859.             for part = 1, #body do
  2860.                 if(v:FindFirstChild("Hit2By"..plr.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= char) then
  2861.                     if(body[part].Position - position).Magnitude < radius then
  2862.                         if v.ClassName == "Model" then
  2863.                             v:FindFirstChildOfClass("Humanoid").Name = "Humanoid"
  2864.                             if v:FindFirstChild("Humanoid") then
  2865.                                 local defence = Instance.new("BoolValue",v)
  2866.                                 defence.Name = ("Hit2By"..plr.Name)
  2867.                                 if v.Humanoid.Health ~= 0 then
  2868.                                     local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2869.                                     if TORS ~= nil then
  2870.                                         local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + Vector3.new(0, -1, 0))).lookVector, 25 * TORS.Size.Y/2, v)
  2871.                                         coroutine.resume(coroutine.create(function()
  2872.                                             if HITFLOOR2 ~= nil then
  2873.                                                 TORS.Anchored = true
  2874.                                                 local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(TORS.Size.X*4,0,TORS.Size.X*4))
  2875.                                                 Hole2.Color = Color3.new(0,0,0)
  2876.                                                 local MESH = MakeForm(Hole2,"Cyl")
  2877.                                                 MESH.Scale = Vector3.new(0,1,0)
  2878.                                                 Hole2.CFrame = CF(HITPOS2)
  2879.                                                 for i = 1, 10 do
  2880.                                                     swait()
  2881.                                                     MESH.Scale = MESH.Scale + Vector3.new(0.1,0,0.1)
  2882.                                                 end
  2883.                                                 --Cso("160440683", v:FindFirstChild("Head"), 10, .8)
  2884.                                                 Cso("154955269", v:FindFirstChild("Head"), 10, 1)
  2885.                                                 repeat
  2886.                                                     swait()
  2887.                                                     TORS.CFrame = TORS.CFrame * CF(0,-0.1,0)
  2888.                                                     --MESH.Scale = MESH.Scale + Vector3.new(0,1.6,0)
  2889.                                                 until TORS.Position.Y<position.Y-4
  2890.                                                 v:remove()
  2891.                                                 for i = 1, 10 do
  2892.                                                     swait()
  2893.                                                     MESH.Scale = MESH.Scale - Vector3.new(0.1,0,0.1)
  2894.                                                 end
  2895.                                                 Hole2:remove()
  2896.                                             end
  2897.                                         end))
  2898.                                     end
  2899.                                 end
  2900.                             end
  2901.                         end
  2902.                         --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  2903.                     end
  2904.                 end
  2905.             end
  2906.         end
  2907.     end
  2908. end
  2909. function Trail(Part)
  2910.     local TRAIL = Part:Clone()
  2911.     TRAIL.CanCollide = false
  2912.     TRAIL.Anchored = true
  2913.     TRAIL.Parent = EffectModel
  2914.     TRAIL.Name = "Trail"
  2915.     local TRANS = Part.Transparency
  2916.     coroutine.resume(coroutine.create(function()
  2917.         for i = 1, 20 do
  2918.             swait()
  2919.             TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  2920.         end
  2921.         TRAIL:remove()
  2922.     end))
  2923. end
  2924. function getRegion(point,range,ignore)
  2925.     return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100)
  2926. end
  2927.  
  2928. function GetTorso(char)
  2929.     return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  2930. end
  2931.  
  2932. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  2933.  
  2934. NewInstance = function(instance,parent,properties)
  2935.     local inst = Instance.new(instance)
  2936.     inst.Parent = parent
  2937.     if(properties)then
  2938.         for i,v in next, properties do
  2939.             pcall(function() inst[i] = v end)
  2940.         end
  2941.     end
  2942.     return inst;
  2943. end
  2944.  
  2945. function Part(parent,color,material,size,cframe,anchored,cancollide)
  2946.     local part = Instance.new("Part")
  2947.     part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0)
  2948.     part.Material = material or Enum.Material.SmoothPlastic
  2949.     part.TopSurface,part.BottomSurface=10,10
  2950.     part.Size = size or Vector3.new(1,1,1)
  2951.     part.CFrame = cframe or CF(0,0,0)
  2952.     part.Anchored = anchored or true
  2953.     part.CanCollide = cancollide or false
  2954.     part.Parent = parent or char
  2955.     return part
  2956. end
  2957. -------------------------------------------------------
  2958. --End Important Functions--
  2959. -------------------------------------------------------
  2960.  
  2961.  
  2962. -------------------------------------------------------
  2963. --Start Customization--
  2964. -------------------------------------------------------
  2965. local Player_Size = 1
  2966. if Player_Size ~= 1 then
  2967. root.Size = root.Size * Player_Size
  2968. tors.Size = tors.Size * Player_Size
  2969. hed.Size = hed.Size * Player_Size
  2970. ra.Size = ra.Size * Player_Size
  2971. la.Size = la.Size * Player_Size
  2972. rl.Size = rl.Size * Player_Size
  2973. ll.Size = ll.Size * Player_Size
  2974. ----------------------------------------------------------------------------------
  2975. rootj.Parent = root
  2976. neck.Parent = tors
  2977. RW.Parent = tors
  2978. LW.Parent = tors
  2979. RH.Parent = tors
  2980. LH.Parent = tors
  2981. ----------------------------------------------------------------------------------
  2982. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2983. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2984. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  2985. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  2986. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  2987. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  2988. ----------------------------------------------------------------------------------
  2989. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2990. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2991. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2992. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2993. --hat.Parent = Character
  2994. end
  2995. ----------------------------------------------------------------------------------
  2996. local SONG = 660140936
  2997. local SONG2 = 0
  2998. local Music = Instance.new("Sound",tors)
  2999. Music.Volume = 2.5
  3000. Music.Looped = true
  3001. Music.Pitch = 1 --Pitcher
  3002. ----------------------------------------------------------------------------------
  3003. local equipped = false
  3004. local idle = 0
  3005. local change = 1
  3006. local val = 0
  3007. local toim = 0
  3008. local idleanim = 0.4
  3009. local sine = 0
  3010. local Sit = 1
  3011. local Mode = "Normal"
  3012. ----------------------------------------------------------------------------------
  3013. hum.WalkSpeed = 16
  3014. hum.JumpPower = 57
  3015. --hum.Animator.Parent = nil
  3016. ----------------------------------------------------------------------------------
  3017. local Hole = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(5,0,5))
  3018. local MESH = MakeForm(Hole,"Cyl")
  3019. local ROBLOXIDLEANIMATION = IT("Animation")
  3020. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  3021. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  3022. local ANIMATOR = hum.Animator
  3023. local ANIMATE = char.Animate
  3024. -------------------------------------------------------
  3025. --End Customization--
  3026. -------------------------------------------------------
  3027.  
  3028.  
  3029. -------------------------------------------------------
  3030. --Start Attacks N Stuff--
  3031. -------------------------------------------------------
  3032. function InkyWarp()
  3033.     attack = true
  3034.     attack = true
  3035.     hum.WalkSpeed = 0
  3036.     root.Anchored = true
  3037.     for i = 0, 4, 0.1 do
  3038.         swait()
  3039.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  3040.         tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  3041.         RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  3042.         LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  3043.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  3044.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  3045.     end
  3046.     for i = 0, 2, 0.1 do
  3047.         swait()
  3048.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, -15 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  3049.         tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  3050.         RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  3051.         LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  3052.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  3053.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  3054.     end
  3055.     for i = 1, 50 do
  3056.         swait()
  3057.         Trail(Hole)
  3058.         MESH.Scale = MESH.Scale - Vector3.new(0.02,0,0.02)
  3059.     end
  3060.     local ORIGINPOS = root.Position
  3061.     root.CFrame = CF(Vector3.new(mouse.Hit.p.X,root.Position.Y,mouse.Hit.p.Z),ORIGINPOS)
  3062.     Cso("154955269", tors, 10, .8)
  3063.     for i = 1, 50 do
  3064.         swait()
  3065.         MESH.Scale = MESH.Scale + Vector3.new(0.02,0,0.02)
  3066.     end
  3067.     for i = 0, 4, 0.1 do
  3068.         swait()
  3069.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  3070.         tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  3071.         RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  3072.         LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  3073.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  3074.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  3075.     end
  3076.     attack = false
  3077.     hum.WalkSpeed = 16
  3078.     root.Anchored = false
  3079. end
  3080.  
  3081. -------------------------------------------------------
  3082. --End Attacks N Stuff--
  3083. -------------------------------------------------------
  3084. mouse.KeyDown:connect(function(key)
  3085.     if attack == false then
  3086.         if key == 'z' then
  3087.             InkyWarp()
  3088.         elseif key == 'p' and Mode == "Normal" then
  3089.             Mode = "Chase"
  3090.             SONG = 1634663187
  3091.             hum.WalkSpeed = 28
  3092.         elseif key == 'p' and Mode == "Chase" then
  3093.             Mode = "Normal"
  3094.             SONG = 660140936
  3095.             hum.WalkSpeed = 16
  3096.         end
  3097.     end
  3098. end)
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107. -------------------------------------------------------
  3108. --Start Animations--
  3109. -------------------------------------------------------
  3110. print("By Makhail07")
  3111. coroutine.resume(coroutine.create(function()
  3112.     while wait() do
  3113.     if hitfloor ~= nil then
  3114.         Hole.CFrame = CF(posfloor)
  3115.     end
  3116.     Sink(Hole.Position, Hole.Size.X/2.2 * MESH.Scale.X)
  3117.     Hole.Color = Color3.new(0,0,0)
  3118.     Trail(Hole)
  3119.     end
  3120. end))
  3121. while true do
  3122.     swait()
  3123.     sine = sine + change
  3124.     ANIMATE.Parent = nil
  3125.     local IDLEANIMATION = hum:LoadAnimation(ROBLOXIDLEANIMATION)
  3126.     IDLEANIMATION:Play()
  3127.     local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  3128.     local velderp = root.Velocity.y
  3129.     hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4 * Player_Size, char)
  3130.     if equipped == true or equipped == false then
  3131.         if attack == false then
  3132.             idle = idle + 1
  3133.         else
  3134.             idle = 0
  3135.         end
  3136.         if 1 < root.Velocity.y and hitfloor == nil then
  3137.             Anim = "Jump"
  3138.             if attack == false then
  3139.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  3140.                 neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3141.                 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  3142.                 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  3143.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  3144.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  3145.             end
  3146.         elseif -1 > root.Velocity.y and hitfloor == nil then
  3147.             Anim = "Fall"
  3148.             if attack == false then
  3149.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(15), Rad(0), Rad(0)), 0.15)
  3150.                 neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3151.                 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-9.5), Rad(0), Rad(20)), 0.15)
  3152.                 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.4 - 0.1 * Cos(sine / 20)* Player_Size, -.5* Player_Size) * LHCF * angles(Rad(-9.5), Rad(0), Rad(20)), 0.15)
  3153.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(75 + 4.5 * Sin(sine / 20))), 0.1)
  3154.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-75 - 4.5 * Sin(sine / 20))), 0.1)
  3155.             end
  3156.         elseif torvel < 1 and hitfloor ~= nil then
  3157.             Anim = "Idle"
  3158.             change = 1
  3159.             if attack == false then
  3160.                 if Mode == "Normal" then
  3161.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  3162.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  3163.                 RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  3164.                 LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  3165.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  3166.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  3167.             elseif Mode == "Chase" then
  3168.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  3169.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-6.5 * Cos(sine / 12)), Rad(10), Rad(0)), 0.3)
  3170.                 RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  3171.                 LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  3172.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(5)), 0.1)
  3173.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-5)), 0.1)
  3174.                 end
  3175.             end
  3176.         elseif (tors.Velocity).magnitude < 200 and hitfloor ~= nil then
  3177.             Anim = "Walk"
  3178.             change = 1.1
  3179.             if attack == false then
  3180.                 if Mode == "Normal" then
  3181.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.13 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15)
  3182.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3183.                 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3184.                 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3185.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(57)  * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(10) - ra.RotVelocity.Y / 75), 0.1)
  3186.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-57)  * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) ,  Rad(-10) + la.RotVelocity.Y / 75), 0.1)
  3187.             elseif Mode == "Chase" then
  3188.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.13 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(17 + 8 * Cos(sine / 7))), 0.15)
  3189.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(-17) - hed.RotVelocity.Y / 15), 0.3)
  3190.                 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3191.                 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3192.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(90)  , Rad(10 * Cos(sine / 7)), Rad(28) - ra.RotVelocity.Y / 75), 0.1)
  3193.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-57)  * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) ,  Rad(-10) + la.RotVelocity.Y / 75), 0.1)
  3194.                 end
  3195.             end
  3196.         end
  3197.     end
  3198.     for _, c in pairs(char:GetDescendants()) do
  3199.         if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  3200.             c.Material = "Neon"
  3201.             c.Color = Color3.new(0,0,0)
  3202.             if c:FindFirstChildOfClass("SpecialMesh") then
  3203.                 c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3204.             end
  3205.             if c == hed then
  3206.                 if c:FindFirstChild("face") then
  3207.                     c.face:remove()
  3208.                 end
  3209.             end
  3210.         elseif c.ClassName == "Part" and c.Name == "Eye" then
  3211.             c.Color = Color3.new(1,0,0)
  3212.             c.Material = "Neon"
  3213.         elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  3214.             c:remove()
  3215.         elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  3216.             c:remove()
  3217.         end
  3218.     end
  3219.     Music.SoundId = "rbxassetid://"..SONG
  3220.     Music.Looped = true
  3221.     Music.Pitch = 1
  3222.     Music.Volume = 5
  3223.     Music.Parent = tors
  3224.     Music:Resume()
  3225.     if 0 < #Effects then
  3226.         for e = 1, #Effects do
  3227.             if Effects[e] ~= nil then
  3228.                 local Thing = Effects[e]
  3229.                 if Thing ~= nil then
  3230.                     local Part = Thing[1]
  3231.                     local Mode = Thing[2]
  3232.                     local Delay = Thing[3]
  3233.                     local IncX = Thing[4]
  3234.                     local IncY = Thing[5]
  3235.                     local IncZ = Thing[6]
  3236.                     if 1 >= Thing[1].Transparency then
  3237.                         if Thing[2] == "Block1" then
  3238.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3239.                             local Mesh = Thing[1].Mesh
  3240.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3241.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3242.                         elseif Thing[2] == "Block2" then
  3243.                             Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  3244.                             local Mesh = Thing[7]
  3245.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3246.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3247.                         elseif Thing[2] == "Block3" then
  3248.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  3249.                             local Mesh = Thing[7]
  3250.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3251.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3252.                         elseif Thing[2] == "Cylinder" then
  3253.                             local Mesh = Thing[1].Mesh
  3254.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3255.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3256.                         elseif Thing[2] == "Blood" then
  3257.                             local Mesh = Thing[7]
  3258.                             Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3259.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3260.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3261.                         elseif Thing[2] == "Elec" then
  3262.                             local Mesh = Thing[1].Mesh
  3263.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3264.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3265.                         elseif Thing[2] == "Disappear" then
  3266.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3267.                         elseif Thing[2] == "Shatter" then
  3268.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3269.                             Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3270.                             Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3271.                             Thing[6] = Thing[6] + Thing[5]
  3272.                         end
  3273.                     else
  3274.                         Part.Parent = nil
  3275.                         table.remove(Effects, e)
  3276.                     end
  3277.                 end
  3278.             end
  3279.         end
  3280.     end
  3281. end
  3282. -------------------------------------------------------
  3283. --End Animations And Script--
  3284. -------------------------------------------------------
  3285. end)
  3286.  
  3287. Saness.Name = "Saness"
  3288. Saness.Parent = MainGui
  3289. Saness.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  3290. Saness.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
  3291. Saness.BorderSizePixel = 5
  3292. Saness.Position = UDim2.new(0.0600858405, 0, 0.336170226, 0)
  3293. Saness.Size = UDim2.new(0, 206, 0, 69)
  3294. Saness.Font = Enum.Font.GothamSemibold
  3295. Saness.Text = "Saness"
  3296. Saness.TextColor3 = Color3.new(1, 1, 1)
  3297. Saness.TextScaled = true
  3298. Saness.TextSize = 14
  3299. Saness.TextWrapped = true
  3300.  
  3301. Saness.MouseButton1Down:connect(function()
  3302.    
  3303. pls=game:GetService'Players';
  3304. rs=game:GetService'RunService';
  3305. uinps=game:GetService'UserInputService';
  3306. lp=pls.LocalPlayer;
  3307. mouse=lp:GetMouse();
  3308. c=lp.Character;
  3309. rayModel=Instance.new('Model',c);
  3310. human=c.Humanoid;
  3311. Cone=nil;
  3312. human.MaxHealth=5000;
  3313. wait();
  3314. human.Health=5000;
  3315. c.Health:Destroy();
  3316. Debounces={
  3317. FPS=0;
  3318. isAttacking=false;
  3319. isMoving=false;
  3320. isSprinting=false;
  3321. Debounce=false;
  3322. isTyping=false;
  3323. isJumping=false;
  3324. isFlash=false;
  3325. };
  3326. numLerp=function(start,goal,alpha)
  3327. return(((goal-start)*alpha)+start);
  3328. end;
  3329. CFrameZero=function()
  3330. return CFrame.new(Vector3.new());
  3331. end;
  3332. local function a()
  3333. local t=tick();
  3334. local l=t%1*3;
  3335. local t=.5*math.pi*(l%1);
  3336. if l<1 then
  3337. return Color3.new(1,1-math.cos(t),1-math.sin(t));
  3338. elseif l<2 then
  3339. return Color3.new(1-math.sin(t),1,1-math.cos(t));
  3340. else
  3341. return Color3.new(1-math.cos(t),1-math.sin(t),1);
  3342. end;
  3343. end;
  3344. rad=function(value)
  3345. return math.rad(value);
  3346. end;
  3347. CFAngles=function(Vector)
  3348. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z));
  3349. end;
  3350. AnimStat={
  3351. lerpSpeed=.2;
  3352. lerpSpeed2=.35;
  3353. lerpTween=0;
  3354. };
  3355. Joints={
  3356. c.HumanoidRootPart.RootJoint;
  3357. c.Torso.Neck;
  3358. c.Torso['Left Shoulder'];
  3359. c.Torso['Right Shoulder'];
  3360. c.Torso['Left Hip'];
  3361. c.Torso['Right Hip'];
  3362. };
  3363. JointTargets={
  3364. CFrameZero();
  3365. CFrameZero();
  3366. CFrameZero();
  3367. CFrameZero();
  3368. CFrameZero();
  3369. CFrameZero();
  3370. };
  3371. prepareCharacter=function()
  3372. music=Instance.new('Sound',c.HumanoidRootPart);
  3373. music.SoundId='rbxassetid://394144904';
  3374. music.Looped=true;
  3375. music.Volume=.6;
  3376. music2=Instance.new('Sound',c);
  3377. music2.SoundId='rbxassetid://259613634';
  3378. music2.Looped=true;
  3379. music2.Volume=1;
  3380. music3=Instance.new('Sound',c.HumanoidRootPart);
  3381. music3.SoundId='rbxassetid://266530326';
  3382. music3.Looped=true;
  3383. music3.Volume=1;
  3384. music4=Instance.new('Sound',c.HumanoidRootPart);
  3385. music4.SoundId='rbxassetid://155738252';
  3386. music4.Looped=true;
  3387. music4.Volume=1;
  3388. music5=Instance.new('Sound',c.HumanoidRootPart);
  3389. music5.SoundId='rbxassetid://215391212';
  3390. music5.Looped=true;
  3391. music5.Volume=1;
  3392. human.WalkSpeed=0;
  3393. human.JumpPower=0;
  3394. for i,v in pairs(c:children())do
  3395. if v:isA'Hat'then v:Destroy();end;
  3396. if v:FindFirstChild'roblox'then v.roblox:Destroy();end;
  3397. if v.Name=='Head'then v.Transparency=1 for _,x in pairs(v:children())do if x.ClassName=='Sound'then x:Destroy();end;end;end;
  3398. if v:FindFirstChild'face'then v.face:Destroy();end;
  3399. if v:isA'Part'then v.BrickColor=BrickColor.new'White';end;
  3400. end
  3401. local shirt=c:FindFirstChild'Shirt'or Instance.new('Shirt',c);
  3402. local pants=c:FindFirstChild'Pants'or Instance.new('Pants',c);
  3403. shirt.ShirtTemplate='rbxassetid://334755544';
  3404. pants.PantsTemplate='rbxassetid://315964941';
  3405. local Head=Instance.new('Part',c);
  3406. Head.Size=Vector3.new(2.5,2.5,1);
  3407. Head.Transparency=1;
  3408. Head:BreakJoints();
  3409. local hw=Instance.new('Weld',c.Head);
  3410. hw.Part0=c.Head;
  3411. hw.Part1=Head;
  3412. hw.C0=CFrame.new(0,.3,0);
  3413. faceDecal=Instance.new('Decal',Head);
  3414. faceDecal.Face=Enum.NormalId.Front;
  3415. faceDecal.Texture='rbxassetid://400387868';
  3416. local backDecal=Instance.new('Decal',Head);
  3417. backDecal.Face=Enum.NormalId.Back;
  3418. backDecal.Texture='rbxassetid://400377807';
  3419. local mes=Instance.new('BlockMesh',Head);
  3420. mes.Scale=Vector3.new(1,1,.4);
  3421. local Anim=human:FindFirstChild'Animator'
  3422. if Anim then Anim:Destroy();end;
  3423. end;
  3424. setJointCFrames=function(table)
  3425. for i=1,#table do
  3426. JointTargets[i]=table[i];
  3427. end;
  3428. end;
  3429. triWave=function(x)
  3430. local pi2=math.pi/2;
  3431. return math.abs((x/pi2)%4-2)-1;
  3432. end;
  3433. setLerp=function(speed)
  3434. AnimStat.lerpSpeed=speed;
  3435. end;
  3436. setTween=function(tween)
  3437. AnimStat.lerpTween=tween;
  3438. end;
  3439. playSound=function(id,part,vol,pitch)
  3440. local vol=vol or 1;
  3441. local pitch=pitch or 1;
  3442. local x=Instance.new('Sound',part);
  3443. x.Volume=vol;
  3444. x.Pitch=pitch;
  3445. x.SoundId='rbxassetid://'..id;
  3446. spawn(function()
  3447. wait();
  3448. x:Play();
  3449. wait(x.TimeLength+.2);
  3450. x:Destroy();
  3451. end);
  3452. end;
  3453. lerpBoom=function()
  3454. if Cone then
  3455. Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0);
  3456. cMesh.Scale=Vector3.new(20,20+c.HumanoidRootPart.Velocity.magnitude/10,20);
  3457. Cone.Transparency=1-c.HumanoidRootPart.Velocity.magnitude/1000;
  3458. else
  3459. Cone=Instance.new('Part',c);
  3460. Cone.Anchored=true;
  3461. Cone.CanCollide=false;
  3462. Cone.Transparency=math.random(50,70)/100;
  3463. Cone.Size=Vector3.new(1,1,1);
  3464. Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0);
  3465. cMesh=Instance.new('SpecialMesh',Cone);
  3466. cMesh.MeshId='rbxassetid://1033714';
  3467. cMesh.Scale=Vector3.new(20,50,20);
  3468. end;
  3469. end;
  3470. noBoom=function()
  3471. if Cone then local x=Cone Cone=nil;
  3472. for i=1,20 do
  3473. wait();
  3474. x.Mesh.Scale=x.Mesh.Scale+Vector3.new(-.5,1,-.5);
  3475. x.Transparency=x.Transparency+1/30;
  3476. end;
  3477. end;
  3478. end;
  3479. gasterBlast=function(tCFrame,aimPos,charge)
  3480. local aimTarget;
  3481. if aimPos then
  3482. aimTarget=CFrame.new(tCFrame,aimPos);
  3483. else
  3484. aimTarget=tCFrame;
  3485. end;
  3486. local gast=Instance.new('Part',c);
  3487. gast.Size=Vector3.new(12,.2,12);
  3488. gast.CanCollide=false;
  3489. gast.Anchored=true;
  3490. gast.Transparency=1;
  3491. if charge then
  3492. playSound(400523331,gast,math.random(90,110)/100);
  3493. end;
  3494. wait();
  3495. for i=1,2 do
  3496. local decal=Instance.new('Decal',gast);
  3497. decal.Texture='rbxassetid://323497117';
  3498. if i==1 then
  3499. decal.Face=Enum.NormalId.Top;
  3500. else
  3501. decal.Face=Enum.NormalId.Bottom;
  3502. end;
  3503. end;
  3504. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  3505. spawn(function()
  3506. local tarCFrame=gast.CFrame;
  3507. local isLooping=true;
  3508. spawn(function()
  3509. while rs.RenderStepped:wait()and isLooping do
  3510. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  3511. end;
  3512. end);
  3513. for i=1,30 do
  3514. wait();
  3515. tarCFrame=gast.CFrame:lerp(aimTarget,.24);
  3516. end;
  3517. playSound(340722848,gast,math.random(90,110)/100);
  3518. isLooping=false;
  3519. wait(.08);
  3520. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  3521. local _,pos=workspace:FindPartOnRay(ray,c);
  3522. local dis=(aimTarget.p-pos).magnitude;
  3523. local rayCFrame=CFrame.new(gast.CFrame.p+(pos-gast.CFrame.p).unit*(dis/2+200),gast.CFrame.p+(pos-gast.CFrame.p).unit*dis*2)*CFrame.Angles(0,math.pi/2,0);
  3524. local rayPart=Instance.new('Part',rayModel);
  3525. rayPart.Material='Neon';
  3526. rayPart.FormFactor='Custom';
  3527. rayPart.Color=a();
  3528. rayPart.Anchored=true;
  3529. rayPart.CanCollide=false;
  3530. rayPart.Shape='Cylinder';
  3531. rayPart.Size=Vector3.new(dis+400,8,8);
  3532. rayPart.CFrame=rayCFrame;
  3533. gast:Destroy();
  3534. end);
  3535. end;
  3536. largegasterBlast=function(tCFrame,aimPos)
  3537. local aimTarget;
  3538. if aimPos then
  3539. aimTarget=CFrame.new(tCFrame,aimPos);
  3540. else
  3541. aimTarget=tCFrame;
  3542. end;
  3543. local gast=Instance.new('Part',c);
  3544. gast.Size=Vector3.new(25,.2,25);
  3545. gast.CanCollide=false;
  3546. gast.Anchored=true;
  3547. gast.Transparency=1;
  3548. playSound(400523331,gast,math.random(85,97)/100);
  3549. wait();
  3550. for i=1,2 do
  3551. local decal=Instance.new('Decal',gast);
  3552. decal.Texture='rbxassetid://323497117';
  3553. if i==1 then
  3554. decal.Face=Enum.NormalId.Top;
  3555. else
  3556. decal.Face=Enum.NormalId.Bottom;
  3557. end;
  3558. end;
  3559. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  3560. spawn(function()
  3561. local tarCFrame=gast.CFrame;
  3562. local isLooping=true;
  3563. spawn(function()
  3564. while rs.RenderStepped:wait()and isLooping do
  3565. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  3566. end;
  3567. end);
  3568. for i=1,40 do
  3569. wait();
  3570. tarCFrame=gast.CFrame:lerp(aimTarget,.18);
  3571. end;
  3572. playSound(340722848,gast,math.random(80,95)/100);
  3573. isLooping=false;
  3574. wait(.08);
  3575. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  3576. local _,pos=workspace:FindPartOnRay(ray,c);
  3577. local dis=(aimTarget.p-pos).magnitude;
  3578. local rayCFrame=CFrame.new(gast.CFrame.p+(pos-gast.CFrame.p).unit*(dis/2+200),gast.CFrame.p+(pos-gast.CFrame.p).unit*dis*2)*CFrame.Angles(0,math.pi/2,0);
  3579. local rayPart=Instance.new('Part',rayModel);
  3580. rayPart.Material='Neon';
  3581. rayPart.FormFactor='Custom';
  3582. rayPart.Color=a();
  3583. rayPart.Anchored=true;
  3584. rayPart.CanCollide=false;
  3585. rayPart.Shape='Cylinder';
  3586. rayPart.Size=Vector3.new(dis+400,17,17);
  3587. rayPart.CFrame=rayCFrame;
  3588. gast:Destroy();
  3589. end);
  3590. end;
  3591. prepareCharacter();
  3592. spawn(function()
  3593. local sine=0;
  3594. while wait()do
  3595. if Debounces.isFlash then
  3596. if(tick()*8)%2>1 then
  3597. faceDecal.Texture='rbxassetid://400377503';
  3598. else
  3599. faceDecal.Texture='rbxassetid://400387868';
  3600. end;
  3601. else
  3602. faceDecal.Texture='rbxassetid://400387868';
  3603. end;
  3604. if Debounces.isAttacking==false and Debounces.isMoving==false and Debounces.Debounce==false and Debounces.isJumping==false then
  3605. setLerp(.8);
  3606. local spasm=math.abs(math.sin(tick()*20))*1.1;
  3607. local spasm2=math.abs(math.sin(tick()*20-2))*1.1;
  3608. local spasm3=math.abs(math.sin(tick()*20-2.3))*1.1;
  3609. setJointCFrames({
  3610. CFrame.new(Vector3.new(0,0-spasm,0))*CFAngles(Vector3.new(0,0,0));
  3611. CFrame.new(Vector3.new(0,1.5,0))*CFAngles(Vector3.new(-0.011,-0.502,-1.177));
  3612. CFrame.new(Vector3.new(-1.5-spasm2^2/3,-0.001,0))*CFAngles(Vector3.new(-2.344,7.899,-2.82+spasm3^2*-60));
  3613. CFrame.new(Vector3.new(1.569+spasm2^2/3,0,-0.1))*CFAngles(Vector3.new(4.822,1.123,6.383+spasm3^2*60));
  3614. CFrame.new(Vector3.new(-0.61,-2+spasm/1.01,-.15))*CFAngles(Vector3.new(-2.206,0.767,-0.582));
  3615. CFrame.new(Vector3.new(0.55,-2+spasm/1.01,-.1))*CFAngles(Vector3.new(-0.026,0.463,3.184));
  3616. });
  3617. elseif Debounces.isAttacking==false and Debounces.isMoving==true and Debounces.Debounce==false and Debounces.isSprinting==false and Debounces.isJumping==false then
  3618. sine=tick()*18;
  3619. human.WalkSpeed=120;
  3620. setLerp(.35);
  3621. setJointCFrames({
  3622. CFrame.new(Vector3.new(0,math.sin(sine)/50-.3,0))*CFAngles(Vector3.new(-30-math.sin(sine*2)*3,math.sin(sine*2)*15,0));
  3623. CFrame.new(Vector3.new(0,1.48,0.099))*CFAngles(Vector3.new(14.999,-0.001,0));
  3624. CFrame.new(Vector3.new(-1.5,-0.001,0.2+math.sin(sine*2+math.pi)*1.2))*CFAngles(Vector3.new(-25.001+math.sin(sine*2+math.pi)*-90,0,-15));
  3625. CFrame.new(Vector3.new(1.5,-0.001,0.2+math.sin(sine*2)*1.2))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-90,-0.001,14.999));
  3626. CFrame.new(Vector3.new(-0.501,-2+math.cos(sine*2+math.pi)/3,.3+math.sin(sine*2)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-70,0,-0.001));
  3627. CFrame.new(Vector3.new(0.499,-2+math.cos(sine*2)/3,.3+math.sin(sine*2+math.pi)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*70,0,0));
  3628. });
  3629. elseif Debounces.isAttacking==false and Debounces.isMoving==true and Debounces.Debounce==false and Debounces.isSprinting==true and Debounces.isJumping==false then
  3630. sine=tick()*28;
  3631. human.WalkSpeed=400;
  3632. lerpBoom();
  3633. setLerp(.65);
  3634. setJointCFrames({
  3635. CFrame.new(Vector3.new(0,math.sin(sine)/50-.3,0))*CFAngles(Vector3.new(-30-math.sin(sine*2)*3,math.sin(sine*2)*15,0));
  3636. CFrame.new(Vector3.new(0,1.48,0.099))*CFAngles(Vector3.new(14.999,-0.001,0));
  3637. CFrame.new(Vector3.new(-1.5,-0.001,0.2+math.sin(sine*2+math.pi)*1.2))*CFAngles(Vector3.new(-25.001+math.sin(sine*2+math.pi)*-90,0,-15));
  3638. CFrame.new(Vector3.new(1.5,-0.001,0.2+math.sin(sine*2)*1.2))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-90,-0.001,14.999));
  3639. CFrame.new(Vector3.new(-0.501,-2+math.cos(sine*2+math.pi)/3,.3+math.sin(sine*2)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-70,0,-0.001));
  3640. CFrame.new(Vector3.new(0.499,-2+math.cos(sine*2)/3,.3+math.sin(sine*2+math.pi)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*70,0,0));
  3641. });
  3642. elseif Debounces.isJumping==true and Debounces.Debounce==false then
  3643. setLerp(.14);
  3644. human.WalkSpeed=45;
  3645. setJointCFrames({
  3646. CFrame.new(Vector3.new(0,0,0))*CFAngles(Vector3.new(-8,0,0));
  3647. CFrame.new(Vector3.new(0,1.5,-0.15))*CFAngles(Vector3.new(-10.138,3.687,0.306));
  3648. CFrame.new(Vector3.new(-1.23,0.069,-0.56))*CFAngles(Vector3.new(50.809,0.672,18.704));
  3649. CFrame.new(Vector3.new(0.929,-0.031,-1.0912))*CFAngles(Vector3.new(63.00,13.85,-36.416));
  3650. CFrame.new(Vector3.new(-0.63,-1.82,-0.74))*CFAngles(Vector3.new(31.324,3.424,-1.249));
  3651. CFrame.new(Vector3.new(0.619,-1.331,0.82))*CFAngles(Vector3.new(-59.644,0.998,9.776));
  3652. });
  3653. end;
  3654. end;
  3655. end);
  3656. human.Changed:connect(function(prop)
  3657. if prop=='MoveDirection'then
  3658. if human.MoveDirection.magnitude>.02 then
  3659. Debounces.isMoving=true;
  3660. else
  3661. Debounces.isMoving=false;
  3662. end;
  3663. end;
  3664. end);
  3665. uinps.InputBegan:connect(function(InputObj)
  3666. if InputObj.KeyCode==Enum.KeyCode.Slash then
  3667. local finishEvent=nil;
  3668. Debounces.isTyping=true
  3669. finishEvent=uinps.InputBegan:connect(function(InputObj)
  3670. if InputObj.KeyCode==Enum.KeyCode.Return or InputObj.UserInputType==Enum.UserInputType.MouseButton1 then
  3671. Debounces.isTyping=false;
  3672. finishEvent:disconnect();
  3673. end;
  3674. end);
  3675. end;
  3676. end);
  3677. mouse.KeyDown:connect(function(key)
  3678. if key=='0'then
  3679. Debounces.isSprinting=true;
  3680. playSound(160248522,c.Torso);
  3681. for i=1,3 do
  3682. spawn(function()
  3683. local e=Instance.new('Part',c);
  3684. e.Size=Vector3.new(1,1,1);
  3685. e.Material='Neon';
  3686. e.Color=a();
  3687. e.Anchored=true;
  3688. e.CFrame=c.HumanoidRootPart.CFrame*CFrame.Angles(0,0,-math.pi/2);
  3689. e.CanCollide=false;
  3690. local rm=Instance.new('SpecialMesh',e);
  3691. rm.MeshType='FileMesh';
  3692. rm.MeshId='rbxassetid://3270017';
  3693. rm.Scale=Vector3.new(3.2,3.2,10);
  3694. for x=1,30 do
  3695. wait();
  3696. rm.Scale=rm.Scale:lerp(Vector3.new(i*30,i*30,(4-i)*450),.1);
  3697. e.Transparency=x/30+.5;
  3698. end;
  3699. end);
  3700. end;
  3701. c.HumanoidRootPart.Velocity=c.HumanoidRootPart.CFrame.lookVector*200;
  3702. end;
  3703. end);
  3704. mouse.KeyUp:connect(function(key)
  3705. if key=='0'then
  3706. Debounces.isSprinting=false;
  3707. end;
  3708. end);
  3709. mouse.KeyDown:connect(function(key)
  3710. if key=='v'then
  3711. playSound(201858087,c.Torso,math.random(90,120)/100);
  3712. local oldPos=c.HumanoidRootPart.CFrame.p;
  3713. local mHit=mouse.Hit.p;
  3714. for i=1,2 do
  3715. spawn(function()
  3716. local pos
  3717. if i==1 then pos=oldPos else pos=mHit end
  3718. local p=Instance.new('Part',workspace);
  3719. p.Anchored=true;
  3720. p.CanCollide=false;
  3721. p.Color=a();
  3722. p.FormFactor='Custom';
  3723. p.CFrame=CFrame.new(pos+Vector3.new(0,500,0));
  3724. p.Transparency=.4;
  3725. p.Size=Vector3.new(20,1000,20);
  3726. for i=1,20 do
  3727. wait();
  3728. p.Transparency=.4+(i/10)*.6;
  3729. p.Size=Vector3.new(20-i*1.5,1000,20-i*1.5);
  3730. p.CFrame=CFrame.new(pos+Vector3.new(0,500,0));
  3731. end;
  3732. p:Destroy();
  3733. end);
  3734. end;
  3735. if Debounces.isMoving then
  3736. c.HumanoidRootPart.CFrame=CFrame.new(mouse.Hit.p+Vector3.new(0,4,0),Vector3.new(c.HumanoidRootPart.Velocity.x,mouse.Hit.p.y+4,c.HumanoidRootPart.Velocity.z));
  3737. else
  3738. c.HumanoidRootPart.CFrame=CFrame.new(mouse.Hit.p+Vector3.new(0,4,0),Vector3.new(oldPos.x,mouse.Hit.p.y+4,oldPos.z));
  3739. end;
  3740. end;
  3741. end);
  3742. mouse.KeyDown:connect(function(key)
  3743. if key=='r'then
  3744. local pointTarget=mouse.Hit.p;
  3745. for i=1,20 do
  3746. wait();
  3747. gasterBlast(CFrame.new(pointTarget+Vector3.new(math.sin(tick()*10)*20,5+math.abs(math.sin(tick()*5)*10),math.cos(tick()*10)*20),pointTarget));
  3748. end;
  3749. wait();
  3750. largegasterBlast(CFrame.new(pointTarget+Vector3.new(0,35,0),pointTarget));
  3751. end;
  3752. end);
  3753. mouse.KeyDown:connect(function(key)
  3754. if key=='f'then
  3755. local pointTarget=mouse.Hit.p;
  3756. for i=1,20 do
  3757. wait();
  3758. gasterBlast(CFrame.new(c.HumanoidRootPart.CFrame.p+Vector3.new(0,50,0),pointTarget):toWorldSpace(CFrame.new(math.sin(i/2)*(20-i),math.cos(i/2)*(20-i),-i)));
  3759. end;
  3760. largegasterBlast(CFrame.new(c.HumanoidRootPart.CFrame.p+Vector3.new(0,50,0),pointTarget):toWorldSpace(CFrame.new(0,0,-25)));
  3761. end;
  3762. end);
  3763. mouse.Button1Down:connect(function()
  3764. Debounces.isFlash=true;
  3765. end);
  3766. mouse.Button1Up:connect(function()
  3767. Debounces.isFlash=false;
  3768. end);
  3769. mouse.KeyDown:connect(function(key)
  3770. if key=='k'then
  3771. if music.isPlaying then music:Stop();else music:Play();end;
  3772. end;
  3773. end);
  3774. mouse.KeyDown:connect(function(key)
  3775. if key=='j'then
  3776. if music2.isPlaying then music2:Stop();else music2:Play();end;
  3777. end;
  3778. end);
  3779. mouse.KeyDown:connect(function(key)
  3780. if key=='l'then
  3781. if music3.isPlaying then music3:Stop();else music3:Play();end;
  3782. end;
  3783. end);
  3784. mouse.KeyDown:connect(function(key)
  3785. if key=='p'then
  3786. if music4.isPlaying then music4:Stop();else music4:Play();end;
  3787. end;
  3788. end);
  3789. mouse.KeyDown:connect(function(key)
  3790. if key=='o'then
  3791. if music5.isPlaying then music4:Stop();else music5:Play();end;
  3792. end;
  3793. end);
  3794. mouse.KeyDown:connect(function(key)
  3795. if key=='e'then
  3796. gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p,true);
  3797. end;
  3798. end);
  3799. mouse.KeyDown:connect(function(key)
  3800. if key=='c'then
  3801. largegasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p);
  3802. end;
  3803. end);
  3804. mouse.KeyDown:connect(function(key)
  3805. if key=='q'then
  3806. for i=1,5 do
  3807. wait();
  3808. gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p);
  3809. end;
  3810. largegasterBlast(c.Torso.CFrame.p+Vector3.new(0,25,0),mouse.Hit.p);
  3811. end;
  3812. end);
  3813. mouse.KeyDown:connect(function(key)
  3814. if key=='t'then
  3815. local pointTarget=mouse.Hit.p;
  3816. for i=1,20 do
  3817. gasterBlast(pointTarget+Vector3.new(math.sin(math.deg((360/40)*i))*(20-i),5+i,math.cos(math.deg((360/40)*i))*(20-i)),pointTarget);
  3818. end;
  3819. wait(.2);
  3820. for i=1,10 do
  3821. largegasterBlast(pointTarget+Vector3.new(math.sin(math.deg((360/20)*i))*25,20,math.cos(math.deg((360/20)*i))*25),pointTarget);
  3822. end;
  3823. end;
  3824. end);
  3825. human.StateChanged:connect(function(os,ns)
  3826. if c.HumanoidRootPart.Velocity.Y<.1 and Debounces.isJumping==true and ns==Enum.HumanoidStateType.Landed then
  3827. Debounces.isJumping=false;
  3828. end;
  3829. end);
  3830. for i=1,#Joints do
  3831. Joints[i].C1=CFrameZero();
  3832. end;
  3833. rs.RenderStepped:connect(function()
  3834. Debounces.FPS=1/rs.RenderStepped:wait();
  3835. if Debounces.FPS<30 then
  3836. Debounces.FPS=30;
  3837. end;
  3838. if Debounces.isSprinting then
  3839. lerpBoom();
  3840. else
  3841. noBoom();
  3842. end;
  3843. for _,v in pairs(rayModel:children())do
  3844. v.Transparency=v.Transparency+.06/(Debounces.FPS/60);
  3845. if v.Transparency>.99 then v:Destroy();return;end;
  3846. v.CanCollide=true;
  3847. local tParts=v:GetTouchingParts();
  3848. v.CanCollide=false;
  3849. local vCFrame=v.CFrame;
  3850. v.Size=v.Size+Vector3.new(0,1,1)/(Debounces.FPS/60);
  3851. v.CFrame=vCFrame;
  3852. for _,x in pairs(tParts)do
  3853. if x and x.Parent and x.Parent:FindFirstChild'Humanoid'and x.Parent.Humanoid:isA'Humanoid'and x.Parent~=c then
  3854. x.Parent.Humanoid:TakeDamage(1,2);
  3855. end;
  3856. end;
  3857. end;
  3858. local FPSLerp=AnimStat.lerpSpeed/(Debounces.FPS/60);
  3859. for i=1,#Joints do
  3860. Joints[i].C0=Joints[i].C0:lerp(JointTargets[i],FPSLerp);
  3861. end;
  3862. end);
  3863. end)
  3864.  
  3865. NoobSwitcher.Name = "NoobSwitcher"
  3866. NoobSwitcher.Parent = MainGui
  3867. NoobSwitcher.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  3868. NoobSwitcher.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
  3869. NoobSwitcher.BorderSizePixel = 5
  3870. NoobSwitcher.Position = UDim2.new(0.536480725, 0, 0.336170226, 0)
  3871. NoobSwitcher.Size = UDim2.new(0, 206, 0, 69)
  3872. NoobSwitcher.Font = Enum.Font.GothamSemibold
  3873. NoobSwitcher.Text = "Noob Switcher"
  3874. NoobSwitcher.TextColor3 = Color3.new(1, 1, 1)
  3875. NoobSwitcher.TextScaled = true
  3876. NoobSwitcher.TextSize = 14
  3877. NoobSwitcher.TextWrapped = true
  3878.  
  3879. NoobSwitcher.MouseButton1Down:connect(function()
  3880.    
  3881. end)
  3882.  
  3883. HandOrb.Name = "HandOrb"
  3884. HandOrb.Parent = MainGui
  3885. HandOrb.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  3886. HandOrb.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
  3887. HandOrb.BorderSizePixel = 5
  3888. HandOrb.Position = UDim2.new(0.0600858405, 0, 0.572340429, 0)
  3889. HandOrb.Size = UDim2.new(0, 206, 0, 69)
  3890. HandOrb.Font = Enum.Font.GothamSemibold
  3891. HandOrb.Text = "Hand Orb"
  3892. HandOrb.TextColor3 = Color3.new(1, 1, 1)
  3893. HandOrb.TextScaled = true
  3894. HandOrb.TextSize = 14
  3895. HandOrb.TextWrapped = true
  3896.  
  3897. HandOrb.MouseButton1Down:connect(function()
  3898.    
  3899. end)
  3900.  
  3901. TopKek.Name = "TopKek"
  3902. TopKek.Parent = MainGui
  3903. TopKek.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  3904. TopKek.BorderColor3 = Color3.new(0.0196078, 0.0196078, 0.0196078)
  3905. TopKek.BorderSizePixel = 5
  3906. TopKek.Position = UDim2.new(0.536480725, 0, 0.572340429, 0)
  3907. TopKek.Size = UDim2.new(0, 206, 0, 69)
  3908. TopKek.Font = Enum.Font.GothamSemibold
  3909. TopKek.Text = "TopKek V4 (May Not Work)"
  3910. TopKek.TextColor3 = Color3.new(1, 1, 1)
  3911. TopKek.TextScaled = true
  3912. TopKek.TextSize = 14
  3913. TopKek.TextWrapped = true
  3914.  
  3915. TopKek.MouseButton1Down:connect(function()
  3916.     -- Epic Script Leaked By Scratchy!
  3917. -- Subscribe for more EPIC scripts! https://www.youtube.com/channel/UC-fFrczkFJuwHJguR6SXx5Q?sub_confirmation=1
  3918.  
  3919.  
  3920. _G.Rc7Notification = function(a,b,c)
  3921. game:GetService("CoreGui"):WaitForChild("RobloxGui").SendNotification:Fire(a, b, "rbxassetid://776252057", c)
  3922. end
  3923. local topkek = {}
  3924. topkek.patch = '1.0.5a'
  3925. topkek.data = {}
  3926. topkek.commandbase = {}
  3927. topkek.navigation = {}
  3928. topkek.banmgr = {}
  3929. topkek.lplr = game:GetService('Players').LocalPlayer
  3930.  
  3931. topkek.tools = {}
  3932. topkek.tools.gui = {}
  3933. topkek.tools.util = {}
  3934. topkek.tools.animator = {}
  3935.  
  3936. topkek.windows = {}
  3937. topkek.windows.lplr = {}
  3938. topkek.windows.server = {}
  3939. topkek.windows.players = {}
  3940. topkek.windows.destruction = {}
  3941. topkek.windows.scripts = {}
  3942. topkek.windows.misc = {}
  3943.  
  3944. topkek.misc = {}
  3945.  
  3946. local NewGuiPart1 = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  3947.     NewGuiPart1.Name = "4.0"
  3948.     -------
  3949.     local NewGuiPart2 = Instance.new("Frame")
  3950.     NewGuiPart2.Active = true
  3951.     NewGuiPart2.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  3952.     NewGuiPart2.BorderSizePixel = 0
  3953.     NewGuiPart2.Name = "Main"
  3954.     NewGuiPart2.Position = UDim2.new(0, 300, 0, 50)
  3955.     NewGuiPart2.Selectable = true
  3956.     NewGuiPart2.Size = UDim2.new(0, 470, 0, 395)
  3957.     NewGuiPart2.Visible = false
  3958.     NewGuiPart2.ClipsDescendants = true
  3959.     NewGuiPart2.Draggable = true
  3960.     NewGuiPart2.Parent = NewGuiPart1
  3961.     -------
  3962.     local NewGuiPart3 = Instance.new("Frame")
  3963.     NewGuiPart3.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  3964.     NewGuiPart3.BorderSizePixel = 0
  3965.     NewGuiPart3.Name = "Topbar"
  3966.     NewGuiPart3.Position = UDim2.new(0, 150, 0, 0)
  3967.     NewGuiPart3.Size = UDim2.new(0, 320, 0, 30)
  3968.     NewGuiPart3.Parent = NewGuiPart2
  3969.     -------
  3970.     local NewGuiPart4 = Instance.new("TextLabel")
  3971.     NewGuiPart4.BackgroundTransparency = 1
  3972.     NewGuiPart4.Name = "PlayerName"
  3973.     NewGuiPart4.Position = UDim2.new(0, -140, 0, 0)
  3974.     NewGuiPart4.Size = UDim2.new(0.5, 0, 1, 0)
  3975.     NewGuiPart4.Visible = false
  3976.     NewGuiPart4.ZIndex = 4
  3977.     NewGuiPart4.Font = Enum.Font.Arcade
  3978.     NewGuiPart4.FontSize = Enum.FontSize.Size18
  3979.     NewGuiPart4.Text = "Player1"
  3980.     NewGuiPart4.TextColor3 = Color3.new(1, 1, 1)
  3981.     NewGuiPart4.TextXAlignment = Enum.TextXAlignment.Left
  3982.     NewGuiPart4.Parent = NewGuiPart3
  3983.     -------
  3984.     local NewGuiPart5 = Instance.new("Frame")
  3985.     NewGuiPart5.BackgroundTransparency = 1
  3986.     NewGuiPart5.Name = "Controllers"
  3987.     NewGuiPart5.Position = UDim2.new(1, -128, 0, 3)
  3988.     NewGuiPart5.Size = UDim2.new(0, 125, 1, -6)
  3989.     NewGuiPart5.Parent = NewGuiPart3
  3990.     -------
  3991.     local NewGuiPart6 = Instance.new("TextButton")
  3992.     NewGuiPart6.Active = true
  3993.     NewGuiPart6.AutoButtonColor = false
  3994.     NewGuiPart6.BackgroundColor3 = Color3.new(0.552941, 0.105882, 0.105882)
  3995.     NewGuiPart6.BorderSizePixel = 0
  3996.     NewGuiPart6.Name = "Exit"
  3997.     NewGuiPart6.Position = UDim2.new(1, -24, 0, 0)
  3998.     NewGuiPart6.Selectable = true
  3999.     NewGuiPart6.Size = UDim2.new(0, 24, 0, 24)
  4000.     NewGuiPart6.Style = Enum.ButtonStyle.Custom
  4001.     NewGuiPart6.FontSize = Enum.FontSize.Size14
  4002.     NewGuiPart6.Text = ""
  4003.     NewGuiPart6.Parent = NewGuiPart5
  4004.     -------
  4005.     local NewGuiPart7 = Instance.new("TextButton")
  4006.     NewGuiPart7.Active = true
  4007.     NewGuiPart7.AutoButtonColor = false
  4008.     NewGuiPart7.BackgroundColor3 = Color3.new(0.780392, 0.34902, 0)
  4009.     NewGuiPart7.BorderSizePixel = 0
  4010.     NewGuiPart7.Name = "Hide"
  4011.     NewGuiPart7.Position = UDim2.new(1, -50, 0, 0)
  4012.     NewGuiPart7.Selectable = true
  4013.     NewGuiPart7.Size = UDim2.new(0, 24, 0, 24)
  4014.     NewGuiPart7.Style = Enum.ButtonStyle.Custom
  4015.     NewGuiPart7.FontSize = Enum.FontSize.Size14
  4016.     NewGuiPart7.Text = ""
  4017.     NewGuiPart7.Parent = NewGuiPart5
  4018.     -------
  4019.     local NewGuiPart8 = Instance.new("TextLabel")
  4020.     NewGuiPart8.BackgroundTransparency = 1
  4021.     NewGuiPart8.Name = "IsFE"
  4022.     NewGuiPart8.Size = UDim2.new(0, 65, 1, 0)
  4023.     NewGuiPart8.FontSize = Enum.FontSize.Size18
  4024.     NewGuiPart8.Text = "Not FE"
  4025.     NewGuiPart8.TextColor3 = Color3.new(0.333333, 0.666667, 0)
  4026.     NewGuiPart8.TextStrokeTransparency = 0.69999998807907
  4027.     NewGuiPart8.TextXAlignment = Enum.TextXAlignment.Right
  4028.     NewGuiPart8.Parent = NewGuiPart5
  4029.     -------
  4030.     local NewGuiPart9 = Instance.new("TextLabel")
  4031.     NewGuiPart9.BackgroundTransparency = 1
  4032.     NewGuiPart9.Name = "Stella"
  4033.     NewGuiPart9.Position = UDim2.new(0, -150, 0, 0)
  4034.     NewGuiPart9.Size = UDim2.new(1, 150, 1, 0)
  4035.     NewGuiPart9.ZIndex = 2
  4036.     NewGuiPart9.Font = Enum.Font.Arcade
  4037.     NewGuiPart9.FontSize = Enum.FontSize.Size18
  4038.     NewGuiPart9.Text = "[Stella]"
  4039.     NewGuiPart9.TextColor3 = Color3.new(0.054902, 0.0745098, 0.498039)
  4040.     NewGuiPart9.Parent = NewGuiPart3
  4041.     -------
  4042.     local NewGuiPart10 = Instance.new("Frame")
  4043.     NewGuiPart10.BackgroundTransparency = 1
  4044.     NewGuiPart10.Name = "Holder"
  4045.     NewGuiPart10.Position = UDim2.new(0, 150, 0, 30)
  4046.     NewGuiPart10.Size = UDim2.new(0, 320, 0, 365)
  4047.     NewGuiPart10.Parent = NewGuiPart2
  4048.     -------
  4049.     local NewGuiPart11 = Instance.new("Frame")
  4050.     NewGuiPart11.BackgroundTransparency = 1
  4051.     NewGuiPart11.Name = "Home"
  4052.     NewGuiPart11.Size = UDim2.new(1, 0, 1, 0)
  4053.     NewGuiPart11.Parent = NewGuiPart10
  4054.     -------
  4055.     local NewGuiPart12 = Instance.new("TextLabel")
  4056.     NewGuiPart12.BackgroundTransparency = 1
  4057.     NewGuiPart12.BorderSizePixel = 0
  4058.     NewGuiPart12.Name = "Title1"
  4059.     NewGuiPart12.Position = UDim2.new(0, 30, 0, 3)
  4060.     NewGuiPart12.Selectable = true
  4061.     NewGuiPart12.Size = UDim2.new(1, -30, 0, 40)
  4062.     NewGuiPart12.Font = Enum.Font.SourceSansBold
  4063.     NewGuiPart12.FontSize = Enum.FontSize.Size42
  4064.     NewGuiPart12.Text = "T0PK3K 4.0"
  4065.     NewGuiPart12.TextColor3 = Color3.new(1, 1, 1)
  4066.     NewGuiPart12.TextStrokeTransparency = 0.5
  4067.     NewGuiPart12.TextXAlignment = Enum.TextXAlignment.Left
  4068.     NewGuiPart12.Parent = NewGuiPart11
  4069.     -------
  4070.     local NewGuiPart13 = Instance.new("TextLabel")
  4071.     NewGuiPart13.BackgroundTransparency = 1
  4072.     NewGuiPart13.BorderSizePixel = 0
  4073.     NewGuiPart13.Name = "Title2"
  4074.     NewGuiPart13.Position = UDim2.new(0.600000024, 5, 0, -5)
  4075.     NewGuiPart13.Size = UDim2.new(0.400000006, 0, 1, 0)
  4076.     NewGuiPart13.Font = Enum.Font.SourceSansBold
  4077.     NewGuiPart13.FontSize = Enum.FontSize.Size18
  4078.     NewGuiPart13.Text = "by nosyliam"
  4079.     NewGuiPart13.TextColor3 = Color3.new(1, 1, 1)
  4080.     NewGuiPart13.TextStrokeTransparency = 0.5
  4081.     NewGuiPart13.TextXAlignment = Enum.TextXAlignment.Left
  4082.     NewGuiPart13.TextYAlignment = Enum.TextYAlignment.Bottom
  4083.     NewGuiPart13.Parent = NewGuiPart12
  4084.     -------
  4085.     local NewGuiPart14 = Instance.new("Frame")
  4086.     NewGuiPart14.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  4087.     NewGuiPart14.BorderColor3 = Color3.new(0.32549, 0, 0)
  4088.     NewGuiPart14.Name = "Container"
  4089.     NewGuiPart14.Position = UDim2.new(0, 16, 0, 50)
  4090.     NewGuiPart14.Size = UDim2.new(1, -30, 0, 250)
  4091.     NewGuiPart14.Parent = NewGuiPart11
  4092.     -------
  4093.     local NewGuiPart15 = Instance.new("TextLabel")
  4094.     NewGuiPart15.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  4095.     NewGuiPart15.BorderSizePixel = 0
  4096.     NewGuiPart15.Name = "Message"
  4097.     NewGuiPart15.Position = UDim2.new(0, 15, 0, 305)
  4098.     NewGuiPart15.Size = UDim2.new(1, -30, 0, 25)
  4099.     NewGuiPart15.Font = Enum.Font.Highway
  4100.     NewGuiPart15.FontSize = Enum.FontSize.Size14
  4101.     NewGuiPart15.Text = "Server Message: variable is gay"
  4102.     NewGuiPart15.TextColor3 = Color3.new(0.886275, 0.886275, 0.886275)
  4103.     NewGuiPart15.TextStrokeTransparency = 0.69999998807907
  4104.     NewGuiPart15.Parent = NewGuiPart11
  4105.     -------
  4106.     local NewGuiPart16 = Instance.new("TextBox")
  4107.     NewGuiPart16.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  4108.     NewGuiPart16.BorderColor3 = Color3.new(0.32549, 0, 0)
  4109.     NewGuiPart16.Name = "Command"
  4110.     NewGuiPart16.Position = UDim2.new(0, 15, 0, 335)
  4111.     NewGuiPart16.Size = UDim2.new(1, -30, 0, 20)
  4112.     NewGuiPart16.Font = Enum.Font.Code
  4113.     NewGuiPart16.FontSize = Enum.FontSize.Size12
  4114.     NewGuiPart16.Text = "Press ; to enter a command"
  4115.     NewGuiPart16.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
  4116.     NewGuiPart16.TextStrokeTransparency = 0.80000001192093
  4117.     NewGuiPart16.TextTransparency = 0.30000001192093
  4118.     NewGuiPart16.Parent = NewGuiPart10
  4119.     -------
  4120.     local NewGuiPart17 = Instance.new("Frame")
  4121.     NewGuiPart17.BackgroundTransparency = 1
  4122.     NewGuiPart17.Name = "Template"
  4123.     NewGuiPart17.Size = UDim2.new(1, 0, 1, 0)
  4124.     NewGuiPart17.Visible = false
  4125.     NewGuiPart17.ZIndex = 2
  4126.     NewGuiPart17.Parent = NewGuiPart10
  4127.     -------
  4128.     local NewGuiPart18 = Instance.new("ScrollingFrame")
  4129.     NewGuiPart18.Active = true
  4130.     NewGuiPart18.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  4131.     NewGuiPart18.BorderColor3 = Color3.new(0.32549, 0, 0)
  4132.     NewGuiPart18.Name = "Container"
  4133.     NewGuiPart18.Position = UDim2.new(0, 15, 0, 10)
  4134.     NewGuiPart18.Selectable = true
  4135.     NewGuiPart18.Size = UDim2.new(1, -30, 0, 320)
  4136.     NewGuiPart18.ZIndex = 2
  4137.     NewGuiPart18.BottomImage = "rbxassetid://368504177"
  4138.     NewGuiPart18.CanvasSize = UDim2.new(0, 0, 0, 0)
  4139.     NewGuiPart18.MidImage = "rbxassetid://368504177"
  4140.     NewGuiPart18.ScrollBarThickness = 5
  4141.     NewGuiPart18.TopImage = "rbxassetid://368504177"
  4142.     NewGuiPart18.ClipsDescendants = true
  4143.     NewGuiPart18.Parent = NewGuiPart17
  4144.     -------
  4145.     local NewGuiPart19 = Instance.new("Frame")
  4146.     NewGuiPart19.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  4147.     NewGuiPart19.BackgroundTransparency = 1
  4148.     NewGuiPart19.BorderColor3 = Color3.new(0.32549, 0, 0)
  4149.     NewGuiPart19.Name = "Navigator"
  4150.     NewGuiPart19.Position = UDim2.new(0, 16, 0, 10)
  4151.     NewGuiPart19.Size = UDim2.new(1, -30, 0, 60)
  4152.     NewGuiPart19.Visible = false
  4153.     NewGuiPart19.Parent = NewGuiPart10
  4154.     -------
  4155.     local NewGuiPart20 = Instance.new("Frame")
  4156.     NewGuiPart20.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  4157.     NewGuiPart20.BorderColor3 = Color3.new(0.32549, 0, 0)
  4158.     NewGuiPart20.Name = "NavMain"
  4159.     NewGuiPart20.Position = UDim2.new(0, 22, 0, 0)
  4160.     NewGuiPart20.Size = UDim2.new(1, -44, 0, 60)
  4161.     NewGuiPart20.Parent = NewGuiPart19
  4162.     -------
  4163.     local NewGuiPart21 = Instance.new("TextButton")
  4164.     NewGuiPart21.Active = true
  4165.     NewGuiPart21.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  4166.     NewGuiPart21.BorderSizePixel = 0
  4167.     NewGuiPart21.Name = "NavLeft"
  4168.     NewGuiPart21.Selectable = true
  4169.     NewGuiPart21.Size = UDim2.new(0, 17, 1, 0)
  4170.     NewGuiPart21.Style = Enum.ButtonStyle.Custom
  4171.     NewGuiPart21.FontSize = Enum.FontSize.Size14
  4172.     NewGuiPart21.Text = ""
  4173.     NewGuiPart21.Parent = NewGuiPart19
  4174.     -------
  4175.     local NewGuiPart22 = Instance.new("TextButton")
  4176.     NewGuiPart22.Active = true
  4177.     NewGuiPart22.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  4178.     NewGuiPart22.BorderSizePixel = 0
  4179.     NewGuiPart22.Name = "NavRight"
  4180.     NewGuiPart22.Position = UDim2.new(1, -17, 0, 0)
  4181.     NewGuiPart22.Selectable = true
  4182.     NewGuiPart22.Size = UDim2.new(0, 17, 1, 0)
  4183.     NewGuiPart22.Style = Enum.ButtonStyle.Custom
  4184.     NewGuiPart22.FontSize = Enum.FontSize.Size14
  4185.     NewGuiPart22.Text = ""
  4186.     NewGuiPart22.Parent = NewGuiPart19
  4187.     -------
  4188.     local NewGuiPart23 = Instance.new("Frame")
  4189.     NewGuiPart23.Active = true
  4190.     NewGuiPart23.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  4191.     NewGuiPart23.BorderSizePixel = 0
  4192.     NewGuiPart23.Name = "Navigation"
  4193.     NewGuiPart23.Size = UDim2.new(0, 150, 1, 0)
  4194.     NewGuiPart23.ZIndex = 2
  4195.     NewGuiPart23.Parent = NewGuiPart2
  4196.     -------
  4197.     local NewGuiPart24 = Instance.new("Frame")
  4198.     NewGuiPart24.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  4199.     NewGuiPart24.BorderSizePixel = 0
  4200.     NewGuiPart24.Name = "Topbar"
  4201.     NewGuiPart24.Size = UDim2.new(1, 0, 0, 30)
  4202.     NewGuiPart24.ZIndex = 3
  4203.     NewGuiPart24.Parent = NewGuiPart23
  4204.     -------
  4205.     local NewGuiPart25 = Instance.new("ScrollingFrame")
  4206.     NewGuiPart25.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  4207.     NewGuiPart25.BorderSizePixel = 0
  4208.     NewGuiPart25.Name = "Scroll"
  4209.     NewGuiPart25.Position = UDim2.new(0, 0, 0, 30)
  4210.     NewGuiPart25.Selectable = true
  4211.     NewGuiPart25.Size = UDim2.new(1, 0, 1, -30)
  4212.     NewGuiPart25.ZIndex = 3
  4213.     NewGuiPart25.BottomImage = "rbxassetid://368504177"
  4214.     NewGuiPart25.MidImage = "rbxassetid://368504177"
  4215.     NewGuiPart25.ScrollBarThickness = 6
  4216.     NewGuiPart25.TopImage = "rbxassetid://368504177"
  4217.     NewGuiPart25.ClipsDescendants = true
  4218.     NewGuiPart25.Parent = NewGuiPart23
  4219.     -------
  4220.     local NewGuiPart26 = Instance.new("Frame")
  4221.     NewGuiPart26.BackgroundTransparency = 1
  4222.     NewGuiPart26.Name = "Composite1"
  4223.     NewGuiPart26.Position = UDim2.new(-1, 0, 0.5, -50)
  4224.     NewGuiPart26.Size = UDim2.new(0, 50, 0, 100)
  4225.     NewGuiPart26.ClipsDescendants = true
  4226.     NewGuiPart26.Parent = NewGuiPart1
  4227.     -------
  4228.     local NewGuiPart27 = Instance.new("TextLabel")
  4229.     NewGuiPart27.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  4230.     NewGuiPart27.BorderSizePixel = 0
  4231.     NewGuiPart27.Name = "Label"
  4232.     NewGuiPart27.Size = UDim2.new(2, 0, 1, 0)
  4233.     NewGuiPart27.Font = Enum.Font.SourceSansBold
  4234.     NewGuiPart27.FontSize = Enum.FontSize.Size96
  4235.     NewGuiPart27.Text = "T"
  4236.     NewGuiPart27.TextColor3 = Color3.new(1, 1, 1)
  4237.     NewGuiPart27.Parent = NewGuiPart26
  4238.     -------
  4239.     local NewGuiPart28 = Instance.new("Frame")
  4240.     NewGuiPart28.BackgroundTransparency = 1
  4241.     NewGuiPart28.Name = "Composite2"
  4242.     NewGuiPart28.Position = UDim2.new(1, 0, 0.5, -50)
  4243.     NewGuiPart28.Size = UDim2.new(0, 50, 0, 100)
  4244.     NewGuiPart28.ClipsDescendants = true
  4245.     NewGuiPart28.Parent = NewGuiPart1
  4246.     -------
  4247.     local NewGuiPart29 = Instance.new("TextLabel")
  4248.     NewGuiPart29.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  4249.     NewGuiPart29.BorderSizePixel = 0
  4250.     NewGuiPart29.Name = "Label"
  4251.     NewGuiPart29.Position = UDim2.new(-1, 0, 0, 0)
  4252.     NewGuiPart29.Size = UDim2.new(2, 0, 1, 0)
  4253.     NewGuiPart29.Font = Enum.Font.SourceSansBold
  4254.     NewGuiPart29.FontSize = Enum.FontSize.Size96
  4255.     NewGuiPart29.Text = "T"
  4256.     NewGuiPart29.TextColor3 = Color3.new(1, 1, 1)
  4257.     NewGuiPart29.Parent = NewGuiPart28
  4258.     -------
  4259.     local NewGuiPart30 = Instance.new("Frame")
  4260.     NewGuiPart30.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  4261.     NewGuiPart30.Name = "Solid"
  4262.     NewGuiPart30.Position = UDim2.new(0.5, -50, 0.5, -50)
  4263.     NewGuiPart30.Visible = false
  4264.     NewGuiPart30.ClipsDescendants = true
  4265.     NewGuiPart30.Parent = NewGuiPart1
  4266.     -------
  4267.     local NewGuiPart31 = Instance.new("TextLabel")
  4268.     NewGuiPart31.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  4269.     NewGuiPart31.BorderSizePixel = 0
  4270.     NewGuiPart31.Name = "Label"
  4271.     NewGuiPart31.Size = UDim2.new(1, 0, 1, 0)
  4272.     NewGuiPart31.Font = Enum.Font.SourceSansBold
  4273.     NewGuiPart31.FontSize = Enum.FontSize.Size96
  4274.     NewGuiPart31.Text = "T"
  4275.     NewGuiPart31.TextColor3 = Color3.new(1, 1, 1)
  4276.     NewGuiPart31.Parent = NewGuiPart30
  4277.  
  4278.  
  4279.  
  4280. topkek.center = game.Players.LocalPlayer.PlayerGui["4.0"].Main
  4281. topkek.holder = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder
  4282. topkek.topbar = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar
  4283. topkek.template = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Template
  4284. topkek.navigator = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Navigator
  4285.  
  4286. AllowHovers = false
  4287. PlayerChatHook, UpdateBanlist = nil
  4288. cmd = {}
  4289.  
  4290. --// data //--
  4291. topkek.data.windows = {
  4292.     'Home',
  4293.     'LocalPlayer',
  4294.     'Server',
  4295.     'Players',
  4296.     'Destruction',
  4297.     'Scripts',
  4298.     'Catalog',
  4299.     'Music',
  4300.     'Hats',
  4301.     'Faces',
  4302.     'Settings',
  4303.     'Commands',
  4304.     'Banlist',
  4305. }
  4306.  
  4307. color3 = function(r,g,b)
  4308.     return Color3.new(r/255, g/255, b/255)
  4309. end
  4310. --// doggo dropdown //--
  4311. -- thanks krystal
  4312. GUI = {
  4313.     TextBox = {
  4314.         Settings = {
  4315.             Font = Enum.Font.SourceSans;
  4316.             FontSize = Enum.FontSize.Size14;
  4317.         };
  4318.         Color = {
  4319.             Main = Color3.fromRGB(5,8,11);
  4320.             Border = Color3.fromRGB(27,42,53);
  4321.             Text = Color3.fromRGB(199,199,199);
  4322.         };
  4323.         New = function(Position, Size, Parent, ...)
  4324.             local arguments = {...};
  4325.            
  4326.             local TextBox = Instance.new("TextBox", Parent);
  4327.             TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
  4328.             TextBox.BorderColor3 = GUI.DropDown.Color.Border;
  4329.             TextBox.Font = GUI.TextBox.Settings.Font;
  4330.             TextBox.FontSize = GUI.TextBox.Settings.FontSize;
  4331.             TextBox.TextColor3 = GUI.TextBox.Color.Text;
  4332.             TextBox.Position = Position;
  4333.             TextBox.Size = Size;
  4334.             if #arguments then
  4335.                 if arguments[1] then
  4336.                     TextBox.Text = tostring(arguments[1]);
  4337.                 else
  4338.                     TextBox.Text = "";
  4339.                 end
  4340.             end    
  4341.             return TextBox;
  4342.         end;
  4343.     };
  4344.     DropDown = {
  4345.         Settings = {
  4346.             ScrollerAmount = 5; --A scroller will appear at this amount.
  4347.             ScrollBarThickness = 6;
  4348.         };
  4349.         Gfx = {
  4350.             Scroller = "rbxassetid://606572419";
  4351.         };
  4352.         Color = {
  4353.             Main = color3(107, 36, 36);
  4354.             Secondary = color3(113, 39, 39);
  4355.             Border = color3(127, 44, 44);
  4356.             Text = Color3.fromRGB(199,199,199);
  4357.         };
  4358.         New = function(Position, Size, Parent, ...)
  4359.             local vValue = {};
  4360.             local arguments = {...};
  4361.             local vSelected = Instance.new("StringValue");
  4362.             vSelected.Value = "nil";
  4363.            
  4364.             if arguments then
  4365.                 if type(arguments) == "table" then
  4366.                     for i=1,#(arguments) do
  4367.                         if type(arguments[i]) == "table" then
  4368.                             for f=1,#(arguments[i]) do
  4369.                                 table.insert(vValue, tostring((arguments[i])[f]));
  4370.                             end
  4371.                         else
  4372.                             table.insert(vValue, tostring(arguments[i]));
  4373.                         end
  4374.                     end
  4375.                     vSelected.Value = (vValue[1]);
  4376.                 end
  4377.             end
  4378.            
  4379.             local Main = Instance.new("TextButton", Parent);
  4380.             Main.BackgroundColor3 = GUI.DropDown.Color.Main;
  4381.             Main.BorderColor3 = GUI.DropDown.Color.Border;
  4382.             Main.Position = Position;
  4383.             Main.Size = Size;
  4384.             Main.TextColor3 = GUI.DropDown.Color.Text;
  4385.             Main.FontSize = Enum.FontSize.Size14;
  4386.             Main.TextStrokeTransparency = 0.5;
  4387.             Main.TextXAlignment = Enum.TextXAlignment.Left;
  4388.             Main.Font = Enum.Font.SourceSans;
  4389.             Main.Text = "  "..tostring(vSelected.Value);
  4390.             Main.ZIndex = 3
  4391.            
  4392.             local Icon = Instance.new("TextLabel", Main);
  4393.             Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
  4394.             Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
  4395.             Icon.BorderColor3 = GUI.DropDown.Color.Border;
  4396.             Icon.Position = UDim2.new(1,-2,1,-2);
  4397.             Icon.Size = UDim2.new(-1,4,-1,4);
  4398.             Icon.TextColor3 = GUI.DropDown.Color.Text;
  4399.             Icon.FontSize = Enum.FontSize.Size14;
  4400.             Icon.TextStrokeTransparency = 0.5;
  4401.             Icon.Font = Enum.Font.SourceSans;
  4402.             Icon.Text = "V"
  4403.             Icon.ZIndex = 4
  4404.  
  4405.             local Holder, Search;
  4406.             local ClearHolder = function()
  4407.                 if Holder then
  4408.                     Holder:ClearAllChildren();
  4409.                     Holder.Size = UDim2.new(1,0,0,0);
  4410.                     Holder.Visible = false;
  4411.                     if Search then
  4412.                         Search.Visible = false;
  4413.                     end
  4414.                 end
  4415.             end;
  4416.            
  4417.             local CreateButton;
  4418.             local RefreshDropDown = function()
  4419.                 if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  4420.                     if not Holder or not Holder:IsA("Frame") then
  4421.                         Holder = nil; Search = nil;
  4422.                         Holder = Instance.new("Frame",Main);
  4423.                         Holder.Size = UDim2.new(1,0,0,0);
  4424.                         Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  4425.                         Holder.BorderColor3 = GUI.DropDown.Color.Border;
  4426.                         Holder.Visible = false;
  4427.                         Holder.ZIndex = 3
  4428.                     end
  4429.                 elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
  4430.                     if not Holder or not Holder:IsA("ScrollingFrame") then
  4431.                         Holder = nil; Search = nil;
  4432.                         Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
  4433.                         Search.Visible = false;
  4434.                         Search.ZIndex = 4
  4435.                         Search.Changed:connect(function(p)
  4436.                             if p == "Text" then
  4437.                                 CreateButton(Search.Text);
  4438.                             end
  4439.                         end)
  4440.                         Holder = Instance.new("ScrollingFrame",Main);
  4441.                         Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  4442.                         Holder.BorderColor3 = GUI.DropDown.Color.Border;
  4443.                         Holder.TopImage = GUI.DropDown.Gfx.Scroller;
  4444.                         Holder.MidImage = GUI.DropDown.Gfx.Scroller;
  4445.                         Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
  4446.                         Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
  4447.                         Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
  4448.                         Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
  4449.                         Holder.Visible = false;
  4450.                         Holder.ZIndex = 3;
  4451.                     end
  4452.                 end
  4453.                 if #vValue == 1 and vSelected.Value ~= vValue[1] then
  4454.                     vSelected.Value = vValue[1];
  4455.                 elseif #vValue == 0 then
  4456.                     vSelected.Value = "nil";
  4457.                     warn("Table amount is nil.");
  4458.                 end
  4459.                 Main.Text = "  "..tostring(vSelected.Value);
  4460.                 --ClearHolder();
  4461.             end;
  4462.            
  4463.             local Debounce = false;
  4464.             CreateButton = function(searches)
  4465.                 if Debounce == false then
  4466.                     Debounce = true;
  4467.                     ClearHolder()
  4468.                     Holder.Visible = true;
  4469.                     local Searched = 0;
  4470.                     if #vValue > 0 then
  4471.                         for i=1,#vValue do
  4472.                             if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
  4473.                                 Searched = Searched + 1;
  4474.                             end
  4475.                         end
  4476.                         for i=1,#vValue do
  4477.                             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
  4478.                                 local Select = Instance.new("TextButton", Holder);
  4479.                                 Select.BackgroundColor3 = GUI.DropDown.Color.Main;
  4480.                                 Select.BorderColor3 = GUI.DropDown.Color.Border;
  4481.                                 Select.BackgroundTransparency = 1;
  4482.                                 Select.BorderSizePixel = 0;
  4483.                                 Select.Position = Position;
  4484.                                 if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  4485.                                     Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
  4486.                                 else
  4487.                                     Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
  4488.                                 end
  4489.                                 Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
  4490.                                 Select.TextColor3 = GUI.DropDown.Color.Text;
  4491.                                 Select.FontSize = Enum.FontSize.Size14;
  4492.                                 Select.TextStrokeTransparency = 0.5;
  4493.                                 Select.Font = Enum.Font.SourceSans;
  4494.                                 Select.Text = tostring(vValue[i]);
  4495.                                 Select.ZIndex = 3
  4496.                                 Select.MouseButton1Click:connect(function()
  4497.                                     vSelected.Value = vValue[i];
  4498.                                     ClearHolder();
  4499.                                     RefreshDropDown();
  4500.                                 end)
  4501.                                 if  #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  4502.                                     Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
  4503.                                 elseif Holder:IsA("ScrollingFrame") then
  4504.                                     Search.Visible = true;
  4505.                                     if #Holder:GetChildren() >= 1 then
  4506.                                         Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  4507.                                         Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
  4508.                                         if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
  4509.                                             Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
  4510.                                             Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  4511.                                         end
  4512.                                     elseif #Holder:GetChildren() < 1 then
  4513.                                         Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  4514.                                         Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  4515.                                     end
  4516.                                 end
  4517.                             end
  4518.                         end
  4519.                     end
  4520.                     Debounce = false;
  4521.                 end
  4522.             end;
  4523.            
  4524.             RefreshDropDown();
  4525.  
  4526.             Main.MouseButton1Click:connect(function()
  4527.                 CreateButton()
  4528.                 if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
  4529.                     Search:CaptureFocus();
  4530.                     Search.Text = "";
  4531.                 end
  4532.             end)
  4533.            
  4534.             topkek.lplr:GetMouse().Button1Down:connect(function()
  4535.                 ClearHolder()
  4536.             end)
  4537.  
  4538.             return {
  4539.                 Update = function()
  4540.                     RefreshDropDown();
  4541.                 end;
  4542.                 GetValue = function()
  4543.                     RefreshDropDown();
  4544.                     return vValue;
  4545.                 end;
  4546.                 GetSelected = function()
  4547.                     RefreshDropDown();
  4548.                     return vSelected.Value;
  4549.                 end;
  4550.                 SetTable = function(F)
  4551.                     vValue = F;
  4552.                     RefreshDropDown();
  4553.                 end;
  4554.                 Changed = function(F)
  4555.                     vSelected.Changed:connect(function()
  4556.                         ypcall(function()
  4557.                             F(vSelected.Value);
  4558.                         end)
  4559.                     end)
  4560.                     return "ChangedEvent Hooked";
  4561.                 end;
  4562.                 AddValue = function(obj)
  4563.                     local Type = type(obj);
  4564.                     if Type == "table" then
  4565.                         for i=1,#obj do
  4566.                             table.insert(vValue, obj[i])
  4567.                         end
  4568.                     elseif Type == "string" or Type == "number" or Type == "boolean" then
  4569.                         table.insert(vValue, obj)
  4570.                     end
  4571.                     RefreshDropDown();
  4572.                 end;
  4573.                 RemoveValue = function(obj)
  4574.                     local Type = type(obj);
  4575.                     if Type == "table" then
  4576.                         for i=1,#vValue do
  4577.                             for f=1,#obj do
  4578.                                 if tostring(obj[f]) == tostring(vValue[i]) then
  4579.                                     table.remove(vValue,i)
  4580.                                 end
  4581.                             end
  4582.                         end
  4583.                     else
  4584.                         for i=1,#vValue do
  4585.                             if tostring(obj) == tostring(vValue[i]) then
  4586.                                 table.remove(vValue,i)
  4587.                             end
  4588.                         end
  4589.                     end
  4590.                     RefreshDropDown();
  4591.                 end;
  4592.                 ClearValue = function()
  4593.                     vValue = {};
  4594.                     RefreshDropDown();
  4595.                 end;
  4596.             }
  4597.         end;
  4598.     };
  4599. };
  4600. --// util //--
  4601. function topkek.tools.util.Object(o, p)
  4602.     local a, b = pcall(function()
  4603.         Instance.new(o)
  4604.     end)
  4605.     if not a then
  4606.         return
  4607.     end
  4608.     local obj = Instance.new(o)
  4609.     for prop, val in pairs(p) do
  4610.         pcall(function()
  4611.             obj[prop] = val
  4612.         end)
  4613.     end
  4614.     return obj
  4615. end
  4616.  
  4617. function topkek.tools.util.getContainer(n)
  4618.     if game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder:FindFirstChild(n) then
  4619.         return  game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder[n]
  4620.     else
  4621.         print("menu not found; returning template")
  4622.         return topkek.holder['Template']
  4623.     end
  4624. end
  4625.  
  4626. function topkek.tools.util.play(id)
  4627.     local mu = Instance.new("Sound", game:GetService('Workspace'))
  4628.     mu.Volume = 1
  4629.     mu.Looped = true
  4630.     mu.Pitch = 1
  4631.     mu.SoundId = "rbxassetid://"..tostring(id)
  4632.     mu:Play()
  4633. end
  4634.  
  4635. function topkek.tools.util.getTorso(plr) --r15 compatibility lole
  4636.     if plr.Character then
  4637.         if plr.Character:FindFirstChild('UpperTorso') then
  4638.             return plr.Character.UpperTorso
  4639.         elseif plr.Character:FindFirstChild('Torso') then
  4640.             return plr.Character.Torso
  4641.         else
  4642.             return nil
  4643.         end
  4644.     end
  4645. end
  4646.  
  4647. function topkek.tools.util.recurseRemove(x,type_)
  4648.     local function recurse(x)
  4649.         for i, v in pairs(x:GetChildren()) do
  4650.             pcall(function()
  4651.                 if v:IsA(type_) then
  4652.                     v:Destroy()
  4653.                 end
  4654.                 if #(v:GetChildren())>0 then
  4655.                     recurse(v)
  4656.                 end
  4657.             end)
  4658.         end
  4659.     end
  4660.     recurse(x)
  4661. end
  4662.  
  4663. function topkek.tools.util.recurseFunc(type_,func)
  4664.     local function recurse(x)
  4665.         for i, v in pairs(x:GetChildren()) do
  4666.             pcall(function()
  4667.                 if v:IsA(type_) then
  4668.                     func(v)
  4669.                 end
  4670.                 if #(v:GetChildren())>0 then
  4671.                     recurse(v)
  4672.                 end
  4673.             end)
  4674.         end
  4675.     end
  4676.     recurse(game)
  4677. end
  4678. function topkek.tools.util.trowel()
  4679.     local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
  4680.     T.Name = 'Custom Trowel'
  4681.    
  4682.     local p = Instance.new('Part')
  4683.     p.Name = 'Handle'
  4684.     p.Size = Vector3.new(1,4.4,1)
  4685.     p.Parent = T
  4686.    
  4687.     local specialMesh = Instance.new('SpecialMesh')
  4688.     specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
  4689.     specialMesh.MeshType = 'FileMesh'
  4690.     specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
  4691.     specialMesh.Parent = T.Handle
  4692.    
  4693.     local sound = Instance.new'Sound'
  4694.     sound.Name = 'build'
  4695.     sound.SoundId = 'rbxasset://sounds//bass.wav'
  4696.     sound.Volume = 1
  4697.     sound.Parent = T.Handle
  4698.      
  4699.     local brickHeight = 100
  4700.     local trowelSpeed = 0.05
  4701.     local brickWidth = 500
  4702.     local mouseConnection
  4703.      
  4704.     function newBrick(CF, P, color)
  4705.      local brick = Instance.new('Part')
  4706.      brick.BrickColor = color
  4707.      brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
  4708.      brick.Parent = game.Workspace
  4709.      brick:MakeJoints()
  4710.      brick.Material = 'Neon'
  4711.      brick.Name = 'DeleteMe'
  4712.      return  brick, P + brick.Size
  4713.     end
  4714.      
  4715.     function genBrick(cFrame)
  4716.      local randBrickColor = BrickColor.Random()
  4717.      assert(brickWidth > 0)
  4718.      
  4719.      local yPos = 0
  4720.      
  4721.      while yPos < brickHeight do
  4722.       local vPos
  4723.       local X = -brickWidth / 2
  4724.       while X < brickWidth / 2 do
  4725.        local brick
  4726.        brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
  4727.        X = vPos.x
  4728.        wait(trowelSpeed)
  4729.       end
  4730.       yPos = vPos.y
  4731.      end
  4732.     end
  4733.      
  4734.     function calcPos(vec)
  4735.      if (math.abs(vec.x) > math.abs(vec.z)) then
  4736.       if vec.x > 0 then
  4737.        return Vector3.new(1, 0, 0)
  4738.       else
  4739.        return Vector3.new(-1, 0, 0)
  4740.       end
  4741.      else
  4742.       if (vec.z > 0) then
  4743.        return Vector3.new(0, 0, 1)
  4744.       else
  4745.        return Vector3.new(0, 0, -1)
  4746.       end
  4747.      end
  4748.     end
  4749.      
  4750.     T.Enabled = true
  4751.    
  4752.     T.Activated:connect(function()
  4753.      if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  4754.       T.Enabled = false
  4755.       T.Handle.build:Play()
  4756.       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)))
  4757.       T.Enabled = true
  4758.      end
  4759.     end)
  4760.    
  4761.     T.Equipped:connect(function()
  4762.      mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  4763.       if (key == 'r') then
  4764.        for i,v in next, workspace:children'' do
  4765.         if (v.Name == 'DeleteMe') then
  4766.          v:Destroy()
  4767.         end
  4768.        end
  4769.       end
  4770.      end)
  4771.     end)
  4772.    
  4773.     T.Unequipped:connect(function()
  4774.      mouseConnection:disconnect()
  4775.     end)
  4776. end
  4777. function topkek.tools.util.recurseSet(type_,prop,val)
  4778.     local function recurse(x)
  4779.         for i, v in pairs(x:GetChildren()) do
  4780.             pcall(function()
  4781.                 if v:IsA(type_) then
  4782.                     v[prop]=val
  4783.                 end
  4784.                 if #(v:GetChildren())>0 then
  4785.                     recurse(v)
  4786.                 end
  4787.             end)
  4788.         end
  4789.     end
  4790.     recurse(game)
  4791. end
  4792. function topkek.tools.util.recurseUltimate(d)
  4793.     topkek.tools.util.recurseDecal(d)
  4794.     topkek.tools.util.recurseParticles(d)
  4795. end
  4796. function topkek.tools.util.recurseDecal(img)
  4797.     img = 'rbxassetid://' .. img
  4798.     local function skybox(x)
  4799.         local sky = Instance.new("Sky",game.Lighting)
  4800.         local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  4801.         for i,v in pairs(fcs) do
  4802.             sky["Skybox"..v]=x
  4803.         end
  4804.     end
  4805.    
  4806.     local function decal(p, b)
  4807.         local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  4808.         for i, v in pairs(sides) do
  4809.             local a = Instance.new("Decal", p)
  4810.             a.Texture = b
  4811.             a.Face = v
  4812.         end
  4813.     end
  4814.            
  4815.     local function recurse(x)
  4816.         for i, v in pairs(x:GetChildren()) do
  4817.             pcall(function() -- 'error occured, no output from Lua' LOLE
  4818.                 if v:IsA("BasePart") then
  4819.                     decal(v, img)
  4820.                 end
  4821.                 if #(v:GetChildren())>0 then
  4822.                     recurse(v)
  4823.                 end
  4824.             end)
  4825.         end
  4826.     end
  4827.            
  4828.     recurse(game)
  4829.     skybox(img)
  4830. end
  4831. function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
  4832.     img = 'rbxassetid://' .. img
  4833.     local function skybox(x)
  4834.         local sky = Instance.new("Sky",game.Lighting)
  4835.         local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  4836.         for i,v in pairs(fcs) do
  4837.             sky["Skybox"..v]=x
  4838.         end
  4839.     end
  4840.     local function particle(p, b)
  4841.         local a = Instance.new("ParticleEmitter", p)
  4842.         a.Rate = 500
  4843.         a.Lifetime = NumberRange.new(20, 30)
  4844.         a.VelocitySpread = 200
  4845.         a.Texture = b
  4846.     end
  4847.            
  4848.     local function recurse(x)
  4849.         for i, v in pairs(x:GetChildren()) do
  4850.             pcall(function() -- 'error occured, no output from Lua' LOLE
  4851.                 if v:IsA("BasePart") then
  4852.                     particle(v, img)
  4853.                 end
  4854.                 if #(v:GetChildren())>0 then
  4855.                     recurse(v)
  4856.                 end
  4857.             end)
  4858.         end
  4859.     end
  4860.            
  4861.     recurse(game)
  4862.     skybox(img)
  4863. end
  4864. function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
  4865.     local function recurse(x)
  4866.         for i, v in pairs(x:GetChildren()) do
  4867.             pcall(function()
  4868.                 if v:IsA(type_) then
  4869.                     v[prop]=val
  4870.                 end
  4871.                 if #(v:GetChildren())>0 then
  4872.                     recurse(v)
  4873.                 end
  4874.             end)
  4875.         end
  4876.     end
  4877.     recurse(obj)
  4878. end
  4879. function topkek.tools.util.doPlayers(cval, func)
  4880.     local plrs = {}
  4881.     if cval == 'All' then
  4882.         plrs = game:GetService('Players'):GetPlayers()
  4883.     else
  4884.         plrs = {game:GetService('Players'):FindFirstChild(cval)}
  4885.     end
  4886.     for i, v in pairs(plrs) do
  4887.         func(v)
  4888.     end
  4889. end
  4890. function topkek.tools.util.scalePlayer(sc,plr)
  4891.     local pchar = plr.Character
  4892.     if pchar:FindFirstChild("UpperTorso") then
  4893.         warn("Player [" ..plr.Name.. "] is R15.")
  4894.         return
  4895.     end
  4896.     local function scale(chr,scl)
  4897.    
  4898.         for _,v in pairs(pchar:GetChildren()) do
  4899.             if v:IsA("Hat") then
  4900.                 v:Clone()
  4901.                 v.Parent = game.Lighting
  4902.             end
  4903.         end
  4904.            
  4905.         local Head = chr['Head']
  4906.         local Torso = chr['Torso']
  4907.         local LA = chr['Left Arm']
  4908.         local RA = chr['Right Arm']
  4909.         local LL = chr['Left Leg']
  4910.         local RL = chr['Right Leg']
  4911.         local HRP = chr['HumanoidRootPart']
  4912.    
  4913.         wait(0.1)
  4914.        
  4915.         Head.formFactor = 3
  4916.         Torso.formFactor = 3
  4917.         LA.formFactor = 3
  4918.         RA.formFactor = 3
  4919.         LL.formFactor = 3
  4920.         RL.formFactor = 3
  4921.         HRP.formFactor = 3
  4922.        
  4923.         Head.Size = Vector3.new(scl * 2, scl, scl)
  4924.         Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  4925.         LA.Size = Vector3.new(scl, scl * 2, scl)
  4926.         RA.Size = Vector3.new(scl, scl * 2, scl)
  4927.         LL.Size = Vector3.new(scl, scl * 2, scl)
  4928.         RL.Size = Vector3.new(scl, scl * 2, scl)
  4929.         HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  4930.        
  4931.         local Motor1 = Instance.new('Motor6D', Torso)
  4932.         Motor1.Part0 = Torso
  4933.         Motor1.Part1 = Head
  4934.         Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  4935.         Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  4936.         Motor1.Name = "Neck"
  4937.                
  4938.         local Motor2 = Instance.new('Motor6D', Torso)
  4939.         Motor2.Part0 = Torso
  4940.         Motor2.Part1 = LA
  4941.         Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  4942.         Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  4943.         Motor2.Name = "Left Shoulder"
  4944.        
  4945.         local Motor3 = Instance.new('Motor6D', Torso)
  4946.         Motor3.Part0 = Torso
  4947.         Motor3.Part1 = RA
  4948.         Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  4949.         Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  4950.         Motor3.Name = "Right Shoulder"
  4951.        
  4952.         local Motor4 = Instance.new('Motor6D', Torso)
  4953.         Motor4.Part0 = Torso
  4954.         Motor4.Part1 = LL
  4955.         Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  4956.         Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  4957.         Motor4.Name = "Left Hip"
  4958.        
  4959.         local Motor5 = Instance.new('Motor6D', Torso)
  4960.         Motor5.Part0 = Torso
  4961.         Motor5.Part1 = RL
  4962.         Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  4963.         Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  4964.         Motor5.Name = "Right Hip"
  4965.        
  4966.         local Motor6 = Instance.new('Motor6D', HRP)
  4967.         Motor6.Part0 = HRP
  4968.         Motor6.Part1 = Torso
  4969.         Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  4970.         Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  4971.            
  4972.     end
  4973.    
  4974.     scale(pchar, sc)
  4975.    
  4976.     for _,v in pairs(game.Lighting:GetChildren()) do
  4977.         if v:IsA("Hat") then
  4978.             v.Parent = pchar
  4979.         end
  4980.     end
  4981. end
  4982. function topkek.tools.util.applyFace(id)
  4983.     local Char = topkek.lplr.Character
  4984.     if(Char)then
  4985.         local Type = id
  4986.         local Meme=id
  4987.         local BBG_SIZE=Char.Head.Size.X*1.25;
  4988.         local STUD_VECTOR_1=Char.Head.Size.Z/4;
  4989.         local STUD_VECTOR_2=Char.Head.Size.Z;
  4990.         local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
  4991.             bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  4992.             bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
  4993.             bbg.Adornee=Char.Head;
  4994.             bbg.Name='BBGMEME';
  4995.         local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
  4996.             img.BackgroundTransparency=1;
  4997.             img.Image="rbxassetid://"..Meme;
  4998.             img.Size=UDim2.new(1,0,1,0)
  4999.             img.Name='Meme';
  5000.         for i,v in next,Char:children()do
  5001.             if(v.className=='Hat')then
  5002.                 v=v:FindFirstChild'Handle';
  5003.                 if(v)then
  5004.                     v.Transparency=0
  5005.                 end;
  5006.             end;
  5007.         end;
  5008.     end;
  5009. end;
  5010. function topkek.tools.util.weenieHutJunior(plr)
  5011.     plr=plr.Character
  5012.     Shaft=Instance.new("Part", plr)
  5013.     Shaft.Name='Shaft'
  5014.     Shaft.Size=Vector3.new(1, 2.5, 1)
  5015.     Shaft.TopSurface=0
  5016.     Shaft.BottomSurface=0
  5017.     Shaft.CanCollide=true
  5018.     Cyln=Instance.new("CylinderMesh", Shaft)
  5019.     Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  5020.     Instance.new("Weld", plr)
  5021.     plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  5022.     plr.Weld.Part1=plr.Shaft
  5023.     plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  5024.     Shaft.BrickColor=BrickColor.new("Pastel brown")
  5025.     Tip=Instance.new("Part", plr)
  5026.     Tip.Name='Tip'
  5027.     Tip.TopSurface=0
  5028.     Tip.BottomSurface=0
  5029.     Tip.Size=Vector3.new(1, 1, 1)
  5030.     Tip.CanCollide=true
  5031.     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)
  5032.     Cyln2=Instance.new("SpecialMesh", Tip)
  5033.     Cyln2.MeshType='Sphere'
  5034.     Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  5035.     Instance.new("Weld", plr).Name='Weld2'
  5036.     plr.Weld2.Part0=plr.Shaft
  5037.     plr.Weld2.Part1=plr.Tip
  5038.     plr.Weld2.C0=CFrame.new(0,-.9,0)
  5039.     Tip.BrickColor=BrickColor.new("Pink")
  5040.     -----
  5041.     Ball1=Instance.new("Part", plr)
  5042.     Ball1.Name='Ball1'
  5043.     Ball1.Size=Vector3.new(1, 1, 1)
  5044.     Ball1.TopSurface=0
  5045.     Ball1.BottomSurface=0
  5046.     Cyln3=Instance.new("SpecialMesh", Ball1)
  5047.     Cyln3.MeshType='Sphere'
  5048.     Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  5049.     Instance.new("Weld", plr).Name='Weld3'
  5050.     plr.Weld3.Part0=plr.Shaft
  5051.     plr.Weld3.Part1=plr.Ball1
  5052.     plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  5053.     Ball1.BrickColor=BrickColor.new("Pastel brown")
  5054.     -----
  5055.     Ball2=Instance.new("Part", plr)
  5056.     Ball2.Name='Ball2'
  5057.     Ball2.Size=Vector3.new(1, 1, 1)
  5058.     Ball2.TopSurface=0
  5059.     Ball2.BottomSurface=0
  5060.     Cyln3=Instance.new("SpecialMesh", Ball2)
  5061.     Cyln3.MeshType='Sphere'
  5062.     Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  5063.     Instance.new("Weld", plr).Name='Weld4'
  5064.     plr.Weld4.Part0=plr.Shaft
  5065.     plr.Weld4.Part1=plr.Ball2
  5066.     plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  5067.     Ball2.BrickColor=BrickColor.new("Pastel brown")
  5068. end
  5069. --// banmgr //--
  5070. topkek.banmgr.isPrivate = false
  5071. topkek.banmgr.whitelist = {}
  5072. topkek.banmgr.bans = {}
  5073. function topkek.banmgr.executeKick(z)
  5074.     local function doKick()
  5075.         if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  5076.             z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  5077.             local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  5078.             spawn(function()
  5079.                 repeat wait()
  5080.                     if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  5081.                         SP.Position = z.Character.HumanoidRootPart.Position
  5082.                     end
  5083.                 until not game:GetService('Players'):FindFirstChild(z.Name)
  5084.             end)
  5085.             z.Character.Torso.Anchored = true
  5086.         end
  5087.     end
  5088.     repeat
  5089.         doKick()
  5090.         wait()
  5091.     until not z
  5092. end
  5093. function topkek.banmgr.loadFromFile()
  5094.     -- todo: read file
  5095.     topkek.settings.get()
  5096.     topkek.banmgr.bans = topkek.settingsTable['Bans']
  5097. end
  5098. function topkek.banmgr.addHardBan(p)
  5099.     -- todo: write file
  5100.     table.insert(topkek.banmgr.bans, p.Name)
  5101.     topkek.settings.get()
  5102.     table.insert(topkek.settingsTable['Bans'], p.Name)
  5103.     topkek.settings.write()
  5104.     print("Hardbanned " .. p.Name)
  5105.     UpdateBanlist()
  5106.     topkek.banmgr.executeKick(p)
  5107.     topkek.banmgr.loadFromFile()
  5108. end
  5109. function topkek.banmgr.addSoftBan(p)
  5110.     table.insert(topkek.banmgr.bans, p.Name)
  5111.     topkek.banmgr.executeKick(p)
  5112. end
  5113. function topkek.banmgr.plrBanned(p)
  5114.     for x, m in pairs(topkek.banmgr.bans) do
  5115.         if m == p.Name then
  5116.             return true
  5117.         end
  5118.     end
  5119.     return false
  5120. end
  5121. function topkek.banmgr.doWhitelist(p)
  5122.     print(p .. " whitelisted")
  5123.     table.insert(topkek.banmgr.whitelist, p)
  5124. end
  5125. function topkek.banmgr.unwhitelist(p)
  5126.     for x, m in pairs(topkek.banmgr.whitelist) do
  5127.         if m == p then
  5128.             print(m .. " unwhitelisted")
  5129.             table.remove(topkek.banmgr.whitelist, x)
  5130.             if game:GetService('Players'):FindFirstChild(p) then
  5131.                 topkek.banmgr.executeKick(game:GetService('Players')[p])
  5132.             end
  5133.         end
  5134.     end
  5135. end
  5136. function topkek.banmgr.plrWhitelisted(p)
  5137.     for x, m in pairs(topkek.banmgr.whitelist) do
  5138.         if m == p.Name then
  5139.             return true
  5140.         end
  5141.     end
  5142.     return false
  5143. end
  5144. function topkek.banmgr.makePrivate()
  5145.     topkek.banmgr.isPrivate = true
  5146.     for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  5147.         if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
  5148.             spawn(function()
  5149.                 topkek.banmgr.executeKick(v)
  5150.             end)
  5151.         end
  5152.     end
  5153. end
  5154. function topkek.banmgr.unprivate()
  5155.     topkek.banmgr.isPrivate = false
  5156. end
  5157. function topkek.banmgr.init()
  5158.     topkek.banmgr.loadFromFile()
  5159.     game:GetService('Players').PlayerAdded:connect(function(p)
  5160.         if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
  5161.             print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
  5162.             topkek.banmgr.executeKick(p)
  5163.         end
  5164.     end)
  5165. end
  5166. --// settings //--
  5167. topkek.settings = {}
  5168. topkek.settingsTable = {}
  5169. function topkek.settings.write()
  5170.     --writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
  5171. end
  5172. function topkek.settings.get()
  5173. if game.Players.LocalPlayer.Character then
  5174.         print("No settings! Making new ...")
  5175.         topkek.settingsTable = {
  5176.             ['Bans'] = {
  5177.                
  5178.             },
  5179.             ['Themes'] = {
  5180.                 {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
  5181.             };
  5182.         }
  5183.         topkek.settings.write()
  5184.         return topkek.settingsTable
  5185.     else
  5186.         local lset = game:GetService('HttpService'):JSONDecode(set)
  5187.         topkek.settingsTable = lset
  5188.         return lset
  5189. end
  5190. end
  5191. --// shortcuts //--
  5192. tk = {}
  5193. tk.ob = topkek.tools.util.Object
  5194. tk.dp = topkek.tools.util.doPlayers
  5195. tk.rcm = topkek.tools.util.recurseRemove
  5196. tk.rcs = topkek.tools.util.recurseSet
  5197. tk.rcf = topkek.tools.util.recurseFunc
  5198. tk.rco = topkek.tools.util.recurseSetObj
  5199. tk.play = topkek.tools.util.play
  5200. tk.gt = topkek.tools.util.getTorso
  5201. --// gui //--
  5202. -- copying this from topkek3.0 because i'm
  5203. -- too lazy to rewrite my lib
  5204. topkek.tools.gui.seperation = 12
  5205. function topkek.tools.gui:addLeftIcon(parent, img, sz)
  5206.     topkek.tools.util.Object('ImageLabel', {
  5207.         Parent = parent;
  5208.         BackgroundTransparency = 1;
  5209.         Position = UDim2.new(0, 2, 0, 2);
  5210.         Size = UDim2.new(0, sz, 0, sz);
  5211.         Image = img;
  5212.     })
  5213. end
  5214. function topkek.tools.gui:makeContainer(n)
  5215.     local temp = topkek.template:Clone()
  5216.     temp.Name = n
  5217.     temp.Parent = topkek.holder
  5218.     temp.Container.Visible = false
  5219. end
  5220. function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
  5221.     if not o:IsA("ScrollingFrame") and (not ncan) then
  5222.         return nil
  5223.     elseif o:IsA("ScrollingFrame") then
  5224.         o.CanvasSize = UDim2.new(0, 0, 0, 0)
  5225.     end
  5226.    
  5227.     local self = {}
  5228.     self.main = o
  5229.     self.drawX = 0
  5230.     self.drawY = stt or topkek.tools.gui.seperation/2
  5231.     self.drawHeight = 0
  5232.     self.sepr = sepr or topkek.tools.gui.seperation
  5233.    
  5234.     function self:drawButton(sz, txt, func, ysz, cbgd)
  5235.         local xposOffset = 0
  5236.         local xposScale = self.drawX
  5237.         local xszOffset = 0
  5238.         local xszScale = sz
  5239.         if not (self.drawX == 0)  then
  5240.             xszOffset = -5
  5241.             if sz + self.drawX > 0.998 then
  5242.                 xszOffset = -10
  5243.             end
  5244.         elseif sz == 1 then
  5245.             local bzz = 4
  5246.             if ncan then
  5247.                 bzz = 0
  5248.             end
  5249.             xszOffset = -(self.sepr) - bzz
  5250.             xposOffset = self.sepr/2
  5251.         else
  5252.             xszOffset = -4 + -(self.sepr/2)
  5253.             xposOffset = self.sepr/2
  5254.         end
  5255.         if not ysz then ysz = 20 end
  5256.         local obj = topkek.tools.util.Object("TextButton", {
  5257.             Parent = self.main;
  5258.             BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
  5259.             BorderSizePixel = 0;
  5260.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  5261.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  5262.             Font = 'SourceSans';
  5263.             FontSize = 'Size14';
  5264.             Text = txt;
  5265.             TextSize = 14;
  5266.             TextColor3 = Color3.new(199/255, 199/255, 199/255);
  5267.         })
  5268.         obj.MouseButton1Down:connect(function()
  5269.             spawn(func)
  5270.         end)
  5271.         if ysz > self.drawHeight then
  5272.             self.drawHeight = ysz
  5273.         end
  5274.         self.drawX = self.drawX + sz
  5275.         if self.drawX > 0.998 then
  5276.             self.drawY = self.drawY + 3 + self.drawHeight
  5277.             self.drawX = 0
  5278.             self.drawHeight = 0
  5279.             if (not ncan) then
  5280.                 self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  5281.             end
  5282.         end
  5283.         return obj
  5284.     end
  5285.    
  5286.     function self:GetChildren()
  5287.         return self.main:GetChildren()
  5288.     end
  5289.    
  5290.     function self:getDrawY()
  5291.         return self.drawY
  5292.     end
  5293.    
  5294.     function self:setDrawY(y)
  5295.         self.drawY = y
  5296.     end
  5297.    
  5298.     function self:drawTextBox(sz, txt, ysz, cbgd)
  5299.         local xposOffset = 0
  5300.         local xposScale = self.drawX
  5301.         local xszOffset = 0
  5302.         local xszScale = sz
  5303.         if not (self.drawX == 0)  then
  5304.             xszOffset = -5
  5305.             if sz + self.drawX > 0.998 then
  5306.                 xszOffset = -10
  5307.             end
  5308.         elseif sz == 1 then
  5309.             xszOffset = -(self.sepr) - 5
  5310.             xposOffset = self.sepr/2
  5311.         else
  5312.             xszOffset = -4 + -(self.sepr/2)
  5313.             xposOffset = self.sepr/2
  5314.         end
  5315.         if not ysz then ysz = 20 end
  5316.         local obj = topkek.tools.util.Object("TextBox", {
  5317.             Parent = self.main;
  5318.             BackgroundColor3 = cbgd or color3(153, 52, 52);
  5319.             BorderSizePixel = 0;
  5320.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  5321.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  5322.             Font = 'SourceSans';
  5323.             FontSize = 'Size14';
  5324.             Text = txt;
  5325.             TextSize = 14;
  5326.             TextColor3 = Color3.new(199/255, 199/255, 199/255);
  5327.         })
  5328.         if ysz > self.drawHeight then
  5329.             self.drawHeight = ysz
  5330.         end
  5331.         self.drawX = self.drawX + sz
  5332.         if self.drawX > 0.998 then
  5333.             self.drawY = self.drawY + 3 + self.drawHeight
  5334.             self.drawX = 0
  5335.             self.drawHeight = 0
  5336.             self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  5337.         end
  5338.         return obj
  5339.     end
  5340.    
  5341.     function self:drawImage(sz, img, ysz)
  5342.         local xposOffset = 0
  5343.         local xposScale = self.drawX
  5344.         local xszOffset = 0
  5345.         local xszScale = sz
  5346.         if not (self.drawX == 0)  then
  5347.             xszOffset = -5
  5348.             if sz + self.drawX > 0.998 then
  5349.                 xszOffset = -12
  5350.             end
  5351.         elseif sz == 1 then
  5352.             xszOffset = -(self.sepr) - 5
  5353.             xposOffset = self.sepr/2
  5354.         else
  5355.             xszOffset = -5 + -(self.sepr/2)
  5356.             xposOffset = self.sepr/2
  5357.         end
  5358.         if not ysz then ysz = 20 end
  5359.         local obj = topkek.tools.util.Object("ImageLabel", {
  5360.             Parent = self.main;
  5361.             BackgroundTransparency = 1;
  5362.             BorderColor3 = Color3.new(27, 42, 53);
  5363.             BorderSizePixel = 0;
  5364.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  5365.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  5366.             Image = img;
  5367.         })
  5368.         if ysz > self.drawHeight then
  5369.             self.drawHeight = ysz
  5370.         end
  5371.         self.drawX = self.drawX + sz
  5372.         if self.drawX > 0.998 then
  5373.             self.drawY = self.drawY + 3 + self.drawHeight
  5374.             self.drawX = 0
  5375.             self.drawHeight = 0
  5376.             if (not ncan) then
  5377.                 self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  5378.             end
  5379.         end
  5380.         return obj
  5381.     end
  5382.    
  5383.     function self:drawText(sz, txt, ysz)
  5384.         local xposOffset = 0
  5385.         local xposScale = self.drawX
  5386.         local xszOffset = 0
  5387.         local xszScale = sz
  5388.         if not (self.drawX == 0)  then
  5389.             xszOffset = -5
  5390.             if sz + self.drawX > 0.998 then
  5391.                 xszOffset = -10
  5392.             end
  5393.         elseif sz == 1 then
  5394.             local bzz = 5
  5395.             if ncan then
  5396.                 bzz = 0
  5397.             end
  5398.             xszOffset = -(self.sepr) - bzz
  5399.             xposOffset = self.sepr/2
  5400.         else
  5401.             xszOffset = -4 + -(self.sepr/2)
  5402.             xposOffset = self.sepr/2
  5403.         end
  5404.         if not ysz then ysz = 20 end
  5405.         local obj = topkek.tools.util.Object("TextLabel", {
  5406.             Parent = self.main;
  5407.             BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
  5408.             BorderSizePixel = 0;
  5409.             Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  5410.             Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  5411.             Font = 'SourceSans';
  5412.             FontSize = 'Size14';
  5413.             Text = txt;
  5414.             TextSize = 14;
  5415.             TextColor3 = Color3.new(199/255, 199/255, 199/255);
  5416.  
  5417.         })
  5418.         if ysz > self.drawHeight then
  5419.             self.drawHeight = ysz
  5420.         end
  5421.         self.drawX = self.drawX + sz
  5422.         if self.drawX > 0.998 then
  5423.             self.drawY = self.drawY + 3 + self.drawHeight
  5424.             self.drawX = 0
  5425.             self.drawHeight = 0
  5426.             if (not ncan) then
  5427.                 self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  5428.             end
  5429.         end
  5430.         return obj
  5431.     end
  5432.    
  5433.    
  5434.     function self:drawScrollingContainer(ysz)
  5435.         local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  5436.         local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  5437.         local obj = topkek.tools.util.Object("ScrollingFrame", {
  5438.             Parent = self.main;
  5439.             BackgroundColor3 = color3(117, 42, 42);
  5440.             BorderSizePixel = 0;
  5441.             Position = pos;
  5442.             Size = sz;
  5443.             BottomImage = 'rbxassetid://368504177';
  5444.             MidImage = 'rbxassetid://368504177';
  5445.             TopImage = 'rbxassetid://368504177';
  5446.             ScrollBarThickness = 5;
  5447.         })
  5448.        
  5449.         self.drawY = self.drawY + 5 + ysz
  5450.         self.drawX = 0
  5451.         self.drawHeight = 0
  5452.         if (not ncan) then
  5453.             self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  5454.         end
  5455.         return topkek.tools.gui:hookContainer(obj, false, 10, 3)
  5456.     end
  5457.    
  5458.     function self:drawContainer(xsz, ysz, xz, tz, sep)
  5459.         local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  5460.         local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
  5461.         local obj = topkek.tools.util.Object("Frame", {
  5462.             Parent = self.main;
  5463.             BackgroundColor3 = color3(117, 42, 42);
  5464.             BorderSizePixel = 0;
  5465.             Position = pos;
  5466.             Size = sz;
  5467.         })
  5468.         if not xz then
  5469.             self.drawY = self.drawY + 5 + ysz
  5470.         end
  5471.         self.drawX = 0
  5472.         self.drawHeight = 0
  5473.         if (not ncan) then
  5474.             self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  5475.         end
  5476.         return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
  5477.     end
  5478.    
  5479.     function self:addSpacing()
  5480.         self.drawY = self.drawY + 3
  5481.     end
  5482.    
  5483.     function self:center()
  5484.         local a,c,b=
  5485.             self.main.Position.X.Scale,
  5486.                 self.main.Position.X.Offset,self.main.Size.Y.Offset
  5487.         self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  5488.     end
  5489.    
  5490.     return self
  5491. end
  5492.  
  5493. --//anim//--
  5494. topkek.tools.animator.animateTo = function(source, dest)
  5495.     -- holder2holder:
  5496.     -- invis holder
  5497.     -- clone holder; vis
  5498.     -- move holder to right
  5499.     -- vis dest container
  5500.     -- tween clone holder left
  5501.     -- tween dest holder right
  5502.     print("nav",source,dest)
  5503.     topkek.holder.Visible = false
  5504.     local hclone = topkek.holder:Clone()
  5505.     hclone.Parent = topkek.center
  5506.     hclone.Name = 'animclone'
  5507.     hclone.Visible = true
  5508.     topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
  5509.     source.Visible = false
  5510.     dest.Visible = true
  5511.     dest.Container.Visible = true
  5512.     dest.Container.ZIndex = 1
  5513.     dest.ZIndex = 1
  5514.     topkek.holder.Visible = true
  5515.     topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
  5516.     hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
  5517.     wait(0.3)
  5518. end
  5519. topkek.tools.animator.initialAnimation = function()
  5520.     -- initanim:
  5521.     -- join both composites
  5522.     -- delete composites; vis solid
  5523.     -- tween solid to nav topbar
  5524.     -- copy topbar plrname; move outside region
  5525.     -- tween in clone topbar
  5526.     -- delete clone and solid; vis topbar
  5527.     -- tween down topbar
  5528.     -- tween holder out
  5529.     local function abspos(x)
  5530.         return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
  5531.     end
  5532.     local function abssz(x)
  5533.         return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
  5534.     end
  5535.     local holder = topkek.holder
  5536.     local nav = topkek.navigator
  5537.     local topnav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation.Topbar
  5538.     local topbar = topkek.topbar
  5539.     local pname =  game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar.PlayerName:Clone()
  5540.     local solid = game.Players.LocalPlayer.PlayerGui["4.0"].Solid
  5541.     topkek.center.Size = UDim2.new(0, 150, 0, 30)
  5542.     game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
  5543.     game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
  5544.     wait(0.52)
  5545.     solid.Visible = true
  5546.     game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:Destroy()
  5547.     game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:Destroy()
  5548.     wait(3)
  5549.     solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
  5550.     solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
  5551.     wait(0.52)
  5552.     solid.Label:Destroy()
  5553.     wait(0.12)
  5554.     topkek.center.Visible = true
  5555.     topnav.Visible = true
  5556.     solid:Destroy()
  5557.     pname.Position = UDim2.new(0, -170, 0, 0)
  5558.     pname.Parent = topnav
  5559.     pname.Visible = true
  5560.     pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
  5561.     wait(0.25)
  5562.     topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
  5563.     spawn(topkek.navigation.buildNavigator)
  5564.     wait(0.35)
  5565.     topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
  5566.     wait(0.35)
  5567.     topbar.PlayerName.Visible = true
  5568.     pname:Destroy()
  5569.     AllowHovers = true
  5570. end
  5571. --//nav//--
  5572. topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
  5573. topkek.navigation.windowState = 0
  5574. topkek.navigation.gotoContainer = function(cont)
  5575.     topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
  5576.     topkek.navigation.currentContainer = cont
  5577. end
  5578. topkek.navigation.buildNavigator = function()
  5579.     local nav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation
  5580.     local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
  5581.     local btns = {}
  5582.     for l, x in pairs(topkek.data.windows) do
  5583.         local container = topkek.tools.util.getContainer(x)
  5584.         local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
  5585.         local ZPos = btn.Position
  5586.         btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
  5587.         btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
  5588.         btn.LayoutOrder = l
  5589.         btn.ZIndex = 4
  5590.         local OPos = btn.Position
  5591.         btn.MouseEnter:connect(function()
  5592.             if AllowHovers == false then
  5593.                 return
  5594.             end
  5595.             for i, v in pairs(btns) do
  5596.                 if v[1] ~= btn then
  5597.                     v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
  5598.                 end
  5599.             end
  5600.             btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
  5601.         end)
  5602.         btn.MouseLeave:connect(function()
  5603.             btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
  5604.         end)
  5605.         table.insert(btns, {btn, OPos})
  5606.         wait() 
  5607.     end
  5608. end
  5609. topkek.navigation.buildTopbar = function()
  5610.     local top = topkek.topbar
  5611.     local FELabel = top.Controllers.IsFE
  5612.     top.PlayerName.Text = topkek.lplr.Name
  5613.     if game:GetService('Workspace').FilteringEnabled == true then
  5614.         FELabel.Text = "FE Game"
  5615.         FELabel.TextColor3 = BrickColor.new("Bright red").Color
  5616.     else
  5617.         FELabel.Text = "Not FE"
  5618.         FELabel.TextColor3 = BrickColor.new("Bright green").Color
  5619.     end
  5620.     top.Controllers.Hide.MouseButton1Down:connect(function()
  5621.         if topkek.navigation.windowState == 0 then
  5622.             topkek.navigation.windowState = 1
  5623.             topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
  5624.         else
  5625.             topkek.navigation.windowState = 0
  5626.             topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
  5627.         end
  5628.     end)   
  5629.     top.Controllers.Exit.MouseButton1Down:connect(function()
  5630.         topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
  5631.         wait(0.31)
  5632.         topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
  5633.         PlayerChatHook:disconnect()
  5634.     end)
  5635.    
  5636. end
  5637. topkek.navigation.initCommandBar = function()
  5638.     DistributedCmdBar, cmd = topkek.holder.Command, {}
  5639.     --weathered-down version of my cmdscript for topkek
  5640. cmd = {}
  5641.  
  5642. -- ** defines ** --
  5643. cmd.service = (function(a) return game:service(a) end)
  5644. cmd.gplayers = (function() return cmd.service'Players':GetPlayers() end)
  5645. cmd.players = cmd.service('Players')
  5646. cmd.localplayer = cmd.players.LocalPlayer
  5647.  
  5648. cmd.prefix = ';'
  5649. cmd.hidden = '/'
  5650.  
  5651. cmd.commands = {}
  5652. cmd.util = {}
  5653. cmd.interface = {}
  5654.  
  5655. cmd.admins = {}
  5656. cmd.noclip = false
  5657.  
  5658. -- ** util ** --
  5659. cmd.util.pos = function(str, pos)
  5660.     local increment = 1
  5661.     for spc in str:gmatch("[^ ]+") do
  5662.         if increment == pos then
  5663.             return spc
  5664.         end
  5665.         increment = increment + 1
  5666.     end
  5667.     return ''
  5668. end
  5669. cmd.util.pstr = function(str, re_enc)
  5670.     str = string.lower(str)
  5671.     local players = {}
  5672.     if re_enc == true then
  5673.         if str == 'me' then
  5674.             return {game.Players.LocalPlayer}
  5675.         end
  5676.         if str == 'all' then
  5677.             return game.Players:GetPlayers()
  5678.         end
  5679.         if str == 'others' then
  5680.             for i, v in pairs(game.Players:GetPlayers()) do
  5681.                 if v ~= cmd.localplayer then
  5682.                     table.insert(players, v)
  5683.                 end
  5684.             end
  5685.         end
  5686.         for i, v in pairs(game.Players:GetPlayers()) do
  5687.             if string.lower(v.Name):sub(1, #str) == str then
  5688.                 table.insert(players, v)
  5689.             end
  5690.         end
  5691.         return players
  5692.     else
  5693.         for seper in str:gmatch("[^,]+") do
  5694.             for i, v in pairs(cmd.util.pstr(seper, true)) do
  5695.                 table.insert(players, v)
  5696.             end
  5697.         end
  5698.         return players
  5699.     end
  5700. end
  5701. cmd.util.parse = function(str, fmt)
  5702.     local args = {}
  5703.     local encountered = 0
  5704.     local position = 1
  5705.     for form in fmt:gmatch("[^%%]+") do
  5706.         if position == 1 then
  5707.             args['command'] = cmd.util.pos(str, position)
  5708.         end
  5709.         if form == 'inf' then
  5710.             args[position] = str:sub(encountered, #str)
  5711.         end
  5712.         if form == 'int' then
  5713.             local fetch = cmd.util.pos(str, position)
  5714.             if tonumber(fetch) == nil then
  5715.                 return nil
  5716.             end
  5717.             args[position] =  {'integer', data = fetch}
  5718.         end
  5719.         if form == 'str' then
  5720.             local fetch = cmd.util.pos(str, position)
  5721.             args[position] = {'string', data = fetch}
  5722.         end
  5723.         if form == 'plrs' then
  5724.             args[position] = cmd.util.pstr(cmd.util.pos(str, position), false)
  5725.         end
  5726.         encountered = encountered + ((#cmd.util.pos(str, position)) + 1)
  5727.         position = position + 1
  5728.     end
  5729.     return args
  5730. end
  5731. cmd.util.isadmin = function(p)
  5732.     if p == cmd.localplayer.Name then
  5733.         return true
  5734.     else
  5735.         for i, v in pairs(cmd.admins) do
  5736.             if v == p.Name then
  5737.                 return true
  5738.             end
  5739.         end
  5740.         return false
  5741.     end
  5742. end
  5743. cmd.util.BombVest = function(Players)
  5744.     -- modified by nosyliam
  5745.     local TickWait = 1
  5746.     local Dead = false
  5747.     local BeltPositions = { }
  5748.     local ExplodeSounds = { }
  5749.    
  5750.     for ___, player in pairs(Players) do   
  5751.     pcall(function()
  5752.     local Me = player
  5753.     local Char = Me.Character
  5754.     local Torso = Char.Torso
  5755.     local Color = "Medium stone gray"
  5756.     local Dead = false
  5757.    
  5758.    
  5759.     local Position = Vector3.new(0,100,0)
  5760.     local function NewPart(Parent)
  5761.         local Part = Instance.new("Part", Parent)
  5762.         Part.CanCollide = false
  5763.         Part.FormFactor = "Custom"
  5764.         Part.Position = Position
  5765.         Part.TopSurface = "Smooth"
  5766.         Part.BottomSurface = "Smooth"
  5767.         Part.BrickColor = BrickColor.new(Color)
  5768.         Position = Position + Vector3.new(0,Part.Size.Y + 10,0)
  5769.         return Part
  5770.     end
  5771.    
  5772.     local Model = Char:FindFirstChild("Bomb")
  5773.     if Model then Model:Destroy() end
  5774.    
  5775.     Model = Instance.new("Model", Char)
  5776.     Model.Name = "Bomb"
  5777.    
  5778.     local Belt = NewPart(Model)
  5779.     Belt.Size = Vector3.new(2.2,0.5,1.2)
  5780.     table.insert(BeltPositions, Belt)
  5781.     local Weld = Instance.new("Weld", Belt)
  5782.     Weld.Part0 = Belt
  5783.     Weld.Part1 = Torso
  5784.     Weld.C0 = CFrame.new(0,1.1,0)
  5785.     local Light = Instance.new("PointLight", Belt)
  5786.     Light.Range = 15
  5787.     Light.Brightness = 5
  5788.     Light.Color = Color3.new(1,0,0)
  5789.     local Beep = Instance.new("Sound", Belt)
  5790.     Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  5791.     local ExplodeSound = Instance.new("Sound", Belt)
  5792.     ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765
  5793.     ExplodeSound.Pitch = 2.8
  5794.     ExplodeSound.Volume = 3
  5795.     table.insert(ExplodeSounds, ExplodeSound)
  5796.    
  5797.     local Back = NewPart(Model)
  5798.     Back.Size = Vector3.new(1.5,1.5,0.5)
  5799.     local Weld = Instance.new("Weld", Back)
  5800.     Weld.Part0 = Back
  5801.     Weld.Part1 = Torso
  5802.     Weld.C0 = CFrame.new(0,0.1,-0.75)
  5803.    
  5804.     local StrapLeft = NewPart(Model)
  5805.     StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  5806.     local Weld = Instance.new("Weld", StrapLeft)
  5807.     Weld.Part0 = StrapLeft
  5808.     Weld.Part1 = Torso
  5809.     Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  5810.    
  5811.     local BuckleLeft = NewPart(Model)
  5812.     BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  5813.     local Weld = Instance.new("Weld", BuckleLeft)
  5814.     Weld.Part0 = BuckleLeft
  5815.     Weld.Part1 = Torso
  5816.     Weld.C0 = CFrame.new(0.65,0.1,0.5)
  5817.    
  5818.     local StrapRight = NewPart(Model)
  5819.     StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  5820.     local Weld = Instance.new("Weld", StrapRight)
  5821.     Weld.Part0 = StrapRight
  5822.     Weld.Part1 = Torso
  5823.     Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  5824.    
  5825.     local BuckleRight = NewPart(Model)
  5826.     BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  5827.     local Weld = Instance.new("Weld", BuckleRight)
  5828.     Weld.Part0 = BuckleRight
  5829.     Weld.Part1 = Torso
  5830.     Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  5831.    
  5832.    
  5833.     coroutine.wrap(function()
  5834.         repeat
  5835.             wait(TickWait)
  5836.             Light.Enabled = not Light.Enabled
  5837.             Beep:Play()
  5838.         until Dead == true
  5839.     end)()
  5840.     end)
  5841.     end
  5842.    
  5843.     local Tool = Instance.new("HopperBin", cmd.localplayer.Backpack)
  5844.     Tool.Name = "Bomb Vest"
  5845.    
  5846.     Tool.Selected:connect(function(Mouse)
  5847.         TickWait = 0.3
  5848.         Mouse.Icon = "http://www.roblox.com/asset/?id=9109985"
  5849.        
  5850.         Mouse.Button1Down:connect(function()
  5851.             if Dead == false then
  5852.                 Dead = true
  5853.                 for i, Belt in pairs(BeltPositions) do
  5854.                 coroutine.wrap(function()
  5855.                 pcall(function() ExplodeSounds[i]:Play() end)
  5856.                 wait(1.4)
  5857.                 local Explosion = Instance.new("Explosion", workspace)
  5858.                 Explosion.Position = Belt.Position
  5859.                 Explosion.BlastPressure = 100000
  5860.                 Explosion.DestroyJointRadiusPercent = 0.7
  5861.                 Explosion.ExplosionType = "CratersAndDebris"
  5862.                 Explosion.BlastRadius = 50
  5863.                 Explosion.Hit:connect(function(Part, Distance)
  5864.                     Part.Anchored = false
  5865.                     if Distance <= 10 then
  5866.                         Part:BreakJoints()
  5867.                     end
  5868.                 end)
  5869.                 end)()
  5870.                 end
  5871.             end
  5872.         end)
  5873.     end)
  5874.    
  5875.     Tool.Deselected:connect(function()
  5876.         TickWait = 1
  5877.     end)
  5878. end
  5879. cmd.util.hulk = function(p)
  5880.     function giant(p, size)
  5881.         local pchar = p.Character
  5882.         if pchar then
  5883.             local function scale(chr,scl)
  5884.            
  5885.                 for _,v in pairs(pchar:GetChildren()) do
  5886.                     if v:IsA("Hat") then
  5887.                         v:Clone()
  5888.                         v.Parent = game.Lighting
  5889.                     end
  5890.                 end
  5891.                    
  5892.                 local Head = chr['Head']
  5893.                 local Torso = chr['Torso']
  5894.                 local LA = chr['Left Arm']
  5895.                 local RA = chr['Right Arm']
  5896.                 local LL = chr['Left Leg']
  5897.                 local RL = chr['Right Leg']
  5898.                 local HRP = chr['HumanoidRootPart']
  5899.            
  5900.                 wait(0.1)
  5901.                
  5902.                 Head.formFactor = 3
  5903.                 Torso.formFactor = 3
  5904.                 LA.formFactor = 3
  5905.                 RA.formFactor = 3
  5906.                 LL.formFactor = 3
  5907.                 RL.formFactor = 3
  5908.                 HRP.formFactor = 3
  5909.                
  5910.                 Head.Size = Vector3.new(scl * 2, scl, scl)
  5911.                 Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  5912.                 LA.Size = Vector3.new(scl, scl * 2, scl)
  5913.                 RA.Size = Vector3.new(scl, scl * 2, scl)
  5914.                 LL.Size = Vector3.new(scl, scl * 2, scl)
  5915.                 RL.Size = Vector3.new(scl, scl * 2, scl)
  5916.                 HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  5917.                
  5918.                 local Motor1 = Instance.new('Motor6D', Torso)
  5919.                 Motor1.Part0 = Torso
  5920.                 Motor1.Part1 = Head
  5921.                 Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  5922.                 Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  5923.                 Motor1.Name = "Neck"
  5924.                        
  5925.                 local Motor2 = Instance.new('Motor6D', Torso)
  5926.                 Motor2.Part0 = Torso
  5927.                 Motor2.Part1 = LA
  5928.                 Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  5929.                 Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  5930.                 Motor2.Name = "Left Shoulder"
  5931.                
  5932.                 local Motor3 = Instance.new('Motor6D', Torso)
  5933.                 Motor3.Part0 = Torso
  5934.                 Motor3.Part1 = RA
  5935.                 Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  5936.                 Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  5937.                 Motor3.Name = "Right Shoulder"
  5938.                
  5939.                 local Motor4 = Instance.new('Motor6D', Torso)
  5940.                 Motor4.Part0 = Torso
  5941.                 Motor4.Part1 = LL
  5942.                 Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  5943.                 Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  5944.                 Motor4.Name = "Left Hip"
  5945.                
  5946.                 local Motor5 = Instance.new('Motor6D', Torso)
  5947.                 Motor5.Part0 = Torso
  5948.                 Motor5.Part1 = RL
  5949.                 Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  5950.                 Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  5951.                 Motor5.Name = "Right Hip"
  5952.                
  5953.                 local Motor6 = Instance.new('Motor6D', HRP)
  5954.                 Motor6.Part0 = HRP
  5955.                 Motor6.Part1 = Torso
  5956.                 Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  5957.                 Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  5958.                    
  5959.             end
  5960.            
  5961.             scale(pchar, size)
  5962.             pchar.Humanoid.WalkSpeed = 15 * size
  5963.        
  5964.             for _,v in pairs(game.Lighting:GetChildren()) do
  5965.                 if v:IsA("Hat") then
  5966.                     v.Parent = pchar
  5967.                 end
  5968.             end
  5969.         end
  5970.     end
  5971.    
  5972.     local plr = p
  5973.     giant(plr, 3)
  5974.     for i, v in pairs(plr.Character:GetChildren()) do
  5975.         if v:IsA("BasePart") then
  5976.             v.Touched:connect(function(p)
  5977.                 if p.Size.X<30 then
  5978.                     p.Anchored = false
  5979.                     p:BreakJoints()
  5980.                 end
  5981.             end)
  5982.         end
  5983.     end
  5984.    
  5985.     local csize = 3
  5986.    
  5987.     local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  5988.     local base = Instance.new("Frame", sgui)
  5989.     base.BackgroundTransparency = 1
  5990.     base.Size = UDim2.new(0, 110, 0, 200)
  5991.     base.Position = UDim2.new(1, -120, 1, -180)
  5992.     local indicator = Instance.new("TextLabel", base)
  5993.     indicator.Size = UDim2.new(1, 0, 0, 25)
  5994.     indicator.TextColor3 = Color3.new(1, 1, 1)
  5995.     indicator.BackgroundTransparency = 0
  5996.     indicator.FontSize = Enum.FontSize.Size18
  5997.     indicator.Font = Enum.Font.SourceSans
  5998.     indicator.Text = "Current Size: 3"
  5999.     local PlusOne = Instance.new("TextButton", base)
  6000.     PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  6001.     PlusOne.Position = UDim2.new(0, 0, 0, 40)
  6002.     PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
  6003.     PlusOne.BorderSizePixel = 2
  6004.     PlusOne.Font = Enum.Font.SourceSansBold
  6005.     PlusOne.FontSize = Enum.FontSize.Size24
  6006.     PlusOne.Text = "+1 Size"
  6007.     local MinusOne = Instance.new("TextButton", base)
  6008.     MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  6009.     MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
  6010.     MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
  6011.     MinusOne.Text = "-1 Size"
  6012.     MinusOne.BorderSizePixel = 2
  6013.     MinusOne.Font = Enum.Font.SourceSansBold
  6014.     MinusOne.FontSize = Enum.FontSize.Size24
  6015.    
  6016.     PlusOne.MouseButton1Down:connect(function()
  6017.         csize = csize + 1
  6018.         giant(plr, csize)
  6019.         indicator.Text = "Current Size: "..tostring(csize)
  6020.     end)
  6021.    
  6022.     MinusOne.MouseButton1Down:connect(function()
  6023.         csize = csize - 1
  6024.         giant(plr, csize)
  6025.         indicator.Text = "Current Size: "..tostring(csize)
  6026.     end)
  6027. end
  6028. cmd.util.R15 = function()
  6029.     rcode=[[local function Init()
  6030.         wait()
  6031.         local function ConChar(P)
  6032.             Character = P.Character
  6033.                
  6034.                 local R15Model = Instance.new("Model")
  6035.                 R15Model.Name = "R15Model"
  6036.                 R15Model.Parent = Character
  6037.                
  6038.                 local function CreateLimb(Name,Color,Size,Transparency,ConnectToLimb,MotorName,C0,C1,MeshId)
  6039.                     local Part = Instance.new("Part")
  6040.                     Part.FormFactor = "Custom"
  6041.                     Part.Size = Size
  6042.                     Part.BrickColor = Color
  6043.                     Part.CanCollide = false
  6044.                     Part.Name = Name
  6045.                     Part.Transparency = (Transparency == 0.001 and 0 or Transparency)
  6046.                     Part.TopSurface = "Smooth"
  6047.                     Part.BottomSurface = "Smooth"
  6048.                    
  6049.                     local Motor = Instance.new("Motor6D")
  6050.                     Motor.C0 = C0
  6051.                     Motor.C1 = C1
  6052.                     Motor.Part0 = ConnectToLimb
  6053.                     Motor.Part1 = Part
  6054.                     Motor.Name = MotorName
  6055.                     Motor.MaxVelocity = 0.1
  6056.                     Motor.Parent = ConnectToLimb
  6057.                    
  6058.                     if MeshId then
  6059.                         local Mesh = Instance.new("SpecialMesh")
  6060.                         Mesh.MeshType = "FileMesh"
  6061.                         Mesh.MeshId = MeshId
  6062.                         Mesh.Scale = Vector3.new(0.99,0.99,0.99)
  6063.                         Mesh.Parent = Part
  6064.                     end
  6065.                    
  6066.                     if MeshId and Transparency == 0.001 then
  6067.                         local ShirtTexturePart = Instance.new("Part")
  6068.                         ShirtTexturePart.FormFactor = "Custom"
  6069.                         ShirtTexturePart.Size = Size
  6070.                         ShirtTexturePart.BrickColor = Color
  6071.                         ShirtTexturePart.CanCollide = false
  6072.                         ShirtTexturePart.Name = "ShirtTexturePart"
  6073.                         ShirtTexturePart.Transparency = Transparency
  6074.                         ShirtTexturePart.TopSurface = "Smooth"
  6075.                         ShirtTexturePart.BottomSurface = "Smooth"
  6076.                        
  6077.                         local Mesh = Instance.new("SpecialMesh")
  6078.                         Mesh.MeshType = "FileMesh"
  6079.                         Mesh.MeshId = MeshId
  6080.                         Mesh.Parent = ShirtTexturePart
  6081.                        
  6082.                         local Weld = Instance.new("Weld")
  6083.                         Weld.Part0 = Part
  6084.                         Weld.Part1 = ShirtTexturePart
  6085.                         Weld.Parent = ShirtTexturePart
  6086.                        
  6087.                         ShirtTexturePart.Parent = Part
  6088.                     end
  6089.                     Part.Parent = R15Model
  6090.                     return Part
  6091.                 end
  6092.                
  6093.                
  6094.                 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))
  6095.                 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")
  6096.                 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")
  6097.                 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")
  6098.                 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")
  6099.                 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")
  6100.                 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")
  6101.                 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")
  6102.                 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")
  6103.                 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")
  6104.                 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")
  6105.                 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")
  6106.                 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")
  6107.                 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")
  6108.                 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")
  6109.                 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")
  6110.                
  6111.                 --if Character:WaitForChild("Head"):WaitForChild("Mesh").MeshId ~= "" then
  6112.                 --  Head.MeshId = Character.Head.Mesh.MeshId
  6113.                 --end
  6114.                
  6115.                 Character:WaitForChild("Animate").Disabled = false
  6116.                 local Anim = game:GetObjects("rbxassetid://401967017")[1]; print("aobj", tostring(Anim))
  6117.                 for i, v in pairs(Anim:GetChildren()) do
  6118.                     v.Parent = script
  6119.                 end
  6120.                 script.Parent = Character
  6121.                
  6122.                 local function Clear(Name,Alternative,ColorParts)
  6123.                     local Part = Character:WaitForChild(Name)
  6124.                     Part.Transparency = (Name == "Head" and 0.99 or 1)
  6125.                     local function ChildAdded(Ins)
  6126.                         delay(0.05,function()
  6127.                             if Ins.Name == "face" then
  6128.                                 if Alternative:FindFirstChild("face") then Alternative:FindFirstChild("face"):Destroy() end
  6129.                                 Ins.Parent = Alternative
  6130.                             elseif Ins:IsA("Motor6D") and string.sub(Ins.Name,1,5) ~= "Fake_" then
  6131.                                 Ins.Name = "Fake_"..Ins.Name
  6132.                             elseif Ins.Name == "HeadWeld" then
  6133.                                 delay(0.05,function()
  6134.                                     Ins.Parent = Head
  6135.                                     Ins.Part0 = Head
  6136.                                     Ins.C1 = CFrame.new(0,0,0.05) * Ins.C1
  6137.                                 end)
  6138.                             elseif not Ins:IsA("Weld") then
  6139.                                 Ins:Destroy()
  6140.                             end
  6141.                         end)
  6142.                     end
  6143.                     for _,Sub in pairs(Part:GetChildren()) do
  6144.                         ChildAdded(Sub)
  6145.                     end
  6146.                     Part.ChildAdded:connect(ChildAdded)
  6147.                    
  6148.                     local function Color()
  6149.                         for _,Sub in pairs(ColorParts) do
  6150.                             Sub.BrickColor = Part.BrickColor
  6151.                             local TexturePart = Sub:FindFirstChild("ShirtTexturePart")
  6152.                             if TexturePart then
  6153.                                 TexturePart.BrickColor = Part.BrickColor
  6154.                             end
  6155.                         end
  6156.                     end
  6157.                     Color()
  6158.                     Part.Changed:connect(Color)
  6159.                 end
  6160.                
  6161.                 Clear("HumanoidRootPart",HumanoidRootPart,{HumanoidRootPart})
  6162.                 Clear("Head",Head,{Head})
  6163.                 Clear("Torso",nil,{LowerTorso,UpperTorso})
  6164.                 Clear("Left Arm",nil,{LeftLowerArm,LeftUpperArm,LeftHand})
  6165.                 Clear("Right Arm",nil,{RightLowerArm,RightUpperArm,RightHand})
  6166.                 Clear("Left Leg",nil,{LeftLowerLeg,LeftUpperLeg,LeftFoot})
  6167.                 Clear("Right Leg",nil,{RightLowerLeg,RightUpperLeg,RightFoot})
  6168.                
  6169.                 local ShirtUsed = false
  6170.                 local function ChildAdded(Ins)
  6171.                     if Ins:IsA("Hat") and string.sub(Ins.Name,1,7) ~= "Scaled_" then
  6172.                         delay(0.05,function()
  6173.                             local Mesh = Ins:WaitForChild("Handle"):WaitForChild("Mesh")
  6174.                             Ins.AttachmentPos = Ins.AttachmentPos
  6175.                             Mesh.Scale = Mesh.Scale
  6176.                             Ins.Name = "Scaled_"..Ins.Name
  6177.                         end)
  6178.                     elseif Ins:IsA("Shirt") then
  6179.                         ShirtUsed = true
  6180.                         LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  6181.                         UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  6182.                         LeftLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  6183.                         LeftUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  6184.                         LeftHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  6185.                         RightLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  6186.                         RightUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  6187.                         RightHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  6188.                     elseif Ins:IsA("Pants") then
  6189.                         LeftUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  6190.                         LeftLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  6191.                         LeftFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  6192.                         RightUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  6193.                         RightLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  6194.                         RightFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  6195.                         if LowerTorso.ShirtTexturePart.Mesh.TextureId == "" then
  6196.                             LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  6197.                             UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  6198.                         end
  6199.                     end
  6200.                 end
  6201.                
  6202.                 for _,Sub in pairs(Character:GetChildren()) do
  6203.                     ChildAdded(Sub)
  6204.                 end
  6205.                 Character.ChildAdded:connect(ChildAdded)
  6206.                 loadstring(Anim.Source)()
  6207.             end
  6208.         ConChar(game:service'Players'.LocalPlayer)
  6209.     end
  6210.    
  6211.     Init()]]
  6212.     spawn(function() loadstring(rcode)() end)
  6213. end
  6214. cmd.util.size = function(p, size)
  6215.     -- omfg thanks var
  6216.     local pchar = p.Character
  6217.         local function scale(chr,scl)
  6218.        
  6219.             for _,v in pairs(pchar:GetChildren()) do
  6220.                 if v:IsA("Hat") then
  6221.                     v:Clone()
  6222.                     v.Parent = game.Lighting
  6223.                 end
  6224.             end
  6225.                
  6226.             local Head = chr['Head']
  6227.             local Torso = chr['Torso']
  6228.             local LA = chr['Left Arm']
  6229.             local RA = chr['Right Arm']
  6230.             local LL = chr['Left Leg']
  6231.             local RL = chr['Right Leg']
  6232.             local HRP = chr['HumanoidRootPart']
  6233.        
  6234.             wait(0.1)
  6235.            
  6236.             Head.formFactor = 3
  6237.             Torso.formFactor = 3
  6238.             LA.formFactor = 3
  6239.             RA.formFactor = 3
  6240.             LL.formFactor = 3
  6241.             RL.formFactor = 3
  6242.             HRP.formFactor = 3
  6243.            
  6244.             Head.Size = Vector3.new(scl * 2, scl, scl)
  6245.             Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  6246.             LA.Size = Vector3.new(scl, scl * 2, scl)
  6247.             RA.Size = Vector3.new(scl, scl * 2, scl)
  6248.             LL.Size = Vector3.new(scl, scl * 2, scl)
  6249.             RL.Size = Vector3.new(scl, scl * 2, scl)
  6250.             HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  6251.            
  6252.             local Motor1 = Instance.new('Motor6D', Torso)
  6253.             Motor1.Part0 = Torso
  6254.             Motor1.Part1 = Head
  6255.             Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  6256.             Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  6257.             Motor1.Name = "Neck"
  6258.                    
  6259.             local Motor2 = Instance.new('Motor6D', Torso)
  6260.             Motor2.Part0 = Torso
  6261.             Motor2.Part1 = LA
  6262.             Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  6263.             Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  6264.             Motor2.Name = "Left Shoulder"
  6265.            
  6266.             local Motor3 = Instance.new('Motor6D', Torso)
  6267.             Motor3.Part0 = Torso
  6268.             Motor3.Part1 = RA
  6269.             Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  6270.             Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  6271.             Motor3.Name = "Right Shoulder"
  6272.            
  6273.             local Motor4 = Instance.new('Motor6D', Torso)
  6274.             Motor4.Part0 = Torso
  6275.             Motor4.Part1 = LL
  6276.             Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  6277.             Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  6278.             Motor4.Name = "Left Hip"
  6279.            
  6280.             local Motor5 = Instance.new('Motor6D', Torso)
  6281.             Motor5.Part0 = Torso
  6282.             Motor5.Part1 = RL
  6283.             Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  6284.             Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  6285.             Motor5.Name = "Right Hip"
  6286.            
  6287.             local Motor6 = Instance.new('Motor6D', HRP)
  6288.             Motor6.Part0 = HRP
  6289.             Motor6.Part1 = Torso
  6290.             Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  6291.             Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  6292.                
  6293.         end
  6294.        
  6295.         scale(pchar, size)
  6296.    
  6297.         for _,v in pairs(game.Lighting:GetChildren()) do
  6298.             if v:IsA("Hat") then
  6299.                 v.Parent = pchar
  6300.             end
  6301.         end
  6302. end
  6303. cmd.util.checktable = function(t, v)
  6304.     for i, __ in pairs(t) do
  6305.         if __ == v then
  6306.             return true
  6307.         end
  6308.     end
  6309.     return false
  6310. end
  6311. cmd.util.nextrgb = function(r, g, b)
  6312.     local ar, ag, ab = r, g, b
  6313.     if r == 255 and g < 255 and b == 0 then
  6314.         ag = g + 8.5
  6315.     end
  6316.     if g == 255 and r > 0 and b == 0 then
  6317.         ar = r - 8.5
  6318.     end
  6319.     if g == 255 and b < 255 and r == 0 then
  6320.         ab = b + 8.5
  6321.     end
  6322.     if b == 255 and g > 0 and r == 0 then
  6323.         ag = g - 8.5
  6324.     end
  6325.     if b == 255 and r < 255 and g == 0 then
  6326.         ar = r + 8.5
  6327.     end
  6328.     if r == 255 and b > 0 and g == 0 then
  6329.         ab = b - 8.5
  6330.     end
  6331.     return {ar, ag, ab}
  6332. end
  6333. -- ** interface ** --
  6334. game:GetService('UserInputService').InputBegan:connect(function(inp)
  6335.     if inp.UserInputType == Enum.UserInputType.Keyboard then
  6336.         if inp.KeyCode == Enum.KeyCode.Semicolon then
  6337.             DistributedCmdBar:CaptureFocus()
  6338.         end
  6339.     end
  6340. end)
  6341.  
  6342. -- ** commands ** --
  6343. cmd.commands.store = {}
  6344. cmd.commands.fmtstore = {}
  6345.  
  6346. cmd.commands.register = function(cmdz, fmt, func)
  6347.     cmd.commands.store[cmdz] = (function(str) coroutine.wrap(function() pcall(function() func(cmd.util.parse(str, fmt)) end) end)() end)
  6348.     cmd.commands.fmtstore[cmdz] = fmt
  6349. end
  6350.  
  6351. cmd.commands.run = function(str)
  6352.     local cmdz = cmd.util.pos(str, 1)
  6353.     if not cmd.commands.store[cmdz] then
  6354.         return nil
  6355.     else
  6356.         cmd.commands.store[cmdz](str)
  6357.     end
  6358. end
  6359.  
  6360. -- // actual commands // --
  6361.  
  6362. cmd.commands.register('kill', 'cmd%plrs', function(args)
  6363.     for i, v in pairs(args[2]) do
  6364.         v.Character.Humanoid.Health = 0
  6365.     end
  6366. end)
  6367.  
  6368. cmd.commands.register('clone', 'cmd%plrs', function(args)
  6369.     for i, v in pairs(args[2]) do
  6370.         v.Character.Archivable = true
  6371.         local clone = v.Character:Clone()
  6372.         clone.Parent = game.Workspace
  6373.         clone:MoveTo(v.Character.Torso.Position)
  6374.     end
  6375. end)
  6376.  
  6377. cmd.commands.register('damage', 'cmd%plrs%int', function(args)
  6378.     for i, v in pairs(args[2]) do
  6379.         v.Character.Humanoid:TakeDamage(args[3].data)
  6380.     end
  6381. end)
  6382.  
  6383. cmd.commands.register('freeze', 'cmd%plrs', function(args)
  6384.     for i, v in pairs(args[2]) do
  6385.         v.Character.Torso.Anchored = true
  6386.     end
  6387. end)
  6388.  
  6389. cmd.commands.register('thaw', 'cmd%plrs', function(args)
  6390.     for i, v in pairs(args[2]) do
  6391.         v.Character.Torso.Anchored = false
  6392.     end
  6393. end)
  6394. Fly = false;
  6395. cmd.commands.register('fly', 'cmd', function(args)
  6396.     if Fly == true then
  6397.         Fly = false
  6398.         return
  6399.     end
  6400.     Fly = true
  6401.   local mouse=game.Players.LocalPlayer:GetMouse''
  6402.   localplayer=game.Players.LocalPlayer
  6403.   game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  6404.   local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  6405.   local speed=0
  6406.   local keys={a=false,d=false,w=false,s=false}
  6407.   local e1
  6408.   local e2
  6409.   local function start()
  6410.    local pos = Instance.new("BodyPosition",torso)
  6411.    local gyro = Instance.new("BodyGyro",torso)
  6412.    pos.Name="EPIXPOS"
  6413.    pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  6414.    pos.position = torso.Position
  6415.    gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  6416.    gyro.cframe = torso.CFrame
  6417.    repeat
  6418.     wait()
  6419.     localplayer.Character.Humanoid.PlatformStand=true
  6420.     local new=gyro.cframe - gyro.cframe.p + pos.position
  6421.     if not keys.w and not keys.s and not keys.a and not keys.d then
  6422.      speed=1
  6423.     end
  6424.     if keys.w then
  6425.      new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  6426.      speed=speed+0.01
  6427.     end
  6428.     if keys.s then
  6429.      new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  6430.      speed=speed+0.01
  6431.     end
  6432.     if keys.d then
  6433.      new = new * CFrame.new(speed,0,0)
  6434.      speed=speed+0.01
  6435.     end
  6436.     if keys.a then
  6437.      new = new * CFrame.new(-speed,0,0)
  6438.      speed=speed+0.01
  6439.     end
  6440.     if speed>5 then
  6441.      speed=5
  6442.     end
  6443.     pos.position=new.p
  6444.     if keys.w then
  6445.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  6446.     elseif keys.s then
  6447.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  6448.     else
  6449.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  6450.     end
  6451.    until not Fly
  6452.    if gyro then gyro:Destroy() end
  6453.    if pos then pos:Destroy() end
  6454.    flying=false
  6455.    localplayer.Character.Humanoid.PlatformStand=false
  6456.    speed=0
  6457.   end
  6458.   e1=mouse.KeyDown:connect(function(key)
  6459.    if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  6460.    if key=="w" then
  6461.     keys.w=true
  6462.    elseif key=="s" then
  6463.     keys.s=true
  6464.    elseif key=="a" then
  6465.     keys.a=true
  6466.    elseif key=="d" then
  6467.     keys.d=true
  6468.    end
  6469.   end)
  6470.   e2=mouse.KeyUp:connect(function(key)
  6471.    if key=="w" then
  6472.     keys.w=false
  6473.    elseif key=="s" then
  6474.     keys.s=false
  6475.    elseif key=="a" then
  6476.     keys.a=false
  6477.    elseif key=="d" then
  6478.     keys.d=false
  6479.    end
  6480.   end)
  6481.   start()
  6482. end)
  6483. cmd.commands.register('tp', 'cmd%plrs%plrs', function(args)
  6484.     local players = args[2]
  6485.     local target = args[3][1]
  6486.     for i, player in pairs(args[2]) do
  6487.         player.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  6488.     end
  6489. end)
  6490.  
  6491. cmd.commands.register('naked', 'cmd%plrs', function(args)
  6492.     for i, v in pairs(args[2]) do
  6493.         v:ClearCharacterAppearance()
  6494.     end
  6495. end)
  6496. cmd.commands.register('sgod', 'cmd%plrs', function(args)
  6497.     for i, v in pairs(args[2]) do
  6498.         v.Character.Humanoid.MaxHealth = 999999999
  6499.         v.Character.Humanoid.Health = 999999999
  6500.     end
  6501. end)
  6502.  
  6503. cmd.commands.register('ws', 'cmd%plrs%int', function(args)
  6504.     for i, v in pairs(args[2]) do
  6505.         v.Character.Humanoid.WalkSpeed = args[3].data
  6506.     end
  6507. end)
  6508.  
  6509. cmd.commands.register('lag', 'cmd%plrs', function(args)
  6510.     for i, v in pairs(args[2]) do
  6511.         coroutine.wrap(function()
  6512.             for i = 1, 200 do
  6513.                 ypcall(function()
  6514.                     coroutine.wrap(function()
  6515.                         for i = 1, 1000 do
  6516.                             Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  6517.                         end
  6518.                     end)()
  6519.                 end)
  6520.                 wait()
  6521.             end
  6522.         end)()
  6523.     end
  6524. end)
  6525.  
  6526. cmd.commands.register('ban', 'cmd%plrs', function(args)
  6527.     for i, v in pairs(args[2]) do
  6528.         table.insert(cmd.bans, v.Name)
  6529.         v.Parent = nil
  6530.     end
  6531. end)
  6532.  
  6533. cmd.commands.register('lagban', 'cmd%plrs', function(args)
  6534.     for i, v in pairs(args[2]) do
  6535.         table.insert(cmd.lagbans, v.Name)
  6536.         coroutine.wrap(function()
  6537.             for i = 1, 200 do
  6538.                 ypcall(function()
  6539.                     coroutine.wrap(function()
  6540.                         for i = 1, 1000 do
  6541.                             Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  6542.                         end
  6543.                     end)()
  6544.                 end)
  6545.                 wait()
  6546.             end
  6547.         end)()
  6548.     end
  6549. end)
  6550.  
  6551. cmd.commands.register('punish', 'cmd%plrs', function(args)
  6552.     for i, v in pairs(args[2]) do
  6553.         v.Character.Parent = game.Lighting
  6554.     end
  6555. end)
  6556.  
  6557. cmd.commands.register('unpunish', 'cmd%plrs', function(args)
  6558.     for i, v in pairs(args[2]) do
  6559.         v.Character.Parent = game.Workspace
  6560.     end
  6561. end)
  6562.  
  6563. cmd.commands.register('respawn', 'cmd%plrs', function(args)
  6564.     for i, v in pairs(args[2]) do
  6565.         local a1 = Instance.new("Model", game.Workspace)
  6566.         local a2 = Instance.new("Part", game.Workspace)
  6567.         a2.CanCollide = true
  6568.         a2.Anchored = true
  6569.         a2.CFrame = CFrame.new(10000, 10000, 10000)
  6570.         a2.Name = "Torso"
  6571.         local a3 = Instance.new("Humanoid", a1)
  6572.         a3.MaxHealth=100;a3.Health=100
  6573.         v.Character = a1
  6574.         a3.Health=0
  6575.     end
  6576. end)
  6577.  
  6578. cmd.commands.register('shutdown', 'cmd', function(args)
  6579.     for i, v in pairs(cmd.service('Players'):GetPlayers()) do
  6580.         v.Parent = nil
  6581.     end
  6582. end)
  6583.  
  6584. cmd.commands.register('music', 'cmd%int', function(args)
  6585.     local a = Instance.new("Sound")
  6586.     a.SoundId = "rbxassetid://" .. tostring(args[2].data)
  6587.     a.Looped = true
  6588.     a.Volume = 1
  6589.     a.Parent = game.Workspace
  6590.     a:Play()
  6591.    
  6592. end)
  6593.  
  6594. cmd.commands.register('sit', 'cmd%plrs', function(args)
  6595.     for i, v in pairs(args[2]) do
  6596.         v.Character.Humanoid.Sit = true
  6597.     end
  6598. end)
  6599.  
  6600. cmd.commands.register('jump', 'cmd%plrs', function(args)
  6601.     for i, v in pairs(args[2]) do
  6602.         v.Character.Humanoid.Jump = true
  6603.     end
  6604. end)
  6605.  
  6606. cmd.commands.register('stun', 'cmd%plrs', function(args)
  6607.     for i, v in pairs(args[2]) do
  6608.         v.Character.Humanoid.PlatformStand = true
  6609.     end
  6610. end)
  6611.  
  6612. cmd.commands.register('unstun', 'cmd%plrs', function(args)
  6613.     for i, v in pairs(args[2]) do
  6614.         v.Character.Humanoid.PlatformStand = false
  6615.     end
  6616. end)
  6617.  
  6618. cmd.commands.register('loopstate', 'cmd%int', function(args)
  6619.     coroutine.resume(coroutine.create(function()
  6620.         repeat
  6621.             ypcall(function() cmd.localplayer.Character.Humanoid:ChangeState(args[2].data)  end)
  6622.             wait(0)
  6623.         until cmd.localplayer.Character.Humanoid == nil
  6624.     end))
  6625. end)
  6626.  
  6627. cmd.commands.register('invis', 'cmd%plrs', function(args)
  6628.     for i, v in pairs(args[2]) do
  6629.         local function dloop(o)
  6630.             for i, v in pairs(o:GetChildren()) do
  6631.                 pcall(function() v.Transparency = 1 end)
  6632.                 dloop(v)
  6633.             end
  6634.         end
  6635.         dloop(v.Character)
  6636.     end
  6637. end)
  6638.  
  6639. cmd.commands.register('vis', 'cmd%plrs', function(args)
  6640.     for i, v in pairs(args[2]) do
  6641.         local function dloop(o)
  6642.             for i, v in pairs(o:GetChildren()) do
  6643.                 pcall(function() v.Transparency = 0 end)
  6644.                 dloop(v)
  6645.             end
  6646.         end
  6647.         v.Character.HumanoidRootPart.Transparency = 1
  6648.         dloop(v.Character)
  6649.     end
  6650. end)
  6651.  
  6652. cmd.commands.register('nuke', 'cmd%plrs', function(args)
  6653.     for i, v in pairs(args[2]) do
  6654.         if v.Character then
  6655.             local nuke = Instance.new("Part", game.Workspace)
  6656.             nuke.Anchored = true
  6657.             nuke.CanCollide = false
  6658.             nuke.FormFactor = "Symmetric"
  6659.             nuke.Shape = "Ball"
  6660.             nuke.Size = Vector3.new(1,1,1)
  6661.             nuke.BrickColor = BrickColor.new("New Yeller")
  6662.             nuke.Transparency = 0.5
  6663.             nuke.Reflectance = 0.2
  6664.             nuke.TopSurface = 0
  6665.             nuke.BottomSurface = 0
  6666.             nuke.Touched:connect(function (hit)
  6667.                 if hit and hit.Parent then
  6668.                     local boom = Instance.new("Explosion", game.Workspace)
  6669.                     boom.Position = hit.Position
  6670.                     boom.BlastRadius = 11
  6671.                     boom.BlastPressure = math.huge
  6672.                 end
  6673.             end)
  6674.             local CF = v.Character.Torso.CFrame
  6675.             nuke.CFrame = CF
  6676.             for i = 1,333 do
  6677.                 nuke.Size = nuke.Size + Vector3.new(3,3,3)
  6678.                 nuke.CFrame = CF
  6679.                 wait(1/44)
  6680.             end
  6681.             nuke:Destroy()
  6682.         end
  6683.     end
  6684. end)
  6685.  
  6686. cmd.commands.register('explode', 'cmd%plrs', function(args)
  6687.     for i, v in pairs(args[2]) do
  6688.         Instance.new("Explosion", v.Character.Torso).Position = v.Character.Torso.Position
  6689.     end
  6690. end)
  6691.  
  6692. cmd.commands.register('hat', 'cmd%plrs%int', function(args)
  6693.     for i, v in pairs(args[2]) do
  6694.         cmd.service('InsertService'):LoadAsset(args[3].data):GetChildren()[1].Parent = v.Character
  6695.     end
  6696. end)
  6697.  
  6698. cmd.commands.register('chat', 'cmd%plrs%inf', function(args)
  6699.     for i, v in pairs(args[2]) do
  6700.         game:GetService('Chat'):Chat(v.Character, args[3], 1)
  6701.     end
  6702. end)
  6703.  
  6704. cmd.commands.register('god', 'cmd%plrs', function(args)
  6705.     for i, v in pairs(args[2]) do
  6706.         v.Character.Humanoid.MaxHealth = math.huge
  6707.         v.Character.Humanoid.Health = math.huge
  6708.     end
  6709. end)
  6710.  
  6711. cmd.commands.register('ungod', 'cmd%plrs', function(args)
  6712.     for i, v in pairs(args[2]) do
  6713.         v.Character.Humanoid.Health = 100
  6714.         v.Character.Humanoid.MaxHealth = 100
  6715.     end
  6716. end)
  6717.  
  6718. cmd.commands.register('rh', 'cmd%plrs', function(args)
  6719.     for i, v in pairs(args[2]) do
  6720.         v.Character.Humanoid.Parent = nil
  6721.     end
  6722. end)
  6723.  
  6724. cmd.commands.register('fire', 'cmd%plrs', function(args)
  6725.     for i, v in pairs(args[2]) do
  6726.         Instance.new('Fire', v.Character.Torso)
  6727.     end
  6728. end)
  6729.  
  6730. cmd.commands.register('insane', 'cmd%plrs', function(args)
  6731.     for x, m in pairs(args[2]) do
  6732.         for i,v in pairs(m.Character.Torso:GetChildren()) do
  6733.             if v:IsA("Motor6D") then
  6734.                 coroutine.wrap(function()
  6735.                     while v do
  6736.                         v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  6737.                         wait()
  6738.                     end
  6739.                 end)()
  6740.             end
  6741.         end
  6742.     end
  6743. end)
  6744.  
  6745. cmd.commands.register('admin', 'cmd%plrs',function(args)
  6746.     for i, v in pairs(args[2]) do
  6747.         --table.insert(cmd.admins, v.Name)
  6748.         v.Chatted:connect(function(msg)
  6749.                 if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  6750.                     cmd.commands.run(msg:sub(2, #msg))
  6751.                 end
  6752.         end)
  6753.     end
  6754. end)
  6755.  
  6756. cmd.commands.register('nosound', 'cmd', function(args)
  6757.     local function dx(o)
  6758.         for i, v in pairs(o:GetChildren()) do
  6759.             if v:IsA("Sound") then
  6760.                 v:Stop()
  6761.             end
  6762.             dx(v)
  6763.         end
  6764.     end
  6765.     dx(game.Workspace)
  6766. end)
  6767.  
  6768. cmd.commands.register('duck', 'cmd%plrs', function(args)
  6769.     for _,p in pairs(args[2]) do
  6770.         local pchar = p.Character
  6771.         for i,v in pairs(pchar.Torso:GetChildren()) do
  6772.             if v:IsA("Decal") then
  6773.                 v:Destroy()
  6774.             end
  6775.         end
  6776.         for i,v in pairs(pchar:GetChildren()) do
  6777.             if v:IsA("Hat") then
  6778.                 v:Destroy()
  6779.             end
  6780.         end
  6781.         local duck = Instance.new("SpecialMesh", pchar.Torso)
  6782.         duck.MeshType = "FileMesh"
  6783.         duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  6784.         duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  6785.         duck.Scale = Vector3.new(5, 5, 5)
  6786.         pchar.Head.Transparency = 1
  6787.         pchar["Left Arm"].Transparency = 1
  6788.         pchar["Right Arm"].Transparency = 1
  6789.         pchar["Left Leg"].Transparency = 1
  6790.         pchar["Right Leg"].Transparency = 1
  6791.         pchar.Head.face.Transparency = 1
  6792.     end
  6793. end)
  6794.  
  6795. cmd.commands.register('shrek', 'cmd%plrs', function(args)
  6796.     for i, v in pairs(args[2]) do
  6797.         local pchar = v.Character
  6798.         for i,v in pairs(pchar:GetChildren()) do
  6799.             if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  6800.                 v:Destroy()
  6801.             end
  6802.         end
  6803.         for i,v in pairs(pchar.Head:GetChildren()) do
  6804.             if v:IsA("Decal") or v:IsA("SpecialMesh") then
  6805.                 v:Destroy()
  6806.             end
  6807.         end
  6808.        
  6809.         local mesh = Instance.new("SpecialMesh", pchar.Head)
  6810.         mesh.MeshType = "FileMesh"
  6811.         pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  6812.         pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  6813.         pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  6814.        
  6815.         local Shirt = Instance.new("Shirt", v.Character)
  6816.         local Pants = Instance.new("Pants", v.Character)
  6817.        
  6818.         Shirt.ShirtTemplate = "rbxassetid://133078194"
  6819.         Pants.PantsTemplate = "rbxassetid://133078204"
  6820.     end
  6821. end)
  6822.  
  6823. cmd.commands.register('nograv', 'cmd%plrs', function(args)
  6824.     for i, v in pairs(args[2]) do
  6825.         for x, m in pairs(v.Character:GetChildren()) do
  6826.             if m:IsA("BasePart") then
  6827.                 local bf = Instance.new("BodyForce", m)
  6828.                 bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  6829.             end
  6830.             if m:IsA("Hat") then
  6831.                 if m:findFirstChild("Handle") then
  6832.                     local bf = Instance.new("BodyForce", m.Handle)
  6833.                     bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  6834.                 end
  6835.             end
  6836.         end
  6837.     end
  6838. end)
  6839.  
  6840. cmd.commands.register('loopheal', 'cmd%plrs', function(args)
  6841.     for i, v in pairs(args[2]) do
  6842.         coroutine.wrap(function()
  6843.             while wait() do
  6844.                 if v.Character.Humanoid then
  6845.                     v.Character.Humanoid.Health = 1000
  6846.                     v.Character.Humanoid.MaxHealth = 1000
  6847.                 end
  6848.             end
  6849.         end)()
  6850.     end
  6851. end)
  6852.  
  6853. cmd.commands.register('hulk', 'cmd%plrs', function(args)
  6854.     for i, v in pairs(args[2]) do
  6855.         cmd.util.hulk(v)
  6856.     end
  6857. end)
  6858.  
  6859. cmd.commands.register('sky', 'cmd%int', function(args)
  6860.     local ID = args[2].data
  6861.     local sky = Instance.new("Sky", game.Lighting)
  6862.     sky.SkyboxBk = "rbxassetid://" .. ID
  6863.     sky.SkyboxDn = "rbxassetid://" .. ID
  6864.     sky.SkyboxFt = "rbxassetid://" .. ID
  6865.     sky.SkyboxLf = "rbxassetid://" .. ID
  6866.     sky.SkyboxRt = "rbxassetid://" .. ID
  6867.     sky.SkyboxUp = "rbxassetid://" .. ID
  6868. end)
  6869.  
  6870. cmd.commands.register('bombs', 'cmd%plrs', function(args)
  6871.     cmd.util.BombVest(args[2])
  6872. end)
  6873.  
  6874. cmd.commands.register('control', 'cmd%plrs', function(args)
  6875.     -- variable
  6876.     local pchar = args[2][1].Character
  6877.     local char = cmd.localplayer.Character
  6878.     pchar.Humanoid.PlatformStand = true
  6879.     local w = Instance.new("Weld", pchar.Torso)
  6880.     w.Part0 = pchar.Torso
  6881.     w.Part1 = pchar.Torso  
  6882.     local w2 = Instance.new("Weld", pchar.Head)
  6883.     w2.Part0 = pchar.Head
  6884.     w2.Part1 = pchar.Head  
  6885.     local w3 = Instance.new("Weld", pchar:findFirstChild("Right Arm"))
  6886.     w3.Part0 = pchar:findFirstChild("Right Arm")
  6887.     w3.Part1 = pchar:findFirstChild("Right Arm")
  6888.     local w4 = Instance.new("Weld", pchar:findFirstChild("Left Arm"))
  6889.     w4.Part0 = pchar:findFirstChild("Left Arm")
  6890.     w4.Part1 = pchar:findFirstChild("Left Arm")
  6891.     local w5 = Instance.new("Weld", pchar:findFirstChild("Right Leg"))
  6892.     w5.Part0 = pchar:findFirstChild("Right Leg")
  6893.     w5.Part1 = pchar:findFirstChild("Right Leg")
  6894.     local w6 = Instance.new("Weld", pchar:findFirstChild("Left Leg"))
  6895.     w6.Part0 = pchar:findFirstChild("Left Leg")
  6896.     w6.Part1 = pchar:findFirstChild("Left Leg")
  6897.     char.Head.face:Destroy()
  6898.     for i,v in pairs(pchar:GetChildren()) do
  6899.         if v:IsA("BasePart") then
  6900.             v.CanCollide = false
  6901.         end
  6902.     end
  6903.     for i,v in pairs(char:GetChildren()) do
  6904.         if v:IsA("BasePart") then
  6905.             v.Transparency = 1
  6906.         elseif v:IsA("Hat") then
  6907.             v:Destroy()
  6908.         end
  6909.     end
  6910.     pchar.Parent = char
  6911.     repeat
  6912.         pchar.Humanoid.PlatformStand = true
  6913.         wait()
  6914.     until char.Parent == nil
  6915. end)
  6916.  
  6917. cmd.commands.register('rtag', 'cmd%inf', function(args)
  6918.     local len = 10; local player = cmd.localplayer
  6919.     local bb = Instance.new("BillboardGui")
  6920.     bb.Parent = player.Character.Head
  6921.     bb.Adornee = player.Character.Head
  6922.     bb.AlwaysOnTop = true
  6923.     bb.Enabled = true
  6924.     bb.Size = UDim2.new(len, 0, 1.5, 0)
  6925.     bb.Name = "tag"
  6926.     bb.StudsOffset = Vector3.new(0, 3, 0)
  6927.     --local fr = Instance.new("Frame")
  6928.     --fr.Parent = bb
  6929.     --fr.Size = UDim2.new(1, 0, 1, 0)
  6930.     --fr.Style = Enum.FrameStyle.RobloxRound
  6931.     local tl = Instance.new("TextLabel")
  6932.     tl.Parent = bb
  6933.     tl.BackgroundTransparency = 1
  6934.     tl.TextScaled = true
  6935.     tl.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  6936.     tl.Size = UDim2.new(1, 0, 1, 0)
  6937.     tl.Text = args[2]
  6938.     tl.Name = "trutag"
  6939.     tl.Visible = true
  6940.     tl.ZIndex = 2
  6941.     coroutine.wrap(function()
  6942.         local r, g, b = 255, 0, 0
  6943.         repeat
  6944.             tl.TextColor3 = Color3.new(r/255, g/255, b/255)
  6945.             local bo = cmd.util.nextrgb(r, g, b)
  6946.             r = bo[1]; g = bo[2]; b = bo[3];
  6947.             wait()
  6948.         until bb == nil
  6949.     end)()
  6950. end)
  6951.  
  6952. cmd.commands.register('smoke', 'cmd%plrs', function(args)
  6953.     for i, v in pairs(args[2]) do
  6954.         Instance.new('Smoke', v.Character.Torso)
  6955.     end
  6956. end)
  6957.  
  6958. cmd.commands.register('btools', 'cmd%plrs', function(args)
  6959.     for i, p in pairs(args[2]) do
  6960.         local a = Instance.new("HopperBin")
  6961.         a.BinType = "GameTool"
  6962.         a.Parent = p.Backpack
  6963.         local a = Instance.new("HopperBin")
  6964.         a.BinType = "Clone"
  6965.         a.Parent = p.Backpack
  6966.         local a = Instance.new("HopperBin")
  6967.         a.BinType = "Hammer"
  6968.         a.Parent = p.Backpack
  6969.     end
  6970. end)
  6971.  
  6972. con = nil;
  6973. cmd.commands.register('noclip', 'cmd', function(args)
  6974.     cmd.noclip = false
  6975.     con = game:GetService('RunService').Stepped:connect(function()
  6976.         if cmd.noclip == true then
  6977.             con:disconnect()
  6978.         else
  6979.             cmd.localplayer.Character.Torso.CanCollide = false
  6980.             cmd.localplayer.Character.Head.CanCollide = false
  6981.         end
  6982.     end)
  6983. end)
  6984.  
  6985. cmd.commands.register('clip', 'cmd', function(args)
  6986.     cmd.noclip = true
  6987. end)
  6988.  
  6989. cmd.commands.register('gear', 'cmd%plrs%int', function(args)
  6990.     local gear = game:GetService("InsertService"):LoadAsset(args[3].data):GetChildren()[1]
  6991.     if not gear then return end
  6992.     for i, v in pairs(args[2]) do
  6993.         gear:Clone().Parent = v.Backpack
  6994.     end
  6995. end)
  6996.  
  6997. cmd.commands.register('kick', 'cmd%plrs', function(args)
  6998.     for i, v in pairs(args[2]) do
  6999.         v.Parent = nil
  7000.     end
  7001. end)
  7002.  
  7003. cmd.commands.register('r15', 'cmd', function(args)
  7004.     cmd.util.R15()
  7005. end)
  7006.  
  7007. cmd.commands.register('char', 'cmd%plrs%str', function(args)
  7008.     if tonumber(args[3].data) ~= nil then
  7009.         args[3].data = tonumber(args[3].data)
  7010.     else
  7011.         args[3].data = cmd.players:GetUserIdFromNameAsync(args[3].data)
  7012.     end
  7013.     for i, v in pairs(args[2]) do
  7014.         v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=' .. args[3].data
  7015.         pcall(function() v.Character.Humanoid.Health = 0 end)
  7016.     end
  7017. end)
  7018.  
  7019. cmd.commands.register('noob', 'cmd%plrs', function(args)
  7020.     for i, v in pairs(args[2]) do
  7021.         v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=4'
  7022.         pcall(function() v.Character.Humanoid.Health = 0 end)
  7023.     end
  7024. end)
  7025.  
  7026. cmd.commands.register('ff', 'cmd%plrs', function(args)
  7027.     for i, v in pairs(args[2]) do
  7028.         Instance.new("ForceField", v.Character)
  7029.     end
  7030. end)
  7031.  
  7032. cmd.commands.register('unff', 'cmd%plrs', function(args)
  7033.     for i, v in pairs(args[2]) do
  7034.         for x, m in pairs(v.Character:GetChildren()) do
  7035.             if m:IsA("ForceField") then
  7036.                 m.Parent = nil
  7037.             end
  7038.         end
  7039.     end
  7040. end)
  7041.  
  7042. cmd.commands.register('guest', 'cmd%plrs', function(args)
  7043.     for i, v in pairs(args[2]) do
  7044.         v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=1'
  7045.         pcall(function() v.Character.Humanoid.Health = 0 end)
  7046.     end
  7047. end)
  7048.  
  7049. cmd.commands.register('giraffe', 'cmd%plrs', function(args)
  7050.     for i, v in pairs(args[2]) do
  7051.         local char=v.Character
  7052.         local h=char.Head
  7053.         local tor=char.Torso
  7054.         tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  7055.         local fn=Instance.new("Part",char)
  7056.         fn.Size=Vector3.new(1,5.5,1)
  7057.         fn.Name="FakeNeck"
  7058.         fn.Anchored=false
  7059.         fn.CanCollide=false
  7060.         if char:FindFirstChild("Body Colors") then
  7061.             fn.BrickColor=char["Body Colors"].HeadColor
  7062.         end
  7063.         local cm=Instance.new("CylinderMesh",fn)
  7064.         local we=Instance.new("Weld",h)
  7065.         we.Part0=h
  7066.         we.Part1=fn
  7067.         we.C1=we.C1*CFrame.new(0,2.6,0)
  7068.     end
  7069. end)
  7070.  
  7071. cmd.commands.register('notools', 'cmd%plrs', function(args)
  7072.     for i, v in pairs(args[2]) do
  7073.         for x, m in pairs(v.Backpack:GetChildren()) do
  7074.             m.Parent = nil
  7075.         end
  7076.     end
  7077. end)
  7078.  
  7079. cmd.commands.register('taketools', 'cmd%plrs', function(args)
  7080.     for i, v in pairs(args[2]) do
  7081.         for x, m in pairs(v.Backpack:GetChildren()) do
  7082.             m.Parent = cmd.localplayer.Backpack
  7083.         end
  7084.     end
  7085. end)
  7086.  
  7087. cmd.commands.register('confuse', 'cmd%plrs', function(args)
  7088.     for i, v in pairs(args[2]) do
  7089.         v.Character.Humanoid.WalkSpeed = -16
  7090.     end
  7091. end)
  7092.  
  7093. cmd.commands.register('spin', 'cmd%plrs', function(args)
  7094.     for i, v in pairs(args[2]) do
  7095.         for i,v in pairs(v.Character.Torso:GetChildren()) do
  7096.             if v.Name == "Spinning" then
  7097.                 v:Destroy()
  7098.             end
  7099.         end
  7100.         local Torso = v.Character.Torso
  7101.         local BG = Instance.new("BodyGyro", Torso)
  7102.         BG.Name = "Spinning"
  7103.         BG.maxTorque = Vector3.new(0, math.huge, 0)
  7104.         BG.P = 11111
  7105.         BG.cframe = Torso.CFrame
  7106.         repeat wait(1/44)
  7107.             BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  7108.         until not BG or BG.Parent ~= Torso
  7109.     end
  7110. end)
  7111.  
  7112. cmd.commands.register('fling', 'cmd%plrs', function(args)
  7113.     for i, v in pairs(args[2]) do
  7114.         local pchar = v.Character
  7115.         if pchar:FindFirstChild("Humanoid") then
  7116.             local xran
  7117.             local zran
  7118.             repeat
  7119.                 xran = math.random(-9999,9999)
  7120.             until math.abs(xran) >= 5555
  7121.             repeat
  7122.                 zran = math.random(-9999,9999)
  7123.             until math.abs(zran) >= 5555
  7124.             pchar.Humanoid.Sit = true
  7125.             pchar.Torso.Velocity = Vector3.new(0,0,0)
  7126.             local BF = Instance.new("BodyForce", pchar.Torso)
  7127.             BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  7128.         end
  7129.     end
  7130. end)
  7131.  
  7132. cmd.commands.register('burn', 'cmd%plrs', function(args)
  7133.     for i, v in pairs(args[2]) do
  7134.         spawn(function()
  7135.             wait(0.1)
  7136.             local fire=Instance.new("Fire", v.Character.Torso)
  7137.             wait(0.1)
  7138.             local fire=Instance.new("Fire", v.Character.Head)
  7139.             wait(0.1)
  7140.             local fire=Instance.new("Fire", v.Character["Left Arm"])
  7141.             wait(0.1)
  7142.             local fire=Instance.new("Fire", v.Character["Right Leg"])
  7143.             wait(0.5)
  7144.             v.Character:BreakJoints();
  7145.         end)
  7146.     end
  7147. end)
  7148.  
  7149. cmd.commands.register('printcmds', 'cmd', function(args)
  7150.     for i, v in pairs(cmd.commands.store) do
  7151.         print(i, '==', v)
  7152.     end
  7153. end)
  7154.  
  7155. cmd.commands.register('gun', 'cmd%plrs', function(args)
  7156.     local a = game:GetService("InsertService"):LoadAsset(130113146):GetChildren()[1]
  7157.     local b = game:GetService("InsertService"):LoadAsset(67747912):GetChildren()[1]
  7158.     local c = game:GetService("InsertService"):LoadAsset(95354288):GetChildren()[1]
  7159.     for i, v in pairs(args[2]) do
  7160.         a:Clone().Parent = v.Backpack
  7161.         b:Clone().Parent = v.Backpack
  7162.         c:Clone().Parent = v.Backpack
  7163.     end
  7164. end)
  7165.  
  7166.  
  7167. cmd.commands.register('goto', 'cmd%plrs', function(args)
  7168.     local target = args[2][1]
  7169.     cmd.localplayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  7170. end)
  7171.  
  7172. cmd.commands.register('select', 'cmd%plrs', function(args)
  7173.     for i, v in pairs(args[2]) do
  7174.         Instance.new("SelectionBox", v.Character).Adornee = v.Character
  7175.     end
  7176. end)
  7177.  
  7178. cmd.commands.register('sphere', 'cmd%plrs', function(args)
  7179.     for i, v in pairs(args[2]) do
  7180.         Instance.new("SelectionSphere", v.Character).Adornee = v.Character
  7181.     end
  7182. end)
  7183.  
  7184. cmd.commands.register('bring', 'cmd%plrs', function(args)
  7185.     for i, v in pairs(args[2]) do
  7186.         v.Character.HumanoidRootPart.CFrame = cmd.localplayer.Character.HumanoidRootPart.CFrame
  7187.     end
  7188. end)
  7189.  
  7190. cmd.commands.register('knife', 'cmd%plrs', function(args)
  7191.     local knife = game:GetService("InsertService"):LoadAsset(170897263):GetChildren()[1]
  7192.     for i, v in pairs(args[2]) do
  7193.         knife:Clone().Parent = v
  7194.     end
  7195. end)
  7196.  
  7197. cmd.commands.register('shades', 'cmd%plrs', function(args)
  7198.     local shades = game:GetService('InsertService'):LoadAsset(11748356):GetChildren()[1]
  7199.     for i, v in pairs(args[2]) do
  7200.         shades:Clone().Parent = v.Character
  7201.     end
  7202. end)
  7203.  
  7204. cmd.commands.register('alien', 'cmd%plrs', function(args)
  7205.     -- variable
  7206.     for i, v in pairs(args[2]) do
  7207.         local pchar = v.Character
  7208.         if pchar:FindFirstChild('Shirt') then
  7209.             pchar.Shirt:Destroy()
  7210.         end
  7211.         if pchar:FindFirstChild('Pants') then
  7212.             pchar.Pants:Destroy()
  7213.         end
  7214.         if pchar:FindFirstChild('Shirt Graphic') then
  7215.             pchar['Shirt Graphic'].Graphic = ''
  7216.         end
  7217.         for i,v in pairs(pchar:GetChildren()) do
  7218.             if v:IsA('Hat') then
  7219.                 v:Destroy()
  7220.             end
  7221.         end
  7222.         local ayy2 = game:GetObjects("rbxassetid://397033642")[1]
  7223.         ayy2.Parent = pchar
  7224.         local BC = pchar['Body Colors']
  7225.         BC.HeadColor = BrickColor.new('Fossil')
  7226.         BC.LeftArmColor = BrickColor.new('Fossil')
  7227.         BC.LeftLegColor = BrickColor.new('Fossil')
  7228.         BC.RightArmColor = BrickColor.new('Fossil')
  7229.         BC.RightLegColor = BrickColor.new('Fossil')
  7230.         BC.TorsoColor = BrickColor.new('Fossil')
  7231.     end
  7232. end)
  7233.  
  7234. cmd.commands.register('team', 'cmd%plrs%str', function(args)
  7235.     for i, v in pairs(args[2]) do
  7236.         for x, m in pairs(game:GetService('Teams'):GetTeams()) do
  7237.             if (m.Name):lower():sub(1, #args[3].data) == (args[3].data):lower() then
  7238.                 v.TeamColor = m.TeamColor              
  7239.             end    
  7240.         end
  7241.     end
  7242. end)
  7243.  
  7244. cmd.commands.register('particles', 'cmd%plrs%int', function(args)
  7245.     for i, v in pairs(args[2]) do
  7246.         Instance.new("ParticleEmitter", v.Character).Texture = args[3].data
  7247.     end
  7248. end)
  7249.  
  7250. cmd.commands.register('ghost', 'cmd%plrs', function(args)
  7251.     for i, v in pairs(args[2]) do
  7252.         local pchar = v.Character
  7253.         pchar.Head.Transparency = 0.5
  7254.         pchar.Torso.Transparency = 0.5
  7255.         pchar["Left Arm"].Transparency = 0.5
  7256.         pchar["Right Arm"].Transparency = 0.5
  7257.         pchar["Left Leg"].Transparency = 0.5
  7258.         pchar["Right Leg"].Transparency = 0.5
  7259.         pchar.Head.face.Transparency = 0.5
  7260.     end
  7261. end)
  7262.  
  7263. cmd.commands.register('firstperson', 'cmd%plrs', function(args)
  7264.     for i, v in pairs(args[2]) do
  7265.         v.CameraMode = Enum.CameraMode.LockFirstPerson
  7266.     end
  7267. end)
  7268.  
  7269. cmd.commands.register('creeper', 'cmd%plrs', function(args)
  7270.     for i, v in pairs(args[2]) do
  7271.         local pchar = v.Character
  7272.         if pchar then
  7273.             if pchar:FindFirstChild("Shirt") then
  7274.                     pchar.Shirt.Parent = pchar.Torso
  7275.                 end
  7276.                 if pchar:FindFirstChild("Pants") then
  7277.                     pchar.Pants.Parent = pchar.Torso
  7278.                 end
  7279.                 if pchar:FindFirstChild("Shirt Graphic") then
  7280.                     pchar["Shirt Graphic"].Graphic = ""
  7281.                 end
  7282.                 for i,v in pairs(pchar:GetChildren()) do
  7283.                     if v:IsA("Hat") then
  7284.                         v:Destroy()
  7285.                     end
  7286.                 end
  7287.                 pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  7288.                 pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  7289.                 pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  7290.                 pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  7291.                 pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  7292.                 pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  7293.                 pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  7294.                 pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  7295.                 pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  7296.                 pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  7297.                 pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  7298.             end
  7299.     end
  7300. end)
  7301.  
  7302. cmd.commands.register('insert', 'cmd%int', function(args)
  7303.     local m = cmd.service('InsertService'):LoadAsset(args[2].data)
  7304.     m.Parent = game.Workspace
  7305.     m:MoveTo(cmd.localplayer.Character.Torso.Position)
  7306.     m:MakeJoints()
  7307. end)
  7308.  
  7309. cmd.commands.register('nolimbs', 'cmd%plrs', function(args)
  7310.     for i, v in pairs(game.Players:GetPlayers()) do
  7311.         v.Character['Right Leg'].Parent = nil
  7312.         v.Character['Left Leg'].Parent = nil
  7313.         v.Character['Right Arm'].Parent = nil
  7314.         v.Character['Left Arm'].Parent = nil
  7315.     end
  7316. end)
  7317.  
  7318. cmd.commands.register('recurseremove', 'cmd%str', function(args)
  7319.     local function a(o)
  7320.         for i,v in pairs(o:GetChildren()) do
  7321.             if v:IsA(args[2].data) then
  7322.                 v.Parent=nil
  7323.             end
  7324.             a(v)
  7325.         end
  7326.     end
  7327.     a(game.Workspace)
  7328. end)
  7329.  
  7330. cmd.commands.register('name', 'cmd%plrs%inf', function(args)
  7331.     for i, v in pairs(args[2]) do
  7332.         local tchar = v.Character
  7333.         for x, m in pairs(tchar:GetChildren()) do
  7334.             if m:FindFirstChild('nm') then
  7335.                 m.Parent = nil
  7336.             end
  7337.         end
  7338.         tchar.Name = ''
  7339.         local ntag = Instance.new("Model", tchar)
  7340.         ntag.Name = args[3]
  7341.         local nhead = tchar.Head:Clone()
  7342.         nhead.Parent = ntag
  7343.         local nhum = Instance.new("Humanoid", ntag)
  7344.         nhum.MaxHealth = 0
  7345.         nhum.Health = 0
  7346.         nhum.Name = 'nm'
  7347.         local nweld = Instance.new("Weld", nhead)
  7348.         nweld.Part0 = nhead
  7349.         nweld.Part1 = tchar.Head
  7350.     end
  7351. end)
  7352.  
  7353. cmd.commands.register('track', 'cmd%plrs%inf', function(args)
  7354.     for i, v in pairs(args[2]) do
  7355.         local tchar = v.Character
  7356.         for x, m in pairs(tchar:GetChildren()) do
  7357.             if m:FindFirstChild('nm') then
  7358.                 m.Parent = nil
  7359.             end
  7360.         end
  7361.         tchar.Name = ''
  7362.         local ntag = Instance.new("Model", workspace.CurrentCamera)
  7363.         ntag.Name = v.Name
  7364.         local nhead = tchar.Head:Clone()
  7365.         nhead.Parent = ntag
  7366.         local nhum = Instance.new("Humanoid", ntag)
  7367.         nhum.MaxHealth = 0
  7368.         nhum.Health = 0
  7369.         nhum.Name = 'nm'
  7370.         local nweld = Instance.new("Weld", nhead)
  7371.         nweld.Part0 = nhead
  7372.         nweld.Part1 = tchar.Head
  7373.     end
  7374. end)
  7375.  
  7376. cmd.commands.register('rname', 'cmd%plrs', function(args)
  7377.     local player = cmd.localplayer
  7378.     player.Neutral = false
  7379.     repeat
  7380.         wait()
  7381.         player.TeamColor = BrickColor.Random()
  7382.     until not player.Character.Humanoid
  7383. end)
  7384.  
  7385. cmd.commands.register('fogend', 'cmd%int', function(args)
  7386.     game.Lighting.FogEnd = args[2].data
  7387. end)
  7388.  
  7389. cmd.commands.register('fogstart', 'cmd%int', function(args)
  7390.     game.Lighting.FogStart = args[2].data
  7391. end)
  7392.  
  7393. cmd.commands.register('time', 'cmd%int', function(args)
  7394.     game.Lighting:SetMinutesAfterMidnight(60 * args[2].data)
  7395. end)
  7396.  
  7397. cmd.commands.register('ambient', 'cmd%int%int%int', function(args)
  7398.     game.Lighting.Ambient = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  7399. end)
  7400.  
  7401. cmd.commands.register('fogcolor', 'cmd%int%int%int', function(args)
  7402.     game.Lighting.FogColor = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  7403. end)
  7404.  
  7405. cmd.commands.register('sword', 'cmd%plrs', function(args)
  7406.     local sword = game:GetService('InsertService'):LoadAsset(125013769):GetChildren()[1]
  7407.     for i, v in pairs(args[2]) do
  7408.         sword:Clone().Parent = v.Backpack
  7409.     end
  7410. end)
  7411.  
  7412. cmd.commands.register('paranoid', 'cmd%plrs', function(args)
  7413.     for i, v in pairs(cmd.localplayer.Character:GetChildren()) do
  7414.         if v:IsA("BasePart") then
  7415.             v.Anchored = true
  7416.         end
  7417.     end
  7418. end)
  7419.  
  7420. cmd.commands.register('size', 'cmd%plrs%int', function(args)
  7421.     for i, v in pairs(args[2]) do
  7422.         cmd.util.size(v, args[3].data)
  7423.     end
  7424. end)
  7425.  
  7426. cmd.commands.register('unlockws', 'cmd%plrs', function(args)
  7427.     local function dloop(o)
  7428.         for i, v in pairs(o:GetChildren()) do
  7429.             if v:IsA("BasePart") then
  7430.                 v.Anchored = false
  7431.             end
  7432.             if v:IsA("Model") then
  7433.                 v:BreakJoints()
  7434.             end
  7435.             dloop(v)
  7436.         end
  7437.     end
  7438.     dloop(game.Workspace)
  7439. end)
  7440.  
  7441. cmd.commands.register('change', 'cmd%plrs%str%inf', function(args)
  7442.     for i, v in pairs(args[2]) do
  7443.         if v:FindFirstChild("leaderstats") then
  7444.             if v.leaderstats:FindFirstChild(args[3].data) then
  7445.                 if v.leaderstats[args[3].data]:IsA("StringValue") then
  7446.                     v.leaderstats[args[3].data].Value = args[4]
  7447.                 end
  7448.                 if v.leaderstats[args[3].data]:IsA("NumberValue") or v.leaderstats[args[3].data]:IsA("IntValue") then
  7449.                     print(args[4])
  7450.                     if tonumber(args[4]) ~= nil then
  7451.                         v.leaderstats[args[3].data].Value = tonumber(args[4])
  7452.                     end
  7453.                 end
  7454.             end
  7455.         end
  7456.     end
  7457. end)
  7458.  
  7459. ---------------------------
  7460.  
  7461. -- ** init ** --
  7462.  
  7463. local count = 0
  7464. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  7465.  
  7466. warn("loaded nosyliam's cmdscript [a]")
  7467. warn(tostring(count).." commands")
  7468.  
  7469.     DistributedCmdBar.FocusLost:connect(function(e)
  7470.         if e == true then
  7471.             cmd.commands.run(DistributedCmdBar.Text)
  7472.             DistributedCmdBar.Text = ''
  7473.         end
  7474.     end)
  7475.    
  7476.     --PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
  7477.     --  if cmd.util.isadmin(plr.Name) then
  7478.     --      if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  7479.         --      cmd.commands.run(msg:sub(2, #msg))
  7480.     --      end
  7481.     --  end
  7482. --  end)
  7483. end
  7484. topkek.navigation.buildHomePage = function()
  7485.     local count = 0
  7486.     for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  7487.     local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
  7488.     hook:drawText(1, 'T0PK3K 4.0 ex-7 edition by TheMichalos')
  7489.     hook:drawText(1, 'Patch version 1.0.5')
  7490.     hook:drawText(1, 'Commandbase patch version 1.0.0')
  7491.     hook:drawText(1, 'Number of commands: ' .. tostring(count))
  7492.     local stime = hook:drawText(1, 'Server Time: 0')
  7493.     spawn(function()
  7494.         while true do
  7495.             stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
  7496.             wait(0.5)
  7497.         end
  7498.     end)
  7499.     local ssz = hook:drawText(1, 'Server Size: 0')
  7500.     spawn(function()
  7501.         while true do
  7502.             ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
  7503.             wait(0.5)
  7504.         end
  7505.     end)
  7506.     local fe = game:GetService('Workspace').FilteringEnabled
  7507.     hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
  7508.     hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
  7509.     hook:drawText(1, 'same', 55)
  7510. end
  7511. topkek.navigation.buildContainers = function()
  7512.     for _, v in pairs(topkek.data.windows) do
  7513.         topkek.tools.gui:makeContainer(v)
  7514.     end
  7515. end
  7516.  
  7517. topkek.navigation.initCommandBar()
  7518. topkek.navigation.buildContainers()
  7519. topkek.navigation.buildTopbar()
  7520. topkek.navigation.buildHomePage()
  7521. wait()
  7522.  
  7523.  
  7524. --// actual code below lole //--
  7525.  
  7526. --// PLAYERS //--
  7527. local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
  7528. local search = plrwin:drawButton(1, '', function()end)
  7529. drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
  7530. function fixPlayerDrop()
  7531.     local t = {'All'}
  7532.     for i, v in pairs(game.Players:GetPlayers()) do
  7533.         table.insert(t, v.Name)
  7534.     end
  7535.     drop.SetTable(t)
  7536. end
  7537. game.Players.PlayerAdded:connect(function()
  7538.     fixPlayerDrop()
  7539. end)
  7540. game.Players.PlayerRemoving:connect(function()
  7541.     fixPlayerDrop()
  7542. end)
  7543. plrFrame = plrwin:drawContainer(1, 100)
  7544. headshotContainer = plrFrame:drawContainer(0.4, 94, true)
  7545. headshotContainer:setDrawY(20)
  7546. headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
  7547. headshotContainer:setDrawY(0)
  7548. userNameText = headshotContainer:drawText(1, "[All]")
  7549. userNameText.ClipsDescendants = true
  7550. userNameText.Font = Enum.Font.SourceSansBold
  7551. infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
  7552. infoContainer.BackgroundColor3 = color3(108, 38, 38)
  7553. userIdText = infoContainer:drawText(1, "ID: 0")
  7554. userAgeText = infoContainer:drawText(1, "Age: 0")
  7555. userTeamText = infoContainer:drawText(1, "Team: Neutral")
  7556. cval = 'All'
  7557. fixPlayerDrop()
  7558.  
  7559. function updatePlayer(plri)
  7560.     local plr = game:GetService('Players'):FindFirstChild(plri)
  7561.     if not plr and plri ~= 'All' then
  7562.         print("Couldn't find player!")
  7563.         updatePlayer(topkek.lplr)
  7564.     else
  7565.         headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
  7566.         userNameText.Text = "[All]"
  7567.         userIdText.Text = 'ID: [multiple]'
  7568.         userAgeText.Text = 'Age: [multiple]'
  7569.         userTeamText.Text = 'Team: [multiple]'
  7570.         cval = 'All'
  7571.     end
  7572.     local team = plr.TeamColor
  7573.     if team == nil then
  7574.         team = 'Neutral'
  7575.     else
  7576.         team = tostring(team)
  7577.     end
  7578.     headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
  7579.     userNameText.Text = plr.Name
  7580.     userIdText.Text = 'ID: ' .. tostring(plr.UserId)
  7581.     userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
  7582.     userTeamText.Text = 'Team: ' .. team
  7583.     cval = plr.Name
  7584.    
  7585. end
  7586. drop.Changed(updatePlayer)
  7587. --actual code ------__-
  7588. plrwin:addSpacing()
  7589. plrwin:drawButton(1/2, 'Kick', function()
  7590.     tk.dp(cval, function(p)
  7591.         topkek.banmgr.executeKick(p)
  7592.     end)
  7593. end)
  7594.  
  7595. plrwin:drawButton(1/2, 'Ban', function()
  7596.     tk.dp(cval, function(p)
  7597.         topkek.banmgr.addSoftBan(p)
  7598.     end)
  7599. end)
  7600. plrwin:drawButton(1/2,'Friendlag', function()
  7601.     tk.dp(cval, function(p)
  7602.         for i = 1, 10 do
  7603.             spawn(function()
  7604.                 while wait() do
  7605.                     game.Players.LocalPlayer:RequestFriendship(p)
  7606.                     game.Players.LocalPlayer:RevokeFriendship(p)
  7607.                 end
  7608.             end)
  7609.         end
  7610.     end)
  7611. end)
  7612. plrwin:drawButton(1/2, 'Hardban', function()
  7613.     tk.dp(cval, function(p)
  7614.         topkek.banmgr.addHardBan(p)
  7615.     end)
  7616. end)
  7617. plrwin:addSpacing()
  7618. plrwin:drawButton(1/2, 'Bring', function()
  7619.     tk.dp(cval, function(z)
  7620.         if z.Character then
  7621.             z.Character.HumanoidRootPart.CFrame =
  7622.                 game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  7623.         end
  7624.     end)
  7625. end)
  7626. plrwin:drawButton(1/2, 'Goto', function()
  7627.     tk.dp(cval, function(z)
  7628.         game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
  7629.             z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  7630.     end)
  7631. end)
  7632. plrwin:addSpacing()
  7633. plrwin:drawButton(1/3, 'Kill', function()
  7634.     tk.dp(cval, function(p)
  7635.         if p.Character and p.Character:FindFirstChild("Humanoid") then
  7636.             p.Character.Humanoid.Health = 0
  7637.         end
  7638.     end)
  7639. end)
  7640. plrwin:drawButton(1/3, 'Seizure', function()
  7641.     tk.dp(cval, function(p)
  7642.         if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
  7643.             spawn(function()
  7644.                 p.Character.Humanoid.PlatformStand = true
  7645.                 tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0)
  7646.                 repeat
  7647.                     wait()
  7648.                     p.Character.Humanoid.PlatformStand = true
  7649.                     tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  7650.                     tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  7651.                 until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
  7652.             end)
  7653.         end
  7654.     end)
  7655. end)
  7656. plrwin:drawButton(1/3, 'Stun', function()
  7657.     tk.dp(cval, function(p)
  7658.         if p.Character and p.Character:FindFirstChild("Humanoid") then
  7659.             p.Character.Humanoid.PlatformStand = true
  7660.             p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  7661.         end
  7662.     end)
  7663. end)
  7664. plrwin:drawButton(1/3, 'Freeze', function()
  7665.     tk.dp(cval, function(p)
  7666.         if p.Character then
  7667.             tk.gt(p).Anchored = true
  7668.         end
  7669.     end)
  7670. end)
  7671. plrwin:drawButton(1/3, 'Thaw', function()
  7672.     tk.dp(cval, function(p)
  7673.         if p.Character then
  7674.             tk.gt(p).Anchored = false
  7675.         end
  7676.     end)
  7677. end)
  7678. plrwin:drawButton(1/3, 'Superslow', function()
  7679.     tk.dp(cval, function(p)
  7680.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  7681.             p.Character.Humanoid.WalkSpeed = 1
  7682.         end
  7683.     end)
  7684. end)
  7685. plrwin:drawButton(1/3, 'Highjump', function()
  7686.     tk.dp(cval, function(p)
  7687.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  7688.             p.Character.Humanoid.JumpPower = 125
  7689.         end
  7690.     end)
  7691. end)
  7692. plrwin:drawButton(1/3, 'God', function()
  7693.     tk.dp(cval, function(p)
  7694.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  7695.             p.Character.Humanoid.MaxHealth = math.huge
  7696.             p.Character.Humanoid.Health = math.huge
  7697.         end
  7698.     end)
  7699. end)
  7700. plrwin:drawButton(1/3, 'Semigod', function()
  7701.     tk.dp(cval, function(p)
  7702.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  7703.             p.Character.Humanoid.MaxHealth = 9e9
  7704.             p.Character.Humanoid.Health = 9e9
  7705.         end
  7706.     end)
  7707. end)
  7708. plrwin:drawButton(1/3, 'Fast', function()
  7709.     tk.dp(cval, function(p)
  7710.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  7711.             p.Character.Humanoid.WalkSpeed = 50
  7712.         end
  7713.     end)
  7714. end)
  7715. Follow = false;
  7716. plrwin:drawButton(1/3, 'Annoy', function()
  7717.     tk.dp(cval, function(p)
  7718.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  7719.             if Follow == true then
  7720.                 Follow = false; return
  7721.             else Follow = true end
  7722.             while Follow == true do
  7723.                 game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
  7724.                     p.Character.HumanoidRootPart.CFrame
  7725.                 wait()
  7726.             end
  7727.         end
  7728.     end)
  7729. end)
  7730. plrwin:drawButton(1/3, 'Freefall', function()
  7731.     tk.dp(cval, function(p)
  7732.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  7733.             p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)    
  7734.         end
  7735.     end)
  7736. end)
  7737. plrwin:drawButton(1/3, 'Destroy', function()
  7738.     tk.dp(cval, function(p)
  7739.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  7740.             p.Character.Humanoid:Destroy()
  7741.         end
  7742.     end)
  7743. end)
  7744. plrwin:drawButton(1/3, 'Fix', function()
  7745.     tk.dp(cval, function(p)
  7746.         if p.Character and p.Character:FindFirstChild('Humanoid') then
  7747.             p.Character.Humanoid.Health = 100
  7748.             p.Character.Humanoid.MaxHealth = 100
  7749.             p.Character.Humanoid.JumpPower = 100
  7750.             p.Character.Humanoid.WalkSpeed = 16
  7751.             p.Character.Humanoid.PlatformStand = false
  7752.             p.Character.Humanoid.Jump = true
  7753.         end
  7754.     end)
  7755. end)
  7756. plrwin:drawButton(1/3, 'Respawn', function()
  7757.     tk.dp(cval, function(p)
  7758.         if p.Character then
  7759.             local a1 = Instance.new("Model", game:service'Workspace')
  7760.             local a2 = Instance.new("Part", game:service'Workspace')
  7761.             a2.CanCollide = true
  7762.             a2.Anchored = true
  7763.             a2.CFrame = CFrame.new(10000, 10000, 10000)
  7764.             a2.Name = "Torso"
  7765.             local a3 = Instance.new("Humanoid", a1)
  7766.             a3.MaxHealth=100;a3.Health=100
  7767.             p.Character = a1
  7768.             a3.Health=0
  7769.         end
  7770.     end)
  7771. end)
  7772. plrwin:addSpacing()
  7773. local nameInp
  7774. plrwin:drawButton(1/3, 'Name', function()
  7775.     tk.dp(cval, function(z)
  7776.         local Character = z.Character
  7777.         local newName = Instance.new("Model", z.Character)
  7778.         newName.Name = nameInp.Text
  7779.         local cl = Character:WaitForChild("Head"):Clone()
  7780.         cl.Parent = newName
  7781.         cl:WaitForChild("face"):Destroy()
  7782.         local hum = Instance.new("Humanoid", newName)
  7783.         hum.Name = "NameTag"
  7784.         hum.MaxHealth = 0
  7785.         hum.Health = 0
  7786.         local weld = Instance.new("Weld", cl)
  7787.         weld.Part0 = cl
  7788.         weld.Part1 = Character:WaitForChild("Head")
  7789.         Character:WaitForChild("Head").Transparency = 1
  7790.         wait(.5)
  7791.         cl.BrickColor = Character:WaitForChild("Head").BrickColor
  7792.     end)
  7793. end)
  7794. nameInp = plrwin:drawTextBox(2/3, '')
  7795. local chatInp
  7796. plrwin:drawButton(1/3, 'Chat', function()
  7797.     tk.dp(cval, function(z)
  7798.         game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
  7799.     end)
  7800. end)
  7801. chatInp = plrwin:drawTextBox(2/3, '')
  7802. local disgInp
  7803. plrwin:drawButton(1/3, 'Disguise', function()
  7804.     tk.dp(cval, function(p)
  7805.         local id = 0
  7806.         if tonumber(disgInp.Text) then
  7807.             id = tonumber(disgInp.Text)
  7808.         else
  7809.             id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
  7810.         end
  7811.         if p.Character:FindFirstChild("Humanoid") then
  7812.             p.Character.Humanoid.Health = 0
  7813.         end
  7814.         p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  7815.     end)
  7816. end)
  7817. disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
  7818. plrwin:addSpacing()
  7819. clrR = plrwin:drawTextBox(1/3, '0')
  7820. clrG = plrwin:drawTextBox(1/3, '0')
  7821. clrB = plrwin:drawTextBox(1/3, '0')
  7822. function getColor()
  7823.     local r = tonumber(clrR.Text)
  7824.     local g = tonumber(clrG.Text)
  7825.     local b = tonumber(clrB.Text)
  7826.     if not (r and g and b) then return Color3.new(0,0,0) end
  7827.     return Color3.new(r/255, g/255, b/255)
  7828. end
  7829. plrwin:drawButton(1/3, 'Sparkles', function()
  7830.     tk.dp(cval, function(z)
  7831.         Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
  7832.     end)
  7833. end)
  7834. plrwin:drawButton(1/3, 'Smoke', function()
  7835.     tk.dp(cval, function(z)
  7836.         Instance.new("Smoke", tk.gt(z)).Color = getColor()
  7837.  
  7838.     end)
  7839. end)
  7840. plrwin:drawButton(1/3, 'Fire', function()
  7841.     tk.dp(cval, function(z)
  7842.         local fr = Instance.new("Fire", tk.gt(z))
  7843.         fr.Color = getColor()
  7844.         fr.Heat = 30
  7845.         fr.Size = 20
  7846.     end)
  7847. end)
  7848. plrwin:drawButton(1/3, 'Forcefield', function()
  7849.     tk.dp(cval, function(z)
  7850.         if z.Character then
  7851.             Instance.new("ForceField", z.Character)
  7852.         end
  7853.     end)
  7854. end)
  7855. plrwin:drawButton(1/3, 'Select', function()
  7856.     tk.dp(cval, function(z)
  7857.         if z.Character and tk.gt(z) then
  7858.             Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
  7859.         end
  7860.     end)
  7861. end)
  7862. plrwin:drawButton(1/3, 'Sphere', function()
  7863.     tk.dp(cval, function(z)
  7864.         if z.Character and tk.gt(z) then
  7865.             Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
  7866.         end
  7867.     end)
  7868. end)
  7869. plrwin:drawButton(1/3, 'Fling', function()
  7870.     tk.dp(cval, function(z)
  7871.         spawn(function() --kohls admin commands lol
  7872.             if z.Character and tk.gt(z) then
  7873.                 local xran, zran
  7874.                 repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
  7875.                 repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
  7876.                 z.Character.Humanoid.Sit = true
  7877.                 tk.gt(z).Velocity = Vector3.new(0,0,0)
  7878.                 local frc = Instance.new("BodyForce", tk.gt(z))
  7879.                 frc.Name = "BFRC"
  7880.                 frc.force = Vector3.new(xran*4,9999*5,zran*4)
  7881.                 game:GetService("Debris"):AddItem(frc, 0.1)
  7882.             end
  7883.         end)
  7884.     end)
  7885. end)
  7886. plrwin:drawButton(1/3, 'Explode', function()
  7887.     tk.dp(cval, function(z)
  7888.         if z.Character and tk.gt(z) then
  7889.             local explosion = Instance.new("Explosion")
  7890.             explosion.Position = tk.gt(z).Position
  7891.             explosion.Parent = workspace
  7892.         end
  7893.     end)
  7894. end)
  7895. plrwin:drawButton(1/3, 'Nuke', function()
  7896.     tk.dp(cval, function(z)
  7897.         if z.Character and tk.gt(z) then
  7898.             local torso = tk.gt(z)
  7899.             local nuke = Instance.new("Part", game.Workspace)
  7900.             local opos = torso.CFrame
  7901.             nuke.BrickColor = BrickColor.new("Bright yellow")
  7902.             nuke.TopSurface = Enum.SurfaceType.Smooth
  7903.             nuke.BottomSurface = Enum.SurfaceType.Smooth
  7904.             nuke.Anchored = true
  7905.             nuke.CanCollide = false
  7906.             nuke.Shape = "Ball"            
  7907.             nuke.Transparency = 0.5
  7908.             nuke.CFrame = torso.CFrame     
  7909.             nuke.Size = Vector3.new(1, 1, 1)
  7910.             nuke.Touched:connect(function(p)
  7911.                 local expl = Instance.new("Explosion", p)
  7912.                 expl.BlastPressure = 50000
  7913.                 expl.BlastRadius = 50
  7914.                 expl.Position = p.Position
  7915.                 p.Material = Enum.Material.CorrodedMetal
  7916.                 p:BreakJoints()
  7917.             end)
  7918.             for i = 1, 150 do
  7919.                 nuke.Size = Vector3.new(i, i, i)
  7920.                 nuke.CFrame = opos
  7921.                 wait(0.08)
  7922.             end
  7923.             nuke:Destroy()
  7924.         end
  7925.     end)
  7926. end)
  7927. plrwin:drawButton(1/3, 'No Tools', function()
  7928.     tk.dp(cval, function(p)
  7929.         for _, t in pairs(p.Backpack:GetChildren()) do
  7930.             t:Destroy()
  7931.         end
  7932.     end)
  7933. end)
  7934. plrwin:drawButton(1/3, 'Take Tools', function()
  7935.     tk.dp(cval, function(p)
  7936.         for _, t in pairs(p.Backpack:GetChildren()) do
  7937.             t.Parent = game:service'Players'.LocalPlayer.Backpack
  7938.         end
  7939.     end)
  7940. end)
  7941. plrwin:drawButton(1/3, 'BTools', function()
  7942.     tk.dp(cval, function(p)
  7943.         local a = Instance.new("HopperBin")
  7944.         a.BinType = "GameTool"
  7945.         a.Parent = p.Backpack
  7946.         local a = Instance.new("HopperBin")
  7947.         a.BinType = "Clone"
  7948.         a.Parent = p.Backpack
  7949.         local a = Instance.new("HopperBin")
  7950.         a.BinType = "Hammer"
  7951.         a.Parent = p.Backpack
  7952.     end)
  7953. end)
  7954. plrwin:drawButton(1/3, 'Hotdog', function()
  7955.     tk.dp(cval, function(p)
  7956.         if p.Character and tk.gt(p) then
  7957.             topkek.tools.util.weenieHutJunior(p)
  7958.         end
  7959.     end)
  7960. end)
  7961. plrwin:drawButton(1/3, 'Quicksand', function()
  7962.     tk.dp(cval, function(z)
  7963.         if z.Character and z.Character:FindFirstChild("Humanoid") then
  7964.             local tor = tk.gt(z)
  7965.             local hole = Instance.new("Part", z.Character)
  7966.             hole.Anchored = true
  7967.             hole.Name = "Hole"
  7968.             hole.FormFactor = Enum.FormFactor.Custom
  7969.             hole.Size = Vector3.new(7, 1, 7)
  7970.             hole.CanCollide = false
  7971.             hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
  7972.             hole.BrickColor = BrickColor.new("Cool yellow")
  7973.             hole.Material = Enum.Material.Sand
  7974.             local hm = Instance.new("CylinderMesh", hole)
  7975.             tor.Anchored = true
  7976.             if z.Character:FindFirstChild("Humanoid") then
  7977.                 z.Character.Humanoid.Jump = true
  7978.             end
  7979.             for x,m in pairs(z.Character:GetChildren()) do
  7980.                 if m:IsA("BasePart") or m:IsA("MeshPart") then
  7981.                     m.CanCollide = false
  7982.                 end
  7983.             end
  7984.             for i=1,75 do
  7985.                 tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  7986.                 wait(0.06)
  7987.             end
  7988.             tor.CFrame=tor.CFrame*CFrame.new(0,
  7989.                 -500,0
  7990.             )
  7991.             z.Character.Humanoid.Health = 0
  7992.         end
  7993.     end)
  7994. end)
  7995. plrwin:drawButton(1/3, 'Insane', function()
  7996.     tk.dp(cval, function(p)
  7997.         if p.Character and tk.gt(p) then
  7998.             for i,v in pairs(tk.gt(p):GetChildren()) do
  7999.                 if v:IsA("Motor6D") then
  8000.                     spawn(function()
  8001.                         while v do
  8002.                             v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  8003.                             wait()
  8004.                         end
  8005.                     end)
  8006.                 end
  8007.             end
  8008.         end
  8009.     end)
  8010. end)
  8011. plrwin:drawButton(1/3, 'Invisible', function()
  8012.     tk.dp(cval, function(p)
  8013.         tk.rco(p.Character, 'BasePart', 'Transparency', 1)
  8014.         tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
  8015.     end)
  8016. end)
  8017. plrwin:drawButton(1/3, 'Visible', function()
  8018.     tk.dp(cval, function(p)
  8019.         tk.rco(p.Character, 'BasePart', 'Transparency', 0)
  8020.         tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
  8021.     end)
  8022. end)
  8023. plrwin:drawButton(1/3, 'Bighead', function()
  8024.     tk.dp(cval, function(z)
  8025.         if z.Character then
  8026.             if z.Character:FindFirstChild('Head') then
  8027.                 z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
  8028.             end
  8029.         end
  8030.     end)
  8031. end)
  8032. plrwin:drawButton(1/3, 'Goldify', function()
  8033.     tk.dp(cval, function(z)
  8034.         if z.Character then
  8035.             tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
  8036.             tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
  8037.             tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
  8038.             tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
  8039.         end
  8040.     end)
  8041. end)
  8042. plrwin:drawButton(1/3, 'Neon', function()
  8043.     tk.dp(cval, function(z)
  8044.         if z.Character then
  8045.             tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
  8046.             tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
  8047.         end
  8048.     end)
  8049. end)
  8050. plrwin:drawButton(1/3, 'Shiny', function()
  8051.     tk.dp(cval, function(z)
  8052.         if z.Character then
  8053.             tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
  8054.             tk.rcm(z.Character, 'MeshPart')
  8055.         end
  8056.     end)
  8057. end)
  8058. plrwin:drawButton(1/3, 'Shrek', function()
  8059.     tk.dp(cval, function(z)
  8060.         if z.Character then
  8061.             local pchar = z.Character
  8062.             for i,v in pairs(pchar:GetChildren()) do
  8063.                 if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  8064.                     v:Destroy()
  8065.                 end
  8066.             end
  8067.             for i,v in pairs(pchar.Head:GetChildren()) do
  8068.                 if v:IsA("Decal") or v:IsA("SpecialMesh") then
  8069.                     v:Destroy()
  8070.                 end
  8071.             end
  8072.            
  8073.             local mesh = Instance.new("SpecialMesh", pchar.Head)
  8074.             mesh.MeshType = "FileMesh"
  8075.             pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  8076.             pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  8077.             pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  8078.            
  8079.             local Shirt = Instance.new("Shirt", z.Character)
  8080.             local Pants = Instance.new("Pants", z.Character)
  8081.            
  8082.             Shirt.ShirtTemplate = "rbxassetid://133078194"
  8083.             Pants.PantsTemplate = "rbxassetid://133078204"
  8084.         end
  8085.     end)
  8086. end)
  8087. plrwin:drawButton(1/3, 'Duck', function()
  8088.     tk.dp(cval, function(z)
  8089.         if z.Character then
  8090.             local pchar = z.Character
  8091.             for i,v in pairs(pchar:GetChildren()) do
  8092.                 if v:IsA("Hat") or v:IsA("Accessory") then
  8093.                     v:Destroy()
  8094.                 end
  8095.             end
  8096.             local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
  8097.             duck.MeshType = "FileMesh"
  8098.             duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  8099.             duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  8100.             duck.Scale = Vector3.new(5, 5, 5)
  8101.             tk.rco(z.Character, 'Instance', 'Transparency', 1)
  8102.             z.Character.HumanoidRootPart.Transparency = 0
  8103.         end
  8104.     end)
  8105. end)
  8106. plrwin:drawButton(1/3, 'Spheres', function()
  8107.     tk.dp(cval, function(z)
  8108.         if z.Character then
  8109.             tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
  8110.         end
  8111.     end)
  8112. end)
  8113. plrwin:drawButton(1/3, 'Big', function()
  8114.     tk.dp(cval, function(z)
  8115.         if z.Character then
  8116.             topkek.tools.util.scalePlayer(5, z)
  8117.         end
  8118.     end)
  8119. end)
  8120. plrwin:drawButton(1/3, 'Small', function()
  8121.     tk.dp(cval, function(z)
  8122.         if z.Character then
  8123.             topkek.tools.util.scalePlayer(5, z)
  8124.         end
  8125.     end)
  8126. end)
  8127. plrwin:drawButton(1/3, 'Giraffe', function()
  8128.     tk.dp(cval, function(z)
  8129.         if z.Character then
  8130.             local char=z.Character
  8131.             local h=char.Head
  8132.             local tor=char:FindFirstChild("Torso")
  8133.             if not tor then return end
  8134.             tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  8135.             local fn=Instance.new("Part",char)
  8136.             fn.Size=Vector3.new(1,5.5,1)
  8137.             fn.Name="FakeNeck"
  8138.             fn.Anchored=false
  8139.             fn.CanCollide=false
  8140.             if char:FindFirstChild("Body Colors") then
  8141.                 fn.BrickColor=char["Body Colors"].HeadColor
  8142.             end
  8143.             local cm=Instance.new("CylinderMesh",fn)
  8144.             local we=Instance.new("Weld",h)
  8145.             we.Part0=h
  8146.             we.Part1=fn
  8147.             we.C1=we.C1*CFrame.new(0,2.6,0)
  8148.         end
  8149.     end)
  8150. end)
  8151. plrwin:drawButton(1/3, 'Dab', function()
  8152.     tk.dp(cval, function(z)
  8153.         if z.Character and z.Character:FindFirstChild("Torso") then
  8154.             local chr = z.Character
  8155.             chr.Animate.Disabled = true
  8156.             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)
  8157.             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)
  8158.             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)
  8159.         end
  8160.     end)
  8161. end)
  8162. plrwin:drawButton(1/3, 'Force Follow', function()
  8163.     tk.dp(cval, function(z)
  8164.         game:GetService("RunService"):BindToRenderStep("_", 0, function()
  8165.             z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
  8166.         end)
  8167.     end)
  8168. end)
  8169. plrwin:drawButton(1/3, 'Camlock', function()
  8170.     tk.dp(cval, function(z)
  8171.         z.CameraMode = "LockFirstPerson"
  8172.     end)
  8173. end)
  8174. --// SERVER //--
  8175. local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
  8176. local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
  8177. detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
  8178. detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
  8179. detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
  8180. --detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
  8181. servwin:drawButton(1/2, 'Shutdown', function()
  8182.     workspace.Gravity = 0/0
  8183. end)
  8184. servwin:drawButton(1/2, 'Clear', function()
  8185.     for i,v in pairs(game:service'Workspace':GetChildren()) do
  8186.         if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  8187.             v:Destroy()
  8188.         end
  8189.     end
  8190. end)
  8191. servwin:drawButton(1/2, 'Baseplate', function()
  8192.     for X = -2500, 2500, 512 do
  8193.         for Z = -2500, 2500, 512 do
  8194.             local P = Instance.new("Part")
  8195.             P.Anchored = true
  8196.             P.Locked = true
  8197.             P.Size = Vector3.new(512,3,512)
  8198.             P.CFrame = CFrame.new(X,0,Z)
  8199.             P.BrickColor = BrickColor.Green()
  8200.             P.Parent = game:service'Workspace'
  8201.         end
  8202.     end
  8203. end)
  8204. servwin:drawButton(1/2, 'Reset', function()
  8205.     for i,v in pairs(game:service'Workspace':GetChildren()) do
  8206.         if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  8207.             v:Destroy()
  8208.         end
  8209.     end
  8210.     for X = -2500, 2500, 512 do
  8211.         for Z = -2500, 2500, 512 do
  8212.             local P = Instance.new("Part")
  8213.             P.Anchored = true
  8214.             P.Locked = true
  8215.             P.Size = Vector3.new(512,3,512)
  8216.             P.CFrame = CFrame.new(X,0,Z)
  8217.             P.BrickColor = BrickColor.Green()
  8218.             P.Parent = game:service'Workspace'
  8219.         end
  8220.     end
  8221.     for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  8222.         local a1 = Instance.new("Model", game:service'Workspace')
  8223.         local a2 = Instance.new("Part", game:service'Workspace')
  8224.         a2.CanCollide = true
  8225.         a2.Anchored = true
  8226.         a2.CFrame = CFrame.new(10000, 10000, 10000)
  8227.         a2.Name = "Torso"
  8228.         local a3 = Instance.new("Humanoid", a1)
  8229.         a3.MaxHealth=100;a3.Health=100
  8230.         v.Character = a1
  8231.         a3.Health=0
  8232.     end
  8233. end)
  8234. servwin:drawButton(1, 'Remove Sounds', function()
  8235.     tk.rcm(game, 'Sound')
  8236. end)
  8237. servwin:addSpacing()
  8238. servwin:drawButton(1, 'Break All', function()
  8239.     workspace:BreakJoints(workspace:GetChildren())
  8240. end)
  8241. local gravInp
  8242. servwin:drawButton(1/3, 'Gravity', function()
  8243.     if not tonumber(gravInp.Text) then return end
  8244.     workspace.Gravity = tonumber(gravInp.Text)
  8245. end)
  8246. gravInp = servwin:drawTextBox(2/3, '')
  8247. servwin:addSpacing()
  8248. servwin:drawButton(1, 'Reset Lighting', function()
  8249.     local l = game:service'Lighting'
  8250.     l.Ambient = Color3.new(0, 0, 0)
  8251.     l.Brightness = 1
  8252.     l.GlobalShadows = true
  8253.     l.Outlines = true
  8254.     l.FogEnd = 100000
  8255.     l.FogStart = 0
  8256.     l:SetMinutesAfterMidnight(12*60)
  8257. end)
  8258. local brightInp
  8259. servwin:drawButton(1/3, 'Brightness', function()
  8260.     if not tonumber(brightInp.Text) then return end
  8261.     game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
  8262. end)
  8263. brightInp = servwin:drawTextBox(2/3, '100')
  8264. local fogInp
  8265. servwin:drawButton(1/3, 'Fog', function()
  8266.     if not tonumber(fogInp.Text) then return end
  8267.     game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
  8268. end)
  8269. fogInp = servwin:drawTextBox(2/3, '0')
  8270. local timeInp
  8271. servwin:drawButton(1/3, 'Hour', function()
  8272.     if not tonumber(timeInp.Text) then return end
  8273.     game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
  8274. end)
  8275. timeInp = servwin:drawTextBox(2/3, '12')
  8276. servwin:addSpacing()
  8277. -- private server crap
  8278. local privateToggle
  8279. local privStatus = false
  8280. privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
  8281.     if privStatus == false then
  8282.         privStatus = true
  8283.         privateToggle.Text = 'Private Server ON'
  8284.         topkek.banmgr.makePrivate()
  8285.     else
  8286.         privateToggle.Text = 'Private Server OFF'
  8287.         topkek.banmgr.unprivate()
  8288.     end
  8289. end)
  8290. servwin:addSpacing()
  8291. servwin:drawText(1, 'Whitelist')
  8292. local plrAddInp
  8293. servwin:drawButton(1/3, 'Add', function()
  8294.     topkek.banmgr.doWhitelist(plrAddInp.Text)
  8295.     ReorderWL()
  8296. end)
  8297. plrAddInp = servwin:drawTextBox(2/3, '')
  8298. wlCont = servwin:drawScrollingContainer(100)
  8299. function ReorderWL()
  8300.     local wl = topkek.banmgr.whitelist
  8301.     for i,v in pairs(wlCont:GetChildren()) do
  8302.         v:Destroy()
  8303.     end
  8304.     wlCont:setDrawY(3)
  8305.     for i,v in pairs(wl) do
  8306.         wlCont:drawText(2/3, v)
  8307.         wlCont:drawButton(1/3, 'Remove', function()
  8308.             topkek.banmgr.unwhitelist(v)
  8309.             ReorderWL()
  8310.         end)
  8311.     end
  8312. end
  8313. ReorderWL()
  8314. --// LOCALPLAYER //--
  8315. local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
  8316. lpwin:drawButton(1, 'Reset Camera', function()
  8317.     game.Workspace.CurrentCamera:remove()
  8318.     wait(.1)
  8319.     game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or
  8320.         game.Workspace[topkek.lplr.Name].Humanoid
  8321.     game.Workspace.CurrentCamera.CameraType = "Custom"
  8322. end)
  8323. lpwin:drawButton(1, 'Respawn', function()
  8324.     local a1 = Instance.new("Model", game:service'Workspace')
  8325.     local a2 = Instance.new("Part", game:service'Workspace')
  8326.     a2.CanCollide = true
  8327.     a2.Anchored = true
  8328.     a2.CFrame = CFrame.new(10000, 10000, 10000)
  8329.     a2.Name = "Torso"
  8330.     local a3 = Instance.new("Humanoid", a1)
  8331.     a3.MaxHealth=100;a3.Health=100
  8332.     topkek.lplr.Character = a1
  8333.     a3.Health=0
  8334. end)
  8335. lpwin:drawButton(1, 'Rejoin', function()
  8336.     game:GetService('TeleportService'):Teleport(game.PlaceId)
  8337. end)
  8338. lpwin:addSpacing()
  8339. lpwin:drawButton(1/2, 'God', function()
  8340.     if topkek.lplr.Character:FindFirstChild("Humanoid") then
  8341.         topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  8342.         topkek.lplr.Character.Humanoid.Health = math.huge
  8343.     end
  8344. end)
  8345. lpwin:drawButton(1/2, 'Semigod', function()
  8346.     if topkek.lplr.Character:FindFirstChild("Humanoid") then
  8347.         topkek.lplr.Character.Humanoid.MaxHealth = 9e9
  8348.         topkek.lplr.Character.Humanoid.Health = 9e9
  8349.     end
  8350. end)
  8351. Loopgod = false
  8352. lpwin:drawButton(1, 'Loopgod', function()
  8353.     if Loopgod == false then
  8354.         Loopgod = true
  8355.         spawn(function()
  8356.             repeat
  8357.                 topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  8358.                 topkek.lplr.Character.Humanoid.Health = math.huge
  8359.                 wait()
  8360.             until Loopgod == false
  8361.         end)   
  8362.     else
  8363.         Loopgod = false
  8364.     end
  8365. end)
  8366. lpwin:addSpacing()
  8367. plrwin:addSpacing()
  8368. local Lev, Clip, Fly
  8369. lpwin:drawButton(1/2, 'Levitate', function()
  8370.     if Lev == true then
  8371.         Lev = false
  8372.         return
  8373.     end
  8374.     Lev = true
  8375.     repeat
  8376.         topkek.lplr.Character.Humanoid:ChangeState(10)
  8377.         wait(0)
  8378.     until Lev == false
  8379. end)
  8380. lpwin:drawButton(1/2, 'Noclip', function()
  8381.     if Clip == true then
  8382.         Clip = false
  8383.         return
  8384.     end
  8385.     Clip = true
  8386.     game:GetService("RunService").Stepped:connect(function()
  8387.         tk.gt(topkek.lplr).CanCollide = not Clip
  8388.         topkek.lplr.Character.Head.CanCollide = not Clip
  8389.         topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  8390.         if topkek.lplr.Character.UpperTorso then
  8391.             topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  8392.         end
  8393.     end)
  8394.     topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
  8395.         tk.gt(topkek.lplr).CanCollide = not Clip
  8396.         topkek.lplr.Character.Head.CanCollide = not Clip
  8397.         topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  8398.         if topkek.lplr.Character.UpperTorso then
  8399.             topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  8400.         end
  8401.     end)
  8402. end)
  8403. lpwin:drawButton(1/2, 'Fly', function()
  8404.     if Fly == true then
  8405.         Fly = false
  8406.         return
  8407.     end
  8408.     Fly = true
  8409.   local mouse=game.Players.LocalPlayer:GetMouse''
  8410.   localplayer=game.Players.LocalPlayer
  8411.   game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  8412.   local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  8413.   local speed=0
  8414.   local keys={a=false,d=false,w=false,s=false}
  8415.   local e1
  8416.   local e2
  8417.   local function start()
  8418.    local pos = Instance.new("BodyPosition",torso)
  8419.    local gyro = Instance.new("BodyGyro",torso)
  8420.    pos.Name="EPIXPOS"
  8421.    pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  8422.    pos.position = torso.Position
  8423.    gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  8424.    gyro.cframe = torso.CFrame
  8425.    repeat
  8426.     wait()
  8427.     localplayer.Character.Humanoid.PlatformStand=true
  8428.     local new=gyro.cframe - gyro.cframe.p + pos.position
  8429.     if not keys.w and not keys.s and not keys.a and not keys.d then
  8430.      speed=1
  8431.     end
  8432.     if keys.w then
  8433.      new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  8434.      speed=speed+0.01
  8435.     end
  8436.     if keys.s then
  8437.      new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  8438.      speed=speed+0.01
  8439.     end
  8440.     if keys.d then
  8441.      new = new * CFrame.new(speed,0,0)
  8442.      speed=speed+0.01
  8443.     end
  8444.     if keys.a then
  8445.      new = new * CFrame.new(-speed,0,0)
  8446.      speed=speed+0.01
  8447.     end
  8448.     if speed>5 then
  8449.      speed=5
  8450.     end
  8451.     pos.position=new.p
  8452.     if keys.w then
  8453.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  8454.     elseif keys.s then
  8455.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  8456.     else
  8457.      gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  8458.     end
  8459.    until not Fly
  8460.    if gyro then gyro:Destroy() end
  8461.    if pos then pos:Destroy() end
  8462.    flying=false
  8463.    localplayer.Character.Humanoid.PlatformStand=false
  8464.    speed=0
  8465.   end
  8466.   e1=mouse.KeyDown:connect(function(key)
  8467.    if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  8468.    if key=="w" then
  8469.     keys.w=true
  8470.    elseif key=="s" then
  8471.     keys.s=true
  8472.    elseif key=="a" then
  8473.     keys.a=true
  8474.    elseif key=="d" then
  8475.     keys.d=true
  8476.    end
  8477.   end)
  8478.   e2=mouse.KeyUp:connect(function(key)
  8479.    if key=="w" then
  8480.     keys.w=false
  8481.    elseif key=="s" then
  8482.     keys.s=false
  8483.    elseif key=="a" then
  8484.     keys.a=false
  8485.    elseif key=="d" then
  8486.     keys.d=false
  8487.    end
  8488.   end)
  8489.   start()
  8490. end)
  8491. lpwin:drawButton(1/2, 'Highjump', function()
  8492.     local thrust = Instance.new("BodyVelocity")
  8493.     game:GetService('UserInputService').InputBegan:connect(function(i, b)
  8494.         if i.KeyCode == Enum.KeyCode.Space then
  8495.             print("Got jump")
  8496.             coroutine.resume(coroutine.create(function()
  8497.                 thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  8498.                 thrust.velocity = Vector3.new(0,50,0)
  8499.                 thrust.maxForce = Vector3.new(0,4e+050,0)
  8500.                 wait(0.2)
  8501.                 thrust.Parent = nil
  8502.             end))
  8503.         end
  8504.     end)
  8505. end)
  8506. lpwin:addSpacing()
  8507. local apprInp
  8508. lpwin:drawButton(1/3, 'Appearance', function()
  8509.     local id = 0
  8510.     if tonumber(apprInp.Text) then
  8511.         id = tonumber(apprInp.Text)
  8512.     else
  8513.         id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
  8514.     end
  8515.     if topkek.lplr.Character:FindFirstChild("Humanoid") then
  8516.         topkek.lplr.Character.Humanoid.Health = 0
  8517.     end
  8518.     topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  8519. end)
  8520. apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
  8521. local teamInp
  8522. lpwin:drawButton(1/3, 'Team', function()
  8523.     topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
  8524. end)
  8525. teamInp = lpwin:drawTextBox(2/3, 'Bright red')
  8526. lpwin:drawButton(1/2, 'Naked', function()
  8527.     topkek.lplr:ClearCharacterAppearance()
  8528. end)
  8529. lpwin:drawButton(1/2, 'Neutral', function()
  8530.     topkek.lplr.Neutral = true
  8531. end)
  8532. lpwin:addSpacing()
  8533. lpwin:drawButton(1/2, 'Orb', function()
  8534.     game.Players.LocalPlayer.Character = nil
  8535.     --lp:Destroy()
  8536.     local cam = game.Workspace.CurrentCamera
  8537.     local m = Instance.new("Model", game.Workspace)
  8538.     m.Name = game.Players.LocalPlayer.Name
  8539.     local hum = Instance.new("Humanoid", m)
  8540.     hum.Health = 0
  8541.     hum.MaxHealth = 0
  8542.     local orb = Instance.new("Part", m)
  8543.     orb.Size = Vector3.new(1, 1, 1)
  8544.     orb.Shape = "Ball"
  8545.     orb.Name = "Head"
  8546.     orb.Anchored = true
  8547.     orb.CanCollide = true
  8548.     orb.BottomSurface = Enum.SurfaceType.Smooth
  8549.     orb.TopSurface = Enum.SurfaceType.Smooth
  8550.     orb.Transparency = 0
  8551.     spawn(function()
  8552.         while true do
  8553.             wait(0.1)
  8554.             if orb then
  8555.                 orb.BrickColor = BrickColor.Random()
  8556.             else break end
  8557.         end
  8558.     end)
  8559.     cam.CameraSubject = orb
  8560.     cam.CameraType = Enum.CameraType.Fixed
  8561.     game:GetService("RunService").RenderStepped:connect(function()
  8562.         orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  8563.     end)
  8564.     game.Players.LocalPlayer.Chatted:connect(function(a)
  8565.         game:GetService("Chat"):Chat(orb, a)
  8566.     end)
  8567. end)
  8568. lpwin:drawButton(1/2, 'Freecam', function()
  8569.     local cam = game.Workspace.CurrentCamera
  8570.     cam.CameraType = "Fixed"
  8571.     cam.CameraSubject = nil
  8572.     topkek.lplr.Character = nil
  8573. end)
  8574. lpwin:drawButton(1/2, 'NoGrav', function()
  8575.     if topkek.lplr.Character then
  8576.         for x,m in pairs(topkek.lplr.Character:GetChildren()) do
  8577.             if m:IsA("BasePart") then
  8578.                 local bf = Instance.new("BodyForce", m)
  8579.                 bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  8580.             end
  8581.             if m:IsA("Hat") or m:IsA("Accessory") then
  8582.                 if m:findFirstChild("Handle") then
  8583.                     local bf = Instance.new("BodyForce", m.Handle)
  8584.                     bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  8585.                 end
  8586.             end
  8587.         end
  8588.     end
  8589. end)
  8590. lpwin:drawButton(1/2, 'Trowel', function()
  8591.     topkek.tools.util.trowel()
  8592. end)
  8593. lpwin:addSpacing()
  8594. lpwin:drawButton(1/2, 'Fedora', function()
  8595.     local hats={
  8596.         98346834,
  8597.         215751161,
  8598.         119916949,
  8599.         72082328,
  8600.         147180077,
  8601.         100929604,
  8602.         63043890,
  8603.         1285307,
  8604.         1029025,
  8605.         334663683,
  8606.         259423244
  8607.     }
  8608.     game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
  8609. end)
  8610. lpwin:drawButton(1/2, 'Rainbow Name', function()
  8611.     topkek.lplr.Neutral = false
  8612.     repeat
  8613.         wait()
  8614.         topkek.lplr.TeamColor = BrickColor.Random()
  8615.     until not topkek.lplr.Character.Humanoid
  8616. end)
  8617. local tagInp
  8618. lpwin:drawButton(1/3, 'Tag', function()
  8619.     local len = 10
  8620.     local bb = Instance.new("BillboardGui")
  8621.     bb.Parent = topkek.lplr.Character.Head
  8622.     bb.Adornee = topkek.lplr.Character.Head
  8623.     bb.AlwaysOnTop = true
  8624.     bb.Enabled = true
  8625.     bb.Size = UDim2.new(len, 0, 1.5, 0)
  8626.     bb.Name = "tag"
  8627.     bb.StudsOffset = Vector3.new(0, 3, 0)
  8628.     --local fr = Instance.new("Frame")
  8629.     --fr.Parent = bb
  8630.     --fr.Size = UDim2.new(1, 0, 1, 0)
  8631.     --fr.Style = Enum.FrameStyle.RobloxRound
  8632.     local tl = Instance.new("TextLabel")
  8633.     tl.Parent = bb
  8634.     tl.Font = Enum.Font.Code
  8635.     tl.BackgroundTransparency = 1
  8636.     tl.TextScaled = true
  8637.     tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  8638.     tl.Size = UDim2.new(1, 0, 1, 0)
  8639.     tl.Text = tagInp.Text
  8640.     tl.Name = "trutag"
  8641.     tl.Visible = true
  8642.     tl.ZIndex = 2
  8643. end)
  8644. tagInp = lpwin:drawTextBox(2/3, '')
  8645. --// SCRIPTS //--
  8646. --local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
  8647. --local search = scriptwin:drawTextBox(1,'')
  8648. --local origy = scriptwin:getDrawY()
  8649. --scriptwin:addSpacing()
  8650. --scriptwin:addSpacing()
  8651. --local scripts = game:GetObjects("rbxassetid://376553985")[1]
  8652. --local container = {}
  8653. --function MakeList(condition)
  8654. --  for i,v in pairs(scriptwin:GetChildren()) do
  8655.     --  if v.Name == "Script" then
  8656.     --      v:Destroy()
  8657.     --  end
  8658. --  end
  8659.     --scriptwin:setDrawY(origy)
  8660.     --for i, v in pairs(scripts:GetChildren()) do
  8661.     --  if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
  8662.         --  local scr = scriptwin:drawButton(1, v.Name, function()
  8663.     --          spawn(function() loadstring(v.Source)() end)
  8664.     --      end, 25)
  8665.     --      scr.Name = 'Script'
  8666.     --  end
  8667. --  end
  8668. --end
  8669. --game:GetService("UserInputService").InputChanged:connect(function(inp)
  8670. --  if inp.UserInputType == Enum.UserInputType.TextInput then
  8671.     --  if search:IsFocused() then
  8672.     --      MakeList(search.Text)
  8673.     --  end
  8674.     --end
  8675. --end)
  8676. --MakeList('')
  8677. --// DESTRUCTION // --
  8678. local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
  8679. local decals, seldec = destwin:drawScrollingContainer(100)
  8680. seldec = destwin:drawText(1, 'Selected Decal: None')
  8681. cursel = nil
  8682. local decs = {
  8683.     {'Rain', '574772793'},
  8684.     {'Robbie', '574773630'},
  8685.     {'Pepe', '244905904'},
  8686.     {'Troll Face', '48308661'},
  8687.     {'Jeff', '109129888'},
  8688.     {'Shrek', '170539018'},
  8689.     {'Doge', '133720697'},
  8690.     {'Dat Boi', '409578848'},
  8691. }
  8692. for _, v in pairs(decs) do
  8693.     local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
  8694.     topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  8695. end
  8696. destwin:drawButton(1, 'Spam Decal', function()
  8697.     if cursel ~= nil then
  8698.         topkek.tools.util.recurseDecal(tonumber(cursel))
  8699.     end
  8700. end)
  8701. destwin:drawButton(1, 'Spam Particles', function()
  8702.     if cursel ~= nil then
  8703.         topkek.tools.util.recurseParticles(tonumber(cursel))
  8704.     end
  8705. end)
  8706. destwin:drawButton(1, 'Spam Both', function()
  8707.     if cursel ~= nil then
  8708.         topkek.tools.util.recurseUltimate(tonumber(cursel))
  8709.     end
  8710. end)
  8711. destwin:drawButton(1, 'Rollback', function()
  8712.     tk.rcm(workspace, 'Decal')
  8713.     tk.rcm(workspace, 'ParticleEmitter')
  8714. end)
  8715. destwin:addSpacing()
  8716. destwin:drawButton(1, '666', function()
  8717.     for i,v in next,workspace:children''do
  8718.         if(v:IsA'BasePart')then
  8719.         me=v;
  8720.         bbg=Instance.new('BillboardGui',me);
  8721.         bbg.Name='stuf';
  8722.         bbg.Adornee=me;
  8723.         bbg.Size=UDim2.new(2.5,0,2.5,0)
  8724.         --bbg.StudsOffset=Vector3.new(0,2,0)
  8725.         tlb=Instance.new'TextLabel';
  8726.         tlb.Text='666 666 666 666 666 666';
  8727.         tlb.Font='SourceSansBold';
  8728.         tlb.FontSize='Size48';
  8729.         tlb.TextColor3=Color3.new(1,0,0);
  8730.         tlb.Size=UDim2.new(1.25,0,1.25,0);
  8731.         tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  8732.         tlb.BackgroundTransparency=1;
  8733.         tlb.Parent=bbg;
  8734.         end;end;
  8735.         --coroutine.wrap(function()while wait''do
  8736.           s=Instance.new'Sound';
  8737.           s.Parent=workspace;
  8738.           s.SoundId='rbxassetid://152840862';
  8739.           s.Pitch=1;
  8740.           s.Volume=1;
  8741.           s.Looped=true;
  8742.           s:play();
  8743.           --end;end)();
  8744.           function xds(dd)
  8745.             for i,v in next,dd:children''do
  8746.               if(v:IsA'BasePart')then
  8747.                 v.BrickColor=BrickColor.new'Really black';
  8748.                 v.TopSurface='Smooth';
  8749.                 v.BottomSurface='Smooth';
  8750.                 s=Instance.new('SelectionBox',v);
  8751.                 s.Adornee=v;
  8752.                 s.Color=BrickColor.new'Really red';
  8753.                 a=Instance.new('PointLight',v);
  8754.                 a.Color=Color3.new(1,0,0);
  8755.                 a.Range=15;
  8756.                 a.Brightness=5;
  8757.                 f=Instance.new('Fire',v);
  8758.                 f.Size=19;
  8759.                 f.Heat=22;
  8760.                 end;
  8761.                 game.Lighting.TimeOfDay=0;
  8762.                 game.Lighting.Brightness=0;
  8763.                 game.Lighting.ShadowColor=Color3.new(0,0,0);
  8764.                 game.Lighting.Ambient=Color3.new(1,0,0);
  8765.                 game.Lighting.FogEnd=200;
  8766.                 game.Lighting.FogColor=Color3.new(0,0,0);
  8767.             local dec = 'http://www.roblox.com/asset/?id=19399245';
  8768.                 local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  8769.                 --coroutine.wrap(function()
  8770.                 --for _,__ in pairs(fac) do
  8771.                 --local ddec = Instance.new("Decal", v)
  8772.                 --ddec.Face = __
  8773.                 --ddec.Texture = dec
  8774.             --end end)()
  8775.                 if #(v:GetChildren())>0 then
  8776.                        xds(v)
  8777.                   end
  8778.              end
  8779.         end
  8780.     xds(game.Workspace)
  8781. end)
  8782. destwin:drawButton(1, 'Troll', function()
  8783.     topkek.tools.util.recurseUltimate('48308661')
  8784.     tk.play(154664102)
  8785. end)
  8786. destwin:addSpacing()
  8787. destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
  8788.     local materiallist =
  8789.     {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  8790.         Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  8791.         Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  8792.         Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  8793.         Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  8794.     local function r(where)
  8795.         for _,v in pairs (where:GetChildren()) do
  8796.         if v:IsA("BasePart") then
  8797.         spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait()   end end) end r(v) end end r(workspace)
  8798. end)
  8799. destwin:drawButton(1/2,'Materialize',function()
  8800.     local function r(where)
  8801.     for _,v in pairs (where:GetChildren()) do
  8802.     if v:IsA("BasePart") then
  8803.     spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait()   end end) end r(v) end end r(workspace)
  8804. end)
  8805. destwin:drawButton(1/2,'Meshify',function()
  8806.     local enums={
  8807.         Enum.MeshType.Head;
  8808.         Enum.MeshType.Torso;
  8809.         Enum.MeshType.Wedge;
  8810.         Enum.MeshType.Brick;
  8811.         Enum.MeshType.Sphere;
  8812.         Enum.MeshType.Cylinder;
  8813.     }
  8814.     tk.rcf('BasePart',function(o)
  8815.         local mesh = Instance.new('SpecialMesh', o)
  8816.         mesh.MeshType = enums[math.random(1,#enums)]
  8817.     end)
  8818. end)
  8819. destwin:drawButton(1/2,'Loop-Meshify',function()
  8820.     coroutine.wrap(function()
  8821.         while true do
  8822.             local enums={
  8823.                 Enum.MeshType.Head;
  8824.                 Enum.MeshType.Torso;
  8825.                 Enum.MeshType.Wedge;
  8826.                 Enum.MeshType.Brick;
  8827.                 Enum.MeshType.Sphere;
  8828.                 Enum.MeshType.Cylinder;
  8829.             }
  8830.             tk.rcf('BasePart',function(o)
  8831.                 if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  8832.                 local mesh = Instance.new('SpecialMesh', o)
  8833.                 mesh.MeshType = enums[math.random(1,#enums)]
  8834.             end)
  8835.             wait(0.5)
  8836.         end
  8837.     end)()
  8838. end)
  8839. destwin:addSpacing()
  8840. destwin:drawButton(1, 'Rotations', function()
  8841.     tk.rcf('BasePart', function(o)
  8842.         o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  8843.     end)
  8844. end)
  8845. destwin:drawButton(1, 'Collisions', function()
  8846.     tk.rcf('BasePart', function(o)
  8847.         o.CanCollide = false
  8848.     end)
  8849. end)
  8850. destwin:drawButton(1, 'Velocity', function()
  8851.     tk.rcf('BasePart', function(o)
  8852.         o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  8853.     end)
  8854. end)
  8855. destwin:drawButton(1, 'Invisiblity', function()
  8856.     tk.rcf('BasePart', function(o)
  8857.         o.Transparency = 1
  8858.     end)
  8859. end)
  8860. destwin:drawButton(1, 'BreakJoints', function()
  8861.     tk.rcf('Model', function(o)
  8862.         o:BreakJoints()
  8863.     end)
  8864. end)
  8865. destwin:drawButton(1, 'Forces', function()
  8866.     tk.rcf('BasePart', function(o)
  8867.         local bf = Instance.new("BodyForce", o)
  8868.         bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
  8869.     end)
  8870. end)
  8871. destwin:drawButton(1, 'Brightness', function()
  8872.     tk.rcf('BasePart', function(o)
  8873.         local light = Instance.new("SpotLight", o)
  8874.         light.Brightness = 9e9
  8875.         light.Range = 60
  8876.     end)
  8877. end)
  8878. --// CATALOG //--
  8879. local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
  8880. local page, currentkeyword = 1, ""
  8881. local searchbar, search, makeCatalog, res = 0, 0, 0, {}
  8882. local searchbar = catwin:drawTextBox(2/3,'')
  8883. local search = catwin:drawButton(1/3, 'Search', function()
  8884.     page = 1
  8885.     currentkeyword = searchbar.Text
  8886.     makeCatalog(currentkeyword, page)
  8887. end)
  8888. local previous = catwin:drawButton(1/2, 'Previous Page', function()
  8889.     if page > 1 then
  8890.         page = page - 1
  8891.         makeCatalog(currentkeyword, page)
  8892.     end
  8893. end)
  8894. local previous = catwin:drawButton(1/2, 'Next Page', function()
  8895.     if page >= 1 then
  8896.         page = page + 1
  8897.         makeCatalog(currentkeyword, page)
  8898.     end
  8899. end)
  8900. local catalog_start = catwin:getDrawY()
  8901. function split(str,divider)
  8902.     local found = ""
  8903.     local results = {}
  8904.     for i=1,string.len(str) do
  8905.         if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
  8906.             table.insert(results, found)
  8907.             found = ""
  8908.         else
  8909.             found = found..string.sub(str,i,i)
  8910.         end
  8911.     end
  8912.     table.insert(results, found)
  8913.     return results
  8914. end
  8915. function GetName(nm)
  8916.     local spl = split(nm," ")
  8917.     local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
  8918.     return (a.." "..b.." "..c.." "..d.." "..e)
  8919. end
  8920. --function makeCatalog(keyword, page)
  8921.     --local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
  8922.     --local results = game:HttpGet(endpoint, true)
  8923.     --local parse = game:GetService('HttpService'):JSONDecode(results)
  8924.     --for i, v in pairs(res) do
  8925.         --v:Destroy()
  8926.     --end
  8927.     --catwin:setDrawY(catalog_start)
  8928.     --catwin:addSpacing()
  8929.     --for i, v in pairs(parse) do
  8930.         --local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
  8931.         --local below = topkek.tools.util.Object("TextButton", {
  8932.         --  Parent = img;
  8933.         --  BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
  8934.         --  BorderSizePixel = 0;
  8935.         --  Position = UDim2.new(0, -45, 1, 5);
  8936.         --  Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
  8937.         --  Font = 'SourceSans';
  8938.         --  FontSize = 'Size14';
  8939.         --  Text = GetName(v['Name']);
  8940.         --  TextSize = 14;
  8941.         --  TextColor3 = color3(199, 199, 199);
  8942.         --  TextStrokeTransparency = 0.5;
  8943.         --  ClipsDescendants = true;
  8944.         --})
  8945.     --  below.MouseButton1Down:connect(function()
  8946.         --  local Model = Instance.new("Model", workspace)
  8947.         --  game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
  8948.         --  Model:MakeJoints()
  8949.         --  Model:MoveTo(topkek.lplr.Character.Head.Position)
  8950.         --end)
  8951.         --img.Size=UDim2.new(0,50,0,50)
  8952.         --img.Position=img.Position+UDim2.new(0,45,0,0)
  8953.     --  if (i%2)==0 then
  8954.         --  catwin:setDrawY(catwin:getDrawY() + 25)
  8955.         --end
  8956.     --  if (i==10) then
  8957.         --  catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
  8958.     --  end
  8959.     --  table.insert(res,img)
  8960.     --end
  8961. --end
  8962. --makeCatalog("", 1)
  8963. --// CMDS //--
  8964. cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
  8965. count = 0
  8966. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  8967. cmdwin:drawText(1, tostring(count) .. " Commands")
  8968. cmdwin:drawText(1, 'Chat Prefix: /')
  8969. local cmdlist = cmdwin:drawScrollingContainer(260)
  8970. for i, v in pairs(cmd.commands.fmtstore) do
  8971.     local xfmt = {}
  8972.     local str = "  ;" .. i .. " "
  8973.     for form in v:gmatch("[^%%]+") do
  8974.         if form ~= 'cmd' then
  8975.             if form == 'inf' then form = 'str' end
  8976.             str = str .. "{" .. form .. "} "
  8977.         end
  8978.     end
  8979.     cmdlist:drawText(1, str)
  8980. end
  8981. --// MUSIC //--
  8982. musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
  8983. Sounds = {
  8984.     {"caramell", 2303479};
  8985.     {"epic", 27697743};
  8986.     {"rick", 2027611}; 
  8987.     {"halo", 1034065};
  8988.     {"pokemon", 1372261};
  8989.     {"cursed", 1372257};
  8990.     {"extreme", 11420933};
  8991.     {"awaken", 27697277};
  8992.     {"alone", 27697392};
  8993.     {"mario", 1280470};
  8994.     {"choir", 1372258};
  8995.     {"chrono" ,1280463};
  8996.     {"dotr", 11420922};
  8997.     {"entertain", 27697267};
  8998.     {"fantasy", 1280473};
  8999.     {"final", 787};
  9000.     {"organ", 11231513};
  9001.     {"tunnel", 9650822}
  9002. }
  9003.  
  9004. local cursel
  9005. local xcursel = 0
  9006. scr = musicwin:drawScrollingContainer(230)
  9007. for i, v in pairs(Sounds) do
  9008.     scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
  9009.         cursel.Text = "Currently Selected - " .. v[1]
  9010.         xcursel = v[2]
  9011.     end)
  9012. end
  9013.  
  9014. cursel = musicwin:drawText(1, "Currently Selected - None")
  9015. local setInp
  9016. musicwin:drawButton(1/3, "Set", function()
  9017.     if tonumber(setInp.Text) then
  9018.         cursel.Text = "Currently Selected - " .. setInp.Text
  9019.         xcursel = tonumber(setInp.Text)
  9020.     end
  9021. end)
  9022. setInp = musicwin:drawTextBox(2/3, '')
  9023. musicwin:drawButton(1, "Play", function()
  9024.     tk.rcm(game, 'Sound')
  9025.     tk.play(xcursel)   
  9026. end)
  9027. musicwin:drawButton(1, "Stop", function()
  9028.     tk.rcm(game, 'Sound')
  9029. end)
  9030. --// FACES //--
  9031. facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
  9032. local faces = {
  9033.     {name='Rofl',id=47595647},
  9034.     {name='Sparta',id=74142203},
  9035.     {name='UJelly',id=48989071},
  9036.     {name='Troll',id=45120559},
  9037.     {name='Horse',id=62079221},
  9038.     {name='Angry',id=48258623},
  9039.     {name='Okey',id=62830600},
  9040.     {name='Yeaw',id=53646377},
  9041.     {name='Here',id=62677045},
  9042.     {name='Har',id=48260066},
  9043.     {name='Baby Sun',id=47596170},
  9044.     {name='LOL',id=48293007},
  9045.     {name='Sad',id=53645378},
  9046.     {name='Joseph Stalin',id=48290678},
  9047.     {name='Doge',id=130742396},
  9048.     {name='Forever Alone',id=156886272},
  9049.     {name='RickRoll',id=5104631},
  9050.     {name='Jim Carrey',id=74885351},
  9051.     {name='Meh IRL',id=237553381}
  9052. }
  9053. local cursel, xcursel = nil, 0
  9054. faclist = facwin:drawScrollingContainer(260)
  9055. for i,v in pairs(faces) do
  9056.     local btn = faclist:drawButton(1, v['name'], function()
  9057.         xcursel = v['id']
  9058.         cursel.Text = 'Currently Selected: ' .. v['name']
  9059.     end)
  9060.     topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
  9061. end
  9062. cursel = facwin:drawText(1, 'Currently Selected: None')
  9063. facwin:drawButton(1, 'Wear', function()
  9064.     if not (xcursel == 0) then
  9065.         if topkek.lplr.Character then
  9066.             tk.rcm(topkek.lplr.Character, 'Accessory')
  9067.             tk.rcm(topkek.lplr.Character, 'Hat')
  9068.             topkek.tools.util.applyFace(xcursel)
  9069.         end
  9070.     end
  9071. end)
  9072. --// SETTINGS // --
  9073. setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
  9074. setwin:drawText(1, 'Patch: ' .. topkek.patch)
  9075. setwin:drawText(1, 'Devnote: foh skids')
  9076. setwin:drawText(1, [[
  9077.     === CREDITS ===
  9078.    
  9079.     Variable - retard that created Stella
  9080.     KrystalTeam - provided critical design tips & advice
  9081.     Circumvention - lol joey salads
  9082.    
  9083.     Thanks to everyone that supported T0PK3K 4.0!
  9084.    
  9085. ]], 260)
  9086. --// BANLIST //--
  9087. banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
  9088. local plrBanInp
  9089. banwin:drawButton(1/3, 'Add', function()
  9090.     topkek.settings.get()
  9091.     table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
  9092.     topkek.settings.write()
  9093.     UpdateBanlist()
  9094. end)
  9095. plrBanInp = banwin:drawTextBox(2/3, '')
  9096. banCont = banwin:drawScrollingContainer(288)
  9097. function UpdateBanlist(x)
  9098.     topkek.settings.get()
  9099.     local wl = x or topkek.settingsTable['Bans']
  9100.     for i,v in pairs(banCont:GetChildren()) do
  9101.         v:Destroy()
  9102.     end
  9103.     banCont:setDrawY(3)
  9104.     for i,v in pairs(wl) do
  9105.         banCont:drawText(2/3, v)
  9106.         banCont:drawButton(1/3, 'Remove', function()
  9107.             for x, m in pairs(wl) do
  9108.                 if m == v then
  9109.                     table.remove(topkek.settingsTable['Bans'], x)
  9110.                     topkek.settings.write()
  9111.                     UpdateBanlist()
  9112.                     topkek.banmgr.bans = topkek.settingsTable['Bans']
  9113.                 end
  9114.             end
  9115.         end)
  9116.     end
  9117. end
  9118. UpdateBanlist()
  9119. --// HATS //--
  9120. hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
  9121. local hats={   
  9122.     {name='Dominus Empyreus',id=21070012},
  9123.     {name='Dominus Vespertilio',id=96103379},
  9124.     {name='Dominus Infernus',id=31101391},
  9125.     {name='Dominus Rex',id=250395631},
  9126.     {name='Dominus Frigidus',id=48545806},
  9127.     {name='Dominus Astra',id=162067148},
  9128.     {name='Dominus Aureus',id=138932314},
  9129.     {name='DIY Dominus Empyreus',id=151789690},
  9130.     {name='Dominus Messor',id=64444871},
  9131.     {name='Demon Skeleton Wings',id=133554007},
  9132.     {name='Gilded Wings of Glory',id=250405532},
  9133.     {name='Majestic Ice Wings',id=188702967},
  9134.     {name='Black Wings',id=215719598},
  9135.     {name='Clockworks Shades',id=11748356},
  9136.     {name='Faerie Wings',id=19399896},
  9137.     {name='Orinthian Wings',id=223751505},
  9138.     {name='Clockworks Headphones',id=1235488},
  9139.     {name='Perfectly Legitimate Business Hat',id=19027209},
  9140.     {name='Sparkling Angel Wings',id=192557913},
  9141.     {name='Commander Crows Wings',id=133553855},
  9142.     {name='Sunfire Wings',id=158068470},
  9143.     {name='Royal Faerie Wings',id=119916756},
  9144.     {name='Wings of Freedom',id=164174048},
  9145.     {name='Firebrand Wings',id=128160626},
  9146.     {name='Frozen Wings',id=136758613},
  9147.     {name='Webbed Wings',id=120507280},
  9148.     {name='Gargoyle Wings',id=120507201},
  9149.     {name='Bat Wings',id=19399858},
  9150.     {name='Wings of Fire',id=136758532},
  9151.     {name='Headrow',id=1082935},
  9152.     {name='Rubber Duckie',id=9254254},
  9153.     {name='Valkyrie Helm',id=1365767},
  9154. {name='Hockey Mask',id=5161514}}
  9155. local searchi = hatwin:drawButton(1, '', function()end)
  9156. dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
  9157. function fixPlayerDropi()
  9158.     local t = {'All'}
  9159.     for i, v in pairs(game.Players:GetPlayers()) do
  9160.         table.insert(t, v.Name)
  9161.     end
  9162.     dropx.SetTable(t)
  9163. end
  9164. game.Players.PlayerAdded:connect(function()
  9165.     fixPlayerDropi()
  9166. end)
  9167. game.Players.PlayerRemoving:connect(function()
  9168.     fixPlayerDropi()
  9169. end)
  9170. local eval = 'All'
  9171. dropx.Changed(function(p) eval = p end)
  9172. fixPlayerDrop()
  9173.  
  9174. local hatInp
  9175. hatlist = hatwin:drawScrollingContainer(260)
  9176. for i,v in pairs(hats) do
  9177.     hatlist:drawButton(1, v['name'], function()
  9178.         hatInp.Text = tostring(v['id'])
  9179.     end)
  9180. end
  9181. hatwin:drawButton(1/3, 'Wear', function()
  9182.     local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
  9183.     tk.dp(eval, function(x)
  9184.         if x.Character then
  9185.             hat:Clone().Parent = x.Character
  9186.         end
  9187.     end)
  9188. end)
  9189.  
  9190.  
  9191. hatInp = hatwin:drawTextBox(2/3, '')
  9192. topkek.tools.animator.initialAnimation()
  9193. topkek.banmgr.init()
  9194.  
  9195. _G.Rc7Notification("Leaked by Scratchy","T0pk3k 4.0 Script Leaked!",5)
  9196. wait(5)
  9197. if game.Workspace.FilteringEnabled == true then
  9198. _G.Rc7Notification("Filtering","Fltering is Enabled",5)
  9199. else
  9200. _G.Rc7Notification("Filtering","Fltering is Disabled",5)
  9201. end
  9202. end)
  9203.  
  9204. MainGuiTitle.Name = "MainGuiTitle"
  9205. MainGuiTitle.Parent = MainGui
  9206. MainGuiTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  9207. MainGuiTitle.BackgroundTransparency = 1
  9208. MainGuiTitle.Position = UDim2.new(0.313304722, 0, 0.8255319, 0)
  9209. MainGuiTitle.Size = UDim2.new(0, 200, 0, 50)
  9210. MainGuiTitle.Font = Enum.Font.SourceSansSemibold
  9211. MainGuiTitle.Text = "poopoo Gui by SS"
  9212. MainGuiTitle.TextColor3 = Color3.new(1, 1, 1)
  9213. MainGuiTitle.TextSize = 50
  9214. MainGuiTitle.TextWrapped = true
RAW Paste Data