loldezpasteas2

Untitled

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