kilcrafter

Topk4k

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