Guest User

Untitled

a guest
Mar 27th, 2017
483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 115.68 KB | None | 0 0
  1. game:GetObjects('rbxassetid://714293995')[1].Parent = game.CoreGui
  2. gui = game.CoreGui:WaitForChild('elysian')
  3. main = gui.main
  4. main.autha.Visible = false
  5. main.authb.Visible = false
  6. main.authc.Visible = false
  7. main.int.Visible = false
  8. main.scana.Visible = false
  9. main.scanb.Visible = false
  10. main.done.Visible = false
  11. main.pla.Visible = false
  12. main.nonfe.Visible = false
  13. main.fe.Visible = false
  14. playername = game.Players.LocalPlayer.Name
  15. main.pla.Text = "Welcome, " ..playername.. " !"
  16. wait(1)
  17. main.autha.Visible = true
  18. main.authb.Visible = true
  19. main.authc.Visible = true
  20. wait(.5)
  21. main.int.Visible = true
  22. wait(.5)
  23. main.scana.Visible = true
  24. main.scanb.Visible = true
  25. wait(1)
  26. main.done.Visible = true
  27. wait(.3)
  28. main.pla.Visible = true
  29. wait(.5)
  30. if game.Workspace.FilteringEnabled == true then
  31. main.fe.Visible = true
  32. else
  33. main.nonfe.Visible = true
  34. end
  35.  
  36. main.execute.MouseButton1Click:connect(function()
  37. loadstring(main.scriptbox.Text)()
  38. end)
  39. main.clear.MouseButton1Click:connect(function()
  40. main.scriptbox.Text = ""
  41. end)
  42. main.topkek.MouseButton1Click:connect(function()
  43. -- edited by bork so it works with proto XD
  44. local topkek = {}
  45. topkek.patch = '1.0.5a'
  46. topkek.data = {}
  47. topkek.commandbase = {}
  48. topkek.navigation = {}
  49. topkek.banmgr = {}
  50. topkek.lplr = game:GetService('Players').LocalPlayer
  51.  
  52. topkek.tools = {}
  53. topkek.tools.gui = {}
  54. topkek.tools.util = {}
  55. topkek.tools.animator = {}
  56.  
  57. topkek.windows = {}
  58. topkek.windows.lplr = {}
  59. topkek.windows.server = {}
  60. topkek.windows.players = {}
  61. topkek.windows.destruction = {}
  62. topkek.windows.scripts = {}
  63. topkek.windows.misc = {}
  64.  
  65. topkek.misc = {}
  66.  
  67. topkek.gui = game:GetObjects("rbxassetid://678309209")[1]
  68. topkek.gui.Parent = game:GetService("CoreGui")
  69.  
  70. topkek.center = topkek.gui.Main
  71. topkek.holder = topkek.center.Holder
  72. topkek.topbar = topkek.center.Topbar
  73. topkek.template = topkek.holder.Template
  74. topkek.navigator = topkek.center.Navigation
  75.  
  76. AllowHovers = false
  77. PlayerChatHook, UpdateBanlist = nil
  78. cmd = {}
  79.  
  80. --// data //--
  81. topkek.data.windows = {
  82. 'Home',
  83. 'LocalPlayer',
  84. 'Server',
  85. 'Players',
  86. 'Destruction',
  87. 'Scripts',
  88. 'Catalog',
  89. 'Music',
  90. 'Hats',
  91. 'Faces',
  92. 'Settings',
  93. 'Commands',
  94. 'Banlist',
  95. }
  96.  
  97. color3 = function(r,g,b)
  98. return Color3.new(r/255, g/255, b/255)
  99. end
  100. --// doggo dropdown //--
  101. -- thanks krystal
  102. GUI = {
  103. TextBox = {
  104. Settings = {
  105. Font = Enum.Font.SourceSans;
  106. FontSize = Enum.FontSize.Size14;
  107. };
  108. Color = {
  109. Main = Color3.fromRGB(5,8,11);
  110. Border = Color3.fromRGB(27,42,53);
  111. Text = Color3.fromRGB(199,199,199);
  112. };
  113. New = function(Position, Size, Parent, ...)
  114. local arguments = {...};
  115.  
  116. local TextBox = Instance.new("TextBox", Parent);
  117. TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
  118. TextBox.BorderColor3 = GUI.DropDown.Color.Border;
  119. TextBox.Font = GUI.TextBox.Settings.Font;
  120. TextBox.FontSize = GUI.TextBox.Settings.FontSize;
  121. TextBox.TextColor3 = GUI.TextBox.Color.Text;
  122. TextBox.Position = Position;
  123. TextBox.Size = Size;
  124. if #arguments then
  125. if arguments[1] then
  126. TextBox.Text = tostring(arguments[1]);
  127. else
  128. TextBox.Text = "";
  129. end
  130. end
  131. return TextBox;
  132. end;
  133. };
  134. DropDown = {
  135. Settings = {
  136. ScrollerAmount = 5; --A scroller will appear at this amount.
  137. ScrollBarThickness = 6;
  138. };
  139. Gfx = {
  140. Scroller = "rbxassetid://606572419";
  141. };
  142. Color = {
  143. Main = color3(107, 36, 36);
  144. Secondary = color3(113, 39, 39);
  145. Border = color3(127, 44, 44);
  146. Text = Color3.fromRGB(199,199,199);
  147. };
  148. New = function(Position, Size, Parent, ...)
  149. local vValue = {};
  150. local arguments = {...};
  151. local vSelected = Instance.new("StringValue");
  152. vSelected.Value = "nil";
  153.  
  154. if arguments then
  155. if type(arguments) == "table" then
  156. for i=1,#(arguments) do
  157. if type(arguments[i]) == "table" then
  158. for f=1,#(arguments[i]) do
  159. table.insert(vValue, tostring((arguments[i])[f]));
  160. end
  161. else
  162. table.insert(vValue, tostring(arguments[i]));
  163. end
  164. end
  165. vSelected.Value = (vValue[1]);
  166. end
  167. end
  168.  
  169. local Main = Instance.new("TextButton", Parent);
  170. Main.BackgroundColor3 = GUI.DropDown.Color.Main;
  171. Main.BorderColor3 = GUI.DropDown.Color.Border;
  172. Main.Position = Position;
  173. Main.Size = Size;
  174. Main.TextColor3 = GUI.DropDown.Color.Text;
  175. Main.FontSize = Enum.FontSize.Size14;
  176. Main.TextStrokeTransparency = 0.5;
  177. Main.TextXAlignment = Enum.TextXAlignment.Left;
  178. Main.Font = Enum.Font.SourceSans;
  179. Main.Text = " "..tostring(vSelected.Value);
  180. Main.ZIndex = 3
  181.  
  182. local Icon = Instance.new("TextLabel", Main);
  183. Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
  184. Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
  185. Icon.BorderColor3 = GUI.DropDown.Color.Border;
  186. Icon.Position = UDim2.new(1,-2,1,-2);
  187. Icon.Size = UDim2.new(-1,4,-1,4);
  188. Icon.TextColor3 = GUI.DropDown.Color.Text;
  189. Icon.FontSize = Enum.FontSize.Size14;
  190. Icon.TextStrokeTransparency = 0.5;
  191. Icon.Font = Enum.Font.SourceSans;
  192. Icon.Text = "V"
  193. Icon.ZIndex = 4
  194.  
  195. local Holder, Search;
  196. local ClearHolder = function()
  197. if Holder then
  198. Holder:ClearAllChildren();
  199. Holder.Size = UDim2.new(1,0,0,0);
  200. Holder.Visible = false;
  201. if Search then
  202. Search.Visible = false;
  203. end
  204. end
  205. end;
  206.  
  207. local CreateButton;
  208. local RefreshDropDown = function()
  209. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  210. if not Holder or not Holder:IsA("Frame") then
  211. Holder = nil; Search = nil;
  212. Holder = Instance.new("Frame",Main);
  213. Holder.Size = UDim2.new(1,0,0,0);
  214. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  215. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  216. Holder.Visible = false;
  217. Holder.ZIndex = 3
  218. end
  219. elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
  220. if not Holder or not Holder:IsA("ScrollingFrame") then
  221. Holder = nil; Search = nil;
  222. Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
  223. Search.Visible = false;
  224. Search.ZIndex = 4
  225. Search.Changed:connect(function(p)
  226. if p == "Text" then
  227. CreateButton(Search.Text);
  228. end
  229. end)
  230. Holder = Instance.new("ScrollingFrame",Main);
  231. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  232. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  233. Holder.TopImage = GUI.DropDown.Gfx.Scroller;
  234. Holder.MidImage = GUI.DropDown.Gfx.Scroller;
  235. Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
  236. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
  237. Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
  238. Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
  239. Holder.Visible = false;
  240. Holder.ZIndex = 3;
  241. end
  242. end
  243. if #vValue == 1 and vSelected.Value ~= vValue[1] then
  244. vSelected.Value = vValue[1];
  245. elseif #vValue == 0 then
  246. vSelected.Value = "nil";
  247. warn("Table amount is nil.");
  248. end
  249. Main.Text = " "..tostring(vSelected.Value);
  250. --ClearHolder();
  251. end;
  252.  
  253. local Debounce = false;
  254. CreateButton = function(searches)
  255. if Debounce == false then
  256. Debounce = true;
  257. ClearHolder()
  258. Holder.Visible = true;
  259. local Searched = 0;
  260. if #vValue > 0 then
  261. for i=1,#vValue do
  262. if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
  263. Searched = Searched + 1;
  264. end
  265. end
  266. for i=1,#vValue do
  267. 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
  268. local Select = Instance.new("TextButton", Holder);
  269. Select.BackgroundColor3 = GUI.DropDown.Color.Main;
  270. Select.BorderColor3 = GUI.DropDown.Color.Border;
  271. Select.BackgroundTransparency = 1;
  272. Select.BorderSizePixel = 0;
  273. Select.Position = Position;
  274. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  275. Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
  276. else
  277. Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
  278. end
  279. Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
  280. Select.TextColor3 = GUI.DropDown.Color.Text;
  281. Select.FontSize = Enum.FontSize.Size14;
  282. Select.TextStrokeTransparency = 0.5;
  283. Select.Font = Enum.Font.SourceSans;
  284. Select.Text = tostring(vValue[i]);
  285. Select.ZIndex = 3
  286. Select.MouseButton1Click:connect(function()
  287. vSelected.Value = vValue[i];
  288. ClearHolder();
  289. RefreshDropDown();
  290. end)
  291. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  292. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
  293. elseif Holder:IsA("ScrollingFrame") then
  294. Search.Visible = true;
  295. if #Holder:GetChildren() >= 1 then
  296. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  297. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
  298. if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
  299. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
  300. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  301. end
  302. elseif #Holder:GetChildren() < 1 then
  303. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  304. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  305. end
  306. end
  307. end
  308. end
  309. end
  310. Debounce = false;
  311. end
  312. end;
  313.  
  314. RefreshDropDown();
  315.  
  316. Main.MouseButton1Click:connect(function()
  317. CreateButton()
  318. if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
  319. Search:CaptureFocus();
  320. Search.Text = "";
  321. end
  322. end)
  323.  
  324. topkek.lplr:GetMouse().Button1Down:connect(function()
  325. ClearHolder()
  326. end)
  327.  
  328. return {
  329. Update = function()
  330. RefreshDropDown();
  331. end;
  332. GetValue = function()
  333. RefreshDropDown();
  334. return vValue;
  335. end;
  336. GetSelected = function()
  337. RefreshDropDown();
  338. return vSelected.Value;
  339. end;
  340. SetTable = function(F)
  341. vValue = F;
  342. RefreshDropDown();
  343. end;
  344. Changed = function(F)
  345. vSelected.Changed:connect(function()
  346. ypcall(function()
  347. F(vSelected.Value);
  348. end)
  349. end)
  350. return "ChangedEvent Hooked";
  351. end;
  352. AddValue = function(obj)
  353. local Type = type(obj);
  354. if Type == "table" then
  355. for i=1,#obj do
  356. table.insert(vValue, obj[i])
  357. end
  358. elseif Type == "string" or Type == "number" or Type == "boolean" then
  359. table.insert(vValue, obj)
  360. end
  361. RefreshDropDown();
  362. end;
  363. RemoveValue = function(obj)
  364. local Type = type(obj);
  365. if Type == "table" then
  366. for i=1,#vValue do
  367. for f=1,#obj do
  368. if tostring(obj[f]) == tostring(vValue[i]) then
  369. table.remove(vValue,i)
  370. end
  371. end
  372. end
  373. else
  374. for i=1,#vValue do
  375. if tostring(obj) == tostring(vValue[i]) then
  376. table.remove(vValue,i)
  377. end
  378. end
  379. end
  380. RefreshDropDown();
  381. end;
  382. ClearValue = function()
  383. vValue = {};
  384. RefreshDropDown();
  385. end;
  386. }
  387. end;
  388. };
  389. };
  390. --// util //--
  391. function topkek.tools.util.Object(o, p)
  392. local a, b = pcall(function()
  393. Instance.new(o)
  394. end)
  395. if not a then
  396. return
  397. end
  398. local obj = Instance.new(o)
  399. for prop, val in pairs(p) do
  400. pcall(function()
  401. obj[prop] = val
  402. end)
  403. end
  404. return obj
  405. end
  406.  
  407. function topkek.tools.util.getContainer(n)
  408. if topkek.holder:FindFirstChild(n) then
  409. return topkek.holder[n]
  410. else
  411. print("menu not found; returning template")
  412. return topkek.holder['Template']
  413. end
  414. end
  415.  
  416. function topkek.tools.util.play(id)
  417. local mu = Instance.new("Sound", game:GetService('Workspace'))
  418. mu.Volume = 1
  419. mu.Looped = true
  420. mu.Pitch = 1
  421. mu.SoundId = "rbxassetid://"..tostring(id)
  422. mu:Play()
  423. end
  424.  
  425. function topkek.tools.util.getTorso(plr) --r15 compatibility lole
  426. if plr.Character then
  427. if plr.Character:FindFirstChild('UpperTorso') then
  428. return plr.Character.UpperTorso
  429. elseif plr.Character:FindFirstChild('Torso') then
  430. return plr.Character.Torso
  431. else
  432. return nil
  433. end
  434. end
  435. end
  436.  
  437. function topkek.tools.util.recurseRemove(x,type_)
  438. local function recurse(x)
  439. for i, v in pairs(x:GetChildren()) do
  440. pcall(function()
  441. if v:IsA(type_) then
  442. v:Destroy()
  443. end
  444. if #(v:GetChildren())>0 then
  445. recurse(v)
  446. end
  447. end)
  448. end
  449. end
  450. recurse(x)
  451. end
  452.  
  453. function topkek.tools.util.recurseFunc(type_,func)
  454. local function recurse(x)
  455. for i, v in pairs(x:GetChildren()) do
  456. pcall(function()
  457. if v:IsA(type_) then
  458. func(v)
  459. end
  460. if #(v:GetChildren())>0 then
  461. recurse(v)
  462. end
  463. end)
  464. end
  465. end
  466. recurse(game)
  467. end
  468. function topkek.tools.util.trowel()
  469. local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
  470. T.Name = 'Custom Trowel'
  471.  
  472. local p = Instance.new('Part')
  473. p.Name = 'Handle'
  474. p.Size = Vector3.new(1,4.4,1)
  475. p.Parent = T
  476.  
  477. local specialMesh = Instance.new('SpecialMesh')
  478. specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
  479. specialMesh.MeshType = 'FileMesh'
  480. specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
  481. specialMesh.Parent = T.Handle
  482.  
  483. local sound = Instance.new'Sound'
  484. sound.Name = 'build'
  485. sound.SoundId = 'rbxasset://sounds//bass.wav'
  486. sound.Volume = 1
  487. sound.Parent = T.Handle
  488.  
  489. local brickHeight = 100
  490. local trowelSpeed = 0.05
  491. local brickWidth = 500
  492. local mouseConnection
  493.  
  494. function newBrick(CF, P, color)
  495. local brick = Instance.new('Part')
  496. brick.BrickColor = color
  497. brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
  498. brick.Parent = game.Workspace
  499. brick:MakeJoints()
  500. brick.Material = 'Neon'
  501. brick.Name = 'DeleteMe'
  502. return brick, P + brick.Size
  503. end
  504.  
  505. function genBrick(cFrame)
  506. local randBrickColor = BrickColor.Random()
  507. assert(brickWidth > 0)
  508.  
  509. local yPos = 0
  510.  
  511. while yPos < brickHeight do
  512. local vPos
  513. local X = -brickWidth / 2
  514. while X < brickWidth / 2 do
  515. local brick
  516. brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
  517. X = vPos.x
  518. wait(trowelSpeed)
  519. end
  520. yPos = vPos.y
  521. end
  522. end
  523.  
  524. function calcPos(vec)
  525. if (math.abs(vec.x) > math.abs(vec.z)) then
  526. if vec.x > 0 then
  527. return Vector3.new(1, 0, 0)
  528. else
  529. return Vector3.new(-1, 0, 0)
  530. end
  531. else
  532. if (vec.z > 0) then
  533. return Vector3.new(0, 0, 1)
  534. else
  535. return Vector3.new(0, 0, -1)
  536. end
  537. end
  538. end
  539.  
  540. T.Enabled = true
  541.  
  542. T.Activated:connect(function()
  543. if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  544. T.Enabled = false
  545. T.Handle.build:Play()
  546. 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)))
  547. T.Enabled = true
  548. end
  549. end)
  550.  
  551. T.Equipped:connect(function()
  552. mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  553. if (key == 'r') then
  554. for i,v in next, workspace:children'' do
  555. if (v.Name == 'DeleteMe') then
  556. v:Destroy()
  557. end
  558. end
  559. end
  560. end)
  561. end)
  562.  
  563. T.Unequipped:connect(function()
  564. mouseConnection:disconnect()
  565. end)
  566. end
  567. function topkek.tools.util.recurseSet(type_,prop,val)
  568. local function recurse(x)
  569. for i, v in pairs(x:GetChildren()) do
  570. pcall(function()
  571. if v:IsA(type_) then
  572. v[prop]=val
  573. end
  574. if #(v:GetChildren())>0 then
  575. recurse(v)
  576. end
  577. end)
  578. end
  579. end
  580. recurse(game)
  581. end
  582. function topkek.tools.util.recurseUltimate(d)
  583. topkek.tools.util.recurseDecal(d)
  584. topkek.tools.util.recurseParticles(d)
  585. end
  586. function topkek.tools.util.recurseDecal(img)
  587. img = 'rbxassetid://' .. img
  588. local function skybox(x)
  589. local sky = Instance.new("Sky",game.Lighting)
  590. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  591. for i,v in pairs(fcs) do
  592. sky["Skybox"..v]=x
  593. end
  594. end
  595.  
  596. local function decal(p, b)
  597. local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  598. for i, v in pairs(sides) do
  599. local a = Instance.new("Decal", p)
  600. a.Texture = b
  601. a.Face = v
  602. end
  603. end
  604.  
  605. local function recurse(x)
  606. for i, v in pairs(x:GetChildren()) do
  607. pcall(function() -- 'error occured, no output from Lua' LOLE
  608. if v:IsA("BasePart") then
  609. decal(v, img)
  610. end
  611. if #(v:GetChildren())>0 then
  612. recurse(v)
  613. end
  614. end)
  615. end
  616. end
  617.  
  618. recurse(game)
  619. skybox(img)
  620. end
  621. function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
  622. img = 'rbxassetid://' .. img
  623. local function skybox(x)
  624. local sky = Instance.new("Sky",game.Lighting)
  625. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  626. for i,v in pairs(fcs) do
  627. sky["Skybox"..v]=x
  628. end
  629. end
  630. local function particle(p, b)
  631. local a = Instance.new("ParticleEmitter", p)
  632. a.Rate = 500
  633. a.Lifetime = NumberRange.new(20, 30)
  634. a.VelocitySpread = 200
  635. a.Texture = b
  636. end
  637.  
  638. local function recurse(x)
  639. for i, v in pairs(x:GetChildren()) do
  640. pcall(function() -- 'error occured, no output from Lua' LOLE
  641. if v:IsA("BasePart") then
  642. particle(v, img)
  643. end
  644. if #(v:GetChildren())>0 then
  645. recurse(v)
  646. end
  647. end)
  648. end
  649. end
  650.  
  651. recurse(game)
  652. skybox(img)
  653. end
  654. function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
  655. local function recurse(x)
  656. for i, v in pairs(x:GetChildren()) do
  657. pcall(function()
  658. if v:IsA(type_) then
  659. v[prop]=val
  660. end
  661. if #(v:GetChildren())>0 then
  662. recurse(v)
  663. end
  664. end)
  665. end
  666. end
  667. recurse(obj)
  668. end
  669. function topkek.tools.util.doPlayers(cval, func)
  670. local plrs = {}
  671. if cval == 'All' then
  672. plrs = game:GetService('Players'):GetPlayers()
  673. else
  674. plrs = {game:GetService('Players'):FindFirstChild(cval)}
  675. end
  676. for i, v in pairs(plrs) do
  677. func(v)
  678. end
  679. end
  680. function topkek.tools.util.scalePlayer(sc,plr)
  681. local pchar = plr.Character
  682. if pchar:FindFirstChild("UpperTorso") then
  683. warn("Player [" ..plr.Name.. "] is R15.")
  684. return
  685. end
  686. local function scale(chr,scl)
  687.  
  688. for _,v in pairs(pchar:GetChildren()) do
  689. if v:IsA("Hat") then
  690. v:Clone()
  691. v.Parent = game.Lighting
  692. end
  693. end
  694.  
  695. local Head = chr['Head']
  696. local Torso = chr['Torso']
  697. local LA = chr['Left Arm']
  698. local RA = chr['Right Arm']
  699. local LL = chr['Left Leg']
  700. local RL = chr['Right Leg']
  701. local HRP = chr['HumanoidRootPart']
  702.  
  703. wait(0.1)
  704.  
  705. Head.formFactor = 3
  706. Torso.formFactor = 3
  707. LA.formFactor = 3
  708. RA.formFactor = 3
  709. LL.formFactor = 3
  710. RL.formFactor = 3
  711. HRP.formFactor = 3
  712.  
  713. Head.Size = Vector3.new(scl * 2, scl, scl)
  714. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  715. LA.Size = Vector3.new(scl, scl * 2, scl)
  716. RA.Size = Vector3.new(scl, scl * 2, scl)
  717. LL.Size = Vector3.new(scl, scl * 2, scl)
  718. RL.Size = Vector3.new(scl, scl * 2, scl)
  719. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  720.  
  721. local Motor1 = Instance.new('Motor6D', Torso)
  722. Motor1.Part0 = Torso
  723. Motor1.Part1 = Head
  724. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  725. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  726. Motor1.Name = "Neck"
  727.  
  728. local Motor2 = Instance.new('Motor6D', Torso)
  729. Motor2.Part0 = Torso
  730. Motor2.Part1 = LA
  731. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  732. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  733. Motor2.Name = "Left Shoulder"
  734.  
  735. local Motor3 = Instance.new('Motor6D', Torso)
  736. Motor3.Part0 = Torso
  737. Motor3.Part1 = RA
  738. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  739. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  740. Motor3.Name = "Right Shoulder"
  741.  
  742. local Motor4 = Instance.new('Motor6D', Torso)
  743. Motor4.Part0 = Torso
  744. Motor4.Part1 = LL
  745. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  746. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  747. Motor4.Name = "Left Hip"
  748.  
  749. local Motor5 = Instance.new('Motor6D', Torso)
  750. Motor5.Part0 = Torso
  751. Motor5.Part1 = RL
  752. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  753. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  754. Motor5.Name = "Right Hip"
  755.  
  756. local Motor6 = Instance.new('Motor6D', HRP)
  757. Motor6.Part0 = HRP
  758. Motor6.Part1 = Torso
  759. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  760. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  761.  
  762. end
  763.  
  764. scale(pchar, sc)
  765.  
  766. for _,v in pairs(game.Lighting:GetChildren()) do
  767. if v:IsA("Hat") then
  768. v.Parent = pchar
  769. end
  770. end
  771. end
  772. function topkek.tools.util.applyFace(id)
  773. local Char = topkek.lplr.Character
  774. if(Char)then
  775. local Type = id
  776. local Meme=id
  777. local BBG_SIZE=Char.Head.Size.X*1.25;
  778. local STUD_VECTOR_1=Char.Head.Size.Z/4;
  779. local STUD_VECTOR_2=Char.Head.Size.Z;
  780. local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
  781. bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  782. bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
  783. bbg.Adornee=Char.Head;
  784. bbg.Name='BBGMEME';
  785. local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
  786. img.BackgroundTransparency=1;
  787. img.Image="rbxassetid://"..Meme;
  788. img.Size=UDim2.new(1,0,1,0)
  789. img.Name='Meme';
  790. for i,v in next,Char:children()do
  791. if(v.className=='Hat')then
  792. v=v:FindFirstChild'Handle';
  793. if(v)then
  794. v.Transparency=0
  795. end;
  796. end;
  797. end;
  798. end;
  799. end;
  800. function topkek.tools.util.weenieHutJunior(plr)
  801. plr=plr.Character
  802. Shaft=Instance.new("Part", plr)
  803. Shaft.Name='Shaft'
  804. Shaft.Size=Vector3.new(1, 2.5, 1)
  805. Shaft.TopSurface=0
  806. Shaft.BottomSurface=0
  807. Shaft.CanCollide=true
  808. Cyln=Instance.new("CylinderMesh", Shaft)
  809. Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  810. Instance.new("Weld", plr)
  811. plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  812. plr.Weld.Part1=plr.Shaft
  813. plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  814. Shaft.BrickColor=BrickColor.new("Pastel brown")
  815. Tip=Instance.new("Part", plr)
  816. Tip.Name='Tip'
  817. Tip.TopSurface=0
  818. Tip.BottomSurface=0
  819. Tip.Size=Vector3.new(1, 1, 1)
  820. Tip.CanCollide=true
  821. 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)
  822. Cyln2=Instance.new("SpecialMesh", Tip)
  823. Cyln2.MeshType='Sphere'
  824. Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  825. Instance.new("Weld", plr).Name='Weld2'
  826. plr.Weld2.Part0=plr.Shaft
  827. plr.Weld2.Part1=plr.Tip
  828. plr.Weld2.C0=CFrame.new(0,-.9,0)
  829. Tip.BrickColor=BrickColor.new("Pink")
  830. -----
  831. Ball1=Instance.new("Part", plr)
  832. Ball1.Name='Ball1'
  833. Ball1.Size=Vector3.new(1, 1, 1)
  834. Ball1.TopSurface=0
  835. Ball1.BottomSurface=0
  836. Cyln3=Instance.new("SpecialMesh", Ball1)
  837. Cyln3.MeshType='Sphere'
  838. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  839. Instance.new("Weld", plr).Name='Weld3'
  840. plr.Weld3.Part0=plr.Shaft
  841. plr.Weld3.Part1=plr.Ball1
  842. plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  843. Ball1.BrickColor=BrickColor.new("Pastel brown")
  844. -----
  845. Ball2=Instance.new("Part", plr)
  846. Ball2.Name='Ball2'
  847. Ball2.Size=Vector3.new(1, 1, 1)
  848. Ball2.TopSurface=0
  849. Ball2.BottomSurface=0
  850. Cyln3=Instance.new("SpecialMesh", Ball2)
  851. Cyln3.MeshType='Sphere'
  852. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  853. Instance.new("Weld", plr).Name='Weld4'
  854. plr.Weld4.Part0=plr.Shaft
  855. plr.Weld4.Part1=plr.Ball2
  856. plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  857. Ball2.BrickColor=BrickColor.new("Pastel brown")
  858. end
  859. --// banmgr //--
  860. topkek.banmgr.isPrivate = false
  861. topkek.banmgr.whitelist = {}
  862. topkek.banmgr.bans = {}
  863. function topkek.banmgr.executeKick(z)
  864. local function doKick()
  865. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  866. z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  867. local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  868. spawn(function()
  869. repeat wait()
  870. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  871. SP.Position = z.Character.HumanoidRootPart.Position
  872. end
  873. until not game:GetService('Players'):FindFirstChild(z.Name)
  874. end)
  875. z.Character.Torso.Anchored = true
  876. end
  877. end
  878. repeat
  879. doKick()
  880. wait()
  881. until not z
  882. end
  883. function topkek.banmgr.loadFromFile()
  884. -- todo: read file
  885. topkek.settings.get()
  886. topkek.banmgr.bans = topkek.settingsTable['Bans']
  887. end
  888. function topkek.banmgr.addHardBan(p)
  889. -- todo: write file
  890. table.insert(topkek.banmgr.bans, p.Name)
  891. topkek.settings.get()
  892. table.insert(topkek.settingsTable['Bans'], p.Name)
  893. topkek.settings.write()
  894. print("Hardbanned " .. p.Name)
  895. UpdateBanlist()
  896. topkek.banmgr.executeKick(p)
  897. topkek.banmgr.loadFromFile()
  898. end
  899. function topkek.banmgr.addSoftBan(p)
  900. table.insert(topkek.banmgr.bans, p.Name)
  901. topkek.banmgr.executeKick(p)
  902. end
  903. function topkek.banmgr.plrBanned(p)
  904. for x, m in pairs(topkek.banmgr.bans) do
  905. if m == p.Name then
  906. return true
  907. end
  908. end
  909. return false
  910. end
  911. function topkek.banmgr.doWhitelist(p)
  912. print(p .. " whitelisted")
  913. table.insert(topkek.banmgr.whitelist, p)
  914. end
  915. function topkek.banmgr.unwhitelist(p)
  916. for x, m in pairs(topkek.banmgr.whitelist) do
  917. if m == p then
  918. print(m .. " unwhitelisted")
  919. table.remove(topkek.banmgr.whitelist, x)
  920. if game:GetService('Players'):FindFirstChild(p) then
  921. topkek.banmgr.executeKick(game:GetService('Players')[p])
  922. end
  923. end
  924. end
  925. end
  926. function topkek.banmgr.plrWhitelisted(p)
  927. for x, m in pairs(topkek.banmgr.whitelist) do
  928. if m == p.Name then
  929. return true
  930. end
  931. end
  932. return false
  933. end
  934. function topkek.banmgr.makePrivate()
  935. topkek.banmgr.isPrivate = true
  936. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  937. if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
  938. spawn(function()
  939. topkek.banmgr.executeKick(v)
  940. end)
  941. end
  942. end
  943. end
  944. function topkek.banmgr.unprivate()
  945. topkek.banmgr.isPrivate = false
  946. end
  947. function topkek.banmgr.init()
  948. topkek.banmgr.loadFromFile()
  949. game:GetService('Players').PlayerAdded:connect(function(p)
  950. if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
  951. print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
  952. topkek.banmgr.executeKick(p)
  953. end
  954. end)
  955. end
  956. --// settings //--
  957. topkek.settings = {}
  958. topkek.settingsTable = {}
  959. function topkek.settings.write()
  960. writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
  961. end
  962. function topkek.settings.get()
  963. if game.Players.LocalPlayer.Character then
  964. print("No settings! Making new ...")
  965. topkek.settingsTable = {
  966. ['Bans'] = {
  967.  
  968. },
  969. ['Themes'] = {
  970. {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
  971. };
  972. }
  973. topkek.settings.write()
  974. return topkek.settingsTable
  975. else
  976. local lset = game:GetService('HttpService'):JSONDecode(set)
  977. topkek.settingsTable = lset
  978. return lset
  979. end
  980. end
  981. --// shortcuts //--
  982. tk = {}
  983. tk.ob = topkek.tools.util.Object
  984. tk.dp = topkek.tools.util.doPlayers
  985. tk.rcm = topkek.tools.util.recurseRemove
  986. tk.rcs = topkek.tools.util.recurseSet
  987. tk.rcf = topkek.tools.util.recurseFunc
  988. tk.rco = topkek.tools.util.recurseSetObj
  989. tk.play = topkek.tools.util.play
  990. tk.gt = topkek.tools.util.getTorso
  991. --// gui //--
  992. -- copying this from topkek3.0 because i'm
  993. -- too lazy to rewrite my lib
  994. topkek.tools.gui.seperation = 12
  995. function topkek.tools.gui:addLeftIcon(parent, img, sz)
  996. topkek.tools.util.Object('ImageLabel', {
  997. Parent = parent;
  998. BackgroundTransparency = 1;
  999. Position = UDim2.new(0, 2, 0, 2);
  1000. Size = UDim2.new(0, sz, 0, sz);
  1001. Image = img;
  1002. })
  1003. end
  1004. function topkek.tools.gui:makeContainer(n)
  1005. local temp = topkek.template:Clone()
  1006. temp.Name = n
  1007. temp.Parent = topkek.holder
  1008. temp.Container.Visible = false
  1009. end
  1010. function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
  1011. if not o:IsA("ScrollingFrame") and (not ncan) then
  1012. return nil
  1013. elseif o:IsA("ScrollingFrame") then
  1014. o.CanvasSize = UDim2.new(0, 0, 0, 0)
  1015. end
  1016.  
  1017. local self = {}
  1018. self.main = o
  1019. self.drawX = 0
  1020. self.drawY = stt or topkek.tools.gui.seperation/2
  1021. self.drawHeight = 0
  1022. self.sepr = sepr or topkek.tools.gui.seperation
  1023.  
  1024. function self:drawButton(sz, txt, func, ysz, cbgd)
  1025. local xposOffset = 0
  1026. local xposScale = self.drawX
  1027. local xszOffset = 0
  1028. local xszScale = sz
  1029. if not (self.drawX == 0) then
  1030. xszOffset = -5
  1031. if sz + self.drawX > 0.998 then
  1032. xszOffset = -10
  1033. end
  1034. elseif sz == 1 then
  1035. local bzz = 4
  1036. if ncan then
  1037. bzz = 0
  1038. end
  1039. xszOffset = -(self.sepr) - bzz
  1040. xposOffset = self.sepr/2
  1041. else
  1042. xszOffset = -4 + -(self.sepr/2)
  1043. xposOffset = self.sepr/2
  1044. end
  1045. if not ysz then ysz = 20 end
  1046. local obj = topkek.tools.util.Object("TextButton", {
  1047. Parent = self.main;
  1048. BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
  1049. BorderSizePixel = 0;
  1050. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1051. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1052. Font = 'SourceSans';
  1053. FontSize = 'Size14';
  1054. Text = txt;
  1055. TextSize = 14;
  1056. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1057. })
  1058. obj.MouseButton1Down:connect(function()
  1059. spawn(func)
  1060. end)
  1061. if ysz > self.drawHeight then
  1062. self.drawHeight = ysz
  1063. end
  1064. self.drawX = self.drawX + sz
  1065. if self.drawX > 0.998 then
  1066. self.drawY = self.drawY + 3 + self.drawHeight
  1067. self.drawX = 0
  1068. self.drawHeight = 0
  1069. if (not ncan) then
  1070. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1071. end
  1072. end
  1073. return obj
  1074. end
  1075.  
  1076. function self:GetChildren()
  1077. return self.main:GetChildren()
  1078. end
  1079.  
  1080. function self:getDrawY()
  1081. return self.drawY
  1082. end
  1083.  
  1084. function self:setDrawY(y)
  1085. self.drawY = y
  1086. end
  1087.  
  1088. function self:drawTextBox(sz, txt, ysz, cbgd)
  1089. local xposOffset = 0
  1090. local xposScale = self.drawX
  1091. local xszOffset = 0
  1092. local xszScale = sz
  1093. if not (self.drawX == 0) then
  1094. xszOffset = -5
  1095. if sz + self.drawX > 0.998 then
  1096. xszOffset = -10
  1097. end
  1098. elseif sz == 1 then
  1099. xszOffset = -(self.sepr) - 5
  1100. xposOffset = self.sepr/2
  1101. else
  1102. xszOffset = -4 + -(self.sepr/2)
  1103. xposOffset = self.sepr/2
  1104. end
  1105. if not ysz then ysz = 20 end
  1106. local obj = topkek.tools.util.Object("TextBox", {
  1107. Parent = self.main;
  1108. BackgroundColor3 = cbgd or color3(153, 52, 52);
  1109. BorderSizePixel = 0;
  1110. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1111. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1112. Font = 'SourceSans';
  1113. FontSize = 'Size14';
  1114. Text = txt;
  1115. TextSize = 14;
  1116. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1117. })
  1118. if ysz > self.drawHeight then
  1119. self.drawHeight = ysz
  1120. end
  1121. self.drawX = self.drawX + sz
  1122. if self.drawX > 0.998 then
  1123. self.drawY = self.drawY + 3 + self.drawHeight
  1124. self.drawX = 0
  1125. self.drawHeight = 0
  1126. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1127. end
  1128. return obj
  1129. end
  1130.  
  1131. function self:drawImage(sz, img, ysz)
  1132. local xposOffset = 0
  1133. local xposScale = self.drawX
  1134. local xszOffset = 0
  1135. local xszScale = sz
  1136. if not (self.drawX == 0) then
  1137. xszOffset = -5
  1138. if sz + self.drawX > 0.998 then
  1139. xszOffset = -12
  1140. end
  1141. elseif sz == 1 then
  1142. xszOffset = -(self.sepr) - 5
  1143. xposOffset = self.sepr/2
  1144. else
  1145. xszOffset = -5 + -(self.sepr/2)
  1146. xposOffset = self.sepr/2
  1147. end
  1148. if not ysz then ysz = 20 end
  1149. local obj = topkek.tools.util.Object("ImageLabel", {
  1150. Parent = self.main;
  1151. BackgroundTransparency = 1;
  1152. BorderColor3 = Color3.new(27, 42, 53);
  1153. BorderSizePixel = 0;
  1154. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1155. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1156. Image = img;
  1157. })
  1158. if ysz > self.drawHeight then
  1159. self.drawHeight = ysz
  1160. end
  1161. self.drawX = self.drawX + sz
  1162. if self.drawX > 0.998 then
  1163. self.drawY = self.drawY + 3 + self.drawHeight
  1164. self.drawX = 0
  1165. self.drawHeight = 0
  1166. if (not ncan) then
  1167. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1168. end
  1169. end
  1170. return obj
  1171. end
  1172.  
  1173. function self:drawText(sz, txt, ysz)
  1174. local xposOffset = 0
  1175. local xposScale = self.drawX
  1176. local xszOffset = 0
  1177. local xszScale = sz
  1178. if not (self.drawX == 0) then
  1179. xszOffset = -5
  1180. if sz + self.drawX > 0.998 then
  1181. xszOffset = -10
  1182. end
  1183. elseif sz == 1 then
  1184. local bzz = 5
  1185. if ncan then
  1186. bzz = 0
  1187. end
  1188. xszOffset = -(self.sepr) - bzz
  1189. xposOffset = self.sepr/2
  1190. else
  1191. xszOffset = -4 + -(self.sepr/2)
  1192. xposOffset = self.sepr/2
  1193. end
  1194. if not ysz then ysz = 20 end
  1195. local obj = topkek.tools.util.Object("TextLabel", {
  1196. Parent = self.main;
  1197. BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
  1198. BorderSizePixel = 0;
  1199. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1200. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1201. Font = 'SourceSans';
  1202. FontSize = 'Size14';
  1203. Text = txt;
  1204. TextSize = 14;
  1205. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1206.  
  1207. })
  1208. if ysz > self.drawHeight then
  1209. self.drawHeight = ysz
  1210. end
  1211. self.drawX = self.drawX + sz
  1212. if self.drawX > 0.998 then
  1213. self.drawY = self.drawY + 3 + self.drawHeight
  1214. self.drawX = 0
  1215. self.drawHeight = 0
  1216. if (not ncan) then
  1217. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1218. end
  1219. end
  1220. return obj
  1221. end
  1222.  
  1223.  
  1224. function self:drawScrollingContainer(ysz)
  1225. local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  1226. local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  1227. local obj = topkek.tools.util.Object("ScrollingFrame", {
  1228. Parent = self.main;
  1229. BackgroundColor3 = color3(117, 42, 42);
  1230. BorderSizePixel = 0;
  1231. Position = pos;
  1232. Size = sz;
  1233. BottomImage = 'rbxassetid://368504177';
  1234. MidImage = 'rbxassetid://368504177';
  1235. TopImage = 'rbxassetid://368504177';
  1236. ScrollBarThickness = 5;
  1237. })
  1238.  
  1239. self.drawY = self.drawY + 5 + ysz
  1240. self.drawX = 0
  1241. self.drawHeight = 0
  1242. if (not ncan) then
  1243. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1244. end
  1245. return topkek.tools.gui:hookContainer(obj, false, 10, 3)
  1246. end
  1247.  
  1248. function self:drawContainer(xsz, ysz, xz, tz, sep)
  1249. local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  1250. local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
  1251. local obj = topkek.tools.util.Object("Frame", {
  1252. Parent = self.main;
  1253. BackgroundColor3 = color3(117, 42, 42);
  1254. BorderSizePixel = 0;
  1255. Position = pos;
  1256. Size = sz;
  1257. })
  1258. if not xz then
  1259. self.drawY = self.drawY + 5 + ysz
  1260. end
  1261. self.drawX = 0
  1262. self.drawHeight = 0
  1263. if (not ncan) then
  1264. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1265. end
  1266. return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
  1267. end
  1268.  
  1269. function self:addSpacing()
  1270. self.drawY = self.drawY + 3
  1271. end
  1272.  
  1273. function self:center()
  1274. local a,c,b=
  1275. self.main.Position.X.Scale,
  1276. self.main.Position.X.Offset,self.main.Size.Y.Offset
  1277. self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  1278. end
  1279.  
  1280. return self
  1281. end
  1282.  
  1283. --//anim//--
  1284. topkek.tools.animator.animateTo = function(source, dest)
  1285. -- holder2holder:
  1286. -- invis holder
  1287. -- clone holder; vis
  1288. -- move holder to right
  1289. -- vis dest container
  1290. -- tween clone holder left
  1291. -- tween dest holder right
  1292. print("nav",source,dest)
  1293. topkek.holder.Visible = false
  1294. local hclone = topkek.holder:Clone()
  1295. hclone.Parent = topkek.center
  1296. hclone.Name = 'animclone'
  1297. hclone.Visible = true
  1298. topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
  1299. source.Visible = false
  1300. dest.Visible = true
  1301. dest.Container.Visible = true
  1302. dest.Container.ZIndex = 1
  1303. dest.ZIndex = 1
  1304. topkek.holder.Visible = true
  1305. topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
  1306. hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
  1307. wait(0.3)
  1308. end
  1309. topkek.tools.animator.initialAnimation = function()
  1310. -- initanim:
  1311. -- join both composites
  1312. -- delete composites; vis solid
  1313. -- tween solid to nav topbar
  1314. -- copy topbar plrname; move outside region
  1315. -- tween in clone topbar
  1316. -- delete clone and solid; vis topbar
  1317. -- tween down topbar
  1318. -- tween holder out
  1319. local function abspos(x)
  1320. return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
  1321. end
  1322. local function abssz(x)
  1323. return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
  1324. end
  1325. local holder = topkek.holder
  1326. local nav = topkek.navigator
  1327. local topnav = nav.Topbar
  1328. local topbar = topkek.topbar
  1329. local pname = topbar.PlayerName:Clone()
  1330. local solid = topkek.gui.Solid
  1331. topkek.center.Size = UDim2.new(0, 150, 0, 30)
  1332. topkek.gui.Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
  1333. topkek.gui.Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
  1334. wait(0.52)
  1335. solid.Visible = true
  1336. topkek.gui.Composite1:Destroy()
  1337. topkek.gui.Composite2:Destroy()
  1338. wait(3)
  1339. solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
  1340. solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
  1341. wait(0.52)
  1342. solid.Label:Destroy()
  1343. wait(0.12)
  1344. topkek.center.Visible = true
  1345. topnav.Visible = true
  1346. solid:Destroy()
  1347. pname.Position = UDim2.new(0, -170, 0, 0)
  1348. pname.Parent = topnav
  1349. pname.Visible = true
  1350. pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
  1351. wait(0.25)
  1352. topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
  1353. spawn(topkek.navigation.buildNavigator)
  1354. wait(0.35)
  1355. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
  1356. wait(0.35)
  1357. topbar.PlayerName.Visible = true
  1358. pname:Destroy()
  1359. AllowHovers = true
  1360. end
  1361. --//nav//--
  1362. topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
  1363. topkek.navigation.windowState = 0
  1364. topkek.navigation.gotoContainer = function(cont)
  1365. topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
  1366. topkek.navigation.currentContainer = cont
  1367. end
  1368. topkek.navigation.buildNavigator = function()
  1369. local nav = topkek.navigator
  1370. local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
  1371. local btns = {}
  1372. for l, x in pairs(topkek.data.windows) do
  1373. local container = topkek.tools.util.getContainer(x)
  1374. local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
  1375. local ZPos = btn.Position
  1376. btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
  1377. btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
  1378. btn.LayoutOrder = l
  1379. btn.ZIndex = 4
  1380. local OPos = btn.Position
  1381. btn.MouseEnter:connect(function()
  1382. if AllowHovers == false then
  1383. return
  1384. end
  1385. for i, v in pairs(btns) do
  1386. if v[1] ~= btn then
  1387. v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
  1388. end
  1389. end
  1390. btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
  1391. end)
  1392. btn.MouseLeave:connect(function()
  1393. btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
  1394. end)
  1395. table.insert(btns, {btn, OPos})
  1396. wait()
  1397. end
  1398. end
  1399. topkek.navigation.buildTopbar = function()
  1400. local top = topkek.topbar
  1401. local FELabel = top.Controllers.IsFE
  1402. top.PlayerName.Text = topkek.lplr.Name
  1403. if game:GetService('Workspace').FilteringEnabled == true then
  1404. FELabel.Text = "FE Game"
  1405. FELabel.TextColor3 = BrickColor.new("Bright red").Color
  1406. else
  1407. FELabel.Text = "Not FE"
  1408. FELabel.TextColor3 = BrickColor.new("Bright green").Color
  1409. end
  1410. top.Controllers.Hide.MouseButton1Down:connect(function()
  1411. if topkek.navigation.windowState == 0 then
  1412. topkek.navigation.windowState = 1
  1413. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
  1414. else
  1415. topkek.navigation.windowState = 0
  1416. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
  1417. end
  1418. end)
  1419. top.Controllers.Exit.MouseButton1Down:connect(function()
  1420. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
  1421. wait(0.31)
  1422. topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
  1423. PlayerChatHook:disconnect()
  1424. end)
  1425.  
  1426. end
  1427. topkek.navigation.initCommandBar = function()
  1428. DistributedCmdBar, cmd = topkek.holder.Command, {}
  1429. loadstring(game:GetObjects("rbxassetid://685510751")[1].Source)()
  1430. DistributedCmdBar.FocusLost:connect(function(e)
  1431. if e == true then
  1432. cmd.commands.run(DistributedCmdBar.Text)
  1433. DistributedCmdBar.Text = ''
  1434. end
  1435. end)
  1436.  
  1437. PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
  1438. if cmd.util.isadmin(plr.Name) then
  1439. if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  1440. cmd.commands.run(msg:sub(2, #msg))
  1441. end
  1442. end
  1443. end)
  1444. end
  1445. topkek.navigation.buildHomePage = function()
  1446. local count = 0
  1447. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  1448. local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
  1449. hook:drawText(1, 'T0PK3K 4.0 ProtoSmasher Edition edited by bork')
  1450. hook:drawText(1, 'Patch version 1.0.5')
  1451. hook:drawText(1, 'Commandbase patch version 1.0.0')
  1452. hook:drawText(1, 'Number of commands: ' .. tostring(count))
  1453. local stime = hook:drawText(1, 'Server Time: 0')
  1454. spawn(function()
  1455. while true do
  1456. stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
  1457. wait(0.5)
  1458. end
  1459. end)
  1460. local ssz = hook:drawText(1, 'Server Size: 0')
  1461. spawn(function()
  1462. while true do
  1463. ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
  1464. wait(0.5)
  1465. end
  1466. end)
  1467. local fe = game:GetService('Workspace').FilteringEnabled
  1468. hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
  1469. hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
  1470. hook:drawText(1, 'same', 55)
  1471. end
  1472. topkek.navigation.buildContainers = function()
  1473. for _, v in pairs(topkek.data.windows) do
  1474. topkek.tools.gui:makeContainer(v)
  1475. end
  1476. end
  1477.  
  1478. topkek.navigation.initCommandBar()
  1479. topkek.navigation.buildContainers()
  1480. topkek.navigation.buildTopbar()
  1481. topkek.navigation.buildHomePage()
  1482. wait()
  1483.  
  1484.  
  1485. --// actual code below lole //--
  1486.  
  1487. --// PLAYERS //--
  1488. local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
  1489. local search = plrwin:drawButton(1, '', function()end)
  1490. drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
  1491. function fixPlayerDrop()
  1492. local t = {'All'}
  1493. for i, v in pairs(game.Players:GetPlayers()) do
  1494. table.insert(t, v.Name)
  1495. end
  1496. drop.SetTable(t)
  1497. end
  1498. game.Players.PlayerAdded:connect(function()
  1499. fixPlayerDrop()
  1500. end)
  1501. game.Players.PlayerRemoving:connect(function()
  1502. fixPlayerDrop()
  1503. end)
  1504. plrFrame = plrwin:drawContainer(1, 100)
  1505. headshotContainer = plrFrame:drawContainer(0.4, 94, true)
  1506. headshotContainer:setDrawY(20)
  1507. headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
  1508. headshotContainer:setDrawY(0)
  1509. userNameText = headshotContainer:drawText(1, "[All]")
  1510. userNameText.ClipsDescendants = true
  1511. userNameText.Font = Enum.Font.SourceSansBold
  1512. infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
  1513. infoContainer.BackgroundColor3 = color3(108, 38, 38)
  1514. userIdText = infoContainer:drawText(1, "ID: 0")
  1515. userAgeText = infoContainer:drawText(1, "Age: 0")
  1516. userTeamText = infoContainer:drawText(1, "Team: Neutral")
  1517. cval = 'All'
  1518. fixPlayerDrop()
  1519.  
  1520. function updatePlayer(plri)
  1521. local plr = game:GetService('Players'):FindFirstChild(plri)
  1522. if not plr and plri ~= 'All' then
  1523. print("Couldn't find player!")
  1524. updatePlayer(topkek.lplr)
  1525. else
  1526. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
  1527. userNameText.Text = "[All]"
  1528. userIdText.Text = 'ID: [multiple]'
  1529. userAgeText.Text = 'Age: [multiple]'
  1530. userTeamText.Text = 'Team: [multiple]'
  1531. cval = 'All'
  1532. end
  1533. local team = plr.TeamColor
  1534. if team == nil then
  1535. team = 'Neutral'
  1536. else
  1537. team = tostring(team)
  1538. end
  1539. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
  1540. userNameText.Text = plr.Name
  1541. userIdText.Text = 'ID: ' .. tostring(plr.UserId)
  1542. userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
  1543. userTeamText.Text = 'Team: ' .. team
  1544. cval = plr.Name
  1545.  
  1546. end
  1547. drop.Changed(updatePlayer)
  1548. --actual code ------__-
  1549. plrwin:addSpacing()
  1550. plrwin:drawButton(1/2, 'Kick', function()
  1551. tk.dp(cval, function(p)
  1552. topkek.banmgr.executeKick(p)
  1553. end)
  1554. end)
  1555.  
  1556. plrwin:drawButton(1/2, 'Ban', function()
  1557. tk.dp(cval, function(p)
  1558. topkek.banmgr.addSoftBan(p)
  1559. end)
  1560. end)
  1561. plrwin:drawButton(1/2,'Friendlag', function()
  1562. tk.dp(cval, function(p)
  1563. for i = 1, 10 do
  1564. spawn(function()
  1565. while wait() do
  1566. game.Players.LocalPlayer:RequestFriendship(p)
  1567. game.Players.LocalPlayer:RevokeFriendship(p)
  1568. end
  1569. end)
  1570. end
  1571. end)
  1572. end)
  1573. plrwin:drawButton(1/2, 'Hardban', function()
  1574. tk.dp(cval, function(p)
  1575. topkek.banmgr.addHardBan(p)
  1576. end)
  1577. end)
  1578. plrwin:addSpacing()
  1579. plrwin:drawButton(1/2, 'Bring', function()
  1580. tk.dp(cval, function(z)
  1581. if z.Character then
  1582. z.Character.HumanoidRootPart.CFrame =
  1583. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  1584. end
  1585. end)
  1586. end)
  1587. plrwin:drawButton(1/2, 'Goto', function()
  1588. tk.dp(cval, function(z)
  1589. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
  1590. z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  1591. end)
  1592. end)
  1593. plrwin:addSpacing()
  1594. plrwin:drawButton(1/3, 'Kill', function()
  1595. tk.dp(cval, function(p)
  1596. if p.Character and p.Character:FindFirstChild("Humanoid") then
  1597. p.Character.Humanoid.Health = 0
  1598. end
  1599. end)
  1600. end)
  1601. plrwin:drawButton(1/3, 'Seizure', function()
  1602. tk.dp(cval, function(p)
  1603. if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
  1604. spawn(function()
  1605. p.Character.Humanoid.PlatformStand = true
  1606. tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0)
  1607. repeat
  1608. wait()
  1609. p.Character.Humanoid.PlatformStand = true
  1610. tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  1611. tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1612. until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
  1613. end)
  1614. end
  1615. end)
  1616. end)
  1617. plrwin:drawButton(1/3, 'Stun', function()
  1618. tk.dp(cval, function(p)
  1619. if p.Character and p.Character:FindFirstChild("Humanoid") then
  1620. p.Character.Humanoid.PlatformStand = true
  1621. p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  1622. end
  1623. end)
  1624. end)
  1625. plrwin:drawButton(1/3, 'Freeze', function()
  1626. tk.dp(cval, function(p)
  1627. if p.Character then
  1628. tk.gt(p).Anchored = true
  1629. end
  1630. end)
  1631. end)
  1632. plrwin:drawButton(1/3, 'Thaw', function()
  1633. tk.dp(cval, function(p)
  1634. if p.Character then
  1635. tk.gt(p).Anchored = false
  1636. end
  1637. end)
  1638. end)
  1639. plrwin:drawButton(1/3, 'Superslow', function()
  1640. tk.dp(cval, function(p)
  1641. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1642. p.Character.Humanoid.WalkSpeed = 1
  1643. end
  1644. end)
  1645. end)
  1646. plrwin:drawButton(1/3, 'Highjump', function()
  1647. tk.dp(cval, function(p)
  1648. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1649. p.Character.Humanoid.JumpPower = 125
  1650. end
  1651. end)
  1652. end)
  1653. plrwin:drawButton(1/3, 'God', function()
  1654. tk.dp(cval, function(p)
  1655. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1656. p.Character.Humanoid.MaxHealth = math.huge
  1657. p.Character.Humanoid.Health = math.huge
  1658. end
  1659. end)
  1660. end)
  1661. plrwin:drawButton(1/3, 'Semigod', function()
  1662. tk.dp(cval, function(p)
  1663. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1664. p.Character.Humanoid.MaxHealth = 9e9
  1665. p.Character.Humanoid.Health = 9e9
  1666. end
  1667. end)
  1668. end)
  1669. plrwin:drawButton(1/3, 'Fast', function()
  1670. tk.dp(cval, function(p)
  1671. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1672. p.Character.Humanoid.WalkSpeed = 50
  1673. end
  1674. end)
  1675. end)
  1676. Follow = false;
  1677. plrwin:drawButton(1/3, 'Annoy', function()
  1678. tk.dp(cval, function(p)
  1679. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1680. if Follow == true then
  1681. Follow = false; return
  1682. else Follow = true end
  1683. while Follow == true do
  1684. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
  1685. p.Character.HumanoidRootPart.CFrame
  1686. wait()
  1687. end
  1688. end
  1689. end)
  1690. end)
  1691. plrwin:drawButton(1/3, 'Freefall', function()
  1692. tk.dp(cval, function(p)
  1693. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1694. p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)
  1695. end
  1696. end)
  1697. end)
  1698. plrwin:drawButton(1/3, 'Destroy', function()
  1699. tk.dp(cval, function(p)
  1700. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1701. p.Character.Humanoid:Destroy()
  1702. end
  1703. end)
  1704. end)
  1705. plrwin:drawButton(1/3, 'Fix', function()
  1706. tk.dp(cval, function(p)
  1707. if p.Character and p.Character:FindFirstChild('Humanoid') then
  1708. p.Character.Humanoid.Health = 100
  1709. p.Character.Humanoid.MaxHealth = 100
  1710. p.Character.Humanoid.JumpPower = 100
  1711. p.Character.Humanoid.WalkSpeed = 16
  1712. p.Character.Humanoid.PlatformStand = false
  1713. p.Character.Humanoid.Jump = true
  1714. end
  1715. end)
  1716. end)
  1717. plrwin:drawButton(1/3, 'Respawn', function()
  1718. tk.dp(cval, function(p)
  1719. if p.Character then
  1720. local a1 = Instance.new("Model", game:service'Workspace')
  1721. local a2 = Instance.new("Part", game:service'Workspace')
  1722. a2.CanCollide = true
  1723. a2.Anchored = true
  1724. a2.CFrame = CFrame.new(10000, 10000, 10000)
  1725. a2.Name = "Torso"
  1726. local a3 = Instance.new("Humanoid", a1)
  1727. a3.MaxHealth=100;a3.Health=100
  1728. p.Character = a1
  1729. a3.Health=0
  1730. end
  1731. end)
  1732. end)
  1733. plrwin:addSpacing()
  1734. local nameInp
  1735. plrwin:drawButton(1/3, 'Name', function()
  1736. tk.dp(cval, function(z)
  1737. local Character = z.Character
  1738. local newName = Instance.new("Model", z.Character)
  1739. newName.Name = nameInp.Text
  1740. local cl = Character:WaitForChild("Head"):Clone()
  1741. cl.Parent = newName
  1742. cl:WaitForChild("face"):Destroy()
  1743. local hum = Instance.new("Humanoid", newName)
  1744. hum.Name = "NameTag"
  1745. hum.MaxHealth = 0
  1746. hum.Health = 0
  1747. local weld = Instance.new("Weld", cl)
  1748. weld.Part0 = cl
  1749. weld.Part1 = Character:WaitForChild("Head")
  1750. Character:WaitForChild("Head").Transparency = 1
  1751. wait(.5)
  1752. cl.BrickColor = Character:WaitForChild("Head").BrickColor
  1753. end)
  1754. end)
  1755. nameInp = plrwin:drawTextBox(2/3, '')
  1756. local chatInp
  1757. plrwin:drawButton(1/3, 'Chat', function()
  1758. tk.dp(cval, function(z)
  1759. game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
  1760. end)
  1761. end)
  1762. chatInp = plrwin:drawTextBox(2/3, '')
  1763. local disgInp
  1764. plrwin:drawButton(1/3, 'Disguise', function()
  1765. tk.dp(cval, function(p)
  1766. local id = 0
  1767. if tonumber(disgInp.Text) then
  1768. id = tonumber(disgInp.Text)
  1769. else
  1770. id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
  1771. end
  1772. if p.Character:FindFirstChild("Humanoid") then
  1773. p.Character.Humanoid.Health = 0
  1774. end
  1775. p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  1776. end)
  1777. end)
  1778. disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
  1779. plrwin:addSpacing()
  1780. clrR = plrwin:drawTextBox(1/3, '0')
  1781. clrG = plrwin:drawTextBox(1/3, '0')
  1782. clrB = plrwin:drawTextBox(1/3, '0')
  1783. function getColor()
  1784. local r = tonumber(clrR.Text)
  1785. local g = tonumber(clrG.Text)
  1786. local b = tonumber(clrB.Text)
  1787. if not (r and g and b) then return Color3.new(0,0,0) end
  1788. return Color3.new(r/255, g/255, b/255)
  1789. end
  1790. plrwin:drawButton(1/3, 'Sparkles', function()
  1791. tk.dp(cval, function(z)
  1792. Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
  1793. end)
  1794. end)
  1795. plrwin:drawButton(1/3, 'Smoke', function()
  1796. tk.dp(cval, function(z)
  1797. Instance.new("Smoke", tk.gt(z)).Color = getColor()
  1798.  
  1799. end)
  1800. end)
  1801. plrwin:drawButton(1/3, 'Fire', function()
  1802. tk.dp(cval, function(z)
  1803. local fr = Instance.new("Fire", tk.gt(z))
  1804. fr.Color = getColor()
  1805. fr.Heat = 30
  1806. fr.Size = 20
  1807. end)
  1808. end)
  1809. plrwin:drawButton(1/3, 'Forcefield', function()
  1810. tk.dp(cval, function(z)
  1811. if z.Character then
  1812. Instance.new("ForceField", z.Character)
  1813. end
  1814. end)
  1815. end)
  1816. plrwin:drawButton(1/3, 'Select', function()
  1817. tk.dp(cval, function(z)
  1818. if z.Character and tk.gt(z) then
  1819. Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
  1820. end
  1821. end)
  1822. end)
  1823. plrwin:drawButton(1/3, 'Sphere', function()
  1824. tk.dp(cval, function(z)
  1825. if z.Character and tk.gt(z) then
  1826. Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
  1827. end
  1828. end)
  1829. end)
  1830. plrwin:drawButton(1/3, 'Fling', function()
  1831. tk.dp(cval, function(z)
  1832. spawn(function() --kohls admin commands lol
  1833. if z.Character and tk.gt(z) then
  1834. local xran, zran
  1835. repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
  1836. repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
  1837. z.Character.Humanoid.Sit = true
  1838. tk.gt(z).Velocity = Vector3.new(0,0,0)
  1839. local frc = Instance.new("BodyForce", tk.gt(z))
  1840. frc.Name = "BFRC"
  1841. frc.force = Vector3.new(xran*4,9999*5,zran*4)
  1842. game:GetService("Debris"):AddItem(frc, 0.1)
  1843. end
  1844. end)
  1845. end)
  1846. end)
  1847. plrwin:drawButton(1/3, 'Explode', function()
  1848. tk.dp(cval, function(z)
  1849. if z.Character and tk.gt(z) then
  1850. local explosion = Instance.new("Explosion")
  1851. explosion.Position = tk.gt(z).Position
  1852. explosion.Parent = workspace
  1853. end
  1854. end)
  1855. end)
  1856. plrwin:drawButton(1/3, 'Nuke', function()
  1857. tk.dp(cval, function(z)
  1858. if z.Character and tk.gt(z) then
  1859. local torso = tk.gt(z)
  1860. local nuke = Instance.new("Part", game.Workspace)
  1861. local opos = torso.CFrame
  1862. nuke.BrickColor = BrickColor.new("Bright yellow")
  1863. nuke.TopSurface = Enum.SurfaceType.Smooth
  1864. nuke.BottomSurface = Enum.SurfaceType.Smooth
  1865. nuke.Anchored = true
  1866. nuke.CanCollide = false
  1867. nuke.Shape = "Ball"
  1868. nuke.Transparency = 0.5
  1869. nuke.CFrame = torso.CFrame
  1870. nuke.Size = Vector3.new(1, 1, 1)
  1871. nuke.Touched:connect(function(p)
  1872. local expl = Instance.new("Explosion", p)
  1873. expl.BlastPressure = 50000
  1874. expl.BlastRadius = 50
  1875. expl.Position = p.Position
  1876. p.Material = Enum.Material.CorrodedMetal
  1877. p:BreakJoints()
  1878. end)
  1879. for i = 1, 150 do
  1880. nuke.Size = Vector3.new(i, i, i)
  1881. nuke.CFrame = opos
  1882. wait(0.08)
  1883. end
  1884. nuke:Destroy()
  1885. end
  1886. end)
  1887. end)
  1888. plrwin:drawButton(1/3, 'No Tools', function()
  1889. tk.dp(cval, function(p)
  1890. for _, t in pairs(p.Backpack:GetChildren()) do
  1891. t:Destroy()
  1892. end
  1893. end)
  1894. end)
  1895. plrwin:drawButton(1/3, 'Take Tools', function()
  1896. tk.dp(cval, function(p)
  1897. for _, t in pairs(p.Backpack:GetChildren()) do
  1898. t.Parent = game:service'Players'.LocalPlayer.Backpack
  1899. end
  1900. end)
  1901. end)
  1902. plrwin:drawButton(1/3, 'BTools', function()
  1903. tk.dp(cval, function(p)
  1904. local a = Instance.new("HopperBin")
  1905. a.BinType = "GameTool"
  1906. a.Parent = p.Backpack
  1907. local a = Instance.new("HopperBin")
  1908. a.BinType = "Clone"
  1909. a.Parent = p.Backpack
  1910. local a = Instance.new("HopperBin")
  1911. a.BinType = "Hammer"
  1912. a.Parent = p.Backpack
  1913. end)
  1914. end)
  1915. plrwin:drawButton(1/3, 'Hotdog', function()
  1916. tk.dp(cval, function(p)
  1917. if p.Character and tk.gt(p) then
  1918. topkek.tools.util.weenieHutJunior(p)
  1919. end
  1920. end)
  1921. end)
  1922. plrwin:drawButton(1/3, 'Quicksand', function()
  1923. tk.dp(cval, function(z)
  1924. if z.Character and z.Character:FindFirstChild("Humanoid") then
  1925. local tor = tk.gt(z)
  1926. local hole = Instance.new("Part", z.Character)
  1927. hole.Anchored = true
  1928. hole.Name = "Hole"
  1929. hole.FormFactor = Enum.FormFactor.Custom
  1930. hole.Size = Vector3.new(7, 1, 7)
  1931. hole.CanCollide = false
  1932. hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
  1933. hole.BrickColor = BrickColor.new("Cool yellow")
  1934. hole.Material = Enum.Material.Sand
  1935. local hm = Instance.new("CylinderMesh", hole)
  1936. tor.Anchored = true
  1937. if z.Character:FindFirstChild("Humanoid") then
  1938. z.Character.Humanoid.Jump = true
  1939. end
  1940. for x,m in pairs(z.Character:GetChildren()) do
  1941. if m:IsA("BasePart") or m:IsA("MeshPart") then
  1942. m.CanCollide = false
  1943. end
  1944. end
  1945. for i=1,75 do
  1946. tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  1947. wait(0.06)
  1948. end
  1949. tor.CFrame=tor.CFrame*CFrame.new(0,
  1950. -500,0
  1951. )
  1952. z.Character.Humanoid.Health = 0
  1953. end
  1954. end)
  1955. end)
  1956. plrwin:drawButton(1/3, 'Insane', function()
  1957. tk.dp(cval, function(p)
  1958. if p.Character and tk.gt(p) then
  1959. for i,v in pairs(tk.gt(p):GetChildren()) do
  1960. if v:IsA("Motor6D") then
  1961. spawn(function()
  1962. while v do
  1963. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  1964. wait()
  1965. end
  1966. end)
  1967. end
  1968. end
  1969. end
  1970. end)
  1971. end)
  1972. plrwin:drawButton(1/3, 'Invisible', function()
  1973. tk.dp(cval, function(p)
  1974. tk.rco(p.Character, 'BasePart', 'Transparency', 1)
  1975. tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
  1976. end)
  1977. end)
  1978. plrwin:drawButton(1/3, 'Visible', function()
  1979. tk.dp(cval, function(p)
  1980. tk.rco(p.Character, 'BasePart', 'Transparency', 0)
  1981. tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
  1982. end)
  1983. end)
  1984. plrwin:drawButton(1/3, 'Bighead', function()
  1985. tk.dp(cval, function(z)
  1986. if z.Character then
  1987. if z.Character:FindFirstChild('Head') then
  1988. z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
  1989. end
  1990. end
  1991. end)
  1992. end)
  1993. plrwin:drawButton(1/3, 'Goldify', function()
  1994. tk.dp(cval, function(z)
  1995. if z.Character then
  1996. tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
  1997. tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
  1998. tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
  1999. tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
  2000. end
  2001. end)
  2002. end)
  2003. plrwin:drawButton(1/3, 'Neon', function()
  2004. tk.dp(cval, function(z)
  2005. if z.Character then
  2006. tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
  2007. tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
  2008. end
  2009. end)
  2010. end)
  2011. plrwin:drawButton(1/3, 'Shiny', function()
  2012. tk.dp(cval, function(z)
  2013. if z.Character then
  2014. tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
  2015. tk.rcm(z.Character, 'MeshPart')
  2016. end
  2017. end)
  2018. end)
  2019. plrwin:drawButton(1/3, 'Shrek', function()
  2020. tk.dp(cval, function(z)
  2021. if z.Character then
  2022. local pchar = z.Character
  2023. for i,v in pairs(pchar:GetChildren()) do
  2024. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  2025. v:Destroy()
  2026. end
  2027. end
  2028. for i,v in pairs(pchar.Head:GetChildren()) do
  2029. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  2030. v:Destroy()
  2031. end
  2032. end
  2033.  
  2034. local mesh = Instance.new("SpecialMesh", pchar.Head)
  2035. mesh.MeshType = "FileMesh"
  2036. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  2037. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  2038. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  2039.  
  2040. local Shirt = Instance.new("Shirt", z.Character)
  2041. local Pants = Instance.new("Pants", z.Character)
  2042.  
  2043. Shirt.ShirtTemplate = "rbxassetid://133078194"
  2044. Pants.PantsTemplate = "rbxassetid://133078204"
  2045. end
  2046. end)
  2047. end)
  2048. plrwin:drawButton(1/3, 'Duck', function()
  2049. tk.dp(cval, function(z)
  2050. if z.Character then
  2051. local pchar = z.Character
  2052. for i,v in pairs(pchar:GetChildren()) do
  2053. if v:IsA("Hat") or v:IsA("Accessory") then
  2054. v:Destroy()
  2055. end
  2056. end
  2057. local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
  2058. duck.MeshType = "FileMesh"
  2059. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  2060. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  2061. duck.Scale = Vector3.new(5, 5, 5)
  2062. tk.rco(z.Character, 'Instance', 'Transparency', 1)
  2063. z.Character.HumanoidRootPart.Transparency = 0
  2064. end
  2065. end)
  2066. end)
  2067. plrwin:drawButton(1/3, 'Spheres', function()
  2068. tk.dp(cval, function(z)
  2069. if z.Character then
  2070. tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
  2071. end
  2072. end)
  2073. end)
  2074. plrwin:drawButton(1/3, 'Big', function()
  2075. tk.dp(cval, function(z)
  2076. if z.Character then
  2077. topkek.tools.util.scalePlayer(5, z)
  2078. end
  2079. end)
  2080. end)
  2081. plrwin:drawButton(1/3, 'Small', function()
  2082. tk.dp(cval, function(z)
  2083. if z.Character then
  2084. topkek.tools.util.scalePlayer(5, z)
  2085. end
  2086. end)
  2087. end)
  2088. plrwin:drawButton(1/3, 'Giraffe', function()
  2089. tk.dp(cval, function(z)
  2090. if z.Character then
  2091. local char=z.Character
  2092. local h=char.Head
  2093. local tor=char:FindFirstChild("Torso")
  2094. if not tor then return end
  2095. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  2096. local fn=Instance.new("Part",char)
  2097. fn.Size=Vector3.new(1,5.5,1)
  2098. fn.Name="FakeNeck"
  2099. fn.Anchored=false
  2100. fn.CanCollide=false
  2101. if char:FindFirstChild("Body Colors") then
  2102. fn.BrickColor=char["Body Colors"].HeadColor
  2103. end
  2104. local cm=Instance.new("CylinderMesh",fn)
  2105. local we=Instance.new("Weld",h)
  2106. we.Part0=h
  2107. we.Part1=fn
  2108. we.C1=we.C1*CFrame.new(0,2.6,0)
  2109. end
  2110. end)
  2111. end)
  2112. plrwin:drawButton(1/3, 'Dab', function()
  2113. tk.dp(cval, function(z)
  2114. if z.Character and z.Character:FindFirstChild("Torso") then
  2115. local chr = z.Character
  2116. chr.Animate.Disabled = true
  2117. 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)
  2118. 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)
  2119. 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)
  2120. end
  2121. end)
  2122. end)
  2123. plrwin:drawButton(1/3, 'Force Follow', function()
  2124. tk.dp(cval, function(z)
  2125. game:GetService("RunService"):BindToRenderStep("_", 0, function()
  2126. z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
  2127. end)
  2128. end)
  2129. end)
  2130. plrwin:drawButton(1/3, 'Camlock', function()
  2131. tk.dp(cval, function(z)
  2132. z.CameraMode = "LockFirstPerson"
  2133. end)
  2134. end)
  2135. --// SERVER //--
  2136. local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
  2137. local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
  2138. detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
  2139. detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
  2140. detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
  2141. detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
  2142. servwin:drawButton(1/2, 'Shutdown', function()
  2143. workspace.Gravity = 0/0
  2144. end)
  2145. servwin:drawButton(1/2, 'Clear', function()
  2146. for i,v in pairs(game:service'Workspace':GetChildren()) do
  2147. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  2148. v:Destroy()
  2149. end
  2150. end
  2151. end)
  2152. servwin:drawButton(1/2, 'Baseplate', function()
  2153. for X = -2500, 2500, 512 do
  2154. for Z = -2500, 2500, 512 do
  2155. local P = Instance.new("Part")
  2156. P.Anchored = true
  2157. P.Locked = true
  2158. P.Size = Vector3.new(512,3,512)
  2159. P.CFrame = CFrame.new(X,0,Z)
  2160. P.BrickColor = BrickColor.Green()
  2161. P.Parent = game:service'Workspace'
  2162. end
  2163. end
  2164. end)
  2165. servwin:drawButton(1/2, 'Reset', function()
  2166. for i,v in pairs(game:service'Workspace':GetChildren()) do
  2167. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  2168. v:Destroy()
  2169. end
  2170. end
  2171. for X = -2500, 2500, 512 do
  2172. for Z = -2500, 2500, 512 do
  2173. local P = Instance.new("Part")
  2174. P.Anchored = true
  2175. P.Locked = true
  2176. P.Size = Vector3.new(512,3,512)
  2177. P.CFrame = CFrame.new(X,0,Z)
  2178. P.BrickColor = BrickColor.Green()
  2179. P.Parent = game:service'Workspace'
  2180. end
  2181. end
  2182. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  2183. local a1 = Instance.new("Model", game:service'Workspace')
  2184. local a2 = Instance.new("Part", game:service'Workspace')
  2185. a2.CanCollide = true
  2186. a2.Anchored = true
  2187. a2.CFrame = CFrame.new(10000, 10000, 10000)
  2188. a2.Name = "Torso"
  2189. local a3 = Instance.new("Humanoid", a1)
  2190. a3.MaxHealth=100;a3.Health=100
  2191. v.Character = a1
  2192. a3.Health=0
  2193. end
  2194. end)
  2195. servwin:drawButton(1, 'Remove Sounds', function()
  2196. tk.rcm(game, 'Sound')
  2197. end)
  2198. servwin:addSpacing()
  2199. servwin:drawButton(1, 'Break All', function()
  2200. workspace:BreakJoints(workspace:GetChildren())
  2201. end)
  2202. local gravInp
  2203. servwin:drawButton(1/3, 'Gravity', function()
  2204. if not tonumber(gravInp.Text) then return end
  2205. workspace.Gravity = tonumber(gravInp.Text)
  2206. end)
  2207. gravInp = servwin:drawTextBox(2/3, '')
  2208. servwin:addSpacing()
  2209. servwin:drawButton(1, 'Reset Lighting', function()
  2210. local l = game:service'Lighting'
  2211. l.Ambient = Color3.new(0, 0, 0)
  2212. l.Brightness = 1
  2213. l.GlobalShadows = true
  2214. l.Outlines = true
  2215. l.FogEnd = 100000
  2216. l.FogStart = 0
  2217. l:SetMinutesAfterMidnight(12*60)
  2218. end)
  2219. local brightInp
  2220. servwin:drawButton(1/3, 'Brightness', function()
  2221. if not tonumber(brightInp.Text) then return end
  2222. game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
  2223. end)
  2224. brightInp = servwin:drawTextBox(2/3, '100')
  2225. local fogInp
  2226. servwin:drawButton(1/3, 'Fog', function()
  2227. if not tonumber(fogInp.Text) then return end
  2228. game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
  2229. end)
  2230. fogInp = servwin:drawTextBox(2/3, '0')
  2231. local timeInp
  2232. servwin:drawButton(1/3, 'Hour', function()
  2233. if not tonumber(timeInp.Text) then return end
  2234. game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
  2235. end)
  2236. timeInp = servwin:drawTextBox(2/3, '12')
  2237. servwin:addSpacing()
  2238. -- private server crap
  2239. local privateToggle
  2240. local privStatus = false
  2241. privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
  2242. if privStatus == false then
  2243. privStatus = true
  2244. privateToggle.Text = 'Private Server ON'
  2245. topkek.banmgr.makePrivate()
  2246. else
  2247. privateToggle.Text = 'Private Server OFF'
  2248. topkek.banmgr.unprivate()
  2249. end
  2250. end)
  2251. servwin:addSpacing()
  2252. servwin:drawText(1, 'Whitelist')
  2253. local plrAddInp
  2254. servwin:drawButton(1/3, 'Add', function()
  2255. topkek.banmgr.doWhitelist(plrAddInp.Text)
  2256. ReorderWL()
  2257. end)
  2258. plrAddInp = servwin:drawTextBox(2/3, '')
  2259. wlCont = servwin:drawScrollingContainer(100)
  2260. function ReorderWL()
  2261. local wl = topkek.banmgr.whitelist
  2262. for i,v in pairs(wlCont:GetChildren()) do
  2263. v:Destroy()
  2264. end
  2265. wlCont:setDrawY(3)
  2266. for i,v in pairs(wl) do
  2267. wlCont:drawText(2/3, v)
  2268. wlCont:drawButton(1/3, 'Remove', function()
  2269. topkek.banmgr.unwhitelist(v)
  2270. ReorderWL()
  2271. end)
  2272. end
  2273. end
  2274. ReorderWL()
  2275. --// LOCALPLAYER //--
  2276. local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
  2277. lpwin:drawButton(1, 'Reset Camera', function()
  2278. game.Workspace.CurrentCamera:remove()
  2279. wait(.1)
  2280. game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or
  2281. game.Workspace[topkek.lplr.Name].Humanoid
  2282. game.Workspace.CurrentCamera.CameraType = "Custom"
  2283. end)
  2284. lpwin:drawButton(1, 'Respawn', function()
  2285. local a1 = Instance.new("Model", game:service'Workspace')
  2286. local a2 = Instance.new("Part", game:service'Workspace')
  2287. a2.CanCollide = true
  2288. a2.Anchored = true
  2289. a2.CFrame = CFrame.new(10000, 10000, 10000)
  2290. a2.Name = "Torso"
  2291. local a3 = Instance.new("Humanoid", a1)
  2292. a3.MaxHealth=100;a3.Health=100
  2293. topkek.lplr.Character = a1
  2294. a3.Health=0
  2295. end)
  2296. lpwin:drawButton(1, 'Rejoin', function()
  2297. game:GetService('TeleportService'):Teleport(game.PlaceId)
  2298. end)
  2299. lpwin:addSpacing()
  2300. lpwin:drawButton(1/2, 'God', function()
  2301. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  2302. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  2303. topkek.lplr.Character.Humanoid.Health = math.huge
  2304. end
  2305. end)
  2306. lpwin:drawButton(1/2, 'Semigod', function()
  2307. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  2308. topkek.lplr.Character.Humanoid.MaxHealth = 9e9
  2309. topkek.lplr.Character.Humanoid.Health = 9e9
  2310. end
  2311. end)
  2312. Loopgod = false
  2313. lpwin:drawButton(1, 'Loopgod', function()
  2314. if Loopgod == false then
  2315. Loopgod = true
  2316. spawn(function()
  2317. repeat
  2318. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  2319. topkek.lplr.Character.Humanoid.Health = math.huge
  2320. wait()
  2321. until Loopgod == false
  2322. end)
  2323. else
  2324. Loopgod = false
  2325. end
  2326. end)
  2327. lpwin:addSpacing()
  2328. plrwin:addSpacing()
  2329. local Lev, Clip, Fly
  2330. lpwin:drawButton(1/2, 'Levitate', function()
  2331. if Lev == true then
  2332. Lev = false
  2333. return
  2334. end
  2335. Lev = true
  2336. repeat
  2337. topkek.lplr.Character.Humanoid:ChangeState(10)
  2338. wait(0)
  2339. until Lev == false
  2340. end)
  2341. lpwin:drawButton(1/2, 'Noclip', function()
  2342. if Clip == true then
  2343. Clip = false
  2344. return
  2345. end
  2346. Clip = true
  2347. game:GetService("RunService").Stepped:connect(function()
  2348. tk.gt(topkek.lplr).CanCollide = not Clip
  2349. topkek.lplr.Character.Head.CanCollide = not Clip
  2350. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  2351. if topkek.lplr.Character.UpperTorso then
  2352. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  2353. end
  2354. end)
  2355. topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
  2356. tk.gt(topkek.lplr).CanCollide = not Clip
  2357. topkek.lplr.Character.Head.CanCollide = not Clip
  2358. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  2359. if topkek.lplr.Character.UpperTorso then
  2360. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  2361. end
  2362. end)
  2363. end)
  2364. lpwin:drawButton(1/2, 'Fly', function()
  2365. if Fly == true then
  2366. Fly = false
  2367. return
  2368. end
  2369. Fly = true
  2370. local mouse=game.Players.LocalPlayer:GetMouse''
  2371. localplayer=game.Players.LocalPlayer
  2372. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  2373. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  2374. local speed=0
  2375. local keys={a=false,d=false,w=false,s=false}
  2376. local e1
  2377. local e2
  2378. local function start()
  2379. local pos = Instance.new("BodyPosition",torso)
  2380. local gyro = Instance.new("BodyGyro",torso)
  2381. pos.Name="EPIXPOS"
  2382. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2383. pos.position = torso.Position
  2384. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2385. gyro.cframe = torso.CFrame
  2386. repeat
  2387. wait()
  2388. localplayer.Character.Humanoid.PlatformStand=true
  2389. local new=gyro.cframe - gyro.cframe.p + pos.position
  2390. if not keys.w and not keys.s and not keys.a and not keys.d then
  2391. speed=1
  2392. end
  2393. if keys.w then
  2394. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2395. speed=speed+0.01
  2396. end
  2397. if keys.s then
  2398. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2399. speed=speed+0.01
  2400. end
  2401. if keys.d then
  2402. new = new * CFrame.new(speed,0,0)
  2403. speed=speed+0.01
  2404. end
  2405. if keys.a then
  2406. new = new * CFrame.new(-speed,0,0)
  2407. speed=speed+0.01
  2408. end
  2409. if speed>5 then
  2410. speed=5
  2411. end
  2412. pos.position=new.p
  2413. if keys.w then
  2414. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  2415. elseif keys.s then
  2416. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  2417. else
  2418. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  2419. end
  2420. until not Fly
  2421. if gyro then gyro:Destroy() end
  2422. if pos then pos:Destroy() end
  2423. flying=false
  2424. localplayer.Character.Humanoid.PlatformStand=false
  2425. speed=0
  2426. end
  2427. e1=mouse.KeyDown:connect(function(key)
  2428. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  2429. if key=="w" then
  2430. keys.w=true
  2431. elseif key=="s" then
  2432. keys.s=true
  2433. elseif key=="a" then
  2434. keys.a=true
  2435. elseif key=="d" then
  2436. keys.d=true
  2437. end
  2438. end)
  2439. e2=mouse.KeyUp:connect(function(key)
  2440. if key=="w" then
  2441. keys.w=false
  2442. elseif key=="s" then
  2443. keys.s=false
  2444. elseif key=="a" then
  2445. keys.a=false
  2446. elseif key=="d" then
  2447. keys.d=false
  2448. end
  2449. end)
  2450. start()
  2451. end)
  2452. lpwin:drawButton(1/2, 'Highjump', function()
  2453. local thrust = Instance.new("BodyVelocity")
  2454. game:GetService('UserInputService').InputBegan:connect(function(i, b)
  2455. if i.KeyCode == Enum.KeyCode.Space then
  2456. print("Got jump")
  2457. coroutine.resume(coroutine.create(function()
  2458. thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  2459. thrust.velocity = Vector3.new(0,50,0)
  2460. thrust.maxForce = Vector3.new(0,4e+050,0)
  2461. wait(0.2)
  2462. thrust.Parent = nil
  2463. end))
  2464. end
  2465. end)
  2466. end)
  2467. lpwin:addSpacing()
  2468. local apprInp
  2469. lpwin:drawButton(1/3, 'Appearance', function()
  2470. local id = 0
  2471. if tonumber(apprInp.Text) then
  2472. id = tonumber(apprInp.Text)
  2473. else
  2474. id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
  2475. end
  2476. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  2477. topkek.lplr.Character.Humanoid.Health = 0
  2478. end
  2479. topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  2480. end)
  2481. apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
  2482. local teamInp
  2483. lpwin:drawButton(1/3, 'Team', function()
  2484. topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
  2485. end)
  2486. teamInp = lpwin:drawTextBox(2/3, 'Bright red')
  2487. lpwin:drawButton(1/2, 'Naked', function()
  2488. topkek.lplr:ClearCharacterAppearance()
  2489. end)
  2490. lpwin:drawButton(1/2, 'Neutral', function()
  2491. topkek.lplr.Neutral = true
  2492. end)
  2493. lpwin:addSpacing()
  2494. lpwin:drawButton(1/2, 'Orb', function()
  2495. game.Players.LocalPlayer.Character = nil
  2496. --lp:Destroy()
  2497. local cam = game.Workspace.CurrentCamera
  2498. local m = Instance.new("Model", game.Workspace)
  2499. m.Name = game.Players.LocalPlayer.Name
  2500. local hum = Instance.new("Humanoid", m)
  2501. hum.Health = 0
  2502. hum.MaxHealth = 0
  2503. local orb = Instance.new("Part", m)
  2504. orb.Size = Vector3.new(1, 1, 1)
  2505. orb.Shape = "Ball"
  2506. orb.Name = "Head"
  2507. orb.Anchored = true
  2508. orb.CanCollide = true
  2509. orb.BottomSurface = Enum.SurfaceType.Smooth
  2510. orb.TopSurface = Enum.SurfaceType.Smooth
  2511. orb.Transparency = 0
  2512. spawn(function()
  2513. while true do
  2514. wait(0.1)
  2515. if orb then
  2516. orb.BrickColor = BrickColor.Random()
  2517. else break end
  2518. end
  2519. end)
  2520. cam.CameraSubject = orb
  2521. cam.CameraType = Enum.CameraType.Fixed
  2522. game:GetService("RunService").RenderStepped:connect(function()
  2523. orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  2524. end)
  2525. game.Players.LocalPlayer.Chatted:connect(function(a)
  2526. game:GetService("Chat"):Chat(orb, a)
  2527. end)
  2528. end)
  2529. lpwin:drawButton(1/2, 'Freecam', function()
  2530. local cam = game.Workspace.CurrentCamera
  2531. cam.CameraType = "Fixed"
  2532. cam.CameraSubject = nil
  2533. topkek.lplr.Character = nil
  2534. end)
  2535. lpwin:drawButton(1/2, 'NoGrav', function()
  2536. if topkek.lplr.Character then
  2537. for x,m in pairs(topkek.lplr.Character:GetChildren()) do
  2538. if m:IsA("BasePart") then
  2539. local bf = Instance.new("BodyForce", m)
  2540. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  2541. end
  2542. if m:IsA("Hat") or m:IsA("Accessory") then
  2543. if m:findFirstChild("Handle") then
  2544. local bf = Instance.new("BodyForce", m.Handle)
  2545. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  2546. end
  2547. end
  2548. end
  2549. end
  2550. end)
  2551. lpwin:drawButton(1/2, 'Trowel', function()
  2552. topkek.tools.util.trowel()
  2553. end)
  2554. lpwin:addSpacing()
  2555. lpwin:drawButton(1/2, 'Fedora', function()
  2556. local hats={
  2557. 98346834,
  2558. 215751161,
  2559. 119916949,
  2560. 72082328,
  2561. 147180077,
  2562. 100929604,
  2563. 63043890,
  2564. 1285307,
  2565. 1029025,
  2566. 334663683,
  2567. 259423244
  2568. }
  2569. game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
  2570. end)
  2571. lpwin:drawButton(1/2, 'Rainbow Name', function()
  2572. topkek.lplr.Neutral = false
  2573. repeat
  2574. wait()
  2575. topkek.lplr.TeamColor = BrickColor.Random()
  2576. until not topkek.lplr.Character.Humanoid
  2577. end)
  2578. local tagInp
  2579. lpwin:drawButton(1/3, 'Tag', function()
  2580. local len = 10
  2581. local bb = Instance.new("BillboardGui")
  2582. bb.Parent = topkek.lplr.Character.Head
  2583. bb.Adornee = topkek.lplr.Character.Head
  2584. bb.AlwaysOnTop = true
  2585. bb.Enabled = true
  2586. bb.Size = UDim2.new(len, 0, 1.5, 0)
  2587. bb.Name = "tag"
  2588. bb.StudsOffset = Vector3.new(0, 3, 0)
  2589. --local fr = Instance.new("Frame")
  2590. --fr.Parent = bb
  2591. --fr.Size = UDim2.new(1, 0, 1, 0)
  2592. --fr.Style = Enum.FrameStyle.RobloxRound
  2593. local tl = Instance.new("TextLabel")
  2594. tl.Parent = bb
  2595. tl.Font = Enum.Font.Code
  2596. tl.BackgroundTransparency = 1
  2597. tl.TextScaled = true
  2598. tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  2599. tl.Size = UDim2.new(1, 0, 1, 0)
  2600. tl.Text = tagInp.Text
  2601. tl.Name = "trutag"
  2602. tl.Visible = true
  2603. tl.ZIndex = 2
  2604. end)
  2605. tagInp = lpwin:drawTextBox(2/3, '')
  2606. --// SCRIPTS //--
  2607. local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
  2608. local search = scriptwin:drawTextBox(1,'')
  2609. local origy = scriptwin:getDrawY()
  2610. scriptwin:addSpacing()
  2611. scriptwin:addSpacing()
  2612. local scripts = game:GetObjects("rbxassetid://376553985")[1]
  2613. local container = {}
  2614. function MakeList(condition)
  2615. for i,v in pairs(scriptwin:GetChildren()) do
  2616. if v.Name == "Script" then
  2617. v:Destroy()
  2618. end
  2619. end
  2620. scriptwin:setDrawY(origy)
  2621. for i, v in pairs(scripts:GetChildren()) do
  2622. if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
  2623. local scr = scriptwin:drawButton(1, v.Name, function()
  2624. spawn(function() loadstring(v.Source)() end)
  2625. end, 25)
  2626. scr.Name = 'Script'
  2627. end
  2628. end
  2629. end
  2630. game:GetService("UserInputService").InputChanged:connect(function(inp)
  2631. if inp.UserInputType == Enum.UserInputType.TextInput then
  2632. if search:IsFocused() then
  2633. MakeList(search.Text)
  2634. end
  2635. end
  2636. end)
  2637. MakeList('')
  2638. --// DESTRUCTION // --
  2639. local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
  2640. local decals, seldec = destwin:drawScrollingContainer(100)
  2641. seldec = destwin:drawText(1, 'Selected Decal: None')
  2642. cursel = nil
  2643. local decs = {
  2644. {'Rain', '574772793'},
  2645. {'Robbie', '574773630'},
  2646. {'Pepe', '244905904'},
  2647. {'Troll Face', '48308661'},
  2648. {'Jeff', '109129888'},
  2649. {'Shrek', '170539018'},
  2650. {'Doge', '133720697'},
  2651. {'Dat Boi', '409578848'},
  2652. }
  2653. for _, v in pairs(decs) do
  2654. local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
  2655. topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  2656. end
  2657. destwin:drawButton(1, 'Spam Decal', function()
  2658. if cursel ~= nil then
  2659. topkek.tools.util.recurseDecal(tonumber(cursel))
  2660. end
  2661. end)
  2662. destwin:drawButton(1, 'Spam Particles', function()
  2663. if cursel ~= nil then
  2664. topkek.tools.util.recurseParticles(tonumber(cursel))
  2665. end
  2666. end)
  2667. destwin:drawButton(1, 'Spam Both', function()
  2668. if cursel ~= nil then
  2669. topkek.tools.util.recurseUltimate(tonumber(cursel))
  2670. end
  2671. end)
  2672. destwin:drawButton(1, 'Rollback', function()
  2673. tk.rcm(workspace, 'Decal')
  2674. tk.rcm(workspace, 'ParticleEmitter')
  2675. end)
  2676. destwin:addSpacing()
  2677. destwin:drawButton(1, '666', function()
  2678. for i,v in next,workspace:children''do
  2679. if(v:IsA'BasePart')then
  2680. me=v;
  2681. bbg=Instance.new('BillboardGui',me);
  2682. bbg.Name='stuf';
  2683. bbg.Adornee=me;
  2684. bbg.Size=UDim2.new(2.5,0,2.5,0)
  2685. --bbg.StudsOffset=Vector3.new(0,2,0)
  2686. tlb=Instance.new'TextLabel';
  2687. tlb.Text='666 666 666 666 666 666';
  2688. tlb.Font='SourceSansBold';
  2689. tlb.FontSize='Size48';
  2690. tlb.TextColor3=Color3.new(1,0,0);
  2691. tlb.Size=UDim2.new(1.25,0,1.25,0);
  2692. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  2693. tlb.BackgroundTransparency=1;
  2694. tlb.Parent=bbg;
  2695. end;end;
  2696. --coroutine.wrap(function()while wait''do
  2697. s=Instance.new'Sound';
  2698. s.Parent=workspace;
  2699. s.SoundId='rbxassetid://152840862';
  2700. s.Pitch=1;
  2701. s.Volume=1;
  2702. s.Looped=true;
  2703. s:play();
  2704. --end;end)();
  2705. function xds(dd)
  2706. for i,v in next,dd:children''do
  2707. if(v:IsA'BasePart')then
  2708. v.BrickColor=BrickColor.new'Really black';
  2709. v.TopSurface='Smooth';
  2710. v.BottomSurface='Smooth';
  2711. s=Instance.new('SelectionBox',v);
  2712. s.Adornee=v;
  2713. s.Color=BrickColor.new'Really red';
  2714. a=Instance.new('PointLight',v);
  2715. a.Color=Color3.new(1,0,0);
  2716. a.Range=15;
  2717. a.Brightness=5;
  2718. f=Instance.new('Fire',v);
  2719. f.Size=19;
  2720. f.Heat=22;
  2721. end;
  2722. game.Lighting.TimeOfDay=0;
  2723. game.Lighting.Brightness=0;
  2724. game.Lighting.ShadowColor=Color3.new(0,0,0);
  2725. game.Lighting.Ambient=Color3.new(1,0,0);
  2726. game.Lighting.FogEnd=200;
  2727. game.Lighting.FogColor=Color3.new(0,0,0);
  2728. local dec = 'http://www.roblox.com/asset/?id=19399245';
  2729. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  2730. --coroutine.wrap(function()
  2731. --for _,__ in pairs(fac) do
  2732. --local ddec = Instance.new("Decal", v)
  2733. --ddec.Face = __
  2734. --ddec.Texture = dec
  2735. --end end)()
  2736. if #(v:GetChildren())>0 then
  2737. xds(v)
  2738. end
  2739. end
  2740. end
  2741. xds(game.Workspace)
  2742. end)
  2743. destwin:drawButton(1, 'Troll', function()
  2744. topkek.tools.util.recurseUltimate('48308661')
  2745. tk.play(154664102)
  2746. end)
  2747. destwin:addSpacing()
  2748. destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
  2749. local materiallist =
  2750. {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  2751. Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  2752. Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  2753. Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  2754. Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  2755. local function r(where)
  2756. for _,v in pairs (where:GetChildren()) do
  2757. if v:IsA("BasePart") then
  2758. spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
  2759. end)
  2760. destwin:drawButton(1/2,'Materialize',function()
  2761. local function r(where)
  2762. for _,v in pairs (where:GetChildren()) do
  2763. if v:IsA("BasePart") then
  2764. spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
  2765. end)
  2766. destwin:drawButton(1/2,'Meshify',function()
  2767. local enums={
  2768. Enum.MeshType.Head;
  2769. Enum.MeshType.Torso;
  2770. Enum.MeshType.Wedge;
  2771. Enum.MeshType.Brick;
  2772. Enum.MeshType.Sphere;
  2773. Enum.MeshType.Cylinder;
  2774. }
  2775. tk.rcf('BasePart',function(o)
  2776. local mesh = Instance.new('SpecialMesh', o)
  2777. mesh.MeshType = enums[math.random(1,#enums)]
  2778. end)
  2779. end)
  2780. destwin:drawButton(1/2,'Loop-Meshify',function()
  2781. coroutine.wrap(function()
  2782. while true do
  2783. local enums={
  2784. Enum.MeshType.Head;
  2785. Enum.MeshType.Torso;
  2786. Enum.MeshType.Wedge;
  2787. Enum.MeshType.Brick;
  2788. Enum.MeshType.Sphere;
  2789. Enum.MeshType.Cylinder;
  2790. }
  2791. tk.rcf('BasePart',function(o)
  2792. if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  2793. local mesh = Instance.new('SpecialMesh', o)
  2794. mesh.MeshType = enums[math.random(1,#enums)]
  2795. end)
  2796. wait(0.5)
  2797. end
  2798. end)()
  2799. end)
  2800. destwin:addSpacing()
  2801. destwin:drawButton(1, 'Rotations', function()
  2802. tk.rcf('BasePart', function(o)
  2803. o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  2804. end)
  2805. end)
  2806. destwin:drawButton(1, 'Collisions', function()
  2807. tk.rcf('BasePart', function(o)
  2808. o.CanCollide = false
  2809. end)
  2810. end)
  2811. destwin:drawButton(1, 'Velocity', function()
  2812. tk.rcf('BasePart', function(o)
  2813. o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  2814. end)
  2815. end)
  2816. destwin:drawButton(1, 'Invisiblity', function()
  2817. tk.rcf('BasePart', function(o)
  2818. o.Transparency = 1
  2819. end)
  2820. end)
  2821. destwin:drawButton(1, 'BreakJoints', function()
  2822. tk.rcf('Model', function(o)
  2823. o:BreakJoints()
  2824. end)
  2825. end)
  2826. destwin:drawButton(1, 'Forces', function()
  2827. tk.rcf('BasePart', function(o)
  2828. local bf = Instance.new("BodyForce", o)
  2829. bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
  2830. end)
  2831. end)
  2832. destwin:drawButton(1, 'Brightness', function()
  2833. tk.rcf('BasePart', function(o)
  2834. local light = Instance.new("SpotLight", o)
  2835. light.Brightness = 9e9
  2836. light.Range = 60
  2837. end)
  2838. end)
  2839. --// CATALOG //--
  2840. local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
  2841. local page, currentkeyword = 1, ""
  2842. local searchbar, search, makeCatalog, res = 0, 0, 0, {}
  2843. local searchbar = catwin:drawTextBox(2/3,'')
  2844. local search = catwin:drawButton(1/3, 'Search', function()
  2845. page = 1
  2846. currentkeyword = searchbar.Text
  2847. makeCatalog(currentkeyword, page)
  2848. end)
  2849. local previous = catwin:drawButton(1/2, 'Previous Page', function()
  2850. if page > 1 then
  2851. page = page - 1
  2852. makeCatalog(currentkeyword, page)
  2853. end
  2854. end)
  2855. local previous = catwin:drawButton(1/2, 'Next Page', function()
  2856. if page >= 1 then
  2857. page = page + 1
  2858. makeCatalog(currentkeyword, page)
  2859. end
  2860. end)
  2861. local catalog_start = catwin:getDrawY()
  2862. function split(str,divider)
  2863. local found = ""
  2864. local results = {}
  2865. for i=1,string.len(str) do
  2866. if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
  2867. table.insert(results, found)
  2868. found = ""
  2869. else
  2870. found = found..string.sub(str,i,i)
  2871. end
  2872. end
  2873. table.insert(results, found)
  2874. return results
  2875. end
  2876. function GetName(nm)
  2877. local spl = split(nm," ")
  2878. local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
  2879. return (a.." "..b.." "..c.." "..d.." "..e)
  2880. end
  2881. function makeCatalog(keyword, page)
  2882. local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
  2883. local results = game:HttpGet(endpoint, true)
  2884. local parse = game:GetService('HttpService'):JSONDecode(results)
  2885. for i, v in pairs(res) do
  2886. v:Destroy()
  2887. end
  2888. catwin:setDrawY(catalog_start)
  2889. catwin:addSpacing()
  2890. for i, v in pairs(parse) do
  2891. local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
  2892. local below = topkek.tools.util.Object("TextButton", {
  2893. Parent = img;
  2894. BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
  2895. BorderSizePixel = 0;
  2896. Position = UDim2.new(0, -45, 1, 5);
  2897. Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
  2898. Font = 'SourceSans';
  2899. FontSize = 'Size14';
  2900. Text = GetName(v['Name']);
  2901. TextSize = 14;
  2902. TextColor3 = color3(199, 199, 199);
  2903. TextStrokeTransparency = 0.5;
  2904. ClipsDescendants = true;
  2905. })
  2906. below.MouseButton1Down:connect(function()
  2907. local Model = Instance.new("Model", workspace)
  2908. game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
  2909. Model:MakeJoints()
  2910. Model:MoveTo(topkek.lplr.Character.Head.Position)
  2911. end)
  2912. img.Size=UDim2.new(0,50,0,50)
  2913. img.Position=img.Position+UDim2.new(0,45,0,0)
  2914. if (i%2)==0 then
  2915. catwin:setDrawY(catwin:getDrawY() + 25)
  2916. end
  2917. if (i==10) then
  2918. catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
  2919. end
  2920. table.insert(res,img)
  2921. end
  2922. end
  2923. makeCatalog("", 1)
  2924. --// CMDS //--
  2925. cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
  2926. count = 0
  2927. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  2928. cmdwin:drawText(1, tostring(count) .. " Commands")
  2929. cmdwin:drawText(1, 'Chat Prefix: /')
  2930. local cmdlist = cmdwin:drawScrollingContainer(260)
  2931. for i, v in pairs(cmd.commands.fmtstore) do
  2932. local xfmt = {}
  2933. local str = " ;" .. i .. " "
  2934. for form in v:gmatch("[^%%]+") do
  2935. if form ~= 'cmd' then
  2936. if form == 'inf' then form = 'str' end
  2937. str = str .. "{" .. form .. "} "
  2938. end
  2939. end
  2940. cmdlist:drawText(1, str)
  2941. end
  2942. --// MUSIC //--
  2943. musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
  2944. Sounds = {
  2945. {"caramell", 2303479};
  2946. {"epic", 27697743};
  2947. {"rick", 2027611};
  2948. {"halo", 1034065};
  2949. {"pokemon", 1372261};
  2950. {"cursed", 1372257};
  2951. {"extreme", 11420933};
  2952. {"awaken", 27697277};
  2953. {"alone", 27697392};
  2954. {"mario", 1280470};
  2955. {"choir", 1372258};
  2956. {"chrono" ,1280463};
  2957. {"dotr", 11420922};
  2958. {"entertain", 27697267};
  2959. {"fantasy", 1280473};
  2960. {"final", 787};
  2961. {"organ", 11231513};
  2962. {"tunnel", 9650822}
  2963. }
  2964.  
  2965. local cursel
  2966. local xcursel = 0
  2967. scr = musicwin:drawScrollingContainer(230)
  2968. for i, v in pairs(Sounds) do
  2969. scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
  2970. cursel.Text = "Currently Selected - " .. v[1]
  2971. xcursel = v[2]
  2972. end)
  2973. end
  2974.  
  2975. cursel = musicwin:drawText(1, "Currently Selected - None")
  2976. local setInp
  2977. musicwin:drawButton(1/3, "Set", function()
  2978. if tonumber(setInp.Text) then
  2979. cursel.Text = "Currently Selected - " .. setInp.Text
  2980. xcursel = tonumber(setInp.Text)
  2981. end
  2982. end)
  2983. setInp = musicwin:drawTextBox(2/3, '')
  2984. musicwin:drawButton(1, "Play", function()
  2985. tk.rcm(game, 'Sound')
  2986. tk.play(xcursel)
  2987. end)
  2988. musicwin:drawButton(1, "Stop", function()
  2989. tk.rcm(game, 'Sound')
  2990. end)
  2991. --// FACES //--
  2992. facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
  2993. local faces = {
  2994. {name='Rofl',id=47595647},
  2995. {name='Sparta',id=74142203},
  2996. {name='UJelly',id=48989071},
  2997. {name='Troll',id=45120559},
  2998. {name='Horse',id=62079221},
  2999. {name='Angry',id=48258623},
  3000. {name='Okey',id=62830600},
  3001. {name='Yeaw',id=53646377},
  3002. {name='Here',id=62677045},
  3003. {name='Har',id=48260066},
  3004. {name='Baby Sun',id=47596170},
  3005. {name='LOL',id=48293007},
  3006. {name='Sad',id=53645378},
  3007. {name='Joseph Stalin',id=48290678},
  3008. {name='Doge',id=130742396},
  3009. {name='Forever Alone',id=156886272},
  3010. {name='RickRoll',id=5104631},
  3011. {name='Jim Carrey',id=74885351},
  3012. {name='Meh IRL',id=237553381}
  3013. }
  3014. local cursel, xcursel = nil, 0
  3015. faclist = facwin:drawScrollingContainer(260)
  3016. for i,v in pairs(faces) do
  3017. local btn = faclist:drawButton(1, v['name'], function()
  3018. xcursel = v['id']
  3019. cursel.Text = 'Currently Selected: ' .. v['name']
  3020. end)
  3021. topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
  3022. end
  3023. cursel = facwin:drawText(1, 'Currently Selected: None')
  3024. facwin:drawButton(1, 'Wear', function()
  3025. if not (xcursel == 0) then
  3026. if topkek.lplr.Character then
  3027. tk.rcm(topkek.lplr.Character, 'Accessory')
  3028. tk.rcm(topkek.lplr.Character, 'Hat')
  3029. topkek.tools.util.applyFace(xcursel)
  3030. end
  3031. end
  3032. end)
  3033. --// SETTINGS // --
  3034. setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
  3035. setwin:drawText(1, 'Patch: ' .. topkek.patch)
  3036. setwin:drawText(1, 'Devnote: foh skids')
  3037. setwin:drawText(1, [[
  3038. === CREDITS ===
  3039.  
  3040. Variable - retard that created Stella
  3041. KrystalTeam - provided critical design tips & advice
  3042. Circumvention - lol joey salads
  3043.  
  3044. Thanks to everyone that supported T0PK3K 4.0!
  3045.  
  3046. ]], 260)
  3047. --// BANLIST //--
  3048. banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
  3049. local plrBanInp
  3050. banwin:drawButton(1/3, 'Add', function()
  3051. topkek.settings.get()
  3052. table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
  3053. topkek.settings.write()
  3054. UpdateBanlist()
  3055. end)
  3056. plrBanInp = banwin:drawTextBox(2/3, '')
  3057. banCont = banwin:drawScrollingContainer(288)
  3058. function UpdateBanlist(x)
  3059. topkek.settings.get()
  3060. local wl = x or topkek.settingsTable['Bans']
  3061. for i,v in pairs(banCont:GetChildren()) do
  3062. v:Destroy()
  3063. end
  3064. banCont:setDrawY(3)
  3065. for i,v in pairs(wl) do
  3066. banCont:drawText(2/3, v)
  3067. banCont:drawButton(1/3, 'Remove', function()
  3068. for x, m in pairs(wl) do
  3069. if m == v then
  3070. table.remove(topkek.settingsTable['Bans'], x)
  3071. topkek.settings.write()
  3072. UpdateBanlist()
  3073. topkek.banmgr.bans = topkek.settingsTable['Bans']
  3074. end
  3075. end
  3076. end)
  3077. end
  3078. end
  3079. UpdateBanlist()
  3080. --// HATS //--
  3081. hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
  3082. local hats={
  3083. {name='Dominus Empyreus',id=21070012},
  3084. {name='Dominus Vespertilio',id=96103379},
  3085. {name='Dominus Infernus',id=31101391},
  3086. {name='Dominus Rex',id=250395631},
  3087. {name='Dominus Frigidus',id=48545806},
  3088. {name='Dominus Astra',id=162067148},
  3089. {name='Dominus Aureus',id=138932314},
  3090. {name='DIY Dominus Empyreus',id=151789690},
  3091. {name='Dominus Messor',id=64444871},
  3092. {name='Demon Skeleton Wings',id=133554007},
  3093. {name='Gilded Wings of Glory',id=250405532},
  3094. {name='Majestic Ice Wings',id=188702967},
  3095. {name='Black Wings',id=215719598},
  3096. {name='Clockworks Shades',id=11748356},
  3097. {name='Faerie Wings',id=19399896},
  3098. {name='Orinthian Wings',id=223751505},
  3099. {name='Clockworks Headphones',id=1235488},
  3100. {name='Perfectly Legitimate Business Hat',id=19027209},
  3101. {name='Sparkling Angel Wings',id=192557913},
  3102. {name='Commander Crows Wings',id=133553855},
  3103. {name='Sunfire Wings',id=158068470},
  3104. {name='Royal Faerie Wings',id=119916756},
  3105. {name='Wings of Freedom',id=164174048},
  3106. {name='Firebrand Wings',id=128160626},
  3107. {name='Frozen Wings',id=136758613},
  3108. {name='Webbed Wings',id=120507280},
  3109. {name='Gargoyle Wings',id=120507201},
  3110. {name='Bat Wings',id=19399858},
  3111. {name='Wings of Fire',id=136758532},
  3112. {name='Headrow',id=1082935},
  3113. {name='Rubber Duckie',id=9254254},
  3114. {name='Valkyrie Helm',id=1365767},
  3115. {name='Hockey Mask',id=5161514}}
  3116. local searchi = hatwin:drawButton(1, '', function()end)
  3117. dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
  3118. function fixPlayerDropi()
  3119. local t = {'All'}
  3120. for i, v in pairs(game.Players:GetPlayers()) do
  3121. table.insert(t, v.Name)
  3122. end
  3123. dropx.SetTable(t)
  3124. end
  3125. game.Players.PlayerAdded:connect(function()
  3126. fixPlayerDropi()
  3127. end)
  3128. game.Players.PlayerRemoving:connect(function()
  3129. fixPlayerDropi()
  3130. end)
  3131. local eval = 'All'
  3132. dropx.Changed(function(p) eval = p end)
  3133. fixPlayerDrop()
  3134.  
  3135. local hatInp
  3136. hatlist = hatwin:drawScrollingContainer(260)
  3137. for i,v in pairs(hats) do
  3138. hatlist:drawButton(1, v['name'], function()
  3139. hatInp.Text = tostring(v['id'])
  3140. end)
  3141. end
  3142. hatwin:drawButton(1/3, 'Wear', function()
  3143. local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
  3144. tk.dp(eval, function(x)
  3145. if x.Character then
  3146. hat:Clone().Parent = x.Character
  3147. end
  3148. end)
  3149. end)
  3150.  
  3151.  
  3152. hatInp = hatwin:drawTextBox(2/3, '')
  3153. topkek.tools.animator.initialAnimation()
  3154. topkek.banmgr.init()
  3155. end)
  3156. main.teleport.MouseButton1Click:connect(function()
  3157.  
  3158. bin=Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  3159. bin.Name = "Teleport"
  3160.  
  3161. function teleportPlayer(pos)
  3162.  
  3163. local player = game.Players.LocalPlayer
  3164. if player == nil or player.Character == nil then return end
  3165.  
  3166. local char = player.Character
  3167.  
  3168. char:MoveTo(pos)
  3169.  
  3170. end
  3171.  
  3172.  
  3173. enabled = true
  3174. function onButton1Down(mouse)
  3175. if not enabled then
  3176. return
  3177. end
  3178.  
  3179. local player = game.Players.LocalPlayer
  3180. if player == nil then return end
  3181. local cf = mouse.Hit
  3182. teleportPlayer(cf.p)
  3183.  
  3184. end
  3185.  
  3186. function onSelected(mouse)
  3187. mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
  3188. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  3189. end
  3190.  
  3191. bin.Selected:connect(onSelected)
  3192. end)
  3193. main.rose.MouseButton1Click:connect(function()
  3194. loadstring(game:GetObjects("rbxassetid://686980376")[1].Source)()
  3195. end)
  3196. main.rocky.MouseButton1Click:connect(function()
  3197. loadstring(game:GetObjects('rbxassetid://712354727')[1].Source)()
  3198. end)
  3199. main.remote.MouseButton1Click:connect(function()
  3200. local enabled = {
  3201. -- Set any of these objects to false to stop logging them
  3202. BindableEvent = false;
  3203. BindableFunction = true;
  3204. RemoteEvent = true;
  3205. RemoteFunction = true;
  3206. }
  3207.  
  3208. local ignore = {
  3209. -- Any remotes matching the names listed below will be ignored
  3210. SomeExampleRemote = true;
  3211. UselessSpamRemote = true;
  3212. ThisRemoteWillBeIgnored = true;
  3213. BlahBlahBlahRemote = true;
  3214. }
  3215.  
  3216. local meta,oldmeta = getrawmetatable(game),{}
  3217. for i,v in next,meta do oldmeta[i] = v end
  3218. function formatargs(args,showkeys)
  3219. if #args == 0 then return "N/A" end
  3220. local strargs = {}
  3221. for k,v in next,args do
  3222. local argstr = ""
  3223. if type(v) == "string" then
  3224. argstr = "\"" .. v .. "\""
  3225. elseif type(v) == "table" then
  3226. argstr = "{" .. formatargs(v,true) .. "}"
  3227. else
  3228. argstr = tostring(v)
  3229. end
  3230. if showkeys and type(k) ~= "number" then
  3231. table.insert(strargs,k.."="..argstr)
  3232. else
  3233. table.insert(strargs,argstr)
  3234. end
  3235. end
  3236. return table.concat(strargs, ", ")
  3237. end
  3238. local realmethods = {}
  3239. realmethods.Fire = Instance.new("BindableEvent").Fire
  3240. realmethods.Invoke = Instance.new("BindableFunction").Invoke
  3241. realmethods.FireServer = Instance.new("RemoteEvent").FireServer
  3242. realmethods.InvokeServer = Instance.new("RemoteFunction").InvokeServer
  3243. meta.__index = function(t,k)
  3244. if (k == "Fire" or k == "Invoke" or k == "FireServer" or k == "InvokeServer") and (enabled[t.ClassName] and not ignore[t.Name]) then
  3245. return function(self,...)
  3246. local args = {...}
  3247. local ret = {realmethods[k](self,...)}
  3248. warn(t.ClassName.." called!\nPath: "..t:GetFullName().."\n".."Args: "..formatargs(args).."\nReturn: "..formatargs(ret))
  3249. return unpack(ret)
  3250. end
  3251. else
  3252. return oldmeta.__index(t,k)
  3253. end
  3254. end
  3255. end)
  3256. main.onepiece.MouseButton1Click:connect(function()
  3257. game.Lighting.MoneyGiver:Clone().Parent = game.Players.LocalPlayer.PlayerGui
  3258. end)
  3259. main.lunch.MouseButton1Click:connect(function()
  3260. --[[
  3261.  
  3262.  
  3263. hl/https://code.stypi.com/raw/nZHFXIlEQs5UF7XIOYsaGPc1
  3264.  
  3265.  
  3266. ]]
  3267. player=game:GetService'Players'.LocalPlayer
  3268.  
  3269.  
  3270. nqqas={"Diitto", "ThuggLyfe", "grubsteak", "Pkamara", "TheDarkRevenant", "TheScripterGeek", "clv2", "ElitePug", "jillmiles1", "jonesj627", player.Name}--
  3271. aggrorange=20;
  3272.  
  3273. messages={
  3274. [3]="yo get off our turf, %p";
  3275. [6]="im warning u";
  3276. [8]="3...";
  3277. [9]="2...";
  3278. [10]="1..";
  3279. [11]="FIRE";
  3280. }
  3281.  
  3282.  
  3283. t=Instance.new("Tool", player.Backpack)
  3284. t.Name="LunchThug"
  3285.  
  3286. Instance.new("Part", t).Name="Handle"
  3287. t.Equipped:connect(function()
  3288.  
  3289. model=Instance.new("Model", workspace)
  3290. model.Name="LunchaThug"
  3291.  
  3292. box=Instance.new("Part", model)
  3293. box.FormFactor=Enum.FormFactor.Custom
  3294. box.Size=Vector3.new(4, 4, 2)
  3295. box.Name="Head"
  3296. dc=Instance.new("Decal", box)
  3297. dc.Texture="http://www.roblox.com/asset/?id=265177579"
  3298. dc.Face=Enum.NormalId.Front
  3299. box.BrickColor=BrickColor.new("Bright yellow")
  3300. box.Anchored=false
  3301. box.TopSurface="Smooth"
  3302. box.BottomSurface="Smooth"
  3303.  
  3304. hum=Instance.new("Humanoid", model)
  3305. hum.Health=0
  3306. hum.MaxHealth=0
  3307.  
  3308. gun=Instance.new("Part", model)
  3309. gun.FormFactor=Enum.FormFactor.Custom
  3310. gun.Size=Vector3.new(.4, 1, 1.2)
  3311. gun.Name="gun"
  3312. local shoot=Instance.new("Sound", gun)
  3313. shoot.SoundId="rbxassetid://180955656"
  3314. gunmesh=Instance.new("SpecialMesh", gun)
  3315. gunmesh.MeshType=Enum.MeshType.FileMesh
  3316. gunmesh.MeshId="rbxassetid://4372594"
  3317. gunmesh.TextureId="rbxassetid://0"
  3318. gunmesh.VertexColor=Vector3.new(0, 0, 0)
  3319. w=Instance.new("Weld", box)
  3320. w.Part0=box
  3321. w.Part1=gun
  3322. w.C0=CFrame.new(2.20000076, 0.700000048, -1, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3323.  
  3324. local gyro=Instance.new("BodyGyro", box)
  3325. gyro.maxTorque=Vector3.new(math.huge, math.huge, 0)
  3326. gyro.P=10000
  3327. local startTime=nil
  3328. local oldBestPlaya
  3329. local currentmsg=""
  3330. model:MoveTo(player.Character.Torso.Position-Vector3.new(0, 1, 5))
  3331. math.randomseed(tick())
  3332. coroutine.wrap(function()
  3333. while box do
  3334. wait()
  3335. local bestPlaya=nil
  3336. local bestDist=math.huge
  3337. if not oldBestPlaya or oldBestPlaya:DistanceFromCharacter(box.Position)>aggrorange then
  3338. for _, p in pairs(game:GetService'Players':GetPlayers()) do
  3339. if p.Character and p.Character:FindFirstChild("Torso") and not p.Character:FindFirstChild("greeted") and p:DistanceFromCharacter(box.Position)<=aggrorange and p:DistanceFromCharacter(box.Position)<bestDist then
  3340. bestPlaya=p
  3341. bestDist=p:DistanceFromCharacter(box.Position)
  3342. end
  3343. end
  3344. if bestPlaya then
  3345. oldBestPlaya=bestPlaya
  3346. startTime=tick()
  3347. end
  3348. end
  3349. local p=oldBestPlaya
  3350.  
  3351.  
  3352. if p then
  3353. notanqqa=true
  3354. for _, playa in pairs(nqqas) do
  3355. if p.Name:lower()==playa:lower() then
  3356. notanqqa=false
  3357. end
  3358. end
  3359.  
  3360. --print(p.Name)
  3361.  
  3362. gyro.cframe=CFrame.new(box.CFrame.p, p.Character:FindFirstChild("Head") and p.Character.Head.CFrame.p or p.Character:GetModelCFrame())
  3363. if notanqqa then
  3364. local msg=""
  3365. local mtime=0
  3366. for i, v in pairs(messages) do
  3367. if i>=mtime and tick()-startTime>=i then
  3368. msg=v
  3369. mtime=i
  3370. end
  3371. end
  3372. if currentmsg~=msg then
  3373. currentmsg=msg
  3374. if msg=="FIRE" then
  3375. for i=1, 12 do
  3376. shoot:Play()
  3377. if p.Character and p.Character:FindFirstChild("Humanoid") then
  3378. p.Character:FindFirstChild("Humanoid").Health=p.Character:FindFirstChild("Humanoid").Health-(p.Character:FindFirstChild("Humanoid").MaxHealth*(math.random(1, 10)/20))
  3379. end
  3380. if p.Character and p.Character:FindFirstChild("Humanoid") and p.Character:FindFirstChild("Humanoid").Health<=0 then
  3381. wait(3)
  3382. gyro.cframe=CFrame.new(0, 0, 0)
  3383. wait(2)
  3384. game:GetService("Chat"):Chat(box, ("any1 else???"):gsub("%%p", p.Name))
  3385. wait(3)
  3386. game:GetService("Chat"):Chat(box, ("dats rite"):gsub("%%p", p.Name))
  3387. wait(5)
  3388. oldBestPlaya=nil
  3389. break
  3390.  
  3391. end
  3392. wait(math.random(1, 10)/8)
  3393. end
  3394. elseif msg~="" then
  3395. game:GetService("Chat"):Chat(box, msg:gsub("%%p", p.Name))
  3396. end
  3397. end
  3398. else
  3399. wait(2)
  3400. game:GetService("Chat"):Chat(box, ("yo wassup cuz"):gsub("%%p", p.Name))
  3401. local gr=Instance.new("IntValue", p.Character)
  3402. gr.Name="greeted"
  3403. game:GetService("Debris"):AddItem(gr, 60);
  3404. oldBestPlaya=nil
  3405. wait(5)
  3406. gyro.cframe=CFrame.new(0, 0, 0)
  3407. end
  3408. end
  3409. end
  3410. end)()
  3411. if player.Character and player.Character:FindFirstChild("Humanoid") then
  3412. player.Character.Humanoid:UnequipTools();
  3413. wait()
  3414. t:Destroy()
  3415. end
  3416. end)
  3417. end)
  3418. main.lumber.MouseButton1Click:connect(function()
  3419. -- Objects
  3420.  
  3421. --local Whitelist = Instance.new("ScreenGui")
  3422. --local Frame = Instance.new("Frame")
  3423. --local TextButton = Instance.new("TextButton")
  3424.  
  3425. -- Properties
  3426.  
  3427. --Whitelist.Name = "Whitelist"
  3428. --Whitelist.Parent = game.CoreGui
  3429.  
  3430. --Frame.Parent = Whitelist
  3431. --Frame.Active = true
  3432. --Frame.BackgroundColor3 = Color3.new(0.533333, 0.533333, 0.533333)
  3433. --Frame.ClipsDescendants = true
  3434. --Frame.Draggable = true
  3435. --Frame.Position = UDim2.new(0.875098825, 0, 0.694852948, 0)
  3436. --Frame.Selectable = true
  3437. --Frame.Size = UDim2.new(0.121739127, 0, 0.0416666679, 0)
  3438.  
  3439. --TextButton.Parent = Frame
  3440. --TextButton.BackgroundColor3 = Color3.new(0.709804, 0.709804, 0.709804)
  3441. --TextButton.Size = UDim2.new(1, 0, 1, 0)
  3442. --TextButton.Font = Enum.Font.ArialBold
  3443. --TextButton.FontSize = Enum.FontSize.Size10
  3444. --TextButton.Text = "CLICK ME FOR WHITELIST!"
  3445. --TextButton.TextColor3 = Color3.new(0, 0, 0)
  3446. --TextButton.TextSize = 1
  3447.  
  3448.  
  3449. --//LUMBER TYCOON 2
  3450. local service = setmetatable({}, {
  3451. __index = function(t, k)
  3452. return game:GetService(k)
  3453. end
  3454. })
  3455.  
  3456. local Gui = game:GetObjects("rbxassetid://668535044")[1]
  3457. Gui.Parent = service.CoreGui
  3458. local Holder = Gui.Frame
  3459. local TextButton = Gui.Frame:WaitForChild("TextButton")
  3460.  
  3461. local Bools = {
  3462. ["Float"] = false,
  3463. ["NoClip"] = false,
  3464. ["BasicGold"] = false, -- deprecated
  3465. ["WalkSpeed"] = {false, 16},
  3466. ["Whitelisted"] = false,
  3467. ["FreeStuff"] = false
  3468. }
  3469. local Exploit = (function()
  3470. local Intriga = INTRIGAENV or false
  3471. local Elysian = ELYSIAN_INITIATED or false
  3472. local RC7 = fullaccess or false
  3473. local Seven = get_nil_instances or false
  3474. local Cerberus = iscerberusthread or false
  3475. local Protosmasher = is_protosmasher_closure or false
  3476. local RaindropV2 = Raindrop or false
  3477. local ID = _G.ID or false
  3478. local SumonEX = SUMONEX_ENV or false
  3479.  
  3480. return (
  3481. (Intriga and "Intriga") or
  3482. (Elysian and "Elysian") or
  3483. (RC7 and "RC7") or
  3484. ((Seven and not Protosmasher) and "Seven") or
  3485. (Cerberus and "Cerberus") or
  3486. (Protosmasher and "Protosmasher") or
  3487. (RaindropV2 and "Raindrop") or
  3488. (ID and "ID") or
  3489. (SumonEX and "SumonEX") or
  3490. "Unknown Exploit"
  3491. )
  3492. end)()
  3493. local Meta = getrawmetatable(game)
  3494. local oMeta = {}
  3495.  
  3496. local WayPoints = {
  3497. ["Spawn"] = CFrame.new(155, 3, 74),
  3498. ["Wood R Us"] = CFrame.new(265, 3, 57),
  3499. ["Land Store"] = CFrame.new(258, 3, -99),
  3500. ["Dock"] = CFrame.new(1114, -1, -197),
  3501. ["Link's Logic"] = CFrame.new(4605, 3, -727),
  3502. ["Cave"] = CFrame.new(3581, -179, 430),
  3503. ["Volcano"] = CFrame.new(-1585, 622, 1140),
  3504. ["Swamp"] = CFrame.new(-1209, 132, -801),
  3505. ["Palm Island"] = CFrame.new(2549, -5, -42),
  3506. ["Fancy Furnishings"] = CFrame.new(491, 3, -1720),
  3507. ["Boxed Cars"] = CFrame.new(509, 3, -1463),
  3508. ["Fine Arts Shop"] = CFrame.new(5207, -166, 719),
  3509. ["Bob's Shack"] = CFrame.new(260, 8, -2542),
  3510. ["Bridge"] = CFrame.new(113, 11, -977),
  3511. ["End Times"] = CFrame.new(113, -214, -951),
  3512. ["Shrine of Sight"] = CFrame.new(-1600, 195, 919),
  3513. ["The Den"] = CFrame.new(323, 41, 1930),
  3514. }
  3515. local Pad
  3516. CreatePad = function()
  3517. local p = Instance.new("Part", service.Players.LocalPlayer.Character)
  3518. p.Size = Vector3.new(5, 1, 5)
  3519. p.CFrame = p.Parent.Torso.CFrame * CFrame.new(0, -3.5, 0)
  3520. p.Transparency = 0
  3521. p.Name = "Pad"
  3522. return p
  3523. end
  3524.  
  3525. InitMeta = function()
  3526. if Exploit == "RC7" then
  3527. fullaccess(Meta)
  3528. elseif Exploit == "Protosmasher" then
  3529. changereadonly(Meta, false)
  3530. end
  3531. for i,v in pairs(Meta) do
  3532. oMeta[i] = v
  3533. end
  3534. Meta.__index = function(Inst, Method)
  3535. if Method == "FireServer" then
  3536. if Inst.Name == "ReportGoogleAnalyticsEvent" then
  3537. return function(self, ...)
  3538. warn("[PROTECT] Attempted to send a google analytics error report")
  3539. end
  3540. elseif Inst.Name == "Ban" then
  3541. return function(self, ...)
  3542. warn("[PROTECT] Attempted to ban the localplayer")
  3543. end
  3544. else
  3545. return oMeta.__index(Inst, Method)
  3546. end
  3547. elseif Method == "InvokeServer" then
  3548. if Inst.Name == "AddLog" then
  3549. return function(self, first, ...)
  3550. if first == "Exploit" then
  3551. warn("[PROTECT] Attempted to send an exploit log")
  3552. else
  3553. return oMeta.__index(Inst, Meta)
  3554. end
  3555. end
  3556. elseif Inst.Name == "Level" then
  3557. return function(self, ...)
  3558. local tab = {Instance.new("RemoteFunction").InvokeServer(self, ...)}
  3559. tab[1] = 2
  3560. return unpack(tab)
  3561. end
  3562. elseif Inst.Name == "ConfirmIdentity" and Bools.Whitelisted then
  3563. return function(self, ...)
  3564. local tab = {Instance.new("RemoteFunction").InvokeServer(self, ...)}
  3565. tab[1] = true
  3566. return unpack(tab)
  3567. end
  3568. elseif Inst.Name == "ClientIsWhitelisted" and Bools.Whitelisted then
  3569. return function(self, ...)
  3570. local tab = {Instance.new("RemoteFunction").InvokeServer(self, ...)}
  3571. tab[1] = true
  3572. return unpack(tab)
  3573. end
  3574. elseif Inst.Name == "AttemptPurchase" and Bools.FreeStuff then
  3575. return function(self, ...)
  3576. local tab = {Instance.new("RemoteFunction").InvokeServer(self, ...)}
  3577. tab[1] = true
  3578. return unpack(tab)
  3579. end
  3580. else
  3581. return oMeta.__index(Inst, Method)
  3582. end
  3583. elseif Method == "Invoke" then
  3584. if Inst.Name == "Set" then
  3585. return function(self, value, pass, ...)
  3586. local word = ""
  3587. if pass ~= "zebras" then
  3588. word = pass
  3589. else
  3590. if value < 1 then
  3591. word = value
  3592. end
  3593. end
  3594. if not _G.savePass then
  3595. _G.savePass = word
  3596. end
  3597. return unpack({Instance.new("BindableFunction").Invoke(self, value, pass, ...)})
  3598. end
  3599. elseif Inst.Name == "PlayerIsWhitelisted" and Bools.Whitelisted then
  3600. return function(self, player, player2, ...)
  3601. local tab = {Instance.new("BindableFunction").Invoke(self, value, pass, ...)}
  3602. tab[1] = true
  3603. return unpack(tab)
  3604. end
  3605. else
  3606. return oMeta.__index(Inst, Method)
  3607. end
  3608. elseif Method == "Kick" then
  3609. if Inst == service.Players.LocalPlayer then
  3610. warn("[PROTECT] Attempted to kick the localplayer")
  3611. return
  3612. end
  3613. else
  3614. return oMeta.__index(Inst, Method)
  3615. end
  3616. end
  3617. end
  3618.  
  3619. InitMeta()
  3620.  
  3621.  
  3622. TextButton.MouseButton1Down:Connect(function()
  3623. Bools["Whitelisted"] = not Bools["Whitelisted"]
  3624. end)
  3625. end)
  3626. main.fly.MouseButton1Click:connect(function()
  3627. repeat wait()
  3628. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  3629. local mouse = game.Players.LocalPlayer:GetMouse()
  3630. repeat wait() until mouse
  3631. local plr = game.Players.LocalPlayer
  3632. local torso = plr.Character.Torso
  3633. local flying = true
  3634. local deb = true
  3635. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  3636. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  3637. local maxspeed = 50
  3638. local speed = 0
  3639.  
  3640. function Fly()
  3641. local bg = Instance.new("BodyGyro", torso)
  3642. bg.P = 9e4
  3643. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  3644. bg.cframe = torso.CFrame
  3645. local bv = Instance.new("BodyVelocity", torso)
  3646. bv.velocity = Vector3.new(0,0.1,0)
  3647. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  3648. repeat wait()
  3649. plr.Character.Humanoid.PlatformStand = true
  3650. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  3651. speed = speed+.5+(speed/maxspeed)
  3652. if speed > maxspeed then
  3653. speed = maxspeed
  3654. end
  3655. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  3656. speed = speed-1
  3657. if speed < 0 then
  3658. speed = 0
  3659. end
  3660. end
  3661. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  3662. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  3663. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  3664. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  3665. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  3666. else
  3667. bv.velocity = Vector3.new(0,0.1,0)
  3668. end
  3669. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  3670. until not flying
  3671. ctrl = {f = 0, b = 0, l = 0, r = 0}
  3672. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  3673. speed = 0
  3674. bg:Destroy()
  3675. bv:Destroy()
  3676. plr.Character.Humanoid.PlatformStand = false
  3677. end
  3678. mouse.KeyDown:connect(function(key)
  3679. if key:lower() == "e" then
  3680. if flying then flying = false
  3681. else
  3682. flying = true
  3683. Fly()
  3684. end
  3685. elseif key:lower() == "w" then
  3686. ctrl.f = 1
  3687. elseif key:lower() == "s" then
  3688. ctrl.b = -1
  3689. elseif key:lower() == "a" then
  3690. ctrl.l = -1
  3691. elseif key:lower() == "d" then
  3692. ctrl.r = 1
  3693. end
  3694. end)
  3695. mouse.KeyUp:connect(function(key)
  3696. if key:lower() == "w" then
  3697. ctrl.f = 0
  3698. elseif key:lower() == "s" then
  3699. ctrl.b = 0
  3700. elseif key:lower() == "a" then
  3701. ctrl.l = 0
  3702. elseif key:lower() == "d" then
  3703. ctrl.r = 0
  3704. end
  3705. end)
  3706. Fly()
  3707. end)
  3708. main.fex.MouseButton1Click:connect(function()
  3709. game:GetObjects("rbxassetid://169933873")[1].Parent=game.Players.LocalPlayer.Backpack
  3710. end)
  3711. main.explorer.MouseButton1Click:connect(function()
  3712. loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)()
  3713. end)
  3714. main.bleach.MouseButton1Click:connect(function()
  3715. nigga = Instance.new("Tool")
  3716. nigga.Parent = game.Players.LocalPlayer.Backpack
  3717. nigga.Name = "KYS"
  3718. nigga2 = Instance.new("Part", nigga)
  3719. nigga2.Name = "Handle"
  3720. asd = Instance.new("SpecialMesh", nigga2)
  3721. asd.MeshId = "rbxassetid://483388971"
  3722. asd.TextureId = "rbxassetid://520016684"
  3723. asd.Name = "Mesh"
  3724. asd.Scale = Vector3.new(0.005, 0.005, 0.005)
  3725. pussay = Instance.new("Sound", asd)
  3726. pussay.Playing = false
  3727. pussay.SoundId = "http://www.roblox.com/asset/?id=10722059"
  3728. pussay.Name = "DRINKNOISE"
  3729. pussay.Volume = 10
  3730.  
  3731. local Tool = nigga
  3732. script.Parent = game.Players.LocalPlayer.Backpack.KYS
  3733.  
  3734. function onActivated()
  3735.  
  3736. Tool.GripForward = Vector3.new(0,-.759,-.651)
  3737. Tool.GripPos = Vector3.new(1.5,-.5,.3)
  3738. Tool.GripRight = Vector3.new(1,0,0)
  3739. Tool.GripUp = Vector3.new(0,.651,-.759)
  3740.  
  3741. pussay:Play()
  3742.  
  3743. wait(3)
  3744.  
  3745. local h = Tool.Parent:FindFirstChild("Humanoid")
  3746. if (h ~= nil) then
  3747. if (h.MaxHealth > h.Health - 500) then
  3748. h.Health = h.Health - 500
  3749. else
  3750. h.Health = h.MaxHealth
  3751. end
  3752. end
  3753.  
  3754. Tool.GripForward = Vector3.new(-.976,0,-0.217)
  3755. Tool.GripPos = Vector3.new(0.03,0,0)
  3756. Tool.GripRight = Vector3.new(.217,0,-.976)
  3757. Tool.GripUp = Vector3.new(0,1,0)
  3758.  
  3759. end
  3760.  
  3761.  
  3762. game.Players.LocalPlayer.Backpack.KYS.Activated:connect(onActivated)
  3763. end)
  3764. main.draw.MouseButton1Click:connect(function()
  3765. me = game.Players.LocalPlayer
  3766. char = me.Character
  3767. hold = false
  3768. thickness = 0.1
  3769. maxt = 10
  3770. bricks = {}
  3771.  
  3772. color = BrickColor.new("Black")
  3773. colors = {}
  3774. for i=0,63,1 do
  3775. table.insert(colors, BrickColor.palette(i))
  3776. end
  3777.  
  3778. function checkt()
  3779. if thickness < 0.1 then
  3780. thickness = 0.1
  3781. end
  3782. if thickness > maxt then
  3783. thickness = maxt
  3784. end
  3785. end
  3786.  
  3787. function makegui()
  3788. local maxx = 200
  3789. local x = 0
  3790. local y = 0
  3791. local g = Instance.new("ScreenGui")
  3792. g.Name = "Colors"
  3793. local fr = Instance.new("Frame",g)
  3794. fr.Position = UDim2.new(0, 10, 0.3, 0)
  3795. fr.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  3796. fr.BorderColor3 = Color3.new(0,0,0)
  3797. local txt = nil
  3798. local txt2 = nil
  3799. local txt3 = nil
  3800. for i,v in pairs(colors) do
  3801. local gah = Instance.new("TextButton",fr)
  3802. gah.Position = UDim2.new(0, x + 3, 0, y + 3)
  3803. gah.Size = UDim2.new(0, 25, 0, 25)
  3804. gah.BackgroundColor = v
  3805. gah.BorderColor3 = Color3.new(0,0,0)
  3806. gah.Text = ""
  3807. gah.MouseButton1Down:connect(function()
  3808. color = v
  3809. txt.Text = v.Name
  3810. end)
  3811. gah.MouseEnter:connect(function()
  3812. txt2.Text = v.Name
  3813. end)
  3814. gah.MouseLeave:connect(function() txt2.Text = ""
  3815. end)
  3816. x = x + 28
  3817. if x >= maxx then
  3818. x = 0
  3819. y = y + 28
  3820. end
  3821. end
  3822. fr.Size = UDim2.new(0, maxx + 27, 0, y + 40)
  3823. txt = Instance.new("TextLabel",fr)
  3824. txt.Size = UDim2.new(0.95, 0, 0, 35)
  3825. txt.Position = UDim2.new(0.025, 0, 0, y + 3)
  3826. txt.Text = color.Name
  3827. txt.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  3828. txt.BorderColor3 = Color3.new(0, 0, 0)
  3829. txt.TextColor3 = Color3.new(1, 1, 1)
  3830. txt.FontSize = "Size24"
  3831. txt.Font = "ArialBold"
  3832. txt.TextYAlignment = "Bottom"
  3833. txt.TextXAlignment = "Left"
  3834. txt2 = Instance.new("TextLabel",txt)
  3835. txt2.Size = UDim2.new(1, 0, 0, 0)
  3836. txt2.Text = color.Name
  3837. txt2.BackgroundTransparency = 1
  3838. txt2.TextColor3 = Color3.new(1, 1, 1)
  3839. txt2.FontSize = "Size12"
  3840. txt2.TextYAlignment = "Top"
  3841. txt2.TextXAlignment = "Right"
  3842. txt3 = Instance.new("TextLabel",fr)
  3843. txt3.Size = UDim2.new(0.5, 0, 0, 25)
  3844. txt3.Position = UDim2.new(0.25, 0, 1, 0)
  3845. txt3.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  3846. txt3.BorderColor3 = Color3.new(0,0,0)
  3847. txt3.TextColor3 = Color3.new(1,1,1)
  3848. txt3.FontSize = "Size12"
  3849. txt3.Text = thickness
  3850. g.Parent = me.PlayerGui
  3851. coroutine.resume(coroutine.create(function()
  3852. while g.Parent ~= nil do
  3853. txt3.Text = thickness
  3854. wait()
  3855. end
  3856. end))
  3857. end
  3858.  
  3859. function remgui()
  3860. for i,v in pairs(me.PlayerGui:children()) do
  3861. if v.Name == "Colors" then v:remove() end
  3862. end
  3863. end
  3864.  
  3865. if script.Parent.className ~= "HopperBin" then
  3866. h = Instance.new("HopperBin",me.Backpack)
  3867. h.Name = "Draw"
  3868. script.Parent = h
  3869. end
  3870.  
  3871. bin = script.Parent
  3872.  
  3873. function weld(p1, p2)
  3874. local w = Instance.new("Weld")
  3875. w.Part0 = p2
  3876. w.Part1 = p1
  3877. w.C0 = p2.CFrame:toObjectSpace(p1.CFrame)
  3878. w.Parent = p2
  3879. end
  3880.  
  3881. function B1D(mouse)
  3882. hold = true
  3883. coroutine.resume(coroutine.create(function()
  3884. mouse.Button1Up:wait()
  3885. hold = false
  3886. end))
  3887. local p = Instance.new("Part",char)
  3888. p.formFactor = "Custom"
  3889. p.Size = Vector3.new(1,0.5,0.5)
  3890. p.Anchored = true
  3891. p.TopSurface = 0
  3892. p.BottomSurface = 0
  3893. p.CanCollide = false
  3894. p.BrickColor = color
  3895. p.Locked = true
  3896. local m = Instance.new("BlockMesh",p)
  3897. local targ = mouse.Target
  3898. table.insert(bricks, p)
  3899. local pos = mouse.Hit.p
  3900. while hold do
  3901. local mag = (pos - mouse.Hit.p).magnitude
  3902. m.Scale = Vector3.new(thickness, 0.4, (mag+(thickness/3))*2)
  3903. p.CFrame = CFrame.new(pos, mouse.Hit.p) * CFrame.new(0, 0, -mag/2 - thickness/5)
  3904. if mag > thickness/2+0.1 then
  3905. B1D(mouse)
  3906. if targ ~= nil then
  3907. if targ.Anchored == false then
  3908. p.Anchored = false
  3909. weld(p, targ)
  3910. end
  3911. end
  3912. break
  3913. end
  3914. wait()
  3915. end
  3916. end
  3917.  
  3918. bin.Selected:connect(function(mouse)
  3919. makegui()
  3920. mouse.KeyDown:connect(function(key)
  3921. key = key:lower()
  3922. local kh = true
  3923. coroutine.resume(coroutine.create(function()
  3924. mouse.KeyUp:wait()
  3925. kh = false
  3926. end))
  3927. if key == "q" then
  3928. while kh do
  3929. thickness = thickness - 0.1
  3930. checkt()
  3931. wait()
  3932. end
  3933. elseif key == "e" then
  3934. while kh do
  3935. thickness = thickness + 0.1
  3936. checkt()
  3937. wait()
  3938. end
  3939. elseif key == "z" then
  3940. while kh do
  3941. if #bricks > 0 then
  3942. bricks[#bricks]:remove()
  3943. table.remove(bricks, #bricks)
  3944. end
  3945. wait()
  3946. end
  3947. elseif key == "f" then
  3948. for i = #bricks, 1, -1 do
  3949. bricks[i]:remove()
  3950. table.remove(bricks, i)
  3951. end
  3952. end
  3953. end)
  3954. mouse.Button1Down:connect(function()
  3955. B1D(mouse)
  3956. end)
  3957. end)
  3958.  
  3959. bin.Deselected:connect(function()
  3960. remgui()
  3961. end)
  3962.  
  3963. end)
  3964. main.close.MouseButton1Click:connect(function()
  3965. game.CoreGui.elysian:Remove()
  3966. end)
Add Comment
Please, Sign In to add comment