BankHack

asdasaaa

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