Advertisement
DEXLTH

Topkek 0.8

Jul 20th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.06 KB | None | 0 0
  1. --- // SECTION 1: DECLARATIONS // --
  2.  
  3. topkek = {}; t = topkek
  4. t.guibase = game:GetObjects("rbxassetid://348249747")[1]
  5. t.player = game:GetService('Players').LocalPlayer
  6. t.menus = {
  7. ["Main"] = "menu.main",
  8. ["Template"] = "menu.template",
  9. ["Server"] = 0xf,
  10. ["Players"] = 0xf,
  11. ["LocalPlayer"] = 0xf,
  12. ["Scripts"] = 0xf,
  13. ["Loadstrings"] = 0xf,
  14. ["Destruction"] = 0xf,
  15. ["Miscellaneous"] = 0xf,
  16. ["Explorer"] = 0xf,
  17. ["FilterMyAss"] = 0xf,
  18. ["Music"] = 0xf
  19. }
  20.  
  21. t.playerstring = "";
  22. t.noclip = false
  23. t.nocore = false
  24. t.lock = false
  25. t.bans = {}
  26. t.wspy = nil
  27. t.lev = false
  28. t.runstate = false
  29. t.loadscripts = true
  30.  
  31. --- // SECTION 2: OBJECT MANAGER // --
  32.  
  33. t.objects = {}
  34.  
  35. function t.objects:GetObject(base)
  36. base = "__"..base
  37. return t.guibase:FindFirstChild(base, true)
  38. end
  39.  
  40. function t.objects:CheckDependancies(base, objects)
  41. for i, v in pairs(objects) do
  42. if not base[v] then
  43. return false
  44. end
  45. end
  46. return true
  47. end
  48.  
  49. function t.objects:ConcatTabTable(t1, t2)
  50. local f = t1
  51. for i, v in pairs(t2) do
  52. table.insert(f, {text=v})
  53. end
  54. return f
  55. end
  56.  
  57. function t.objects:LittleFriend(p)
  58. -- thanks rias<3
  59. plr=p.Character
  60. Shaft=Instance.new("Part", plr)
  61. Shaft.Name='Shaft'
  62. Shaft.Size=Vector3.new(1, 2.5, 1)
  63. Shaft.TopSurface=0
  64. Shaft.BottomSurface=0
  65. Shaft.CanCollide=true
  66. Cyln=Instance.new("CylinderMesh", Shaft)
  67. Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  68. Instance.new("Weld", plr)
  69. plr.Weld.Part0=plr.Torso
  70. plr.Weld.Part1=plr.Shaft
  71. plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  72. Shaft.BrickColor=BrickColor.new("Pastel brown")
  73. Tip=Instance.new("Part", plr)
  74. Tip.Name='Tip'
  75. Tip.TopSurface=0
  76. Tip.BottomSurface=0
  77. Tip.Size=Vector3.new(1, 1, 1)
  78. Tip.CanCollide=true
  79. 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)
  80. Cyln2=Instance.new("SpecialMesh", Tip)
  81. Cyln2.MeshType='Sphere'
  82. Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  83. Instance.new("Weld", plr).Name='Weld2'
  84. plr.Weld2.Part0=plr.Shaft
  85. plr.Weld2.Part1=plr.Tip
  86. plr.Weld2.C0=CFrame.new(0,-.9,0)
  87. Tip.BrickColor=BrickColor.new("Pink")
  88. -----
  89. Ball1=Instance.new("Part", plr)
  90. Ball1.Name='Ball1'
  91. Ball1.Size=Vector3.new(1, 1, 1)
  92. Ball1.TopSurface=0
  93. Ball1.BottomSurface=0
  94. Cyln3=Instance.new("SpecialMesh", Ball1)
  95. Cyln3.MeshType='Sphere'
  96. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  97. Instance.new("Weld", plr).Name='Weld3'
  98. plr.Weld3.Part0=plr.Shaft
  99. plr.Weld3.Part1=plr.Ball1
  100. plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  101. Ball1.BrickColor=BrickColor.new("Pastel brown")
  102. -----
  103. Ball2=Instance.new("Part", plr)
  104. Ball2.Name='Ball2'
  105. Ball2.Size=Vector3.new(1, 1, 1)
  106. Ball2.TopSurface=0
  107. Ball2.BottomSurface=0
  108. Cyln3=Instance.new("SpecialMesh", Ball2)
  109. Cyln3.MeshType='Sphere'
  110. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  111. Instance.new("Weld", plr).Name='Weld4'
  112. plr.Weld4.Part0=plr.Shaft
  113. plr.Weld4.Part1=plr.Ball2
  114. plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  115. Ball2.BrickColor=BrickColor.new("Pastel brown")
  116. end
  117.  
  118. function t.objects:GetDuplicateObject(base)
  119. base = "__"..base
  120. local result = t.guibase:FindFirstChild(base, true)
  121. if result then
  122. return (result):Clone()
  123. end
  124. end
  125.  
  126. function t.objects:ScalePlayer(p, size)
  127. -- omfg thanks var
  128. local pchar = p.Character
  129. local function scale(chr,scl)
  130.  
  131. for _,v in pairs(pchar:GetChildren()) do
  132. if v:IsA("Hat") then
  133. v:Clone()
  134. v.Parent = game.Lighting
  135. end
  136. end
  137.  
  138. local Head = chr['Head']
  139. local Torso = chr['Torso']
  140. local LA = chr['Left Arm']
  141. local RA = chr['Right Arm']
  142. local LL = chr['Left Leg']
  143. local RL = chr['Right Leg']
  144. local HRP = chr['HumanoidRootPart']
  145.  
  146. wait(0.1)
  147.  
  148. Head.formFactor = 3
  149. Torso.formFactor = 3
  150. LA.formFactor = 3
  151. RA.formFactor = 3
  152. LL.formFactor = 3
  153. RL.formFactor = 3
  154. HRP.formFactor = 3
  155.  
  156. Head.Size = Vector3.new(scl * 2, scl, scl)
  157. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  158. LA.Size = Vector3.new(scl, scl * 2, scl)
  159. RA.Size = Vector3.new(scl, scl * 2, scl)
  160. LL.Size = Vector3.new(scl, scl * 2, scl)
  161. RL.Size = Vector3.new(scl, scl * 2, scl)
  162. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  163.  
  164. local Motor1 = Instance.new('Motor6D', Torso)
  165. Motor1.Part0 = Torso
  166. Motor1.Part1 = Head
  167. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  168. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  169. Motor1.Name = "Neck"
  170.  
  171. local Motor2 = Instance.new('Motor6D', Torso)
  172. Motor2.Part0 = Torso
  173. Motor2.Part1 = LA
  174. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  175. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  176. Motor2.Name = "Left Shoulder"
  177.  
  178. local Motor3 = Instance.new('Motor6D', Torso)
  179. Motor3.Part0 = Torso
  180. Motor3.Part1 = RA
  181. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  182. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  183. Motor3.Name = "Right Shoulder"
  184.  
  185. local Motor4 = Instance.new('Motor6D', Torso)
  186. Motor4.Part0 = Torso
  187. Motor4.Part1 = LL
  188. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  189. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  190. Motor4.Name = "Left Hip"
  191.  
  192. local Motor5 = Instance.new('Motor6D', Torso)
  193. Motor5.Part0 = Torso
  194. Motor5.Part1 = RL
  195. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  196. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  197. Motor5.Name = "Right Hip"
  198.  
  199. local Motor6 = Instance.new('Motor6D', HRP)
  200. Motor6.Part0 = HRP
  201. Motor6.Part1 = Torso
  202. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  203. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  204.  
  205. end
  206.  
  207. scale(pchar, size)
  208.  
  209. for _,v in pairs(game.Lighting:GetChildren()) do
  210. if v:IsA("Hat") then
  211. v.Parent = pchar
  212. end
  213. end
  214. end
  215.  
  216. function t.objects:FindChildrenWithName(o, nm)
  217. local itms = {}
  218. local function rec(o)
  219. for i, v in pairs(o:GetChildren()) do
  220. if v.Name == nm then
  221. table.insert(itms, v)
  222. end
  223. if #(v:GetChildren())>0 then rec(v) end
  224. end
  225. end
  226. rec(o)
  227. return itms
  228. end
  229.  
  230. function t.objects:Clear(object)
  231. for i, v in pairs(object:GetChildren()) do
  232. v:Destroy()
  233. end
  234. end
  235.  
  236. function t.objects:GetPlayersFromString(str)
  237. if str == "all" then
  238. return game.Players:GetPlayers()
  239. end
  240. if str == "me" then
  241. return {game.Players.LocalPlayer}
  242. end
  243. if str == "others" then
  244. local cm = {}
  245. for i, v in pairs(game.Players:GetPlayers()) do
  246. if v ~= game.Players.LocalPlayer then
  247. table.insert(cm, v)
  248. end
  249. end
  250. return cm
  251. end
  252. local pn = str:gmatch("([^,]+)")
  253. local pl = {}
  254. for ln in pn do
  255. for i, v in pairs(game.Players:GetPlayers()) do
  256. local nm = (v.Name):lower()
  257. if string.sub(nm,1,#ln)==(ln):lower() then
  258. table.insert(pl, v)
  259. end
  260. end
  261. end
  262. return pl
  263. end
  264.  
  265. function t.objects:StartFly()
  266. local mouse=game.Players.LocalPlayer:GetMouse''
  267. localplayer=game.Players.LocalPlayer
  268. game.Players.LocalPlayer.Character:WaitForChild("Torso")
  269. local torso = game.Players.LocalPlayer.Character.Torso
  270. local flying = true
  271. local speed=0
  272. local keys={a=false,d=false,w=false,s=false}
  273. local e1
  274. local e2
  275. local function start()
  276. local pos = Instance.new("BodyPosition",torso)
  277. local gyro = Instance.new("BodyGyro",torso)
  278. pos.Name="EPIXPOS"
  279. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  280. pos.position = torso.Position
  281. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  282. gyro.cframe = torso.CFrame
  283. repeat
  284. wait()
  285. localplayer.Character.Humanoid.PlatformStand=true
  286. local new=gyro.cframe - gyro.cframe.p + pos.position
  287. if not keys.w and not keys.s and not keys.a and not keys.d then
  288. speed=1
  289. end
  290. if keys.w then
  291. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  292. speed=speed+0.01
  293. end
  294. if keys.s then
  295. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  296. speed=speed+0.01
  297. end
  298. if keys.d then
  299. new = new * CFrame.new(speed,0,0)
  300. speed=speed+0.01
  301. end
  302. if keys.a then
  303. new = new * CFrame.new(-speed,0,0)
  304. speed=speed+0.01
  305. end
  306. if speed>5 then
  307. speed=5
  308. end
  309. pos.position=new.p
  310. if keys.w then
  311. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  312. elseif keys.s then
  313. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  314. else
  315. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  316. end
  317. until flying==false
  318. if gyro then gyro:Destroy() end
  319. if pos then pos:Destroy() end
  320. flying=false
  321. localplayer.Character.Humanoid.PlatformStand=false
  322. speed=0
  323. end
  324. e1=mouse.KeyDown:connect(function(key)
  325. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  326. if key=="w" then
  327. keys.w=true
  328. elseif key=="s" then
  329. keys.s=true
  330. elseif key=="a" then
  331. keys.a=true
  332. elseif key=="d" then
  333. keys.d=true
  334. elseif key=="z" then
  335. if flying==true then
  336. flying=false
  337. else
  338. flying=true
  339. start()
  340. end
  341. end
  342. end)
  343. e2=mouse.KeyUp:connect(function(key)
  344. if key=="w" then
  345. keys.w=false
  346. elseif key=="s" then
  347. keys.s=false
  348. elseif key=="a" then
  349. keys.a=false
  350. elseif key=="d" then
  351. keys.d=false
  352. end
  353. end)
  354. start()
  355. end
  356.  
  357. function t.objects:GetPlayers()
  358. if not t.open.__playerselect then return {} end
  359. return t.objects:GetPlayersFromString(t.playerstring)
  360. end
  361.  
  362. function t.objects:SpawnState(state)
  363. t.runstate = true;
  364. spawn(function()
  365. repeat
  366. ypcall(function()
  367. wait(0)
  368. t.player.Character.Humanoid:ChangeState(state)
  369. end)
  370. until t.runstate == false
  371. end)
  372. end
  373.  
  374. function t.objects:FELoop(func)
  375. t.runstate = true;
  376. spawn(function()
  377. repeat
  378. ypcall(function()
  379. wait(0)
  380. func()
  381. end)
  382. until t.runstate == false
  383. end)
  384. end
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391. function t.objects:CreateObject(details)
  392. local _ = Instance.new(details.Class);
  393. for i, v in pairs(details) do
  394. pcall(function()
  395. if i ~= "Class" then
  396. _[i] = v
  397. end
  398. end)
  399. end
  400. return _
  401. end
  402.  
  403. function t.objects:SetProperties(object, details)
  404. for i, v in pairs(details) do
  405. pcall(function()
  406. object[i] = v
  407. end)
  408. end
  409. end
  410.  
  411. function t.objects:IsIn(t, u)
  412. for i,v in pairs(t) do
  413. if v==u then
  414. return true
  415. end
  416. end
  417. return false
  418. end
  419.  
  420.  
  421. -- // SECTION 3: GUI HELPER // --
  422.  
  423. t.gui = {}
  424.  
  425. function t.gui.FindListRow(n, a)
  426. if n == 0 then n = 1 end
  427. if math.fmod(n, a) == 0 then
  428. n = n - 1
  429. end
  430. return math.floor(n / a)
  431. end
  432.  
  433. function t.gui:GenerateTabs(base, tabs, execution)
  434. local tab_base = base.__tabs
  435. local inner_base = base.__inner
  436. local pselect_base = base.__playerselect
  437. if not t.objects:CheckDependancies(base, {"__tabs", "__inner", "__playerselect"}) then
  438. return
  439. end
  440. for i, v in pairs(tabs) do
  441. local Virti = i
  442. local Virto = (function(n) if n < 0 then return 0 end return n end)(Virti - 1)
  443. local TabTemplate = t.objects:GetObject("root")["__menu.template"].__tabs["__tab.template"]:Clone()
  444. t.objects:SetProperties (TabTemplate, {
  445. Text = v.text,
  446. Position = UDim2.new(((0.25 * math.fmod(Virto, 4))), 2, 0, ((22 * (t.gui.FindListRow(Virti, 4))) + 2)),
  447. Parent = tab_base,
  448. Name = "__tab." .. string.lower(v.text)
  449. })
  450. if math.ceil(Virti / 4) == math.ceil(#tabs / 4) then
  451. nv = 1/(#tabs - (((t.gui.FindListRow(Virti, 4)))*4))
  452. t.objects:SetProperties (TabTemplate, {
  453. Text = v.text,
  454. Position = UDim2.new(((nv * math.fmod(Virto, 4))), 2, 0, ((22 * (t.gui.FindListRow(Virti, 4))) + 2)),
  455. Size = UDim2.new(nv, -2, 0, 20),
  456. Parent = tab_base,
  457. Name = "__tab." .. string.lower(v.text)
  458. })
  459. end
  460. TabTemplate.MouseButton1Down:connect(function()
  461. execution (v)
  462. end)
  463. end
  464. if math.ceil(#tabs / 4)>1 then
  465. local rem = (math.ceil(#tabs / 4))
  466. tab_base.Size = UDim2.new(1, -10, 0, ((22 * rem) + 4))
  467. pselect_base.Position = pselect_base.Position + UDim2.new(0, 0, 0, (22 * (rem-2)))
  468. inner_base.Size = UDim2.new(1, -10, 1, (-105 + -((rem-1) * 20)))
  469. inner_base.Position = UDim2.new(0, 5, 0, (85 + ((rem-1) * 20)))
  470. end
  471. end
  472.  
  473. function t.gui:GenerateCustomTabs(base, tabs, execution, npr)
  474. for i, v in pairs(tabs) do
  475. local Virti = i
  476. local Virto = (function(n) if n < 0 then return 0 end return n end)(Virti - 1)
  477. local TabTemplate = t.objects:GetObject("root")["__menu.template"].__tabs["__tab.template"]:Clone()
  478. t.objects:SetProperties (TabTemplate, {
  479. Text = v.text,
  480. Position = UDim2.new((((1/npr) * math.fmod(Virto, npr))), 2, 0, ((22 * (t.gui.FindListRow(Virti, npr))) + 2)),
  481. Size = UDim2.new((1/npr), -2, 0, 20),
  482. Parent = base,
  483. Name = "__ctab." .. string.lower(v.text)
  484. })
  485. if math.ceil(Virti / npr) == math.ceil(#tabs / npr) then
  486. nv = 1/(#tabs - (((t.gui.FindListRow(Virti, npr)))*npr))
  487. t.objects:SetProperties (TabTemplate, {
  488. Text = v.text,
  489. Position = UDim2.new(((nv * math.fmod(Virto, npr))), 2, 0, ((22 * (t.gui.FindListRow(Virti, npr))) + 2)),
  490. Size = UDim2.new(nv, -2, 0, 20),
  491. Parent = base,
  492. Name = "__ctab." .. string.lower(v.text)
  493. })
  494. end
  495. TabTemplate.MouseButton1Down:connect(function()
  496. execution (v)
  497. end)
  498. end
  499. end
  500.  
  501.  
  502. function t.gui:GenerateButtonList(base, list, specifications, custom, leavex)
  503. if custom == nil then
  504. BaseButton = t.objects:CreateObject {
  505. Class = "TextButton",
  506. BackgroundColor3 = specifications.BackgroundColor,
  507. BackgroundTransparency = specifications.BackgroundTransparency,
  508. BorderSizePixel = 0,
  509. FontSize = specifications.FontSize,
  510. Size = UDim2.new(
  511. (1/(specifications.NumberPerRow)),
  512. -(specifications.ButtonSeperation) - specifications.BorderDistance,
  513. 0, specifications.ButtonHeight
  514. )
  515. }
  516. else
  517. BaseButton = custom
  518. end
  519. for i, v in pairs(list) do
  520. local Virti = i
  521. local Virto = (function(n) if n < 0 then return 0 end return n end)(Virti - 1)
  522. Virto = Virto + t.gui.FindListRow(Virti, specifications.NumberPerRow)
  523. local BClone = BaseButton:Clone()
  524. if leavex == true then
  525. t.objects:SetProperties(BClone, {
  526. Parent = base,
  527. Text = v.Text,
  528. Position = UDim2.new(
  529. BaseButton.Position.X.Scale,
  530. BaseButton.Position.X.Offset,
  531. 0, ((specifications.ButtonSeperation + specifications.ButtonHeight) * t.gui.FindListRow(Virti, specifications.NumberPerRow)) + (specifications.BorderDistance/2)
  532. )
  533. })
  534. else
  535. t.objects:SetProperties(BClone, {
  536. Parent = base,
  537. Text = v.Text,
  538. Position = UDim2.new(
  539. (1/(specifications.NumberPerRow)) * math.fmod(Virto, specifications.NumberPerRow + 1),
  540. specifications.ButtonSeperation + (specifications.BorderDistance/2),
  541. 0, ((specifications.ButtonSeperation + specifications.ButtonHeight) * t.gui.FindListRow(Virti, specifications.NumberPerRow)) + (specifications.BorderDistance/2)
  542. ) --[[ that was a doozy]]
  543. })
  544. end
  545. BClone.MouseButton1Down:connect(function()
  546. v.func()
  547. end)
  548. end
  549. if base:IsA("ScrollingFrame") then
  550. base.BorderSizePixel = 0
  551. base.ScrollBarThickness = 6
  552. base.CanvasSize = UDim2.new(0, 0, 0, math.ceil(#list / specifications.NumberPerRow)*(specifications.ButtonHeight+specifications.ButtonSeperation) + 15)
  553. end
  554. end
  555.  
  556. function t.gui:FilterItems(frame, property, param, seper, bheight, origx, ucond, condition)
  557. local fitm = {}
  558. if ucond then
  559. for i, v in pairs(frame:GetChildren()) do
  560. if condition(v) then
  561. table.insert(fitm, v)
  562. end
  563. v.Visible=false
  564. end
  565. else
  566. for i, v in pairs(frame:GetChildren()) do
  567. local param = string.lower(param)
  568. local ods = string.lower(v[property])
  569. if string.match(ods, param) then
  570. table.insert(fitm, v)
  571. end
  572. v.Visible=false
  573. end
  574. end
  575. for i, v in pairs(fitm) do
  576. v.Visible=true
  577. v.Position = origx + UDim2.new(0,0,0,((bheight + seper) * (i - 1)) + seper)
  578. end
  579. frame.CanvasSize = UDim2.new(0,0,0,(#fitm + seper) * bheight)
  580. end
  581.  
  582. function t.gui:ActivateSearchbar(crfunc, frame, bar, seper, bheight, origx, ucond, condition)
  583. return game:GetService("UserInputService").InputBegan:connect(function(o)
  584. if bar:IsFocused() then
  585. t.gui:FilterItems(frame, "Text", bar.Text, seper, bheight, origx, ucond, condition)
  586. end
  587. end)
  588. end
  589.  
  590. function t.gui:HookPlayerbar(bar)
  591. bar.FocusLost:connect(function(e)
  592. if e == true then
  593. print("bar f lost, t: "..bar.Text)
  594. t.playerstring = bar.Text
  595. bar.Text = ""
  596. end
  597. end)
  598. end
  599.  
  600. function t.gui:HookButtons(list)
  601. for i, v in pairs(list) do
  602. v.object.MouseButton1Down:connect(function()
  603. v.func()
  604. end)
  605. end
  606. end
  607.  
  608. t.crapclone = t.objects:GetObject("root")["__menu.template"]:Clone()
  609.  
  610.  
  611. -- // SECTION 4: WINDOW MANAGER // --
  612. t.windows = {}
  613. t.windows.windowpool = {t.objects:GetObject("menu.main")}
  614. t.open = t.objects:GetObject("menu.main")
  615. t.openname = "Main"
  616.  
  617. function t.windows:Open(name)
  618. local origname = name
  619. if t.open then
  620. t.open.Visible = false
  621. end
  622. if not t.menus[name] then return end
  623. local oldname = t.openname
  624. t.openname = name
  625. if t.menus[name] == 0xf then
  626. name = "menu." .. string.lower(name)
  627. else
  628. name = t.menus[name]
  629. end
  630.  
  631. for i, v in pairs(t.windows.windowpool) do
  632. if v:FindFirstChild("__tab." .. string.lower(origname), true) then
  633. v:FindFirstChild("__tab." .. string.lower(origname), true).BackgroundColor3 = Color3.new(150/255, 150/255, 150/255)
  634. end
  635. if v:FindFirstChild("__tab." .. string.lower(oldname), true) then
  636. v:FindFirstChild("__tab." .. string.lower(oldname), true).BackgroundColor3 = Color3.new(171/255, 171/255, 171/255)
  637. end
  638. end
  639.  
  640. t.objects:GetObject(name).Visible = true
  641. pcall(function()if t.objects:GetObject(name).__playerselect then
  642. t.objects:GetObject(name).__playerselect.Text = "Select a player (all, others, me) (Hotkey: =)"
  643. end end)
  644. t.objects:GetObject("root.title").Text = "T0PK3K 0.8 ["..origname.." Menu]"
  645. t.open = t.objects:GetObject(name)
  646. end
  647. t.gmb = t.objects:GetObject("root")["__menu.main"].__inner.__menus
  648. t.rcfeb = t.objects:GetObject("fe")
  649. t.rctit = t.objects:GetObject("title")
  650. t.rcu = t.objects:GetObject("user")
  651. function t.windows:HookMenu()
  652. local buttons = t.gmb
  653. t.gui:HookButtons {
  654. {object=buttons.__fmenu,func=(function()t.windows:Open("Miscellaneous")end)},
  655. {object=buttons.__lpmenu,func=(function()t.windows:Open("LocalPlayer")end)},
  656. {object=buttons.__pmenu,func=(function()t.windows:Open("Players")end)},
  657. {object=buttons.__scmenu,func=(function()t.windows:Open("Scripts")end)},
  658. {object=buttons.__smenu,func=(function()t.windows:Open("Server")end)},
  659. }
  660. t.rcfeb.Text = "FilteringEnabled: "..tostring(game.Workspace.FilteringEnabled)
  661. t.rctit.Text = "Hello, "..game.Players.LocalPlayer.Name.."!"
  662. local exploit = nil
  663. if getgenv then
  664. exploit = "Elysian"
  665. elseif decompile then
  666. exploit = "Seven V2"
  667. elseif (not getgenv) and (not decompile) and (not setrawmetatable) then
  668. exploit = "RC7"
  669. end
  670. t.rcu.Text = "Current exploit: "..exploit
  671. end
  672.  
  673. function t.windows:GenerateWindow(name, extras)
  674. if extras == nil then extras = {} end
  675. local win = t.crapclone:Clone()
  676. win.Name = "__menu."..string.lower(name)
  677. win.Visible = false
  678. win.__inner.CanvasSize = UDim2.new(0, 0, 0, 0)
  679. win.Parent = t.objects:GetObject("root")
  680. win.__tabs["__tab.template"]:Destroy()
  681. wait()
  682. win.__playerselect.Text = "Select a player (all, others, me) (Hotkey: =)"
  683. t.gui:GenerateTabs(win,
  684. t.objects:ConcatTabTable({{text="Main"}, {text="Server"}, {text="Players"}, {text="LocalPlayer"},{text="Scripts"}, {text="Miscellaneous"}}, extras)
  685. , (function(v) t.windows:Open(v.text) end)); table.insert(t.windows.windowpool, win)
  686. return win
  687. end
  688.  
  689.  
  690. -- // SECTION 5: SERVER MENU // --
  691. t.sm = {}
  692. t.sm.gui = t.windows:GenerateWindow("server", {"Destruction"})
  693. t.sm.dgui = t.windows:GenerateWindow("Destruction")
  694.  
  695. t.sm.init = function()
  696. t.gui:GenerateButtonList (t.sm.gui.__inner, {
  697. {Text = "Baseplate", func = (function()
  698. for X = -2500, 2500, 512 do
  699. for Z = -2500, 2500, 512 do
  700. local P = Instance.new("Part")
  701. P.Anchored = true
  702. P.Locked = true
  703. P.Size = Vector3.new(512,3,512)
  704. P.CFrame = CFrame.new(X,0,Z)
  705. P.BrickColor = BrickColor.Green()
  706. P.Parent = game.Workspace
  707. end
  708. end
  709. end)},
  710. {Text = "Clear", func = (function()
  711. for i,v in pairs(game.Workspace:GetChildren()) do
  712. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  713. v:Destroy()
  714. end
  715. end
  716. end)},
  717. {Text = "Kill All", func = (function()
  718. for i,v in pairs(game.Players:GetPlayers()) do
  719. if v.Character.Humanoid then
  720. v.Character.Humanoid.Health = 0
  721. end
  722. end
  723. end)},
  724. {Text = "Shutdown", func = (function()
  725. for i,v in pairs(game.Players:GetPlayers()) do
  726. if v.Name~=t.player.Name then
  727. v.PersonalServerRank = 255
  728. wait()
  729. v.PersonalServerRank = 0
  730. v:Destroy()
  731. end
  732. end
  733. game.Players.LocalPlayer:Destroy()
  734. end)},
  735. {Text = "Lock", func = (function()
  736. t.lock = true
  737. game.Players.PlayerAdded:connect(function(p)
  738. if t.lock == true then
  739. p.PersonalServerRank = 255
  740. wait()
  741. p.PersonalServerRank = 0
  742. end
  743. end)
  744. end)},
  745. {Text = "Unlock", func = (function()
  746. t.lock = false
  747. end)},
  748. {Text = "NoSound", func = (function()
  749. function re(o)
  750. for i,v in pairs(o:GetChildren()) do
  751. if v:IsA("Sound") then v:Stop() end re(v)
  752. end
  753. end
  754. re(game.Workspace)
  755. end)},
  756. {Text = "Indicate", func = (function()
  757. for i=1,10 do
  758. for i,v in pairs(game.Players:GetPlayers()) do
  759. if v.Character.Head then
  760. game:GetService("Chat"):Chat(v.Character,t.player.Name.." is using T0PK3K 0.8! nosyliam@v3rm",math.fmod(i,3))
  761. end
  762. end
  763. end
  764. end)},
  765. {Text = "Fog", func = (function()
  766. game.Lighting.FogEnd = 0
  767. end)},
  768. {Text = "NoFog", func = (function()
  769. game.Lighting.FogEnd = 1000000
  770. end)},
  771. {Text = "Fix Lighting", func = (function()
  772. local l = game.Lighting
  773. l.Ambient = Color3.new(0, 0, 0)
  774. l.Brightness = 1
  775. l.GlobalShadows = true
  776. l.Outlines = true
  777. l.FogEnd = 100000
  778. l.FogStart = 0
  779. l:SetMinutesAfterMidnight(12*60)
  780. end)},
  781. {Text = "Day", func = (function()
  782. game.Lighting:SetMinutesAfterMidnight(60*12)
  783. end)},
  784. {Text = "Night", func = (function()
  785. game.Lighting:SetMinutesAfterMidnight(0)
  786. end)},
  787.  
  788. },
  789. {
  790. ButtonHeight = 30,
  791. BorderDistance = 4,
  792. NumberPerRow = 3,
  793. ButtonSeperation = 2,
  794. })
  795. t.gui:GenerateButtonList (t.sm.dgui.__inner, {
  796. {Text = "Gaben", func = (function()
  797. local steam = "rbxassetid://182119824"
  798. local gaben = "rbxassetid://177984640"
  799. local gaben2 = "rbxassetid://291288584"
  800.  
  801. function particle(p, b)
  802. local a = Instance.new("ParticleEmitter", p)
  803. a.Rate = 750
  804. a.Lifetime = NumberRange.new(20, 30)
  805. a.VelocitySpread = 200
  806. a.Texture = b
  807. end
  808.  
  809. function decal(p, b)
  810. local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  811. for i, v in pairs(sides) do
  812. local a = Instance.new("Decal", p)
  813. a.Texture = b
  814. a.Face = v
  815. end
  816. end
  817.  
  818. function recurse(x)
  819. for i, v in pairs(x:GetChildren()) do
  820. if v:IsA("BasePart") then
  821. particle(v, steam)
  822. particle(v, gaben)
  823. decal(v, gaben2)
  824. end
  825. if #(v:GetChildren())>0 then
  826. recurse(v)
  827. end
  828. end
  829. end
  830.  
  831. recurse(game)
  832. local mu = Instance.new("Sound", game.Workspace)
  833. mu.Volume = 1
  834. mu.Looped = true
  835. mu.Pitch = 1
  836. mu.SoundId = "rbxassetid://172143577"
  837. mu:Play()
  838. end)},
  839. {Text = "666", func = (function()
  840. for i,v in next,workspace:children''do
  841. if(v:IsA'BasePart')then
  842. me=v;
  843. bbg=Instance.new('BillboardGui',me);
  844. bbg.Name='stuf';
  845. bbg.Adornee=me;
  846. bbg.Size=UDim2.new(2.5,0,2.5,0)
  847. --bbg.StudsOffset=Vector3.new(0,2,0)
  848. tlb=Instance.new'TextLabel';
  849. tlb.Text='666 666 666 666 666 666';
  850. tlb.Font='SourceSansBold';
  851. tlb.FontSize='Size48';
  852. tlb.TextColor3=Color3.new(1,0,0);
  853. tlb.Size=UDim2.new(1.25,0,1.25,0);
  854. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  855. tlb.BackgroundTransparency=1;
  856. tlb.Parent=bbg;
  857. end;end;
  858. --coroutine.wrap(function()while wait''do
  859. s=Instance.new'Sound';
  860. s.Parent=workspace;
  861. s.SoundId='rbxassetid://152840862';
  862. s.Pitch=1;
  863. s.Volume=1;
  864. s.Looped=true;
  865. s:play();
  866. --end;end)();
  867. function xds(dd)
  868. for i,v in next,dd:children''do
  869. if(v:IsA'BasePart')then
  870. v.BrickColor=BrickColor.new'Really black';
  871. v.TopSurface='Smooth';
  872. v.BottomSurface='Smooth';
  873. s=Instance.new('SelectionBox',v);
  874. s.Adornee=v;
  875. s.Color=BrickColor.new'Really red';
  876. a=Instance.new('PointLight',v);
  877. a.Color=Color3.new(1,0,0);
  878. a.Range=15;
  879. a.Brightness=5;
  880. f=Instance.new('Fire',v);
  881. f.Size=19;
  882. f.Heat=22;
  883. end;
  884. game.Lighting.TimeOfDay=0;
  885. game.Lighting.Brightness=0;
  886. game.Lighting.ShadowColor=Color3.new(0,0,0);
  887. game.Lighting.Ambient=Color3.new(1,0,0);
  888. game.Lighting.FogEnd=200;
  889. game.Lighting.FogColor=Color3.new(0,0,0);
  890. local dec = 'http://www.roblox.com/asset/?id=19399245';
  891. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  892. --coroutine.wrap(function()
  893. --for _,__ in pairs(fac) do
  894. --local ddec = Instance.new("Decal", v)
  895. --ddec.Face = __
  896. --ddec.Texture = dec
  897. --end end)()
  898. if #(v:GetChildren())>0 then
  899. xds(v)
  900. end
  901. end
  902. end
  903. xds(game.Workspace)
  904. end)},
  905. {Text = "Clear Terrain", func = (function()
  906. game.Workspace.Terrain:Clear()
  907. end)},
  908. {Text = "Flood", func = (function()
  909. -- thanks krystal
  910. game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")
  911. end)},
  912. {Text = "Troll", func = (function()
  913. function particle(p, b)
  914. local a = Instance.new("ParticleEmitter", p)
  915. a.Rate = 750
  916. a.Lifetime = NumberRange.new(20, 30)
  917. a.VelocitySpread = 200
  918. a.Texture = b
  919. end
  920.  
  921. function decal(p, b)
  922. local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  923. for i, v in pairs(sides) do
  924. local a = Instance.new("Decal", p)
  925. a.Texture = b
  926. a.Face = v
  927. end
  928. end
  929.  
  930. local function skybox(x)
  931. local sky = Instance.new("Sky",game.Lighting)
  932. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  933. for i,v in pairs(fcs) do
  934. sky["Skybox"..v]=x
  935. end
  936. end
  937.  
  938. function recurse(x)
  939. for i, v in pairs(x:GetChildren()) do
  940. if v:IsA("BasePart") then
  941. particle(v, "rbxassetid://67202156")
  942. decal(v, "rbxassetid://67202156")
  943. end
  944. if #(v:GetChildren())>0 then
  945. recurse(v)
  946. end
  947. end
  948. end
  949. skybox("rbxassetid://67202156")
  950. recurse(game)
  951. local mu = Instance.new("Sound", game.Workspace)
  952. mu.Volume = 1
  953. mu.Looped = true
  954. mu.Pitch = 1
  955. mu.SoundId = "rbxassetid://154664102"
  956. mu:Play()
  957. end)},
  958. {Text = "Cenasploit", func = (function()
  959. cena =
  960. function(instance)
  961. for i,v in pairs(instance:GetChildren()) do
  962. if v.ClassName == "Sound" then
  963. v:Destroy()
  964. end
  965. if v:IsA("BasePart") then
  966. v:ClearAllChildren()
  967. local function decal(face)
  968. local d = Instance.new("Decal", v)
  969. d.Texture = "rbxassetid://121913592"
  970. d.Face = face
  971. end
  972. decal("Back")
  973. decal("Bottom")
  974. decal("Left")
  975. decal("Right")
  976. decal("Front")
  977. decal("Top")
  978. end
  979. cena(v)
  980. end
  981. end
  982. cena(workspace)
  983. for i, v in pairs(game.Lighting:GetChildren()) do
  984. if v:IsA("Sky") then
  985. v:Destroy()
  986. end
  987. end
  988. local sk = Instance.new("Sky", game.Lighting)
  989. sk.SkyboxBk = "rbxassetid://121913592"
  990. sk.SkyboxDn = "rbxassetid://121913592"
  991. sk.SkyboxFt = "rbxassetid://121913592"
  992. sk.SkyboxLf = "rbxassetid://121913592"
  993. sk.SkyboxRt = "rbxassetid://121913592"
  994. sk.SkyboxUp = "rbxassetid://121913592"
  995. local s = Instance.new("Sound", game.Workspace)
  996. s.SoundId = "rbxassetid://289936337"
  997. s.Looped = true
  998. s.PlayOnRemove = true
  999. s:Play()
  1000. for i,v in pairs(p) do
  1001. pe = Instance.new("ParticleEmitter", v.Character.Torso)
  1002. pe.Texture = t3
  1003. pe.VelocitySpread = 360
  1004. end
  1005. for i= 1,#w do
  1006. if w[i]:isA("BasePart") then
  1007. pe = Instance.new("ParticleEmitter", w[i])
  1008. pe.Texture = "rbxassetid://121913592"
  1009. pe.VelocitySpread = 5
  1010. end
  1011. end
  1012. end)},
  1013. {Text = "Colorspam", func = (function()
  1014. -- thanks var
  1015. local function r(where)
  1016. for _,v in pairs (where:GetChildren()) do
  1017. if v:IsA("BasePart") then
  1018. spawn(function() while wait(0.1) do v.BrickColor = BrickColor.Random() wait() end end) end r(v) end end r(workspace)
  1019. end)},
  1020. {Text = "Materialspam", func = (function()
  1021. local materiallist =
  1022. {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  1023. Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  1024. Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  1025. Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  1026. Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  1027. local function r(where)
  1028. for _,v in pairs (where:GetChildren()) do
  1029. if v:IsA("BasePart") then
  1030. spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
  1031. end)},
  1032. {Text = "Transparencyfun", func = (function()
  1033. local function r(where)
  1034. for _,v in pairs (where:GetChildren()) do
  1035. if v:IsA("BasePart") then
  1036. spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
  1037. end)},
  1038. {Text = "Reflectancyfun", func = (function()
  1039. local function r(where)
  1040. for _,v in pairs (where:GetChildren()) do
  1041. if v:IsA("BasePart") then
  1042. spawn(function() while wait(0.1) do v.Reflectance = math.random(0,1) wait() end end) end r(v) end end r(workspace)
  1043. end)},
  1044. },
  1045. {
  1046. ButtonHeight = 30,
  1047. BorderDistance = 4,
  1048. NumberPerRow = 3,
  1049. ButtonSeperation = 2,
  1050. })
  1051.  
  1052. end
  1053.  
  1054. -- // SECTION 6: SCRIPTS MENU // --
  1055. at=tick()
  1056. t.sc = {}
  1057.  
  1058. t.sc.gui = t.windows:GenerateWindow("scripts", {"Loadstrings"})
  1059. t.sc.lsgui = t.windows:GenerateWindow("Loadstrings")
  1060.  
  1061. t.sc.scsearch = t.objects:CreateObject {
  1062. Class = "TextBox",
  1063. Name = "__scripts.searchbar",
  1064. Parent = t.sc.gui.__inner,
  1065. Size = UDim2.new(1, -10, 0, 25),
  1066. Position = UDim2.new(0, 5, 0, 4),
  1067. BackgroundTransparency = 0.6,
  1068. BackgroundColor3 = Color3.new(110/255, 110/255, 110/255),
  1069. BorderSizePixel = 1,
  1070. FontSize = Enum.FontSize.Size18,
  1071. Font = Enum.Font.SourceSans,
  1072. TextColor3 = Color3.new(209/255, 209/255, 209/255),
  1073. Text = "Search for a script"
  1074. }
  1075.  
  1076. t.sc.stabsf = t.objects:CreateObject {
  1077. Class = "Frame",
  1078. Name = "__loadstrings.tabframe",
  1079. Parent = t.sc.lsgui.__inner,
  1080. Size = UDim2.new(1, -10, 0, 44),
  1081. Position = UDim2.new(0, 5, 0, 4),
  1082. BackgroundTransparency = 0.6,
  1083. BackgroundColor3 = Color3.new(110/255, 110/255, 110/255),
  1084. BorderSizePixel = 1,
  1085. }
  1086.  
  1087. t.sc.scls = t.objects:CreateObject {
  1088. Class = "ScrollingFrame",
  1089. Name = "__scripts.scriptframe",
  1090. Parent = t.sc.gui.__inner,
  1091. Size = UDim2.new(1, -10, 1, -39),
  1092. Position = UDim2.new(0, 5, 0, 36),
  1093. BackgroundTransparency = 0.58,
  1094. BackgroundColor3 = Color3.new(100/255, 100/255, 100/255),
  1095. BorderColor3 = Color3.new(67/255, 67/255, 67/255),
  1096. BorderSizePixel = 1,
  1097. ScrollBarThickness = 6,
  1098. ScrollingEnabled = true,
  1099. CanvasSize = UDim2.new(0, 0, 0, 0)
  1100. }
  1101.  
  1102. t.sc.lscls = t.objects:CreateObject {
  1103. Class = "ScrollingFrame",
  1104. Name = "__scripts.loadstringframe",
  1105. Parent = t.sc.lsgui.__inner,
  1106. Size = UDim2.new(1, -10, 1, -61),
  1107. Position = UDim2.new(0, 5, 0, 58),
  1108. BackgroundTransparency = 0.58,
  1109. BackgroundColor3 = Color3.new(100/255, 100/255, 100/255),
  1110. BorderColor3 = Color3.new(67/255, 67/255, 67/255),
  1111. BorderSizePixel = 1,
  1112. ScrollBarThickness = 6,
  1113. ScrollingEnabled = true,
  1114. CanvasSize = UDim2.new(0, 0, 0, 0)
  1115. }
  1116.  
  1117. t.gui:GenerateCustomTabs(t.sc.stabsf, {{text="All"},
  1118. {text="3 Stars"},{text="4 Stars"},{text="5 Stars"},{text="6 Stars"},{text="7 Stars"}},
  1119. (function(x)local star=tonumber(x.text:sub(1,1))
  1120. for i,v in pairs(t.sc.lscls:GetChildren()) do v:Destroy() end
  1121. t.sc.lcrf()
  1122. --frame, property, param, seper, bheight, origx, ucond, condition
  1123. if x.text=="All" then
  1124. return true
  1125. end
  1126. t.gui:FilterItems(t.sc.lscls,nil,nil,3,30,UDim2.new(0,8,0,0),true,(function(n)
  1127. if (n.Text:lower()):find(tostring(star).." stars") then
  1128.  
  1129. return true
  1130. end
  1131. end))
  1132. end),3)
  1133.  
  1134. t.sc.nameapi = "http://topkek.liampro.net/kekapi/scriptname.php?id="
  1135.  
  1136. at=tick()
  1137.  
  1138. if t.loadscripts == true then t.sc.scriptg = game:GetObjects("rbxassetid://376553985")[1] else t.sc.scriptg = Instance.new("Model") end
  1139.  
  1140.  
  1141. t.root = t.objects:GetObject("root")
  1142. t.sc.storage = Instance.new("Folder", game.RobloxReplicatedStorage)
  1143. t.sc.storage.Name = "S_STORE"
  1144. t.sc.noscripts = #(t.sc.scriptg:GetChildren())print("nums:"..#t.sc.scriptg:GetChildren())
  1145. t.sc.scriptdata = {}
  1146. t.sc.sgetapi = "http://topkek.liampro.net/kekapi/script.php?id="
  1147.  
  1148. for i,v in pairs(t.sc.scriptg:GetChildren()) do
  1149. local nm = v.Name
  1150. v.Parent = t.sc.storage
  1151. table.insert(t.sc.scriptdata, {Text=nm,func=(function()
  1152. local sc=Instance.new("LocalScript")sc.Parent=t.player.PlayerGui;
  1153. sc.Name="GameScript";sc.Source=v.Source;sc.Disabled=true;sc.Disabled=false;end)})
  1154. end
  1155.  
  1156. t.sc.lscriptg = game:GetObjects("rbxassetid://382476899")[1]
  1157. t.sc.lstorage = Instance.new("Folder", game.RobloxReplicatedStorage)
  1158. t.sc.lstorage.Name = "LS_STORE"
  1159. t.sc.lscriptdata = {}
  1160.  
  1161. for i,v in pairs(t.sc.lscriptg:GetChildren()) do
  1162. v.Name = v.Name .. " ["..tostring(v.Rank.Value).." Stars]"
  1163. local nm = v.Name
  1164. v.Parent = t.sc.lstorage
  1165. table.insert(t.sc.lscriptdata, {Text=nm,func=(function()
  1166. local sc=Instance.new("LocalScript")sc.Parent=t.player.PlayerGui;
  1167. sc.Name="GameScript";sc.Source=v.Source;sc.Disabled=true;sc.Disabled=false;end)})
  1168. end
  1169.  
  1170. t.sc.crf = function() t.gui:GenerateButtonList(t.sc.scls,
  1171. t.sc.scriptdata,
  1172. {
  1173. NumberPerRow = 1,
  1174. ButtonSeperation = 3,
  1175. ButtonHeight = 30,
  1176. BorderDistance = 10,
  1177.  
  1178. },
  1179. t.objects:CreateObject {
  1180. Class = "TextButton",
  1181. BackgroundColor3 = Color3.new(56/255, 56/255, 56/255),
  1182. BackgroundTransparency = 0.5,
  1183. Size = UDim2.new(1, -20, 0, 30),
  1184. Position = UDim2.new(0, 8, 0, 4),
  1185. BorderSizePixel = 0,
  1186. TextColor3 = Color3.new(1, 1, 1),
  1187. FontSize = Enum.FontSize.Size14,
  1188. Font = Enum.Font.SourceSans
  1189. },
  1190. true) end; t.sc.crf(); print("TICK: "..tick()-at)
  1191.  
  1192. --crfunc, frame, bar, seper, bheight, isin, tbl
  1193. t.gui:ActivateSearchbar(t.sc.crf,t.sc.scls,t.sc.scsearch,3,30,UDim2.new(0,8,0,0),nil,nil)
  1194.  
  1195. t.sc.lcrf = function() t.gui:GenerateButtonList(t.sc.lscls,
  1196. t.sc.lscriptdata,
  1197. {
  1198. NumberPerRow = 1,
  1199. ButtonSeperation = 3,
  1200. ButtonHeight = 30,
  1201. BorderDistance = 10,
  1202.  
  1203. },
  1204. t.objects:CreateObject {
  1205. Class = "TextButton",
  1206. BackgroundColor3 = Color3.new(56/255, 56/255, 56/255),
  1207. BackgroundTransparency = 0.5,
  1208. Size = UDim2.new(1, -20, 0, 30),
  1209. Position = UDim2.new(0, 8, 0, 4),
  1210. BorderSizePixel = 0,
  1211. TextColor3 = Color3.new(1, 1, 1),
  1212. FontSize = Enum.FontSize.Size14,
  1213. Font = Enum.Font.SourceSans
  1214. },
  1215. true) end; t.sc.lcrf()
  1216.  
  1217.  
  1218. t.sc.init = function()
  1219.  
  1220. end
  1221. -- // SECTION 6: PLAYERS MENU // --
  1222. t.pm = {}
  1223. t.pm.gui = t.windows:GenerateWindow("players")
  1224. print("PAST PLAYERS")
  1225.  
  1226. t.pm.doplayers = function(f)
  1227. local players = t.objects:GetPlayers()
  1228. for i, v in pairs(players) do
  1229. f(v)
  1230. end
  1231. end
  1232.  
  1233.  
  1234. t.pm.init = function() t.gui:GenerateButtonList (t.pm.gui.__inner, {
  1235. {Text = "Kill", func = (function()t.pm.doplayers(function(p)
  1236. if p.Character.Humanoid then
  1237. p.Character.Humanoid.Health = 0
  1238. end end)
  1239. end)},
  1240. {Text = "Kick", func = (function()t.pm.doplayers(function(p)
  1241. p.PersonalServerRank=255
  1242. wait()
  1243. p.PersonalServerRank=0 p:Destroy()end)
  1244. end)},
  1245. {Text = "Ban", func = (function()t.pm.doplayers(function(p)
  1246. p.PersonalServerRank=255
  1247. wait()
  1248. p.PersonalServerRank=0;p:Destroy() table.insert(t.bans,p.userId) end)
  1249. end)},
  1250. {Text = "Sparkles", func = (function()t.pm.doplayers(function(p)
  1251. if p.Character.Torso then
  1252. Instance.new("Sparkles").Parent = p.Character.Torso
  1253. end end)
  1254. end)},
  1255. {Text = "Fire", func = (function()t.pm.doplayers(function(p)
  1256. if p.Character.Torso then
  1257. Instance.new("Fire").Parent = p.Character.Torso
  1258. end end)
  1259. end)},
  1260. {Text = "God", func = (function()t.pm.doplayers(function(p)
  1261. if p.Character.Humanoid then
  1262. p.Character.Humanoid.MaxHealth = math.huge
  1263. p.Character.Humanoid.Health = math.huge
  1264. end end)
  1265. end)},
  1266. {Text = "SemiGod", func = (function()t.pm.doplayers(function(p)
  1267. if p.Character.Humanoid then
  1268. p.Character.Humanoid.MaxHealth = 9999999999
  1269. p.Character.Humanoid.Health = 9999999999
  1270. end end)
  1271. end)},
  1272. {Text = "Nuke", func = (function()t.pm.doplayers(function(p)
  1273. local nuke = Instance.new("Part", game.Workspace)
  1274. local opos = v.Character.Torso.CFrame
  1275. nuke.BrickColor = BrickColor.new("Bright yellow")
  1276. nuke.TopSurface = Enum.SurfaceType.Smooth
  1277. nuke.BottomSurface = Enum.SurfaceType.Smooth
  1278. nuke.Anchored = true
  1279. nuke.CanCollide = false
  1280. nuke.Shape = "Ball"
  1281. nuke.Transparency = 0.5
  1282. nuke.CFrame = v.Character.Torso.CFrame
  1283. nuke.Size = Vector3.new(1, 1, 1)
  1284. nuke.Touched:connect(function(p)
  1285. local expl = Instance.new("Explosion", p)
  1286. expl.BlastPressure = 50000
  1287. expl.BlastRadius = 50
  1288. expl.Position = p.Position
  1289. p.Material = Enum.Material.CorrodedMetal
  1290. p:BreakJoints()
  1291. end)
  1292. for i = 1, 150 do
  1293. nuke.Size = Vector3.new(i, i, i)
  1294. nuke.CFrame = opos
  1295. wait(0.08)
  1296. end
  1297. nuke:Destroy()
  1298. end)
  1299. end)},
  1300. {Text = "Ungod", func = (function()t.pm.doplayers(function(p)
  1301. if p.Character.Humanoid then
  1302. p.Character.Humanoid.MaxHealth = 100
  1303. p.Character.Humanoid.Health = 100
  1304. end end)
  1305. end)},
  1306. {Text = "Sit", func = (function()t.pm.doplayers(function(p)
  1307. if p.Character.Humanoid then
  1308. p.Character.Humanoid.Sit = true
  1309. end end)
  1310. end)},
  1311. {Text = "Jump", func = (function()t.pm.doplayers(function(p)
  1312. if p.Character.Humanoid then
  1313. p.Character.Humanoid.Jump = true
  1314. end end)
  1315. end)},
  1316. {Text = "Freeze", func = (function()t.pm.doplayers(function(p)
  1317. if p.Character.Torso then
  1318. p.Character.Torso.Anchored = true
  1319. end end)
  1320. end)},
  1321. {Text = "Thaw", func = (function()t.pm.doplayers(function(p)
  1322. if p.Character.Torso then
  1323. p.Character.Torso.Anchored = false
  1324. end end)
  1325. end)},
  1326. {Text = "PSTools", func = (function()t.pm.doplayers(function(p)
  1327. p.PersonalServerRank = 255 end)
  1328. end)},
  1329. {Text = "No PSTools", func = (function()t.pm.doplayers(function(p)
  1330. p.PersonalServerRank = 0 end)
  1331. end)},
  1332. {Text = "BTools", func = (function()t.pm.doplayers(function(p)
  1333. local a = Instance.new("HopperBin")
  1334. a.BinType = "GameTool"
  1335. a.Parent = p.Backpack
  1336. local a = Instance.new("HopperBin")
  1337. a.BinType = "Clone"
  1338. a.Parent = p.Backpack
  1339. local a = Instance.new("HopperBin")
  1340. a.BinType = "Hammer"
  1341. a.Parent = p.Backpack end)
  1342. end)},
  1343. {Text = "Giraffe", func = (function()t.pm.doplayers(function(v)
  1344. if v.Character then
  1345. local char=v.Character
  1346. local h=char.Head
  1347. local tor=char.Torso
  1348. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  1349. local fn=Instance.new("Part",char)
  1350. fn.Size=Vector3.new(1,5.5,1)
  1351. fn.Name="FakeNeck"
  1352. fn.Anchored=false
  1353. fn.CanCollide=false
  1354. if char:FindFirstChild("Body Colors") then
  1355. fn.BrickColor=char["Body Colors"].HeadColor
  1356. end
  1357. local cm=Instance.new("CylinderMesh",fn)
  1358. local we=Instance.new("Weld",h)
  1359. we.Part0=h
  1360. we.Part1=fn
  1361. we.C1=we.C1*CFrame.new(0,2.6,0)
  1362. end end)
  1363. end)},
  1364. {Text = "Neon", func = (function()t.pm.doplayers(function(v)
  1365. if v.Character then
  1366. for x,m in pairs(v.Character:GetChildren()) do
  1367. if m:IsA("BasePart") then
  1368. m.BrickColor = BrickColor.new("Bright green")
  1369. m.Material = Enum.Material.Neon
  1370. if m.Name == "Head" then
  1371. for s,z in pairs(m:GetChildren()) do
  1372. if z:IsA("SpecialMesh") then
  1373. z:Destroy()
  1374. end
  1375. end
  1376. m.Size = Vector3.new(1,1,1)
  1377. end
  1378. end
  1379. if m:IsA("Hat") or m:IsA("Shirt") or m:IsA("Pants") then
  1380. m:Destroy()
  1381. end
  1382. end
  1383. end
  1384. end)
  1385. end)},
  1386. {Text = "Goldify", func = (function()t.pm.doplayers(function(v)
  1387. if v.Character then
  1388. for x,m in pairs(v.Character:GetChildren()) do
  1389. if m:IsA("Hat") or m:IsA("Shirt") or m:IsA("Pants") then
  1390. m:Destroy()
  1391. end
  1392. if m.Name == "Head" then
  1393. m.Size = Vector3.new(1,1,1)
  1394. m.Material = Enum.Material.Marble
  1395. m.BrickColor = BrickColor.new("Bright yellow")
  1396. if m:FindFirstChild("Mesh") then m.Mesh:Destroy() end
  1397. else
  1398. if m:IsA("BasePart") then
  1399. local bm = Instance.new("BlockMesh", m)
  1400. m.Material = Enum.Material.Marble
  1401. m.BrickColor = BrickColor.new("Bright yellow")
  1402. end
  1403. end
  1404. end
  1405. end
  1406. end)
  1407. end)},
  1408. {Text = "Notools", func = (function()t.pm.doplayers(function(p)
  1409. for i,v in pairs(p.Backpack:GetChildren()) do
  1410. v.Parent = nil
  1411. end end)
  1412. end)},
  1413. {Text = "Taketools", func = (function()t.pm.doplayers(function(p)
  1414. for i,v in pairs(p.Backpack:GetChildren()) do
  1415. v.Parent = t.player.Backpack
  1416. end end)
  1417. end)},
  1418. {Text = "+5 WalkSpeed", func = (function()t.pm.doplayers(function(p)
  1419. if p.Character.Humanoid then
  1420. p.Character.Humanoid.WalkSpeed = p.Character.Humanoid.WalkSpeed + 5
  1421. end end)
  1422. end)},
  1423. {Text = "-5 WalkSpeed", func = (function()t.pm.doplayers(function(p)
  1424. if p.Character.Humanoid then
  1425. p.Character.Humanoid.WalkSpeed = p.Character.Humanoid.WalkSpeed + 10
  1426. end end)
  1427. end)},
  1428. {Text = "Confuse", func = (function()t.pm.doplayers(function(p)
  1429. if p.Character.Humanoid then
  1430. p.Character.Humanoid.WalkSpeed = -16
  1431. end end)
  1432. end)},
  1433. {Text = "+1 HeadSize", func = (function()t.pm.doplayers(function(p)
  1434. if p.Character.Head then
  1435. p.Character.Head.Mesh.Scale=p.Character.Head.Mesh.Scale+Vector3.new(1,1,1)
  1436. end end)
  1437. end)},
  1438. {Text = "-1 HeadSize", func = (function()t.pm.doplayers(function(p)
  1439. if p.Character.Head then
  1440. p.Character.Head.Mesh.Scale=p.Character.Head.Mesh.Scale-Vector3.new(1,1,1)
  1441. end end)
  1442. end)},
  1443. {Text = "Dwarf", func = (function()t.pm.doplayers(function(p)
  1444. if p.Character then
  1445. t.objects:ScalePlayer(p, 0.4)
  1446. end end)
  1447. end)},
  1448. {Text = "Giant", func = (function()t.pm.doplayers(function(p)
  1449. if p.Character then
  1450. t.objects:ScalePlayer(p, 3)
  1451. end end)
  1452. end)},
  1453. {Text = "Invisible", func = (function()t.pm.doplayers(function(p)
  1454. if p.Character then
  1455. function re(o)
  1456. for i,v in pairs(o:GetChildren()) do
  1457. if v:IsA("BasePart") then
  1458. v.Transparency=1
  1459. end
  1460. re(v)
  1461. end
  1462. end
  1463. re(p.Character)
  1464. end end)
  1465. end)},
  1466. {Text = "Visible", func = (function()t.pm.doplayers(function(p)
  1467. if p.Character then
  1468. function re(o)
  1469. for i,v in pairs(o:GetChildren()) do
  1470. if v:IsA("BasePart")and(v.Name~="HumanoidRootPart") then
  1471. v.Transparency=0
  1472. end
  1473. re(v)
  1474. end
  1475. end
  1476. re(p.Character)
  1477. end end)
  1478. end)},
  1479. {Text = "Sword", func = (function()t.pm.doplayers(function(p)
  1480. if p.Backpack then
  1481. game:GetService("InsertService"):LoadAsset(125013769):GetChildren()[1].Parent = p.Backpack
  1482. end end)
  1483. end)},
  1484. -- ripping commands straight out of liamin pro smh
  1485. {Text = "Spongebob", func = (function()t.pm.doplayers(function(v)
  1486. if v.Character then
  1487. local char = v.Character
  1488. char.Head.Transparency = 1
  1489. for x,m in pairs(v.Character:GetChildren()) do
  1490. if m:IsA("Shirt") or m:IsA("Pants") or m:IsA("CharacterMesh") or m:IsA("Hat") then
  1491. m:Destroy()
  1492. end
  1493. end
  1494.  
  1495. op = {86500054,86500078,86500036,86500008,86500064,86487700,86498048,62234425}
  1496. local is=game:GetService('InsertService')
  1497. local a,b=ypcall(function()
  1498.  
  1499. for x,m in pairs(v.Character:GetChildren()) do
  1500. if m:IsA("CharacterMesh") then
  1501. m:Destroy()
  1502. end
  1503. end
  1504.  
  1505. for x,m in pairs(op) do
  1506. coroutine.resume(coroutine.create(function()
  1507. local as = is:LoadAsset(m):GetChildren()[1]
  1508. if as:IsA("CharacterMesh") then
  1509. if as.BodyPart == Enum.BodyPart.Head or as.BodyPart == Enum.BodyPart.Torso then else
  1510. as.Parent=v.Character
  1511. end
  1512. end
  1513. end))
  1514. end
  1515. end)
  1516. if not a then
  1517. print("error: "..tostring(b))
  1518. end
  1519. local fa = char.Head:FindFirstChild("face")
  1520. if fa then fa:Destroy() end
  1521. if char.Torso:FindFirstChild("roblox") then
  1522. char.Torso.roblox:Destroy()
  1523. end
  1524. local bc = char:FindFirstChild("Body Colors")
  1525. if bc then
  1526. local clr={
  1527. "HeadColor",
  1528. "TorsoColor",
  1529. "LeftArmColor",
  1530. "RightArmColor",
  1531. "LeftLegColor",
  1532. "RightLegColor"
  1533. }
  1534. for x,m in pairs(clr) do
  1535. bc[m] = BrickColor.new("New Yeller")
  1536. end
  1537. local face = Instance.new("Decal", char.Torso)
  1538. face.Texture = "rbxassetid://286937955"
  1539. face.Face = "Front"
  1540. face.Name = "SpongeFace"
  1541. local bars = {
  1542. "Back",
  1543. "Bottom",
  1544. "Left",
  1545. "Right",
  1546. "Top",
  1547. }
  1548. for x,m in pairs(bars) do
  1549. local spo = Instance.new("Decal", char.Torso)
  1550. spo.Texture = "http://www.roblox.com/asset?id=286718556"
  1551. spo.Name = m
  1552. spo.Face = m
  1553. end
  1554. local sp = Instance.new("Pants", char)
  1555. sp.PantsTemplate = "http://www.roblox.com/asset?id=206379118"
  1556. end end end)
  1557. end)},
  1558. {Text = "Stun", func = (function()t.pm.doplayers(function(v)
  1559. if v.Character.Humanoid then
  1560. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  1561. v.Character.Humanoid.PlatformStand = true
  1562. end end)
  1563. end)},
  1564. {Text = "Quicksand", func = (function()t.pm.doplayers(function(v)
  1565. if v.Character then
  1566. if v.Character.Humanoid then
  1567. local hole = Instance.new("Part", v.Character)
  1568. hole.Anchored = true
  1569. hole.Name = "Hole"
  1570. hole.FormFactor = Enum.FormFactor.Custom
  1571. hole.Size = Vector3.new(7, 1, 7)
  1572. hole.CanCollide = false
  1573. hole.CFrame = v.Character.Torso.CFrame * CFrame.new(0,-3.3,0)
  1574. hole.BrickColor = BrickColor.new("Cool yellow")
  1575. hole.Material = Enum.Material.Sand
  1576. local hm = Instance.new("CylinderMesh", hole)
  1577. local tor = v.Character.Torso
  1578. tor.Anchored = true
  1579. if v.Character:FindFirstChild("Humanoid") then
  1580. v.Character.Humanoid.Jump = true
  1581. end
  1582. for x,m in pairs(v.Character:GetChildren()) do
  1583. if m:IsA("BasePart") then
  1584. m.CanCollide = false
  1585. end
  1586. end
  1587. for i=1,75 do
  1588. tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  1589. wait(0.06)
  1590. end
  1591. tor.CFrame=tor.CFrame*CFrame.new(0,
  1592. -500,0
  1593. )
  1594. v.Character.Humanoid.Health = 0
  1595. v.Character.Torso.Anchored = false
  1596. end
  1597. end
  1598. end)
  1599. end)},
  1600. {Text = "PStand", func = (function()t.pm.doplayers(function(p)
  1601. if p.Character.Humanoid then
  1602. p.Character.Humanoid.PlatformStand = true
  1603. end end)
  1604. end)},
  1605. {Text = "Shrek", func = (function()t.pm.doplayers(function(p)
  1606. if p.Character then
  1607. local pchar = p.Character
  1608. for i,v in pairs(pchar:GetChildren()) do
  1609. if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  1610. v:Destroy()
  1611. end
  1612. end
  1613. for i,v in pairs(pchar.Head:GetChildren()) do
  1614. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  1615. v:Destroy()
  1616. end
  1617. end
  1618.  
  1619. local mesh = Instance.new("SpecialMesh", pchar.Head)
  1620. mesh.MeshType = "FileMesh"
  1621. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  1622. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  1623. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  1624.  
  1625. local Shirt = Instance.new("Shirt", p.Character)
  1626. local Pants = Instance.new("Pants", p.Character)
  1627.  
  1628. Shirt.ShirtTemplate = "rbxassetid://133078194"
  1629. Pants.PantsTemplate = "rbxassetid://133078204"
  1630. end end)
  1631. end)},
  1632. {Text = "Insane", func = (function()t.pm.doplayers(function(p)
  1633. if p.Character then
  1634. for i,v in pairs(p.Character.Torso:GetChildren()) do
  1635. if v:IsA("Motor6D") then
  1636. coroutine.wrap(function()
  1637. while v do
  1638. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  1639. wait()
  1640. end
  1641. end)()
  1642. end
  1643. end
  1644. end end)
  1645. end)},
  1646. {Text = "Duck", func = (function()t.pm.doplayers(function(p)
  1647. if p.Character then
  1648. local pchar = p.Character
  1649. for i,v in pairs(pchar.Torso:GetChildren()) do
  1650. if v:IsA("Decal") then
  1651. v:Destroy()
  1652. end
  1653. end
  1654. for i,v in pairs(pchar:GetChildren()) do
  1655. if v:IsA("Hat") then
  1656. v:Destroy()
  1657. end
  1658. end
  1659. local duck = Instance.new("SpecialMesh", pchar.Torso)
  1660. duck.MeshType = "FileMesh"
  1661. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  1662. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  1663. duck.Scale = Vector3.new(5, 5, 5)
  1664. pchar.Head.Transparency = 1
  1665. pchar["Left Arm"].Transparency = 1
  1666. pchar["Right Arm"].Transparency = 1
  1667. pchar["Left Leg"].Transparency = 1
  1668. pchar["Right Leg"].Transparency = 1
  1669. pchar.Head.face.Transparency = 1
  1670. end end)
  1671. end)},
  1672. {Text = "D��ick", func = (function()t.pm.doplayers(function(p)
  1673. if p.Character then
  1674. t.objects:LittleFriend(p)
  1675. end end)
  1676. end)},
  1677. {Text = "No D�ick", func = (function()t.pm.doplayers(function(p)
  1678. if p.Character then
  1679. p.Character.Ball1:Remove()
  1680. p.Character.Ball2:Remove()
  1681. p.Character.Tip:Remove()
  1682. p.Character.Shaft:Remove()
  1683. end end)
  1684. end)},
  1685. {Text = "Select", func = (function()t.pm.doplayers(function(p)
  1686. if p.Character then
  1687. Instance.new("SelectionBox", p.Character).Adornee = p.Character
  1688. end end)
  1689. end)},
  1690. {Text = "Sphere", func = (function()t.pm.doplayers(function(p)
  1691. if p.Character then
  1692. Instance.new("SelectionSphere", p.Character).Adornee = p.Character
  1693. end end)
  1694. end)},
  1695. },
  1696. {
  1697. ButtonHeight = 30,
  1698. BorderDistance = 4,
  1699. NumberPerRow = 3,
  1700. ButtonSeperation = 2,
  1701. })
  1702. end
  1703. print("stta2")
  1704. -- // SECTION 7: LOCALPLAYER MENU // --
  1705. t.ls = {}
  1706. t.ls.gui = t.windows:GenerateWindow("localplayer")
  1707.  
  1708. t.ls.init = function()
  1709. t.gui:GenerateButtonList (t.ls.gui.__inner, {
  1710. {Text = "Respawn", func = (function()
  1711. local a1 = Instance.new("Model", game.Workspace)
  1712. local a2 = Instance.new("Part", game.Workspace)
  1713. a2.CanCollide = true
  1714. a2.Anchored = true
  1715. a2.CFrame = CFrame.new(10000, 10000, 10000)
  1716. a2.Name = "Torso"
  1717. local a3 = Instance.new("Humanoid", a1)
  1718. a3.MaxHealth=100;a3.Health=100
  1719. t.player.Character = a1
  1720. a3.Health=0
  1721. end)},
  1722. {Text = "Freecam", func = (function()
  1723. local cam = game.Workspace.CurrentCamera
  1724. cam.CameraType = "Fixed"
  1725. cam.CameraSubject = nil
  1726. t.player.Character = nil
  1727. end)},
  1728. {Text = "Fixcam", func = (function()
  1729. local cam = game.Workspace.CurrentCamera
  1730. game.Workspace.CurrentCamera:remove()
  1731. wait(0.5)
  1732. cam = game.Workspace.CurrentCamera
  1733. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
  1734. game.Workspace.CurrentCamera.CameraType = "Custom"
  1735. end)},
  1736. {Text = "Disguise", func = (function()
  1737. local p = t.player.Character
  1738. if p:FindFirstChild("topkek") then
  1739. p.topkek:Destroy()
  1740. end
  1741. p.Name = "topkek"
  1742. p.Head.Transparency = 1
  1743. local mo = Instance.new("Model", p)
  1744. mo.Name = "topkek"
  1745. local hu = Instance.new("Humanoid", mo)
  1746. hu.Name = "distag"
  1747. hu.Health = 100
  1748. hu.MaxHealth = 100
  1749. local fh = p.Head:Clone()
  1750. fh.Parent = mo
  1751. fh.Transparency = 0
  1752. local we = Instance.new("Weld", fh)
  1753. we.Part0 = mo
  1754. we.Part1 = p.Head
  1755. t.player:ClearCharacterAppearance()
  1756. pcall(function() p["Body Colors"]:Destroy() end)
  1757. Instance.new("BodyColors", p)
  1758. end)},
  1759. {Text = "NoClip On", func = (function()
  1760. local p = t.player.Character
  1761. if p == nil then return end t.noclip = false
  1762. game:GetService("RunService").Stepped:connect(function()
  1763. p.Torso.CanCollide = t.noclip
  1764. p.Head.CanCollide = t.noclip
  1765. end)
  1766. p.Torso.Changed:connect(function()
  1767. p.Torso.CanCollide = t.noclip
  1768. p.Head.CanCollide = t.noclip
  1769. end)
  1770. end)},
  1771. {Text = "NoClip Off", func = (function()
  1772. local p = t.player.Character
  1773. if p == nil then return end t.noclip = true
  1774. pcall(function() wait()
  1775. p.Torso.CanCollide = true
  1776. p.Head.CanCollide = true end)
  1777. end)},
  1778. {Text = "Rainbow Name", func = (function()
  1779. t.player.Neutral = false
  1780. repeat
  1781. wait()
  1782. t.TeamColor = BrickColor.Random()
  1783. until not t.player.Character.Humanoid
  1784. end)},
  1785. {Text = "Random Fedora", func = (function()
  1786. local hats={
  1787. 98346834,
  1788. 215751161,
  1789. 119916949,
  1790. 72082328,
  1791. 147180077,
  1792. 100929604,
  1793. 63043890,
  1794. 1285307,
  1795. 1029025,
  1796. 334663683,
  1797. 259423244
  1798. }
  1799. game:GetService("InsertService"):LoadAsset(hats[math.random(1,#hats)]):GetChildren()[1].Parent = t.player.Character
  1800. end)},
  1801. {Text = "Clear Appearance", func = (function()
  1802. t.player:ClearCharacterAppearance()
  1803. end)},
  1804. {Text = "Nil Orb", func = (function()
  1805. game.Players.LocalPlayer.Character = nil
  1806. t.player:Destroy()
  1807. local cam = game.Workspace.CurrentCamera
  1808. local m = Instance.new("Model", game.Workspace)
  1809. m.Name = game.Players.LocalPlayer.Name
  1810. local hum = Instance.new("Humanoid", m)
  1811. hum.Health = 0
  1812. hum.MaxHealth = 0
  1813. local orb = Instance.new("Part", m)
  1814. orb.Size = Vector3.new(1, 1, 1)
  1815. orb.Shape = "Ball"
  1816. orb.Name = "Head"
  1817. orb.Anchored = true
  1818. orb.CanCollide = true
  1819. orb.BottomSurface = Enum.SurfaceType.Smooth
  1820. orb.TopSurface = Enum.SurfaceType.Smooth
  1821. orb.Transparency = 0
  1822. cam.CameraSubject = orb
  1823. cam.CameraType = Enum.CameraType.Fixed
  1824. game:GetService("RunService").RenderStepped:connect(function()
  1825. orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  1826. end)
  1827. game.Players.LocalPlayer.Chatted:connect(function(a)
  1828. game:GetService("Chat"):Chat(orb, a)
  1829. end)
  1830. end)},
  1831. {Text = "Clear Appearance", func = (function()
  1832. t.player:ClearCharacterAppearance()
  1833. end)},
  1834. {Text = "Fly", func = (function()
  1835. t.objects:StartFly()
  1836. end)},
  1837. {Text = "Rejoin", func = (function()
  1838. game:GetService("TeleportService"):Teleport(game.PlaceId)
  1839. end)},
  1840. {Text = "Levitate", func = (function()
  1841. t.lev = true
  1842. spawn(function()
  1843. repeat
  1844. ypcall(function()
  1845. wait(0)
  1846. t.player.Character.Humanoid:ChangeState(10)
  1847. end)
  1848. until t.lev == false
  1849. end)
  1850. end)},
  1851. {Text = "NoLevitate", func = (function()
  1852. t.lev = false
  1853. end)},
  1854. {Text = "God", func = (function()
  1855. if t.player.Character.Humanoid then
  1856. t.player.Character.Humanoid.MaxHealth = math.huge
  1857. t.player.Character.Humanoid.Health = math.huge
  1858. end
  1859. end)},
  1860. {Text = "Hackertag", func = (function()
  1861. local len = 10
  1862. local bb = Instance.new("BillboardGui")
  1863. bb.Parent = t.player.Character.Head
  1864. bb.Adornee = t.player.Character.Head
  1865. bb.AlwaysOnTop = true
  1866. bb.Enabled = true
  1867. bb.Size = UDim2.new(len, 0, 1.5, 0)
  1868. bb.Name = "tag"
  1869. bb.StudsOffset = Vector3.new(0, 3, 0)
  1870. --local fr = Instance.new("Frame")
  1871. --fr.Parent = bb
  1872. --fr.Size = UDim2.new(1, 0, 1, 0)
  1873. --fr.Style = Enum.FrameStyle.RobloxRound
  1874. local tl = Instance.new("TextLabel")
  1875. tl.Parent = bb
  1876. tl.BackgroundTransparency = 1
  1877. tl.TextScaled = true
  1878. tl.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  1879. tl.Size = UDim2.new(1, 0, 1, 0)
  1880. tl.Text = "mlg pro haxor"
  1881. tl.Name = "trutag"
  1882. tl.Visible = true
  1883. tl.ZIndex = 2
  1884. end)},
  1885. {Text = "Highjump", func = (function()
  1886. local thrust = Instance.new("BodyVelocity")
  1887. game:GetService('UserInputService').InputBegan:connect(function(i, b)
  1888. if i.KeyCode == Enum.KeyCode.Space then
  1889. print("Got jump")
  1890. coroutine.resume(coroutine.create(function()
  1891. thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  1892. thrust.velocity = Vector3.new(0,50,0)
  1893. thrust.maxForce = Vector3.new(0,4e+050,0)
  1894. wait(0.2)
  1895. thrust.Parent = nil
  1896. end))
  1897. end
  1898. end)
  1899. end)},
  1900. {Text = "Nograv", func = (function()
  1901. if t.player.Character then
  1902. for x,m in pairs(t.player.Character:GetChildren()) do
  1903. if m:IsA("BasePart") then
  1904. local bf = Instance.new("BodyForce", m)
  1905. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  1906. end
  1907. if m:IsA("Hat") then
  1908. if m:findFirstChild("Handle") then
  1909. local bf = Instance.new("BodyForce", m.Handle)
  1910. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  1911. end
  1912. end
  1913. end
  1914. end
  1915. end)},
  1916.  
  1917.  
  1918.  
  1919. },
  1920. {
  1921. ButtonHeight = 30,
  1922. BorderDistance = 4,
  1923. NumberPerRow = 3,
  1924. ButtonSeperation = 2,
  1925. })
  1926. end
  1927.  
  1928. -- // SECTION 8: MISCELLANEOUS // --
  1929. t.misc = {}
  1930. t.misc.main = t.windows:GenerateWindow("Miscellaneous")
  1931. t.misc.expl = t.windows:GenerateWindow("Explorer")
  1932. t.misc.mu = t.windows:GenerateWindow("Music")
  1933. t.misc.fe = t.windows:GenerateWindow("FilterMyAss")
  1934. t.misc.tabs = {t.misc.expl, t.misc.fe, t.misc.main, t.misc.mu}
  1935. t.misc.tablist = {{text = "Explorer"}, {text = "FilterMyAss"}, {text = "Music"}}
  1936. t.misc.selected = 0
  1937.  
  1938. t.misc.ColorA = Color3.new(150/255, 150/255, 150/255)
  1939. t.misc.ColorB = Color3.new(171/255, 171/255, 171/255)
  1940.  
  1941. t.misc.muobj = nil
  1942.  
  1943. t.objects:CreateObject {
  1944. Class = "TextLabel",
  1945. Name = "__miscdrop",
  1946. Parent = t.misc.main.__inner,
  1947. BackgroundTransparency = 1,
  1948. Position = UDim2.new(0.5, -150, 0, 70),
  1949. Size = UDim2.new(0, 300, 0, 100),
  1950. Font = Enum.Font.Legacy,
  1951. FontSize = Enum.FontSize.Size28,
  1952. Text = "Miscellaneous",
  1953. TextColor3 = Color3.new(168/255, 168/255, 168/255),
  1954. TextTransparency = 0.5
  1955. }
  1956.  
  1957. t.misc.selecttab = function(t)
  1958. for i, v in pairs(t.misc.tabs) do
  1959. if v.__inner["__misc.tabframe"] then
  1960. for x, m in pairs(v.__inner["__misc.tabframe"]:GetChildren()) do
  1961. m.BackgroundColor3 = t.misc.ColorA
  1962. if m.Text == t then
  1963. m.BackgroundColor3 = t.misc.ColorB
  1964. end
  1965. end
  1966. end
  1967. end
  1968. end
  1969.  
  1970. t.misc.gentabs = function(pa)
  1971. local tbar = t.objects:CreateObject {
  1972. Class = "Frame",
  1973. Name = "__misc.tabframe",
  1974. Parent = pa.__inner,
  1975. Size = UDim2.new(1, -30, 0, 44),
  1976. Position = UDim2.new(0, 15, 0, 4),
  1977. BackgroundTransparency = 0.6,
  1978. BackgroundColor3 = Color3.new(110/255, 110/255, 110/255),
  1979. BorderSizePixel = 1,
  1980. }
  1981. t.gui:GenerateCustomTabs(tbar, t.misc.tablist, (function(x)t.windows:Open(x.text)end),3)
  1982. end
  1983.  
  1984. state = function(s) t.objects:SpawnState(s) end
  1985. doplay = function(id)
  1986. if t.muobj then
  1987. t.muobj:Stop()
  1988. t.muobj:Destroy()
  1989. end
  1990. local s = Instance.new("Sound", game.Workspace)
  1991. s.Name = "AAAAAAAAAAAAAAAAAA"
  1992. s.SoundId = "rbxassetid://"..tostring(id)
  1993. s.Looped = true
  1994. s.Volume = 1
  1995. s:Play()
  1996. t.muobj = s
  1997. end
  1998.  
  1999. t.memes = {{Text="IDGAF",func=(function()doplay(297836572)end)},
  2000. {Text="Meme Machine",func=(function()doplay(298753336)end)},
  2001. {Text="Allahu Akbar",func=(function()doplay(277956568)end)},
  2002. {Text="Straight outta compton",func=(function()doplay(296105074)end)},
  2003. {Text="Police sux dix",func=(function()doplay(362616638)end)},
  2004. {Text="Hot nikka",func=(function()doplay(174680181)end)},
  2005. {Text="679",func=(function()doplay(297615765)end)},
  2006. {Text="I think I'm japanese",func=(function()doplay(293909947)end)},
  2007. {Text="Still dre",func=(function()doplay(297878519)end)},
  2008. {Text="California rari",func=(function()doplay(297069685)end)}}
  2009.  
  2010. t.misc.init = function()
  2011.  
  2012. for i, v in pairs(t.misc.tabs) do
  2013. pcall(function()t.misc.gentabs(v)end)
  2014. end
  2015. wait()
  2016. if getgenv then
  2017. t.objects:GetObject("root")["__menu.exploreb"].__inner.ExplorerPanel.Parent = t.misc.expl.__inner
  2018. t.objects:GetObject("root")["__menu.exploreb"].__inner.PropertiesPanel.Parent = t.misc.expl.__inner
  2019. ypcall(function()loadstring(t.misc.expl.__inner.ExplorerPanel.LocalScript.Source)()end)
  2020. ypcall(function()loadstring(t.misc.expl.__inner.PropertiesPanel.Properties.Source)()end)
  2021. t.objects:GetObject("root")["__menu.exploreb"]:Destroy()
  2022. end
  2023. local bf = t.objects:CreateObject {
  2024. Class = "ScrollingFrame",
  2025. Parent = t.misc.fe.__inner,
  2026. Name = "BaseFE",
  2027. BackgroundColor3 = Color3.new(100/255, 100/255, 100/255),
  2028. BackgroundTransparency = 0.2,
  2029. BorderSizePixel = 0,
  2030. Size = UDim2.new(1, -24, 1, -54),
  2031. Position = UDim2.new(0, 12, 0, 48),
  2032. CanvasSize = UDim2.new(0, 0, 0, 0),
  2033. ScrollBarThickness = 6
  2034. }
  2035. t.gui:GenerateButtonList(bf,
  2036. {
  2037. {Text = "God", func = (function()
  2038. t.objects:FELoop(function()
  2039. t.player.Character.Humanoid.MaxHealth = 999999
  2040. t.player.Character.Humanoid.Health = 100
  2041. end)
  2042. end)},
  2043. {Text = "Speed", func = (function()
  2044. t.objects:FELoop(function()
  2045. t.player.Character.Humanoid.WalkSpeed = 30
  2046. end)
  2047. end)},
  2048. {Text = "Shutdown [PATCHED]", func = (function()
  2049. t.objects:FELoop(function()
  2050. for i=1,3000 do
  2051. game.RobloxReplicatedStorage.NewFollower:FireServer("a") --[[thanks unreal]]
  2052. end
  2053. end)
  2054. end)},
  2055. {Text = "LoopSit", func = (function()
  2056. t.objects:FELoop(function()
  2057. for i,v in pairs(game.Players:GetPlayers()) do
  2058. if v.Character.Humanoid then
  2059. v.Character.Humanoid.Sit = true
  2060. end
  2061. end
  2062. end)
  2063. end)},
  2064. {Text = "LoopJump", func = (function()
  2065. t.objects:FELoop(function()
  2066. for i,v in pairs(game.Players:GetPlayers()) do
  2067. if v.Character.Humanoid then
  2068. v.Character.Humanoid.Jump = true
  2069. end
  2070. end
  2071. end)
  2072. end)},
  2073. {Text = "StopAll", func = (function() t.runstate = false end)},
  2074. {Text = "Highjump", func = (function()
  2075. t.objects:FELoop(function()
  2076. t.player.Character.Humanoid.JumpPower = 100
  2077. end)
  2078. end)},
  2079. {Text = "KillPlayers", func = (function()
  2080. t.pm.doplayers(function(p) -- using other page libs haahahahahahah such a rebel
  2081. coroutine.wrap(function()
  2082. local we = Instance.new("Weld", t.player.Character.Torso)
  2083. we.Part0 = t.player.Character.Torso
  2084. we.Part1 = p.Character.Torso
  2085. we.C0 = t.player.Character.Torso.CFrame
  2086. we.C1 = t.player.Character.Torso.CFrame * CFrame.new(0, -10000, 0)
  2087. wait(0.5)
  2088. we:Destroy()
  2089. end)()
  2090. end)
  2091. end)},
  2092. {Text = "BringPlayers", func = (function()
  2093. t.pm.doplayers(function(p) -- using other page libs haahahahahahah such a rebel
  2094. local we = Instance.new("Weld", t.player.Character.Torso)
  2095. we.Part0 = t.player.Character.Torso
  2096. we.Part1 = p.Character.Torso
  2097. we.C0 = t.player.Character.Torso.CFrame
  2098. we.C1 = t.player.Character.Torso.CFrame
  2099. end)
  2100. end)},
  2101. {Text = "Annoy", func = (function()
  2102. t.objects:FELoop(function()
  2103. for i,v in pairs(game.Players:GetPlayers()) do
  2104. if v.Character.Humanoid then
  2105. v.Character.Humanoid.Jump = true
  2106. v.Character.Humanoid.Sit = true
  2107. end
  2108. end
  2109. end)
  2110. end)},
  2111. {Text = "NoFace", func = (function()
  2112. spawn(function()
  2113. t.player.Character.Head.face.Parent = nil
  2114. end)
  2115. end)},
  2116. {Text = "Ragdoll (LP)", func = (function()
  2117. t.player.Character.Humanoid.Parent = nil
  2118. end)},
  2119. {Text = "Levitate", func = (function() state(10) end)},
  2120. {Text = "Glide", func = (function() state(12) end)},
  2121. {Text = "Swim", func = (function() state(4) end)},
  2122. {Text = "Glitchy", func = (function() state(2) end)},
  2123. {Text = "NoClip", func = (function() state(11) end)},
  2124. {Text = "Stickyplayers", func = (function()
  2125. local lucky = game.Players:GetPlayers()[math.random(1,#game.Players:GetPlayers())]
  2126. t.objects:FELoop(function()
  2127. for i,v in pairs(game.Players:GetPlayers()) do if v.Name ~= t.player.Name then
  2128. local we = Instance.new("Weld", t.player.Character.Torso)
  2129. we.Part0 = t.player.Character.Torso
  2130. we.Part1 = v.Character.Torso
  2131. we.C0 = t.player.Character.Torso.CFrame
  2132. we.C1 = lucky.Character.Torso.CFrame
  2133. end end
  2134. end)
  2135. end)},
  2136.  
  2137. },
  2138. {
  2139. NumberPerRow = 2,
  2140. ButtonSeperation = 0,
  2141. ButtonHeight = 25,
  2142. BorderDistance = 10,
  2143.  
  2144. },
  2145. t.objects:CreateObject {
  2146. Class = "TextButton",
  2147. BackgroundColor3 = Color3.new(56/255, 56/255, 56/255),
  2148. BackgroundTransparency = 0.5,
  2149. Size = UDim2.new(0.5, -10, 0, 25),
  2150. Position = UDim2.new(0, 8, 0, 0),
  2151. BorderSizePixel = 0,
  2152. TextColor3 = Color3.new(1, 1, 1),
  2153. FontSize = Enum.FontSize.Size14,
  2154. Font = Enum.Font.SourceSans
  2155. })
  2156. local mf = t.objects:CreateObject {
  2157. Class = "ScrollingFrame",
  2158. Parent = t.misc.mu.__inner,
  2159. Name = "BaseMusic",
  2160. BackgroundColor3 = Color3.new(100/255, 100/255, 100/255),
  2161. BackgroundTransparency = 0.2,
  2162. BorderSizePixel = 0,
  2163. Size = UDim2.new(1, -24, 1, -54),
  2164. Position = UDim2.new(0, 12, 0, 48),
  2165. CanvasSize = UDim2.new(0, 0, 0, 0),
  2166. ScrollBarThickness = 6
  2167. }
  2168. -- local mud = t.objects:CreateObject {
  2169. -- Class = "TextBox",
  2170. -- Parent = t.misc.mu.__inner,
  2171. -- Name = "BaseID",
  2172. -- BackgroundColor3 = Color3.new(160/255, 160/255, 160/255),
  2173. -- BackgroundTransparency = 0.5,
  2174. -- BorderSizePixel = 0,
  2175. -- Size = UDim2.new(0, 12, 0, 51),
  2176. -- Position = UDim2.new(1, -124, 0, 25),
  2177. -- Text = "[Music ID]"
  2178. -- }
  2179. -- local play = t.objects:CreateObject {
  2180. -- Class = "TextButton",
  2181. -- Parent = t.misc.mu.__inner,
  2182. -- Name = "BasePlay",
  2183. -- BackgroundColor3 = Color3.new(160/255, 160/255, 160/255),
  2184. -- BackgroundTransparency = 0.5,
  2185. -- BorderSizePixel = 0,
  2186. -- Size = UDim2.new(0, 234, 0, 51),
  2187. -- Position = UDim2.new(0, 92, 0, 25),
  2188. -- Text = "Player"
  2189. -- }
  2190. t.gui:GenerateButtonList(mf,
  2191. t.memes,
  2192. {
  2193. NumberPerRow = 1,
  2194. ButtonSeperation = 0,
  2195. ButtonHeight = 25,
  2196. BorderDistance = 10,
  2197.  
  2198. },
  2199. t.objects:CreateObject {
  2200. Class = "TextButton",
  2201. BackgroundColor3 = Color3.new(56/255, 56/255, 56/255),
  2202. BackgroundTransparency = 0.5,
  2203. Size = UDim2.new(1, -10, 0, 25),
  2204. Position = UDim2.new(0, 5, 0, 0),
  2205. BorderSizePixel = 0,
  2206. TextColor3 = Color3.new(1, 1, 1),
  2207. FontSize = Enum.FontSize.Size14,
  2208. Font = Enum.Font.SourceSans
  2209. })
  2210. end
  2211.  
  2212. -- // INITALIZATION // --
  2213.  
  2214. t.windows:HookMenu()
  2215.  
  2216. t.sm.init()
  2217. t.sc.init()
  2218. t.pm.init()
  2219. t.ls.init()
  2220. t.misc.init()
  2221.  
  2222. game.Players.PlayerAdded:connect(function(p)
  2223. if t.objects:IsIn(t.bans,p.userId) then
  2224. p.PersonalServerRank=255
  2225. wait(0.5)
  2226. p.PersonalServerRank=0
  2227. p:Destroy()
  2228. end
  2229. end)
  2230.  
  2231. if t.objects:IsIn(t.bans,t.player.userId) then
  2232. game:Shutdown()
  2233. end
  2234.  
  2235. t.objects:GetObject("root.exit").MouseButton1Down:connect(function()
  2236. t.guibase.Parent = nil
  2237. end)
  2238.  
  2239. for i, v in pairs(t.objects:FindChildrenWithName(t.objects:GetObject("root"), "__playerselect")) do
  2240. t.gui:HookPlayerbar(v)
  2241. wait()
  2242. end
  2243.  
  2244.  
  2245. game:GetService("ContextActionService"):BindAction("pbar",
  2246. (function() t.open.__playerselect:CaptureFocus() end), false, Enum.KeyCode.Equals)
  2247.  
  2248. t.objects:GetObject("menu.template").Visible=false
  2249. t.objects:GetObject("menu.main").Visible=true
  2250. t.root.Position = UDim2.new(0,300,0,300)
  2251. if t.nocore == true then
  2252. t.guibase.Parent = t.player.PlayerGui
  2253. else
  2254. t.guibase.Parent = game.CoreGui
  2255. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement