What_Is_A_Username_

Untitled

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