Mitko1223tm

TM first admin system

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