Lover712

TopKek V4 For VashX

Dec 18th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 160.79 KB | None | 0 0
  1. _G.Rc7Notification = function(a,b,c)
  2. game:GetService("CoreGui"):WaitForChild("RobloxGui").SendNotification:Fire(a, b, "rbxassetid://776252057", c)
  3. end
  4. local topkek = {}
  5. topkek.patch = '1.0.5a'
  6. topkek.data = {}
  7. topkek.commandbase = {}
  8. topkek.navigation = {}
  9. topkek.banmgr = {}
  10. topkek.lplr = game:GetService('Players').LocalPlayer
  11.  
  12. topkek.tools = {}
  13. topkek.tools.gui = {}
  14. topkek.tools.util = {}
  15. topkek.tools.animator = {}
  16.  
  17. topkek.windows = {}
  18. topkek.windows.lplr = {}
  19. topkek.windows.server = {}
  20. topkek.windows.players = {}
  21. topkek.windows.destruction = {}
  22. topkek.windows.scripts = {}
  23. topkek.windows.misc = {}
  24.  
  25. topkek.misc = {}
  26.  
  27. local NewGuiPart1 = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  28. NewGuiPart1.Name = "4.0"
  29. -------
  30. local NewGuiPart2 = Instance.new("Frame")
  31. NewGuiPart2.Active = true
  32. NewGuiPart2.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  33. NewGuiPart2.BorderSizePixel = 0
  34. NewGuiPart2.Name = "Main"
  35. NewGuiPart2.Position = UDim2.new(0, 300, 0, 50)
  36. NewGuiPart2.Selectable = true
  37. NewGuiPart2.Size = UDim2.new(0, 470, 0, 395)
  38. NewGuiPart2.Visible = false
  39. NewGuiPart2.ClipsDescendants = true
  40. NewGuiPart2.Draggable = true
  41. NewGuiPart2.Parent = NewGuiPart1
  42. -------
  43. local NewGuiPart3 = Instance.new("Frame")
  44. NewGuiPart3.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  45. NewGuiPart3.BorderSizePixel = 0
  46. NewGuiPart3.Name = "Topbar"
  47. NewGuiPart3.Position = UDim2.new(0, 150, 0, 0)
  48. NewGuiPart3.Size = UDim2.new(0, 320, 0, 30)
  49. NewGuiPart3.Parent = NewGuiPart2
  50. -------
  51. local NewGuiPart4 = Instance.new("TextLabel")
  52. NewGuiPart4.BackgroundTransparency = 1
  53. NewGuiPart4.Name = "PlayerName"
  54. NewGuiPart4.Position = UDim2.new(0, -140, 0, 0)
  55. NewGuiPart4.Size = UDim2.new(0.5, 0, 1, 0)
  56. NewGuiPart4.Visible = false
  57. NewGuiPart4.ZIndex = 4
  58. NewGuiPart4.Font = Enum.Font.Arcade
  59. NewGuiPart4.FontSize = Enum.FontSize.Size18
  60. NewGuiPart4.Text = "Player1"
  61. NewGuiPart4.TextColor3 = Color3.new(1, 1, 1)
  62. NewGuiPart4.TextXAlignment = Enum.TextXAlignment.Left
  63. NewGuiPart4.Parent = NewGuiPart3
  64. -------
  65. local NewGuiPart5 = Instance.new("Frame")
  66. NewGuiPart5.BackgroundTransparency = 1
  67. NewGuiPart5.Name = "Controllers"
  68. NewGuiPart5.Position = UDim2.new(1, -128, 0, 3)
  69. NewGuiPart5.Size = UDim2.new(0, 125, 1, -6)
  70. NewGuiPart5.Parent = NewGuiPart3
  71. -------
  72. local NewGuiPart6 = Instance.new("TextButton")
  73. NewGuiPart6.Active = true
  74. NewGuiPart6.AutoButtonColor = false
  75. NewGuiPart6.BackgroundColor3 = Color3.new(0.552941, 0.105882, 0.105882)
  76. NewGuiPart6.BorderSizePixel = 0
  77. NewGuiPart6.Name = "Exit"
  78. NewGuiPart6.Position = UDim2.new(1, -24, 0, 0)
  79. NewGuiPart6.Selectable = true
  80. NewGuiPart6.Size = UDim2.new(0, 24, 0, 24)
  81. NewGuiPart6.Style = Enum.ButtonStyle.Custom
  82. NewGuiPart6.FontSize = Enum.FontSize.Size14
  83. NewGuiPart6.Text = ""
  84. NewGuiPart6.Parent = NewGuiPart5
  85. -------
  86. local NewGuiPart7 = Instance.new("TextButton")
  87. NewGuiPart7.Active = true
  88. NewGuiPart7.AutoButtonColor = false
  89. NewGuiPart7.BackgroundColor3 = Color3.new(0.780392, 0.34902, 0)
  90. NewGuiPart7.BorderSizePixel = 0
  91. NewGuiPart7.Name = "Hide"
  92. NewGuiPart7.Position = UDim2.new(1, -50, 0, 0)
  93. NewGuiPart7.Selectable = true
  94. NewGuiPart7.Size = UDim2.new(0, 24, 0, 24)
  95. NewGuiPart7.Style = Enum.ButtonStyle.Custom
  96. NewGuiPart7.FontSize = Enum.FontSize.Size14
  97. NewGuiPart7.Text = ""
  98. NewGuiPart7.Parent = NewGuiPart5
  99. -------
  100. local NewGuiPart8 = Instance.new("TextLabel")
  101. NewGuiPart8.BackgroundTransparency = 1
  102. NewGuiPart8.Name = "IsFE"
  103. NewGuiPart8.Size = UDim2.new(0, 65, 1, 0)
  104. NewGuiPart8.FontSize = Enum.FontSize.Size18
  105. NewGuiPart8.Text = "Not FE"
  106. NewGuiPart8.TextColor3 = Color3.new(0.333333, 0.666667, 0)
  107. NewGuiPart8.TextStrokeTransparency = 0.69999998807907
  108. NewGuiPart8.TextXAlignment = Enum.TextXAlignment.Right
  109. NewGuiPart8.Parent = NewGuiPart5
  110. -------
  111. local NewGuiPart9 = Instance.new("TextLabel")
  112. NewGuiPart9.BackgroundTransparency = 1
  113. NewGuiPart9.Name = "VashX"
  114. NewGuiPart9.Position = UDim2.new(0, -150, 0, 0)
  115. NewGuiPart9.Size = UDim2.new(1, 150, 1, 0)
  116. NewGuiPart9.ZIndex = 2
  117. NewGuiPart9.Font = Enum.Font.Arcade
  118. NewGuiPart9.FontSize = Enum.FontSize.Size18
  119. NewGuiPart9.Text = "[VashX]"
  120. NewGuiPart9.TextColor3 = Color3.new(0.054902, 0.0745098, 0.498039)
  121. NewGuiPart9.Parent = NewGuiPart3
  122. -------
  123. local NewGuiPart10 = Instance.new("Frame")
  124. NewGuiPart10.BackgroundTransparency = 1
  125. NewGuiPart10.Name = "Holder"
  126. NewGuiPart10.Position = UDim2.new(0, 150, 0, 30)
  127. NewGuiPart10.Size = UDim2.new(0, 320, 0, 365)
  128. NewGuiPart10.Parent = NewGuiPart2
  129. -------
  130. local NewGuiPart11 = Instance.new("Frame")
  131. NewGuiPart11.BackgroundTransparency = 1
  132. NewGuiPart11.Name = "Home"
  133. NewGuiPart11.Size = UDim2.new(1, 0, 1, 0)
  134. NewGuiPart11.Parent = NewGuiPart10
  135. -------
  136. local NewGuiPart12 = Instance.new("TextLabel")
  137. NewGuiPart12.BackgroundTransparency = 1
  138. NewGuiPart12.BorderSizePixel = 0
  139. NewGuiPart12.Name = "Titlel"
  140. NewGuiPart12.Position = UDim2.new(0, 30, 0, 3)
  141. NewGuiPart12.Selectable = true
  142. NewGuiPart12.Size = UDim2.new(1, -30, 0, 40)
  143. NewGuiPart12.Font = Enum.Font.SourceSansBold
  144. NewGuiPart12.FontSize = Enum.FontSize.Size42
  145. NewGuiPart12.Text = "T0PK3K 4.0 SS version"
  146. NewGuiPart12.TextColor3 = Color3.new(1, 1, 1)
  147. NewGuiPart12.TextStrokeTransparency = 0.5
  148. NewGuiPart12.TextXAlignment = Enum.TextXAlignment.Left
  149. NewGuiPart12.Parent = NewGuiPart11
  150. -------
  151. local NewGuiPart13 = Instance.new("TextLabel")
  152. NewGuiPart13.BackgroundTransparency = 1
  153. NewGuiPart13.BorderSizePixel = 0
  154. NewGuiPart13.Name = "Title2"
  155. NewGuiPart13.Position = UDim2.new(0.600000024, 5, 0, -5)
  156. NewGuiPart13.Size = UDim2.new(0.400000006, 0, 1, 0)
  157. NewGuiPart13.Font = Enum.Font.SourceSansBold
  158. NewGuiPart13.FontSize = Enum.FontSize.Size18
  159. NewGuiPart13.Text = ""
  160. NewGuiPart13.TextColor3 = Color3.new(1, 1, 1)
  161. NewGuiPart13.TextStrokeTransparency = 0.5
  162. NewGuiPart13.TextXAlignment = Enum.TextXAlignment.Left
  163. NewGuiPart13.TextYAlignment = Enum.TextYAlignment.Bottom
  164. NewGuiPart13.Parent = NewGuiPart12
  165. -------
  166. local NewGuiPart14 = Instance.new("Frame")
  167. NewGuiPart14.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  168. NewGuiPart14.BorderColor3 = Color3.new(0.32549, 0, 0)
  169. NewGuiPart14.Name = "Container"
  170. NewGuiPart14.Position = UDim2.new(0, 16, 0, 50)
  171. NewGuiPart14.Size = UDim2.new(1, -30, 0, 250)
  172. NewGuiPart14.Parent = NewGuiPart11
  173. -------
  174. local NewGuiPart15 = Instance.new("TextLabel")
  175. NewGuiPart15.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  176. NewGuiPart15.BorderSizePixel = 0
  177. NewGuiPart15.Name = "Message"
  178. NewGuiPart15.Position = UDim2.new(0, 15, 0, 305)
  179. NewGuiPart15.Size = UDim2.new(1, -30, 0, 25)
  180. NewGuiPart15.Font = Enum.Font.Highway
  181. NewGuiPart15.FontSize = Enum.FontSize.Size14
  182. NewGuiPart15.Text = "Server Message: Insanity#1002."
  183. NewGuiPart15.TextColor3 = Color3.new(0.886275, 0.886275, 0.886275)
  184. NewGuiPart15.TextStrokeTransparency = 0.69999998807907
  185. NewGuiPart15.Parent = NewGuiPart11
  186. -------
  187. local NewGuiPart16 = Instance.new("TextBox")
  188. NewGuiPart16.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  189. NewGuiPart16.BorderColor3 = Color3.new(0.32549, 0, 0)
  190. NewGuiPart16.Name = "Command"
  191. NewGuiPart16.Position = UDim2.new(0, 15, 0, 335)
  192. NewGuiPart16.Size = UDim2.new(1, -30, 0, 20)
  193. NewGuiPart16.Font = Enum.Font.Code
  194. NewGuiPart16.FontSize = Enum.FontSize.Size12
  195. NewGuiPart16.Text = "Press ; to enter a command"
  196. NewGuiPart16.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
  197. NewGuiPart16.TextStrokeTransparency = 0.80000001192093
  198. NewGuiPart16.TextTransparency = 0.30000001192093
  199. NewGuiPart16.Parent = NewGuiPart10
  200. -------
  201. local NewGuiPart17 = Instance.new("Frame")
  202. NewGuiPart17.BackgroundTransparency = 1
  203. NewGuiPart17.Name = "Template"
  204. NewGuiPart17.Size = UDim2.new(1, 0, 1, 0)
  205. NewGuiPart17.Visible = false
  206. NewGuiPart17.ZIndex = 2
  207. NewGuiPart17.Parent = NewGuiPart10
  208. -------
  209. local NewGuiPart18 = Instance.new("ScrollingFrame")
  210. NewGuiPart18.Active = true
  211. NewGuiPart18.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  212. NewGuiPart18.BorderColor3 = Color3.new(0.32549, 0, 0)
  213. NewGuiPart18.Name = "Container"
  214. NewGuiPart18.Position = UDim2.new(0, 15, 0, 10)
  215. NewGuiPart18.Selectable = true
  216. NewGuiPart18.Size = UDim2.new(1, -30, 0, 320)
  217. NewGuiPart18.ZIndex = 2
  218. NewGuiPart18.BottomImage = "rbxassetid://368504177"
  219. NewGuiPart18.CanvasSize = UDim2.new(0, 0, 0, 0)
  220. NewGuiPart18.MidImage = "rbxassetid://368504177"
  221. NewGuiPart18.ScrollBarThickness = 5
  222. NewGuiPart18.TopImage = "rbxassetid://368504177"
  223. NewGuiPart18.ClipsDescendants = true
  224. NewGuiPart18.Parent = NewGuiPart17
  225. -------
  226. local NewGuiPart19 = Instance.new("Frame")
  227. NewGuiPart19.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  228. NewGuiPart19.BackgroundTransparency = 1
  229. NewGuiPart19.BorderColor3 = Color3.new(0.32549, 0, 0)
  230. NewGuiPart19.Name = "Navigator"
  231. NewGuiPart19.Position = UDim2.new(0, 16, 0, 10)
  232. NewGuiPart19.Size = UDim2.new(1, -30, 0, 60)
  233. NewGuiPart19.Visible = false
  234. NewGuiPart19.Parent = NewGuiPart10
  235. -------
  236. local NewGuiPart20 = Instance.new("Frame")
  237. NewGuiPart20.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  238. NewGuiPart20.BorderColor3 = Color3.new(0.32549, 0, 0)
  239. NewGuiPart20.Name = "NavMain"
  240. NewGuiPart20.Position = UDim2.new(0, 22, 0, 0)
  241. NewGuiPart20.Size = UDim2.new(1, -44, 0, 60)
  242. NewGuiPart20.Parent = NewGuiPart19
  243. -------
  244. local NewGuiPart21 = Instance.new("TextButton")
  245. NewGuiPart21.Active = true
  246. NewGuiPart21.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  247. NewGuiPart21.BorderSizePixel = 0
  248. NewGuiPart21.Name = "NavLeft"
  249. NewGuiPart21.Selectable = true
  250. NewGuiPart21.Size = UDim2.new(0, 17, 1, 0)
  251. NewGuiPart21.Style = Enum.ButtonStyle.Custom
  252. NewGuiPart21.FontSize = Enum.FontSize.Size14
  253. NewGuiPart21.Text = ""
  254. NewGuiPart21.Parent = NewGuiPart19
  255. -------
  256. local NewGuiPart22 = Instance.new("TextButton")
  257. NewGuiPart22.Active = true
  258. NewGuiPart22.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  259. NewGuiPart22.BorderSizePixel = 0
  260. NewGuiPart22.Name = "NavRight"
  261. NewGuiPart22.Position = UDim2.new(1, -17, 0, 0)
  262. NewGuiPart22.Selectable = true
  263. NewGuiPart22.Size = UDim2.new(0, 17, 1, 0)
  264. NewGuiPart22.Style = Enum.ButtonStyle.Custom
  265. NewGuiPart22.FontSize = Enum.FontSize.Size14
  266. NewGuiPart22.Text = ""
  267. NewGuiPart22.Parent = NewGuiPart19
  268. -------
  269. local NewGuiPart23 = Instance.new("Frame")
  270. NewGuiPart23.Active = true
  271. NewGuiPart23.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  272. NewGuiPart23.BorderSizePixel = 0
  273. NewGuiPart23.Name = "Navigation"
  274. NewGuiPart23.Size = UDim2.new(0, 150, 1, 0)
  275. NewGuiPart23.ZIndex = 2
  276. NewGuiPart23.Parent = NewGuiPart2
  277. -------
  278. local NewGuiPart24 = Instance.new("Frame")
  279. NewGuiPart24.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  280. NewGuiPart24.BorderSizePixel = 0
  281. NewGuiPart24.Name = "Topbar"
  282. NewGuiPart24.Size = UDim2.new(1, 0, 0, 30)
  283. NewGuiPart24.ZIndex = 3
  284. NewGuiPart24.Parent = NewGuiPart23
  285. -------
  286. local NewGuiPart25 = Instance.new("ScrollingFrame")
  287. NewGuiPart25.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  288. NewGuiPart25.BorderSizePixel = 0
  289. NewGuiPart25.Name = "Scroll"
  290. NewGuiPart25.Position = UDim2.new(0, 0, 0, 30)
  291. NewGuiPart25.Selectable = true
  292. NewGuiPart25.Size = UDim2.new(1, 0, 1, -30)
  293. NewGuiPart25.ZIndex = 3
  294. NewGuiPart25.BottomImage = "rbxassetid://368504177"
  295. NewGuiPart25.MidImage = "rbxassetid://368504177"
  296. NewGuiPart25.ScrollBarThickness = 6
  297. NewGuiPart25.TopImage = "rbxassetid://368504177"
  298. NewGuiPart25.ClipsDescendants = true
  299. NewGuiPart25.Parent = NewGuiPart23
  300. -------
  301. local NewGuiPart26 = Instance.new("Frame")
  302. NewGuiPart26.BackgroundTransparency = 1
  303. NewGuiPart26.Name = "Composite1"
  304. NewGuiPart26.Position = UDim2.new(-1, 0, 0.5, -50)
  305. NewGuiPart26.Size = UDim2.new(0, 50, 0, 100)
  306. NewGuiPart26.ClipsDescendants = true
  307. NewGuiPart26.Parent = NewGuiPart1
  308. -------
  309. local NewGuiPart27 = Instance.new("TextLabel")
  310. NewGuiPart27.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  311. NewGuiPart27.BorderSizePixel = 0
  312. NewGuiPart27.Name = "Label"
  313. NewGuiPart27.Size = UDim2.new(2, 0, 1, 0)
  314. NewGuiPart27.Font = Enum.Font.SourceSansBold
  315. NewGuiPart27.FontSize = Enum.FontSize.Size96
  316. NewGuiPart27.Text = "T"
  317. NewGuiPart27.TextColor3 = Color3.new(1, 1, 1)
  318. NewGuiPart27.Parent = NewGuiPart26
  319. -------
  320. local NewGuiPart28 = Instance.new("Frame")
  321. NewGuiPart28.BackgroundTransparency = 1
  322. NewGuiPart28.Name = "Composite2"
  323. NewGuiPart28.Position = UDim2.new(1, 0, 0.5, -50)
  324. NewGuiPart28.Size = UDim2.new(0, 50, 0, 100)
  325. NewGuiPart28.ClipsDescendants = true
  326. NewGuiPart28.Parent = NewGuiPart1
  327. -------
  328. local NewGuiPart29 = Instance.new("TextLabel")
  329. NewGuiPart29.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  330. NewGuiPart29.BorderSizePixel = 0
  331. NewGuiPart29.Name = "Label"
  332. NewGuiPart29.Position = UDim2.new(-1, 0, 0, 0)
  333. NewGuiPart29.Size = UDim2.new(2, 0, 1, 0)
  334. NewGuiPart29.Font = Enum.Font.SourceSansBold
  335. NewGuiPart29.FontSize = Enum.FontSize.Size96
  336. NewGuiPart29.Text = "T"
  337. NewGuiPart29.TextColor3 = Color3.new(1, 1, 1)
  338. NewGuiPart29.Parent = NewGuiPart28
  339. -------
  340. local NewGuiPart30 = Instance.new("Frame")
  341. NewGuiPart30.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  342. NewGuiPart30.Name = "Solid"
  343. NewGuiPart30.Position = UDim2.new(0.5, -50, 0.5, -50)
  344. NewGuiPart30.Visible = false
  345. NewGuiPart30.ClipsDescendants = true
  346. NewGuiPart30.Parent = NewGuiPart1
  347. -------
  348. local NewGuiPart31 = Instance.new("TextLabel")
  349. NewGuiPart31.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  350. NewGuiPart31.BorderSizePixel = 0
  351. NewGuiPart31.Name = "Label"
  352. NewGuiPart31.Size = UDim2.new(1, 0, 1, 0)
  353. NewGuiPart31.Font = Enum.Font.SourceSansBold
  354. NewGuiPart31.FontSize = Enum.FontSize.Size96
  355. NewGuiPart31.Text = "T"
  356. NewGuiPart31.TextColor3 = Color3.new(1, 1, 1)
  357. NewGuiPart31.Parent = NewGuiPart30
  358.  
  359.  
  360.  
  361. topkek.center = game.Players.LocalPlayer.PlayerGui["4.0"].Main
  362. topkek.holder = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder
  363. topkek.topbar = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar
  364. topkek.template = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Template
  365. topkek.navigator = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Navigator
  366.  
  367. AllowHovers = false
  368. PlayerChatHook, UpdateBanlist = nil
  369. cmd = {}
  370.  
  371. --// data //--
  372. topkek.data.windows = {
  373. 'Home',
  374. 'LocalPlayer',
  375. 'Server',
  376. 'Players',
  377. 'Destruction',
  378. 'Scripts',
  379. 'Catalog',
  380. 'Music',
  381. 'Hats',
  382. 'Faces',
  383. 'Settings',
  384. 'Commands',
  385. 'Banlist',
  386. }
  387.  
  388. color3 = function(r,g,b)
  389. return Color3.new(r/255, g/255, b/255)
  390. end
  391. --// doggo dropdown //--
  392. -- thanks krystal
  393. GUI = {
  394. TextBox = {
  395. Settings = {
  396. Font = Enum.Font.SourceSans;
  397. FontSize = Enum.FontSize.Size14;
  398. };
  399. Color = {
  400. Main = Color3.fromRGB(5,8,11);
  401. Border = Color3.fromRGB(27,42,53);
  402. Text = Color3.fromRGB(199,199,199);
  403. };
  404. New = function(Position, Size, Parent, ...)
  405. local arguments = {...};
  406.  
  407. local TextBox = Instance.new("TextBox", Parent);
  408. TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
  409. TextBox.BorderColor3 = GUI.DropDown.Color.Border;
  410. TextBox.Font = GUI.TextBox.Settings.Font;
  411. TextBox.FontSize = GUI.TextBox.Settings.FontSize;
  412. TextBox.TextColor3 = GUI.TextBox.Color.Text;
  413. TextBox.Position = Position;
  414. TextBox.Size = Size;
  415. if #arguments then
  416. if arguments[1] then
  417. TextBox.Text = tostring(arguments[1]);
  418. else
  419. TextBox.Text = "";
  420. end
  421. end
  422. return TextBox;
  423. end;
  424. };
  425. DropDown = {
  426. Settings = {
  427. ScrollerAmount = 5; --A scroller will appear at this amount.
  428. ScrollBarThickness = 6;
  429. };
  430. Gfx = {
  431. Scroller = "rbxassetid://606572419";
  432. };
  433. Color = {
  434. Main = color3(107, 36, 36);
  435. Secondary = color3(113, 39, 39);
  436. Border = color3(127, 44, 44);
  437. Text = Color3.fromRGB(199,199,199);
  438. };
  439. New = function(Position, Size, Parent, ...)
  440. local vValue = {};
  441. local arguments = {...};
  442. local vSelected = Instance.new("StringValue");
  443. vSelected.Value = "nil";
  444.  
  445. if arguments then
  446. if type(arguments) == "table" then
  447. for i=1,#(arguments) do
  448. if type(arguments[i]) == "table" then
  449. for f=1,#(arguments[i]) do
  450. table.insert(vValue, tostring((arguments[i])[f]));
  451. end
  452. else
  453. table.insert(vValue, tostring(arguments[i]));
  454. end
  455. end
  456. vSelected.Value = (vValue[1]);
  457. end
  458. end
  459.  
  460. local Main = Instance.new("TextButton", Parent);
  461. Main.BackgroundColor3 = GUI.DropDown.Color.Main;
  462. Main.BorderColor3 = GUI.DropDown.Color.Border;
  463. Main.Position = Position;
  464. Main.Size = Size;
  465. Main.TextColor3 = GUI.DropDown.Color.Text;
  466. Main.FontSize = Enum.FontSize.Size14;
  467. Main.TextStrokeTransparency = 0.5;
  468. Main.TextXAlignment = Enum.TextXAlignment.Left;
  469. Main.Font = Enum.Font.SourceSans;
  470. Main.Text = " "..tostring(vSelected.Value);
  471. Main.ZIndex = 3
  472.  
  473. local Icon = Instance.new("TextLabel", Main);
  474. Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
  475. Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
  476. Icon.BorderColor3 = GUI.DropDown.Color.Border;
  477. Icon.Position = UDim2.new(1,-2,1,-2);
  478. Icon.Size = UDim2.new(-1,4,-1,4);
  479. Icon.TextColor3 = GUI.DropDown.Color.Text;
  480. Icon.FontSize = Enum.FontSize.Size14;
  481. Icon.TextStrokeTransparency = 0.5;
  482. Icon.Font = Enum.Font.SourceSans;
  483. Icon.Text = "V"
  484. Icon.ZIndex = 4
  485.  
  486. local Holder, Search;
  487. local ClearHolder = function()
  488. if Holder then
  489. Holder:ClearAllChildren();
  490. Holder.Size = UDim2.new(1,0,0,0);
  491. Holder.Visible = false;
  492. if Search then
  493. Search.Visible = false;
  494. end
  495. end
  496. end;
  497.  
  498. local CreateButton;
  499. local RefreshDropDown = function()
  500. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  501. if not Holder or not Holder:IsA("Frame") then
  502. Holder = nil; Search = nil;
  503. Holder = Instance.new("Frame",Main);
  504. Holder.Size = UDim2.new(1,0,0,0);
  505. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  506. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  507. Holder.Visible = false;
  508. Holder.ZIndex = 3
  509. end
  510. elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
  511. if not Holder or not Holder:IsA("ScrollingFrame") then
  512. Holder = nil; Search = nil;
  513. Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
  514. Search.Visible = false;
  515. Search.ZIndex = 4
  516. Search.Changed:connect(function(p)
  517. if p == "Text" then
  518. CreateButton(Search.Text);
  519. end
  520. end)
  521. Holder = Instance.new("ScrollingFrame",Main);
  522. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  523. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  524. Holder.TopImage = GUI.DropDown.Gfx.Scroller;
  525. Holder.MidImage = GUI.DropDown.Gfx.Scroller;
  526. Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
  527. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
  528. Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
  529. Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
  530. Holder.Visible = false;
  531. Holder.ZIndex = 3;
  532. end
  533. end
  534. if #vValue == 1 and vSelected.Value ~= vValue[1] then
  535. vSelected.Value = vValue[1];
  536. elseif #vValue == 0 then
  537. vSelected.Value = "nil";
  538. warn("Table amount is nil.");
  539. end
  540. Main.Text = " "..tostring(vSelected.Value);
  541. --ClearHolder();
  542. end;
  543.  
  544. local Debounce = false;
  545. CreateButton = function(searches)
  546. if Debounce == false then
  547. Debounce = true;
  548. ClearHolder()
  549. Holder.Visible = true;
  550. local Searched = 0;
  551. if #vValue > 0 then
  552. for i=1,#vValue do
  553. if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
  554. Searched = Searched + 1;
  555. end
  556. end
  557. for i=1,#vValue do
  558. 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
  559. local Select = Instance.new("TextButton", Holder);
  560. Select.BackgroundColor3 = GUI.DropDown.Color.Main;
  561. Select.BorderColor3 = GUI.DropDown.Color.Border;
  562. Select.BackgroundTransparency = 1;
  563. Select.BorderSizePixel = 0;
  564. Select.Position = Position;
  565. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  566. Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
  567. else
  568. Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
  569. end
  570. Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
  571. Select.TextColor3 = GUI.DropDown.Color.Text;
  572. Select.FontSize = Enum.FontSize.Size14;
  573. Select.TextStrokeTransparency = 0.5;
  574. Select.Font = Enum.Font.SourceSans;
  575. Select.Text = tostring(vValue[i]);
  576. Select.ZIndex = 3
  577. Select.MouseButton1Click:connect(function()
  578. vSelected.Value = vValue[i];
  579. ClearHolder();
  580. RefreshDropDown();
  581. end)
  582. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  583. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
  584. elseif Holder:IsA("ScrollingFrame") then
  585. Search.Visible = true;
  586. if #Holder:GetChildren() >= 1 then
  587. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  588. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
  589. if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
  590. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
  591. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  592. end
  593. elseif #Holder:GetChildren() < 1 then
  594. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  595. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  596. end
  597. end
  598. end
  599. end
  600. end
  601. Debounce = false;
  602. end
  603. end;
  604.  
  605. RefreshDropDown();
  606.  
  607. Main.MouseButton1Click:connect(function()
  608. CreateButton()
  609. if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
  610. Search:CaptureFocus();
  611. Search.Text = "";
  612. end
  613. end)
  614.  
  615. topkek.lplr:GetMouse().Button1Down:connect(function()
  616. ClearHolder()
  617. end)
  618.  
  619. return {
  620. Update = function()
  621. RefreshDropDown();
  622. end;
  623. GetValue = function()
  624. RefreshDropDown();
  625. return vValue;
  626. end;
  627. GetSelected = function()
  628. RefreshDropDown();
  629. return vSelected.Value;
  630. end;
  631. SetTable = function(F)
  632. vValue = F;
  633. RefreshDropDown();
  634. end;
  635. Changed = function(F)
  636. vSelected.Changed:connect(function()
  637. ypcall(function()
  638. F(vSelected.Value);
  639. end)
  640. end)
  641. return "ChangedEvent Hooked";
  642. end;
  643. AddValue = function(obj)
  644. local Type = type(obj);
  645. if Type == "table" then
  646. for i=1,#obj do
  647. table.insert(vValue, obj[i])
  648. end
  649. elseif Type == "string" or Type == "number" or Type == "boolean" then
  650. table.insert(vValue, obj)
  651. end
  652. RefreshDropDown();
  653. end;
  654. RemoveValue = function(obj)
  655. local Type = type(obj);
  656. if Type == "table" then
  657. for i=1,#vValue do
  658. for f=1,#obj do
  659. if tostring(obj[f]) == tostring(vValue[i]) then
  660. table.remove(vValue,i)
  661. end
  662. end
  663. end
  664. else
  665. for i=1,#vValue do
  666. if tostring(obj) == tostring(vValue[i]) then
  667. table.remove(vValue,i)
  668. end
  669. end
  670. end
  671. RefreshDropDown();
  672. end;
  673. ClearValue = function()
  674. vValue = {};
  675. RefreshDropDown();
  676. end;
  677. }
  678. end;
  679. };
  680. };
  681. --// util //--
  682. function topkek.tools.util.Object(o, p)
  683. local a, b = pcall(function()
  684. Instance.new(o)
  685. end)
  686. if not a then
  687. return
  688. end
  689. local obj = Instance.new(o)
  690. for prop, val in pairs(p) do
  691. pcall(function()
  692. obj[prop] = val
  693. end)
  694. end
  695. return obj
  696. end
  697.  
  698. function topkek.tools.util.getContainer(n)
  699. if game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder:FindFirstChild(n) then
  700. return game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder[n]
  701. else
  702. print("menu not found; returning template")
  703. return topkek.holder['Template']
  704. end
  705. end
  706.  
  707. function topkek.tools.util.play(id)
  708. local mu = Instance.new("Sound", game:GetService('Workspace'))
  709. mu.Volume = 1
  710. mu.Looped = true
  711. mu.Pitch = 1
  712. mu.SoundId = "rbxassetid://"..tostring(id)
  713. mu:Play()
  714. end
  715.  
  716. function topkek.tools.util.getTorso(plr) --r15 compatibility lole
  717. if plr.Character then
  718. if plr.Character:FindFirstChild('UpperTorso') then
  719. return plr.Character.UpperTorso
  720. elseif plr.Character:FindFirstChild('Torso') then
  721. return plr.Character.Torso
  722. else
  723. return nil
  724. end
  725. end
  726. end
  727.  
  728. function topkek.tools.util.recurseRemove(x,type_)
  729. local function recurse(x)
  730. for i, v in pairs(x:GetChildren()) do
  731. pcall(function()
  732. if v:IsA(type_) then
  733. v:Destroy()
  734. end
  735. if #(v:GetChildren())>0 then
  736. recurse(v)
  737. end
  738. end)
  739. end
  740. end
  741. recurse(x)
  742. end
  743.  
  744. function topkek.tools.util.recurseFunc(type_,func)
  745. local function recurse(x)
  746. for i, v in pairs(x:GetChildren()) do
  747. pcall(function()
  748. if v:IsA(type_) then
  749. func(v)
  750. end
  751. if #(v:GetChildren())>0 then
  752. recurse(v)
  753. end
  754. end)
  755. end
  756. end
  757. recurse(game)
  758. end
  759. function topkek.tools.util.trowel()
  760. local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
  761. T.Name = 'Custom Trowel'
  762.  
  763. local p = Instance.new('Part')
  764. p.Name = 'Handle'
  765. p.Size = Vector3.new(1,4.4,1)
  766. p.Parent = T
  767.  
  768. local specialMesh = Instance.new('SpecialMesh')
  769. specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
  770. specialMesh.MeshType = 'FileMesh'
  771. specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
  772. specialMesh.Parent = T.Handle
  773.  
  774. local sound = Instance.new'Sound'
  775. sound.Name = 'build'
  776. sound.SoundId = 'rbxasset://sounds//bass.wav'
  777. sound.Volume = 1
  778. sound.Parent = T.Handle
  779.  
  780. local brickHeight = 100
  781. local trowelSpeed = 0.05
  782. local brickWidth = 500
  783. local mouseConnection
  784.  
  785. function newBrick(CF, P, color)
  786. local brick = Instance.new('Part')
  787. brick.BrickColor = color
  788. brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
  789. brick.Parent = game.Workspace
  790. brick:MakeJoints()
  791. brick.Material = 'Neon'
  792. brick.Name = 'DeleteMe'
  793. return brick, P + brick.Size
  794. end
  795.  
  796. function genBrick(cFrame)
  797. local randBrickColor = BrickColor.Random()
  798. assert(brickWidth > 0)
  799.  
  800. local yPos = 0
  801.  
  802. while yPos < brickHeight do
  803. local vPos
  804. local X = -brickWidth / 2
  805. while X < brickWidth / 2 do
  806. local brick
  807. brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
  808. X = vPos.x
  809. wait(trowelSpeed)
  810. end
  811. yPos = vPos.y
  812. end
  813. end
  814.  
  815. function calcPos(vec)
  816. if (math.abs(vec.x) > math.abs(vec.z)) then
  817. if vec.x > 0 then
  818. return Vector3.new(1, 0, 0)
  819. else
  820. return Vector3.new(-1, 0, 0)
  821. end
  822. else
  823. if (vec.z > 0) then
  824. return Vector3.new(0, 0, 1)
  825. else
  826. return Vector3.new(0, 0, -1)
  827. end
  828. end
  829. end
  830.  
  831. T.Enabled = true
  832.  
  833. T.Activated:connect(function()
  834. if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  835. T.Enabled = false
  836. T.Handle.build:Play()
  837. 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)))
  838. T.Enabled = true
  839. end
  840. end)
  841.  
  842. T.Equipped:connect(function()
  843. mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  844. if (key == 'r') then
  845. for i,v in next, workspace:children'' do
  846. if (v.Name == 'DeleteMe') then
  847. v:Destroy()
  848. end
  849. end
  850. end
  851. end)
  852. end)
  853.  
  854. T.Unequipped:connect(function()
  855. mouseConnection:disconnect()
  856. end)
  857. end
  858. function topkek.tools.util.recurseSet(type_,prop,val)
  859. local function recurse(x)
  860. for i, v in pairs(x:GetChildren()) do
  861. pcall(function()
  862. if v:IsA(type_) then
  863. v[prop]=val
  864. end
  865. if #(v:GetChildren())>0 then
  866. recurse(v)
  867. end
  868. end)
  869. end
  870. end
  871. recurse(game)
  872. end
  873. function topkek.tools.util.recurseUltimate(d)
  874. topkek.tools.util.recurseDecal(d)
  875. topkek.tools.util.recurseParticles(d)
  876. end
  877. function topkek.tools.util.recurseDecal(img)
  878. img = 'rbxassetid://' .. img
  879. local function skybox(x)
  880. local sky = Instance.new("Sky",game.Lighting)
  881. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  882. for i,v in pairs(fcs) do
  883. sky["Skybox"..v]=x
  884. end
  885. end
  886.  
  887. local function decal(p, b)
  888. local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  889. for i, v in pairs(sides) do
  890. local a = Instance.new("Decal", p)
  891. a.Texture = b
  892. a.Face = v
  893. end
  894. end
  895.  
  896. local function recurse(x)
  897. for i, v in pairs(x:GetChildren()) do
  898. pcall(function() -- 'error occured, no output from Lua' LOLE
  899. if v:IsA("BasePart") then
  900. decal(v, img)
  901. end
  902. if #(v:GetChildren())>0 then
  903. recurse(v)
  904. end
  905. end)
  906. end
  907. end
  908.  
  909. recurse(game)
  910. skybox(img)
  911. end
  912. function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
  913. img = 'rbxassetid://' .. img
  914. local function skybox(x)
  915. local sky = Instance.new("Sky",game.Lighting)
  916. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  917. for i,v in pairs(fcs) do
  918. sky["Skybox"..v]=x
  919. end
  920. end
  921. local function particle(p, b)
  922. local a = Instance.new("ParticleEmitter", p)
  923. a.Rate = 500
  924. a.Lifetime = NumberRange.new(20, 30)
  925. a.VelocitySpread = 200
  926. a.Texture = b
  927. end
  928.  
  929. local function recurse(x)
  930. for i, v in pairs(x:GetChildren()) do
  931. pcall(function() -- 'error occured, no output from Lua' LOLE
  932. if v:IsA("BasePart") then
  933. particle(v, img)
  934. end
  935. if #(v:GetChildren())>0 then
  936. recurse(v)
  937. end
  938. end)
  939. end
  940. end
  941.  
  942. recurse(game)
  943. skybox(img)
  944. end
  945. function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
  946. local function recurse(x)
  947. for i, v in pairs(x:GetChildren()) do
  948. pcall(function()
  949. if v:IsA(type_) then
  950. v[prop]=val
  951. end
  952. if #(v:GetChildren())>0 then
  953. recurse(v)
  954. end
  955. end)
  956. end
  957. end
  958. recurse(obj)
  959. end
  960. function topkek.tools.util.doPlayers(cval, func)
  961. local plrs = {}
  962. if cval == 'All' then
  963. plrs = game:GetService('Players'):GetPlayers()
  964. else
  965. plrs = {game:GetService('Players'):FindFirstChild(cval)}
  966. end
  967. for i, v in pairs(plrs) do
  968. func(v)
  969. end
  970. end
  971. function topkek.tools.util.scalePlayer(sc,plr)
  972. local pchar = plr.Character
  973. if pchar:FindFirstChild("UpperTorso") then
  974. warn("Player [" ..plr.Name.. "] is R15.")
  975. return
  976. end
  977. local function scale(chr,scl)
  978.  
  979. for _,v in pairs(pchar:GetChildren()) do
  980. if v:IsA("Hat") then
  981. v:Clone()
  982. v.Parent = game.Lighting
  983. end
  984. end
  985.  
  986. local Head = chr['Head']
  987. local Torso = chr['Torso']
  988. local LA = chr['Left Arm']
  989. local RA = chr['Right Arm']
  990. local LL = chr['Left Leg']
  991. local RL = chr['Right Leg']
  992. local HRP = chr['HumanoidRootPart']
  993.  
  994. wait(0.1)
  995.  
  996. Head.formFactor = 3
  997. Torso.formFactor = 3
  998. LA.formFactor = 3
  999. RA.formFactor = 3
  1000. LL.formFactor = 3
  1001. RL.formFactor = 3
  1002. HRP.formFactor = 3
  1003.  
  1004. Head.Size = Vector3.new(scl * 2, scl, scl)
  1005. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1006. LA.Size = Vector3.new(scl, scl * 2, scl)
  1007. RA.Size = Vector3.new(scl, scl * 2, scl)
  1008. LL.Size = Vector3.new(scl, scl * 2, scl)
  1009. RL.Size = Vector3.new(scl, scl * 2, scl)
  1010. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1011.  
  1012. local Motor1 = Instance.new('Motor6D', Torso)
  1013. Motor1.Part0 = Torso
  1014. Motor1.Part1 = Head
  1015. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1016. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1017. Motor1.Name = "Neck"
  1018.  
  1019. local Motor2 = Instance.new('Motor6D', Torso)
  1020. Motor2.Part0 = Torso
  1021. Motor2.Part1 = LA
  1022. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1023. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1024. Motor2.Name = "Left Shoulder"
  1025.  
  1026. local Motor3 = Instance.new('Motor6D', Torso)
  1027. Motor3.Part0 = Torso
  1028. Motor3.Part1 = RA
  1029. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1030. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1031. Motor3.Name = "Right Shoulder"
  1032.  
  1033. local Motor4 = Instance.new('Motor6D', Torso)
  1034. Motor4.Part0 = Torso
  1035. Motor4.Part1 = LL
  1036. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1037. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1038. Motor4.Name = "Left Hip"
  1039.  
  1040. local Motor5 = Instance.new('Motor6D', Torso)
  1041. Motor5.Part0 = Torso
  1042. Motor5.Part1 = RL
  1043. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1044. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1045. Motor5.Name = "Right Hip"
  1046.  
  1047. local Motor6 = Instance.new('Motor6D', HRP)
  1048. Motor6.Part0 = HRP
  1049. Motor6.Part1 = Torso
  1050. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1051. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1052.  
  1053. end
  1054.  
  1055. scale(pchar, sc)
  1056.  
  1057. for _,v in pairs(game.Lighting:GetChildren()) do
  1058. if v:IsA("Hat") then
  1059. v.Parent = pchar
  1060. end
  1061. end
  1062. end
  1063. function topkek.tools.util.applyFace(id)
  1064. local Char = topkek.lplr.Character
  1065. if(Char)then
  1066. local Type = id
  1067. local Meme=id
  1068. local BBG_SIZE=Char.Head.Size.X*1.25;
  1069. local STUD_VECTOR_1=Char.Head.Size.Z/4;
  1070. local STUD_VECTOR_2=Char.Head.Size.Z;
  1071. local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
  1072. bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  1073. bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
  1074. bbg.Adornee=Char.Head;
  1075. bbg.Name='BBGMEME';
  1076. local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
  1077. img.BackgroundTransparency=1;
  1078. img.Image="rbxassetid://"..Meme;
  1079. img.Size=UDim2.new(1,0,1,0)
  1080. img.Name='Meme';
  1081. for i,v in next,Char:children()do
  1082. if(v.className=='Hat')then
  1083. v=v:FindFirstChild'Handle';
  1084. if(v)then
  1085. v.Transparency=0
  1086. end;
  1087. end;
  1088. end;
  1089. end;
  1090. end;
  1091. function topkek.tools.util.wrench(plr)
  1092. require(3012242161).load(plr.Name)
  1093. end
  1094. --// banmgr //--
  1095. topkek.banmgr.isPrivate = false
  1096. topkek.banmgr.whitelist = {}
  1097. topkek.banmgr.bans = {}
  1098. function topkek.banmgr.executeKick(z)
  1099. local function doKick()
  1100. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  1101. z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  1102. local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  1103. spawn(function()
  1104. repeat wait()
  1105. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  1106. SP.Position = z.Character.HumanoidRootPart.Position
  1107. end
  1108. until not game:GetService('Players'):FindFirstChild(z.Name)
  1109. end)
  1110. z.Character.Torso.Anchored = true
  1111. end
  1112. end
  1113. repeat
  1114. doKick()
  1115. wait()
  1116. until not z
  1117. end
  1118. function topkek.banmgr.loadFromFile()
  1119. -- todo: read file
  1120. topkek.settings.get()
  1121. topkek.banmgr.bans = topkek.settingsTable['Bans']
  1122. end
  1123. function topkek.banmgr.addHardBan(p)
  1124. -- todo: write file
  1125. table.insert(topkek.banmgr.bans, p.Name)
  1126. topkek.settings.get()
  1127. table.insert(topkek.settingsTable['Bans'], p.Name)
  1128. topkek.settings.write()
  1129. print("Hardbanned " .. p.Name)
  1130. UpdateBanlist()
  1131. topkek.banmgr.executeKick(p)
  1132. topkek.banmgr.loadFromFile()
  1133. end
  1134. function topkek.banmgr.addSoftBan(p)
  1135. table.insert(topkek.banmgr.bans, p.Name)
  1136. topkek.banmgr.executeKick(p)
  1137. end
  1138. function topkek.banmgr.plrBanned(p)
  1139. for x, m in pairs(topkek.banmgr.bans) do
  1140. if m == p.Name then
  1141. return true
  1142. end
  1143. end
  1144. return false
  1145. end
  1146. function topkek.banmgr.doWhitelist(p)
  1147. print(p .. " whitelisted")
  1148. table.insert(topkek.banmgr.whitelist, p)
  1149. end
  1150. function topkek.banmgr.unwhitelist(p)
  1151. for x, m in pairs(topkek.banmgr.whitelist) do
  1152. if m == p then
  1153. print(m .. " unwhitelisted")
  1154. table.remove(topkek.banmgr.whitelist, x)
  1155. if game:GetService('Players'):FindFirstChild(p) then
  1156. topkek.banmgr.executeKick(game:GetService('Players')[p])
  1157. end
  1158. end
  1159. end
  1160. end
  1161. function topkek.banmgr.plrWhitelisted(p)
  1162. for x, m in pairs(topkek.banmgr.whitelist) do
  1163. if m == p.Name then
  1164. return true
  1165. end
  1166. end
  1167. return false
  1168. end
  1169. function topkek.banmgr.makePrivate()
  1170. topkek.banmgr.isPrivate = true
  1171. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  1172. if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
  1173. spawn(function()
  1174. topkek.banmgr.executeKick(v)
  1175. end)
  1176. end
  1177. end
  1178. end
  1179. function topkek.banmgr.unprivate()
  1180. topkek.banmgr.isPrivate = false
  1181. end
  1182. function topkek.banmgr.init()
  1183. topkek.banmgr.loadFromFile()
  1184. game:GetService('Players').PlayerAdded:connect(function(p)
  1185. if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
  1186. print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
  1187. topkek.banmgr.executeKick(p)
  1188. end
  1189. end)
  1190. end
  1191. --// settings //--
  1192. topkek.settings = {}
  1193. topkek.settingsTable = {}
  1194. function topkek.settings.write()
  1195. --writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
  1196. end
  1197. function topkek.settings.get()
  1198. if game.Players.LocalPlayer.Character then
  1199. print("No settings! Making new ...")
  1200. topkek.settingsTable = {
  1201. ['Bans'] = {
  1202.  
  1203. },
  1204. ['Themes'] = {
  1205. {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
  1206. };
  1207. }
  1208. topkek.settings.write()
  1209. return topkek.settingsTable
  1210. else
  1211. local lset = game:GetService('HttpService'):JSONDecode(set)
  1212. topkek.settingsTable = lset
  1213. return lset
  1214. end
  1215. end
  1216. --// shortcuts //--
  1217. tk = {}
  1218. tk.ob = topkek.tools.util.Object
  1219. tk.dp = topkek.tools.util.doPlayers
  1220. tk.rcm = topkek.tools.util.recurseRemove
  1221. tk.rcs = topkek.tools.util.recurseSet
  1222. tk.rcf = topkek.tools.util.recurseFunc
  1223. tk.rco = topkek.tools.util.recurseSetObj
  1224. tk.play = topkek.tools.util.play
  1225. tk.gt = topkek.tools.util.getTorso
  1226. --// gui //--
  1227. -- copying this from topkek3.0 because i'm
  1228. -- too lazy to rewrite my lib
  1229. topkek.tools.gui.seperation = 12
  1230. function topkek.tools.gui:addLeftIcon(parent, img, sz)
  1231. topkek.tools.util.Object('ImageLabel', {
  1232. Parent = parent;
  1233. BackgroundTransparency = 1;
  1234. Position = UDim2.new(0, 2, 0, 2);
  1235. Size = UDim2.new(0, sz, 0, sz);
  1236. Image = img;
  1237. })
  1238. end
  1239. function topkek.tools.gui:makeContainer(n)
  1240. local temp = topkek.template:Clone()
  1241. temp.Name = n
  1242. temp.Parent = topkek.holder
  1243. temp.Container.Visible = false
  1244. end
  1245. function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
  1246. if not o:IsA("ScrollingFrame") and (not ncan) then
  1247. return nil
  1248. elseif o:IsA("ScrollingFrame") then
  1249. o.CanvasSize = UDim2.new(0, 0, 0, 0)
  1250. end
  1251.  
  1252. local self = {}
  1253. self.main = o
  1254. self.drawX = 0
  1255. self.drawY = stt or topkek.tools.gui.seperation/2
  1256. self.drawHeight = 0
  1257. self.sepr = sepr or topkek.tools.gui.seperation
  1258.  
  1259. function self:drawButton(sz, txt, func, ysz, cbgd)
  1260. local xposOffset = 0
  1261. local xposScale = self.drawX
  1262. local xszOffset = 0
  1263. local xszScale = sz
  1264. if not (self.drawX == 0) then
  1265. xszOffset = -5
  1266. if sz + self.drawX > 0.998 then
  1267. xszOffset = -10
  1268. end
  1269. elseif sz == 1 then
  1270. local bzz = 4
  1271. if ncan then
  1272. bzz = 0
  1273. end
  1274. xszOffset = -(self.sepr) - bzz
  1275. xposOffset = self.sepr/2
  1276. else
  1277. xszOffset = -4 + -(self.sepr/2)
  1278. xposOffset = self.sepr/2
  1279. end
  1280. if not ysz then ysz = 20 end
  1281. local obj = topkek.tools.util.Object("TextButton", {
  1282. Parent = self.main;
  1283. BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
  1284. BorderSizePixel = 0;
  1285. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1286. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1287. Font = 'SourceSans';
  1288. FontSize = 'Size14';
  1289. Text = txt;
  1290. TextSize = 14;
  1291. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1292. })
  1293. obj.MouseButton1Down:connect(function()
  1294. spawn(func)
  1295. end)
  1296. if ysz > self.drawHeight then
  1297. self.drawHeight = ysz
  1298. end
  1299. self.drawX = self.drawX + sz
  1300. if self.drawX > 0.998 then
  1301. self.drawY = self.drawY + 3 + self.drawHeight
  1302. self.drawX = 0
  1303. self.drawHeight = 0
  1304. if (not ncan) then
  1305. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1306. end
  1307. end
  1308. return obj
  1309. end
  1310.  
  1311. function self:GetChildren()
  1312. return self.main:GetChildren()
  1313. end
  1314.  
  1315. function self:getDrawY()
  1316. return self.drawY
  1317. end
  1318.  
  1319. function self:setDrawY(y)
  1320. self.drawY = y
  1321. end
  1322.  
  1323. function self:drawTextBox(sz, txt, ysz, cbgd)
  1324. local xposOffset = 0
  1325. local xposScale = self.drawX
  1326. local xszOffset = 0
  1327. local xszScale = sz
  1328. if not (self.drawX == 0) then
  1329. xszOffset = -5
  1330. if sz + self.drawX > 0.998 then
  1331. xszOffset = -10
  1332. end
  1333. elseif sz == 1 then
  1334. xszOffset = -(self.sepr) - 5
  1335. xposOffset = self.sepr/2
  1336. else
  1337. xszOffset = -4 + -(self.sepr/2)
  1338. xposOffset = self.sepr/2
  1339. end
  1340. if not ysz then ysz = 20 end
  1341. local obj = topkek.tools.util.Object("TextBox", {
  1342. Parent = self.main;
  1343. BackgroundColor3 = cbgd or color3(153, 52, 52);
  1344. BorderSizePixel = 0;
  1345. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1346. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1347. Font = 'SourceSans';
  1348. FontSize = 'Size14';
  1349. Text = txt;
  1350. TextSize = 14;
  1351. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1352. })
  1353. if ysz > self.drawHeight then
  1354. self.drawHeight = ysz
  1355. end
  1356. self.drawX = self.drawX + sz
  1357. if self.drawX > 0.998 then
  1358. self.drawY = self.drawY + 3 + self.drawHeight
  1359. self.drawX = 0
  1360. self.drawHeight = 0
  1361. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1362. end
  1363. return obj
  1364. end
  1365.  
  1366. function self:drawImage(sz, img, ysz)
  1367. local xposOffset = 0
  1368. local xposScale = self.drawX
  1369. local xszOffset = 0
  1370. local xszScale = sz
  1371. if not (self.drawX == 0) then
  1372. xszOffset = -5
  1373. if sz + self.drawX > 0.998 then
  1374. xszOffset = -12
  1375. end
  1376. elseif sz == 1 then
  1377. xszOffset = -(self.sepr) - 5
  1378. xposOffset = self.sepr/2
  1379. else
  1380. xszOffset = -5 + -(self.sepr/2)
  1381. xposOffset = self.sepr/2
  1382. end
  1383. if not ysz then ysz = 20 end
  1384. local obj = topkek.tools.util.Object("ImageLabel", {
  1385. Parent = self.main;
  1386. BackgroundTransparency = 1;
  1387. BorderColor3 = Color3.new(27, 42, 53);
  1388. BorderSizePixel = 0;
  1389. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1390. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1391. Image = img;
  1392. })
  1393. if ysz > self.drawHeight then
  1394. self.drawHeight = ysz
  1395. end
  1396. self.drawX = self.drawX + sz
  1397. if self.drawX > 0.998 then
  1398. self.drawY = self.drawY + 3 + self.drawHeight
  1399. self.drawX = 0
  1400. self.drawHeight = 0
  1401. if (not ncan) then
  1402. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1403. end
  1404. end
  1405. return obj
  1406. end
  1407.  
  1408. function self:drawText(sz, txt, ysz)
  1409. local xposOffset = 0
  1410. local xposScale = self.drawX
  1411. local xszOffset = 0
  1412. local xszScale = sz
  1413. if not (self.drawX == 0) then
  1414. xszOffset = -5
  1415. if sz + self.drawX > 0.998 then
  1416. xszOffset = -10
  1417. end
  1418. elseif sz == 1 then
  1419. local bzz = 5
  1420. if ncan then
  1421. bzz = 0
  1422. end
  1423. xszOffset = -(self.sepr) - bzz
  1424. xposOffset = self.sepr/2
  1425. else
  1426. xszOffset = -4 + -(self.sepr/2)
  1427. xposOffset = self.sepr/2
  1428. end
  1429. if not ysz then ysz = 20 end
  1430. local obj = topkek.tools.util.Object("TextLabel", {
  1431. Parent = self.main;
  1432. BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
  1433. BorderSizePixel = 0;
  1434. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1435. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1436. Font = 'SourceSans';
  1437. FontSize = 'Size14';
  1438. Text = txt;
  1439. TextSize = 14;
  1440. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1441.  
  1442. })
  1443. if ysz > self.drawHeight then
  1444. self.drawHeight = ysz
  1445. end
  1446. self.drawX = self.drawX + sz
  1447. if self.drawX > 0.998 then
  1448. self.drawY = self.drawY + 3 + self.drawHeight
  1449. self.drawX = 0
  1450. self.drawHeight = 0
  1451. if (not ncan) then
  1452. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1453. end
  1454. end
  1455. return obj
  1456. end
  1457.  
  1458.  
  1459. function self:drawScrollingContainer(ysz)
  1460. local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  1461. local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  1462. local obj = topkek.tools.util.Object("ScrollingFrame", {
  1463. Parent = self.main;
  1464. BackgroundColor3 = color3(117, 42, 42);
  1465. BorderSizePixel = 0;
  1466. Position = pos;
  1467. Size = sz;
  1468. BottomImage = 'rbxassetid://368504177';
  1469. MidImage = 'rbxassetid://368504177';
  1470. TopImage = 'rbxassetid://368504177';
  1471. ScrollBarThickness = 5;
  1472. })
  1473.  
  1474. self.drawY = self.drawY + 5 + ysz
  1475. self.drawX = 0
  1476. self.drawHeight = 0
  1477. if (not ncan) then
  1478. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1479. end
  1480. return topkek.tools.gui:hookContainer(obj, false, 10, 3)
  1481. end
  1482.  
  1483. function self:drawContainer(xsz, ysz, xz, tz, sep)
  1484. local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  1485. local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
  1486. local obj = topkek.tools.util.Object("Frame", {
  1487. Parent = self.main;
  1488. BackgroundColor3 = color3(117, 42, 42);
  1489. BorderSizePixel = 0;
  1490. Position = pos;
  1491. Size = sz;
  1492. })
  1493. if not xz then
  1494. self.drawY = self.drawY + 5 + ysz
  1495. end
  1496. self.drawX = 0
  1497. self.drawHeight = 0
  1498. if (not ncan) then
  1499. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1500. end
  1501. return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
  1502. end
  1503.  
  1504. function self:addSpacing()
  1505. self.drawY = self.drawY + 3
  1506. end
  1507.  
  1508. function self:center()
  1509. local a,c,b=
  1510. self.main.Position.X.Scale,
  1511. self.main.Position.X.Offset,self.main.Size.Y.Offset
  1512. self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  1513. end
  1514.  
  1515. return self
  1516. end
  1517.  
  1518. --//anim//--
  1519. topkek.tools.animator.animateTo = function(source, dest)
  1520. -- holder2holder:
  1521. -- invis holder
  1522. -- clone holder; vis
  1523. -- move holder to right
  1524. -- vis dest container
  1525. -- tween clone holder left
  1526. -- tween dest holder right
  1527. print("nav",source,dest)
  1528. topkek.holder.Visible = false
  1529. local hclone = topkek.holder:Clone()
  1530. hclone.Parent = topkek.center
  1531. hclone.Name = 'animclone'
  1532. hclone.Visible = true
  1533. topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
  1534. source.Visible = false
  1535. dest.Visible = true
  1536. dest.Container.Visible = true
  1537. dest.Container.ZIndex = 1
  1538. dest.ZIndex = 1
  1539. topkek.holder.Visible = true
  1540. topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
  1541. hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
  1542. wait(0.3)
  1543. end
  1544. topkek.tools.animator.initialAnimation = function()
  1545. -- initanim:
  1546. -- join both composites
  1547. -- delete composites; vis solid
  1548. -- tween solid to nav topbar
  1549. -- copy topbar plrname; move outside region
  1550. -- tween in clone topbar
  1551. -- delete clone and solid; vis topbar
  1552. -- tween down topbar
  1553. -- tween holder out
  1554. local function abspos(x)
  1555. return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
  1556. end
  1557. local function abssz(x)
  1558. return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
  1559. end
  1560. local holder = topkek.holder
  1561. local nav = topkek.navigator
  1562. local topnav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation.Topbar
  1563. local topbar = topkek.topbar
  1564. local pname = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar.PlayerName:Clone()
  1565. local solid = game.Players.LocalPlayer.PlayerGui["4.0"].Solid
  1566. topkek.center.Size = UDim2.new(0, 150, 0, 30)
  1567. game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
  1568. game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
  1569. wait(0.52)
  1570. solid.Visible = true
  1571. game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:Destroy()
  1572. game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:Destroy()
  1573. wait(3)
  1574. solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
  1575. solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
  1576. wait(0.52)
  1577. solid.Label:Destroy()
  1578. wait(0.12)
  1579. topkek.center.Visible = true
  1580. topnav.Visible = true
  1581. solid:Destroy()
  1582. pname.Position = UDim2.new(0, -170, 0, 0)
  1583. pname.Parent = topnav
  1584. pname.Visible = true
  1585. pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
  1586. wait(0.25)
  1587. topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
  1588. spawn(topkek.navigation.buildNavigator)
  1589. wait(0.35)
  1590. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
  1591. wait(0.35)
  1592. topbar.PlayerName.Visible = true
  1593. pname:Destroy()
  1594. AllowHovers = true
  1595. end
  1596. --//nav//--
  1597. topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
  1598. topkek.navigation.windowState = 0
  1599. topkek.navigation.gotoContainer = function(cont)
  1600. topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
  1601. topkek.navigation.currentContainer = cont
  1602. end
  1603. topkek.navigation.buildNavigator = function()
  1604. local nav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation
  1605. local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
  1606. local btns = {}
  1607. for l, x in pairs(topkek.data.windows) do
  1608. local container = topkek.tools.util.getContainer(x)
  1609. local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
  1610. local ZPos = btn.Position
  1611. btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
  1612. btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
  1613. btn.LayoutOrder = l
  1614. btn.ZIndex = 4
  1615. local OPos = btn.Position
  1616. btn.MouseEnter:connect(function()
  1617. if AllowHovers == false then
  1618. return
  1619. end
  1620. for i, v in pairs(btns) do
  1621. if v[1] ~= btn then
  1622. v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
  1623. end
  1624. end
  1625. btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
  1626. end)
  1627. btn.MouseLeave:connect(function()
  1628. btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
  1629. end)
  1630. table.insert(btns, {btn, OPos})
  1631. wait()
  1632. end
  1633. end
  1634. topkek.navigation.buildTopbar = function()
  1635. local top = topkek.topbar
  1636. local FELabel = top.Controllers.IsFE
  1637. top.PlayerName.Text = topkek.lplr.Name
  1638. if game:GetService('Workspace').FilteringEnabled == true then
  1639. FELabel.Text = "FE Game"
  1640. FELabel.TextColor3 = BrickColor.new("Bright red").Color
  1641. else
  1642. FELabel.Text = "Not FE"
  1643. FELabel.TextColor3 = BrickColor.new("Bright green").Color
  1644. end
  1645. top.Controllers.Hide.MouseButton1Down:connect(function()
  1646. if topkek.navigation.windowState == 0 then
  1647. topkek.navigation.windowState = 1
  1648. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
  1649. else
  1650. topkek.navigation.windowState = 0
  1651. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
  1652. end
  1653. end)
  1654. top.Controllers.Exit.MouseButton1Down:connect(function()
  1655. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
  1656. wait(0.31)
  1657. topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
  1658. PlayerChatHook:disconnect()
  1659. end)
  1660.  
  1661. end
  1662. topkek.navigation.initCommandBar = function()
  1663. DistributedCmdBar, cmd = topkek.holder.Command, {}
  1664. --weathered-down version of my cmdscript for topkek
  1665. cmd = {}
  1666.  
  1667. -- ** defines ** --
  1668. cmd.service = (function(a) return game:service(a) end)
  1669. cmd.gplayers = (function() return cmd.service'Players':GetPlayers() end)
  1670. cmd.players = cmd.service('Players')
  1671. cmd.localplayer = cmd.players.LocalPlayer
  1672.  
  1673. cmd.prefix = ';'
  1674. cmd.hidden = '/'
  1675.  
  1676. cmd.commands = {}
  1677. cmd.util = {}
  1678. cmd.interface = {}
  1679.  
  1680. cmd.admins = {}
  1681. cmd.noclip = false
  1682.  
  1683. -- ** util ** --
  1684. cmd.util.pos = function(str, pos)
  1685. local increment = 1
  1686. for spc in str:gmatch("[^ ]+") do
  1687. if increment == pos then
  1688. return spc
  1689. end
  1690. increment = increment + 1
  1691. end
  1692. return ''
  1693. end
  1694. cmd.util.pstr = function(str, re_enc)
  1695. str = string.lower(str)
  1696. local players = {}
  1697. if re_enc == true then
  1698. if str == 'me' then
  1699. return {game.Players.LocalPlayer}
  1700. end
  1701. if str == 'all' then
  1702. return game.Players:GetPlayers()
  1703. end
  1704. if str == 'others' then
  1705. for i, v in pairs(game.Players:GetPlayers()) do
  1706. if v ~= cmd.localplayer then
  1707. table.insert(players, v)
  1708. end
  1709. end
  1710. end
  1711. for i, v in pairs(game.Players:GetPlayers()) do
  1712. if string.lower(v.Name):sub(1, #str) == str then
  1713. table.insert(players, v)
  1714. end
  1715. end
  1716. return players
  1717. else
  1718. for seper in str:gmatch("[^,]+") do
  1719. for i, v in pairs(cmd.util.pstr(seper, true)) do
  1720. table.insert(players, v)
  1721. end
  1722. end
  1723. return players
  1724. end
  1725. end
  1726. cmd.util.parse = function(str, fmt)
  1727. local args = {}
  1728. local encountered = 0
  1729. local position = 1
  1730. for form in fmt:gmatch("[^%%]+") do
  1731. if position == 1 then
  1732. args['command'] = cmd.util.pos(str, position)
  1733. end
  1734. if form == 'inf' then
  1735. args[position] = str:sub(encountered, #str)
  1736. end
  1737. if form == 'int' then
  1738. local fetch = cmd.util.pos(str, position)
  1739. if tonumber(fetch) == nil then
  1740. return nil
  1741. end
  1742. args[position] = {'integer', data = fetch}
  1743. end
  1744. if form == 'str' then
  1745. local fetch = cmd.util.pos(str, position)
  1746. args[position] = {'string', data = fetch}
  1747. end
  1748. if form == 'plrs' then
  1749. args[position] = cmd.util.pstr(cmd.util.pos(str, position), false)
  1750. end
  1751. encountered = encountered + ((#cmd.util.pos(str, position)) + 1)
  1752. position = position + 1
  1753. end
  1754. return args
  1755. end
  1756. cmd.util.isadmin = function(p)
  1757. if p == cmd.localplayer.Name then
  1758. return true
  1759. else
  1760. for i, v in pairs(cmd.admins) do
  1761. if v == p.Name then
  1762. return true
  1763. end
  1764. end
  1765. return false
  1766. end
  1767. end
  1768. cmd.util.BombVest = function(Players)
  1769.  
  1770. local TickWait = 1
  1771. local Dead = false
  1772. local BeltPositions = { }
  1773. local ExplodeSounds = { }
  1774.  
  1775. for ___, player in pairs(Players) do
  1776. pcall(function()
  1777. local Me = player
  1778. local Char = Me.Character
  1779. local Torso = Char.Torso
  1780. local Color = "Medium stone gray"
  1781. local Dead = false
  1782.  
  1783.  
  1784. local Position = Vector3.new(0,100,0)
  1785. local function NewPart(Parent)
  1786. local Part = Instance.new("Part", Parent)
  1787. Part.CanCollide = false
  1788. Part.FormFactor = "Custom"
  1789. Part.Position = Position
  1790. Part.TopSurface = "Smooth"
  1791. Part.BottomSurface = "Smooth"
  1792. Part.BrickColor = BrickColor.new(Color)
  1793. Position = Position + Vector3.new(0,Part.Size.Y + 10,0)
  1794. return Part
  1795. end
  1796.  
  1797. local Model = Char:FindFirstChild("Bomb")
  1798. if Model then Model:Destroy() end
  1799.  
  1800. Model = Instance.new("Model", Char)
  1801. Model.Name = "Bomb"
  1802.  
  1803. local Belt = NewPart(Model)
  1804. Belt.Size = Vector3.new(2.2,0.5,1.2)
  1805. table.insert(BeltPositions, Belt)
  1806. local Weld = Instance.new("Weld", Belt)
  1807. Weld.Part0 = Belt
  1808. Weld.Part1 = Torso
  1809. Weld.C0 = CFrame.new(0,1.1,0)
  1810. local Light = Instance.new("PointLight", Belt)
  1811. Light.Range = 15
  1812. Light.Brightness = 5
  1813. Light.Color = Color3.new(1,0,0)
  1814. local Beep = Instance.new("Sound", Belt)
  1815. Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  1816. local ExplodeSound = Instance.new("Sound", Belt)
  1817. ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765
  1818. ExplodeSound.Pitch = 2.8
  1819. ExplodeSound.Volume = 3
  1820. table.insert(ExplodeSounds, ExplodeSound)
  1821.  
  1822. local Back = NewPart(Model)
  1823. Back.Size = Vector3.new(1.5,1.5,0.5)
  1824. local Weld = Instance.new("Weld", Back)
  1825. Weld.Part0 = Back
  1826. Weld.Part1 = Torso
  1827. Weld.C0 = CFrame.new(0,0.1,-0.75)
  1828.  
  1829. local StrapLeft = NewPart(Model)
  1830. StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  1831. local Weld = Instance.new("Weld", StrapLeft)
  1832. Weld.Part0 = StrapLeft
  1833. Weld.Part1 = Torso
  1834. Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  1835.  
  1836. local BuckleLeft = NewPart(Model)
  1837. BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  1838. local Weld = Instance.new("Weld", BuckleLeft)
  1839. Weld.Part0 = BuckleLeft
  1840. Weld.Part1 = Torso
  1841. Weld.C0 = CFrame.new(0.65,0.1,0.5)
  1842.  
  1843. local StrapRight = NewPart(Model)
  1844. StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  1845. local Weld = Instance.new("Weld", StrapRight)
  1846. Weld.Part0 = StrapRight
  1847. Weld.Part1 = Torso
  1848. Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  1849.  
  1850. local BuckleRight = NewPart(Model)
  1851. BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  1852. local Weld = Instance.new("Weld", BuckleRight)
  1853. Weld.Part0 = BuckleRight
  1854. Weld.Part1 = Torso
  1855. Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  1856.  
  1857.  
  1858. coroutine.wrap(function()
  1859. repeat
  1860. wait(TickWait)
  1861. Light.Enabled = not Light.Enabled
  1862. Beep:Play()
  1863. until Dead == true
  1864. end)()
  1865. end)
  1866. end
  1867.  
  1868. local Tool = Instance.new("HopperBin", cmd.localplayer.Backpack)
  1869. Tool.Name = "Bomb Vest"
  1870.  
  1871. Tool.Selected:connect(function(Mouse)
  1872. TickWait = 0.3
  1873. Mouse.Icon = "http://www.roblox.com/asset/?id=9109985"
  1874.  
  1875. Mouse.Button1Down:connect(function()
  1876. if Dead == false then
  1877. Dead = true
  1878. for i, Belt in pairs(BeltPositions) do
  1879. coroutine.wrap(function()
  1880. pcall(function() ExplodeSounds[i]:Play() end)
  1881. wait(1.4)
  1882. local Explosion = Instance.new("Explosion", workspace)
  1883. Explosion.Position = Belt.Position
  1884. Explosion.BlastPressure = 100000
  1885. Explosion.DestroyJointRadiusPercent = 0.7
  1886. Explosion.ExplosionType = "CratersAndDebris"
  1887. Explosion.BlastRadius = 50
  1888. Explosion.Hit:connect(function(Part, Distance)
  1889. Part.Anchored = false
  1890. if Distance <= 10 then
  1891. Part:BreakJoints()
  1892. end
  1893. end)
  1894. end)()
  1895. end
  1896. end
  1897. end)
  1898. end)
  1899.  
  1900. Tool.Deselected:connect(function()
  1901. TickWait = 1
  1902. end)
  1903. end
  1904. cmd.util.hulk = function(p)
  1905. function giant(p, size)
  1906. local pchar = p.Character
  1907. if pchar then
  1908. local function scale(chr,scl)
  1909.  
  1910. for _,v in pairs(pchar:GetChildren()) do
  1911. if v:IsA("Hat") then
  1912. v:Clone()
  1913. v.Parent = game.Lighting
  1914. end
  1915. end
  1916.  
  1917. local Head = chr['Head']
  1918. local Torso = chr['Torso']
  1919. local LA = chr['Left Arm']
  1920. local RA = chr['Right Arm']
  1921. local LL = chr['Left Leg']
  1922. local RL = chr['Right Leg']
  1923. local HRP = chr['HumanoidRootPart']
  1924.  
  1925. wait(0.1)
  1926.  
  1927. Head.formFactor = 3
  1928. Torso.formFactor = 3
  1929. LA.formFactor = 3
  1930. RA.formFactor = 3
  1931. LL.formFactor = 3
  1932. RL.formFactor = 3
  1933. HRP.formFactor = 3
  1934.  
  1935. Head.Size = Vector3.new(scl * 2, scl, scl)
  1936. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1937. LA.Size = Vector3.new(scl, scl * 2, scl)
  1938. RA.Size = Vector3.new(scl, scl * 2, scl)
  1939. LL.Size = Vector3.new(scl, scl * 2, scl)
  1940. RL.Size = Vector3.new(scl, scl * 2, scl)
  1941. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1942.  
  1943. local Motor1 = Instance.new('Motor6D', Torso)
  1944. Motor1.Part0 = Torso
  1945. Motor1.Part1 = Head
  1946. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1947. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1948. Motor1.Name = "Neck"
  1949.  
  1950. local Motor2 = Instance.new('Motor6D', Torso)
  1951. Motor2.Part0 = Torso
  1952. Motor2.Part1 = LA
  1953. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1954. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1955. Motor2.Name = "Left Shoulder"
  1956.  
  1957. local Motor3 = Instance.new('Motor6D', Torso)
  1958. Motor3.Part0 = Torso
  1959. Motor3.Part1 = RA
  1960. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1961. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1962. Motor3.Name = "Right Shoulder"
  1963.  
  1964. local Motor4 = Instance.new('Motor6D', Torso)
  1965. Motor4.Part0 = Torso
  1966. Motor4.Part1 = LL
  1967. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1968. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1969. Motor4.Name = "Left Hip"
  1970.  
  1971. local Motor5 = Instance.new('Motor6D', Torso)
  1972. Motor5.Part0 = Torso
  1973. Motor5.Part1 = RL
  1974. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1975. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1976. Motor5.Name = "Right Hip"
  1977.  
  1978. local Motor6 = Instance.new('Motor6D', HRP)
  1979. Motor6.Part0 = HRP
  1980. Motor6.Part1 = Torso
  1981. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1982. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1983.  
  1984. end
  1985.  
  1986. scale(pchar, size)
  1987. pchar.Humanoid.WalkSpeed = 15 * size
  1988.  
  1989. for _,v in pairs(game.Lighting:GetChildren()) do
  1990. if v:IsA("Hat") then
  1991. v.Parent = pchar
  1992. end
  1993. end
  1994. end
  1995. end
  1996.  
  1997. local plr = p
  1998. giant(plr, 3)
  1999. for i, v in pairs(plr.Character:GetChildren()) do
  2000. if v:IsA("BasePart") then
  2001. v.Touched:connect(function(p)
  2002. if p.Size.X<30 then
  2003. p.Anchored = false
  2004. p:BreakJoints()
  2005. end
  2006. end)
  2007. end
  2008. end
  2009.  
  2010. local csize = 3
  2011.  
  2012. local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  2013. local base = Instance.new("Frame", sgui)
  2014. base.BackgroundTransparency = 1
  2015. base.Size = UDim2.new(0, 110, 0, 200)
  2016. base.Position = UDim2.new(1, -120, 1, -180)
  2017. local indicator = Instance.new("TextLabel", base)
  2018. indicator.Size = UDim2.new(1, 0, 0, 25)
  2019. indicator.TextColor3 = Color3.new(1, 1, 1)
  2020. indicator.BackgroundTransparency = 0
  2021. indicator.FontSize = Enum.FontSize.Size18
  2022. indicator.Font = Enum.Font.SourceSans
  2023. indicator.Text = "Current Size: 3"
  2024. local PlusOne = Instance.new("TextButton", base)
  2025. PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  2026. PlusOne.Position = UDim2.new(0, 0, 0, 40)
  2027. PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
  2028. PlusOne.BorderSizePixel = 2
  2029. PlusOne.Font = Enum.Font.SourceSansBold
  2030. PlusOne.FontSize = Enum.FontSize.Size24
  2031. PlusOne.Text = "+1 Size"
  2032. local MinusOne = Instance.new("TextButton", base)
  2033. MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  2034. MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
  2035. MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
  2036. MinusOne.Text = "-1 Size"
  2037. MinusOne.BorderSizePixel = 2
  2038. MinusOne.Font = Enum.Font.SourceSansBold
  2039. MinusOne.FontSize = Enum.FontSize.Size24
  2040.  
  2041. PlusOne.MouseButton1Down:connect(function()
  2042. csize = csize + 1
  2043. giant(plr, csize)
  2044. indicator.Text = "Current Size: "..tostring(csize)
  2045. end)
  2046.  
  2047. MinusOne.MouseButton1Down:connect(function()
  2048. csize = csize - 1
  2049. giant(plr, csize)
  2050. indicator.Text = "Current Size: "..tostring(csize)
  2051. end)
  2052. end
  2053. cmd.util.R15 = function()
  2054. rcode=[[local function Init()
  2055. wait()
  2056. local function ConChar(P)
  2057. Character = P.Character
  2058.  
  2059. local R15Model = Instance.new("Model")
  2060. R15Model.Name = "R15Model"
  2061. R15Model.Parent = Character
  2062.  
  2063. local function CreateLimb(Name,Color,Size,Transparency,ConnectToLimb,MotorName,C0,C1,MeshId)
  2064. local Part = Instance.new("Part")
  2065. Part.FormFactor = "Custom"
  2066. Part.Size = Size
  2067. Part.BrickColor = Color
  2068. Part.CanCollide = false
  2069. Part.Name = Name
  2070. Part.Transparency = (Transparency == 0.001 and 0 or Transparency)
  2071. Part.TopSurface = "Smooth"
  2072. Part.BottomSurface = "Smooth"
  2073.  
  2074. local Motor = Instance.new("Motor6D")
  2075. Motor.C0 = C0
  2076. Motor.C1 = C1
  2077. Motor.Part0 = ConnectToLimb
  2078. Motor.Part1 = Part
  2079. Motor.Name = MotorName
  2080. Motor.MaxVelocity = 0.1
  2081. Motor.Parent = ConnectToLimb
  2082.  
  2083. if MeshId then
  2084. local Mesh = Instance.new("SpecialMesh")
  2085. Mesh.MeshType = "FileMesh"
  2086. Mesh.MeshId = MeshId
  2087. Mesh.Scale = Vector3.new(0.99,0.99,0.99)
  2088. Mesh.Parent = Part
  2089. end
  2090.  
  2091. if MeshId and Transparency == 0.001 then
  2092. local ShirtTexturePart = Instance.new("Part")
  2093. ShirtTexturePart.FormFactor = "Custom"
  2094. ShirtTexturePart.Size = Size
  2095. ShirtTexturePart.BrickColor = Color
  2096. ShirtTexturePart.CanCollide = false
  2097. ShirtTexturePart.Name = "ShirtTexturePart"
  2098. ShirtTexturePart.Transparency = Transparency
  2099. ShirtTexturePart.TopSurface = "Smooth"
  2100. ShirtTexturePart.BottomSurface = "Smooth"
  2101.  
  2102. local Mesh = Instance.new("SpecialMesh")
  2103. Mesh.MeshType = "FileMesh"
  2104. Mesh.MeshId = MeshId
  2105. Mesh.Parent = ShirtTexturePart
  2106.  
  2107. local Weld = Instance.new("Weld")
  2108. Weld.Part0 = Part
  2109. Weld.Part1 = ShirtTexturePart
  2110. Weld.Parent = ShirtTexturePart
  2111.  
  2112. ShirtTexturePart.Parent = Part
  2113. end
  2114. Part.Parent = R15Model
  2115. return Part
  2116. end
  2117.  
  2118.  
  2119. local HumanoidRootPart = CreateLimb("HumanoidRootPart",BrickColor.new("Medium stone grey"),Vector3.new(1,1,1),1,Character.HumanoidRootPart,"RootConnector",CFrame.new(),CFrame.new(0,0.7,0))
  2120. local LowerTorso = CreateLimb("LowerTorso",BrickColor.new("Bright blue"),Vector3.new(1,1,1),0.001,HumanoidRootPart,"Root",CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941715")
  2121. local UpperTorso = CreateLimb("UpperTorso",BrickColor.new("Bright blue"),Vector3.new(1,1,1),0.001,LowerTorso,"Waist",CFrame.new(0, 0.404105991, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941468")
  2122. local Head = CreateLimb("Head",BrickColor.new("Bright yellow"),Vector3.new(1,1,1),0,UpperTorso,"Neck",CFrame.new(0, 1.26949596, 0.0428609997, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.635110021, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941905")
  2123. local LeftUpperArm = CreateLimb("LeftUpperArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.672, 1),0.001,UpperTorso,"LeftShoulder",CFrame.new(-1.50177097, 0.924546003, 0, 1, 0, -0, 0, 0.999044001, 0.0437170006, 0, -0.0437170006, 0.999044001),CFrame.new(0, 0.336115986, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387938468")
  2124. local LeftLowerArm = CreateLimb("LeftLowerArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.703, 1),0.001,LeftUpperArm,"LeftElbow",CFrame.new(0, -0.336115986, 0, 1, 0, 0, 0, 0.999044001, -0.0437170006, 0, 0.0437170006, 0.999044001),CFrame.new(0, 0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387938971")
  2125. local LeftHand = CreateLimb("LeftHand",BrickColor.new("Bright yellow"),Vector3.new(1, 0.352, 1),0.001,LeftLowerArm,"LeftWrist",CFrame.new(0, -0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.175756007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939233")
  2126. local RightUpperArm = CreateLimb("RightUpperArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.671, 1),0.001,UpperTorso,"RightShoulder",CFrame.new(1.50049305, 0.923726022, 0, 1, 0, -0, 0, 0.999041617, 0.0437709838, 0, -0.0437709838, 0.999041617),CFrame.new(0, 0.335705996, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940113")
  2127. local RightLowerArm = CreateLimb("RightLowerArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.703, 1),0.001,RightUpperArm,"RightElbow",CFrame.new(0, -0.335705996, 0, 1, 0, 0, 0, 0.999041617, -0.0437709838, 0, 0.0437709838, 0.999041617),CFrame.new(0, 0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940356")
  2128. local RightHand = CreateLimb("RightHand",BrickColor.new("Bright yellow"),Vector3.new(1, 0.352, 1),0.001,RightLowerArm,"RightWrist",CFrame.new(0, -0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.175756007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940548")
  2129. local LeftUpperLeg = CreateLimb("LeftUpperLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.775, 1),0.001,LowerTorso,"LeftHip",CFrame.new(-0.457044005, -0.498115987, 0, 1, 0, -0, 0, 1, 0.000100999998, 0, -0.000100999998, 1),CFrame.new(0, 0.387418985, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939645")
  2130. local LeftLowerLeg = CreateLimb("LeftLowerLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.829, 1),0.001,LeftUpperLeg,"LeftKnee",CFrame.new(0, -0.387418985, 0, 1, 9.95820074e-007, 9.13360125e-008, -9.99999997e-007, 0.995820105, 0.0913360119, 0, -0.0913360119, 0.995820105),CFrame.new(0, 0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939489")
  2131. local LeftFoot = CreateLimb("LeftFoot",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.415, 1),0.001,LeftLowerLeg,"LeftAnkle",CFrame.new(0, -0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.207286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939912")
  2132. local RightUpperLeg = CreateLimb("RightUpperLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.775, 1),0.001,LowerTorso,"RightHip",CFrame.new(0.451141, -0.498115987, 0, 1, 0, -0, 0, 1, 0.000100999998, 0, -0.000100999998, 1),CFrame.new(0, 0.387418985, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940976")
  2133. local RightLowerLeg = CreateLimb("RightLowerLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.829, 1),0.001,RightUpperLeg,"RightKnee",CFrame.new(0, -0.387418985, 0, 1, 0, -0, 0, 0.995820105, 0.0913360119, 0, -0.0913360119, 0.995820105),CFrame.new(0, 0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940802")
  2134. local RightFoot = CreateLimb("RightFoot",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.415, 1),0.001,RightLowerLeg,"RightAnkle",CFrame.new(0, -0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.207286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941196")
  2135.  
  2136. --if Character:WaitForChild("Head"):WaitForChild("Mesh").MeshId ~= "" then
  2137. -- Head.MeshId = Character.Head.Mesh.MeshId
  2138. --end
  2139.  
  2140. Character:WaitForChild("Animate").Disabled = false
  2141. local Anim = game:GetObjects("rbxassetid://401967017")[1]; print("aobj", tostring(Anim))
  2142. for i, v in pairs(Anim:GetChildren()) do
  2143. v.Parent = script
  2144. end
  2145. script.Parent = Character
  2146.  
  2147. local function Clear(Name,Alternative,ColorParts)
  2148. local Part = Character:WaitForChild(Name)
  2149. Part.Transparency = (Name == "Head" and 0.99 or 1)
  2150. local function ChildAdded(Ins)
  2151. delay(0.05,function()
  2152. if Ins.Name == "face" then
  2153. if Alternative:FindFirstChild("face") then Alternative:FindFirstChild("face"):Destroy() end
  2154. Ins.Parent = Alternative
  2155. elseif Ins:IsA("Motor6D") and string.sub(Ins.Name,1,5) ~= "Fake_" then
  2156. Ins.Name = "Fake_"..Ins.Name
  2157. elseif Ins.Name == "HeadWeld" then
  2158. delay(0.05,function()
  2159. Ins.Parent = Head
  2160. Ins.Part0 = Head
  2161. Ins.C1 = CFrame.new(0,0,0.05) * Ins.C1
  2162. end)
  2163. elseif not Ins:IsA("Weld") then
  2164. Ins:Destroy()
  2165. end
  2166. end)
  2167. end
  2168. for _,Sub in pairs(Part:GetChildren()) do
  2169. ChildAdded(Sub)
  2170. end
  2171. Part.ChildAdded:connect(ChildAdded)
  2172.  
  2173. local function Color()
  2174. for _,Sub in pairs(ColorParts) do
  2175. Sub.BrickColor = Part.BrickColor
  2176. local TexturePart = Sub:FindFirstChild("ShirtTexturePart")
  2177. if TexturePart then
  2178. TexturePart.BrickColor = Part.BrickColor
  2179. end
  2180. end
  2181. end
  2182. Color()
  2183. Part.Changed:connect(Color)
  2184. end
  2185.  
  2186. Clear("HumanoidRootPart",HumanoidRootPart,{HumanoidRootPart})
  2187. Clear("Head",Head,{Head})
  2188. Clear("Torso",nil,{LowerTorso,UpperTorso})
  2189. Clear("Left Arm",nil,{LeftLowerArm,LeftUpperArm,LeftHand})
  2190. Clear("Right Arm",nil,{RightLowerArm,RightUpperArm,RightHand})
  2191. Clear("Left Leg",nil,{LeftLowerLeg,LeftUpperLeg,LeftFoot})
  2192. Clear("Right Leg",nil,{RightLowerLeg,RightUpperLeg,RightFoot})
  2193.  
  2194. local ShirtUsed = false
  2195. local function ChildAdded(Ins)
  2196. if Ins:IsA("Hat") and string.sub(Ins.Name,1,7) ~= "Scaled_" then
  2197. delay(0.05,function()
  2198. local Mesh = Ins:WaitForChild("Handle"):WaitForChild("Mesh")
  2199. Ins.AttachmentPos = Ins.AttachmentPos
  2200. Mesh.Scale = Mesh.Scale
  2201. Ins.Name = "Scaled_"..Ins.Name
  2202. end)
  2203. elseif Ins:IsA("Shirt") then
  2204. ShirtUsed = true
  2205. LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2206. UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2207. LeftLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2208. LeftUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2209. LeftHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2210. RightLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2211. RightUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2212. RightHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2213. elseif Ins:IsA("Pants") then
  2214. LeftUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2215. LeftLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2216. LeftFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2217. RightUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2218. RightLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2219. RightFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2220. if LowerTorso.ShirtTexturePart.Mesh.TextureId == "" then
  2221. LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2222. UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2223. end
  2224. end
  2225. end
  2226.  
  2227. for _,Sub in pairs(Character:GetChildren()) do
  2228. ChildAdded(Sub)
  2229. end
  2230. Character.ChildAdded:connect(ChildAdded)
  2231. loadstring(Anim.Source)()
  2232. end
  2233. ConChar(game:service'Players'.LocalPlayer)
  2234. end
  2235.  
  2236. Init()]]
  2237. spawn(function() loadstring(rcode)() end)
  2238. end
  2239. cmd.util.size = function(p, size)
  2240. -- omfg thanks var
  2241. local pchar = p.Character
  2242. local function scale(chr,scl)
  2243.  
  2244. for _,v in pairs(pchar:GetChildren()) do
  2245. if v:IsA("Hat") then
  2246. v:Clone()
  2247. v.Parent = game.Lighting
  2248. end
  2249. end
  2250.  
  2251. local Head = chr['Head']
  2252. local Torso = chr['Torso']
  2253. local LA = chr['Left Arm']
  2254. local RA = chr['Right Arm']
  2255. local LL = chr['Left Leg']
  2256. local RL = chr['Right Leg']
  2257. local HRP = chr['HumanoidRootPart']
  2258.  
  2259. wait(0.1)
  2260.  
  2261. Head.formFactor = 3
  2262. Torso.formFactor = 3
  2263. LA.formFactor = 3
  2264. RA.formFactor = 3
  2265. LL.formFactor = 3
  2266. RL.formFactor = 3
  2267. HRP.formFactor = 3
  2268.  
  2269. Head.Size = Vector3.new(scl * 2, scl, scl)
  2270. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  2271. LA.Size = Vector3.new(scl, scl * 2, scl)
  2272. RA.Size = Vector3.new(scl, scl * 2, scl)
  2273. LL.Size = Vector3.new(scl, scl * 2, scl)
  2274. RL.Size = Vector3.new(scl, scl * 2, scl)
  2275. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  2276.  
  2277. local Motor1 = Instance.new('Motor6D', Torso)
  2278. Motor1.Part0 = Torso
  2279. Motor1.Part1 = Head
  2280. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2281. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2282. Motor1.Name = "Neck"
  2283.  
  2284. local Motor2 = Instance.new('Motor6D', Torso)
  2285. Motor2.Part0 = Torso
  2286. Motor2.Part1 = LA
  2287. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2288. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2289. Motor2.Name = "Left Shoulder"
  2290.  
  2291. local Motor3 = Instance.new('Motor6D', Torso)
  2292. Motor3.Part0 = Torso
  2293. Motor3.Part1 = RA
  2294. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2295. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2296. Motor3.Name = "Right Shoulder"
  2297.  
  2298. local Motor4 = Instance.new('Motor6D', Torso)
  2299. Motor4.Part0 = Torso
  2300. Motor4.Part1 = LL
  2301. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2302. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2303. Motor4.Name = "Left Hip"
  2304.  
  2305. local Motor5 = Instance.new('Motor6D', Torso)
  2306. Motor5.Part0 = Torso
  2307. Motor5.Part1 = RL
  2308. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2309. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2310. Motor5.Name = "Right Hip"
  2311.  
  2312. local Motor6 = Instance.new('Motor6D', HRP)
  2313. Motor6.Part0 = HRP
  2314. Motor6.Part1 = Torso
  2315. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2316. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2317.  
  2318. end
  2319.  
  2320. scale(pchar, size)
  2321.  
  2322. for _,v in pairs(game.Lighting:GetChildren()) do
  2323. if v:IsA("Hat") then
  2324. v.Parent = pchar
  2325. end
  2326. end
  2327. end
  2328. cmd.util.checktable = function(t, v)
  2329. for i, __ in pairs(t) do
  2330. if __ == v then
  2331. return true
  2332. end
  2333. end
  2334. return false
  2335. end
  2336. cmd.util.nextrgb = function(r, g, b)
  2337. local ar, ag, ab = r, g, b
  2338. if r == 255 and g < 255 and b == 0 then
  2339. ag = g + 8.5
  2340. end
  2341. if g == 255 and r > 0 and b == 0 then
  2342. ar = r - 8.5
  2343. end
  2344. if g == 255 and b < 255 and r == 0 then
  2345. ab = b + 8.5
  2346. end
  2347. if b == 255 and g > 0 and r == 0 then
  2348. ag = g - 8.5
  2349. end
  2350. if b == 255 and r < 255 and g == 0 then
  2351. ar = r + 8.5
  2352. end
  2353. if r == 255 and b > 0 and g == 0 then
  2354. ab = b - 8.5
  2355. end
  2356. return {ar, ag, ab}
  2357. end
  2358. -- ** interface ** --
  2359. game:GetService('UserInputService').InputBegan:connect(function(inp)
  2360. if inp.UserInputType == Enum.UserInputType.Keyboard then
  2361. if inp.KeyCode == Enum.KeyCode.Semicolon then
  2362. DistributedCmdBar:CaptureFocus()
  2363. end
  2364. end
  2365. end)
  2366.  
  2367. -- ** commands ** --
  2368. cmd.commands.store = {}
  2369. cmd.commands.fmtstore = {}
  2370.  
  2371. cmd.commands.register = function(cmdz, fmt, func)
  2372. cmd.commands.store[cmdz] = (function(str) coroutine.wrap(function() pcall(function() func(cmd.util.parse(str, fmt)) end) end)() end)
  2373. cmd.commands.fmtstore[cmdz] = fmt
  2374. end
  2375.  
  2376. cmd.commands.run = function(str)
  2377. local cmdz = cmd.util.pos(str, 1)
  2378. if not cmd.commands.store[cmdz] then
  2379. return nil
  2380. else
  2381. cmd.commands.store[cmdz](str)
  2382. end
  2383. end
  2384.  
  2385. -- // actual commands // --
  2386.  
  2387. cmd.commands.register('kill', 'cmd%plrs', function(args)
  2388. for i, v in pairs(args[2]) do
  2389. v.Character.Humanoid.Health = 0
  2390. end
  2391. end)
  2392.  
  2393. cmd.commands.register('clone', 'cmd%plrs', function(args)
  2394. for i, v in pairs(args[2]) do
  2395. v.Character.Archivable = true
  2396. local clone = v.Character:Clone()
  2397. clone.Parent = game.Workspace
  2398. clone:MoveTo(v.Character.Torso.Position)
  2399. end
  2400. end)
  2401.  
  2402. cmd.commands.register('damage', 'cmd%plrs%int', function(args)
  2403. for i, v in pairs(args[2]) do
  2404. v.Character.Humanoid:TakeDamage(args[3].data)
  2405. end
  2406. end)
  2407.  
  2408. cmd.commands.register('freeze', 'cmd%plrs', function(args)
  2409. for i, v in pairs(args[2]) do
  2410. v.Character.Torso.Anchored = true
  2411. end
  2412. end)
  2413.  
  2414. cmd.commands.register('thaw', 'cmd%plrs', function(args)
  2415. for i, v in pairs(args[2]) do
  2416. v.Character.Torso.Anchored = false
  2417. end
  2418. end)
  2419. Fly = false;
  2420. cmd.commands.register('fly', 'cmd', function(args)
  2421. if Fly == true then
  2422. Fly = false
  2423. return
  2424. end
  2425. Fly = true
  2426. local mouse=game.Players.LocalPlayer:GetMouse''
  2427. localplayer=game.Players.LocalPlayer
  2428. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  2429. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  2430. local speed=0
  2431. local keys={a=false,d=false,w=false,s=false}
  2432. local e1
  2433. local e2
  2434. local function start()
  2435. local pos = Instance.new("BodyPosition",torso)
  2436. local gyro = Instance.new("BodyGyro",torso)
  2437. pos.Name="EPIXPOS"
  2438. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2439. pos.position = torso.Position
  2440. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2441. gyro.cframe = torso.CFrame
  2442. repeat
  2443. wait()
  2444. localplayer.Character.Humanoid.PlatformStand=true
  2445. local new=gyro.cframe - gyro.cframe.p + pos.position
  2446. if not keys.w and not keys.s and not keys.a and not keys.d then
  2447. speed=1
  2448. end
  2449. if keys.w then
  2450. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2451. speed=speed+0.01
  2452. end
  2453. if keys.s then
  2454. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2455. speed=speed+0.01
  2456. end
  2457. if keys.d then
  2458. new = new * CFrame.new(speed,0,0)
  2459. speed=speed+0.01
  2460. end
  2461. if keys.a then
  2462. new = new * CFrame.new(-speed,0,0)
  2463. speed=speed+0.01
  2464. end
  2465. if speed>5 then
  2466. speed=5
  2467. end
  2468. pos.position=new.p
  2469. if keys.w then
  2470. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  2471. elseif keys.s then
  2472. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  2473. else
  2474. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  2475. end
  2476. until not Fly
  2477. if gyro then gyro:Destroy() end
  2478. if pos then pos:Destroy() end
  2479. flying=false
  2480. localplayer.Character.Humanoid.PlatformStand=false
  2481. speed=0
  2482. end
  2483. e1=mouse.KeyDown:connect(function(key)
  2484. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  2485. if key=="w" then
  2486. keys.w=true
  2487. elseif key=="s" then
  2488. keys.s=true
  2489. elseif key=="a" then
  2490. keys.a=true
  2491. elseif key=="d" then
  2492. keys.d=true
  2493. end
  2494. end)
  2495. e2=mouse.KeyUp:connect(function(key)
  2496. if key=="w" then
  2497. keys.w=false
  2498. elseif key=="s" then
  2499. keys.s=false
  2500. elseif key=="a" then
  2501. keys.a=false
  2502. elseif key=="d" then
  2503. keys.d=false
  2504. end
  2505. end)
  2506. start()
  2507. end)
  2508. cmd.commands.register('tp', 'cmd%plrs%plrs', function(args)
  2509. local players = args[2]
  2510. local target = args[3][1]
  2511. for i, player in pairs(args[2]) do
  2512. player.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  2513. end
  2514. end)
  2515.  
  2516. cmd.commands.register('naked', 'cmd%plrs', function(args)
  2517. for i, v in pairs(args[2]) do
  2518. v:ClearCharacterAppearance()
  2519. end
  2520. end)
  2521. cmd.commands.register('sgod', 'cmd%plrs', function(args)
  2522. for i, v in pairs(args[2]) do
  2523. v.Character.Humanoid.MaxHealth = 999999999
  2524. v.Character.Humanoid.Health = 999999999
  2525. end
  2526. end)
  2527.  
  2528. cmd.commands.register('ws', 'cmd%plrs%int', function(args)
  2529. for i, v in pairs(args[2]) do
  2530. v.Character.Humanoid.WalkSpeed = args[3].data
  2531. end
  2532. end)
  2533.  
  2534. cmd.commands.register('lag', 'cmd%plrs', function(args)
  2535. for i, v in pairs(args[2]) do
  2536. coroutine.wrap(function()
  2537. for i = 1, 200 do
  2538. ypcall(function()
  2539. coroutine.wrap(function()
  2540. for i = 1, 1000 do
  2541. Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  2542. end
  2543. end)()
  2544. end)
  2545. wait()
  2546. end
  2547. end)()
  2548. end
  2549. end)
  2550.  
  2551. cmd.commands.register('ban', 'cmd%plrs', function(args)
  2552. for i, v in pairs(args[2]) do
  2553. table.insert(cmd.bans, v.Name)
  2554. v.Parent = nil
  2555. end
  2556. end)
  2557.  
  2558. cmd.commands.register('lagban', 'cmd%plrs', function(args)
  2559. for i, v in pairs(args[2]) do
  2560. table.insert(cmd.lagbans, v.Name)
  2561. coroutine.wrap(function()
  2562. for i = 1, 200 do
  2563. ypcall(function()
  2564. coroutine.wrap(function()
  2565. for i = 1, 1000 do
  2566. Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  2567. end
  2568. end)()
  2569. end)
  2570. wait()
  2571. end
  2572. end)()
  2573. end
  2574. end)
  2575.  
  2576. cmd.commands.register('punish', 'cmd%plrs', function(args)
  2577. for i, v in pairs(args[2]) do
  2578. v.Character.Parent = game.Lighting
  2579. end
  2580. end)
  2581.  
  2582. cmd.commands.register('unpunish', 'cmd%plrs', function(args)
  2583. for i, v in pairs(args[2]) do
  2584. v.Character.Parent = game.Workspace
  2585. end
  2586. end)
  2587.  
  2588. cmd.commands.register('respawn', 'cmd%plrs', function(args)
  2589. for i, v in pairs(args[2]) do
  2590. local a1 = Instance.new("Model", game.Workspace)
  2591. local a2 = Instance.new("Part", game.Workspace)
  2592. a2.CanCollide = true
  2593. a2.Anchored = true
  2594. a2.CFrame = CFrame.new(10000, 10000, 10000)
  2595. a2.Name = "Torso"
  2596. local a3 = Instance.new("Humanoid", a1)
  2597. a3.MaxHealth=100;a3.Health=100
  2598. v.Character = a1
  2599. a3.Health=0
  2600. end
  2601. end)
  2602.  
  2603. cmd.commands.register('shutdown', 'cmd', function(args)
  2604. for i, v in pairs(cmd.service('Players'):GetPlayers()) do
  2605. v.Parent = nil
  2606. end
  2607. end)
  2608.  
  2609. cmd.commands.register('music', 'cmd%int', function(args)
  2610. local a = Instance.new("Sound")
  2611. a.SoundId = "rbxassetid://" .. tostring(args[2].data)
  2612. a.Looped = true
  2613. a.Volume = 1
  2614. a.Parent = game.Workspace
  2615. a:Play()
  2616.  
  2617. end)
  2618.  
  2619. cmd.commands.register('sit', 'cmd%plrs', function(args)
  2620. for i, v in pairs(args[2]) do
  2621. v.Character.Humanoid.Sit = true
  2622. end
  2623. end)
  2624.  
  2625. cmd.commands.register('jump', 'cmd%plrs', function(args)
  2626. for i, v in pairs(args[2]) do
  2627. v.Character.Humanoid.Jump = true
  2628. end
  2629. end)
  2630.  
  2631. cmd.commands.register('stun', 'cmd%plrs', function(args)
  2632. for i, v in pairs(args[2]) do
  2633. v.Character.Humanoid.PlatformStand = true
  2634. end
  2635. end)
  2636.  
  2637. cmd.commands.register('unstun', 'cmd%plrs', function(args)
  2638. for i, v in pairs(args[2]) do
  2639. v.Character.Humanoid.PlatformStand = false
  2640. end
  2641. end)
  2642.  
  2643. cmd.commands.register('loopstate', 'cmd%int', function(args)
  2644. coroutine.resume(coroutine.create(function()
  2645. repeat
  2646. ypcall(function() cmd.localplayer.Character.Humanoid:ChangeState(args[2].data) end)
  2647. wait(0)
  2648. until cmd.localplayer.Character.Humanoid == nil
  2649. end))
  2650. end)
  2651.  
  2652. cmd.commands.register('invis', 'cmd%plrs', function(args)
  2653. for i, v in pairs(args[2]) do
  2654. local function dloop(o)
  2655. for i, v in pairs(o:GetChildren()) do
  2656. pcall(function() v.Transparency = 1 end)
  2657. dloop(v)
  2658. end
  2659. end
  2660. dloop(v.Character)
  2661. end
  2662. end)
  2663.  
  2664. cmd.commands.register('vis', 'cmd%plrs', function(args)
  2665. for i, v in pairs(args[2]) do
  2666. local function dloop(o)
  2667. for i, v in pairs(o:GetChildren()) do
  2668. pcall(function() v.Transparency = 0 end)
  2669. dloop(v)
  2670. end
  2671. end
  2672. v.Character.HumanoidRootPart.Transparency = 1
  2673. dloop(v.Character)
  2674. end
  2675. end)
  2676.  
  2677. cmd.commands.register('nuke', 'cmd%plrs', function(args)
  2678. for i, v in pairs(args[2]) do
  2679. if v.Character then
  2680. local nuke = Instance.new("Part", game.Workspace)
  2681. nuke.Anchored = true
  2682. nuke.CanCollide = false
  2683. nuke.FormFactor = "Symmetric"
  2684. nuke.Shape = "Ball"
  2685. nuke.Size = Vector3.new(1,1,1)
  2686. nuke.BrickColor = BrickColor.new("New Yeller")
  2687. nuke.Transparency = 0.5
  2688. nuke.Reflectance = 0.2
  2689. nuke.TopSurface = 0
  2690. nuke.BottomSurface = 0
  2691. nuke.Touched:connect(function (hit)
  2692. if hit and hit.Parent then
  2693. local boom = Instance.new("Explosion", game.Workspace)
  2694. boom.Position = hit.Position
  2695. boom.BlastRadius = 11
  2696. boom.BlastPressure = math.huge
  2697. end
  2698. end)
  2699. local CF = v.Character.Torso.CFrame
  2700. nuke.CFrame = CF
  2701. for i = 1,333 do
  2702. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  2703. nuke.CFrame = CF
  2704. wait(1/44)
  2705. end
  2706. nuke:Destroy()
  2707. end
  2708. end
  2709. end)
  2710.  
  2711. cmd.commands.register('explode', 'cmd%plrs', function(args)
  2712. for i, v in pairs(args[2]) do
  2713. Instance.new("Explosion", v.Character.Torso).Position = v.Character.Torso.Position
  2714. end
  2715. end)
  2716.  
  2717. cmd.commands.register('hat', 'cmd%plrs%int', function(args)
  2718. for i, v in pairs(args[2]) do
  2719. cmd.service('InsertService'):LoadAsset(args[3].data):GetChildren()[1].Parent = v.Character
  2720. end
  2721. end)
  2722.  
  2723. cmd.commands.register('chat', 'cmd%plrs%inf', function(args)
  2724. for i, v in pairs(args[2]) do
  2725. game:GetService('Chat'):Chat(v.Character, args[3], 1)
  2726. end
  2727. end)
  2728.  
  2729. cmd.commands.register('god', 'cmd%plrs', function(args)
  2730. for i, v in pairs(args[2]) do
  2731. v.Character.Humanoid.MaxHealth = math.huge
  2732. v.Character.Humanoid.Health = math.huge
  2733. end
  2734. end)
  2735.  
  2736. cmd.commands.register('ungod', 'cmd%plrs', function(args)
  2737. for i, v in pairs(args[2]) do
  2738. v.Character.Humanoid.Health = 100
  2739. v.Character.Humanoid.MaxHealth = 100
  2740. end
  2741. end)
  2742.  
  2743. cmd.commands.register('rh', 'cmd%plrs', function(args)
  2744. for i, v in pairs(args[2]) do
  2745. v.Character.Humanoid.Parent = nil
  2746. end
  2747. end)
  2748.  
  2749. cmd.commands.register('fire', 'cmd%plrs', function(args)
  2750. for i, v in pairs(args[2]) do
  2751. Instance.new('Fire', v.Character.Torso)
  2752. end
  2753. end)
  2754.  
  2755. cmd.commands.register('insane', 'cmd%plrs', function(args)
  2756. for x, m in pairs(args[2]) do
  2757. for i,v in pairs(m.Character.Torso:GetChildren()) do
  2758. if v:IsA("Motor6D") then
  2759. coroutine.wrap(function()
  2760. while v do
  2761. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  2762. wait()
  2763. end
  2764. end)()
  2765. end
  2766. end
  2767. end
  2768. end)
  2769.  
  2770. cmd.commands.register('admin', 'cmd%plrs',function(args)
  2771. for i, v in pairs(args[2]) do
  2772. --table.insert(cmd.admins, v.Name)
  2773. v.Chatted:connect(function(msg)
  2774. if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  2775. cmd.commands.run(msg:sub(2, #msg))
  2776. end
  2777. end)
  2778. end
  2779. end)
  2780.  
  2781. cmd.commands.register('nosound', 'cmd', function(args)
  2782. local function dx(o)
  2783. for i, v in pairs(o:GetChildren()) do
  2784. if v:IsA("Sound") then
  2785. v:Stop()
  2786. end
  2787. dx(v)
  2788. end
  2789. end
  2790. dx(game.Workspace)
  2791. end)
  2792.  
  2793. cmd.commands.register('duck', 'cmd%plrs', function(args)
  2794. for _,p in pairs(args[2]) do
  2795. local pchar = p.Character
  2796. for i,v in pairs(pchar.Torso:GetChildren()) do
  2797. if v:IsA("Decal") then
  2798. v:Destroy()
  2799. end
  2800. end
  2801. for i,v in pairs(pchar:GetChildren()) do
  2802. if v:IsA("Hat") then
  2803. v:Destroy()
  2804. end
  2805. end
  2806. local duck = Instance.new("SpecialMesh", pchar.Torso)
  2807. duck.MeshType = "FileMesh"
  2808. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  2809. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  2810. duck.Scale = Vector3.new(5, 5, 5)
  2811. pchar.Head.Transparency = 1
  2812. pchar["Left Arm"].Transparency = 1
  2813. pchar["Right Arm"].Transparency = 1
  2814. pchar["Left Leg"].Transparency = 1
  2815. pchar["Right Leg"].Transparency = 1
  2816. pchar.Head.face.Transparency = 1
  2817. end
  2818. end)
  2819.  
  2820. cmd.commands.register('shrek', 'cmd%plrs', function(args)
  2821. for i, v in pairs(args[2]) do
  2822. local pchar = v.Character
  2823. for i,v in pairs(pchar:GetChildren()) do
  2824. if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  2825. v:Destroy()
  2826. end
  2827. end
  2828. for i,v in pairs(pchar.Head:GetChildren()) do
  2829. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  2830. v:Destroy()
  2831. end
  2832. end
  2833.  
  2834. local mesh = Instance.new("SpecialMesh", pchar.Head)
  2835. mesh.MeshType = "FileMesh"
  2836. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  2837. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  2838. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  2839.  
  2840. local Shirt = Instance.new("Shirt", v.Character)
  2841. local Pants = Instance.new("Pants", v.Character)
  2842.  
  2843. Shirt.ShirtTemplate = "rbxassetid://133078194"
  2844. Pants.PantsTemplate = "rbxassetid://133078204"
  2845. end
  2846. end)
  2847.  
  2848. cmd.commands.register('nograv', 'cmd%plrs', function(args)
  2849. for i, v in pairs(args[2]) do
  2850. for x, m in pairs(v.Character:GetChildren()) do
  2851. if m:IsA("BasePart") then
  2852. local bf = Instance.new("BodyForce", m)
  2853. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  2854. end
  2855. if m:IsA("Hat") then
  2856. if m:findFirstChild("Handle") then
  2857. local bf = Instance.new("BodyForce", m.Handle)
  2858. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  2859. end
  2860. end
  2861. end
  2862. end
  2863. end)
  2864.  
  2865. cmd.commands.register('loopheal', 'cmd%plrs', function(args)
  2866. for i, v in pairs(args[2]) do
  2867. coroutine.wrap(function()
  2868. while wait() do
  2869. if v.Character.Humanoid then
  2870. v.Character.Humanoid.Health = 1000
  2871. v.Character.Humanoid.MaxHealth = 1000
  2872. end
  2873. end
  2874. end)()
  2875. end
  2876. end)
  2877.  
  2878. cmd.commands.register('hulk', 'cmd%plrs', function(args)
  2879. for i, v in pairs(args[2]) do
  2880. cmd.util.hulk(v)
  2881. end
  2882. end)
  2883.  
  2884. cmd.commands.register('sky', 'cmd%int', function(args)
  2885. local ID = args[2].data
  2886. local sky = Instance.new("Sky", game.Lighting)
  2887. sky.SkyboxBk = "rbxassetid://" .. ID
  2888. sky.SkyboxDn = "rbxassetid://" .. ID
  2889. sky.SkyboxFt = "rbxassetid://" .. ID
  2890. sky.SkyboxLf = "rbxassetid://" .. ID
  2891. sky.SkyboxRt = "rbxassetid://" .. ID
  2892. sky.SkyboxUp = "rbxassetid://" .. ID
  2893. end)
  2894.  
  2895. cmd.commands.register('bombs', 'cmd%plrs', function(args)
  2896. cmd.util.BombVest(args[2])
  2897. end)
  2898.  
  2899. cmd.commands.register('control', 'cmd%plrs', function(args)
  2900. -- variable
  2901. local pchar = args[2][1].Character
  2902. local char = cmd.localplayer.Character
  2903. pchar.Humanoid.PlatformStand = true
  2904. local w = Instance.new("Weld", pchar.Torso)
  2905. w.Part0 = pchar.Torso
  2906. w.Part1 = pchar.Torso
  2907. local w2 = Instance.new("Weld", pchar.Head)
  2908. w2.Part0 = pchar.Head
  2909. w2.Part1 = pchar.Head
  2910. local w3 = Instance.new("Weld", pchar:findFirstChild("Right Arm"))
  2911. w3.Part0 = pchar:findFirstChild("Right Arm")
  2912. w3.Part1 = pchar:findFirstChild("Right Arm")
  2913. local w4 = Instance.new("Weld", pchar:findFirstChild("Left Arm"))
  2914. w4.Part0 = pchar:findFirstChild("Left Arm")
  2915. w4.Part1 = pchar:findFirstChild("Left Arm")
  2916. local w5 = Instance.new("Weld", pchar:findFirstChild("Right Leg"))
  2917. w5.Part0 = pchar:findFirstChild("Right Leg")
  2918. w5.Part1 = pchar:findFirstChild("Right Leg")
  2919. local w6 = Instance.new("Weld", pchar:findFirstChild("Left Leg"))
  2920. w6.Part0 = pchar:findFirstChild("Left Leg")
  2921. w6.Part1 = pchar:findFirstChild("Left Leg")
  2922. char.Head.face:Destroy()
  2923. for i,v in pairs(pchar:GetChildren()) do
  2924. if v:IsA("BasePart") then
  2925. v.CanCollide = false
  2926. end
  2927. end
  2928. for i,v in pairs(char:GetChildren()) do
  2929. if v:IsA("BasePart") then
  2930. v.Transparency = 1
  2931. elseif v:IsA("Hat") then
  2932. v:Destroy()
  2933. end
  2934. end
  2935. pchar.Parent = char
  2936. repeat
  2937. pchar.Humanoid.PlatformStand = true
  2938. wait()
  2939. until char.Parent == nil
  2940. end)
  2941.  
  2942. cmd.commands.register('rtag', 'cmd%inf', function(args)
  2943. local len = 10; local player = cmd.localplayer
  2944. local bb = Instance.new("BillboardGui")
  2945. bb.Parent = player.Character.Head
  2946. bb.Adornee = player.Character.Head
  2947. bb.AlwaysOnTop = true
  2948. bb.Enabled = true
  2949. bb.Size = UDim2.new(len, 0, 1.5, 0)
  2950. bb.Name = "tag"
  2951. bb.StudsOffset = Vector3.new(0, 3, 0)
  2952. --local fr = Instance.new("Frame")
  2953. --fr.Parent = bb
  2954. --fr.Size = UDim2.new(1, 0, 1, 0)
  2955. --fr.Style = Enum.FrameStyle.RobloxRound
  2956. local tl = Instance.new("TextLabel")
  2957. tl.Parent = bb
  2958. tl.BackgroundTransparency = 1
  2959. tl.TextScaled = true
  2960. tl.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  2961. tl.Size = UDim2.new(1, 0, 1, 0)
  2962. tl.Text = args[2]
  2963. tl.Name = "trutag"
  2964. tl.Visible = true
  2965. tl.ZIndex = 2
  2966. coroutine.wrap(function()
  2967. local r, g, b = 255, 0, 0
  2968. repeat
  2969. tl.TextColor3 = Color3.new(r/255, g/255, b/255)
  2970. local bo = cmd.util.nextrgb(r, g, b)
  2971. r = bo[1]; g = bo[2]; b = bo[3];
  2972. wait()
  2973. until bb == nil
  2974. end)()
  2975. end)
  2976.  
  2977. cmd.commands.register('smoke', 'cmd%plrs', function(args)
  2978. for i, v in pairs(args[2]) do
  2979. Instance.new('Smoke', v.Character.Torso)
  2980. end
  2981. end)
  2982.  
  2983. cmd.commands.register('btools', 'cmd%plrs', function(args)
  2984. for i, p in pairs(args[2]) do
  2985. local a = Instance.new("HopperBin")
  2986. a.BinType = "GameTool"
  2987. a.Parent = p.Backpack
  2988. local a = Instance.new("HopperBin")
  2989. a.BinType = "Clone"
  2990. a.Parent = p.Backpack
  2991. local a = Instance.new("HopperBin")
  2992. a.BinType = "Hammer"
  2993. a.Parent = p.Backpack
  2994. end
  2995. end)
  2996.  
  2997. con = nil;
  2998. cmd.commands.register('noclip', 'cmd', function(args)
  2999. cmd.noclip = false
  3000. con = game:GetService('RunService').Stepped:connect(function()
  3001. if cmd.noclip == true then
  3002. con:disconnect()
  3003. else
  3004. cmd.localplayer.Character.Torso.CanCollide = false
  3005. cmd.localplayer.Character.Head.CanCollide = false
  3006. end
  3007. end)
  3008. end)
  3009.  
  3010. cmd.commands.register('clip', 'cmd', function(args)
  3011. cmd.noclip = true
  3012. end)
  3013.  
  3014. cmd.commands.register('gear', 'cmd%plrs%int', function(args)
  3015. local gear = game:GetService("InsertService"):LoadAsset(args[3].data):GetChildren()[1]
  3016. if not gear then return end
  3017. for i, v in pairs(args[2]) do
  3018. gear:Clone().Parent = v.Backpack
  3019. end
  3020. end)
  3021.  
  3022. cmd.commands.register('kick', 'cmd%plrs', function(args)
  3023. for i, v in pairs(args[2]) do
  3024. v.Parent = nil
  3025. end
  3026. end)
  3027.  
  3028. cmd.commands.register('r15', 'cmd', function(args)
  3029. cmd.util.R15()
  3030. end)
  3031.  
  3032. cmd.commands.register('char', 'cmd%plrs%str', function(args)
  3033. if tonumber(args[3].data) ~= nil then
  3034. args[3].data = tonumber(args[3].data)
  3035. else
  3036. args[3].data = cmd.players:GetUserIdFromNameAsync(args[3].data)
  3037. end
  3038. for i, v in pairs(args[2]) do
  3039. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=' .. args[3].data
  3040. pcall(function() v.Character.Humanoid.Health = 0 end)
  3041. end
  3042. end)
  3043.  
  3044. cmd.commands.register('noob', 'cmd%plrs', function(args)
  3045. for i, v in pairs(args[2]) do
  3046. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=4'
  3047. pcall(function() v.Character.Humanoid.Health = 0 end)
  3048. end
  3049. end)
  3050.  
  3051. cmd.commands.register('ff', 'cmd%plrs', function(args)
  3052. for i, v in pairs(args[2]) do
  3053. Instance.new("ForceField", v.Character)
  3054. end
  3055. end)
  3056.  
  3057. cmd.commands.register('unff', 'cmd%plrs', function(args)
  3058. for i, v in pairs(args[2]) do
  3059. for x, m in pairs(v.Character:GetChildren()) do
  3060. if m:IsA("ForceField") then
  3061. m.Parent = nil
  3062. end
  3063. end
  3064. end
  3065. end)
  3066.  
  3067. cmd.commands.register('guest', 'cmd%plrs', function(args)
  3068. for i, v in pairs(args[2]) do
  3069. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=1'
  3070. pcall(function() v.Character.Humanoid.Health = 0 end)
  3071. end
  3072. end)
  3073.  
  3074. cmd.commands.register('giraffe', 'cmd%plrs', function(args)
  3075. for i, v in pairs(args[2]) do
  3076. local char=v.Character
  3077. local h=char.Head
  3078. local tor=char.Torso
  3079. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  3080. local fn=Instance.new("Part",char)
  3081. fn.Size=Vector3.new(1,5.5,1)
  3082. fn.Name="FakeNeck"
  3083. fn.Anchored=false
  3084. fn.CanCollide=false
  3085. if char:FindFirstChild("Body Colors") then
  3086. fn.BrickColor=char["Body Colors"].HeadColor
  3087. end
  3088. local cm=Instance.new("CylinderMesh",fn)
  3089. local we=Instance.new("Weld",h)
  3090. we.Part0=h
  3091. we.Part1=fn
  3092. we.C1=we.C1*CFrame.new(0,2.6,0)
  3093. end
  3094. end)
  3095.  
  3096. cmd.commands.register('notools', 'cmd%plrs', function(args)
  3097. for i, v in pairs(args[2]) do
  3098. for x, m in pairs(v.Backpack:GetChildren()) do
  3099. m.Parent = nil
  3100. end
  3101. end
  3102. end)
  3103.  
  3104. cmd.commands.register('taketools', 'cmd%plrs', function(args)
  3105. for i, v in pairs(args[2]) do
  3106. for x, m in pairs(v.Backpack:GetChildren()) do
  3107. m.Parent = cmd.localplayer.Backpack
  3108. end
  3109. end
  3110. end)
  3111.  
  3112. cmd.commands.register('confuse', 'cmd%plrs', function(args)
  3113. for i, v in pairs(args[2]) do
  3114. v.Character.Humanoid.WalkSpeed = -16
  3115. end
  3116. end)
  3117.  
  3118. cmd.commands.register('spin', 'cmd%plrs', function(args)
  3119. for i, v in pairs(args[2]) do
  3120. for i,v in pairs(v.Character.Torso:GetChildren()) do
  3121. if v.Name == "Spinning" then
  3122. v:Destroy()
  3123. end
  3124. end
  3125. local Torso = v.Character.Torso
  3126. local BG = Instance.new("BodyGyro", Torso)
  3127. BG.Name = "Spinning"
  3128. BG.maxTorque = Vector3.new(0, math.huge, 0)
  3129. BG.P = 11111
  3130. BG.cframe = Torso.CFrame
  3131. repeat wait(1/44)
  3132. BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  3133. until not BG or BG.Parent ~= Torso
  3134. end
  3135. end)
  3136.  
  3137. cmd.commands.register('fling', 'cmd%plrs', function(args)
  3138. for i, v in pairs(args[2]) do
  3139. local pchar = v.Character
  3140. if pchar:FindFirstChild("Humanoid") then
  3141. local xran
  3142. local zran
  3143. repeat
  3144. xran = math.random(-9999,9999)
  3145. until math.abs(xran) >= 5555
  3146. repeat
  3147. zran = math.random(-9999,9999)
  3148. until math.abs(zran) >= 5555
  3149. pchar.Humanoid.Sit = true
  3150. pchar.Torso.Velocity = Vector3.new(0,0,0)
  3151. local BF = Instance.new("BodyForce", pchar.Torso)
  3152. BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  3153. end
  3154. end
  3155. end)
  3156.  
  3157. cmd.commands.register('burn', 'cmd%plrs', function(args)
  3158. for i, v in pairs(args[2]) do
  3159. spawn(function()
  3160. wait(0.1)
  3161. local fire=Instance.new("Fire", v.Character.Torso)
  3162. wait(0.1)
  3163. local fire=Instance.new("Fire", v.Character.Head)
  3164. wait(0.1)
  3165. local fire=Instance.new("Fire", v.Character["Left Arm"])
  3166. wait(0.1)
  3167. local fire=Instance.new("Fire", v.Character["Right Leg"])
  3168. wait(0.5)
  3169. v.Character:BreakJoints();
  3170. end)
  3171. end
  3172. end)
  3173.  
  3174. cmd.commands.register('printcmds', 'cmd', function(args)
  3175. for i, v in pairs(cmd.commands.store) do
  3176. print(i, '==', v)
  3177. end
  3178. end)
  3179.  
  3180. cmd.commands.register('gun', 'cmd%plrs', function(args)
  3181. local a = game:GetService("InsertService"):LoadAsset(130113146):GetChildren()[1]
  3182. local b = game:GetService("InsertService"):LoadAsset(67747912):GetChildren()[1]
  3183. local c = game:GetService("InsertService"):LoadAsset(95354288):GetChildren()[1]
  3184. for i, v in pairs(args[2]) do
  3185. a:Clone().Parent = v.Backpack
  3186. b:Clone().Parent = v.Backpack
  3187. c:Clone().Parent = v.Backpack
  3188. end
  3189. end)
  3190.  
  3191.  
  3192. cmd.commands.register('goto', 'cmd%plrs', function(args)
  3193. local target = args[2][1]
  3194. cmd.localplayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  3195. end)
  3196.  
  3197. cmd.commands.register('select', 'cmd%plrs', function(args)
  3198. for i, v in pairs(args[2]) do
  3199. Instance.new("SelectionBox", v.Character).Adornee = v.Character
  3200. end
  3201. end)
  3202.  
  3203. cmd.commands.register('sphere', 'cmd%plrs', function(args)
  3204. for i, v in pairs(args[2]) do
  3205. Instance.new("SelectionSphere", v.Character).Adornee = v.Character
  3206. end
  3207. end)
  3208.  
  3209. cmd.commands.register('bring', 'cmd%plrs', function(args)
  3210. for i, v in pairs(args[2]) do
  3211. v.Character.HumanoidRootPart.CFrame = cmd.localplayer.Character.HumanoidRootPart.CFrame
  3212. end
  3213. end)
  3214.  
  3215. cmd.commands.register('knife', 'cmd%plrs', function(args)
  3216. local knife = game:GetService("InsertService"):LoadAsset(170897263):GetChildren()[1]
  3217. for i, v in pairs(args[2]) do
  3218. knife:Clone().Parent = v
  3219. end
  3220. end)
  3221.  
  3222. cmd.commands.register('shades', 'cmd%plrs', function(args)
  3223. local shades = game:GetService('InsertService'):LoadAsset(11748356):GetChildren()[1]
  3224. for i, v in pairs(args[2]) do
  3225. shades:Clone().Parent = v.Character
  3226. end
  3227. end)
  3228.  
  3229. cmd.commands.register('alien', 'cmd%plrs', function(args)
  3230. -- variable
  3231. for i, v in pairs(args[2]) do
  3232. local pchar = v.Character
  3233. if pchar:FindFirstChild('Shirt') then
  3234. pchar.Shirt:Destroy()
  3235. end
  3236. if pchar:FindFirstChild('Pants') then
  3237. pchar.Pants:Destroy()
  3238. end
  3239. if pchar:FindFirstChild('Shirt Graphic') then
  3240. pchar['Shirt Graphic'].Graphic = ''
  3241. end
  3242. for i,v in pairs(pchar:GetChildren()) do
  3243. if v:IsA('Hat') then
  3244. v:Destroy()
  3245. end
  3246. end
  3247. local ayy2 = game:GetObjects("rbxassetid://397033642")[1]
  3248. ayy2.Parent = pchar
  3249. local BC = pchar['Body Colors']
  3250. BC.HeadColor = BrickColor.new('Fossil')
  3251. BC.LeftArmColor = BrickColor.new('Fossil')
  3252. BC.LeftLegColor = BrickColor.new('Fossil')
  3253. BC.RightArmColor = BrickColor.new('Fossil')
  3254. BC.RightLegColor = BrickColor.new('Fossil')
  3255. BC.TorsoColor = BrickColor.new('Fossil')
  3256. end
  3257. end)
  3258.  
  3259. cmd.commands.register('team', 'cmd%plrs%str', function(args)
  3260. for i, v in pairs(args[2]) do
  3261. for x, m in pairs(game:GetService('Teams'):GetTeams()) do
  3262. if (m.Name):lower():sub(1, #args[3].data) == (args[3].data):lower() then
  3263. v.TeamColor = m.TeamColor
  3264. end
  3265. end
  3266. end
  3267. end)
  3268.  
  3269. cmd.commands.register('particles', 'cmd%plrs%int', function(args)
  3270. for i, v in pairs(args[2]) do
  3271. Instance.new("ParticleEmitter", v.Character).Texture = args[3].data
  3272. end
  3273. end)
  3274.  
  3275. cmd.commands.register('ghost', 'cmd%plrs', function(args)
  3276. for i, v in pairs(args[2]) do
  3277. local pchar = v.Character
  3278. pchar.Head.Transparency = 0.5
  3279. pchar.Torso.Transparency = 0.5
  3280. pchar["Left Arm"].Transparency = 0.5
  3281. pchar["Right Arm"].Transparency = 0.5
  3282. pchar["Left Leg"].Transparency = 0.5
  3283. pchar["Right Leg"].Transparency = 0.5
  3284. pchar.Head.face.Transparency = 0.5
  3285. end
  3286. end)
  3287.  
  3288. cmd.commands.register('firstperson', 'cmd%plrs', function(args)
  3289. for i, v in pairs(args[2]) do
  3290. v.CameraMode = Enum.CameraMode.LockFirstPerson
  3291. end
  3292. end)
  3293.  
  3294. cmd.commands.register('creeper', 'cmd%plrs', function(args)
  3295. for i, v in pairs(args[2]) do
  3296. local pchar = v.Character
  3297. if pchar then
  3298. if pchar:FindFirstChild("Shirt") then
  3299. pchar.Shirt.Parent = pchar.Torso
  3300. end
  3301. if pchar:FindFirstChild("Pants") then
  3302. pchar.Pants.Parent = pchar.Torso
  3303. end
  3304. if pchar:FindFirstChild("Shirt Graphic") then
  3305. pchar["Shirt Graphic"].Graphic = ""
  3306. end
  3307. for i,v in pairs(pchar:GetChildren()) do
  3308. if v:IsA("Hat") then
  3309. v:Destroy()
  3310. end
  3311. end
  3312. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  3313. pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  3314. pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  3315. pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  3316. pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  3317. pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  3318. pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  3319. pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  3320. pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  3321. pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  3322. pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  3323. end
  3324. end
  3325. end)
  3326.  
  3327. cmd.commands.register('insert', 'cmd%int', function(args)
  3328. local m = cmd.service('InsertService'):LoadAsset(args[2].data)
  3329. m.Parent = game.Workspace
  3330. m:MoveTo(cmd.localplayer.Character.Torso.Position)
  3331. m:MakeJoints()
  3332. end)
  3333.  
  3334. cmd.commands.register('nolimbs', 'cmd%plrs', function(args)
  3335. for i, v in pairs(game.Players:GetPlayers()) do
  3336. v.Character['Right Leg'].Parent = nil
  3337. v.Character['Left Leg'].Parent = nil
  3338. v.Character['Right Arm'].Parent = nil
  3339. v.Character['Left Arm'].Parent = nil
  3340. end
  3341. end)
  3342.  
  3343. cmd.commands.register('recurseremove', 'cmd%str', function(args)
  3344. local function a(o)
  3345. for i,v in pairs(o:GetChildren()) do
  3346. if v:IsA(args[2].data) then
  3347. v.Parent=nil
  3348. end
  3349. a(v)
  3350. end
  3351. end
  3352. a(game.Workspace)
  3353. end)
  3354.  
  3355. cmd.commands.register('name', 'cmd%plrs%inf', function(args)
  3356. for i, v in pairs(args[2]) do
  3357. local tchar = v.Character
  3358. for x, m in pairs(tchar:GetChildren()) do
  3359. if m:FindFirstChild('nm') then
  3360. m.Parent = nil
  3361. end
  3362. end
  3363. tchar.Name = ''
  3364. local ntag = Instance.new("Model", tchar)
  3365. ntag.Name = args[3]
  3366. local nhead = tchar.Head:Clone()
  3367. nhead.Parent = ntag
  3368. local nhum = Instance.new("Humanoid", ntag)
  3369. nhum.MaxHealth = 0
  3370. nhum.Health = 0
  3371. nhum.Name = 'nm'
  3372. local nweld = Instance.new("Weld", nhead)
  3373. nweld.Part0 = nhead
  3374. nweld.Part1 = tchar.Head
  3375. end
  3376. end)
  3377.  
  3378. cmd.commands.register('track', 'cmd%plrs%inf', function(args)
  3379. for i, v in pairs(args[2]) do
  3380. local tchar = v.Character
  3381. for x, m in pairs(tchar:GetChildren()) do
  3382. if m:FindFirstChild('nm') then
  3383. m.Parent = nil
  3384. end
  3385. end
  3386. tchar.Name = ''
  3387. local ntag = Instance.new("Model", workspace.CurrentCamera)
  3388. ntag.Name = v.Name
  3389. local nhead = tchar.Head:Clone()
  3390. nhead.Parent = ntag
  3391. local nhum = Instance.new("Humanoid", ntag)
  3392. nhum.MaxHealth = 0
  3393. nhum.Health = 0
  3394. nhum.Name = 'nm'
  3395. local nweld = Instance.new("Weld", nhead)
  3396. nweld.Part0 = nhead
  3397. nweld.Part1 = tchar.Head
  3398. end
  3399. end)
  3400.  
  3401. cmd.commands.register('rname', 'cmd%plrs', function(args)
  3402. local player = cmd.localplayer
  3403. player.Neutral = false
  3404. repeat
  3405. wait()
  3406. player.TeamColor = BrickColor.Random()
  3407. until not player.Character.Humanoid
  3408. end)
  3409.  
  3410. cmd.commands.register('fogend', 'cmd%int', function(args)
  3411. game.Lighting.FogEnd = args[2].data
  3412. end)
  3413.  
  3414. cmd.commands.register('fogstart', 'cmd%int', function(args)
  3415. game.Lighting.FogStart = args[2].data
  3416. end)
  3417.  
  3418. cmd.commands.register('time', 'cmd%int', function(args)
  3419. game.Lighting:SetMinutesAfterMidnight(60 * args[2].data)
  3420. end)
  3421.  
  3422. cmd.commands.register('ambient', 'cmd%int%int%int', function(args)
  3423. game.Lighting.Ambient = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  3424. end)
  3425.  
  3426. cmd.commands.register('fogcolor', 'cmd%int%int%int', function(args)
  3427. game.Lighting.FogColor = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  3428. end)
  3429.  
  3430. cmd.commands.register('sword', 'cmd%plrs', function(args)
  3431. local sword = game:GetService('InsertService'):LoadAsset(125013769):GetChildren()[1]
  3432. for i, v in pairs(args[2]) do
  3433. sword:Clone().Parent = v.Backpack
  3434. end
  3435. end)
  3436.  
  3437. cmd.commands.register('paranoid', 'cmd%plrs', function(args)
  3438. for i, v in pairs(cmd.localplayer.Character:GetChildren()) do
  3439. if v:IsA("BasePart") then
  3440. v.Anchored = true
  3441. end
  3442. end
  3443. end)
  3444.  
  3445. cmd.commands.register('size', 'cmd%plrs%int', function(args)
  3446. for i, v in pairs(args[2]) do
  3447. cmd.util.size(v, args[3].data)
  3448. end
  3449. end)
  3450.  
  3451. cmd.commands.register('unlockws', 'cmd%plrs', function(args)
  3452. local function dloop(o)
  3453. for i, v in pairs(o:GetChildren()) do
  3454. if v:IsA("BasePart") then
  3455. v.Anchored = false
  3456. end
  3457. if v:IsA("Model") then
  3458. v:BreakJoints()
  3459. end
  3460. dloop(v)
  3461. end
  3462. end
  3463. dloop(game.Workspace)
  3464. end)
  3465.  
  3466. cmd.commands.register('change', 'cmd%plrs%str%inf', function(args)
  3467. for i, v in pairs(args[2]) do
  3468. if v:FindFirstChild("leaderstats") then
  3469. if v.leaderstats:FindFirstChild(args[3].data) then
  3470. if v.leaderstats[args[3].data]:IsA("StringValue") then
  3471. v.leaderstats[args[3].data].Value = args[4]
  3472. end
  3473. if v.leaderstats[args[3].data]:IsA("NumberValue") or v.leaderstats[args[3].data]:IsA("IntValue") then
  3474. print(args[4])
  3475. if tonumber(args[4]) ~= nil then
  3476. v.leaderstats[args[3].data].Value = tonumber(args[4])
  3477. end
  3478. end
  3479. end
  3480. end
  3481. end
  3482. end)
  3483.  
  3484. ---------------------------
  3485.  
  3486. -- ** init ** --
  3487.  
  3488. local count = 0
  3489. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  3490.  
  3491. warn("loaded nosyliam's cmdscript [a]")
  3492. warn(tostring(count).." commands")
  3493.  
  3494. DistributedCmdBar.FocusLost:connect(function(e)
  3495. if e == true then
  3496. cmd.commands.run(DistributedCmdBar.Text)
  3497. DistributedCmdBar.Text = ''
  3498. end
  3499. end)
  3500.  
  3501. --PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
  3502. -- if cmd.util.isadmin(plr.Name) then
  3503. -- if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  3504. -- cmd.commands.run(msg:sub(2, #msg))
  3505. -- end
  3506. -- end
  3507. -- end)
  3508. end
  3509. topkek.navigation.buildHomePage = function()
  3510. local count = 0
  3511. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  3512. local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
  3513. hook:drawText(1, 'T0PK3K 4.0 converted to SS')
  3514. hook:drawText(1, 'Patch version 1.0.5')
  3515. hook:drawText(1, 'Commandbase patch version 1.0.0')
  3516. hook:drawText(1, 'Number of commands: ' .. tostring(count))
  3517. local stime = hook:drawText(1, 'Server Time: 0')
  3518. spawn(function()
  3519. while true do
  3520. stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
  3521. wait(0.5)
  3522. end
  3523. end)
  3524. local ssz = hook:drawText(1, 'Server Size: 0')
  3525. spawn(function()
  3526. while true do
  3527. ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
  3528. wait(0.5)
  3529. end
  3530. end)
  3531. local fe = game:GetService('Workspace').FilteringEnabled
  3532. hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
  3533. hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
  3534. hook:drawText(1, 'Pristh is cool guy.', 55)
  3535. end
  3536. topkek.navigation.buildContainers = function()
  3537. for _, v in pairs(topkek.data.windows) do
  3538. topkek.tools.gui:makeContainer(v)
  3539. end
  3540. end
  3541.  
  3542. topkek.navigation.initCommandBar()
  3543. topkek.navigation.buildContainers()
  3544. topkek.navigation.buildTopbar()
  3545. topkek.navigation.buildHomePage()
  3546. wait()
  3547.  
  3548.  
  3549. --// actual code below lole //--
  3550.  
  3551. --// PLAYERS //--
  3552. local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
  3553. local search = plrwin:drawButton(1, '', function()end)
  3554. drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
  3555. function fixPlayerDrop()
  3556. local t = {'All'}
  3557. for i, v in pairs(game.Players:GetPlayers()) do
  3558. table.insert(t, v.Name)
  3559. end
  3560. drop.SetTable(t)
  3561. end
  3562. game.Players.PlayerAdded:connect(function()
  3563. fixPlayerDrop()
  3564. end)
  3565. game.Players.PlayerRemoving:connect(function()
  3566. fixPlayerDrop()
  3567. end)
  3568. plrFrame = plrwin:drawContainer(1, 100)
  3569. headshotContainer = plrFrame:drawContainer(0.4, 94, true)
  3570. headshotContainer:setDrawY(20)
  3571. headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
  3572. headshotContainer:setDrawY(0)
  3573. userNameText = headshotContainer:drawText(1, "[All]")
  3574. userNameText.ClipsDescendants = true
  3575. userNameText.Font = Enum.Font.SourceSansBold
  3576. infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
  3577. infoContainer.BackgroundColor3 = color3(108, 38, 38)
  3578. userIdText = infoContainer:drawText(1, "ID: 0")
  3579. userAgeText = infoContainer:drawText(1, "Age: 0")
  3580. userTeamText = infoContainer:drawText(1, "Team: Neutral")
  3581. cval = 'All'
  3582. fixPlayerDrop()
  3583.  
  3584. function updatePlayer(plri)
  3585. local plr = game:GetService('Players'):FindFirstChild(plri)
  3586. if not plr and plri ~= 'All' then
  3587. print("Couldn't find player!")
  3588. updatePlayer(topkek.lplr)
  3589. else
  3590. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
  3591. userNameText.Text = "[All]"
  3592. userIdText.Text = 'ID: [multiple]'
  3593. userAgeText.Text = 'Age: [multiple]'
  3594. userTeamText.Text = 'Team: [multiple]'
  3595. cval = 'All'
  3596. end
  3597. local team = plr.TeamColor
  3598. if team == nil then
  3599. team = 'Neutral'
  3600. else
  3601. team = tostring(team)
  3602. end
  3603. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
  3604. userNameText.Text = plr.Name
  3605. userIdText.Text = 'ID: ' .. tostring(plr.UserId)
  3606. userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
  3607. userTeamText.Text = 'Team: ' .. team
  3608. cval = plr.Name
  3609.  
  3610. end
  3611. drop.Changed(updatePlayer)
  3612. --actual code ------__-
  3613. plrwin:addSpacing()
  3614. plrwin:drawButton(1/2, 'Kick', function()
  3615. tk.dp(cval, function(p)
  3616. topkek.banmgr.executeKick(p)
  3617. end)
  3618. end)
  3619.  
  3620. plrwin:drawButton(1/2, 'Ban', function()
  3621. tk.dp(cval, function(p)
  3622. topkek.banmgr.addSoftBan(p)
  3623. end)
  3624. end)
  3625. plrwin:drawButton(1/2,'Friendlag', function()
  3626. tk.dp(cval, function(p)
  3627. for i = 1, 10 do
  3628. spawn(function()
  3629. while wait() do
  3630. game.Players.LocalPlayer:RequestFriendship(p)
  3631. game.Players.LocalPlayer:RevokeFriendship(p)
  3632. end
  3633. end)
  3634. end
  3635. end)
  3636. end)
  3637. plrwin:drawButton(1/2, 'Hardban', function()
  3638. tk.dp(cval, function(p)
  3639. topkek.banmgr.addHardBan(p)
  3640. end)
  3641. end)
  3642. plrwin:addSpacing()
  3643. plrwin:drawButton(1/2, 'Bring', function()
  3644. tk.dp(cval, function(z)
  3645. if z.Character then
  3646. z.Character.HumanoidRootPart.CFrame =
  3647. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  3648. end
  3649. end)
  3650. end)
  3651. plrwin:drawButton(1/2, 'Goto', function()
  3652. tk.dp(cval, function(z)
  3653. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
  3654. z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  3655. end)
  3656. end)
  3657. plrwin:addSpacing()
  3658. plrwin:drawButton(1/3, 'Kill', function()
  3659. tk.dp(cval, function(p)
  3660. if p.Character and p.Character:FindFirstChild("Humanoid") then
  3661. p.Character.Humanoid.Health = 0
  3662. end
  3663. end)
  3664. end)
  3665. plrwin:drawButton(1/3, 'Seizure', function()
  3666. tk.dp(cval, function(p)
  3667. if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
  3668. spawn(function()
  3669. p.Character.Humanoid.PlatformStand = true
  3670. tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0)
  3671. repeat
  3672. wait()
  3673. p.Character.Humanoid.PlatformStand = true
  3674. tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  3675. tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3676. until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
  3677. end)
  3678. end
  3679. end)
  3680. end)
  3681. plrwin:drawButton(1/3, 'Stun', function()
  3682. tk.dp(cval, function(p)
  3683. if p.Character and p.Character:FindFirstChild("Humanoid") then
  3684. p.Character.Humanoid.PlatformStand = true
  3685. p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  3686. end
  3687. end)
  3688. end)
  3689. plrwin:drawButton(1/3, 'Freeze', function()
  3690. tk.dp(cval, function(p)
  3691. if p.Character then
  3692. tk.gt(p).Anchored = true
  3693. end
  3694. end)
  3695. end)
  3696. plrwin:drawButton(1/3, 'Thaw', function()
  3697. tk.dp(cval, function(p)
  3698. if p.Character then
  3699. tk.gt(p).Anchored = false
  3700. end
  3701. end)
  3702. end)
  3703. plrwin:drawButton(1/3, 'Superslow', function()
  3704. tk.dp(cval, function(p)
  3705. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3706. p.Character.Humanoid.WalkSpeed = 1
  3707. end
  3708. end)
  3709. end)
  3710. plrwin:drawButton(1/3, 'Highjump', function()
  3711. tk.dp(cval, function(p)
  3712. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3713. p.Character.Humanoid.JumpPower = 125
  3714. end
  3715. end)
  3716. end)
  3717. plrwin:drawButton(1/3, 'God', function()
  3718. tk.dp(cval, function(p)
  3719. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3720. p.Character.Humanoid.MaxHealth = math.huge
  3721. p.Character.Humanoid.Health = math.huge
  3722. end
  3723. end)
  3724. end)
  3725. plrwin:drawButton(1/3, 'Semigod', function()
  3726. tk.dp(cval, function(p)
  3727. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3728. p.Character.Humanoid.MaxHealth = 9e9
  3729. p.Character.Humanoid.Health = 9e9
  3730. end
  3731. end)
  3732. end)
  3733. plrwin:drawButton(1/3, 'Fast', function()
  3734. tk.dp(cval, function(p)
  3735. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3736. p.Character.Humanoid.WalkSpeed = 50
  3737. end
  3738. end)
  3739. end)
  3740. Follow = false;
  3741. plrwin:drawButton(1/3, 'Annoy', function()
  3742. tk.dp(cval, function(p)
  3743. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3744. if Follow == true then
  3745. Follow = false; return
  3746. else Follow = true end
  3747. while Follow == true do
  3748. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
  3749. p.Character.HumanoidRootPart.CFrame
  3750. wait()
  3751. end
  3752. end
  3753. end)
  3754. end)
  3755. plrwin:drawButton(1/3, 'Freefall', function()
  3756. tk.dp(cval, function(p)
  3757. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3758. p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)
  3759. end
  3760. end)
  3761. end)
  3762. plrwin:drawButton(1/3, 'Destroy', function()
  3763. tk.dp(cval, function(p)
  3764. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3765. p.Character.Humanoid:Destroy()
  3766. end
  3767. end)
  3768. end)
  3769. plrwin:drawButton(1/3, 'Fix', function()
  3770. tk.dp(cval, function(p)
  3771. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3772. p.Character.Humanoid.Health = 100
  3773. p.Character.Humanoid.MaxHealth = 100
  3774. p.Character.Humanoid.JumpPower = 100
  3775. p.Character.Humanoid.WalkSpeed = 16
  3776. p.Character.Humanoid.PlatformStand = false
  3777. p.Character.Humanoid.Jump = true
  3778. end
  3779. end)
  3780. end)
  3781. plrwin:drawButton(1/3, 'Respawn', function()
  3782. tk.dp(cval, function(p)
  3783. if p.Character then
  3784. local a1 = Instance.new("Model", game:service'Workspace')
  3785. local a2 = Instance.new("Part", game:service'Workspace')
  3786. a2.CanCollide = true
  3787. a2.Anchored = true
  3788. a2.CFrame = CFrame.new(10000, 10000, 10000)
  3789. a2.Name = "Torso"
  3790. local a3 = Instance.new("Humanoid", a1)
  3791. a3.MaxHealth=100;a3.Health=100
  3792. p.Character = a1
  3793. a3.Health=0
  3794. end
  3795. end)
  3796. end)
  3797. plrwin:addSpacing()
  3798. local nameInp
  3799. plrwin:drawButton(1/3, 'Name', function()
  3800. tk.dp(cval, function(z)
  3801. local Character = z.Character
  3802. local newName = Instance.new("Model", z.Character)
  3803. newName.Name = nameInp.Text
  3804. local cl = Character:WaitForChild("Head"):Clone()
  3805. cl.Parent = newName
  3806. cl:WaitForChild("face"):Destroy()
  3807. local hum = Instance.new("Humanoid", newName)
  3808. hum.Name = "NameTag"
  3809. hum.MaxHealth = 0
  3810. hum.Health = 0
  3811. local weld = Instance.new("Weld", cl)
  3812. weld.Part0 = cl
  3813. weld.Part1 = Character:WaitForChild("Head")
  3814. Character:WaitForChild("Head").Transparency = 1
  3815. wait(.5)
  3816. cl.BrickColor = Character:WaitForChild("Head").BrickColor
  3817. end)
  3818. end)
  3819. nameInp = plrwin:drawTextBox(2/3, '')
  3820. local chatInp
  3821. plrwin:drawButton(1/3, 'Chat', function()
  3822. tk.dp(cval, function(z)
  3823. game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
  3824. end)
  3825. end)
  3826. chatInp = plrwin:drawTextBox(2/3, '')
  3827. local disgInp
  3828. plrwin:drawButton(1/3, 'Disguise', function()
  3829. tk.dp(cval, function(p)
  3830. local id = 0
  3831. if tonumber(disgInp.Text) then
  3832. id = tonumber(disgInp.Text)
  3833. else
  3834. id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
  3835. end
  3836. if p.Character:FindFirstChild("Humanoid") then
  3837. p.Character.Humanoid.Health = 0
  3838. end
  3839. p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  3840. end)
  3841. end)
  3842. disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
  3843. plrwin:addSpacing()
  3844. clrR = plrwin:drawTextBox(1/3, '0')
  3845. clrG = plrwin:drawTextBox(1/3, '0')
  3846. clrB = plrwin:drawTextBox(1/3, '0')
  3847. function getColor()
  3848. local r = tonumber(clrR.Text)
  3849. local g = tonumber(clrG.Text)
  3850. local b = tonumber(clrB.Text)
  3851. if not (r and g and b) then return Color3.new(0,0,0) end
  3852. return Color3.new(r/255, g/255, b/255)
  3853. end
  3854. plrwin:drawButton(1/3, 'Sparkles', function()
  3855. tk.dp(cval, function(z)
  3856. Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
  3857. end)
  3858. end)
  3859. plrwin:drawButton(1/3, 'Smoke', function()
  3860. tk.dp(cval, function(z)
  3861. Instance.new("Smoke", tk.gt(z)).Color = getColor()
  3862.  
  3863. end)
  3864. end)
  3865. plrwin:drawButton(1/3, 'Fire', function()
  3866. tk.dp(cval, function(z)
  3867. local fr = Instance.new("Fire", tk.gt(z))
  3868. fr.Color = getColor()
  3869. fr.Heat = 30
  3870. fr.Size = 20
  3871. end)
  3872. end)
  3873. plrwin:drawButton(1/3, 'Forcefield', function()
  3874. tk.dp(cval, function(z)
  3875. if z.Character then
  3876. Instance.new("ForceField", z.Character)
  3877. end
  3878. end)
  3879. end)
  3880. plrwin:drawButton(1/3, 'Select', function()
  3881. tk.dp(cval, function(z)
  3882. if z.Character and tk.gt(z) then
  3883. Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
  3884. end
  3885. end)
  3886. end)
  3887. plrwin:drawButton(1/3, 'Sphere', function()
  3888. tk.dp(cval, function(z)
  3889. if z.Character and tk.gt(z) then
  3890. Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
  3891. end
  3892. end)
  3893. end)
  3894. plrwin:drawButton(1/3, 'Fling', function()
  3895. tk.dp(cval, function(z)
  3896. spawn(function() --kohls admin commands lol
  3897. if z.Character and tk.gt(z) then
  3898. local xran, zran
  3899. repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
  3900. repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
  3901. z.Character.Humanoid.Sit = true
  3902. tk.gt(z).Velocity = Vector3.new(0,0,0)
  3903. local frc = Instance.new("BodyForce", tk.gt(z))
  3904. frc.Name = "BFRC"
  3905. frc.force = Vector3.new(xran*4,9999*5,zran*4)
  3906. game:GetService("Debris"):AddItem(frc, 0.1)
  3907. end
  3908. end)
  3909. end)
  3910. end)
  3911. plrwin:drawButton(1/3, 'Explode', function()
  3912. tk.dp(cval, function(z)
  3913. if z.Character and tk.gt(z) then
  3914. local explosion = Instance.new("Explosion")
  3915. explosion.Position = tk.gt(z).Position
  3916. explosion.Parent = workspace
  3917. end
  3918. end)
  3919. end)
  3920. plrwin:drawButton(1/3, 'Nuke', function()
  3921. tk.dp(cval, function(z)
  3922. if z.Character and tk.gt(z) then
  3923. local torso = tk.gt(z)
  3924. local nuke = Instance.new("Part", game.Workspace)
  3925. local opos = torso.CFrame
  3926. nuke.BrickColor = BrickColor.new("Bright yellow")
  3927. nuke.TopSurface = Enum.SurfaceType.Smooth
  3928. nuke.BottomSurface = Enum.SurfaceType.Smooth
  3929. nuke.Anchored = true
  3930. nuke.CanCollide = false
  3931. nuke.Shape = "Ball"
  3932. nuke.Transparency = 0.5
  3933. nuke.CFrame = torso.CFrame
  3934. nuke.Size = Vector3.new(1, 1, 1)
  3935. nuke.Touched:connect(function(p)
  3936. local expl = Instance.new("Explosion", p)
  3937. expl.BlastPressure = 50000
  3938. expl.BlastRadius = 50
  3939. expl.Position = p.Position
  3940. p.Material = Enum.Material.CorrodedMetal
  3941. p:BreakJoints()
  3942. end)
  3943. for i = 1, 150 do
  3944. nuke.Size = Vector3.new(i, i, i)
  3945. nuke.CFrame = opos
  3946. wait(0.08)
  3947. end
  3948. nuke:Destroy()
  3949. end
  3950. end)
  3951. end)
  3952. plrwin:drawButton(1/3, 'No Tools', function()
  3953. tk.dp(cval, function(p)
  3954. for _, t in pairs(p.Backpack:GetChildren()) do
  3955. t:Destroy()
  3956. end
  3957. end)
  3958. end)
  3959. plrwin:drawButton(1/3, 'Take Tools', function()
  3960. tk.dp(cval, function(p)
  3961. for _, t in pairs(p.Backpack:GetChildren()) do
  3962. t.Parent = game:service'Players'.LocalPlayer.Backpack
  3963. end
  3964. end)
  3965. end)
  3966. plrwin:drawButton(1/3, 'BTools', function()
  3967. tk.dp(cval, function(p)
  3968. local a = Instance.new("HopperBin")
  3969. a.BinType = "GameTool"
  3970. a.Parent = p.Backpack
  3971. local a = Instance.new("HopperBin")
  3972. a.BinType = "Clone"
  3973. a.Parent = p.Backpack
  3974. local a = Instance.new("HopperBin")
  3975. a.BinType = "Hammer"
  3976. a.Parent = p.Backpack
  3977. end)
  3978. end)
  3979. plrwin:drawButton(1/3, 'lol', function()
  3980. tk.dp(cval, function(p)
  3981. if p.Character and tk.gt(p) then
  3982. topkek.tools.util.wrench(p)
  3983. end
  3984. end)
  3985. end)
  3986. plrwin:drawButton(1/3, 'Quicksand', function()
  3987. tk.dp(cval, function(z)
  3988. if z.Character and z.Character:FindFirstChild("Humanoid") then
  3989. local tor = tk.gt(z)
  3990. local hole = Instance.new("Part", z.Character)
  3991. hole.Anchored = true
  3992. hole.Name = "Hole"
  3993. hole.FormFactor = Enum.FormFactor.Custom
  3994. hole.Size = Vector3.new(7, 1, 7)
  3995. hole.CanCollide = false
  3996. hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
  3997. hole.BrickColor = BrickColor.new("Cool yellow")
  3998. hole.Material = Enum.Material.Sand
  3999. local hm = Instance.new("CylinderMesh", hole)
  4000. tor.Anchored = true
  4001. if z.Character:FindFirstChild("Humanoid") then
  4002. z.Character.Humanoid.Jump = true
  4003. end
  4004. for x,m in pairs(z.Character:GetChildren()) do
  4005. if m:IsA("BasePart") or m:IsA("MeshPart") then
  4006. m.CanCollide = false
  4007. end
  4008. end
  4009. for i=1,75 do
  4010. tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  4011. wait(0.06)
  4012. end
  4013. tor.CFrame=tor.CFrame*CFrame.new(0,
  4014. -500,0
  4015. )
  4016. z.Character.Humanoid.Health = 0
  4017. end
  4018. end)
  4019. end)
  4020. plrwin:drawButton(1/3, 'Insane', function()
  4021. tk.dp(cval, function(p)
  4022. if p.Character and tk.gt(p) then
  4023. for i,v in pairs(tk.gt(p):GetChildren()) do
  4024. if v:IsA("Motor6D") then
  4025. spawn(function()
  4026. while v do
  4027. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  4028. wait()
  4029. end
  4030. end)
  4031. end
  4032. end
  4033. end
  4034. end)
  4035. end)
  4036. plrwin:drawButton(1/3, 'Invisible', function()
  4037. tk.dp(cval, function(p)
  4038. tk.rco(p.Character, 'BasePart', 'Transparency', 1)
  4039. tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
  4040. end)
  4041. end)
  4042. plrwin:drawButton(1/3, 'Visible', function()
  4043. tk.dp(cval, function(p)
  4044. tk.rco(p.Character, 'BasePart', 'Transparency', 0)
  4045. tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
  4046. end)
  4047. end)
  4048. plrwin:drawButton(1/3, 'Bighead', function()
  4049. tk.dp(cval, function(z)
  4050. if z.Character then
  4051. if z.Character:FindFirstChild('Head') then
  4052. z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
  4053. end
  4054. end
  4055. end)
  4056. end)
  4057. plrwin:drawButton(1/3, 'Goldify', function()
  4058. tk.dp(cval, function(z)
  4059. if z.Character then
  4060. tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
  4061. tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
  4062. tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
  4063. tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
  4064. end
  4065. end)
  4066. end)
  4067. plrwin:drawButton(1/3, 'Neon', function()
  4068. tk.dp(cval, function(z)
  4069. if z.Character then
  4070. tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
  4071. tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
  4072. end
  4073. end)
  4074. end)
  4075. plrwin:drawButton(1/3, 'Shiny', function()
  4076. tk.dp(cval, function(z)
  4077. if z.Character then
  4078. tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
  4079. tk.rcm(z.Character, 'MeshPart')
  4080. end
  4081. end)
  4082. end)
  4083. plrwin:drawButton(1/3, 'Shrek', function()
  4084. tk.dp(cval, function(z)
  4085. if z.Character then
  4086. local pchar = z.Character
  4087. for i,v in pairs(pchar:GetChildren()) do
  4088. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  4089. v:Destroy()
  4090. end
  4091. end
  4092. for i,v in pairs(pchar.Head:GetChildren()) do
  4093. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  4094. v:Destroy()
  4095. end
  4096. end
  4097.  
  4098. local mesh = Instance.new("SpecialMesh", pchar.Head)
  4099. mesh.MeshType = "FileMesh"
  4100. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  4101. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  4102. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  4103.  
  4104. local Shirt = Instance.new("Shirt", z.Character)
  4105. local Pants = Instance.new("Pants", z.Character)
  4106.  
  4107. Shirt.ShirtTemplate = "rbxassetid://133078194"
  4108. Pants.PantsTemplate = "rbxassetid://133078204"
  4109. end
  4110. end)
  4111. end)
  4112. plrwin:drawButton(1/3, 'Duck', function()
  4113. tk.dp(cval, function(z)
  4114. if z.Character then
  4115. local pchar = z.Character
  4116. for i,v in pairs(pchar:GetChildren()) do
  4117. if v:IsA("Hat") or v:IsA("Accessory") then
  4118. v:Destroy()
  4119. end
  4120. end
  4121. local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
  4122. duck.MeshType = "FileMesh"
  4123. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  4124. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  4125. duck.Scale = Vector3.new(5, 5, 5)
  4126. tk.rco(z.Character, 'Instance', 'Transparency', 1)
  4127. z.Character.HumanoidRootPart.Transparency = 0
  4128. end
  4129. end)
  4130. end)
  4131. plrwin:drawButton(1/3, 'Spheres', function()
  4132. tk.dp(cval, function(z)
  4133. if z.Character then
  4134. tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
  4135. end
  4136. end)
  4137. end)
  4138. plrwin:drawButton(1/3, 'Big', function()
  4139. tk.dp(cval, function(z)
  4140. if z.Character then
  4141. topkek.tools.util.scalePlayer(5, z)
  4142. end
  4143. end)
  4144. end)
  4145. plrwin:drawButton(1/3, 'Small', function()
  4146. tk.dp(cval, function(z)
  4147. if z.Character then
  4148. topkek.tools.util.scalePlayer(5, z)
  4149. end
  4150. end)
  4151. end)
  4152. plrwin:drawButton(1/3, 'Giraffe', function()
  4153. tk.dp(cval, function(z)
  4154. if z.Character then
  4155. local char=z.Character
  4156. local h=char.Head
  4157. local tor=char:FindFirstChild("Torso")
  4158. if not tor then return end
  4159. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  4160. local fn=Instance.new("Part",char)
  4161. fn.Size=Vector3.new(1,5.5,1)
  4162. fn.Name="FakeNeck"
  4163. fn.Anchored=false
  4164. fn.CanCollide=false
  4165. if char:FindFirstChild("Body Colors") then
  4166. fn.BrickColor=char["Body Colors"].HeadColor
  4167. end
  4168. local cm=Instance.new("CylinderMesh",fn)
  4169. local we=Instance.new("Weld",h)
  4170. we.Part0=h
  4171. we.Part1=fn
  4172. we.C1=we.C1*CFrame.new(0,2.6,0)
  4173. end
  4174. end)
  4175. end)
  4176. plrwin:drawButton(1/3, 'Dab', function()
  4177. tk.dp(cval, function(z)
  4178. if z.Character and z.Character:FindFirstChild("Torso") then
  4179. local chr = z.Character
  4180. chr.Animate.Disabled = true
  4181. 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)
  4182. 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)
  4183. 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)
  4184. end
  4185. end)
  4186. end)
  4187. plrwin:drawButton(1/3, 'Force Follow', function()
  4188. tk.dp(cval, function(z)
  4189. game:GetService("RunService"):BindToRenderStep("_", 0, function()
  4190. z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
  4191. end)
  4192. end)
  4193. end)
  4194. plrwin:drawButton(1/3, 'Camlock', function()
  4195. tk.dp(cval, function(z)
  4196. z.CameraMode = "LockFirstPerson"
  4197. end)
  4198. end)
  4199. --// SERVER //--
  4200. local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
  4201. local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
  4202. detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
  4203. detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
  4204. --detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
  4205. servwin:drawButton(1/2, 'Shutdown', function()
  4206. workspace.Gravity = 0/0
  4207. end)
  4208. servwin:drawButton(1/2, 'Clear', function()
  4209. for i,v in pairs(game:service'Workspace':GetChildren()) do
  4210. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  4211. v:Destroy()
  4212. end
  4213. end
  4214. end)
  4215. servwin:drawButton(1/2, 'Baseplate', function()
  4216. for X = -2500, 2500, 512 do
  4217. for Z = -2500, 2500, 512 do
  4218. local P = Instance.new("Part")
  4219. P.Anchored = true
  4220. P.Locked = true
  4221. P.Size = Vector3.new(512,3,512)
  4222. P.CFrame = CFrame.new(X,0,Z)
  4223. P.BrickColor = BrickColor.Green()
  4224. P.Parent = game:service'Workspace'
  4225. end
  4226. end
  4227. end)
  4228. servwin:drawButton(1/2, 'Reset', function()
  4229. for i,v in pairs(game:service'Workspace':GetChildren()) do
  4230. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  4231. v:Destroy()
  4232. end
  4233. end
  4234. for X = -2500, 2500, 512 do
  4235. for Z = -2500, 2500, 512 do
  4236. local P = Instance.new("Part")
  4237. P.Anchored = true
  4238. P.Locked = true
  4239. P.Size = Vector3.new(512,3,512)
  4240. P.CFrame = CFrame.new(X,0,Z)
  4241. P.BrickColor = BrickColor.Green()
  4242. P.Parent = game:service'Workspace'
  4243. end
  4244. end
  4245. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  4246. local a1 = Instance.new("Model", game:service'Workspace')
  4247. local a2 = Instance.new("Part", game:service'Workspace')
  4248. a2.CanCollide = true
  4249. a2.Anchored = true
  4250. a2.CFrame = CFrame.new(10000, 10000, 10000)
  4251. a2.Name = "Torso"
  4252. local a3 = Instance.new("Humanoid", a1)
  4253. a3.MaxHealth=100;a3.Health=100
  4254. v.Character = a1
  4255. a3.Health=0
  4256. end
  4257. end)
  4258. servwin:drawButton(1, 'Remove Sounds', function()
  4259. tk.rcm(game, 'Sound')
  4260. end)
  4261. servwin:addSpacing()
  4262. servwin:drawButton(1, 'Break All', function()
  4263. workspace:BreakJoints(workspace:GetChildren())
  4264. end)
  4265. local gravInp
  4266. servwin:drawButton(1/3, 'Gravity', function()
  4267. if not tonumber(gravInp.Text) then return end
  4268. workspace.Gravity = tonumber(gravInp.Text)
  4269. end)
  4270. gravInp = servwin:drawTextBox(2/3, '')
  4271. servwin:addSpacing()
  4272. servwin:drawButton(1, 'Reset Lighting', function()
  4273. local l = game:service'Lighting'
  4274. l.Ambient = Color3.new(0, 0, 0)
  4275. l.Brightness = 1
  4276. l.GlobalShadows = true
  4277. l.Outlines = true
  4278. l.FogEnd = 100000
  4279. l.FogStart = 0
  4280. l:SetMinutesAfterMidnight(12*60)
  4281. end)
  4282. local brightInp
  4283. servwin:drawButton(1/3, 'Brightness', function()
  4284. if not tonumber(brightInp.Text) then return end
  4285. game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
  4286. end)
  4287. brightInp = servwin:drawTextBox(2/3, '100')
  4288. local fogInp
  4289. servwin:drawButton(1/3, 'Fog', function()
  4290. if not tonumber(fogInp.Text) then return end
  4291. game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
  4292. end)
  4293. fogInp = servwin:drawTextBox(2/3, '0')
  4294. local timeInp
  4295. servwin:drawButton(1/3, 'Hour', function()
  4296. if not tonumber(timeInp.Text) then return end
  4297. game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
  4298. end)
  4299. timeInp = servwin:drawTextBox(2/3, '12')
  4300. servwin:addSpacing()
  4301. -- private server crap
  4302. local privateToggle
  4303. local privStatus = false
  4304. privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
  4305. if privStatus == false then
  4306. privStatus = true
  4307. privateToggle.Text = 'Private Server ON'
  4308. topkek.banmgr.makePrivate()
  4309. else
  4310. privateToggle.Text = 'Private Server OFF'
  4311. topkek.banmgr.unprivate()
  4312. end
  4313. end)
  4314. servwin:addSpacing()
  4315. servwin:drawText(1, 'Whitelist')
  4316. local plrAddInp
  4317. servwin:drawButton(1/3, 'Add', function()
  4318. topkek.banmgr.doWhitelist(plrAddInp.Text)
  4319. ReorderWL()
  4320. end)
  4321. plrAddInp = servwin:drawTextBox(2/3, '')
  4322. wlCont = servwin:drawScrollingContainer(100)
  4323. function ReorderWL()
  4324. local wl = topkek.banmgr.whitelist
  4325. for i,v in pairs(wlCont:GetChildren()) do
  4326. v:Destroy()
  4327. end
  4328. wlCont:setDrawY(3)
  4329. for i,v in pairs(wl) do
  4330. wlCont:drawText(2/3, v)
  4331. wlCont:drawButton(1/3, 'Remove', function()
  4332. topkek.banmgr.unwhitelist(v)
  4333. ReorderWL()
  4334. end)
  4335. end
  4336. end
  4337. ReorderWL()
  4338. --// LOCALPLAYER //--
  4339. local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
  4340. lpwin:drawButton(1, 'Reset Camera', function()
  4341. game.Workspace.CurrentCamera:remove()
  4342. wait(.1)
  4343. game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or
  4344. game.Workspace[topkek.lplr.Name].Humanoid
  4345. game.Workspace.CurrentCamera.CameraType = "Custom"
  4346. end)
  4347. lpwin:drawButton(1, 'Respawn', function()
  4348. local a1 = Instance.new("Model", game:service'Workspace')
  4349. local a2 = Instance.new("Part", game:service'Workspace')
  4350. a2.CanCollide = true
  4351. a2.Anchored = true
  4352. a2.CFrame = CFrame.new(10000, 10000, 10000)
  4353. a2.Name = "Torso"
  4354. local a3 = Instance.new("Humanoid", a1)
  4355. a3.MaxHealth=100;a3.Health=100
  4356. topkek.lplr.Character = a1
  4357. a3.Health=0
  4358. end)
  4359. lpwin:drawButton(1, 'Rejoin', function()
  4360. game:GetService('TeleportService'):Teleport(game.PlaceId)
  4361. end)
  4362. lpwin:addSpacing()
  4363. lpwin:drawButton(1/2, 'God', function()
  4364. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  4365. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  4366. topkek.lplr.Character.Humanoid.Health = math.huge
  4367. end
  4368. end)
  4369. lpwin:drawButton(1/2, 'Semigod', function()
  4370. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  4371. topkek.lplr.Character.Humanoid.MaxHealth = 9e9
  4372. topkek.lplr.Character.Humanoid.Health = 9e9
  4373. end
  4374. end)
  4375. Loopgod = false
  4376. lpwin:drawButton(1, 'Loopgod', function()
  4377. if Loopgod == false then
  4378. Loopgod = true
  4379. spawn(function()
  4380. repeat
  4381. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  4382. topkek.lplr.Character.Humanoid.Health = math.huge
  4383. wait()
  4384. until Loopgod == false
  4385. end)
  4386. else
  4387. Loopgod = false
  4388. end
  4389. end)
  4390. lpwin:addSpacing()
  4391. plrwin:addSpacing()
  4392. local Lev, Clip, Fly
  4393. lpwin:drawButton(1/2, 'Levitate', function()
  4394. if Lev == true then
  4395. Lev = false
  4396. return
  4397. end
  4398. Lev = true
  4399. repeat
  4400. topkek.lplr.Character.Humanoid:ChangeState(10)
  4401. wait(0)
  4402. until Lev == false
  4403. end)
  4404. lpwin:drawButton(1/2, 'Noclip', function()
  4405. if Clip == true then
  4406. Clip = false
  4407. return
  4408. end
  4409. Clip = true
  4410. game:GetService("RunService").Stepped:connect(function()
  4411. tk.gt(topkek.lplr).CanCollide = not Clip
  4412. topkek.lplr.Character.Head.CanCollide = not Clip
  4413. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  4414. if topkek.lplr.Character.UpperTorso then
  4415. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  4416. end
  4417. end)
  4418. topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
  4419. tk.gt(topkek.lplr).CanCollide = not Clip
  4420. topkek.lplr.Character.Head.CanCollide = not Clip
  4421. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  4422. if topkek.lplr.Character.UpperTorso then
  4423. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  4424. end
  4425. end)
  4426. end)
  4427. lpwin:drawButton(1/2, 'Fly', function()
  4428. if Fly == true then
  4429. Fly = false
  4430. return
  4431. end
  4432. Fly = true
  4433. local mouse=game.Players.LocalPlayer:GetMouse''
  4434. localplayer=game.Players.LocalPlayer
  4435. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  4436. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  4437. local speed=0
  4438. local keys={a=false,d=false,w=false,s=false}
  4439. local e1
  4440. local e2
  4441. local function start()
  4442. local pos = Instance.new("BodyPosition",torso)
  4443. local gyro = Instance.new("BodyGyro",torso)
  4444. pos.Name="EPIXPOS"
  4445. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  4446. pos.position = torso.Position
  4447. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  4448. gyro.cframe = torso.CFrame
  4449. repeat
  4450. wait()
  4451. localplayer.Character.Humanoid.PlatformStand=true
  4452. local new=gyro.cframe - gyro.cframe.p + pos.position
  4453. if not keys.w and not keys.s and not keys.a and not keys.d then
  4454. speed=1
  4455. end
  4456. if keys.w then
  4457. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  4458. speed=speed+0.01
  4459. end
  4460. if keys.s then
  4461. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  4462. speed=speed+0.01
  4463. end
  4464. if keys.d then
  4465. new = new * CFrame.new(speed,0,0)
  4466. speed=speed+0.01
  4467. end
  4468. if keys.a then
  4469. new = new * CFrame.new(-speed,0,0)
  4470. speed=speed+0.01
  4471. end
  4472. if speed>5 then
  4473. speed=5
  4474. end
  4475. pos.position=new.p
  4476. if keys.w then
  4477. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  4478. elseif keys.s then
  4479. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  4480. else
  4481. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  4482. end
  4483. until not Fly
  4484. if gyro then gyro:Destroy() end
  4485. if pos then pos:Destroy() end
  4486. flying=false
  4487. localplayer.Character.Humanoid.PlatformStand=false
  4488. speed=0
  4489. end
  4490. e1=mouse.KeyDown:connect(function(key)
  4491. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  4492. if key=="w" then
  4493. keys.w=true
  4494. elseif key=="s" then
  4495. keys.s=true
  4496. elseif key=="a" then
  4497. keys.a=true
  4498. elseif key=="d" then
  4499. keys.d=true
  4500. end
  4501. end)
  4502. e2=mouse.KeyUp:connect(function(key)
  4503. if key=="w" then
  4504. keys.w=false
  4505. elseif key=="s" then
  4506. keys.s=false
  4507. elseif key=="a" then
  4508. keys.a=false
  4509. elseif key=="d" then
  4510. keys.d=false
  4511. end
  4512. end)
  4513. start()
  4514. end)
  4515. lpwin:drawButton(1/2, 'Highjump', function()
  4516. local thrust = Instance.new("BodyVelocity")
  4517. game:GetService('UserInputService').InputBegan:connect(function(i, b)
  4518. if i.KeyCode == Enum.KeyCode.Space then
  4519. print("Got jump")
  4520. coroutine.resume(coroutine.create(function()
  4521. thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  4522. thrust.velocity = Vector3.new(0,50,0)
  4523. thrust.maxForce = Vector3.new(0,4e+050,0)
  4524. wait(0.2)
  4525. thrust.Parent = nil
  4526. end))
  4527. end
  4528. end)
  4529. end)
  4530. lpwin:addSpacing()
  4531. local apprInp
  4532. lpwin:drawButton(1/3, 'Appearance', function()
  4533. local id = 0
  4534. if tonumber(apprInp.Text) then
  4535. id = tonumber(apprInp.Text)
  4536. else
  4537. id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
  4538. end
  4539. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  4540. topkek.lplr.Character.Humanoid.Health = 0
  4541. end
  4542. topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  4543. end)
  4544. apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
  4545. local teamInp
  4546. lpwin:drawButton(1/3, 'Team', function()
  4547. topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
  4548. end)
  4549. teamInp = lpwin:drawTextBox(2/3, 'Bright red')
  4550. lpwin:drawButton(1/2, 'Naked', function()
  4551. topkek.lplr:ClearCharacterAppearance()
  4552. end)
  4553. lpwin:drawButton(1/2, 'Neutral', function()
  4554. topkek.lplr.Neutral = true
  4555. end)
  4556. lpwin:addSpacing()
  4557. lpwin:drawButton(1/2, 'Orb', function()
  4558. game.Players.LocalPlayer.Character = nil
  4559. --lp:Destroy()
  4560. local cam = game.Workspace.CurrentCamera
  4561. local m = Instance.new("Model", game.Workspace)
  4562. m.Name = game.Players.LocalPlayer.Name
  4563. local hum = Instance.new("Humanoid", m)
  4564. hum.Health = 0
  4565. hum.MaxHealth = 0
  4566. local orb = Instance.new("Part", m)
  4567. orb.Size = Vector3.new(1, 1, 1)
  4568. orb.Shape = "Ball"
  4569. orb.Name = "Head"
  4570. orb.Anchored = true
  4571. orb.CanCollide = true
  4572. orb.BottomSurface = Enum.SurfaceType.Smooth
  4573. orb.TopSurface = Enum.SurfaceType.Smooth
  4574. orb.Transparency = 0
  4575. spawn(function()
  4576. while true do
  4577. wait(0.1)
  4578. if orb then
  4579. orb.BrickColor = BrickColor.Random()
  4580. else break end
  4581. end
  4582. end)
  4583. cam.CameraSubject = orb
  4584. cam.CameraType = Enum.CameraType.Fixed
  4585. game:GetService("RunService").RenderStepped:connect(function()
  4586. orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  4587. end)
  4588. game.Players.LocalPlayer.Chatted:connect(function(a)
  4589. game:GetService("Chat"):Chat(orb, a)
  4590. end)
  4591. end)
  4592. lpwin:drawButton(1/2, 'Freecam', function()
  4593. local cam = game.Workspace.CurrentCamera
  4594. cam.CameraType = "Fixed"
  4595. cam.CameraSubject = nil
  4596. topkek.lplr.Character = nil
  4597. end)
  4598. lpwin:drawButton(1/2, 'NoGrav', function()
  4599. if topkek.lplr.Character then
  4600. for x,m in pairs(topkek.lplr.Character:GetChildren()) do
  4601. if m:IsA("BasePart") then
  4602. local bf = Instance.new("BodyForce", m)
  4603. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  4604. end
  4605. if m:IsA("Hat") or m:IsA("Accessory") then
  4606. if m:findFirstChild("Handle") then
  4607. local bf = Instance.new("BodyForce", m.Handle)
  4608. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  4609. end
  4610. end
  4611. end
  4612. end
  4613. end)
  4614. lpwin:drawButton(1/2, 'Trowel', function()
  4615. topkek.tools.util.trowel()
  4616. end)
  4617. lpwin:addSpacing()
  4618. lpwin:drawButton(1/2, 'Fedora', function()
  4619. local hats={
  4620. 98346834,
  4621. 215751161,
  4622. 119916949,
  4623. 72082328,
  4624. 147180077,
  4625. 100929604,
  4626. 63043890,
  4627. 1285307,
  4628. 1029025,
  4629. 334663683,
  4630. 259423244
  4631. }
  4632. game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
  4633. end)
  4634. lpwin:drawButton(1/2, 'Rainbow Name', function()
  4635. topkek.lplr.Neutral = false
  4636. repeat
  4637. wait()
  4638. topkek.lplr.TeamColor = BrickColor.Random()
  4639. until not topkek.lplr.Character.Humanoid
  4640. end)
  4641. local tagInp
  4642. lpwin:drawButton(1/3, 'Tag', function()
  4643. local len = 10
  4644. local bb = Instance.new("BillboardGui")
  4645. bb.Parent = topkek.lplr.Character.Head
  4646. bb.Adornee = topkek.lplr.Character.Head
  4647. bb.AlwaysOnTop = true
  4648. bb.Enabled = true
  4649. bb.Size = UDim2.new(len, 0, 1.5, 0)
  4650. bb.Name = "tag"
  4651. bb.StudsOffset = Vector3.new(0, 3, 0)
  4652. --local fr = Instance.new("Frame")
  4653. --fr.Parent = bb
  4654. --fr.Size = UDim2.new(1, 0, 1, 0)
  4655. --fr.Style = Enum.FrameStyle.RobloxRound
  4656. local tl = Instance.new("TextLabel")
  4657. tl.Parent = bb
  4658. tl.Font = Enum.Font.Code
  4659. tl.BackgroundTransparency = 1
  4660. tl.TextScaled = true
  4661. tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  4662. tl.Size = UDim2.new(1, 0, 1, 0)
  4663. tl.Text = tagInp.Text
  4664. tl.Name = "trutag"
  4665. tl.Visible = true
  4666. tl.ZIndex = 2
  4667. end)
  4668. tagInp = lpwin:drawTextBox(2/3, '')
  4669. --// SCRIPTS //--
  4670. --local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
  4671. --local search = scriptwin:drawTextBox(1,'')
  4672. --local origy = scriptwin:getDrawY()
  4673. --scriptwin:addSpacing()
  4674. --scriptwin:addSpacing()
  4675. --local scripts = game:GetObjects("rbxassetid://376553985")[1]
  4676. --local container = {}
  4677. --function MakeList(condition)
  4678. -- for i,v in pairs(scriptwin:GetChildren()) do
  4679. -- if v.Name == "Script" then
  4680. -- v:Destroy()
  4681. -- end
  4682. -- end
  4683. --scriptwin:setDrawY(origy)
  4684. --for i, v in pairs(scripts:GetChildren()) do
  4685. -- if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
  4686. -- local scr = scriptwin:drawButton(1, v.Name, function()
  4687. -- spawn(function() loadstring(v.Source)() end)
  4688. -- end, 25)
  4689. -- scr.Name = 'Script'
  4690. -- end
  4691. -- end
  4692. --end
  4693. --game:GetService("UserInputService").InputChanged:connect(function(inp)
  4694. -- if inp.UserInputType == Enum.UserInputType.TextInput then
  4695. -- if search:IsFocused() then
  4696. -- MakeList(search.Text)
  4697. -- end
  4698. --end
  4699. --end)
  4700. --MakeList('')
  4701. --// DESTRUCTION // --
  4702. local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
  4703. local decals, seldec = destwin:drawScrollingContainer(100)
  4704. seldec = destwin:drawText(1, 'Selected Decal: None')
  4705. cursel = nil
  4706. local decs = {
  4707. {'Robbie', '574773630'},
  4708. {'Troll Face', '48308661'},
  4709. {'Shrek', '170539018'},
  4710. {'Doge', '133720697'},
  4711. {'Dat Boi', '409578848'},
  4712. }
  4713. for _, v in pairs(decs) do
  4714. local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
  4715. topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  4716. end
  4717. destwin:drawButton(1, 'Spam Decal', function()
  4718. if cursel ~= nil then
  4719. topkek.tools.util.recurseDecal(tonumber(cursel))
  4720. end
  4721. end)
  4722. destwin:drawButton(1, 'Spam Particles', function()
  4723. if cursel ~= nil then
  4724. topkek.tools.util.recurseParticles(tonumber(cursel))
  4725. end
  4726. end)
  4727. destwin:drawButton(1, 'Spam Both', function()
  4728. if cursel ~= nil then
  4729. topkek.tools.util.recurseUltimate(tonumber(cursel))
  4730. end
  4731. end)
  4732. destwin:drawButton(1, 'Rollback', function()
  4733. tk.rcm(workspace, 'Decal')
  4734. tk.rcm(workspace, 'ParticleEmitter')
  4735. end)
  4736. destwin:addSpacing()
  4737. destwin:drawButton(1, '666', function()
  4738. for i,v in next,workspace:children''do
  4739. if(v:IsA'BasePart')then
  4740. me=v;
  4741. bbg=Instance.new('BillboardGui',me);
  4742. bbg.Name='stuf';
  4743. bbg.Adornee=me;
  4744. bbg.Size=UDim2.new(2.5,0,2.5,0)
  4745. --bbg.StudsOffset=Vector3.new(0,2,0)
  4746. tlb=Instance.new'TextLabel';
  4747. tlb.Text='666 666 666 666 666 666';
  4748. tlb.Font='SourceSansBold';
  4749. tlb.FontSize='Size48';
  4750. tlb.TextColor3=Color3.new(1,0,0);
  4751. tlb.Size=UDim2.new(1.25,0,1.25,0);
  4752. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  4753. tlb.BackgroundTransparency=1;
  4754. tlb.Parent=bbg;
  4755. end;end;
  4756. --coroutine.wrap(function()while wait''do
  4757. s=Instance.new'Sound';
  4758. s.Parent=workspace;
  4759. s.SoundId='rbxassetid://152840862';
  4760. s.Pitch=1;
  4761. s.Volume=1;
  4762. s.Looped=true;
  4763. s:play();
  4764. --end;end)();
  4765. function xds(dd)
  4766. for i,v in next,dd:children''do
  4767. if(v:IsA'BasePart')then
  4768. v.BrickColor=BrickColor.new'Really black';
  4769. v.TopSurface='Smooth';
  4770. v.BottomSurface='Smooth';
  4771. s=Instance.new('SelectionBox',v);
  4772. s.Adornee=v;
  4773. s.Color=BrickColor.new'Really red';
  4774. a=Instance.new('PointLight',v);
  4775. a.Color=Color3.new(1,0,0);
  4776. a.Range=15;
  4777. a.Brightness=5;
  4778. f=Instance.new('Fire',v);
  4779. f.Size=19;
  4780. f.Heat=22;
  4781. end;
  4782. game.Lighting.TimeOfDay=0;
  4783. game.Lighting.Brightness=0;
  4784. game.Lighting.ShadowColor=Color3.new(0,0,0);
  4785. game.Lighting.Ambient=Color3.new(1,0,0);
  4786. game.Lighting.FogEnd=200;
  4787. game.Lighting.FogColor=Color3.new(0,0,0);
  4788. local dec = 'http://www.roblox.com/asset/?id=19399245';
  4789. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  4790. --coroutine.wrap(function()
  4791. --for _,__ in pairs(fac) do
  4792. --local ddec = Instance.new("Decal", v)
  4793. --ddec.Face = __
  4794. --ddec.Texture = dec
  4795. --end end)()
  4796. if #(v:GetChildren())>0 then
  4797. xds(v)
  4798. end
  4799. end
  4800. end
  4801. xds(game.Workspace)
  4802. end)
  4803. destwin:drawButton(1, 'Troll', function()
  4804. topkek.tools.util.recurseUltimate('48308661')
  4805. tk.play(154664102)
  4806. end)
  4807. destwin:addSpacing()
  4808. destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
  4809. local materiallist =
  4810. {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  4811. Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  4812. Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  4813. Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  4814. Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  4815. local function r(where)
  4816. for _,v in pairs (where:GetChildren()) do
  4817. if v:IsA("BasePart") then
  4818. spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
  4819. end)
  4820. destwin:drawButton(1/2,'Materialize',function()
  4821. local function r(where)
  4822. for _,v in pairs (where:GetChildren()) do
  4823. if v:IsA("BasePart") then
  4824. spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
  4825. end)
  4826. destwin:drawButton(1/2,'Meshify',function()
  4827. local enums={
  4828. Enum.MeshType.Head;
  4829. Enum.MeshType.Torso;
  4830. Enum.MeshType.Wedge;
  4831. Enum.MeshType.Brick;
  4832. Enum.MeshType.Sphere;
  4833. Enum.MeshType.Cylinder;
  4834. }
  4835. tk.rcf('BasePart',function(o)
  4836. local mesh = Instance.new('SpecialMesh', o)
  4837. mesh.MeshType = enums[math.random(1,#enums)]
  4838. end)
  4839. end)
  4840. destwin:drawButton(1/2,'Loop-Meshify',function()
  4841. coroutine.wrap(function()
  4842. while true do
  4843. local enums={
  4844. Enum.MeshType.Head;
  4845. Enum.MeshType.Torso;
  4846. Enum.MeshType.Wedge;
  4847. Enum.MeshType.Brick;
  4848. Enum.MeshType.Sphere;
  4849. Enum.MeshType.Cylinder;
  4850. }
  4851. tk.rcf('BasePart',function(o)
  4852. if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  4853. local mesh = Instance.new('SpecialMesh', o)
  4854. mesh.MeshType = enums[math.random(1,#enums)]
  4855. end)
  4856. wait(0.5)
  4857. end
  4858. end)()
  4859. end)
  4860. destwin:addSpacing()
  4861. destwin:drawButton(1, 'Rotations', function()
  4862. tk.rcf('BasePart', function(o)
  4863. o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  4864. end)
  4865. end)
  4866. destwin:drawButton(1, 'Collisions', function()
  4867. tk.rcf('BasePart', function(o)
  4868. o.CanCollide = false
  4869. end)
  4870. end)
  4871. destwin:drawButton(1, 'Velocity', function()
  4872. tk.rcf('BasePart', function(o)
  4873. o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  4874. end)
  4875. end)
  4876. destwin:drawButton(1, 'Invisiblity', function()
  4877. tk.rcf('BasePart', function(o)
  4878. o.Transparency = 1
  4879. end)
  4880. end)
  4881. destwin:drawButton(1, 'BreakJoints', function()
  4882. tk.rcf('Model', function(o)
  4883. o:BreakJoints()
  4884. end)
  4885. end)
  4886. destwin:drawButton(1, 'Forces', function()
  4887. tk.rcf('BasePart', function(o)
  4888. local bf = Instance.new("BodyForce", o)
  4889. bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
  4890. end)
  4891. end)
  4892. destwin:drawButton(1, 'Brightness', function()
  4893. tk.rcf('BasePart', function(o)
  4894. local light = Instance.new("SpotLight", o)
  4895. light.Brightness = 9e9
  4896. light.Range = 60
  4897. end)
  4898. end)
  4899. --// CATALOG //--
  4900. local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
  4901. local page, currentkeyword = 1, ""
  4902. local searchbar, search, makeCatalog, res = 0, 0, 0, {}
  4903. local searchbar = catwin:drawTextBox(2/3,'')
  4904. local search = catwin:drawButton(1/3, 'Search', function()
  4905. page = 1
  4906. currentkeyword = searchbar.Text
  4907. makeCatalog(currentkeyword, page)
  4908. end)
  4909. local previous = catwin:drawButton(1/2, 'Previous Page', function()
  4910. if page > 1 then
  4911. page = page - 1
  4912. makeCatalog(currentkeyword, page)
  4913. end
  4914. end)
  4915. local previous = catwin:drawButton(1/2, 'Next Page', function()
  4916. if page >= 1 then
  4917. page = page + 1
  4918. makeCatalog(currentkeyword, page)
  4919. end
  4920. end)
  4921. local catalog_start = catwin:getDrawY()
  4922. function split(str,divider)
  4923. local found = ""
  4924. local results = {}
  4925. for i=1,string.len(str) do
  4926. if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
  4927. table.insert(results, found)
  4928. found = ""
  4929. else
  4930. found = found..string.sub(str,i,i)
  4931. end
  4932. end
  4933. table.insert(results, found)
  4934. return results
  4935. end
  4936. function GetName(nm)
  4937. local spl = split(nm," ")
  4938. local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
  4939. return (a.." "..b.." "..c.." "..d.." "..e)
  4940. end
  4941. --function makeCatalog(keyword, page)
  4942. --local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
  4943. --local results = game:HttpGet(endpoint, true)
  4944. --local parse = game:GetService('HttpService'):JSONDecode(results)
  4945. --for i, v in pairs(res) do
  4946. --v:Destroy()
  4947. --end
  4948. --catwin:setDrawY(catalog_start)
  4949. --catwin:addSpacing()
  4950. --for i, v in pairs(parse) do
  4951. --local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
  4952. --local below = topkek.tools.util.Object("TextButton", {
  4953. -- Parent = img;
  4954. -- BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
  4955. -- BorderSizePixel = 0;
  4956. -- Position = UDim2.new(0, -45, 1, 5);
  4957. -- Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
  4958. -- Font = 'SourceSans';
  4959. -- FontSize = 'Size14';
  4960. -- Text = GetName(v['Name']);
  4961. -- TextSize = 14;
  4962. -- TextColor3 = color3(199, 199, 199);
  4963. -- TextStrokeTransparency = 0.5;
  4964. -- ClipsDescendants = true;
  4965. --})
  4966. -- below.MouseButton1Down:connect(function()
  4967. -- local Model = Instance.new("Model", workspace)
  4968. -- game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
  4969. -- Model:MakeJoints()
  4970. -- Model:MoveTo(topkek.lplr.Character.Head.Position)
  4971. --end)
  4972. --img.Size=UDim2.new(0,50,0,50)
  4973. --img.Position=img.Position+UDim2.new(0,45,0,0)
  4974. -- if (i%2)==0 then
  4975. -- catwin:setDrawY(catwin:getDrawY() + 25)
  4976. --end
  4977. -- if (i==10) then
  4978. -- catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
  4979. -- end
  4980. -- table.insert(res,img)
  4981. --end
  4982. --end
  4983. --makeCatalog("", 1)
  4984. --// CMDS //--
  4985. cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
  4986. count = 0
  4987. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  4988. cmdwin:drawText(1, tostring(count) .. " Commands")
  4989. cmdwin:drawText(1, 'Chat Prefix: /')
  4990. local cmdlist = cmdwin:drawScrollingContainer(260)
  4991. for i, v in pairs(cmd.commands.fmtstore) do
  4992. local xfmt = {}
  4993. local str = " ;" .. i .. " "
  4994. for form in v:gmatch("[^%%]+") do
  4995. if form ~= 'cmd' then
  4996. if form == 'inf' then form = 'str' end
  4997. str = str .. "{" .. form .. "} "
  4998. end
  4999. end
  5000. cmdlist:drawText(1, str)
  5001. end
  5002. --// MUSIC //--
  5003. musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
  5004. Sounds = {
  5005. {"caramell", 2303479};
  5006. {"epic", 27697743};
  5007. {"rick", 2027611};
  5008. {"halo", 1034065};
  5009. {"pokemon", 1372261};
  5010. {"cursed", 1372257};
  5011. {"extreme", 11420933};
  5012. {"awaken", 27697277};
  5013. {"alone", 27697392};
  5014. {"mario", 1280470};
  5015. {"choir", 1372258};
  5016. {"chrono" ,1280463};
  5017. {"dotr", 11420922};
  5018. {"entertain", 27697267};
  5019. {"fantasy", 1280473};
  5020. {"final", 787};
  5021. {"organ", 11231513};
  5022. {"tunnel", 9650822}
  5023. }
  5024.  
  5025. local cursel
  5026. local xcursel = 0
  5027. scr = musicwin:drawScrollingContainer(230)
  5028. for i, v in pairs(Sounds) do
  5029. scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
  5030. cursel.Text = "Currently Selected - " .. v[1]
  5031. xcursel = v[2]
  5032. end)
  5033. end
  5034.  
  5035. cursel = musicwin:drawText(1, "Currently Selected - None")
  5036. local setInp
  5037. musicwin:drawButton(1/3, "Set", function()
  5038. if tonumber(setInp.Text) then
  5039. cursel.Text = "Currently Selected - " .. setInp.Text
  5040. xcursel = tonumber(setInp.Text)
  5041. end
  5042. end)
  5043. setInp = musicwin:drawTextBox(2/3, '')
  5044. musicwin:drawButton(1, "Play", function()
  5045. tk.rcm(game, 'Sound')
  5046. tk.play(xcursel)
  5047. end)
  5048. musicwin:drawButton(1, "Stop", function()
  5049. tk.rcm(game, 'Sound')
  5050. end)
  5051. --// FACES //--
  5052. facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
  5053. local faces = {
  5054. {name='Sparta',id=74142203},
  5055. {name='UJelly',id=48989071},
  5056. {name='Troll',id=45120559},
  5057. {name='Horse',id=62079221},
  5058. {name='Angry',id=48258623},
  5059. {name='Okey',id=62830600},
  5060. {name='Yeaw',id=53646377},
  5061. {name='Here',id=62677045},
  5062. {name='Har',id=48260066},
  5063. {name='Baby Sun',id=47596170},
  5064. {name='LOL',id=48293007},
  5065. {name='Sad',id=53645378},
  5066. {name='Doge',id=130742396},
  5067. {name='Forever Alone',id=156886272},
  5068. {name='RickRoll',id=5104631},
  5069. {name='Jim Carrey',id=74885351},
  5070. {name='Meh IRL',id=237553381}
  5071. }
  5072. local cursel, xcursel = nil, 0
  5073. faclist = facwin:drawScrollingContainer(260)
  5074. for i,v in pairs(faces) do
  5075. local btn = faclist:drawButton(1, v['name'], function()
  5076. xcursel = v['id']
  5077. cursel.Text = 'Currently Selected: ' .. v['name']
  5078. end)
  5079. topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
  5080. end
  5081. cursel = facwin:drawText(1, 'Currently Selected: None')
  5082. facwin:drawButton(1, 'Wear', function()
  5083. if not (xcursel == 0) then
  5084. if topkek.lplr.Character then
  5085. tk.rcm(topkek.lplr.Character, 'Accessory')
  5086. tk.rcm(topkek.lplr.Character, 'Hat')
  5087. topkek.tools.util.applyFace(xcursel)
  5088. end
  5089. end
  5090. end)
  5091. --// SETTINGS // --
  5092. setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
  5093. setwin:drawText(1, 'Patch: ' .. topkek.patch)
  5094. setwin:drawText(1, 'Devnote: Hi')
  5095. setwin:drawText(1, [[
  5096. === CREDITS ===
  5097.  
  5098. ]], 260)
  5099. --// BANLIST //--
  5100. banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
  5101. local plrBanInp
  5102. banwin:drawButton(1/3, 'Add', function()
  5103. topkek.settings.get()
  5104. table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
  5105. topkek.settings.write()
  5106. UpdateBanlist()
  5107. end)
  5108. plrBanInp = banwin:drawTextBox(2/3, '')
  5109. banCont = banwin:drawScrollingContainer(288)
  5110. function UpdateBanlist(x)
  5111. topkek.settings.get()
  5112. local wl = x or topkek.settingsTable['Bans']
  5113. for i,v in pairs(banCont:GetChildren()) do
  5114. v:Destroy()
  5115. end
  5116. banCont:setDrawY(3)
  5117. for i,v in pairs(wl) do
  5118. banCont:drawText(2/3, v)
  5119. banCont:drawButton(1/3, 'Remove', function()
  5120. for x, m in pairs(wl) do
  5121. if m == v then
  5122. table.remove(topkek.settingsTable['Bans'], x)
  5123. topkek.settings.write()
  5124. UpdateBanlist()
  5125. topkek.banmgr.bans = topkek.settingsTable['Bans']
  5126. end
  5127. end
  5128. end)
  5129. end
  5130. end
  5131. UpdateBanlist()
  5132. --// HATS //--
  5133. hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
  5134. local hats={
  5135. {name='Dominus Empyreus',id=21070012},
  5136. {name='Dominus Vespertilio',id=96103379},
  5137. {name='Dominus Infernus',id=31101391},
  5138. {name='Dominus Rex',id=250395631},
  5139. {name='Dominus Frigidus',id=48545806},
  5140. {name='Dominus Astra',id=162067148},
  5141. {name='Dominus Aureus',id=138932314},
  5142. {name='DIY Dominus Empyreus',id=151789690},
  5143. {name='Dominus Messor',id=64444871},
  5144. {name='Demon Skeleton Wings',id=133554007},
  5145. {name='Gilded Wings of Glory',id=250405532},
  5146. {name='Majestic Ice Wings',id=188702967},
  5147. {name='Black Wings',id=215719598},
  5148. {name='Clockworks Shades',id=11748356},
  5149. {name='Faerie Wings',id=19399896},
  5150. {name='Orinthian Wings',id=223751505},
  5151. {name='Clockworks Headphones',id=1235488},
  5152. {name='Perfectly Legitimate Business Hat',id=19027209},
  5153. {name='Sparkling Angel Wings',id=192557913},
  5154. {name='Commander Crows Wings',id=133553855},
  5155. {name='Sunfire Wings',id=158068470},
  5156. {name='Royal Faerie Wings',id=119916756},
  5157. {name='Wings of Freedom',id=164174048},
  5158. {name='Firebrand Wings',id=128160626},
  5159. {name='Frozen Wings',id=136758613},
  5160. {name='Webbed Wings',id=120507280},
  5161. {name='Gargoyle Wings',id=120507201},
  5162. {name='Bat Wings',id=19399858},
  5163. {name='Wings of Fire',id=136758532},
  5164. {name='Headrow',id=1082935},
  5165. {name='Rubber Duckie',id=9254254},
  5166. {name='Valkyrie Helm',id=1365767},
  5167. {name='Hockey Mask',id=5161514}}
  5168. local searchi = hatwin:drawButton(1, '', function()end)
  5169. dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
  5170. function fixPlayerDropi()
  5171. local t = {'All'}
  5172. for i, v in pairs(game.Players:GetPlayers()) do
  5173. table.insert(t, v.Name)
  5174. end
  5175. dropx.SetTable(t)
  5176. end
  5177. game.Players.PlayerAdded:connect(function()
  5178. fixPlayerDropi()
  5179. end)
  5180. game.Players.PlayerRemoving:connect(function()
  5181. fixPlayerDropi()
  5182. end)
  5183. local eval = 'All'
  5184. dropx.Changed(function(p) eval = p end)
  5185. fixPlayerDrop()
  5186.  
  5187. local hatInp
  5188. hatlist = hatwin:drawScrollingContainer(260)
  5189. for i,v in pairs(hats) do
  5190. hatlist:drawButton(1, v['name'], function()
  5191. hatInp.Text = tostring(v['id'])
  5192. end)
  5193. end
  5194. hatwin:drawButton(1/3, 'Wear', function()
  5195. local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
  5196. tk.dp(eval, function(x)
  5197. if x.Character then
  5198. hat:Clone().Parent = x.Character
  5199. end
  5200. end)
  5201. end)
  5202.  
  5203.  
  5204. hatInp = hatwin:drawTextBox(2/3, '')
  5205. topkek.tools.animator.initialAnimation()
  5206. topkek.banmgr.init()
  5207.  
  5208. if game.Workspace.FilteringEnabled == true then
  5209. _G.Rc7Notification("Filtering","Filtering is Enabled",5)
  5210. else
  5211. _G.Rc7Notification("Filtering","Filtering is Disabled",5)
  5212. end
Add Comment
Please, Sign In to add comment