Aflaack

ww

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