TheRealAK47

Topkekv4

Dec 28th, 2018
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.11 KB | None | 0 0
  1. local topkek = {}
  2. topkek.patch = '1.0.5a'
  3. topkek.data = {}
  4. topkek.commandbase = {}
  5. topkek.navigation = {}
  6. topkek.banmgr = {}
  7. topkek.lplr = game:GetService('Players').LocalPlayer
  8.  
  9. topkek.tools = {}
  10. topkek.tools.gui = {}
  11. topkek.tools.util = {}
  12. topkek.tools.animator = {}
  13.  
  14. topkek.windows = {}
  15. topkek.windows.lplr = {}
  16. topkek.windows.server = {}
  17. topkek.windows.players = {}
  18. topkek.windows.destruction = {}
  19. topkek.windows.scripts = {}
  20. topkek.windows.misc = {}
  21.  
  22. topkek.misc = {}
  23.  
  24. topkek.gui = game:GetObjects("rbxassetid://1250386349")[1]
  25. topkek.gui.Parent = game:GetService("CoreGui")
  26.  
  27. topkek.center = topkek.gui.Main
  28. topkek.holder = topkek.center.Holder
  29. topkek.topbar = topkek.center.Topbar
  30. topkek.template = topkek.holder.Template
  31. topkek.navigator = topkek.center.Navigation
  32.  
  33. AllowHovers = false
  34. PlayerChatHook, UpdateBanlist = nil
  35. cmd = {}
  36.  
  37. topkek.data.windows = {
  38. 'Home',
  39. 'LocalPlayer',
  40. 'Server',
  41. 'Players',
  42. 'Destruction',
  43. 'Scripts',
  44. 'Catalog',
  45. 'Music',
  46. 'Hats',
  47. 'Faces',
  48. 'Settings',
  49. 'Commands',
  50. 'Banlist',
  51. }
  52.  
  53. color3 = function(r,g,b)
  54. return Color3.new(r/255, g/255, b/255)
  55. end
  56.  
  57. GUI = {
  58. TextBox = {
  59. Settings = {
  60. Font = Enum.Font.SourceSans;
  61. FontSize = Enum.FontSize.Size14;
  62. };
  63. Color = {
  64. Main = Color3.fromRGB(5,8,11);
  65. Border = Color3.fromRGB(27,42,53);
  66. Text = Color3.fromRGB(199,199,199);
  67. };
  68. New = function(Position, Size, Parent, ...)
  69. local arguments = {...};
  70.  
  71. local TextBox = Instance.new("TextBox", Parent);
  72. TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
  73. TextBox.BorderColor3 = GUI.DropDown.Color.Border;
  74. TextBox.Font = GUI.TextBox.Settings.Font;
  75. TextBox.FontSize = GUI.TextBox.Settings.FontSize;
  76. TextBox.TextColor3 = GUI.TextBox.Color.Text;
  77. TextBox.Position = Position;
  78. TextBox.Size = Size;
  79. if #arguments then
  80. if arguments[1] then
  81. TextBox.Text = tostring(arguments[1]);
  82. else
  83. TextBox.Text = "";
  84. end
  85. end
  86. return TextBox;
  87. end;
  88. };
  89. DropDown = {
  90. Settings = {
  91. ScrollerAmount = 5;
  92. ScrollBarThickness = 6;
  93. };
  94. Gfx = {
  95. Scroller = "rbxassetid://606572419";
  96. };
  97. Color = {
  98. Main = color3(36, 36, 107);
  99. Secondary = color3(39, 39, 113);
  100. Border = color3(44, 44, 127);
  101. Text = Color3.fromRGB(199,199,199);
  102. };
  103. New = function(Position, Size, Parent, ...)
  104. local vValue = {};
  105. local arguments = {...};
  106. local vSelected = Instance.new("StringValue");
  107. vSelected.Value = "nil";
  108.  
  109. if arguments then
  110. if type(arguments) == "table" then
  111. for i=1,#(arguments) do
  112. if type(arguments[i]) == "table" then
  113. for f=1,#(arguments[i]) do
  114. table.insert(vValue, tostring((arguments[i])[f]));
  115. end
  116. else
  117. table.insert(vValue, tostring(arguments[i]));
  118. end
  119. end
  120. vSelected.Value = (vValue[1]);
  121. end
  122. end
  123.  
  124. local Main = Instance.new("TextButton", Parent);
  125. Main.BackgroundColor3 = GUI.DropDown.Color.Main;
  126. Main.BorderColor3 = GUI.DropDown.Color.Border;
  127. Main.Position = Position;
  128. Main.Size = Size;
  129. Main.TextColor3 = GUI.DropDown.Color.Text;
  130. Main.FontSize = Enum.FontSize.Size14;
  131. Main.TextStrokeTransparency = 0.5;
  132. Main.TextXAlignment = Enum.TextXAlignment.Left;
  133. Main.Font = Enum.Font.SourceSans;
  134. Main.Text = " "..tostring(vSelected.Value);
  135. Main.ZIndex = 3
  136.  
  137. local Icon = Instance.new("TextLabel", Main);
  138. Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
  139. Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
  140. Icon.BorderColor3 = GUI.DropDown.Color.Border;
  141. Icon.Position = UDim2.new(1,-2,1,-2);
  142. Icon.Size = UDim2.new(-1,4,-1,4);
  143. Icon.TextColor3 = GUI.DropDown.Color.Text;
  144. Icon.FontSize = Enum.FontSize.Size14;
  145. Icon.TextStrokeTransparency = 0.5;
  146. Icon.Font = Enum.Font.SourceSans;
  147. Icon.Text = "V"
  148. Icon.ZIndex = 4
  149.  
  150. local Holder, Search;
  151. local ClearHolder = function()
  152. if Holder then
  153. Holder:ClearAllChildren();
  154. Holder.Size = UDim2.new(1,0,0,0);
  155. Holder.Visible = false;
  156. if Search then
  157. Search.Visible = false;
  158. end
  159. end
  160. end;
  161.  
  162. local CreateButton;
  163. local RefreshDropDown = function()
  164. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  165. if not Holder or not Holder:IsA("Frame") then
  166. Holder = nil; Search = nil;
  167. Holder = Instance.new("Frame",Main);
  168. Holder.Size = UDim2.new(1,0,0,0);
  169. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  170. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  171. Holder.Visible = false;
  172. Holder.ZIndex = 3
  173. end
  174. elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
  175. if not Holder or not Holder:IsA("ScrollingFrame") then
  176. Holder = nil; Search = nil;
  177. Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
  178. Search.Visible = false;
  179. Search.ZIndex = 4
  180. Search.Changed:connect(function(p)
  181. if p == "Text" then
  182. CreateButton(Search.Text);
  183. end
  184. end)
  185. Holder = Instance.new("ScrollingFrame",Main);
  186. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  187. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  188. Holder.TopImage = GUI.DropDown.Gfx.Scroller;
  189. Holder.MidImage = GUI.DropDown.Gfx.Scroller;
  190. Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
  191. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
  192. Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
  193. Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
  194. Holder.Visible = false;
  195. Holder.ZIndex = 3;
  196. end
  197. end
  198. if #vValue == 1 and vSelected.Value ~= vValue[1] then
  199. vSelected.Value = vValue[1];
  200. elseif #vValue == 0 then
  201. vSelected.Value = "nil";
  202. warn("Table amount is nil.");
  203. end
  204. Main.Text = " "..tostring(vSelected.Value);
  205. end;
  206.  
  207. local Debounce = false;
  208. CreateButton = function(searches)
  209. if Debounce == false then
  210. Debounce = true;
  211. ClearHolder()
  212. Holder.Visible = true;
  213. local Searched = 0;
  214. if #vValue > 0 then
  215. for i=1,#vValue do
  216. if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
  217. Searched = Searched + 1;
  218. end
  219. end
  220. for i=1,#vValue do
  221. 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
  222. local Select = Instance.new("TextButton", Holder);
  223. Select.BackgroundColor3 = GUI.DropDown.Color.Main;
  224. Select.BorderColor3 = GUI.DropDown.Color.Border;
  225. Select.BackgroundTransparency = 1;
  226. Select.BorderSizePixel = 0;
  227. Select.Position = Position;
  228. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  229. Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
  230. else
  231. Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
  232. end
  233. Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
  234. Select.TextColor3 = GUI.DropDown.Color.Text;
  235. Select.FontSize = Enum.FontSize.Size14;
  236. Select.TextStrokeTransparency = 0.5;
  237. Select.Font = Enum.Font.SourceSans;
  238. Select.Text = tostring(vValue[i]);
  239. Select.ZIndex = 3
  240. Select.MouseButton1Click:connect(function()
  241. vSelected.Value = vValue[i];
  242. ClearHolder();
  243. RefreshDropDown();
  244. end)
  245. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  246. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
  247. elseif Holder:IsA("ScrollingFrame") then
  248. Search.Visible = true;
  249. if #Holder:GetChildren() >= 1 then
  250. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  251. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  252. if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
  253. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
  254. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  255. end
  256. elseif #Holder:GetChildren() < 1 then
  257. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  258. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  259. end
  260. end
  261. end
  262. end
  263. end
  264. Debounce = false;
  265. end
  266. end;
  267.  
  268. RefreshDropDown();
  269.  
  270. Main.MouseButton1Click:connect(function()
  271. CreateButton()
  272. if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
  273. Search:CaptureFocus();
  274. Search.Text = "";
  275. end
  276. end)
  277.  
  278. topkek.lplr:GetMouse().Button1Down:connect(function()
  279. ClearHolder()
  280. end)
  281.  
  282. return {
  283. Update = function()
  284. RefreshDropDown();
  285. end;
  286. GetValue = function()
  287. RefreshDropDown();
  288. return vValue;
  289. end;
  290. GetSelected = function()
  291. RefreshDropDown();
  292. return vSelected.Value;
  293. end;
  294. SetTable = function(F)
  295. vValue = F;
  296. RefreshDropDown();
  297. end;
  298. Changed = function(F)
  299. vSelected.Changed:connect(function()
  300. ypcall(function()
  301. F(vSelected.Value);
  302. end)
  303. end)
  304. return "ChangedEvent Hooked";
  305. end;
  306. AddValue = function(obj)
  307. local Type = type(obj);
  308. if Type == "table" then
  309. for i=1,#obj do
  310. table.insert(vValue, obj[i])
  311. end
  312. elseif Type == "string" or Type == "number" or Type == "boolean" then
  313. table.insert(vValue, obj)
  314. end
  315. RefreshDropDown();
  316. end;
  317. RemoveValue = function(obj)
  318. local Type = type(obj);
  319. if Type == "table" then
  320. for i=1,#vValue do
  321. for f=1,#obj do
  322. if tostring(obj[f]) == tostring(vValue[i]) then
  323. table.remove(vValue,i)
  324. end
  325. end
  326. end
  327. else
  328. for i=1,#vValue do
  329. if tostring(obj) == tostring(vValue[i]) then
  330. table.remove(vValue,i)
  331. end
  332. end
  333. end
  334. RefreshDropDown();
  335. end;
  336. ClearValue = function()
  337. vValue = {};
  338. RefreshDropDown();
  339. end;
  340. }
  341. end;
  342. };
  343. };
  344.  
  345. function topkek.tools.util.Object(o, p)
  346. local a, b = pcall(function()
  347. Instance.new(o)
  348. end)
  349. if not a then
  350. return
  351. end
  352. local obj = Instance.new(o)
  353. for prop, val in pairs(p) do
  354. pcall(function()
  355. obj[prop] = val
  356. end)
  357. end
  358. return obj
  359. end
  360.  
  361. function topkek.tools.util.getContainer(n)
  362. if topkek.holder:FindFirstChild(n) then
  363. return topkek.holder[n]
  364. else
  365. print("menu not found; returning template")
  366. return topkek.holder['Template']
  367. end
  368. end
  369.  
  370. function topkek.tools.util.play(id)
  371. local mu = Instance.new("Sound", game:GetService('Workspace'))
  372. mu.Volume = 1
  373. mu.Looped = true
  374. mu.Pitch = 1
  375. mu.SoundId = "rbxassetid://"..tostring(id)
  376. mu:Play()
  377. end
  378.  
  379. function topkek.tools.util.getTorso(plr)
  380. if plr.Character then
  381. if plr.Character:FindFirstChild('UpperTorso') then
  382. return plr.Character.UpperTorso
  383. elseif plr.Character:FindFirstChild('Torso') then
  384. return plr.Character.Torso
  385. else
  386. return nil
  387. end
  388. end
  389. end
  390.  
  391. function topkek.tools.util.recurseRemove(x,type_)
  392. local function recurse(x)
  393. for i, v in pairs(x:GetChildren()) do
  394. pcall(function()
  395. if v:IsA(type_) then
  396. v:Destroy()
  397. end
  398. if #(v:GetChildren())>0 then
  399. recurse(v)
  400. end
  401. end)
  402. end
  403. end
  404. recurse(x)
  405. end
  406.  
  407. function topkek.tools.util.recurseFunc(type_,func)
  408. local function recurse(x)
  409. for i, v in pairs(x:GetChildren()) do
  410. pcall(function()
  411. if v:IsA(type_) then
  412. func(v)
  413. end
  414. if #(v:GetChildren())>0 then
  415. recurse(v)
  416. end
  417. end)
  418. end
  419. end
  420. recurse(game)
  421. end
  422. function topkek.tools.util.trowel()
  423. local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
  424. T.Name = 'Custom Trowel'
  425.  
  426. local p = Instance.new('Part')
  427. p.Name = 'Handle'
  428. p.Size = Vector3.new(1,4.4,1)
  429. p.Parent = T
  430.  
  431. local specialMesh = Instance.new('SpecialMesh')
  432. specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
  433. specialMesh.MeshType = 'FileMesh'
  434. specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
  435. specialMesh.Parent = T.Handle
  436.  
  437. local sound = Instance.new'Sound'
  438. sound.Name = 'build'
  439. sound.SoundId = 'rbxasset://sounds//bass.wav'
  440. sound.Volume = 1
  441. sound.Parent = T.Handle
  442.  
  443. local brickHeight = 100
  444. local trowelSpeed = 0.05
  445. local brickWidth = 500
  446. local mouseConnection
  447.  
  448. function newBrick(CF, P, color)
  449. local brick = Instance.new('Part')
  450. brick.BrickColor = color
  451. brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
  452. brick.Parent = game.Workspace
  453. brick:MakeJoints()
  454. brick.Material = 'Neon'
  455. brick.Name = 'DeleteMe'
  456. return brick, P + brick.Size
  457. end
  458.  
  459. function genBrick(cFrame)
  460. local randBrickColor = BrickColor.Random()
  461. assert(brickWidth > 0)
  462.  
  463. local yPos = 0
  464.  
  465. while yPos < brickHeight do
  466. local vPos
  467. local X = -brickWidth / 2
  468. while X < brickWidth / 2 do
  469. local brick
  470. brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
  471. X = vPos.x
  472. wait(trowelSpeed)
  473. end
  474. yPos = vPos.y
  475. end
  476. end
  477.  
  478. function calcPos(vec)
  479. if (math.abs(vec.x) > math.abs(vec.z)) then
  480. if vec.x > 0 then
  481. return Vector3.new(1, 0, 0)
  482. else
  483. return Vector3.new(-1, 0, 0)
  484. end
  485. else
  486. if (vec.z > 0) then
  487. return Vector3.new(0, 0, 1)
  488. else
  489. return Vector3.new(0, 0, -1)
  490. end
  491. end
  492. end
  493.  
  494. T.Enabled = true
  495.  
  496. T.Activated:connect(function()
  497. if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  498. T.Enabled = false
  499. T.Handle.build:Play()
  500. 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)))
  501. T.Enabled = true
  502. end
  503. end)
  504.  
  505. T.Equipped:connect(function()
  506. mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  507. if (key == 'r') then
  508. for i,v in next, workspace:children'' do
  509. if (v.Name == 'DeleteMe') then
  510. v:Destroy()
  511. end
  512. end
  513. end
  514. end)
  515. end)
  516.  
  517. T.Unequipped:connect(function()
  518. mouseConnection:disconnect()
  519. end)
  520. end
  521. function topkek.tools.util.recurseSet(type_,prop,val)
  522. local function recurse(x)
  523. for i, v in pairs(x:GetChildren()) do
  524. pcall(function()
  525. if v:IsA(type_) then
  526. v[prop]=val
  527. end
  528. if #(v:GetChildren())>0 then
  529. recurse(v)
  530. end
  531. end)
  532. end
  533. end
  534. recurse(game)
  535. end
  536. function topkek.tools.util.recurseUltimate(d)
  537. topkek.tools.util.recurseDecal(d)
  538. topkek.tools.util.recurseParticles(d)
  539. end
  540. function topkek.tools.util.recurseDecal(img)
  541. img = 'rbxassetid://' .. img
  542. local function skybox(x)
  543. local sky = Instance.new("Sky",game.Lighting)
  544. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  545. for i,v in pairs(fcs) do
  546. sky["Skybox"..v]=x
  547. end
  548. end
  549.  
  550. local function decal(p, b)
  551. local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  552. for i, v in pairs(sides) do
  553. local a = Instance.new("Decal", p)
  554. a.Texture = b
  555. a.Face = v
  556. end
  557. end
  558.  
  559. local function recurse(x)
  560. for i, v in pairs(x:GetChildren()) do
  561. pcall(function()
  562. if v:IsA("BasePart") then
  563. decal(v, img)
  564. end
  565. if #(v:GetChildren())>0 then
  566. recurse(v)
  567. end
  568. end)
  569. end
  570. end
  571.  
  572. recurse(game)
  573. skybox(img)
  574. end
  575. function topkek.tools.util.recurseParticles(img)
  576. img = 'rbxassetid://' .. img
  577. local function skybox(x)
  578. local sky = Instance.new("Sky",game.Lighting)
  579. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  580. for i,v in pairs(fcs) do
  581. sky["Skybox"..v]=x
  582. end
  583. end
  584. local function particle(p, b)
  585. local a = Instance.new("ParticleEmitter", p)
  586. a.Rate = 500
  587. a.Lifetime = NumberRange.new(20, 30)
  588. a.VelocitySpread = 200
  589. a.Texture = b
  590. end
  591.  
  592. local function recurse(x)
  593. for i, v in pairs(x:GetChildren()) do
  594. pcall(function()
  595. if v:IsA("BasePart") then
  596. particle(v, img)
  597. end
  598. if #(v:GetChildren())>0 then
  599. recurse(v)
  600. end
  601. end)
  602. end
  603. end
  604.  
  605. recurse(game)
  606. skybox(img)
  607. end
  608. function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
  609. local function recurse(x)
  610. for i, v in pairs(x:GetChildren()) do
  611. pcall(function()
  612. if v:IsA(type_) then
  613. v[prop]=val
  614. end
  615. if #(v:GetChildren())>0 then
  616. recurse(v)
  617. end
  618. end)
  619. end
  620. end
  621. recurse(obj)
  622. end
  623. function topkek.tools.util.doPlayers(cval, func)
  624. local plrs = {}
  625. if cval == 'All' then
  626. plrs = game:GetService('Players'):GetPlayers()
  627. else
  628. plrs = {game:GetService('Players'):FindFirstChild(cval)}
  629. end
  630. for i, v in pairs(plrs) do
  631. func(v)
  632. end
  633. end
  634. function topkek.tools.util.scalePlayer(sc,plr)
  635. local pchar = plr.Character
  636. if pchar:FindFirstChild("UpperTorso") then
  637. warn("Player [" ..plr.Name.. "] is R15.")
  638. return
  639. end
  640. local function scale(chr,scl)
  641.  
  642. for _,v in pairs(pchar:GetChildren()) do
  643. if v:IsA("Hat") then
  644. v:Clone()
  645. v.Parent = game.Lighting
  646. end
  647. end
  648.  
  649. local Head = chr['Head']
  650. local Torso = chr['Torso']
  651. local LA = chr['Left Arm']
  652. local RA = chr['Right Arm']
  653. local LL = chr['Left Leg']
  654. local RL = chr['Right Leg']
  655. local HRP = chr['HumanoidRootPart']
  656.  
  657. wait(0.1)
  658.  
  659. Head.formFactor = 3
  660. Torso.formFactor = 3
  661. LA.formFactor = 3
  662. RA.formFactor = 3
  663. LL.formFactor = 3
  664. RL.formFactor = 3
  665. HRP.formFactor = 3
  666.  
  667. Head.Size = Vector3.new(scl * 2, scl, scl)
  668. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  669. LA.Size = Vector3.new(scl, scl * 2, scl)
  670. RA.Size = Vector3.new(scl, scl * 2, scl)
  671. LL.Size = Vector3.new(scl, scl * 2, scl)
  672. RL.Size = Vector3.new(scl, scl * 2, scl)
  673. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  674.  
  675. local Motor1 = Instance.new('Motor6D', Torso)
  676. Motor1.Part0 = Torso
  677. Motor1.Part1 = Head
  678. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  679. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  680. Motor1.Name = "Neck"
  681.  
  682. local Motor2 = Instance.new('Motor6D', Torso)
  683. Motor2.Part0 = Torso
  684. Motor2.Part1 = LA
  685. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  686. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  687. Motor2.Name = "Left Shoulder"
  688.  
  689. local Motor3 = Instance.new('Motor6D', Torso)
  690. Motor3.Part0 = Torso
  691. Motor3.Part1 = RA
  692. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  693. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  694. Motor3.Name = "Right Shoulder"
  695.  
  696. local Motor4 = Instance.new('Motor6D', Torso)
  697. Motor4.Part0 = Torso
  698. Motor4.Part1 = LL
  699. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  700. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  701. Motor4.Name = "Left Hip"
  702.  
  703. local Motor5 = Instance.new('Motor6D', Torso)
  704. Motor5.Part0 = Torso
  705. Motor5.Part1 = RL
  706. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  707. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  708. Motor5.Name = "Right Hip"
  709.  
  710. local Motor6 = Instance.new('Motor6D', HRP)
  711. Motor6.Part0 = HRP
  712. Motor6.Part1 = Torso
  713. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  714. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  715.  
  716. end
  717.  
  718. scale(pchar, sc)
  719.  
  720. for _,v in pairs(game.Lighting:GetChildren()) do
  721. if v:IsA("Hat") then
  722. v.Parent = pchar
  723. end
  724. end
  725. end
  726. function topkek.tools.util.applyFace(id)
  727. local Char = topkek.lplr.Character
  728. if(Char)then
  729. local Type = id
  730. local Meme=id
  731. local BBG_SIZE=Char.Head.Size.X*1.25;
  732. local STUD_VECTOR_1=Char.Head.Size.Z/4;
  733. local STUD_VECTOR_2=Char.Head.Size.Z;
  734. local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
  735. bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  736. bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
  737. bbg.Adornee=Char.Head;
  738. bbg.Name='BBGMEME';
  739. local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
  740. img.BackgroundTransparency=1;
  741. img.Image="rbxassetid://"..Meme;
  742. img.Size=UDim2.new(1,0,1,0)
  743. img.Name='Meme';
  744. for i,v in next,Char:children()do
  745. if(v.className=='Hat')then
  746. v=v:FindFirstChild'Handle';
  747. if(v)then
  748. v.Transparency=0
  749. end;
  750. end;
  751. end;
  752. end;
  753. end;
  754. function topkek.tools.util.weenieHutJunior(plr)
  755. plr=plr.Character
  756. Shaft=Instance.new("Part", plr)
  757. Shaft.Name='Shaft'
  758. Shaft.Size=Vector3.new(1, 2.5, 1)
  759. Shaft.TopSurface=0
  760. Shaft.BottomSurface=0
  761. Shaft.CanCollide=true
  762. Cyln=Instance.new("CylinderMesh", Shaft)
  763. Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  764. Instance.new("Weld", plr)
  765. plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  766. plr.Weld.Part1=plr.Shaft
  767. plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  768. Shaft.BrickColor=BrickColor.new("Pastel brown")
  769. Tip=Instance.new("Part", plr)
  770. Tip.Name='Tip'
  771. Tip.TopSurface=0
  772. Tip.BottomSurface=0
  773. Tip.Size=Vector3.new(1, 1, 1)
  774. Tip.CanCollide=true
  775. 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)
  776. Cyln2=Instance.new("SpecialMesh", Tip)
  777. Cyln2.MeshType='Sphere'
  778. Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  779. Instance.new("Weld", plr).Name='Weld2'
  780. plr.Weld2.Part0=plr.Shaft
  781. plr.Weld2.Part1=plr.Tip
  782. plr.Weld2.C0=CFrame.new(0,-.9,0)
  783. Tip.BrickColor=BrickColor.new("Pink")
  784. Ball1=Instance.new("Part", plr)
  785. Ball1.Name='Ball1'
  786. Ball1.Size=Vector3.new(1, 1, 1)
  787. Ball1.TopSurface=0
  788. Ball1.BottomSurface=0
  789. Cyln3=Instance.new("SpecialMesh", Ball1)
  790. Cyln3.MeshType='Sphere'
  791. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  792. Instance.new("Weld", plr).Name='Weld3'
  793. plr.Weld3.Part0=plr.Shaft
  794. plr.Weld3.Part1=plr.Ball1
  795. plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  796. Ball1.BrickColor=BrickColor.new("Pastel brown")
  797. Ball2=Instance.new("Part", plr)
  798. Ball2.Name='Ball2'
  799. Ball2.Size=Vector3.new(1, 1, 1)
  800. Ball2.TopSurface=0
  801. Ball2.BottomSurface=0
  802. Cyln3=Instance.new("SpecialMesh", Ball2)
  803. Cyln3.MeshType='Sphere'
  804. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  805. Instance.new("Weld", plr).Name='Weld4'
  806. plr.Weld4.Part0=plr.Shaft
  807. plr.Weld4.Part1=plr.Ball2
  808. plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  809. Ball2.BrickColor=BrickColor.new("Pastel brown")
  810. end
  811.  
  812. topkek.banmgr.isPrivate = false
  813. topkek.banmgr.whitelist = {}
  814. topkek.banmgr.bans = {}
  815. function topkek.banmgr.executeKick(z)
  816. local function doKick()
  817. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  818. z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  819. local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  820. spawn(function()
  821. repeat wait()
  822. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  823. SP.Position = z.Character.HumanoidRootPart.Position
  824. end
  825. until not game:GetService('Players'):FindFirstChild(z.Name)
  826. end)
  827. z.Character.Torso.Anchored = true
  828. end
  829. end
  830. repeat
  831. doKick()
  832. wait()
  833. until not z
  834. end
  835. function topkek.banmgr.loadFromFile()
  836. topkek.settings.get()
  837. topkek.banmgr.bans = topkek.settingsTable['Bans']
  838. end
  839. function topkek.banmgr.addHardBan(p)
  840. table.insert(topkek.banmgr.bans, p.Name)
  841. topkek.settings.get()
  842. table.insert(topkek.settingsTable['Bans'], p.Name)
  843. topkek.settings.write()
  844. print("Hardbanned " .. p.Name)
  845. UpdateBanlist()
  846. topkek.banmgr.executeKick(p)
  847. topkek.banmgr.loadFromFile()
  848. end
  849. function topkek.banmgr.addSoftBan(p)
  850. table.insert(topkek.banmgr.bans, p.Name)
  851. topkek.banmgr.executeKick(p)
  852. end
  853. function topkek.banmgr.plrBanned(p)
  854. for x, m in pairs(topkek.banmgr.bans) do
  855. if m == p.Name then
  856. return true
  857. end
  858. end
  859. return false
  860. end
  861. function topkek.banmgr.doWhitelist(p)
  862. print(p .. " whitelisted")
  863. table.insert(topkek.banmgr.whitelist, p)
  864. end
  865. function topkek.banmgr.unwhitelist(p)
  866. for x, m in pairs(topkek.banmgr.whitelist) do
  867. if m == p then
  868. print(m .. " unwhitelisted")
  869. table.remove(topkek.banmgr.whitelist, x)
  870. if game:GetService('Players'):FindFirstChild(p) then
  871. topkek.banmgr.executeKick(game:GetService('Players')[p])
  872. end
  873. end
  874. end
  875. end
  876. function topkek.banmgr.plrWhitelisted(p)
  877. for x, m in pairs(topkek.banmgr.whitelist) do
  878. if m == p.Name then
  879. return true
  880. end
  881. end
  882. return false
  883. end
  884. function topkek.banmgr.makePrivate()
  885. topkek.banmgr.isPrivate = true
  886. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  887. if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
  888. spawn(function()
  889. topkek.banmgr.executeKick(v)
  890. end)
  891. end
  892. end
  893. end
  894. function topkek.banmgr.unprivate()
  895. topkek.banmgr.isPrivate = false
  896. end
  897. function topkek.banmgr.init()
  898. topkek.banmgr.loadFromFile()
  899. game:GetService('Players').PlayerAdded:connect(function(p)
  900. if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
  901. print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
  902. topkek.banmgr.executeKick(p)
  903. end
  904. end)
  905. end
  906.  
  907. topkek.settings = {}
  908. topkek.settingsTable = {}
  909. function topkek.settings.write()
  910. end
  911. function topkek.settings.get()
  912. if game.Players.LocalPlayer.Character then
  913. print("No settings! Making new ...")
  914. topkek.settingsTable = {
  915. ['Bans'] = {
  916.  
  917. },
  918. ['Themes'] = {
  919. {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
  920. };
  921. }
  922. topkek.settings.write()
  923. return topkek.settingsTable
  924. else
  925. local lset = game:GetService('HttpService'):JSONDecode(set)
  926. topkek.settingsTable = lset
  927. return lset
  928. end
  929. end
  930.  
  931. tk = {}
  932. tk.ob = topkek.tools.util.Object
  933. tk.dp = topkek.tools.util.doPlayers
  934. tk.rcm = topkek.tools.util.recurseRemove
  935. tk.rcs = topkek.tools.util.recurseSet
  936. tk.rcf = topkek.tools.util.recurseFunc
  937. tk.rco = topkek.tools.util.recurseSetObj
  938. tk.play = topkek.tools.util.play
  939. tk.gt = topkek.tools.util.getTorso
  940.  
  941. topkek.tools.gui.seperation = 12
  942. function topkek.tools.gui:addLeftIcon(parent, img, sz)
  943. topkek.tools.util.Object('ImageLabel', {
  944. Parent = parent;
  945. BackgroundTransparency = 1;
  946. Position = UDim2.new(0, 2, 0, 2);
  947. Size = UDim2.new(0, sz, 0, sz);
  948. Image = img;
  949. })
  950. end
  951. function topkek.tools.gui:makeContainer(n)
  952. local temp = topkek.template:Clone()
  953. temp.Name = n
  954. temp.Parent = topkek.holder
  955. temp.Container.Visible = false
  956. end
  957. function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
  958. if not o:IsA("ScrollingFrame") and (not ncan) then
  959. return nil
  960. elseif o:IsA("ScrollingFrame") then
  961. o.CanvasSize = UDim2.new(0, 0, 0, 0)
  962. end
  963.  
  964. local self = {}
  965. self.main = o
  966. self.drawX = 0
  967. self.drawY = stt or topkek.tools.gui.seperation/2
  968. self.drawHeight = 0
  969. self.sepr = sepr or topkek.tools.gui.seperation
  970.  
  971. function self:drawButton(sz, txt, func, ysz, cbgd)
  972. local xposOffset = 0
  973. local xposScale = self.drawX
  974. local xszOffset = 0
  975. local xszScale = sz
  976. if not (self.drawX == 0) then
  977. xszOffset = -5
  978. if sz + self.drawX > 0.998 then
  979. xszOffset = -10
  980. end
  981. elseif sz == 1 then
  982. local bzz = 4
  983. if ncan then
  984. bzz = 0
  985. end
  986. xszOffset = -(self.sepr) - bzz
  987. xposOffset = self.sepr/2
  988. else
  989. xszOffset = -4 + -(self.sepr/2)
  990. xposOffset = self.sepr/2
  991. end
  992. if not ysz then ysz = 20 end
  993. local obj = topkek.tools.util.Object("TextButton", {
  994. Parent = self.main;
  995. BackgroundColor3 = cbgd or Color3.new(57/255, 57/255, 163/255);
  996. BorderSizePixel = 0;
  997. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  998. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  999. Font = 'SourceSans';
  1000. FontSize = 'Size14';
  1001. Text = txt;
  1002. TextSize = 14;
  1003. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1004. })
  1005. obj.MouseButton1Down:connect(function()
  1006. spawn(func)
  1007. end)
  1008. if ysz > self.drawHeight then
  1009. self.drawHeight = ysz
  1010. end
  1011. self.drawX = self.drawX + sz
  1012. if self.drawX > 0.998 then
  1013. self.drawY = self.drawY + 3 + self.drawHeight
  1014. self.drawX = 0
  1015. self.drawHeight = 0
  1016. if (not ncan) then
  1017. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1018. end
  1019. end
  1020. return obj
  1021. end
  1022.  
  1023. function self:GetChildren()
  1024. return self.main:GetChildren()
  1025. end
  1026.  
  1027. function self:getDrawY()
  1028. return self.drawY
  1029. end
  1030.  
  1031. function self:setDrawY(y)
  1032. self.drawY = y
  1033. end
  1034.  
  1035. function self:drawTextBox(sz, txt, ysz, cbgd)
  1036. local xposOffset = 0
  1037. local xposScale = self.drawX
  1038. local xszOffset = 0
  1039. local xszScale = sz
  1040. if not (self.drawX == 0) then
  1041. xszOffset = -5
  1042. if sz + self.drawX > 0.998 then
  1043. xszOffset = -10
  1044. end
  1045. elseif sz == 1 then
  1046. xszOffset = -(self.sepr) - 5
  1047. xposOffset = self.sepr/2
  1048. else
  1049. xszOffset = -4 + -(self.sepr/2)
  1050. xposOffset = self.sepr/2
  1051. end
  1052. if not ysz then ysz = 20 end
  1053. local obj = topkek.tools.util.Object("TextBox", {
  1054. Parent = self.main;
  1055. BackgroundColor3 = cbgd or color3(52, 52, 153);
  1056. BorderSizePixel = 0;
  1057. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1058. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1059. Font = 'SourceSans';
  1060. FontSize = 'Size14';
  1061. Text = txt;
  1062. TextSize = 14;
  1063. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1064. })
  1065. if ysz > self.drawHeight then
  1066. self.drawHeight = ysz
  1067. end
  1068. self.drawX = self.drawX + sz
  1069. if self.drawX > 0.998 then
  1070. self.drawY = self.drawY + 3 + self.drawHeight
  1071. self.drawX = 0
  1072. self.drawHeight = 0
  1073. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1074. end
  1075. return obj
  1076. end
  1077.  
  1078. function self:drawImage(sz, img, ysz)
  1079. local xposOffset = 0
  1080. local xposScale = self.drawX
  1081. local xszOffset = 0
  1082. local xszScale = sz
  1083. if not (self.drawX == 0) then
  1084. xszOffset = -5
  1085. if sz + self.drawX > 0.998 then
  1086. xszOffset = -12
  1087. end
  1088. elseif sz == 1 then
  1089. xszOffset = -(self.sepr) - 5
  1090. xposOffset = self.sepr/2
  1091. else
  1092. xszOffset = -5 + -(self.sepr/2)
  1093. xposOffset = self.sepr/2
  1094. end
  1095. if not ysz then ysz = 20 end
  1096. local obj = topkek.tools.util.Object("ImageLabel", {
  1097. Parent = self.main;
  1098. BackgroundTransparency = 1;
  1099. BorderColor3 = Color3.new(27, 42, 53);
  1100. BorderSizePixel = 0;
  1101. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1102. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1103. Image = img;
  1104. })
  1105. if ysz > self.drawHeight then
  1106. self.drawHeight = ysz
  1107. end
  1108. self.drawX = self.drawX + sz
  1109. if self.drawX > 0.998 then
  1110. self.drawY = self.drawY + 3 + self.drawHeight
  1111. self.drawX = 0
  1112. self.drawHeight = 0
  1113. if (not ncan) then
  1114. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1115. end
  1116. end
  1117. return obj
  1118. end
  1119.  
  1120. function self:drawText(sz, txt, ysz)
  1121. local xposOffset = 0
  1122. local xposScale = self.drawX
  1123. local xszOffset = 0
  1124. local xszScale = sz
  1125. if not (self.drawX == 0) then
  1126. xszOffset = -5
  1127. if sz + self.drawX > 0.998 then
  1128. xszOffset = -10
  1129. end
  1130. elseif sz == 1 then
  1131. local bzz = 5
  1132. if ncan then
  1133. bzz = 0
  1134. end
  1135. xszOffset = -(self.sepr) - bzz
  1136. xposOffset = self.sepr/2
  1137. else
  1138. xszOffset = -4 + -(self.sepr/2)
  1139. xposOffset = self.sepr/2
  1140. end
  1141. if not ysz then ysz = 20 end
  1142. local obj = topkek.tools.util.Object("TextLabel", {
  1143. Parent = self.main;
  1144. BackgroundColor3 = Color3.new(51/255, 51/255, 148/255);
  1145. BorderSizePixel = 0;
  1146. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1147. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1148. Font = 'SourceSans';
  1149. FontSize = 'Size14';
  1150. Text = txt;
  1151. TextSize = 14;
  1152. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1153.  
  1154. })
  1155. if ysz > self.drawHeight then
  1156. self.drawHeight = ysz
  1157. end
  1158. self.drawX = self.drawX + sz
  1159. if self.drawX > 0.998 then
  1160. self.drawY = self.drawY + 3 + self.drawHeight
  1161. self.drawX = 0
  1162. self.drawHeight = 0
  1163. if (not ncan) then
  1164. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1165. end
  1166. end
  1167. return obj
  1168. end
  1169.  
  1170.  
  1171. function self:drawScrollingContainer(ysz)
  1172. local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  1173. local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  1174. local obj = topkek.tools.util.Object("ScrollingFrame", {
  1175. Parent = self.main;
  1176. BackgroundColor3 = color3(42, 42, 117);
  1177. BorderSizePixel = 0;
  1178. Position = pos;
  1179. Size = sz;
  1180. BottomImage = 'rbxassetid://368504177';
  1181. MidImage = 'rbxassetid://368504177';
  1182. TopImage = 'rbxassetid://368504177';
  1183. ScrollBarThickness = 5;
  1184. })
  1185.  
  1186. self.drawY = self.drawY + 5 + ysz
  1187. self.drawX = 0
  1188. self.drawHeight = 0
  1189. if (not ncan) then
  1190. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1191. end
  1192. return topkek.tools.gui:hookContainer(obj, false, 10, 3)
  1193. end
  1194.  
  1195. function self:drawContainer(xsz, ysz, xz, tz, sep)
  1196. local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  1197. local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
  1198. local obj = topkek.tools.util.Object("Frame", {
  1199. Parent = self.main;
  1200. BackgroundColor3 = color3(42, 42, 117);
  1201. BorderSizePixel = 0;
  1202. Position = pos;
  1203. Size = sz;
  1204. })
  1205. if not xz then
  1206. self.drawY = self.drawY + 5 + ysz
  1207. end
  1208. self.drawX = 0
  1209. self.drawHeight = 0
  1210. if (not ncan) then
  1211. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1212. end
  1213. return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
  1214. end
  1215.  
  1216. function self:addSpacing()
  1217. self.drawY = self.drawY + 3
  1218. end
  1219.  
  1220. function self:center()
  1221. local a,c,b=
  1222. self.main.Position.X.Scale,
  1223. self.main.Position.X.Offset,self.main.Size.Y.Offset
  1224. self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  1225. end
  1226.  
  1227. return self
  1228. end
  1229.  
  1230. topkek.tools.animator.animateTo = function(source, dest)
  1231. print("nav",source,dest)
  1232. topkek.holder.Visible = false
  1233. local hclone = topkek.holder:Clone()
  1234. hclone.Parent = topkek.center
  1235. hclone.Name = 'animclone'
  1236. hclone.Visible = true
  1237. topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
  1238. source.Visible = false
  1239. dest.Visible = true
  1240. dest.Container.Visible = true
  1241. dest.Container.ZIndex = 1
  1242. dest.ZIndex = 1
  1243. topkek.holder.Visible = true
  1244. topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
  1245. hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
  1246. wait(0.3)
  1247. end
  1248. topkek.tools.animator.initialAnimation = function()
  1249. local function abspos(x)
  1250. return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
  1251. end
  1252. local function abssz(x)
  1253. return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
  1254. end
  1255. local holder = topkek.holder
  1256. local nav = topkek.navigator
  1257. local topnav = nav.Topbar
  1258. local topbar = topkek.topbar
  1259. local pname = topbar.PlayerName:Clone()
  1260. local solid = topkek.gui.Solid
  1261. topkek.center.Size = UDim2.new(0, 150, 0, 30)
  1262. topkek.gui.Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
  1263. topkek.gui.Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
  1264. wait(0.52)
  1265. solid.Visible = true
  1266. topkek.gui.Composite1:Destroy()
  1267. topkek.gui.Composite2:Destroy()
  1268. wait(3)
  1269. solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
  1270. solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
  1271. wait(0.52)
  1272. solid.Label:Destroy()
  1273. wait(0.12)
  1274. topkek.center.Visible = true
  1275. topnav.Visible = true
  1276. solid:Destroy()
  1277. pname.Position = UDim2.new(0, -170, 0, 0)
  1278. pname.Parent = topnav
  1279. pname.Visible = true
  1280. pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
  1281. wait(0.25)
  1282. topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
  1283. spawn(topkek.navigation.buildNavigator)
  1284. wait(0.35)
  1285. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
  1286. wait(0.35)
  1287. topbar.PlayerName.Visible = true
  1288. pname:Destroy()
  1289. AllowHovers = true
  1290. end
  1291. topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
  1292. topkek.navigation.windowState = 0
  1293. topkek.navigation.gotoContainer = function(cont)
  1294. topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
  1295. topkek.navigation.currentContainer = cont
  1296. end
  1297. topkek.navigation.buildNavigator = function()
  1298. local nav = topkek.navigator
  1299. local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
  1300. local btns = {}
  1301. for l, x in pairs(topkek.data.windows) do
  1302. local container = topkek.tools.util.getContainer(x)
  1303. local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
  1304. local ZPos = btn.Position
  1305. btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
  1306. btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
  1307. btn.LayoutOrder = l
  1308. btn.ZIndex = 4
  1309. local OPos = btn.Position
  1310. btn.MouseEnter:connect(function()
  1311. if AllowHovers == false then
  1312. return
  1313. end
  1314. for i, v in pairs(btns) do
  1315. if v[1] ~= btn then
  1316. v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
  1317. end
  1318. end
  1319. btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
  1320. end)
  1321. btn.MouseLeave:connect(function()
  1322. btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
  1323. end)
  1324. table.insert(btns, {btn, OPos})
  1325. wait()
  1326. end
  1327. end
  1328. topkek.navigation.buildTopbar = function()
  1329. local top = topkek.topbar
  1330. local FELabel = top.Controllers.IsFE
  1331. top.PlayerName.Text = topkek.lplr.Name
  1332. if game:GetService('Workspace').FilteringEnabled == true then
  1333. FELabel.Text = "FE Game"
  1334. FELabel.TextColor3 = BrickColor.new("Bright red").Color
  1335. else
  1336. FELabel.Text = "Not FE"
  1337. FELabel.TextColor3 = BrickColor.new("Bright green").Color
  1338. end
  1339. top.Controllers.Hide.MouseButton1Down:connect(function()
  1340. if topkek.navigation.windowState == 0 then
  1341. topkek.navigation.windowState = 1
  1342. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
  1343. else
  1344. topkek.navigation.windowState = 0
  1345. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
  1346. end
  1347. end)
  1348. top.Controllers.Exit.MouseButton1Down:connect(function()
  1349. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
  1350. wait(0.31)
  1351. topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
  1352. PlayerChatHook:disconnect()
  1353. end)
  1354.  
  1355. end
  1356. topkek.navigation.initCommandBar = function()
  1357. DistributedCmdBar, cmd = topkek.holder.Command, {}
  1358. loadstring(game:GetObjects("rbxassetid://685510751")[1].Source)()
  1359. DistributedCmdBar.FocusLost:connect(function(e)
  1360. if e == true then
  1361. cmd.commands.run(DistributedCmdBar.Text)
  1362. DistributedCmdBar.Text = ''
  1363. end
  1364. end)
  1365.  
  1366. PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
  1367. if cmd.util.isadmin(plr.Name) then
  1368. if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  1369. cmd.commands.run(msg:sub(2, #msg))
  1370. end
  1371. end
  1372. end)
  1373. end
  1374. topkek.navigation.buildHomePage = function()
  1375. local count = 0
  1376. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  1377. local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
  1378. hook:drawText(1, 'T0PK3K 4.0 blue editon by Jacoby')
  1379. hook:drawText(1, 'Patch version 1.0.5')
  1380. hook:drawText(1, 'Commandbase patch version 1.0.0')
  1381. hook:drawText(1, 'Number of commands: ' .. tostring(count))
  1382. local stime = hook:drawText(1, 'Server Time: 0')
  1383. spawn(function()
  1384. while true do
  1385. stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
  1386. wait(0.5)
  1387. end
  1388. end)
  1389. local ssz = hook:drawText(1, 'Server Size: 0')
  1390. spawn(function()
  1391. while true do
  1392. ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
  1393. wait(0.5)
  1394. end
  1395. end)
  1396. local fe = game:GetService('Workspace').FilteringEnabled
  1397. hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
  1398. hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
  1399. hook:drawText(1, 'I did not make this GUI, just redesigned it. \nCredits for making it goes to nosyliam.', 55)
  1400. end
  1401. topkek.navigation.buildContainers = function()
  1402. for _, v in pairs(topkek.data.windows) do
  1403. topkek.tools.gui:makeContainer(v)
  1404. end
  1405. end
  1406.  
  1407. topkek.navigation.initCommandBar()
  1408. topkek.navigation.buildContainers()
  1409. topkek.navigation.buildTopbar()
  1410. topkek.navigation.buildHomePage()
  1411. wait()
  1412.  
  1413. local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
  1414. local search = plrwin:drawButton(1, '', function()end)
  1415. drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
  1416. function fixPlayerDrop()
  1417. local t = {'All'}
  1418. for i, v in pairs(game.Players:GetPlayers()) do
  1419. table.insert(t, v.Name)
  1420. end
  1421. drop.SetTable(t)
  1422. end
  1423. game.Players.PlayerAdded:connect(function()
  1424. fixPlayerDrop()
  1425. end)
  1426. game.Players.PlayerRemoving:connect(function()
  1427. fixPlayerDrop()
  1428. end)
  1429. plrFrame = plrwin:drawContainer(1, 100)
  1430. headshotContainer = plrFrame:drawContainer(0.4, 94, true)
  1431. headshotContainer:setDrawY(20)
  1432. headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
  1433. headshotContainer:setDrawY(0)
  1434. userNameText = headshotContainer:drawText(1, "[All]")
  1435. userNameText.ClipsDescendants = true
  1436. userNameText.Font = Enum.Font.SourceSansBold
  1437. infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
  1438. infoContainer.BackgroundColor3 = color3(38, 38, 108)
  1439. userIdText = infoContainer:drawText(1, "ID: 0")
  1440. userAgeText = infoContainer:drawText(1, "Age: 0")
  1441. userTeamText = infoContainer:drawText(1, "Team: Neutral")
  1442. cval = 'All'
  1443. fixPlayerDrop()
  1444.  
  1445. function updatePlayer(plri)
  1446. local plr = game:GetService('Players'):FindFirstChild(plri)
  1447. if not plr and plri ~= 'All' then
  1448. print("Couldn't find player!")
  1449. updatePlayer(topkek.lplr)
  1450. else
  1451. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
  1452. userNameText.Text = "[All]"
  1453. userIdText.Text = 'ID: [multiple]'
  1454. userAgeText.Text = 'Age: [multiple]'
  1455. userTeamText.Text = 'Team: [multiple]'
  1456. cval = 'All'
  1457. end
  1458. local team = plr.TeamColor
  1459. if team == nil then
  1460. team = 'Neutral'
  1461. else
  1462. team = tostring(team)
  1463. end
  1464. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
  1465. userNameText.Text = plr.Name
  1466. userIdText.Text = 'ID: ' .. tostring(plr.UserId)
  1467. userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
  1468. userTeamText.Text = 'Team: ' .. team
  1469. cval = plr.Name
  1470.  
  1471. end
  1472. drop.Changed(updatePlayer)
  1473. plrwin:addSpacing()
  1474. plrwin:drawButton(1/2, 'Kick', function()
  1475. tk.dp(cval, function(p)
  1476. topkek.banmgr.executeKick(p)
  1477. end)
  1478. end)
  1479.  
  1480. plrwin:drawButton(1/2, 'Ban', function()
  1481. tk.dp(cval, function(p)
  1482. topkek.banmgr.addSoftBan(p)
  1483. end)
  1484. end)
  1485. plrwin:drawButton(1/2,'Friendlag', function()
  1486. tk.dp(cval, function(p)
  1487. for i = 1, 10 do
  1488. spawn(function()
  1489. while wait() do
  1490. game.Players.LocalPlayer:RequestFriendship(p)
  1491. game.Players.LocalPlayer:RevokeFriendship(p)
  1492. end
  1493. end)
  1494. end
  1495. end)
  1496. end)
  1497. plrwin:drawButton(1/2, 'Hardban', function()
  1498. tk.dp(cval, function(p)
  1499. topkek.banmgr.addHardBan(p)
  1500. end)
  1501. end)
  1502. plrwin:addSpacing()
  1503. plrwin:drawButton(1/2, 'Bring', function()
  1504. tk.dp(cval, function(z)
  1505. if z.Character then
  1506. z.Character.HumanoidRootPart.CFrame =
  1507. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  1508. end
  1509. end)
  1510. end)
  1511. plrwin:drawButton(1/2, 'Goto', function()
  1512. tk.dp(cval, function(z)
  1513. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
  1514. z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  1515. end)
  1516. end)
  1517. plrwin:addSpacing()
  1518. plrwin:drawButton(1/3, 'Kill', function()
  1519. tk.dp(cval, function(p)
  1520. if p.Character and p.Character:FindFirstChild("Humanoid") then
  1521. p.Character.Humanoid.Health = 0
  1522. end
  1523. end)
  1524. end)
  1525. plrwin:drawButton(1/3, 'Seizure', function()
  1526. tk.dp(cval, function(p)
  1527. if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
  1528. spawn(function()
  1529. p.Character.Humanoid.PlatformStand = true
  1530. tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0)
  1531. repeat
  1532. wait()
  1533. p.Character.Humanoid.PlatformStand = true
  1534. tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  1535. tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1536. until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
  1537. end)
  1538. end
  1539. end)
  1540. end)
  1541. plrwin:drawButton(1/3, 'Stun', function()
  1542. tk.dp(cval, function(p)
  1543. if p.Character and p.Character:FindFirstChild("Humanoid") then
  1544. p.Character.Humanoid.PlatformStand = true
  1545. p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  1546. end
  1547. end)
  1548. end)
  1549. plrwin:drawButton(1/3, 'Freeze', function()
  1550. tk.dp(cval, function(p)
  1551. if p.Character then
  1552. tk.gt(p).Anchored = true
  1553. end
  1554. end)
  1555. end)
  1556. plrwin:drawButton(1/3, 'Thaw', function()
  1557. tk.dp(cval, function(p)
  1558. if p.Character then
  1559. tk.gt(p).Anchored = false
  1560. end
  1561. end)
  1562. end)
  1563. plrwin:drawButton(1/3, 'Superslow', function()
  1564. tk.dp(cval, function(p)
  1565. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1566. p.Character.Humanoid.WalkSpeed = 1
  1567. end
  1568. end)
  1569. end)
  1570. plrwin:drawButton(1/3, 'Highjump', function()
  1571. tk.dp(cval, function(p)
  1572. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1573. p.Character.Humanoid.JumpPower = 125
  1574. end
  1575. end)
  1576. end)
  1577. plrwin:drawButton(1/3, 'God', function()
  1578. tk.dp(cval, function(p)
  1579. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1580. p.Character.Humanoid.MaxHealth = math.huge
  1581. p.Character.Humanoid.Health = math.huge
  1582. end
  1583. end)
  1584. end)
  1585. plrwin:drawButton(1/3, 'Semigod', function()
  1586. tk.dp(cval, function(p)
  1587. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1588. p.Character.Humanoid.MaxHealth = 9e9
  1589. p.Character.Humanoid.Health = 9e9
  1590. end
  1591. end)
  1592. end)
  1593. plrwin:drawButton(1/3, 'Fast', function()
  1594. tk.dp(cval, function(p)
  1595. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1596. p.Character.Humanoid.WalkSpeed = 50
  1597. end
  1598. end)
  1599. end)
  1600. Follow = false;
  1601. plrwin:drawButton(1/3, 'Annoy', function()
  1602. tk.dp(cval, function(p)
  1603. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1604. if Follow == true then
  1605. Follow = false; return
  1606. else Follow = true end
  1607. while Follow == true do
  1608. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
  1609. p.Character.HumanoidRootPart.CFrame
  1610. wait()
  1611. end
  1612. end
  1613. end)
  1614. end)
  1615. plrwin:drawButton(1/3, 'Freefall', function()
  1616. tk.dp(cval, function(p)
  1617. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1618. p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)
  1619. end
  1620. end)
  1621. end)
  1622. plrwin:drawButton(1/3, 'Destroy', function()
  1623. tk.dp(cval, function(p)
  1624. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1625. p.Character.Humanoid:Destroy()
  1626. end
  1627. end)
  1628. end)
  1629. plrwin:drawButton(1/3, 'Fix', function()
  1630. tk.dp(cval, function(p)
  1631. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1632. p.Character.Humanoid.Health = 100
  1633. p.Character.Humanoid.MaxHealth = 100
  1634. p.Character.Humanoid.JumpPower = 100
  1635. p.Character.Humanoid.WalkSpeed = 16
  1636. p.Character.Humanoid.PlatformStand = false
  1637. p.Character.Humanoid.Jump = true
  1638. end
  1639. end)
  1640. end)
  1641. plrwin:drawButton(1/3, 'Respawn', function()
  1642. tk.dp(cval, function(p)
  1643. if p.Character then
  1644. local a1 = Instance.new("Model", game:service'Workspace')
  1645. local a2 = Instance.new("Part", game:service'Workspace')
  1646. a2.CanCollide = true
  1647. a2.Anchored = true
  1648. a2.CFrame = CFrame.new(10000, 10000, 10000)
  1649. a2.Name = "Torso"
  1650. local a3 = Instance.new("Humanoid", a1)
  1651. a3.MaxHealth=100;a3.Health=100
  1652. p.Character = a1
  1653. a3.Health=0
  1654. end
  1655. end)
  1656. end)
  1657. plrwin:addSpacing()
  1658. local nameInp
  1659. plrwin:drawButton(1/3, 'Name', function()
  1660. tk.dp(cval, function(z)
  1661. local Character = z.Character
  1662. local newName = Instance.new("Model", z.Character)
  1663. newName.Name = nameInp.Text
  1664. local cl = Character:WaitForChild("Head"):Clone()
  1665. cl.Parent = newName
  1666. cl:WaitForChild("face"):Destroy()
  1667. local hum = Instance.new("Humanoid", newName)
  1668. hum.Name = "NameTag"
  1669. hum.MaxHealth = 0
  1670. hum.Health = 0
  1671. local weld = Instance.new("Weld", cl)
  1672. weld.Part0 = cl
  1673. weld.Part1 = Character:WaitForChild("Head")
  1674. Character:WaitForChild("Head").Transparency = 1
  1675. wait(.5)
  1676. cl.BrickColor = Character:WaitForChild("Head").BrickColor
  1677. end)
  1678. end)
  1679. nameInp = plrwin:drawTextBox(2/3, '')
  1680. local chatInp
  1681. plrwin:drawButton(1/3, 'Chat', function()
  1682. tk.dp(cval, function(z)
  1683. game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
  1684. end)
  1685. end)
  1686. chatInp = plrwin:drawTextBox(2/3, '')
  1687. local disgInp
  1688. plrwin:drawButton(1/3, 'Disguise', function()
  1689. tk.dp(cval, function(p)
  1690. local id = 0
  1691. if tonumber(disgInp.Text) then
  1692. id = tonumber(disgInp.Text)
  1693. else
  1694. id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
  1695. end
  1696. if p.Character:FindFirstChild("Humanoid") then
  1697. p.Character.Humanoid.Health = 0
  1698. end
  1699. p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  1700. end)
  1701. end)
  1702. disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
  1703. plrwin:addSpacing()
  1704. clrR = plrwin:drawTextBox(1/3, '0')
  1705. clrG = plrwin:drawTextBox(1/3, '0')
  1706. clrB = plrwin:drawTextBox(1/3, '0')
  1707. function getColor()
  1708. local r = tonumber(clrR.Text)
  1709. local g = tonumber(clrG.Text)
  1710. local b = tonumber(clrB.Text)
  1711. if not (r and g and b) then return Color3.new(0,0,0) end
  1712. return Color3.new(r/255, g/255, b/255)
  1713. end
  1714. plrwin:drawButton(1/3, 'Sparkles', function()
  1715. tk.dp(cval, function(z)
  1716. Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
  1717. end)
  1718. end)
  1719. plrwin:drawButton(1/3, 'Smoke', function()
  1720. tk.dp(cval, function(z)
  1721. Instance.new("Smoke", tk.gt(z)).Color = getColor()
  1722.  
  1723. end)
  1724. end)
  1725. plrwin:drawButton(1/3, 'Fire', function()
  1726. tk.dp(cval, function(z)
  1727. local fr = Instance.new("Fire", tk.gt(z))
  1728. fr.Color = getColor()
  1729. fr.Heat = 30
  1730. fr.Size = 20
  1731. end)
  1732. end)
  1733. plrwin:drawButton(1/3, 'Forcefield', function()
  1734. tk.dp(cval, function(z)
  1735. if z.Character then
  1736. Instance.new("ForceField", z.Character)
  1737. end
  1738. end)
  1739. end)
  1740. plrwin:drawButton(1/3, 'Select', function()
  1741. tk.dp(cval, function(z)
  1742. if z.Character and tk.gt(z) then
  1743. Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
  1744. end
  1745. end)
  1746. end)
  1747. plrwin:drawButton(1/3, 'Sphere', function()
  1748. tk.dp(cval, function(z)
  1749. if z.Character and tk.gt(z) then
  1750. Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
  1751. end
  1752. end)
  1753. end)
  1754. plrwin:drawButton(1/3, 'Fling', function()
  1755. tk.dp(cval, function(z)
  1756. spawn(function()
  1757. if z.Character and tk.gt(z) then
  1758. local xran, zran
  1759. repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
  1760. repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
  1761. z.Character.Humanoid.Sit = true
  1762. tk.gt(z).Velocity = Vector3.new(0,0,0)
  1763. local frc = Instance.new("BodyForce", tk.gt(z))
  1764. frc.Name = "BFRC"
  1765. frc.force = Vector3.new(xran*4,9999*5,zran*4)
  1766. game:GetService("Debris"):AddItem(frc, 0.1)
  1767. end
  1768. end)
  1769. end)
  1770. end)
  1771. plrwin:drawButton(1/3, 'Explode', function()
  1772. tk.dp(cval, function(z)
  1773. if z.Character and tk.gt(z) then
  1774. local explosion = Instance.new("Explosion")
  1775. explosion.Position = tk.gt(z).Position
  1776. explosion.Parent = workspace
  1777. end
  1778. end)
  1779. end)
  1780. plrwin:drawButton(1/3, 'Nuke', function()
  1781. tk.dp(cval, function(z)
  1782. if z.Character and tk.gt(z) then
  1783. local torso = tk.gt(z)
  1784. local nuke = Instance.new("Part", game.Workspace)
  1785. local opos = torso.CFrame
  1786. nuke.BrickColor = BrickColor.new("Bright yellow")
  1787. nuke.TopSurface = Enum.SurfaceType.Smooth
  1788. nuke.BottomSurface = Enum.SurfaceType.Smooth
  1789. nuke.Anchored = true
  1790. nuke.CanCollide = false
  1791. nuke.Shape = "Ball"
  1792. nuke.Transparency = 0.5
  1793. nuke.CFrame = torso.CFrame
  1794. nuke.Size = Vector3.new(1, 1, 1)
  1795. nuke.Touched:connect(function(p)
  1796. local expl = Instance.new("Explosion", p)
  1797. expl.BlastPressure = 50000
  1798. expl.BlastRadius = 50
  1799. expl.Position = p.Position
  1800. p.Material = Enum.Material.CorrodedMetal
  1801. p:BreakJoints()
  1802. end)
  1803. for i = 1, 150 do
  1804. nuke.Size = Vector3.new(i, i, i)
  1805. nuke.CFrame = opos
  1806. wait(0.08)
  1807. end
  1808. nuke:Destroy()
  1809. end
  1810. end)
  1811. end)
  1812. plrwin:drawButton(1/3, 'No Tools', function()
  1813. tk.dp(cval, function(p)
  1814. for _, t in pairs(p.Backpack:GetChildren()) do
  1815. t:Destroy()
  1816. end
  1817. end)
  1818. end)
  1819. plrwin:drawButton(1/3, 'Take Tools', function()
  1820. tk.dp(cval, function(p)
  1821. for _, t in pairs(p.Backpack:GetChildren()) do
  1822. t.Parent = game:service'Players'.LocalPlayer.Backpack
  1823. end
  1824. end)
  1825. end)
  1826. plrwin:drawButton(1/3, 'BTools', function()
  1827. tk.dp(cval, function(p)
  1828. local a = Instance.new("HopperBin")
  1829. a.BinType = "GameTool"
  1830. a.Parent = p.Backpack
  1831. local a = Instance.new("HopperBin")
  1832. a.BinType = "Clone"
  1833. a.Parent = p.Backpack
  1834. local a = Instance.new("HopperBin")
  1835. a.BinType = "Hammer"
  1836. a.Parent = p.Backpack
  1837. end)
  1838. end)
  1839. plrwin:drawButton(1/3, 'Hotdog', function()
  1840. tk.dp(cval, function(p)
  1841. if p.Character and tk.gt(p) then
  1842. topkek.tools.util.weenieHutJunior(p)
  1843. end
  1844. end)
  1845. end)
  1846. plrwin:drawButton(1/3, 'Quicksand', function()
  1847. tk.dp(cval, function(z)
  1848. if z.Character and z.Character:FindFirstChild("Humanoid") then
  1849. local tor = tk.gt(z)
  1850. local hole = Instance.new("Part", z.Character)
  1851. hole.Anchored = true
  1852. hole.Name = "Hole"
  1853. hole.FormFactor = Enum.FormFactor.Custom
  1854. hole.Size = Vector3.new(7, 1, 7)
  1855. hole.CanCollide = false
  1856. hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
  1857. hole.BrickColor = BrickColor.new("Cool yellow")
  1858. hole.Material = Enum.Material.Sand
  1859. local hm = Instance.new("CylinderMesh", hole)
  1860. tor.Anchored = true
  1861. if z.Character:FindFirstChild("Humanoid") then
  1862. z.Character.Humanoid.Jump = true
  1863. end
  1864. for x,m in pairs(z.Character:GetChildren()) do
  1865. if m:IsA("BasePart") or m:IsA("MeshPart") then
  1866. m.CanCollide = false
  1867. end
  1868. end
  1869. for i=1,75 do
  1870. tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  1871. wait(0.06)
  1872. end
  1873. tor.CFrame=tor.CFrame*CFrame.new(0,
  1874. -500,0
  1875. )
  1876. z.Character.Humanoid.Health = 0
  1877. end
  1878. end)
  1879. end)
  1880. plrwin:drawButton(1/3, 'Insane', function()
  1881. tk.dp(cval, function(p)
  1882. if p.Character and tk.gt(p) then
  1883. for i,v in pairs(tk.gt(p):GetChildren()) do
  1884. if v:IsA("Motor6D") then
  1885. spawn(function()
  1886. while v do
  1887. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  1888. wait()
  1889. end
  1890. end)
  1891. end
  1892. end
  1893. end
  1894. end)
  1895. end)
  1896. plrwin:drawButton(1/3, 'Invisible', function()
  1897. tk.dp(cval, function(p)
  1898. tk.rco(p.Character, 'BasePart', 'Transparency', 1)
  1899. tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
  1900. end)
  1901. end)
  1902. plrwin:drawButton(1/3, 'Visible', function()
  1903. tk.dp(cval, function(p)
  1904. tk.rco(p.Character, 'BasePart', 'Transparency', 0)
  1905. tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
  1906. end)
  1907. end)
  1908. plrwin:drawButton(1/3, 'Bighead', function()
  1909. tk.dp(cval, function(z)
  1910. if z.Character then
  1911. if z.Character:FindFirstChild('Head') then
  1912. z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
  1913. end
  1914. end
  1915. end)
  1916. end)
  1917. plrwin:drawButton(1/3, 'Goldify', function()
  1918. tk.dp(cval, function(z)
  1919. if z.Character then
  1920. tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
  1921. tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
  1922. tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
  1923. tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
  1924. end
  1925. end)
  1926. end)
  1927. plrwin:drawButton(1/3, 'Neon', function()
  1928. tk.dp(cval, function(z)
  1929. if z.Character then
  1930. tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
  1931. tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
  1932. end
  1933. end)
  1934. end)
  1935. plrwin:drawButton(1/3, 'Shiny', function()
  1936. tk.dp(cval, function(z)
  1937. if z.Character then
  1938. tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
  1939. tk.rcm(z.Character, 'MeshPart')
  1940. end
  1941. end)
  1942. end)
  1943. plrwin:drawButton(1/3, 'Shrek', function()
  1944. tk.dp(cval, function(z)
  1945. if z.Character then
  1946. local pchar = z.Character
  1947. for i,v in pairs(pchar:GetChildren()) do
  1948. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  1949. v:Destroy()
  1950. end
  1951. end
  1952. for i,v in pairs(pchar.Head:GetChildren()) do
  1953. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  1954. v:Destroy()
  1955. end
  1956. end
  1957.  
  1958. local mesh = Instance.new("SpecialMesh", pchar.Head)
  1959. mesh.MeshType = "FileMesh"
  1960. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  1961. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  1962. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  1963.  
  1964. local Shirt = Instance.new("Shirt", z.Character)
  1965. local Pants = Instance.new("Pants", z.Character)
  1966.  
  1967. Shirt.ShirtTemplate = "rbxassetid://133078194"
  1968. Pants.PantsTemplate = "rbxassetid://133078204"
  1969. end
  1970. end)
  1971. end)
  1972. plrwin:drawButton(1/3, 'Duck', function()
  1973. tk.dp(cval, function(z)
  1974. if z.Character then
  1975. local pchar = z.Character
  1976. for i,v in pairs(pchar:GetChildren()) do
  1977. if v:IsA("Hat") or v:IsA("Accessory") then
  1978. v:Destroy()
  1979. end
  1980. end
  1981. local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
  1982. duck.MeshType = "FileMesh"
  1983. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  1984. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  1985. duck.Scale = Vector3.new(5, 5, 5)
  1986. tk.rco(z.Character, 'Instance', 'Transparency', 1)
  1987. z.Character.HumanoidRootPart.Transparency = 0
  1988. end
  1989. end)
  1990. end)
  1991. plrwin:drawButton(1/3, 'Spheres', function()
  1992. tk.dp(cval, function(z)
  1993. if z.Character then
  1994. tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
  1995. end
  1996. end)
  1997. end)
  1998. plrwin:drawButton(1/3, 'Big', function()
  1999. tk.dp(cval, function(z)
  2000. if z.Character then
  2001. topkek.tools.util.scalePlayer(5, z)
  2002. end
  2003. end)
  2004. end)
  2005. plrwin:drawButton(1/3, 'Small', function()
  2006. tk.dp(cval, function(z)
  2007. if z.Character then
  2008. topkek.tools.util.scalePlayer(5, z)
  2009. end
  2010. end)
  2011. end)
  2012. plrwin:drawButton(1/3, 'Giraffe', function()
  2013. tk.dp(cval, function(z)
  2014. if z.Character then
  2015. local char=z.Character
  2016. local h=char.Head
  2017. local tor=char:FindFirstChild("Torso")
  2018. if not tor then return end
  2019. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  2020. local fn=Instance.new("Part",char)
  2021. fn.Size=Vector3.new(1,5.5,1)
  2022. fn.Name="FakeNeck"
  2023. fn.Anchored=false
  2024. fn.CanCollide=false
  2025. if char:FindFirstChild("Body Colors") then
  2026. fn.BrickColor=char["Body Colors"].HeadColor
  2027. end
  2028. local cm=Instance.new("CylinderMesh",fn)
  2029. local we=Instance.new("Weld",h)
  2030. we.Part0=h
  2031. we.Part1=fn
  2032. we.C1=we.C1*CFrame.new(0,2.6,0)
  2033. end
  2034. end)
  2035. end)
  2036. plrwin:drawButton(1/3, 'Dab', function()
  2037. tk.dp(cval, function(z)
  2038. if z.Character and z.Character:FindFirstChild("Torso") then
  2039. local chr = z.Character
  2040. chr.Animate.Disabled = true
  2041. 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)
  2042. 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)
  2043. 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)
  2044. end
  2045. end)
  2046. end)
  2047. plrwin:drawButton(1/3, 'Force Follow', function()
  2048. tk.dp(cval, function(z)
  2049. game:GetService("RunService"):BindToRenderStep("_", 0, function()
  2050. z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
  2051. end)
  2052. end)
  2053. end)
  2054. plrwin:drawButton(1/3, 'Camlock', function()
  2055. tk.dp(cval, function(z)
  2056. z.CameraMode = "LockFirstPerson"
  2057. end)
  2058. end)
  2059.  
  2060. local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
  2061. local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
  2062. detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
  2063. detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
  2064. detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
  2065. servwin:drawButton(1/2, 'Shutdown', function()
  2066. workspace.Gravity = 0/0
  2067. end)
  2068. servwin:drawButton(1/2, 'Clear', function()
  2069. for i,v in pairs(game:service'Workspace':GetChildren()) do
  2070. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  2071. v:Destroy()
  2072. end
  2073. end
  2074. end)
  2075. servwin:drawButton(1/2, 'Baseplate', function()
  2076. for X = -2500, 2500, 512 do
  2077. for Z = -2500, 2500, 512 do
  2078. local P = Instance.new("Part")
  2079. P.Anchored = true
  2080. P.Locked = true
  2081. P.Size = Vector3.new(512,3,512)
  2082. P.CFrame = CFrame.new(X,0,Z)
  2083. P.BrickColor = BrickColor.Green()
  2084. P.Parent = game:service'Workspace'
  2085. end
  2086. end
  2087. end)
  2088. servwin:drawButton(1/2, 'Reset', function()
  2089. for i,v in pairs(game:service'Workspace':GetChildren()) do
  2090. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  2091. v:Destroy()
  2092. end
  2093. end
  2094. for X = -2500, 2500, 512 do
  2095. for Z = -2500, 2500, 512 do
  2096. local P = Instance.new("Part")
  2097. P.Anchored = true
  2098. P.Locked = true
  2099. P.Size = Vector3.new(512,3,512)
  2100. P.CFrame = CFrame.new(X,0,Z)
  2101. P.BrickColor = BrickColor.Green()
  2102. P.Parent = game:service'Workspace'
  2103. end
  2104. end
  2105. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  2106. local a1 = Instance.new("Model", game:service'Workspace')
  2107. local a2 = Instance.new("Part", game:service'Workspace')
  2108. a2.CanCollide = true
  2109. a2.Anchored = true
  2110. a2.CFrame = CFrame.new(10000, 10000, 10000)
  2111. a2.Name = "Torso"
  2112. local a3 = Instance.new("Humanoid", a1)
  2113. a3.MaxHealth=100;a3.Health=100
  2114. v.Character = a1
  2115. a3.Health=0
  2116. end
  2117. end)
  2118. servwin:drawButton(1, 'Remove Sounds', function()
  2119. tk.rcm(game, 'Sound')
  2120. end)
  2121. servwin:addSpacing()
  2122. servwin:drawButton(1, 'Break All', function()
  2123. workspace:BreakJoints(workspace:GetChildren())
  2124. end)
  2125. local gravInp
  2126. servwin:drawButton(1/3, 'Gravity', function()
  2127. if not tonumber(gravInp.Text) then return end
  2128. workspace.Gravity = tonumber(gravInp.Text)
  2129. end)
  2130. gravInp = servwin:drawTextBox(2/3, '')
  2131. servwin:addSpacing()
  2132. servwin:drawButton(1, 'Reset Lighting', function()
  2133. local l = game:service'Lighting'
  2134. l.Ambient = Color3.new(0, 0, 0)
  2135. l.Brightness = 1
  2136. l.GlobalShadows = true
  2137. l.Outlines = true
  2138. l.FogEnd = 100000
  2139. l.FogStart = 0
  2140. l:SetMinutesAfterMidnight(12*60)
  2141. end)
  2142. local brightInp
  2143. servwin:drawButton(1/3, 'Brightness', function()
  2144. if not tonumber(brightInp.Text) then return end
  2145. game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
  2146. end)
  2147. brightInp = servwin:drawTextBox(2/3, '100')
  2148. local fogInp
  2149. servwin:drawButton(1/3, 'Fog', function()
  2150. if not tonumber(fogInp.Text) then return end
  2151. game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
  2152. end)
  2153. fogInp = servwin:drawTextBox(2/3, '0')
  2154. local timeInp
  2155. servwin:drawButton(1/3, 'Hour', function()
  2156. if not tonumber(timeInp.Text) then return end
  2157. game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
  2158. end)
  2159. timeInp = servwin:drawTextBox(2/3, '12')
  2160. servwin:addSpacing()
  2161. local privateToggle
  2162. local privStatus = false
  2163. privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
  2164. if privStatus == false then
  2165. privStatus = true
  2166. privateToggle.Text = 'Private Server ON'
  2167. topkek.banmgr.makePrivate()
  2168. else
  2169. privateToggle.Text = 'Private Server OFF'
  2170. topkek.banmgr.unprivate()
  2171. end
  2172. end)
  2173. servwin:addSpacing()
  2174. servwin:drawText(1, 'Whitelist')
  2175. local plrAddInp
  2176. servwin:drawButton(1/3, 'Add', function()
  2177. topkek.banmgr.doWhitelist(plrAddInp.Text)
  2178. ReorderWL()
  2179. end)
  2180. plrAddInp = servwin:drawTextBox(2/3, '')
  2181. wlCont = servwin:drawScrollingContainer(100)
  2182. function ReorderWL()
  2183. local wl = topkek.banmgr.whitelist
  2184. for i,v in pairs(wlCont:GetChildren()) do
  2185. v:Destroy()
  2186. end
  2187. wlCont:setDrawY(3)
  2188. for i,v in pairs(wl) do
  2189. wlCont:drawText(2/3, v)
  2190. wlCont:drawButton(1/3, 'Remove', function()
  2191. topkek.banmgr.unwhitelist(v)
  2192. ReorderWL()
  2193. end)
  2194. end
  2195. end
  2196. ReorderWL()
  2197. local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
  2198. lpwin:drawButton(1, 'Reset Camera', function()
  2199. game.Workspace.CurrentCamera:remove()
  2200. wait(.1)
  2201. game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or
  2202. game.Workspace[topkek.lplr.Name].Humanoid
  2203. game.Workspace.CurrentCamera.CameraType = "Custom"
  2204. end)
  2205. lpwin:drawButton(1, 'Respawn', function()
  2206. local a1 = Instance.new("Model", game:service'Workspace')
  2207. local a2 = Instance.new("Part", game:service'Workspace')
  2208. a2.CanCollide = true
  2209. a2.Anchored = true
  2210. a2.CFrame = CFrame.new(10000, 10000, 10000)
  2211. a2.Name = "Torso"
  2212. local a3 = Instance.new("Humanoid", a1)
  2213. a3.MaxHealth=100;a3.Health=100
  2214. topkek.lplr.Character = a1
  2215. a3.Health=0
  2216. end)
  2217. lpwin:drawButton(1, 'Rejoin', function()
  2218. game:GetService('TeleportService'):Teleport(game.PlaceId)
  2219. end)
  2220. lpwin:addSpacing()
  2221. lpwin:drawButton(1/2, 'God', function()
  2222. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  2223. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  2224. topkek.lplr.Character.Humanoid.Health = math.huge
  2225. end
  2226. end)
  2227. lpwin:drawButton(1/2, 'Semigod', function()
  2228. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  2229. topkek.lplr.Character.Humanoid.MaxHealth = 9e9
  2230. topkek.lplr.Character.Humanoid.Health = 9e9
  2231. end
  2232. end)
  2233. Loopgod = false
  2234. lpwin:drawButton(1, 'Loopgod', function()
  2235. if Loopgod == false then
  2236. Loopgod = true
  2237. spawn(function()
  2238. repeat
  2239. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  2240. topkek.lplr.Character.Humanoid.Health = math.huge
  2241. wait()
  2242. until Loopgod == false
  2243. end)
  2244. else
  2245. Loopgod = false
  2246. end
  2247. end)
  2248. lpwin:addSpacing()
  2249. plrwin:addSpacing()
  2250. local Lev, Clip, Fly
  2251. lpwin:drawButton(1/2, 'Levitate', function()
  2252. if Lev == true then
  2253. Lev = false
  2254. return
  2255. end
  2256. Lev = true
  2257. repeat
  2258. topkek.lplr.Character.Humanoid:ChangeState(10)
  2259. wait(0)
  2260. until Lev == false
  2261. end)
  2262. lpwin:drawButton(1/2, 'Noclip', function()
  2263. if Clip == true then
  2264. Clip = false
  2265. return
  2266. end
  2267. Clip = true
  2268. game:GetService("RunService").Stepped:connect(function()
  2269. tk.gt(topkek.lplr).CanCollide = not Clip
  2270. topkek.lplr.Character.Head.CanCollide = not Clip
  2271. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  2272. if topkek.lplr.Character.UpperTorso then
  2273. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  2274. end
  2275. end)
  2276. topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
  2277. tk.gt(topkek.lplr).CanCollide = not Clip
  2278. topkek.lplr.Character.Head.CanCollide = not Clip
  2279. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  2280. if topkek.lplr.Character.UpperTorso then
  2281. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  2282. end
  2283. end)
  2284. end)
  2285. lpwin:drawButton(1/2, 'Fly', function()
  2286. if Fly == true then
  2287. Fly = false
  2288. return
  2289. end
  2290. Fly = true
  2291. local mouse=game.Players.LocalPlayer:GetMouse''
  2292. localplayer=game.Players.LocalPlayer
  2293. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  2294. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  2295. local speed=0
  2296. local keys={a=false,d=false,w=false,s=false}
  2297. local e1
  2298. local e2
  2299. local function start()
  2300. local pos = Instance.new("BodyPosition",torso)
  2301. local gyro = Instance.new("BodyGyro",torso)
  2302. pos.Name="EPIXPOS"
  2303. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2304. pos.position = torso.Position
  2305. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2306. gyro.cframe = torso.CFrame
  2307. repeat
  2308. wait()
  2309. localplayer.Character.Humanoid.PlatformStand=true
  2310. local new=gyro.cframe - gyro.cframe.p + pos.position
  2311. if not keys.w and not keys.s and not keys.a and not keys.d then
  2312. speed=1
  2313. end
  2314. if keys.w then
  2315. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2316. speed=speed+0.01
  2317. end
  2318. if keys.s then
  2319. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2320. speed=speed+0.01
  2321. end
  2322. if keys.d then
  2323. new = new * CFrame.new(speed,0,0)
  2324. speed=speed+0.01
  2325. end
  2326. if keys.a then
  2327. new = new * CFrame.new(-speed,0,0)
  2328. speed=speed+0.01
  2329. end
  2330. if speed>5 then
  2331. speed=5
  2332. end
  2333. pos.position=new.p
  2334. if keys.w then
  2335. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  2336. elseif keys.s then
  2337. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  2338. else
  2339. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  2340. end
  2341. until not Fly
  2342. if gyro then gyro:Destroy() end
  2343. if pos then pos:Destroy() end
  2344. flying=false
  2345. localplayer.Character.Humanoid.PlatformStand=false
  2346. speed=0
  2347. end
  2348. e1=mouse.KeyDown:connect(function(key)
  2349. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  2350. if key=="w" then
  2351. keys.w=true
  2352. elseif key=="s" then
  2353. keys.s=true
  2354. elseif key=="a" then
  2355. keys.a=true
  2356. elseif key=="d" then
  2357. keys.d=true
  2358. end
  2359. end)
  2360. e2=mouse.KeyUp:connect(function(key)
  2361. if key=="w" then
  2362. keys.w=false
  2363. elseif key=="s" then
  2364. keys.s=false
  2365. elseif key=="a" then
  2366. keys.a=false
  2367. elseif key=="d" then
  2368. keys.d=false
  2369. end
  2370. end)
  2371. start()
  2372. end)
  2373. lpwin:drawButton(1/2, 'Highjump', function()
  2374. local thrust = Instance.new("BodyVelocity")
  2375. game:GetService('UserInputService').InputBegan:connect(function(i, b)
  2376. if i.KeyCode == Enum.KeyCode.Space then
  2377. print("Got jump")
  2378. coroutine.resume(coroutine.create(function()
  2379. thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  2380. thrust.velocity = Vector3.new(0,50,0)
  2381. thrust.maxForce = Vector3.new(0,4e+050,0)
  2382. wait(0.2)
  2383. thrust.Parent = nil
  2384. end))
  2385. end
  2386. end)
  2387. end)
  2388. lpwin:addSpacing()
  2389. local apprInp
  2390. lpwin:drawButton(1/3, 'Appearance', function()
  2391. local id = 0
  2392. if tonumber(apprInp.Text) then
  2393. id = tonumber(apprInp.Text)
  2394. else
  2395. id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
  2396. end
  2397. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  2398. topkek.lplr.Character.Humanoid.Health = 0
  2399. end
  2400. topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  2401. end)
  2402. apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
  2403. local teamInp
  2404. lpwin:drawButton(1/3, 'Team', function()
  2405. topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
  2406. end)
  2407. teamInp = lpwin:drawTextBox(2/3, 'Bright red')
  2408. lpwin:drawButton(1/2, 'Naked', function()
  2409. topkek.lplr:ClearCharacterAppearance()
  2410. end)
  2411. lpwin:drawButton(1/2, 'Neutral', function()
  2412. topkek.lplr.Neutral = true
  2413. end)
  2414. lpwin:addSpacing()
  2415. lpwin:drawButton(1/2, 'Orb', function()
  2416. game.Players.LocalPlayer.Character = nil
  2417. local cam = game.Workspace.CurrentCamera
  2418. local m = Instance.new("Model", game.Workspace)
  2419. m.Name = game.Players.LocalPlayer.Name
  2420. local hum = Instance.new("Humanoid", m)
  2421. hum.Health = 0
  2422. hum.MaxHealth = 0
  2423. local orb = Instance.new("Part", m)
  2424. orb.Size = Vector3.new(1, 1, 1)
  2425. orb.Shape = "Ball"
  2426. orb.Name = "Head"
  2427. orb.Anchored = true
  2428. orb.CanCollide = true
  2429. orb.BottomSurface = Enum.SurfaceType.Smooth
  2430. orb.TopSurface = Enum.SurfaceType.Smooth
  2431. orb.Transparency = 0
  2432. spawn(function()
  2433. while true do
  2434. wait(0.1)
  2435. if orb then
  2436. orb.BrickColor = BrickColor.Random()
  2437. else break end
  2438. end
  2439. end)
  2440. cam.CameraSubject = orb
  2441. cam.CameraType = Enum.CameraType.Fixed
  2442. game:GetService("RunService").RenderStepped:connect(function()
  2443. orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  2444. end)
  2445. game.Players.LocalPlayer.Chatted:connect(function(a)
  2446. game:GetService("Chat"):Chat(orb, a)
  2447. end)
  2448. end)
  2449. lpwin:drawButton(1/2, 'Freecam', function()
  2450. local cam = game.Workspace.CurrentCamera
  2451. cam.CameraType = "Fixed"
  2452. cam.CameraSubject = nil
  2453. topkek.lplr.Character = nil
  2454. end)
  2455. lpwin:drawButton(1/2, 'NoGrav', function()
  2456. if topkek.lplr.Character then
  2457. for x,m in pairs(topkek.lplr.Character:GetChildren()) do
  2458. if m:IsA("BasePart") then
  2459. local bf = Instance.new("BodyForce", m)
  2460. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  2461. end
  2462. if m:IsA("Hat") or m:IsA("Accessory") then
  2463. if m:findFirstChild("Handle") then
  2464. local bf = Instance.new("BodyForce", m.Handle)
  2465. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  2466. end
  2467. end
  2468. end
  2469. end
  2470. end)
  2471. lpwin:drawButton(1/2, 'Trowel', function()
  2472. topkek.tools.util.trowel()
  2473. end)
  2474. lpwin:addSpacing()
  2475. lpwin:drawButton(1/2, 'Fedora', function()
  2476. local hats={
  2477. 98346834,
  2478. 215751161,
  2479. 119916949,
  2480. 72082328,
  2481. 147180077,
  2482. 100929604,
  2483. 63043890,
  2484. 1285307,
  2485. 1029025,
  2486. 334663683,
  2487. 259423244
  2488. }
  2489. game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
  2490. end)
  2491. lpwin:drawButton(1/2, 'Rainbow Name', function()
  2492. topkek.lplr.Neutral = false
  2493. repeat
  2494. wait()
  2495. topkek.lplr.TeamColor = BrickColor.Random()
  2496. until not topkek.lplr.Character.Humanoid
  2497. end)
  2498. local tagInp
  2499. lpwin:drawButton(1/3, 'Tag', function()
  2500. local len = 10
  2501. local bb = Instance.new("BillboardGui")
  2502. bb.Parent = topkek.lplr.Character.Head
  2503. bb.Adornee = topkek.lplr.Character.Head
  2504. bb.AlwaysOnTop = true
  2505. bb.Enabled = true
  2506. bb.Size = UDim2.new(len, 0, 1.5, 0)
  2507. bb.Name = "tag"
  2508. bb.StudsOffset = Vector3.new(0, 3, 0)
  2509. local tl = Instance.new("TextLabel")
  2510. tl.Parent = bb
  2511. tl.Font = Enum.Font.Code
  2512. tl.BackgroundTransparency = 1
  2513. tl.TextScaled = true
  2514. tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  2515. tl.Size = UDim2.new(1, 0, 1, 0)
  2516. tl.Text = tagInp.Text
  2517. tl.Name = "trutag"
  2518. tl.Visible = true
  2519. tl.ZIndex = 2
  2520. end)
  2521. tagInp = lpwin:drawTextBox(2/3, '')
  2522. local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
  2523. local search = scriptwin:drawTextBox(1,'')
  2524. local origy = scriptwin:getDrawY()
  2525. scriptwin:addSpacing()
  2526. scriptwin:addSpacing()
  2527. local scripts = game:GetObjects("rbxassetid://376553985")[1]
  2528. local container = {}
  2529. function MakeList(condition)
  2530. for i,v in pairs(scriptwin:GetChildren()) do
  2531. if v.Name == "Script" then
  2532. v:Destroy()
  2533. end
  2534. end
  2535. scriptwin:setDrawY(origy)
  2536. for i, v in pairs(scripts:GetChildren()) do
  2537. if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
  2538. local scr = scriptwin:drawButton(1, v.Name, function()
  2539. spawn(function() loadstring(v.Source)() end)
  2540. end, 25)
  2541. scr.Name = 'Script'
  2542. end
  2543. end
  2544. end
  2545. game:GetService("UserInputService").InputChanged:connect(function(inp)
  2546. if inp.UserInputType == Enum.UserInputType.TextInput then
  2547. if search:IsFocused() then
  2548. MakeList(search.Text)
  2549. end
  2550. end
  2551. end)
  2552. MakeList('')
  2553. local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
  2554. local decals, seldec = destwin:drawScrollingContainer(100)
  2555. seldec = destwin:drawText(1, 'Selected Decal: None')
  2556. cursel = nil
  2557. local decs = {
  2558. {'Rain', '574772793'},
  2559. {'Robbie', '574773630'},
  2560. {'Pepe', '244905904'},
  2561. {'Troll Face', '48308661'},
  2562. {'Jeff', '109129888'},
  2563. {'Shrek', '170539018'},
  2564. {'Doge', '133720697'},
  2565. {'Dat Boi', '409578848'},
  2566. }
  2567. for _, v in pairs(decs) do
  2568. local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
  2569. topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  2570. end
  2571. destwin:drawButton(1, 'Spam Decal', function()
  2572. if cursel ~= nil then
  2573. topkek.tools.util.recurseDecal(tonumber(cursel))
  2574. end
  2575. end)
  2576. destwin:drawButton(1, 'Spam Particles', function()
  2577. if cursel ~= nil then
  2578. topkek.tools.util.recurseParticles(tonumber(cursel))
  2579. end
  2580. end)
  2581. destwin:drawButton(1, 'Spam Both', function()
  2582. if cursel ~= nil then
  2583. topkek.tools.util.recurseUltimate(tonumber(cursel))
  2584. end
  2585. end)
  2586. destwin:drawButton(1, 'Rollback', function()
  2587. tk.rcm(workspace, 'Decal')
  2588. tk.rcm(workspace, 'ParticleEmitter')
  2589. end)
  2590. destwin:addSpacing()
  2591. destwin:drawButton(1, '666', function()
  2592. for i,v in next,workspace:children''do
  2593. if(v:IsA'BasePart')then
  2594. me=v;
  2595. bbg=Instance.new('BillboardGui',me);
  2596. bbg.Name='stuf';
  2597. bbg.Adornee=me;
  2598. bbg.Size=UDim2.new(2.5,0,2.5,0)
  2599. tlb=Instance.new'TextLabel';
  2600. tlb.Text='666 666 666 666 666 666';
  2601. tlb.Font='SourceSansBold';
  2602. tlb.FontSize='Size48';
  2603. tlb.TextColor3=Color3.new(1,0,0);
  2604. tlb.Size=UDim2.new(1.25,0,1.25,0);
  2605. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  2606. tlb.BackgroundTransparency=1;
  2607. tlb.Parent=bbg;
  2608. end;end;
  2609. s=Instance.new'Sound';
  2610. s.Parent=workspace;
  2611. s.SoundId='rbxassetid://152840862';
  2612. s.Pitch=1;
  2613. s.Volume=1;
  2614. s.Looped=true;
  2615. s:play();
  2616. function xds(dd)
  2617. for i,v in next,dd:children''do
  2618. if(v:IsA'BasePart')then
  2619. v.BrickColor=BrickColor.new'Really black';
  2620. v.TopSurface='Smooth';
  2621. v.BottomSurface='Smooth';
  2622. s=Instance.new('SelectionBox',v);
  2623. s.Adornee=v;
  2624. s.Color=BrickColor.new'Really red';
  2625. a=Instance.new('PointLight',v);
  2626. a.Color=Color3.new(1,0,0);
  2627. a.Range=15;
  2628. a.Brightness=5;
  2629. f=Instance.new('Fire',v);
  2630. f.Size=19;
  2631. f.Heat=22;
  2632. end;
  2633. game.Lighting.TimeOfDay=0;
  2634. game.Lighting.Brightness=0;
  2635. game.Lighting.ShadowColor=Color3.new(0,0,0);
  2636. game.Lighting.Ambient=Color3.new(1,0,0);
  2637. game.Lighting.FogEnd=200;
  2638. game.Lighting.FogColor=Color3.new(0,0,0);
  2639. local dec = 'http://www.roblox.com/asset/?id=19399245';
  2640. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  2641. if #(v:GetChildren())>0 then
  2642. xds(v)
  2643. end
  2644. end
  2645. end
  2646. xds(game.Workspace)
  2647. end)
  2648. destwin:drawButton(1, 'Troll', function()
  2649. topkek.tools.util.recurseUltimate('48308661')
  2650. tk.play(154664102)
  2651. end)
  2652. destwin:addSpacing()
  2653. destwin:drawButton(1/2,'Colorize',function()
  2654. local materiallist =
  2655. {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  2656. Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  2657. Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  2658. Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  2659. Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  2660. local function r(where)
  2661. for _,v in pairs (where:GetChildren()) do
  2662. if v:IsA("BasePart") then
  2663. spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
  2664. end)
  2665. destwin:drawButton(1/2,'Materialize',function()
  2666. local function r(where)
  2667. for _,v in pairs (where:GetChildren()) do
  2668. if v:IsA("BasePart") then
  2669. spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
  2670. end)
  2671. destwin:drawButton(1/2,'Meshify',function()
  2672. local enums={
  2673. Enum.MeshType.Head;
  2674. Enum.MeshType.Torso;
  2675. Enum.MeshType.Wedge;
  2676. Enum.MeshType.Brick;
  2677. Enum.MeshType.Sphere;
  2678. Enum.MeshType.Cylinder;
  2679. }
  2680. tk.rcf('BasePart',function(o)
  2681. local mesh = Instance.new('SpecialMesh', o)
  2682. mesh.MeshType = enums[math.random(1,#enums)]
  2683. end)
  2684. end)
  2685. destwin:drawButton(1/2,'Loop-Meshify',function()
  2686. coroutine.wrap(function()
  2687. while true do
  2688. local enums={
  2689. Enum.MeshType.Head;
  2690. Enum.MeshType.Torso;
  2691. Enum.MeshType.Wedge;
  2692. Enum.MeshType.Brick;
  2693. Enum.MeshType.Sphere;
  2694. Enum.MeshType.Cylinder;
  2695. }
  2696. tk.rcf('BasePart',function(o)
  2697. if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  2698. local mesh = Instance.new('SpecialMesh', o)
  2699. mesh.MeshType = enums[math.random(1,#enums)]
  2700. end)
  2701. wait(0.5)
  2702. end
  2703. end)()
  2704. end)
  2705. destwin:addSpacing()
  2706. destwin:drawButton(1, 'Rotations', function()
  2707. tk.rcf('BasePart', function(o)
  2708. o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  2709. end)
  2710. end)
  2711. destwin:drawButton(1, 'Collisions', function()
  2712. tk.rcf('BasePart', function(o)
  2713. o.CanCollide = false
  2714. end)
  2715. end)
  2716. destwin:drawButton(1, 'Velocity', function()
  2717. tk.rcf('BasePart', function(o)
  2718. o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  2719. end)
  2720. end)
  2721. destwin:drawButton(1, 'Invisiblity', function()
  2722. tk.rcf('BasePart', function(o)
  2723. o.Transparency = 1
  2724. end)
  2725. end)
  2726. destwin:drawButton(1, 'BreakJoints', function()
  2727. tk.rcf('Model', function(o)
  2728. o:BreakJoints()
  2729. end)
  2730. end)
  2731. destwin:drawButton(1, 'Forces', function()
  2732. tk.rcf('BasePart', function(o)
  2733. local bf = Instance.new("BodyForce", o)
  2734. bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
  2735. end)
  2736. end)
  2737. destwin:drawButton(1, 'Brightness', function()
  2738. tk.rcf('BasePart', function(o)
  2739. local light = Instance.new("SpotLight", o)
  2740. light.Brightness = 9e9
  2741. light.Range = 60
  2742. end)
  2743. end)
  2744.  
  2745. local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
  2746. local page, currentkeyword = 1, ""
  2747. local searchbar, search, makeCatalog, res = 0, 0, 0, {}
  2748. local searchbar = catwin:drawTextBox(2/3,'')
  2749. local search = catwin:drawButton(1/3, 'Search', function()
  2750. page = 1
  2751. currentkeyword = searchbar.Text
  2752. makeCatalog(currentkeyword, page)
  2753. end)
  2754. local previous = catwin:drawButton(1/2, 'Previous Page', function()
  2755. if page > 1 then
  2756. page = page - 1
  2757. makeCatalog(currentkeyword, page)
  2758. end
  2759. end)
  2760. local previous = catwin:drawButton(1/2, 'Next Page', function()
  2761. if page >= 1 then
  2762. page = page + 1
  2763. makeCatalog(currentkeyword, page)
  2764. end
  2765. end)
  2766. local catalog_start = catwin:getDrawY()
  2767. function split(str,divider)
  2768. local found = ""
  2769. local results = {}
  2770. for i=1,string.len(str) do
  2771. if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
  2772. table.insert(results, found)
  2773. found = ""
  2774. else
  2775. found = found..string.sub(str,i,i)
  2776. end
  2777. end
  2778. table.insert(results, found)
  2779. return results
  2780. end
  2781. function GetName(nm)
  2782. local spl = split(nm," ")
  2783. local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
  2784. return (a.." "..b.." "..c.." "..d.." "..e)
  2785. end
  2786. function makeCatalog(keyword, page)
  2787. local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
  2788. local results = game:HttpGet(endpoint, true)
  2789. local parse = game:GetService('HttpService'):JSONDecode(results)
  2790. for i, v in pairs(res) do
  2791. v:Destroy()
  2792. end
  2793. catwin:setDrawY(catalog_start)
  2794. catwin:addSpacing()
  2795. for i, v in pairs(parse) do
  2796. local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
  2797. local below = topkek.tools.util.Object("TextButton", {
  2798. Parent = img;
  2799. BackgroundColor3 = Color3.new(57/255, 57/255, 163/255);
  2800. BorderSizePixel = 0;
  2801. Position = UDim2.new(0, -45, 1, 5);
  2802. Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
  2803. Font = 'SourceSans';
  2804. FontSize = 'Size14';
  2805. Text = GetName(v['Name']);
  2806. TextSize = 14;
  2807. TextColor3 = color3(199, 199, 199);
  2808. TextStrokeTransparency = 0.5;
  2809. ClipsDescendants = true;
  2810. })
  2811. below.MouseButton1Down:connect(function()
  2812. local Model = Instance.new("Model", workspace)
  2813. game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
  2814. Model:MakeJoints()
  2815. Model:MoveTo(topkek.lplr.Character.Head.Position)
  2816. end)
  2817. img.Size=UDim2.new(0,50,0,50)
  2818. img.Position=img.Position+UDim2.new(0,45,0,0)
  2819. if (i%2)==0 then
  2820. catwin:setDrawY(catwin:getDrawY() + 25)
  2821. end
  2822. if (i==10) then
  2823. catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
  2824. end
  2825. table.insert(res,img)
  2826. end
  2827. end
  2828. makeCatalog("", 1)
  2829.  
  2830. cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
  2831. count = 0
  2832. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  2833. cmdwin:drawText(1, tostring(count) .. " Commands")
  2834. cmdwin:drawText(1, 'Chat Prefix: /')
  2835. local cmdlist = cmdwin:drawScrollingContainer(260)
  2836. for i, v in pairs(cmd.commands.fmtstore) do
  2837. local xfmt = {}
  2838. local str = " ;" .. i .. " "
  2839. for form in v:gmatch("[^%%]+") do
  2840. if form ~= 'cmd' then
  2841. if form == 'inf' then form = 'str' end
  2842. str = str .. "{" .. form .. "} "
  2843. end
  2844. end
  2845. cmdlist:drawText(1, str)
  2846. end
  2847.  
  2848. musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
  2849. Sounds = {
  2850. {"caramell", 2303479};
  2851. {"epic", 27697743};
  2852. {"rick", 2027611};
  2853. {"halo", 1034065};
  2854. {"pokemon", 1372261};
  2855. {"cursed", 1372257};
  2856. {"extreme", 11420933};
  2857. {"awaken", 27697277};
  2858. {"alone", 27697392};
  2859. {"mario", 1280470};
  2860. {"choir", 1372258};
  2861. {"chrono" ,1280463};
  2862. {"dotr", 11420922};
  2863. {"entertain", 27697267};
  2864. {"fantasy", 1280473};
  2865. {"final", 787};
  2866. {"organ", 11231513};
  2867. {"tunnel", 9650822}
  2868. }
  2869.  
  2870. local cursel
  2871. local xcursel = 0
  2872. scr = musicwin:drawScrollingContainer(230)
  2873. for i, v in pairs(Sounds) do
  2874. scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
  2875. cursel.Text = "Currently Selected - " .. v[1]
  2876. xcursel = v[2]
  2877. end)
  2878. end
  2879.  
  2880. cursel = musicwin:drawText(1, "Currently Selected - None")
  2881. local setInp
  2882. musicwin:drawButton(1/3, "Set", function()
  2883. if tonumber(setInp.Text) then
  2884. cursel.Text = "Currently Selected - " .. setInp.Text
  2885. xcursel = tonumber(setInp.Text)
  2886. end
  2887. end)
  2888. setInp = musicwin:drawTextBox(2/3, '')
  2889. musicwin:drawButton(1, "Play", function()
  2890. tk.rcm(game, 'Sound')
  2891. tk.play(xcursel)
  2892. end)
  2893. musicwin:drawButton(1, "Stop", function()
  2894. tk.rcm(game, 'Sound')
  2895. end)
  2896.  
  2897. facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
  2898. local faces = {
  2899. {name='Rofl',id=47595647},
  2900. {name='Sparta',id=74142203},
  2901. {name='UJelly',id=48989071},
  2902. {name='Troll',id=45120559},
  2903. {name='Horse',id=62079221},
  2904. {name='Angry',id=48258623},
  2905. {name='Okey',id=62830600},
  2906. {name='Yeaw',id=53646377},
  2907. {name='Here',id=62677045},
  2908. {name='Har',id=48260066},
  2909. {name='Baby Sun',id=47596170},
  2910. {name='LOL',id=48293007},
  2911. {name='Sad',id=53645378},
  2912. {name='Joseph Stalin',id=48290678},
  2913. {name='Doge',id=130742396},
  2914. {name='Forever Alone',id=156886272},
  2915. {name='RickRoll',id=5104631},
  2916. {name='Jim Carrey',id=74885351},
  2917. {name='Meh IRL',id=237553381}
  2918. }
  2919. local cursel, xcursel = nil, 0
  2920. faclist = facwin:drawScrollingContainer(260)
  2921. for i,v in pairs(faces) do
  2922. local btn = faclist:drawButton(1, v['name'], function()
  2923. xcursel = v['id']
  2924. cursel.Text = 'Currently Selected: ' .. v['name']
  2925. end)
  2926. topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
  2927. end
  2928. cursel = facwin:drawText(1, 'Currently Selected: None')
  2929. facwin:drawButton(1, 'Wear', function()
  2930. if not (xcursel == 0) then
  2931. if topkek.lplr.Character then
  2932. tk.rcm(topkek.lplr.Character, 'Accessory')
  2933. tk.rcm(topkek.lplr.Character, 'Hat')
  2934. topkek.tools.util.applyFace(xcursel)
  2935. end
  2936. end
  2937. end)
  2938.  
  2939. setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
  2940. setwin:drawText(1, 'Patch: ' .. topkek.patch)
  2941. setwin:drawText(1, 'Devnote: kys')
  2942. setwin:drawText(1, [[
  2943. I am captured by a windstorm
  2944. Caught on you
  2945. Nothing here can stop me
  2946. When it's windy in my heart
  2947. Captured by a windstorm
  2948. Night and day
  2949. Here is only you and me
  2950. And the light the sky has left behind
  2951.  
  2952. It's time to leave
  2953. Because times that have pass will not return
  2954. Traveling on open seas
  2955. Where everything's like new
  2956. In the future that you hold
  2957.  
  2958. Without regrets I leave my safe harbor
  2959. Free but still tied to a set of open arms
  2960. ]], 260)
  2961.  
  2962. banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
  2963. local plrBanInp
  2964. banwin:drawButton(1/3, 'Add', function()
  2965. topkek.settings.get()
  2966. table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
  2967. topkek.settings.write()
  2968. UpdateBanlist()
  2969. end)
  2970.  
  2971. hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
  2972. local hats={
  2973. {name='Dominus Empyreus',id=21070012},
  2974. {name='Dominus Vespertilio',id=96103379},
  2975. {name='Dominus Infernus',id=31101391},
  2976. {name='Dominus Rex',id=250395631},
  2977. {name='Dominus Frigidus',id=48545806},
  2978. {name='Dominus Astra',id=162067148},
  2979. {name='Dominus Aureus',id=138932314},
  2980. {name='DIY Dominus Empyreus',id=151789690},
  2981. {name='Dominus Messor',id=64444871},
  2982. {name='Demon Skeleton Wings',id=133554007},
  2983. {name='Gilded Wings of Glory',id=250405532},
  2984. {name='Majestic Ice Wings',id=188702967},
  2985. {name='Black Wings',id=215719598},
  2986. {name='Clockworks Shades',id=11748356},
  2987. {name='Faerie Wings',id=19399896},
  2988. {name='Orinthian Wings',id=223751505},
  2989. {name='Clockworks Headphones',id=1235488},
  2990. {name='Perfectly Legitimate Business Hat',id=19027209},
  2991. {name='Sparkling Angel Wings',id=192557913},
  2992. {name='Commander Crows Wings',id=133553855},
  2993. {name='Sunfire Wings',id=158068470},
  2994. {name='Royal Faerie Wings',id=119916756},
  2995. {name='Wings of Freedom',id=164174048},
  2996. {name='Firebrand Wings',id=128160626},
  2997. {name='Frozen Wings',id=136758613},
  2998. {name='Webbed Wings',id=120507280},
  2999. {name='Gargoyle Wings',id=120507201},
  3000. {name='Bat Wings',id=19399858},
  3001. {name='Wings of Fire',id=136758532},
  3002. {name='Headrow',id=1082935},
  3003. {name='Rubber Duckie',id=9254254},
  3004. {name='Valkyrie Helm',id=1365767},
  3005. {name='Hockey Mask',id=5161514}}
  3006. local searchi = hatwin:drawButton(1, '', function()end)
  3007. dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
  3008. function fixPlayerDropi()
  3009. local t = {'All'}
  3010. for i, v in pairs(game.Players:GetPlayers()) do
  3011. table.insert(t, v.Name)
  3012. end
  3013. dropx.SetTable(t)
  3014. end
  3015. game.Players.PlayerAdded:connect(function()
  3016. fixPlayerDropi()
  3017. end)
  3018. game.Players.PlayerRemoving:connect(function()
  3019. fixPlayerDropi()
  3020. end)
  3021. local eval = 'All'
  3022. dropx.Changed(function(p) eval = p end)
  3023. fixPlayerDrop()
  3024.  
  3025. local hatInp
  3026. hatlist = hatwin:drawScrollingContainer(260)
  3027. for i,v in pairs(hats) do
  3028. hatlist:drawButton(1, v['name'], function()
  3029. hatInp.Text = tostring(v['id'])
  3030. end)
  3031. end
  3032. hatwin:drawButton(1/3, 'Wear', function()
  3033. local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
  3034. tk.dp(eval, function(x)
  3035. if x.Character then
  3036. hat:Clone().Parent = x.Character
  3037. end
  3038. end)
  3039. end)
  3040.  
  3041.  
  3042. hatInp = hatwin:drawTextBox(2/3, '')
  3043. topkek.tools.animator.initialAnimation()
  3044. topkek.banmgr.init()
Add Comment
Please, Sign In to add comment