Wweroblox12121212

Untitled

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