TuuScripts

Untitled

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