Guest User

Topek

a guest
Feb 19th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 327.05 KB | None | 0 0
  1. -- Epic Script Leaked By Scratchy!
  2. -- Subscribe for more EPIC scripts! https://www.youtube.com/channel/UC-fFrczkFJuwHJguR6SXx5Q?sub_confirmation=1
  3.  
  4.  
  5. _G.Rc7Notification = function(a,b,c)
  6. game:GetService("CoreGui"):WaitForChild("RobloxGui").SendNotification:Fire(a, b, "rbxassetid://776252057", c)
  7. end
  8. local topkek = {}
  9. topkek.patch = '1.0.5a'
  10. topkek.data = {}
  11. topkek.commandbase = {}
  12. topkek.navigation = {}
  13. topkek.banmgr = {}
  14. topkek.lplr = game:GetService('Players').LocalPlayer
  15.  
  16. topkek.tools = {}
  17. topkek.tools.gui = {}
  18. topkek.tools.util = {}
  19. topkek.tools.animator = {}
  20.  
  21. topkek.windows = {}
  22. topkek.windows.lplr = {}
  23. topkek.windows.server = {}
  24. topkek.windows.players = {}
  25. topkek.windows.destruction = {}
  26. topkek.windows.scripts = {}
  27. topkek.windows.misc = {}
  28.  
  29. topkek.misc = {}
  30.  
  31. local NewGuiPart1 = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  32. NewGuiPart1.Name = "4.0"
  33. -------
  34. local NewGuiPart2 = Instance.new("Frame")
  35. NewGuiPart2.Active = true
  36. NewGuiPart2.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  37. NewGuiPart2.BorderSizePixel = 0
  38. NewGuiPart2.Name = "Main"
  39. NewGuiPart2.Position = UDim2.new(0, 300, 0, 50)
  40. NewGuiPart2.Selectable = true
  41. NewGuiPart2.Size = UDim2.new(0, 470, 0, 395)
  42. NewGuiPart2.Visible = false
  43. NewGuiPart2.ClipsDescendants = true
  44. NewGuiPart2.Draggable = true
  45. NewGuiPart2.Parent = NewGuiPart1
  46. -------
  47. local NewGuiPart3 = Instance.new("Frame")
  48. NewGuiPart3.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  49. NewGuiPart3.BorderSizePixel = 0
  50. NewGuiPart3.Name = "Topbar"
  51. NewGuiPart3.Position = UDim2.new(0, 150, 0, 0)
  52. NewGuiPart3.Size = UDim2.new(0, 320, 0, 30)
  53. NewGuiPart3.Parent = NewGuiPart2
  54. -------
  55. local NewGuiPart4 = Instance.new("TextLabel")
  56. NewGuiPart4.BackgroundTransparency = 1
  57. NewGuiPart4.Name = "PlayerName"
  58. NewGuiPart4.Position = UDim2.new(0, -140, 0, 0)
  59. NewGuiPart4.Size = UDim2.new(0.5, 0, 1, 0)
  60. NewGuiPart4.Visible = false
  61. NewGuiPart4.ZIndex = 4
  62. NewGuiPart4.Font = Enum.Font.Arcade
  63. NewGuiPart4.FontSize = Enum.FontSize.Size18
  64. NewGuiPart4.Text = "Player1"
  65. NewGuiPart4.TextColor3 = Color3.new(1, 1, 1)
  66. NewGuiPart4.TextXAlignment = Enum.TextXAlignment.Left
  67. NewGuiPart4.Parent = NewGuiPart3
  68. -------
  69. local NewGuiPart5 = Instance.new("Frame")
  70. NewGuiPart5.BackgroundTransparency = 1
  71. NewGuiPart5.Name = "Controllers"
  72. NewGuiPart5.Position = UDim2.new(1, -128, 0, 3)
  73. NewGuiPart5.Size = UDim2.new(0, 125, 1, -6)
  74. NewGuiPart5.Parent = NewGuiPart3
  75. -------
  76. local NewGuiPart6 = Instance.new("TextButton")
  77. NewGuiPart6.Active = true
  78. NewGuiPart6.AutoButtonColor = false
  79. NewGuiPart6.BackgroundColor3 = Color3.new(0.552941, 0.105882, 0.105882)
  80. NewGuiPart6.BorderSizePixel = 0
  81. NewGuiPart6.Name = "Exit"
  82. NewGuiPart6.Position = UDim2.new(1, -24, 0, 0)
  83. NewGuiPart6.Selectable = true
  84. NewGuiPart6.Size = UDim2.new(0, 24, 0, 24)
  85. NewGuiPart6.Style = Enum.ButtonStyle.Custom
  86. NewGuiPart6.FontSize = Enum.FontSize.Size14
  87. NewGuiPart6.Text = ""
  88. NewGuiPart6.Parent = NewGuiPart5
  89. -------
  90. local NewGuiPart7 = Instance.new("TextButton")
  91. NewGuiPart7.Active = true
  92. NewGuiPart7.AutoButtonColor = false
  93. NewGuiPart7.BackgroundColor3 = Color3.new(0.780392, 0.34902, 0)
  94. NewGuiPart7.BorderSizePixel = 0
  95. NewGuiPart7.Name = "Hide"
  96. NewGuiPart7.Position = UDim2.new(1, -50, 0, 0)
  97. NewGuiPart7.Selectable = true
  98. NewGuiPart7.Size = UDim2.new(0, 24, 0, 24)
  99. NewGuiPart7.Style = Enum.ButtonStyle.Custom
  100. NewGuiPart7.FontSize = Enum.FontSize.Size14
  101. NewGuiPart7.Text = ""
  102. NewGuiPart7.Parent = NewGuiPart5
  103. -------
  104. local NewGuiPart8 = Instance.new("TextLabel")
  105. NewGuiPart8.BackgroundTransparency = 1
  106. NewGuiPart8.Name = "IsFE"
  107. NewGuiPart8.Size = UDim2.new(0, 65, 1, 0)
  108. NewGuiPart8.FontSize = Enum.FontSize.Size18
  109. NewGuiPart8.Text = "Not FE"
  110. NewGuiPart8.TextColor3 = Color3.new(0.333333, 0.666667, 0)
  111. NewGuiPart8.TextStrokeTransparency = 0.69999998807907
  112. NewGuiPart8.TextXAlignment = Enum.TextXAlignment.Right
  113. NewGuiPart8.Parent = NewGuiPart5
  114. -------
  115. local NewGuiPart9 = Instance.new("TextLabel")
  116. NewGuiPart9.BackgroundTransparency = 1
  117. NewGuiPart9.Name = "Stella"
  118. NewGuiPart9.Position = UDim2.new(0, -150, 0, 0)
  119. NewGuiPart9.Size = UDim2.new(1, 150, 1, 0)
  120. NewGuiPart9.ZIndex = 2
  121. NewGuiPart9.Font = Enum.Font.Arcade
  122. NewGuiPart9.FontSize = Enum.FontSize.Size18
  123. NewGuiPart9.Text = "[Stella]"
  124. NewGuiPart9.TextColor3 = Color3.new(0.054902, 0.0745098, 0.498039)
  125. NewGuiPart9.Parent = NewGuiPart3
  126. -------
  127. local NewGuiPart10 = Instance.new("Frame")
  128. NewGuiPart10.BackgroundTransparency = 1
  129. NewGuiPart10.Name = "Holder"
  130. NewGuiPart10.Position = UDim2.new(0, 150, 0, 30)
  131. NewGuiPart10.Size = UDim2.new(0, 320, 0, 365)
  132. NewGuiPart10.Parent = NewGuiPart2
  133. -------
  134. local NewGuiPart11 = Instance.new("Frame")
  135. NewGuiPart11.BackgroundTransparency = 1
  136. NewGuiPart11.Name = "Home"
  137. NewGuiPart11.Size = UDim2.new(1, 0, 1, 0)
  138. NewGuiPart11.Parent = NewGuiPart10
  139. -------
  140. local NewGuiPart12 = Instance.new("TextLabel")
  141. NewGuiPart12.BackgroundTransparency = 1
  142. NewGuiPart12.BorderSizePixel = 0
  143. NewGuiPart12.Name = "Title1"
  144. NewGuiPart12.Position = UDim2.new(0, 30, 0, 3)
  145. NewGuiPart12.Selectable = true
  146. NewGuiPart12.Size = UDim2.new(1, -30, 0, 40)
  147. NewGuiPart12.Font = Enum.Font.SourceSansBold
  148. NewGuiPart12.FontSize = Enum.FontSize.Size42
  149. NewGuiPart12.Text = "T0PK3K 4.0"
  150. NewGuiPart12.TextColor3 = Color3.new(1, 1, 1)
  151. NewGuiPart12.TextStrokeTransparency = 0.5
  152. NewGuiPart12.TextXAlignment = Enum.TextXAlignment.Left
  153. NewGuiPart12.Parent = NewGuiPart11
  154. -------
  155. local NewGuiPart13 = Instance.new("TextLabel")
  156. NewGuiPart13.BackgroundTransparency = 1
  157. NewGuiPart13.BorderSizePixel = 0
  158. NewGuiPart13.Name = "Title2"
  159. NewGuiPart13.Position = UDim2.new(0.600000024, 5, 0, -5)
  160. NewGuiPart13.Size = UDim2.new(0.400000006, 0, 1, 0)
  161. NewGuiPart13.Font = Enum.Font.SourceSansBold
  162. NewGuiPart13.FontSize = Enum.FontSize.Size18
  163. NewGuiPart13.Text = "by nosyliam"
  164. NewGuiPart13.TextColor3 = Color3.new(1, 1, 1)
  165. NewGuiPart13.TextStrokeTransparency = 0.5
  166. NewGuiPart13.TextXAlignment = Enum.TextXAlignment.Left
  167. NewGuiPart13.TextYAlignment = Enum.TextYAlignment.Bottom
  168. NewGuiPart13.Parent = NewGuiPart12
  169. -------
  170. local NewGuiPart14 = Instance.new("Frame")
  171. NewGuiPart14.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  172. NewGuiPart14.BorderColor3 = Color3.new(0.32549, 0, 0)
  173. NewGuiPart14.Name = "Container"
  174. NewGuiPart14.Position = UDim2.new(0, 16, 0, 50)
  175. NewGuiPart14.Size = UDim2.new(1, -30, 0, 250)
  176. NewGuiPart14.Parent = NewGuiPart11
  177. -------
  178. local NewGuiPart15 = Instance.new("TextLabel")
  179. NewGuiPart15.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  180. NewGuiPart15.BorderSizePixel = 0
  181. NewGuiPart15.Name = "Message"
  182. NewGuiPart15.Position = UDim2.new(0, 15, 0, 305)
  183. NewGuiPart15.Size = UDim2.new(1, -30, 0, 25)
  184. NewGuiPart15.Font = Enum.Font.Highway
  185. NewGuiPart15.FontSize = Enum.FontSize.Size14
  186. NewGuiPart15.Text = "Server Message: variable is gay"
  187. NewGuiPart15.TextColor3 = Color3.new(0.886275, 0.886275, 0.886275)
  188. NewGuiPart15.TextStrokeTransparency = 0.69999998807907
  189. NewGuiPart15.Parent = NewGuiPart11
  190. -------
  191. local NewGuiPart16 = Instance.new("TextBox")
  192. NewGuiPart16.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  193. NewGuiPart16.BorderColor3 = Color3.new(0.32549, 0, 0)
  194. NewGuiPart16.Name = "Command"
  195. NewGuiPart16.Position = UDim2.new(0, 15, 0, 335)
  196. NewGuiPart16.Size = UDim2.new(1, -30, 0, 20)
  197. NewGuiPart16.Font = Enum.Font.Code
  198. NewGuiPart16.FontSize = Enum.FontSize.Size12
  199. NewGuiPart16.Text = "Press ; to enter a command"
  200. NewGuiPart16.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
  201. NewGuiPart16.TextStrokeTransparency = 0.80000001192093
  202. NewGuiPart16.TextTransparency = 0.30000001192093
  203. NewGuiPart16.Parent = NewGuiPart10
  204. -------
  205. local NewGuiPart17 = Instance.new("Frame")
  206. NewGuiPart17.BackgroundTransparency = 1
  207. NewGuiPart17.Name = "Template"
  208. NewGuiPart17.Size = UDim2.new(1, 0, 1, 0)
  209. NewGuiPart17.Visible = false
  210. NewGuiPart17.ZIndex = 2
  211. NewGuiPart17.Parent = NewGuiPart10
  212. -------
  213. local NewGuiPart18 = Instance.new("ScrollingFrame")
  214. NewGuiPart18.Active = true
  215. NewGuiPart18.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  216. NewGuiPart18.BorderColor3 = Color3.new(0.32549, 0, 0)
  217. NewGuiPart18.Name = "Container"
  218. NewGuiPart18.Position = UDim2.new(0, 15, 0, 10)
  219. NewGuiPart18.Selectable = true
  220. NewGuiPart18.Size = UDim2.new(1, -30, 0, 320)
  221. NewGuiPart18.ZIndex = 2
  222. NewGuiPart18.BottomImage = "rbxassetid://368504177"
  223. NewGuiPart18.CanvasSize = UDim2.new(0, 0, 0, 0)
  224. NewGuiPart18.MidImage = "rbxassetid://368504177"
  225. NewGuiPart18.ScrollBarThickness = 5
  226. NewGuiPart18.TopImage = "rbxassetid://368504177"
  227. NewGuiPart18.ClipsDescendants = true
  228. NewGuiPart18.Parent = NewGuiPart17
  229. -------
  230. local NewGuiPart19 = Instance.new("Frame")
  231. NewGuiPart19.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  232. NewGuiPart19.BackgroundTransparency = 1
  233. NewGuiPart19.BorderColor3 = Color3.new(0.32549, 0, 0)
  234. NewGuiPart19.Name = "Navigator"
  235. NewGuiPart19.Position = UDim2.new(0, 16, 0, 10)
  236. NewGuiPart19.Size = UDim2.new(1, -30, 0, 60)
  237. NewGuiPart19.Visible = false
  238. NewGuiPart19.Parent = NewGuiPart10
  239. -------
  240. local NewGuiPart20 = Instance.new("Frame")
  241. NewGuiPart20.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  242. NewGuiPart20.BorderColor3 = Color3.new(0.32549, 0, 0)
  243. NewGuiPart20.Name = "NavMain"
  244. NewGuiPart20.Position = UDim2.new(0, 22, 0, 0)
  245. NewGuiPart20.Size = UDim2.new(1, -44, 0, 60)
  246. NewGuiPart20.Parent = NewGuiPart19
  247. -------
  248. local NewGuiPart21 = Instance.new("TextButton")
  249. NewGuiPart21.Active = true
  250. NewGuiPart21.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  251. NewGuiPart21.BorderSizePixel = 0
  252. NewGuiPart21.Name = "NavLeft"
  253. NewGuiPart21.Selectable = true
  254. NewGuiPart21.Size = UDim2.new(0, 17, 1, 0)
  255. NewGuiPart21.Style = Enum.ButtonStyle.Custom
  256. NewGuiPart21.FontSize = Enum.FontSize.Size14
  257. NewGuiPart21.Text = ""
  258. NewGuiPart21.Parent = NewGuiPart19
  259. -------
  260. local NewGuiPart22 = Instance.new("TextButton")
  261. NewGuiPart22.Active = true
  262. NewGuiPart22.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  263. NewGuiPart22.BorderSizePixel = 0
  264. NewGuiPart22.Name = "NavRight"
  265. NewGuiPart22.Position = UDim2.new(1, -17, 0, 0)
  266. NewGuiPart22.Selectable = true
  267. NewGuiPart22.Size = UDim2.new(0, 17, 1, 0)
  268. NewGuiPart22.Style = Enum.ButtonStyle.Custom
  269. NewGuiPart22.FontSize = Enum.FontSize.Size14
  270. NewGuiPart22.Text = ""
  271. NewGuiPart22.Parent = NewGuiPart19
  272. -------
  273. local NewGuiPart23 = Instance.new("Frame")
  274. NewGuiPart23.Active = true
  275. NewGuiPart23.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  276. NewGuiPart23.BorderSizePixel = 0
  277. NewGuiPart23.Name = "Navigation"
  278. NewGuiPart23.Size = UDim2.new(0, 150, 1, 0)
  279. NewGuiPart23.ZIndex = 2
  280. NewGuiPart23.Parent = NewGuiPart2
  281. -------
  282. local NewGuiPart24 = Instance.new("Frame")
  283. NewGuiPart24.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  284. NewGuiPart24.BorderSizePixel = 0
  285. NewGuiPart24.Name = "Topbar"
  286. NewGuiPart24.Size = UDim2.new(1, 0, 0, 30)
  287. NewGuiPart24.ZIndex = 3
  288. NewGuiPart24.Parent = NewGuiPart23
  289. -------
  290. local NewGuiPart25 = Instance.new("ScrollingFrame")
  291. NewGuiPart25.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  292. NewGuiPart25.BorderSizePixel = 0
  293. NewGuiPart25.Name = "Scroll"
  294. NewGuiPart25.Position = UDim2.new(0, 0, 0, 30)
  295. NewGuiPart25.Selectable = true
  296. NewGuiPart25.Size = UDim2.new(1, 0, 1, -30)
  297. NewGuiPart25.ZIndex = 3
  298. NewGuiPart25.BottomImage = "rbxassetid://368504177"
  299. NewGuiPart25.MidImage = "rbxassetid://368504177"
  300. NewGuiPart25.ScrollBarThickness = 6
  301. NewGuiPart25.TopImage = "rbxassetid://368504177"
  302. NewGuiPart25.ClipsDescendants = true
  303. NewGuiPart25.Parent = NewGuiPart23
  304. -------
  305. local NewGuiPart26 = Instance.new("Frame")
  306. NewGuiPart26.BackgroundTransparency = 1
  307. NewGuiPart26.Name = "Composite1"
  308. NewGuiPart26.Position = UDim2.new(-1, 0, 0.5, -50)
  309. NewGuiPart26.Size = UDim2.new(0, 50, 0, 100)
  310. NewGuiPart26.ClipsDescendants = true
  311. NewGuiPart26.Parent = NewGuiPart1
  312. -------
  313. local NewGuiPart27 = Instance.new("TextLabel")
  314. NewGuiPart27.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  315. NewGuiPart27.BorderSizePixel = 0
  316. NewGuiPart27.Name = "Label"
  317. NewGuiPart27.Size = UDim2.new(2, 0, 1, 0)
  318. NewGuiPart27.Font = Enum.Font.SourceSansBold
  319. NewGuiPart27.FontSize = Enum.FontSize.Size96
  320. NewGuiPart27.Text = "T"
  321. NewGuiPart27.TextColor3 = Color3.new(1, 1, 1)
  322. NewGuiPart27.Parent = NewGuiPart26
  323. -------
  324. local NewGuiPart28 = Instance.new("Frame")
  325. NewGuiPart28.BackgroundTransparency = 1
  326. NewGuiPart28.Name = "Composite2"
  327. NewGuiPart28.Position = UDim2.new(1, 0, 0.5, -50)
  328. NewGuiPart28.Size = UDim2.new(0, 50, 0, 100)
  329. NewGuiPart28.ClipsDescendants = true
  330. NewGuiPart28.Parent = NewGuiPart1
  331. -------
  332. local NewGuiPart29 = Instance.new("TextLabel")
  333. NewGuiPart29.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  334. NewGuiPart29.BorderSizePixel = 0
  335. NewGuiPart29.Name = "Label"
  336. NewGuiPart29.Position = UDim2.new(-1, 0, 0, 0)
  337. NewGuiPart29.Size = UDim2.new(2, 0, 1, 0)
  338. NewGuiPart29.Font = Enum.Font.SourceSansBold
  339. NewGuiPart29.FontSize = Enum.FontSize.Size96
  340. NewGuiPart29.Text = "T"
  341. NewGuiPart29.TextColor3 = Color3.new(1, 1, 1)
  342. NewGuiPart29.Parent = NewGuiPart28
  343. -------
  344. local NewGuiPart30 = Instance.new("Frame")
  345. NewGuiPart30.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  346. NewGuiPart30.Name = "Solid"
  347. NewGuiPart30.Position = UDim2.new(0.5, -50, 0.5, -50)
  348. NewGuiPart30.Visible = false
  349. NewGuiPart30.ClipsDescendants = true
  350. NewGuiPart30.Parent = NewGuiPart1
  351. -------
  352. local NewGuiPart31 = Instance.new("TextLabel")
  353. NewGuiPart31.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  354. NewGuiPart31.BorderSizePixel = 0
  355. NewGuiPart31.Name = "Label"
  356. NewGuiPart31.Size = UDim2.new(1, 0, 1, 0)
  357. NewGuiPart31.Font = Enum.Font.SourceSansBold
  358. NewGuiPart31.FontSize = Enum.FontSize.Size96
  359. NewGuiPart31.Text = "T"
  360. NewGuiPart31.TextColor3 = Color3.new(1, 1, 1)
  361. NewGuiPart31.Parent = NewGuiPart30
  362.  
  363.  
  364.  
  365. topkek.center = game.Players.LocalPlayer.PlayerGui["4.0"].Main
  366. topkek.holder = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder
  367. topkek.topbar = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar
  368. topkek.template = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Template
  369. topkek.navigator = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Navigator
  370.  
  371. AllowHovers = false
  372. PlayerChatHook, UpdateBanlist = nil
  373. cmd = {}
  374.  
  375. --// data //--
  376. topkek.data.windows = {
  377. 'Home',
  378. 'LocalPlayer',
  379. 'Server',
  380. 'Players',
  381. 'Destruction',
  382. 'Scripts',
  383. 'Catalog',
  384. 'Music',
  385. 'Hats',
  386. 'Faces',
  387. 'Settings',
  388. 'Commands',
  389. 'Banlist',
  390. }
  391.  
  392. color3 = function(r,g,b)
  393. return Color3.new(r/255, g/255, b/255)
  394. end
  395. --// doggo dropdown //--
  396. -- thanks krystal
  397. GUI = {
  398. TextBox = {
  399. Settings = {
  400. Font = Enum.Font.SourceSans;
  401. FontSize = Enum.FontSize.Size14;
  402. };
  403. Color = {
  404. Main = Color3.fromRGB(5,8,11);
  405. Border = Color3.fromRGB(27,42,53);
  406. Text = Color3.fromRGB(199,199,199);
  407. };
  408. New = function(Position, Size, Parent, ...)
  409. local arguments = {...};
  410.  
  411. local TextBox = Instance.new("TextBox", Parent);
  412. TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
  413. TextBox.BorderColor3 = GUI.DropDown.Color.Border;
  414. TextBox.Font = GUI.TextBox.Settings.Font;
  415. TextBox.FontSize = GUI.TextBox.Settings.FontSize;
  416. TextBox.TextColor3 = GUI.TextBox.Color.Text;
  417. TextBox.Position = Position;
  418. TextBox.Size = Size;
  419. if #arguments then
  420. if arguments[1] then
  421. TextBox.Text = tostring(arguments[1]);
  422. else
  423. TextBox.Text = "";
  424. end
  425. end
  426. return TextBox;
  427. end;
  428. };
  429. DropDown = {
  430. Settings = {
  431. ScrollerAmount = 5; --A scroller will appear at this amount.
  432. ScrollBarThickness = 6;
  433. };
  434. Gfx = {
  435. Scroller = "rbxassetid://606572419";
  436. };
  437. Color = {
  438. Main = color3(107, 36, 36);
  439. Secondary = color3(113, 39, 39);
  440. Border = color3(127, 44, 44);
  441. Text = Color3.fromRGB(199,199,199);
  442. };
  443. New = function(Position, Size, Parent, ...)
  444. local vValue = {};
  445. local arguments = {...};
  446. local vSelected = Instance.new("StringValue");
  447. vSelected.Value = "nil";
  448.  
  449. if arguments then
  450. if type(arguments) == "table" then
  451. for i=1,#(arguments) do
  452. if type(arguments[i]) == "table" then
  453. for f=1,#(arguments[i]) do
  454. table.insert(vValue, tostring((arguments[i])[f]));
  455. end
  456. else
  457. table.insert(vValue, tostring(arguments[i]));
  458. end
  459. end
  460. vSelected.Value = (vValue[1]);
  461. end
  462. end
  463.  
  464. local Main = Instance.new("TextButton", Parent);
  465. Main.BackgroundColor3 = GUI.DropDown.Color.Main;
  466. Main.BorderColor3 = GUI.DropDown.Color.Border;
  467. Main.Position = Position;
  468. Main.Size = Size;
  469. Main.TextColor3 = GUI.DropDown.Color.Text;
  470. Main.FontSize = Enum.FontSize.Size14;
  471. Main.TextStrokeTransparency = 0.5;
  472. Main.TextXAlignment = Enum.TextXAlignment.Left;
  473. Main.Font = Enum.Font.SourceSans;
  474. Main.Text = " "..tostring(vSelected.Value);
  475. Main.ZIndex = 3
  476.  
  477. local Icon = Instance.new("TextLabel", Main);
  478. Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
  479. Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
  480. Icon.BorderColor3 = GUI.DropDown.Color.Border;
  481. Icon.Position = UDim2.new(1,-2,1,-2);
  482. Icon.Size = UDim2.new(-1,4,-1,4);
  483. Icon.TextColor3 = GUI.DropDown.Color.Text;
  484. Icon.FontSize = Enum.FontSize.Size14;
  485. Icon.TextStrokeTransparency = 0.5;
  486. Icon.Font = Enum.Font.SourceSans;
  487. Icon.Text = "V"
  488. Icon.ZIndex = 4
  489.  
  490. local Holder, Search;
  491. local ClearHolder = function()
  492. if Holder then
  493. Holder:ClearAllChildren();
  494. Holder.Size = UDim2.new(1,0,0,0);
  495. Holder.Visible = false;
  496. if Search then
  497. Search.Visible = false;
  498. end
  499. end
  500. end;
  501.  
  502. local CreateButton;
  503. local RefreshDropDown = function()
  504. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  505. if not Holder or not Holder:IsA("Frame") then
  506. Holder = nil; Search = nil;
  507. Holder = Instance.new("Frame",Main);
  508. Holder.Size = UDim2.new(1,0,0,0);
  509. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  510. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  511. Holder.Visible = false;
  512. Holder.ZIndex = 3
  513. end
  514. elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
  515. if not Holder or not Holder:IsA("ScrollingFrame") then
  516. Holder = nil; Search = nil;
  517. Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
  518. Search.Visible = false;
  519. Search.ZIndex = 4
  520. Search.Changed:connect(function(p)
  521. if p == "Text" then
  522. CreateButton(Search.Text);
  523. end
  524. end)
  525. Holder = Instance.new("ScrollingFrame",Main);
  526. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  527. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  528. Holder.TopImage = GUI.DropDown.Gfx.Scroller;
  529. Holder.MidImage = GUI.DropDown.Gfx.Scroller;
  530. Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
  531. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
  532. Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
  533. Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
  534. Holder.Visible = false;
  535. Holder.ZIndex = 3;
  536. end
  537. end
  538. if #vValue == 1 and vSelected.Value ~= vValue[1] then
  539. vSelected.Value = vValue[1];
  540. elseif #vValue == 0 then
  541. vSelected.Value = "nil";
  542. warn("Table amount is nil.");
  543. end
  544. Main.Text = " "..tostring(vSelected.Value);
  545. --ClearHolder();
  546. end;
  547.  
  548. local Debounce = false;
  549. CreateButton = function(searches)
  550. if Debounce == false then
  551. Debounce = true;
  552. ClearHolder()
  553. Holder.Visible = true;
  554. local Searched = 0;
  555. if #vValue > 0 then
  556. for i=1,#vValue do
  557. if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
  558. Searched = Searched + 1;
  559. end
  560. end
  561. for i=1,#vValue do
  562. 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
  563. local Select = Instance.new("TextButton", Holder);
  564. Select.BackgroundColor3 = GUI.DropDown.Color.Main;
  565. Select.BorderColor3 = GUI.DropDown.Color.Border;
  566. Select.BackgroundTransparency = 1;
  567. Select.BorderSizePixel = 0;
  568. Select.Position = Position;
  569. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  570. Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
  571. else
  572. Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
  573. end
  574. Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
  575. Select.TextColor3 = GUI.DropDown.Color.Text;
  576. Select.FontSize = Enum.FontSize.Size14;
  577. Select.TextStrokeTransparency = 0.5;
  578. Select.Font = Enum.Font.SourceSans;
  579. Select.Text = tostring(vValue[i]);
  580. Select.ZIndex = 3
  581. Select.MouseButton1Click:connect(function()
  582. vSelected.Value = vValue[i];
  583. ClearHolder();
  584. RefreshDropDown();
  585. end)
  586. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  587. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
  588. elseif Holder:IsA("ScrollingFrame") then
  589. Search.Visible = true;
  590. if #Holder:GetChildren() >= 1 then
  591. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  592. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
  593. if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
  594. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
  595. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  596. end
  597. elseif #Holder:GetChildren() < 1 then
  598. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  599. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  600. end
  601. end
  602. end
  603. end
  604. end
  605. Debounce = false;
  606. end
  607. end;
  608.  
  609. RefreshDropDown();
  610.  
  611. Main.MouseButton1Click:connect(function()
  612. CreateButton()
  613. if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
  614. Search:CaptureFocus();
  615. Search.Text = "";
  616. end
  617. end)
  618.  
  619. topkek.lplr:GetMouse().Button1Down:connect(function()
  620. ClearHolder()
  621. end)
  622.  
  623. return {
  624. Update = function()
  625. RefreshDropDown();
  626. end;
  627. GetValue = function()
  628. RefreshDropDown();
  629. return vValue;
  630. end;
  631. GetSelected = function()
  632. RefreshDropDown();
  633. return vSelected.Value;
  634. end;
  635. SetTable = function(F)
  636. vValue = F;
  637. RefreshDropDown();
  638. end;
  639. Changed = function(F)
  640. vSelected.Changed:connect(function()
  641. ypcall(function()
  642. F(vSelected.Value);
  643. end)
  644. end)
  645. return "ChangedEvent Hooked";
  646. end;
  647. AddValue = function(obj)
  648. local Type = type(obj);
  649. if Type == "table" then
  650. for i=1,#obj do
  651. table.insert(vValue, obj[i])
  652. end
  653. elseif Type == "string" or Type == "number" or Type == "boolean" then
  654. table.insert(vValue, obj)
  655. end
  656. RefreshDropDown();
  657. end;
  658. RemoveValue = function(obj)
  659. local Type = type(obj);
  660. if Type == "table" then
  661. for i=1,#vValue do
  662. for f=1,#obj do
  663. if tostring(obj[f]) == tostring(vValue[i]) then
  664. table.remove(vValue,i)
  665. end
  666. end
  667. end
  668. else
  669. for i=1,#vValue do
  670. if tostring(obj) == tostring(vValue[i]) then
  671. table.remove(vValue,i)
  672. end
  673. end
  674. end
  675. RefreshDropDown();
  676. end;
  677. ClearValue = function()
  678. vValue = {};
  679. RefreshDropDown();
  680. end;
  681. }
  682. end;
  683. };
  684. };
  685. --// util //--
  686. function topkek.tools.util.Object(o, p)
  687. local a, b = pcall(function()
  688. Instance.new(o)
  689. end)
  690. if not a then
  691. return
  692. end
  693. local obj = Instance.new(o)
  694. for prop, val in pairs(p) do
  695. pcall(function()
  696. obj[prop] = val
  697. end)
  698. end
  699. return obj
  700. end
  701.  
  702. function topkek.tools.util.getContainer(n)
  703. if game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder:FindFirstChild(n) then
  704. return game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder[n]
  705. else
  706. print("menu not found; returning template")
  707. return topkek.holder['Template']
  708. end
  709. end
  710.  
  711. function topkek.tools.util.play(id)
  712. local mu = Instance.new("Sound", game:GetService('Workspace'))
  713. mu.Volume = 1
  714. mu.Looped = true
  715. mu.Pitch = 1
  716. mu.SoundId = "rbxassetid://"..tostring(id)
  717. mu:Play()
  718. end
  719.  
  720. function topkek.tools.util.getTorso(plr) --r15 compatibility lole
  721. if plr.Character then
  722. if plr.Character:FindFirstChild('UpperTorso') then
  723. return plr.Character.UpperTorso
  724. elseif plr.Character:FindFirstChild('Torso') then
  725. return plr.Character.Torso
  726. else
  727. return nil
  728. end
  729. end
  730. end
  731.  
  732. function topkek.tools.util.recurseRemove(x,type_)
  733. local function recurse(x)
  734. for i, v in pairs(x:GetChildren()) do
  735. pcall(function()
  736. if v:IsA(type_) then
  737. v:Destroy()
  738. end
  739. if #(v:GetChildren())>0 then
  740. recurse(v)
  741. end
  742. end)
  743. end
  744. end
  745. recurse(x)
  746. end
  747.  
  748. function topkek.tools.util.recurseFunc(type_,func)
  749. local function recurse(x)
  750. for i, v in pairs(x:GetChildren()) do
  751. pcall(function()
  752. if v:IsA(type_) then
  753. func(v)
  754. end
  755. if #(v:GetChildren())>0 then
  756. recurse(v)
  757. end
  758. end)
  759. end
  760. end
  761. recurse(game)
  762. end
  763. function topkek.tools.util.trowel()
  764. local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
  765. T.Name = 'Custom Trowel'
  766.  
  767. local p = Instance.new('Part')
  768. p.Name = 'Handle'
  769. p.Size = Vector3.new(1,4.4,1)
  770. p.Parent = T
  771.  
  772. local specialMesh = Instance.new('SpecialMesh')
  773. specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
  774. specialMesh.MeshType = 'FileMesh'
  775. specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
  776. specialMesh.Parent = T.Handle
  777.  
  778. local sound = Instance.new'Sound'
  779. sound.Name = 'build'
  780. sound.SoundId = 'rbxasset://sounds//bass.wav'
  781. sound.Volume = 1
  782. sound.Parent = T.Handle
  783.  
  784. local brickHeight = 100
  785. local trowelSpeed = 0.05
  786. local brickWidth = 500
  787. local mouseConnection
  788.  
  789. function newBrick(CF, P, color)
  790. local brick = Instance.new('Part')
  791. brick.BrickColor = color
  792. brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
  793. brick.Parent = game.Workspace
  794. brick:MakeJoints()
  795. brick.Material = 'Neon'
  796. brick.Name = 'DeleteMe'
  797. return brick, P + brick.Size
  798. end
  799.  
  800. function genBrick(cFrame)
  801. local randBrickColor = BrickColor.Random()
  802. assert(brickWidth > 0)
  803.  
  804. local yPos = 0
  805.  
  806. while yPos < brickHeight do
  807. local vPos
  808. local X = -brickWidth / 2
  809. while X < brickWidth / 2 do
  810. local brick
  811. brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
  812. X = vPos.x
  813. wait(trowelSpeed)
  814. end
  815. yPos = vPos.y
  816. end
  817. end
  818.  
  819. function calcPos(vec)
  820. if (math.abs(vec.x) > math.abs(vec.z)) then
  821. if vec.x > 0 then
  822. return Vector3.new(1, 0, 0)
  823. else
  824. return Vector3.new(-1, 0, 0)
  825. end
  826. else
  827. if (vec.z > 0) then
  828. return Vector3.new(0, 0, 1)
  829. else
  830. return Vector3.new(0, 0, -1)
  831. end
  832. end
  833. end
  834.  
  835. T.Enabled = true
  836.  
  837. T.Activated:connect(function()
  838. if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  839. T.Enabled = false
  840. T.Handle.build:Play()
  841. 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)))
  842. T.Enabled = true
  843. end
  844. end)
  845.  
  846. T.Equipped:connect(function()
  847. mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  848. if (key == 'r') then
  849. for i,v in next, workspace:children'' do
  850. if (v.Name == 'DeleteMe') then
  851. v:Destroy()
  852. end
  853. end
  854. end
  855. end)
  856. end)
  857.  
  858. T.Unequipped:connect(function()
  859. mouseConnection:disconnect()
  860. end)
  861. end
  862. function topkek.tools.util.recurseSet(type_,prop,val)
  863. local function recurse(x)
  864. for i, v in pairs(x:GetChildren()) do
  865. pcall(function()
  866. if v:IsA(type_) then
  867. v[prop]=val
  868. end
  869. if #(v:GetChildren())>0 then
  870. recurse(v)
  871. end
  872. end)
  873. end
  874. end
  875. recurse(game)
  876. end
  877. function topkek.tools.util.recurseUltimate(d)
  878. topkek.tools.util.recurseDecal(d)
  879. topkek.tools.util.recurseParticles(d)
  880. end
  881. function topkek.tools.util.recurseDecal(img)
  882. img = 'rbxassetid://' .. img
  883. local function skybox(x)
  884. local sky = Instance.new("Sky",game.Lighting)
  885. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  886. for i,v in pairs(fcs) do
  887. sky["Skybox"..v]=x
  888. end
  889. end
  890.  
  891. local function decal(p, b)
  892. local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  893. for i, v in pairs(sides) do
  894. local a = Instance.new("Decal", p)
  895. a.Texture = b
  896. a.Face = v
  897. end
  898. end
  899.  
  900. local function recurse(x)
  901. for i, v in pairs(x:GetChildren()) do
  902. pcall(function() -- 'error occured, no output from Lua' LOLE
  903. if v:IsA("BasePart") then
  904. decal(v, img)
  905. end
  906. if #(v:GetChildren())>0 then
  907. recurse(v)
  908. end
  909. end)
  910. end
  911. end
  912.  
  913. recurse(game)
  914. skybox(img)
  915. end
  916. function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
  917. img = 'rbxassetid://' .. img
  918. local function skybox(x)
  919. local sky = Instance.new("Sky",game.Lighting)
  920. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  921. for i,v in pairs(fcs) do
  922. sky["Skybox"..v]=x
  923. end
  924. end
  925. local function particle(p, b)
  926. local a = Instance.new("ParticleEmitter", p)
  927. a.Rate = 500
  928. a.Lifetime = NumberRange.new(20, 30)
  929. a.VelocitySpread = 200
  930. a.Texture = b
  931. end
  932.  
  933. local function recurse(x)
  934. for i, v in pairs(x:GetChildren()) do
  935. pcall(function() -- 'error occured, no output from Lua' LOLE
  936. if v:IsA("BasePart") then
  937. particle(v, img)
  938. end
  939. if #(v:GetChildren())>0 then
  940. recurse(v)
  941. end
  942. end)
  943. end
  944. end
  945.  
  946. recurse(game)
  947. skybox(img)
  948. end
  949. function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
  950. local function recurse(x)
  951. for i, v in pairs(x:GetChildren()) do
  952. pcall(function()
  953. if v:IsA(type_) then
  954. v[prop]=val
  955. end
  956. if #(v:GetChildren())>0 then
  957. recurse(v)
  958. end
  959. end)
  960. end
  961. end
  962. recurse(obj)
  963. end
  964. function topkek.tools.util.doPlayers(cval, func)
  965. local plrs = {}
  966. if cval == 'All' then
  967. plrs = game:GetService('Players'):GetPlayers()
  968. else
  969. plrs = {game:GetService('Players'):FindFirstChild(cval)}
  970. end
  971. for i, v in pairs(plrs) do
  972. func(v)
  973. end
  974. end
  975. function topkek.tools.util.scalePlayer(sc,plr)
  976. local pchar = plr.Character
  977. if pchar:FindFirstChild("UpperTorso") then
  978. warn("Player [" ..plr.Name.. "] is R15.")
  979. return
  980. end
  981. local function scale(chr,scl)
  982.  
  983. for _,v in pairs(pchar:GetChildren()) do
  984. if v:IsA("Hat") then
  985. v:Clone()
  986. v.Parent = game.Lighting
  987. end
  988. end
  989.  
  990. local Head = chr['Head']
  991. local Torso = chr['Torso']
  992. local LA = chr['Left Arm']
  993. local RA = chr['Right Arm']
  994. local LL = chr['Left Leg']
  995. local RL = chr['Right Leg']
  996. local HRP = chr['HumanoidRootPart']
  997.  
  998. wait(0.1)
  999.  
  1000. Head.formFactor = 3
  1001. Torso.formFactor = 3
  1002. LA.formFactor = 3
  1003. RA.formFactor = 3
  1004. LL.formFactor = 3
  1005. RL.formFactor = 3
  1006. HRP.formFactor = 3
  1007.  
  1008. Head.Size = Vector3.new(scl * 2, scl, scl)
  1009. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1010. LA.Size = Vector3.new(scl, scl * 2, scl)
  1011. RA.Size = Vector3.new(scl, scl * 2, scl)
  1012. LL.Size = Vector3.new(scl, scl * 2, scl)
  1013. RL.Size = Vector3.new(scl, scl * 2, scl)
  1014. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1015.  
  1016. local Motor1 = Instance.new('Motor6D', Torso)
  1017. Motor1.Part0 = Torso
  1018. Motor1.Part1 = Head
  1019. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1020. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1021. Motor1.Name = "Neck"
  1022.  
  1023. local Motor2 = Instance.new('Motor6D', Torso)
  1024. Motor2.Part0 = Torso
  1025. Motor2.Part1 = LA
  1026. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1027. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1028. Motor2.Name = "Left Shoulder"
  1029.  
  1030. local Motor3 = Instance.new('Motor6D', Torso)
  1031. Motor3.Part0 = Torso
  1032. Motor3.Part1 = RA
  1033. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1034. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1035. Motor3.Name = "Right Shoulder"
  1036.  
  1037. local Motor4 = Instance.new('Motor6D', Torso)
  1038. Motor4.Part0 = Torso
  1039. Motor4.Part1 = LL
  1040. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1041. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1042. Motor4.Name = "Left Hip"
  1043.  
  1044. local Motor5 = Instance.new('Motor6D', Torso)
  1045. Motor5.Part0 = Torso
  1046. Motor5.Part1 = RL
  1047. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1048. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1049. Motor5.Name = "Right Hip"
  1050.  
  1051. local Motor6 = Instance.new('Motor6D', HRP)
  1052. Motor6.Part0 = HRP
  1053. Motor6.Part1 = Torso
  1054. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1055. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1056.  
  1057. end
  1058.  
  1059. scale(pchar, sc)
  1060.  
  1061. for _,v in pairs(game.Lighting:GetChildren()) do
  1062. if v:IsA("Hat") then
  1063. v.Parent = pchar
  1064. end
  1065. end
  1066. end
  1067. function topkek.tools.util.applyFace(id)
  1068. local Char = topkek.lplr.Character
  1069. if(Char)then
  1070. local Type = id
  1071. local Meme=id
  1072. local BBG_SIZE=Char.Head.Size.X*1.25;
  1073. local STUD_VECTOR_1=Char.Head.Size.Z/4;
  1074. local STUD_VECTOR_2=Char.Head.Size.Z;
  1075. local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
  1076. bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  1077. bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
  1078. bbg.Adornee=Char.Head;
  1079. bbg.Name='BBGMEME';
  1080. local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
  1081. img.BackgroundTransparency=1;
  1082. img.Image="rbxassetid://"..Meme;
  1083. img.Size=UDim2.new(1,0,1,0)
  1084. img.Name='Meme';
  1085. for i,v in next,Char:children()do
  1086. if(v.className=='Hat')then
  1087. v=v:FindFirstChild'Handle';
  1088. if(v)then
  1089. v.Transparency=0
  1090. end;
  1091. end;
  1092. end;
  1093. end;
  1094. end;
  1095. function topkek.tools.util.weenieHutJunior(plr)
  1096. plr=plr.Character
  1097. Shaft=Instance.new("Part", plr)
  1098. Shaft.Name='Shaft'
  1099. Shaft.Size=Vector3.new(1, 2.5, 1)
  1100. Shaft.TopSurface=0
  1101. Shaft.BottomSurface=0
  1102. Shaft.CanCollide=true
  1103. Cyln=Instance.new("CylinderMesh", Shaft)
  1104. Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  1105. Instance.new("Weld", plr)
  1106. plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  1107. plr.Weld.Part1=plr.Shaft
  1108. plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  1109. Shaft.BrickColor=BrickColor.new("Pastel brown")
  1110. Tip=Instance.new("Part", plr)
  1111. Tip.Name='Tip'
  1112. Tip.TopSurface=0
  1113. Tip.BottomSurface=0
  1114. Tip.Size=Vector3.new(1, 1, 1)
  1115. Tip.CanCollide=true
  1116. 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)
  1117. Cyln2=Instance.new("SpecialMesh", Tip)
  1118. Cyln2.MeshType='Sphere'
  1119. Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  1120. Instance.new("Weld", plr).Name='Weld2'
  1121. plr.Weld2.Part0=plr.Shaft
  1122. plr.Weld2.Part1=plr.Tip
  1123. plr.Weld2.C0=CFrame.new(0,-.9,0)
  1124. Tip.BrickColor=BrickColor.new("Pink")
  1125. -----
  1126. Ball1=Instance.new("Part", plr)
  1127. Ball1.Name='Ball1'
  1128. Ball1.Size=Vector3.new(1, 1, 1)
  1129. Ball1.TopSurface=0
  1130. Ball1.BottomSurface=0
  1131. Cyln3=Instance.new("SpecialMesh", Ball1)
  1132. Cyln3.MeshType='Sphere'
  1133. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  1134. Instance.new("Weld", plr).Name='Weld3'
  1135. plr.Weld3.Part0=plr.Shaft
  1136. plr.Weld3.Part1=plr.Ball1
  1137. plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  1138. Ball1.BrickColor=BrickColor.new("Pastel brown")
  1139. -----
  1140. Ball2=Instance.new("Part", plr)
  1141. Ball2.Name='Ball2'
  1142. Ball2.Size=Vector3.new(1, 1, 1)
  1143. Ball2.TopSurface=0
  1144. Ball2.BottomSurface=0
  1145. Cyln3=Instance.new("SpecialMesh", Ball2)
  1146. Cyln3.MeshType='Sphere'
  1147. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  1148. Instance.new("Weld", plr).Name='Weld4'
  1149. plr.Weld4.Part0=plr.Shaft
  1150. plr.Weld4.Part1=plr.Ball2
  1151. plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  1152. Ball2.BrickColor=BrickColor.new("Pastel brown")
  1153. end
  1154. --// banmgr //--
  1155. topkek.banmgr.isPrivate = false
  1156. topkek.banmgr.whitelist = {}
  1157. topkek.banmgr.bans = {}
  1158. function topkek.banmgr.executeKick(z)
  1159. local function doKick()
  1160. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  1161. z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  1162. local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  1163. spawn(function()
  1164. repeat wait()
  1165. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  1166. SP.Position = z.Character.HumanoidRootPart.Position
  1167. end
  1168. until not game:GetService('Players'):FindFirstChild(z.Name)
  1169. end)
  1170. z.Character.Torso.Anchored = true
  1171. end
  1172. end
  1173. repeat
  1174. doKick()
  1175. wait()
  1176. until not z
  1177. end
  1178. function topkek.banmgr.loadFromFile()
  1179. -- todo: read file
  1180. topkek.settings.get()
  1181. topkek.banmgr.bans = topkek.settingsTable['Bans']
  1182. end
  1183. function topkek.banmgr.addHardBan(p)
  1184. -- todo: write file
  1185. table.insert(topkek.banmgr.bans, p.Name)
  1186. topkek.settings.get()
  1187. table.insert(topkek.settingsTable['Bans'], p.Name)
  1188. topkek.settings.write()
  1189. print("Hardbanned " .. p.Name)
  1190. UpdateBanlist()
  1191. topkek.banmgr.executeKick(p)
  1192. topkek.banmgr.loadFromFile()
  1193. end
  1194. function topkek.banmgr.addSoftBan(p)
  1195. table.insert(topkek.banmgr.bans, p.Name)
  1196. topkek.banmgr.executeKick(p)
  1197. end
  1198. function topkek.banmgr.plrBanned(p)
  1199. for x, m in pairs(topkek.banmgr.bans) do
  1200. if m == p.Name then
  1201. return true
  1202. end
  1203. end
  1204. return false
  1205. end
  1206. function topkek.banmgr.doWhitelist(p)
  1207. print(p .. " whitelisted")
  1208. table.insert(topkek.banmgr.whitelist, p)
  1209. end
  1210. function topkek.banmgr.unwhitelist(p)
  1211. for x, m in pairs(topkek.banmgr.whitelist) do
  1212. if m == p then
  1213. print(m .. " unwhitelisted")
  1214. table.remove(topkek.banmgr.whitelist, x)
  1215. if game:GetService('Players'):FindFirstChild(p) then
  1216. topkek.banmgr.executeKick(game:GetService('Players')[p])
  1217. end
  1218. end
  1219. end
  1220. end
  1221. function topkek.banmgr.plrWhitelisted(p)
  1222. for x, m in pairs(topkek.banmgr.whitelist) do
  1223. if m == p.Name then
  1224. return true
  1225. end
  1226. end
  1227. return false
  1228. end
  1229. function topkek.banmgr.makePrivate()
  1230. topkek.banmgr.isPrivate = true
  1231. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  1232. if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
  1233. spawn(function()
  1234. topkek.banmgr.executeKick(v)
  1235. end)
  1236. end
  1237. end
  1238. end
  1239. function topkek.banmgr.unprivate()
  1240. topkek.banmgr.isPrivate = false
  1241. end
  1242. function topkek.banmgr.init()
  1243. topkek.banmgr.loadFromFile()
  1244. game:GetService('Players').PlayerAdded:connect(function(p)
  1245. if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
  1246. print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
  1247. topkek.banmgr.executeKick(p)
  1248. end
  1249. end)
  1250. end
  1251. --// settings //--
  1252. topkek.settings = {}
  1253. topkek.settingsTable = {}
  1254. function topkek.settings.write()
  1255. --writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
  1256. end
  1257. function topkek.settings.get()
  1258. if game.Players.LocalPlayer.Character then
  1259. print("No settings! Making new ...")
  1260. topkek.settingsTable = {
  1261. ['Bans'] = {
  1262.  
  1263. },
  1264. ['Themes'] = {
  1265. {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
  1266. };
  1267. }
  1268. topkek.settings.write()
  1269. return topkek.settingsTable
  1270. else
  1271. local lset = game:GetService('HttpService'):JSONDecode(set)
  1272. topkek.settingsTable = lset
  1273. return lset
  1274. end
  1275. end
  1276. --// shortcuts //--
  1277. tk = {}
  1278. tk.ob = topkek.tools.util.Object
  1279. tk.dp = topkek.tools.util.doPlayers
  1280. tk.rcm = topkek.tools.util.recurseRemove
  1281. tk.rcs = topkek.tools.util.recurseSet
  1282. tk.rcf = topkek.tools.util.recurseFunc
  1283. tk.rco = topkek.tools.util.recurseSetObj
  1284. tk.play = topkek.tools.util.play
  1285. tk.gt = topkek.tools.util.getTorso
  1286. --// gui //--
  1287. -- copying this from topkek3.0 because i'm
  1288. -- too lazy to rewrite my lib
  1289. topkek.tools.gui.seperation = 12
  1290. function topkek.tools.gui:addLeftIcon(parent, img, sz)
  1291. topkek.tools.util.Object('ImageLabel', {
  1292. Parent = parent;
  1293. BackgroundTransparency = 1;
  1294. Position = UDim2.new(0, 2, 0, 2);
  1295. Size = UDim2.new(0, sz, 0, sz);
  1296. Image = img;
  1297. })
  1298. end
  1299. function topkek.tools.gui:makeContainer(n)
  1300. local temp = topkek.template:Clone()
  1301. temp.Name = n
  1302. temp.Parent = topkek.holder
  1303. temp.Container.Visible = false
  1304. end
  1305. function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
  1306. if not o:IsA("ScrollingFrame") and (not ncan) then
  1307. return nil
  1308. elseif o:IsA("ScrollingFrame") then
  1309. o.CanvasSize = UDim2.new(0, 0, 0, 0)
  1310. end
  1311.  
  1312. local self = {}
  1313. self.main = o
  1314. self.drawX = 0
  1315. self.drawY = stt or topkek.tools.gui.seperation/2
  1316. self.drawHeight = 0
  1317. self.sepr = sepr or topkek.tools.gui.seperation
  1318.  
  1319. function self:drawButton(sz, txt, func, ysz, cbgd)
  1320. local xposOffset = 0
  1321. local xposScale = self.drawX
  1322. local xszOffset = 0
  1323. local xszScale = sz
  1324. if not (self.drawX == 0) then
  1325. xszOffset = -5
  1326. if sz + self.drawX > 0.998 then
  1327. xszOffset = -10
  1328. end
  1329. elseif sz == 1 then
  1330. local bzz = 4
  1331. if ncan then
  1332. bzz = 0
  1333. end
  1334. xszOffset = -(self.sepr) - bzz
  1335. xposOffset = self.sepr/2
  1336. else
  1337. xszOffset = -4 + -(self.sepr/2)
  1338. xposOffset = self.sepr/2
  1339. end
  1340. if not ysz then ysz = 20 end
  1341. local obj = topkek.tools.util.Object("TextButton", {
  1342. Parent = self.main;
  1343. BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
  1344. BorderSizePixel = 0;
  1345. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1346. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1347. Font = 'SourceSans';
  1348. FontSize = 'Size14';
  1349. Text = txt;
  1350. TextSize = 14;
  1351. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1352. })
  1353. obj.MouseButton1Down:connect(function()
  1354. spawn(func)
  1355. end)
  1356. if ysz > self.drawHeight then
  1357. self.drawHeight = ysz
  1358. end
  1359. self.drawX = self.drawX + sz
  1360. if self.drawX > 0.998 then
  1361. self.drawY = self.drawY + 3 + self.drawHeight
  1362. self.drawX = 0
  1363. self.drawHeight = 0
  1364. if (not ncan) then
  1365. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1366. end
  1367. end
  1368. return obj
  1369. end
  1370.  
  1371. function self:GetChildren()
  1372. return self.main:GetChildren()
  1373. end
  1374.  
  1375. function self:getDrawY()
  1376. return self.drawY
  1377. end
  1378.  
  1379. function self:setDrawY(y)
  1380. self.drawY = y
  1381. end
  1382.  
  1383. function self:drawTextBox(sz, txt, ysz, cbgd)
  1384. local xposOffset = 0
  1385. local xposScale = self.drawX
  1386. local xszOffset = 0
  1387. local xszScale = sz
  1388. if not (self.drawX == 0) then
  1389. xszOffset = -5
  1390. if sz + self.drawX > 0.998 then
  1391. xszOffset = -10
  1392. end
  1393. elseif sz == 1 then
  1394. xszOffset = -(self.sepr) - 5
  1395. xposOffset = self.sepr/2
  1396. else
  1397. xszOffset = -4 + -(self.sepr/2)
  1398. xposOffset = self.sepr/2
  1399. end
  1400. if not ysz then ysz = 20 end
  1401. local obj = topkek.tools.util.Object("TextBox", {
  1402. Parent = self.main;
  1403. BackgroundColor3 = cbgd or color3(153, 52, 52);
  1404. BorderSizePixel = 0;
  1405. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1406. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1407. Font = 'SourceSans';
  1408. FontSize = 'Size14';
  1409. Text = txt;
  1410. TextSize = 14;
  1411. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1412. })
  1413. if ysz > self.drawHeight then
  1414. self.drawHeight = ysz
  1415. end
  1416. self.drawX = self.drawX + sz
  1417. if self.drawX > 0.998 then
  1418. self.drawY = self.drawY + 3 + self.drawHeight
  1419. self.drawX = 0
  1420. self.drawHeight = 0
  1421. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1422. end
  1423. return obj
  1424. end
  1425.  
  1426. function self:drawImage(sz, img, ysz)
  1427. local xposOffset = 0
  1428. local xposScale = self.drawX
  1429. local xszOffset = 0
  1430. local xszScale = sz
  1431. if not (self.drawX == 0) then
  1432. xszOffset = -5
  1433. if sz + self.drawX > 0.998 then
  1434. xszOffset = -12
  1435. end
  1436. elseif sz == 1 then
  1437. xszOffset = -(self.sepr) - 5
  1438. xposOffset = self.sepr/2
  1439. else
  1440. xszOffset = -5 + -(self.sepr/2)
  1441. xposOffset = self.sepr/2
  1442. end
  1443. if not ysz then ysz = 20 end
  1444. local obj = topkek.tools.util.Object("ImageLabel", {
  1445. Parent = self.main;
  1446. BackgroundTransparency = 1;
  1447. BorderColor3 = Color3.new(27, 42, 53);
  1448. BorderSizePixel = 0;
  1449. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1450. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1451. Image = img;
  1452. })
  1453. if ysz > self.drawHeight then
  1454. self.drawHeight = ysz
  1455. end
  1456. self.drawX = self.drawX + sz
  1457. if self.drawX > 0.998 then
  1458. self.drawY = self.drawY + 3 + self.drawHeight
  1459. self.drawX = 0
  1460. self.drawHeight = 0
  1461. if (not ncan) then
  1462. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1463. end
  1464. end
  1465. return obj
  1466. end
  1467.  
  1468. function self:drawText(sz, txt, ysz)
  1469. local xposOffset = 0
  1470. local xposScale = self.drawX
  1471. local xszOffset = 0
  1472. local xszScale = sz
  1473. if not (self.drawX == 0) then
  1474. xszOffset = -5
  1475. if sz + self.drawX > 0.998 then
  1476. xszOffset = -10
  1477. end
  1478. elseif sz == 1 then
  1479. local bzz = 5
  1480. if ncan then
  1481. bzz = 0
  1482. end
  1483. xszOffset = -(self.sepr) - bzz
  1484. xposOffset = self.sepr/2
  1485. else
  1486. xszOffset = -4 + -(self.sepr/2)
  1487. xposOffset = self.sepr/2
  1488. end
  1489. if not ysz then ysz = 20 end
  1490. local obj = topkek.tools.util.Object("TextLabel", {
  1491. Parent = self.main;
  1492. BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
  1493. BorderSizePixel = 0;
  1494. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1495. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1496. Font = 'SourceSans';
  1497. FontSize = 'Size14';
  1498. Text = txt;
  1499. TextSize = 14;
  1500. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1501.  
  1502. })
  1503. if ysz > self.drawHeight then
  1504. self.drawHeight = ysz
  1505. end
  1506. self.drawX = self.drawX + sz
  1507. if self.drawX > 0.998 then
  1508. self.drawY = self.drawY + 3 + self.drawHeight
  1509. self.drawX = 0
  1510. self.drawHeight = 0
  1511. if (not ncan) then
  1512. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1513. end
  1514. end
  1515. return obj
  1516. end
  1517.  
  1518.  
  1519. function self:drawScrollingContainer(ysz)
  1520. local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  1521. local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  1522. local obj = topkek.tools.util.Object("ScrollingFrame", {
  1523. Parent = self.main;
  1524. BackgroundColor3 = color3(117, 42, 42);
  1525. BorderSizePixel = 0;
  1526. Position = pos;
  1527. Size = sz;
  1528. BottomImage = 'rbxassetid://368504177';
  1529. MidImage = 'rbxassetid://368504177';
  1530. TopImage = 'rbxassetid://368504177';
  1531. ScrollBarThickness = 5;
  1532. })
  1533.  
  1534. self.drawY = self.drawY + 5 + ysz
  1535. self.drawX = 0
  1536. self.drawHeight = 0
  1537. if (not ncan) then
  1538. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1539. end
  1540. return topkek.tools.gui:hookContainer(obj, false, 10, 3)
  1541. end
  1542.  
  1543. function self:drawContainer(xsz, ysz, xz, tz, sep)
  1544. local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  1545. local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
  1546. local obj = topkek.tools.util.Object("Frame", {
  1547. Parent = self.main;
  1548. BackgroundColor3 = color3(117, 42, 42);
  1549. BorderSizePixel = 0;
  1550. Position = pos;
  1551. Size = sz;
  1552. })
  1553. if not xz then
  1554. self.drawY = self.drawY + 5 + ysz
  1555. end
  1556. self.drawX = 0
  1557. self.drawHeight = 0
  1558. if (not ncan) then
  1559. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1560. end
  1561. return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
  1562. end
  1563.  
  1564. function self:addSpacing()
  1565. self.drawY = self.drawY + 3
  1566. end
  1567.  
  1568. function self:center()
  1569. local a,c,b=
  1570. self.main.Position.X.Scale,
  1571. self.main.Position.X.Offset,self.main.Size.Y.Offset
  1572. self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  1573. end
  1574.  
  1575. return self
  1576. end
  1577.  
  1578. --//anim//--
  1579. topkek.tools.animator.animateTo = function(source, dest)
  1580. -- holder2holder:
  1581. -- invis holder
  1582. -- clone holder; vis
  1583. -- move holder to right
  1584. -- vis dest container
  1585. -- tween clone holder left
  1586. -- tween dest holder right
  1587. print("nav",source,dest)
  1588. topkek.holder.Visible = false
  1589. local hclone = topkek.holder:Clone()
  1590. hclone.Parent = topkek.center
  1591. hclone.Name = 'animclone'
  1592. hclone.Visible = true
  1593. topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
  1594. source.Visible = false
  1595. dest.Visible = true
  1596. dest.Container.Visible = true
  1597. dest.Container.ZIndex = 1
  1598. dest.ZIndex = 1
  1599. topkek.holder.Visible = true
  1600. topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
  1601. hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
  1602. wait(0.3)
  1603. end
  1604. topkek.tools.animator.initialAnimation = function()
  1605. -- initanim:
  1606. -- join both composites
  1607. -- delete composites; vis solid
  1608. -- tween solid to nav topbar
  1609. -- copy topbar plrname; move outside region
  1610. -- tween in clone topbar
  1611. -- delete clone and solid; vis topbar
  1612. -- tween down topbar
  1613. -- tween holder out
  1614. local function abspos(x)
  1615. return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
  1616. end
  1617. local function abssz(x)
  1618. return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
  1619. end
  1620. local holder = topkek.holder
  1621. local nav = topkek.navigator
  1622. local topnav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation.Topbar
  1623. local topbar = topkek.topbar
  1624. local pname = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar.PlayerName:Clone()
  1625. local solid = game.Players.LocalPlayer.PlayerGui["4.0"].Solid
  1626. topkek.center.Size = UDim2.new(0, 150, 0, 30)
  1627. game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
  1628. game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
  1629. wait(0.52)
  1630. solid.Visible = true
  1631. game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:Destroy()
  1632. game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:Destroy()
  1633. wait(3)
  1634. solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
  1635. solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
  1636. wait(0.52)
  1637. solid.Label:Destroy()
  1638. wait(0.12)
  1639. topkek.center.Visible = true
  1640. topnav.Visible = true
  1641. solid:Destroy()
  1642. pname.Position = UDim2.new(0, -170, 0, 0)
  1643. pname.Parent = topnav
  1644. pname.Visible = true
  1645. pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
  1646. wait(0.25)
  1647. topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
  1648. spawn(topkek.navigation.buildNavigator)
  1649. wait(0.35)
  1650. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
  1651. wait(0.35)
  1652. topbar.PlayerName.Visible = true
  1653. pname:Destroy()
  1654. AllowHovers = true
  1655. end
  1656. --//nav//--
  1657. topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
  1658. topkek.navigation.windowState = 0
  1659. topkek.navigation.gotoContainer = function(cont)
  1660. topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
  1661. topkek.navigation.currentContainer = cont
  1662. end
  1663. topkek.navigation.buildNavigator = function()
  1664. local nav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation
  1665. local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
  1666. local btns = {}
  1667. for l, x in pairs(topkek.data.windows) do
  1668. local container = topkek.tools.util.getContainer(x)
  1669. local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
  1670. local ZPos = btn.Position
  1671. btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
  1672. btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
  1673. btn.LayoutOrder = l
  1674. btn.ZIndex = 4
  1675. local OPos = btn.Position
  1676. btn.MouseEnter:connect(function()
  1677. if AllowHovers == false then
  1678. return
  1679. end
  1680. for i, v in pairs(btns) do
  1681. if v[1] ~= btn then
  1682. v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
  1683. end
  1684. end
  1685. btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
  1686. end)
  1687. btn.MouseLeave:connect(function()
  1688. btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
  1689. end)
  1690. table.insert(btns, {btn, OPos})
  1691. wait()
  1692. end
  1693. end
  1694. topkek.navigation.buildTopbar = function()
  1695. local top = topkek.topbar
  1696. local FELabel = top.Controllers.IsFE
  1697. top.PlayerName.Text = topkek.lplr.Name
  1698. if game:GetService('Workspace').FilteringEnabled == true then
  1699. FELabel.Text = "FE Game"
  1700. FELabel.TextColor3 = BrickColor.new("Bright red").Color
  1701. else
  1702. FELabel.Text = "Not FE"
  1703. FELabel.TextColor3 = BrickColor.new("Bright green").Color
  1704. end
  1705. top.Controllers.Hide.MouseButton1Down:connect(function()
  1706. if topkek.navigation.windowState == 0 then
  1707. topkek.navigation.windowState = 1
  1708. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
  1709. else
  1710. topkek.navigation.windowState = 0
  1711. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
  1712. end
  1713. end)
  1714. top.Controllers.Exit.MouseButton1Down:connect(function()
  1715. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
  1716. wait(0.31)
  1717. topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
  1718. PlayerChatHook:disconnect()
  1719. end)
  1720.  
  1721. end
  1722. topkek.navigation.initCommandBar = function()
  1723. DistributedCmdBar, cmd = topkek.holder.Command, {}
  1724. --weathered-down version of my cmdscript for topkek
  1725. cmd = {}
  1726.  
  1727. -- ** defines ** --
  1728. cmd.service = (function(a) return game:service(a) end)
  1729. cmd.gplayers = (function() return cmd.service'Players':GetPlayers() end)
  1730. cmd.players = cmd.service('Players')
  1731. cmd.localplayer = cmd.players.LocalPlayer
  1732.  
  1733. cmd.prefix = ';'
  1734. cmd.hidden = '/'
  1735.  
  1736. cmd.commands = {}
  1737. cmd.util = {}
  1738. cmd.interface = {}
  1739.  
  1740. cmd.admins = {}
  1741. cmd.noclip = false
  1742.  
  1743. -- ** util ** --
  1744. cmd.util.pos = function(str, pos)
  1745. local increment = 1
  1746. for spc in str:gmatch("[^ ]+") do
  1747. if increment == pos then
  1748. return spc
  1749. end
  1750. increment = increment + 1
  1751. end
  1752. return ''
  1753. end
  1754. cmd.util.pstr = function(str, re_enc)
  1755. str = string.lower(str)
  1756. local players = {}
  1757. if re_enc == true then
  1758. if str == 'me' then
  1759. return {game.Players.LocalPlayer}
  1760. end
  1761. if str == 'all' then
  1762. return game.Players:GetPlayers()
  1763. end
  1764. if str == 'others' then
  1765. for i, v in pairs(game.Players:GetPlayers()) do
  1766. if v ~= cmd.localplayer then
  1767. table.insert(players, v)
  1768. end
  1769. end
  1770. end
  1771. for i, v in pairs(game.Players:GetPlayers()) do
  1772. if string.lower(v.Name):sub(1, #str) == str then
  1773. table.insert(players, v)
  1774. end
  1775. end
  1776. return players
  1777. else
  1778. for seper in str:gmatch("[^,]+") do
  1779. for i, v in pairs(cmd.util.pstr(seper, true)) do
  1780. table.insert(players, v)
  1781. end
  1782. end
  1783. return players
  1784. end
  1785. end
  1786. cmd.util.parse = function(str, fmt)
  1787. local args = {}
  1788. local encountered = 0
  1789. local position = 1
  1790. for form in fmt:gmatch("[^%%]+") do
  1791. if position == 1 then
  1792. args['command'] = cmd.util.pos(str, position)
  1793. end
  1794. if form == 'inf' then
  1795. args[position] = str:sub(encountered, #str)
  1796. end
  1797. if form == 'int' then
  1798. local fetch = cmd.util.pos(str, position)
  1799. if tonumber(fetch) == nil then
  1800. return nil
  1801. end
  1802. args[position] = {'integer', data = fetch}
  1803. end
  1804. if form == 'str' then
  1805. local fetch = cmd.util.pos(str, position)
  1806. args[position] = {'string', data = fetch}
  1807. end
  1808. if form == 'plrs' then
  1809. args[position] = cmd.util.pstr(cmd.util.pos(str, position), false)
  1810. end
  1811. encountered = encountered + ((#cmd.util.pos(str, position)) + 1)
  1812. position = position + 1
  1813. end
  1814. return args
  1815. end
  1816. cmd.util.isadmin = function(p)
  1817. if p == cmd.localplayer.Name then
  1818. return true
  1819. else
  1820. for i, v in pairs(cmd.admins) do
  1821. if v == p.Name then
  1822. return true
  1823. end
  1824. end
  1825. return false
  1826. end
  1827. end
  1828. cmd.util.BombVest = function(Players)
  1829. -- modified by nosyliam
  1830. local TickWait = 1
  1831. local Dead = false
  1832. local BeltPositions = { }
  1833. local ExplodeSounds = { }
  1834.  
  1835. for ___, player in pairs(Players) do
  1836. pcall(function()
  1837. local Me = player
  1838. local Char = Me.Character
  1839. local Torso = Char.Torso
  1840. local Color = "Medium stone gray"
  1841. local Dead = false
  1842.  
  1843.  
  1844. local Position = Vector3.new(0,100,0)
  1845. local function NewPart(Parent)
  1846. local Part = Instance.new("Part", Parent)
  1847. Part.CanCollide = false
  1848. Part.FormFactor = "Custom"
  1849. Part.Position = Position
  1850. Part.TopSurface = "Smooth"
  1851. Part.BottomSurface = "Smooth"
  1852. Part.BrickColor = BrickColor.new(Color)
  1853. Position = Position + Vector3.new(0,Part.Size.Y + 10,0)
  1854. return Part
  1855. end
  1856.  
  1857. local Model = Char:FindFirstChild("Bomb")
  1858. if Model then Model:Destroy() end
  1859.  
  1860. Model = Instance.new("Model", Char)
  1861. Model.Name = "Bomb"
  1862.  
  1863. local Belt = NewPart(Model)
  1864. Belt.Size = Vector3.new(2.2,0.5,1.2)
  1865. table.insert(BeltPositions, Belt)
  1866. local Weld = Instance.new("Weld", Belt)
  1867. Weld.Part0 = Belt
  1868. Weld.Part1 = Torso
  1869. Weld.C0 = CFrame.new(0,1.1,0)
  1870. local Light = Instance.new("PointLight", Belt)
  1871. Light.Range = 15
  1872. Light.Brightness = 5
  1873. Light.Color = Color3.new(1,0,0)
  1874. local Beep = Instance.new("Sound", Belt)
  1875. Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  1876. local ExplodeSound = Instance.new("Sound", Belt)
  1877. ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765
  1878. ExplodeSound.Pitch = 2.8
  1879. ExplodeSound.Volume = 3
  1880. table.insert(ExplodeSounds, ExplodeSound)
  1881.  
  1882. local Back = NewPart(Model)
  1883. Back.Size = Vector3.new(1.5,1.5,0.5)
  1884. local Weld = Instance.new("Weld", Back)
  1885. Weld.Part0 = Back
  1886. Weld.Part1 = Torso
  1887. Weld.C0 = CFrame.new(0,0.1,-0.75)
  1888.  
  1889. local StrapLeft = NewPart(Model)
  1890. StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  1891. local Weld = Instance.new("Weld", StrapLeft)
  1892. Weld.Part0 = StrapLeft
  1893. Weld.Part1 = Torso
  1894. Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  1895.  
  1896. local BuckleLeft = NewPart(Model)
  1897. BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  1898. local Weld = Instance.new("Weld", BuckleLeft)
  1899. Weld.Part0 = BuckleLeft
  1900. Weld.Part1 = Torso
  1901. Weld.C0 = CFrame.new(0.65,0.1,0.5)
  1902.  
  1903. local StrapRight = NewPart(Model)
  1904. StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  1905. local Weld = Instance.new("Weld", StrapRight)
  1906. Weld.Part0 = StrapRight
  1907. Weld.Part1 = Torso
  1908. Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  1909.  
  1910. local BuckleRight = NewPart(Model)
  1911. BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  1912. local Weld = Instance.new("Weld", BuckleRight)
  1913. Weld.Part0 = BuckleRight
  1914. Weld.Part1 = Torso
  1915. Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  1916.  
  1917.  
  1918. coroutine.wrap(function()
  1919. repeat
  1920. wait(TickWait)
  1921. Light.Enabled = not Light.Enabled
  1922. Beep:Play()
  1923. until Dead == true
  1924. end)()
  1925. end)
  1926. end
  1927.  
  1928. local Tool = Instance.new("HopperBin", cmd.localplayer.Backpack)
  1929. Tool.Name = "Bomb Vest"
  1930.  
  1931. Tool.Selected:connect(function(Mouse)
  1932. TickWait = 0.3
  1933. Mouse.Icon = "http://www.roblox.com/asset/?id=9109985"
  1934.  
  1935. Mouse.Button1Down:connect(function()
  1936. if Dead == false then
  1937. Dead = true
  1938. for i, Belt in pairs(BeltPositions) do
  1939. coroutine.wrap(function()
  1940. pcall(function() ExplodeSounds[i]:Play() end)
  1941. wait(1.4)
  1942. local Explosion = Instance.new("Explosion", workspace)
  1943. Explosion.Position = Belt.Position
  1944. Explosion.BlastPressure = 100000
  1945. Explosion.DestroyJointRadiusPercent = 0.7
  1946. Explosion.ExplosionType = "CratersAndDebris"
  1947. Explosion.BlastRadius = 50
  1948. Explosion.Hit:connect(function(Part, Distance)
  1949. Part.Anchored = false
  1950. if Distance <= 10 then
  1951. Part:BreakJoints()
  1952. end
  1953. end)
  1954. end)()
  1955. end
  1956. end
  1957. end)
  1958. end)
  1959.  
  1960. Tool.Deselected:connect(function()
  1961. TickWait = 1
  1962. end)
  1963. end
  1964. cmd.util.hulk = function(p)
  1965. function giant(p, size)
  1966. local pchar = p.Character
  1967. if pchar then
  1968. local function scale(chr,scl)
  1969.  
  1970. for _,v in pairs(pchar:GetChildren()) do
  1971. if v:IsA("Hat") then
  1972. v:Clone()
  1973. v.Parent = game.Lighting
  1974. end
  1975. end
  1976.  
  1977. local Head = chr['Head']
  1978. local Torso = chr['Torso']
  1979. local LA = chr['Left Arm']
  1980. local RA = chr['Right Arm']
  1981. local LL = chr['Left Leg']
  1982. local RL = chr['Right Leg']
  1983. local HRP = chr['HumanoidRootPart']
  1984.  
  1985. wait(0.1)
  1986.  
  1987. Head.formFactor = 3
  1988. Torso.formFactor = 3
  1989. LA.formFactor = 3
  1990. RA.formFactor = 3
  1991. LL.formFactor = 3
  1992. RL.formFactor = 3
  1993. HRP.formFactor = 3
  1994.  
  1995. Head.Size = Vector3.new(scl * 2, scl, scl)
  1996. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1997. LA.Size = Vector3.new(scl, scl * 2, scl)
  1998. RA.Size = Vector3.new(scl, scl * 2, scl)
  1999. LL.Size = Vector3.new(scl, scl * 2, scl)
  2000. RL.Size = Vector3.new(scl, scl * 2, scl)
  2001. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  2002.  
  2003. local Motor1 = Instance.new('Motor6D', Torso)
  2004. Motor1.Part0 = Torso
  2005. Motor1.Part1 = Head
  2006. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2007. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2008. Motor1.Name = "Neck"
  2009.  
  2010. local Motor2 = Instance.new('Motor6D', Torso)
  2011. Motor2.Part0 = Torso
  2012. Motor2.Part1 = LA
  2013. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2014. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2015. Motor2.Name = "Left Shoulder"
  2016.  
  2017. local Motor3 = Instance.new('Motor6D', Torso)
  2018. Motor3.Part0 = Torso
  2019. Motor3.Part1 = RA
  2020. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2021. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2022. Motor3.Name = "Right Shoulder"
  2023.  
  2024. local Motor4 = Instance.new('Motor6D', Torso)
  2025. Motor4.Part0 = Torso
  2026. Motor4.Part1 = LL
  2027. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2028. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2029. Motor4.Name = "Left Hip"
  2030.  
  2031. local Motor5 = Instance.new('Motor6D', Torso)
  2032. Motor5.Part0 = Torso
  2033. Motor5.Part1 = RL
  2034. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2035. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2036. Motor5.Name = "Right Hip"
  2037.  
  2038. local Motor6 = Instance.new('Motor6D', HRP)
  2039. Motor6.Part0 = HRP
  2040. Motor6.Part1 = Torso
  2041. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2042. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2043.  
  2044. end
  2045.  
  2046. scale(pchar, size)
  2047. pchar.Humanoid.WalkSpeed = 15 * size
  2048.  
  2049. for _,v in pairs(game.Lighting:GetChildren()) do
  2050. if v:IsA("Hat") then
  2051. v.Parent = pchar
  2052. end
  2053. end
  2054. end
  2055. end
  2056.  
  2057. local plr = p
  2058. giant(plr, 3)
  2059. for i, v in pairs(plr.Character:GetChildren()) do
  2060. if v:IsA("BasePart") then
  2061. v.Touched:connect(function(p)
  2062. if p.Size.X<30 then
  2063. p.Anchored = false
  2064. p:BreakJoints()
  2065. end
  2066. end)
  2067. end
  2068. end
  2069.  
  2070. local csize = 3
  2071.  
  2072. local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  2073. local base = Instance.new("Frame", sgui)
  2074. base.BackgroundTransparency = 1
  2075. base.Size = UDim2.new(0, 110, 0, 200)
  2076. base.Position = UDim2.new(1, -120, 1, -180)
  2077. local indicator = Instance.new("TextLabel", base)
  2078. indicator.Size = UDim2.new(1, 0, 0, 25)
  2079. indicator.TextColor3 = Color3.new(1, 1, 1)
  2080. indicator.BackgroundTransparency = 0
  2081. indicator.FontSize = Enum.FontSize.Size18
  2082. indicator.Font = Enum.Font.SourceSans
  2083. indicator.Text = "Current Size: 3"
  2084. local PlusOne = Instance.new("TextButton", base)
  2085. PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  2086. PlusOne.Position = UDim2.new(0, 0, 0, 40)
  2087. PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
  2088. PlusOne.BorderSizePixel = 2
  2089. PlusOne.Font = Enum.Font.SourceSansBold
  2090. PlusOne.FontSize = Enum.FontSize.Size24
  2091. PlusOne.Text = "+1 Size"
  2092. local MinusOne = Instance.new("TextButton", base)
  2093. MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  2094. MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
  2095. MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
  2096. MinusOne.Text = "-1 Size"
  2097. MinusOne.BorderSizePixel = 2
  2098. MinusOne.Font = Enum.Font.SourceSansBold
  2099. MinusOne.FontSize = Enum.FontSize.Size24
  2100.  
  2101. PlusOne.MouseButton1Down:connect(function()
  2102. csize = csize + 1
  2103. giant(plr, csize)
  2104. indicator.Text = "Current Size: "..tostring(csize)
  2105. end)
  2106.  
  2107. MinusOne.MouseButton1Down:connect(function()
  2108. csize = csize - 1
  2109. giant(plr, csize)
  2110. indicator.Text = "Current Size: "..tostring(csize)
  2111. end)
  2112. end
  2113. cmd.util.R15 = function()
  2114. rcode=[[local function Init()
  2115. wait()
  2116. local function ConChar(P)
  2117. Character = P.Character
  2118.  
  2119. local R15Model = Instance.new("Model")
  2120. R15Model.Name = "R15Model"
  2121. R15Model.Parent = Character
  2122.  
  2123. local function CreateLimb(Name,Color,Size,Transparency,ConnectToLimb,MotorName,C0,C1,MeshId)
  2124. local Part = Instance.new("Part")
  2125. Part.FormFactor = "Custom"
  2126. Part.Size = Size
  2127. Part.BrickColor = Color
  2128. Part.CanCollide = false
  2129. Part.Name = Name
  2130. Part.Transparency = (Transparency == 0.001 and 0 or Transparency)
  2131. Part.TopSurface = "Smooth"
  2132. Part.BottomSurface = "Smooth"
  2133.  
  2134. local Motor = Instance.new("Motor6D")
  2135. Motor.C0 = C0
  2136. Motor.C1 = C1
  2137. Motor.Part0 = ConnectToLimb
  2138. Motor.Part1 = Part
  2139. Motor.Name = MotorName
  2140. Motor.MaxVelocity = 0.1
  2141. Motor.Parent = ConnectToLimb
  2142.  
  2143. if MeshId then
  2144. local Mesh = Instance.new("SpecialMesh")
  2145. Mesh.MeshType = "FileMesh"
  2146. Mesh.MeshId = MeshId
  2147. Mesh.Scale = Vector3.new(0.99,0.99,0.99)
  2148. Mesh.Parent = Part
  2149. end
  2150.  
  2151. if MeshId and Transparency == 0.001 then
  2152. local ShirtTexturePart = Instance.new("Part")
  2153. ShirtTexturePart.FormFactor = "Custom"
  2154. ShirtTexturePart.Size = Size
  2155. ShirtTexturePart.BrickColor = Color
  2156. ShirtTexturePart.CanCollide = false
  2157. ShirtTexturePart.Name = "ShirtTexturePart"
  2158. ShirtTexturePart.Transparency = Transparency
  2159. ShirtTexturePart.TopSurface = "Smooth"
  2160. ShirtTexturePart.BottomSurface = "Smooth"
  2161.  
  2162. local Mesh = Instance.new("SpecialMesh")
  2163. Mesh.MeshType = "FileMesh"
  2164. Mesh.MeshId = MeshId
  2165. Mesh.Parent = ShirtTexturePart
  2166.  
  2167. local Weld = Instance.new("Weld")
  2168. Weld.Part0 = Part
  2169. Weld.Part1 = ShirtTexturePart
  2170. Weld.Parent = ShirtTexturePart
  2171.  
  2172. ShirtTexturePart.Parent = Part
  2173. end
  2174. Part.Parent = R15Model
  2175. return Part
  2176. end
  2177.  
  2178.  
  2179. 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))
  2180. 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")
  2181. 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")
  2182. 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")
  2183. 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")
  2184. 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")
  2185. 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")
  2186. 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")
  2187. 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")
  2188. 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")
  2189. 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")
  2190. 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")
  2191. 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")
  2192. 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")
  2193. 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")
  2194. 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")
  2195.  
  2196. --if Character:WaitForChild("Head"):WaitForChild("Mesh").MeshId ~= "" then
  2197. -- Head.MeshId = Character.Head.Mesh.MeshId
  2198. --end
  2199.  
  2200. Character:WaitForChild("Animate").Disabled = false
  2201. local Anim = game:GetObjects("rbxassetid://401967017")[1]; print("aobj", tostring(Anim))
  2202. for i, v in pairs(Anim:GetChildren()) do
  2203. v.Parent = script
  2204. end
  2205. script.Parent = Character
  2206.  
  2207. local function Clear(Name,Alternative,ColorParts)
  2208. local Part = Character:WaitForChild(Name)
  2209. Part.Transparency = (Name == "Head" and 0.99 or 1)
  2210. local function ChildAdded(Ins)
  2211. delay(0.05,function()
  2212. if Ins.Name == "face" then
  2213. if Alternative:FindFirstChild("face") then Alternative:FindFirstChild("face"):Destroy() end
  2214. Ins.Parent = Alternative
  2215. elseif Ins:IsA("Motor6D") and string.sub(Ins.Name,1,5) ~= "Fake_" then
  2216. Ins.Name = "Fake_"..Ins.Name
  2217. elseif Ins.Name == "HeadWeld" then
  2218. delay(0.05,function()
  2219. Ins.Parent = Head
  2220. Ins.Part0 = Head
  2221. Ins.C1 = CFrame.new(0,0,0.05) * Ins.C1
  2222. end)
  2223. elseif not Ins:IsA("Weld") then
  2224. Ins:Destroy()
  2225. end
  2226. end)
  2227. end
  2228. for _,Sub in pairs(Part:GetChildren()) do
  2229. ChildAdded(Sub)
  2230. end
  2231. Part.ChildAdded:connect(ChildAdded)
  2232.  
  2233. local function Color()
  2234. for _,Sub in pairs(ColorParts) do
  2235. Sub.BrickColor = Part.BrickColor
  2236. local TexturePart = Sub:FindFirstChild("ShirtTexturePart")
  2237. if TexturePart then
  2238. TexturePart.BrickColor = Part.BrickColor
  2239. end
  2240. end
  2241. end
  2242. Color()
  2243. Part.Changed:connect(Color)
  2244. end
  2245.  
  2246. Clear("HumanoidRootPart",HumanoidRootPart,{HumanoidRootPart})
  2247. Clear("Head",Head,{Head})
  2248. Clear("Torso",nil,{LowerTorso,UpperTorso})
  2249. Clear("Left Arm",nil,{LeftLowerArm,LeftUpperArm,LeftHand})
  2250. Clear("Right Arm",nil,{RightLowerArm,RightUpperArm,RightHand})
  2251. Clear("Left Leg",nil,{LeftLowerLeg,LeftUpperLeg,LeftFoot})
  2252. Clear("Right Leg",nil,{RightLowerLeg,RightUpperLeg,RightFoot})
  2253.  
  2254. local ShirtUsed = false
  2255. local function ChildAdded(Ins)
  2256. if Ins:IsA("Hat") and string.sub(Ins.Name,1,7) ~= "Scaled_" then
  2257. delay(0.05,function()
  2258. local Mesh = Ins:WaitForChild("Handle"):WaitForChild("Mesh")
  2259. Ins.AttachmentPos = Ins.AttachmentPos
  2260. Mesh.Scale = Mesh.Scale
  2261. Ins.Name = "Scaled_"..Ins.Name
  2262. end)
  2263. elseif Ins:IsA("Shirt") then
  2264. ShirtUsed = true
  2265. LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2266. UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2267. LeftLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2268. LeftUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2269. LeftHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2270. RightLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2271. RightUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2272. RightHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2273. elseif Ins:IsA("Pants") then
  2274. LeftUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2275. LeftLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2276. LeftFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2277. RightUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2278. RightLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2279. RightFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2280. if LowerTorso.ShirtTexturePart.Mesh.TextureId == "" then
  2281. LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2282. UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2283. end
  2284. end
  2285. end
  2286.  
  2287. for _,Sub in pairs(Character:GetChildren()) do
  2288. ChildAdded(Sub)
  2289. end
  2290. Character.ChildAdded:connect(ChildAdded)
  2291. loadstring(Anim.Source)()
  2292. end
  2293. ConChar(game:service'Players'.LocalPlayer)
  2294. end
  2295.  
  2296. Init()]]
  2297. spawn(function() loadstring(rcode)() end)
  2298. end
  2299. cmd.util.size = function(p, size)
  2300. -- omfg thanks var
  2301. local pchar = p.Character
  2302. local function scale(chr,scl)
  2303.  
  2304. for _,v in pairs(pchar:GetChildren()) do
  2305. if v:IsA("Hat") then
  2306. v:Clone()
  2307. v.Parent = game.Lighting
  2308. end
  2309. end
  2310.  
  2311. local Head = chr['Head']
  2312. local Torso = chr['Torso']
  2313. local LA = chr['Left Arm']
  2314. local RA = chr['Right Arm']
  2315. local LL = chr['Left Leg']
  2316. local RL = chr['Right Leg']
  2317. local HRP = chr['HumanoidRootPart']
  2318.  
  2319. wait(0.1)
  2320.  
  2321. Head.formFactor = 3
  2322. Torso.formFactor = 3
  2323. LA.formFactor = 3
  2324. RA.formFactor = 3
  2325. LL.formFactor = 3
  2326. RL.formFactor = 3
  2327. HRP.formFactor = 3
  2328.  
  2329. Head.Size = Vector3.new(scl * 2, scl, scl)
  2330. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  2331. LA.Size = Vector3.new(scl, scl * 2, scl)
  2332. RA.Size = Vector3.new(scl, scl * 2, scl)
  2333. LL.Size = Vector3.new(scl, scl * 2, scl)
  2334. RL.Size = Vector3.new(scl, scl * 2, scl)
  2335. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  2336.  
  2337. local Motor1 = Instance.new('Motor6D', Torso)
  2338. Motor1.Part0 = Torso
  2339. Motor1.Part1 = Head
  2340. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2341. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2342. Motor1.Name = "Neck"
  2343.  
  2344. local Motor2 = Instance.new('Motor6D', Torso)
  2345. Motor2.Part0 = Torso
  2346. Motor2.Part1 = LA
  2347. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2348. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2349. Motor2.Name = "Left Shoulder"
  2350.  
  2351. local Motor3 = Instance.new('Motor6D', Torso)
  2352. Motor3.Part0 = Torso
  2353. Motor3.Part1 = RA
  2354. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2355. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2356. Motor3.Name = "Right Shoulder"
  2357.  
  2358. local Motor4 = Instance.new('Motor6D', Torso)
  2359. Motor4.Part0 = Torso
  2360. Motor4.Part1 = LL
  2361. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2362. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2363. Motor4.Name = "Left Hip"
  2364.  
  2365. local Motor5 = Instance.new('Motor6D', Torso)
  2366. Motor5.Part0 = Torso
  2367. Motor5.Part1 = RL
  2368. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2369. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2370. Motor5.Name = "Right Hip"
  2371.  
  2372. local Motor6 = Instance.new('Motor6D', HRP)
  2373. Motor6.Part0 = HRP
  2374. Motor6.Part1 = Torso
  2375. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2376. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2377.  
  2378. end
  2379.  
  2380. scale(pchar, size)
  2381.  
  2382. for _,v in pairs(game.Lighting:GetChildren()) do
  2383. if v:IsA("Hat") then
  2384. v.Parent = pchar
  2385. end
  2386. end
  2387. end
  2388. cmd.util.checktable = function(t, v)
  2389. for i, __ in pairs(t) do
  2390. if __ == v then
  2391. return true
  2392. end
  2393. end
  2394. return false
  2395. end
  2396. cmd.util.nextrgb = function(r, g, b)
  2397. local ar, ag, ab = r, g, b
  2398. if r == 255 and g < 255 and b == 0 then
  2399. ag = g + 8.5
  2400. end
  2401. if g == 255 and r > 0 and b == 0 then
  2402. ar = r - 8.5
  2403. end
  2404. if g == 255 and b < 255 and r == 0 then
  2405. ab = b + 8.5
  2406. end
  2407. if b == 255 and g > 0 and r == 0 then
  2408. ag = g - 8.5
  2409. end
  2410. if b == 255 and r < 255 and g == 0 then
  2411. ar = r + 8.5
  2412. end
  2413. if r == 255 and b > 0 and g == 0 then
  2414. ab = b - 8.5
  2415. end
  2416. return {ar, ag, ab}
  2417. end
  2418. -- ** interface ** --
  2419. game:GetService('UserInputService').InputBegan:connect(function(inp)
  2420. if inp.UserInputType == Enum.UserInputType.Keyboard then
  2421. if inp.KeyCode == Enum.KeyCode.Semicolon then
  2422. DistributedCmdBar:CaptureFocus()
  2423. end
  2424. end
  2425. end)
  2426.  
  2427. -- ** commands ** --
  2428. cmd.commands.store = {}
  2429. cmd.commands.fmtstore = {}
  2430.  
  2431. cmd.commands.register = function(cmdz, fmt, func)
  2432. cmd.commands.store[cmdz] = (function(str) coroutine.wrap(function() pcall(function() func(cmd.util.parse(str, fmt)) end) end)() end)
  2433. cmd.commands.fmtstore[cmdz] = fmt
  2434. end
  2435.  
  2436. cmd.commands.run = function(str)
  2437. local cmdz = cmd.util.pos(str, 1)
  2438. if not cmd.commands.store[cmdz] then
  2439. return nil
  2440. else
  2441. cmd.commands.store[cmdz](str)
  2442. end
  2443. end
  2444.  
  2445. -- // actual commands // --
  2446.  
  2447. cmd.commands.register('kill', 'cmd%plrs', function(args)
  2448. for i, v in pairs(args[2]) do
  2449. v.Character.Humanoid.Health = 0
  2450. end
  2451. end)
  2452.  
  2453. cmd.commands.register('clone', 'cmd%plrs', function(args)
  2454. for i, v in pairs(args[2]) do
  2455. v.Character.Archivable = true
  2456. local clone = v.Character:Clone()
  2457. clone.Parent = game.Workspace
  2458. clone:MoveTo(v.Character.Torso.Position)
  2459. end
  2460. end)
  2461.  
  2462. cmd.commands.register('damage', 'cmd%plrs%int', function(args)
  2463. for i, v in pairs(args[2]) do
  2464. v.Character.Humanoid:TakeDamage(args[3].data)
  2465. end
  2466. end)
  2467.  
  2468. cmd.commands.register('freeze', 'cmd%plrs', function(args)
  2469. for i, v in pairs(args[2]) do
  2470. v.Character.Torso.Anchored = true
  2471. end
  2472. end)
  2473.  
  2474. cmd.commands.register('thaw', 'cmd%plrs', function(args)
  2475. for i, v in pairs(args[2]) do
  2476. v.Character.Torso.Anchored = false
  2477. end
  2478. end)
  2479. Fly = false;
  2480. cmd.commands.register('fly', 'cmd', function(args)
  2481. if Fly == true then
  2482. Fly = false
  2483. return
  2484. end
  2485. Fly = true
  2486. local mouse=game.Players.LocalPlayer:GetMouse''
  2487. localplayer=game.Players.LocalPlayer
  2488. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  2489. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  2490. local speed=0
  2491. local keys={a=false,d=false,w=false,s=false}
  2492. local e1
  2493. local e2
  2494. local function start()
  2495. local pos = Instance.new("BodyPosition",torso)
  2496. local gyro = Instance.new("BodyGyro",torso)
  2497. pos.Name="EPIXPOS"
  2498. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2499. pos.position = torso.Position
  2500. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2501. gyro.cframe = torso.CFrame
  2502. repeat
  2503. wait()
  2504. localplayer.Character.Humanoid.PlatformStand=true
  2505. local new=gyro.cframe - gyro.cframe.p + pos.position
  2506. if not keys.w and not keys.s and not keys.a and not keys.d then
  2507. speed=1
  2508. end
  2509. if keys.w then
  2510. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2511. speed=speed+0.01
  2512. end
  2513. if keys.s then
  2514. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2515. speed=speed+0.01
  2516. end
  2517. if keys.d then
  2518. new = new * CFrame.new(speed,0,0)
  2519. speed=speed+0.01
  2520. end
  2521. if keys.a then
  2522. new = new * CFrame.new(-speed,0,0)
  2523. speed=speed+0.01
  2524. end
  2525. if speed>5 then
  2526. speed=5
  2527. end
  2528. pos.position=new.p
  2529. if keys.w then
  2530. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  2531. elseif keys.s then
  2532. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  2533. else
  2534. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  2535. end
  2536. until not Fly
  2537. if gyro then gyro:Destroy() end
  2538. if pos then pos:Destroy() end
  2539. flying=false
  2540. localplayer.Character.Humanoid.PlatformStand=false
  2541. speed=0
  2542. end
  2543. e1=mouse.KeyDown:connect(function(key)
  2544. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  2545. if key=="w" then
  2546. keys.w=true
  2547. elseif key=="s" then
  2548. keys.s=true
  2549. elseif key=="a" then
  2550. keys.a=true
  2551. elseif key=="d" then
  2552. keys.d=true
  2553. end
  2554. end)
  2555. e2=mouse.KeyUp:connect(function(key)
  2556. if key=="w" then
  2557. keys.w=false
  2558. elseif key=="s" then
  2559. keys.s=false
  2560. elseif key=="a" then
  2561. keys.a=false
  2562. elseif key=="d" then
  2563. keys.d=false
  2564. end
  2565. end)
  2566. start()
  2567. end)
  2568. cmd.commands.register('tp', 'cmd%plrs%plrs', function(args)
  2569. local players = args[2]
  2570. local target = args[3][1]
  2571. for i, player in pairs(args[2]) do
  2572. player.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  2573. end
  2574. end)
  2575.  
  2576. cmd.commands.register('naked', 'cmd%plrs', function(args)
  2577. for i, v in pairs(args[2]) do
  2578. v:ClearCharacterAppearance()
  2579. end
  2580. end)
  2581. cmd.commands.register('sgod', 'cmd%plrs', function(args)
  2582. for i, v in pairs(args[2]) do
  2583. v.Character.Humanoid.MaxHealth = 999999999
  2584. v.Character.Humanoid.Health = 999999999
  2585. end
  2586. end)
  2587.  
  2588. cmd.commands.register('ws', 'cmd%plrs%int', function(args)
  2589. for i, v in pairs(args[2]) do
  2590. v.Character.Humanoid.WalkSpeed = args[3].data
  2591. end
  2592. end)
  2593.  
  2594. cmd.commands.register('lag', 'cmd%plrs', function(args)
  2595. for i, v in pairs(args[2]) do
  2596. coroutine.wrap(function()
  2597. for i = 1, 200 do
  2598. ypcall(function()
  2599. coroutine.wrap(function()
  2600. for i = 1, 1000 do
  2601. Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  2602. end
  2603. end)()
  2604. end)
  2605. wait()
  2606. end
  2607. end)()
  2608. end
  2609. end)
  2610.  
  2611. cmd.commands.register('ban', 'cmd%plrs', function(args)
  2612. for i, v in pairs(args[2]) do
  2613. table.insert(cmd.bans, v.Name)
  2614. v.Parent = nil
  2615. end
  2616. end)
  2617.  
  2618. cmd.commands.register('lagban', 'cmd%plrs', function(args)
  2619. for i, v in pairs(args[2]) do
  2620. table.insert(cmd.lagbans, v.Name)
  2621. coroutine.wrap(function()
  2622. for i = 1, 200 do
  2623. ypcall(function()
  2624. coroutine.wrap(function()
  2625. for i = 1, 1000 do
  2626. Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  2627. end
  2628. end)()
  2629. end)
  2630. wait()
  2631. end
  2632. end)()
  2633. end
  2634. end)
  2635.  
  2636. cmd.commands.register('punish', 'cmd%plrs', function(args)
  2637. for i, v in pairs(args[2]) do
  2638. v.Character.Parent = game.Lighting
  2639. end
  2640. end)
  2641.  
  2642. cmd.commands.register('unpunish', 'cmd%plrs', function(args)
  2643. for i, v in pairs(args[2]) do
  2644. v.Character.Parent = game.Workspace
  2645. end
  2646. end)
  2647.  
  2648. cmd.commands.register('respawn', 'cmd%plrs', function(args)
  2649. for i, v in pairs(args[2]) do
  2650. local a1 = Instance.new("Model", game.Workspace)
  2651. local a2 = Instance.new("Part", game.Workspace)
  2652. a2.CanCollide = true
  2653. a2.Anchored = true
  2654. a2.CFrame = CFrame.new(10000, 10000, 10000)
  2655. a2.Name = "Torso"
  2656. local a3 = Instance.new("Humanoid", a1)
  2657. a3.MaxHealth=100;a3.Health=100
  2658. v.Character = a1
  2659. a3.Health=0
  2660. end
  2661. end)
  2662.  
  2663. cmd.commands.register('shutdown', 'cmd', function(args)
  2664. for i, v in pairs(cmd.service('Players'):GetPlayers()) do
  2665. v.Parent = nil
  2666. end
  2667. end)
  2668.  
  2669. cmd.commands.register('music', 'cmd%int', function(args)
  2670. local a = Instance.new("Sound")
  2671. a.SoundId = "rbxassetid://" .. tostring(args[2].data)
  2672. a.Looped = true
  2673. a.Volume = 1
  2674. a.Parent = game.Workspace
  2675. a:Play()
  2676.  
  2677. end)
  2678.  
  2679. cmd.commands.register('sit', 'cmd%plrs', function(args)
  2680. for i, v in pairs(args[2]) do
  2681. v.Character.Humanoid.Sit = true
  2682. end
  2683. end)
  2684.  
  2685. cmd.commands.register('jump', 'cmd%plrs', function(args)
  2686. for i, v in pairs(args[2]) do
  2687. v.Character.Humanoid.Jump = true
  2688. end
  2689. end)
  2690.  
  2691. cmd.commands.register('stun', 'cmd%plrs', function(args)
  2692. for i, v in pairs(args[2]) do
  2693. v.Character.Humanoid.PlatformStand = true
  2694. end
  2695. end)
  2696.  
  2697. cmd.commands.register('unstun', 'cmd%plrs', function(args)
  2698. for i, v in pairs(args[2]) do
  2699. v.Character.Humanoid.PlatformStand = false
  2700. end
  2701. end)
  2702.  
  2703. cmd.commands.register('loopstate', 'cmd%int', function(args)
  2704. coroutine.resume(coroutine.create(function()
  2705. repeat
  2706. ypcall(function() cmd.localplayer.Character.Humanoid:ChangeState(args[2].data) end)
  2707. wait(0)
  2708. until cmd.localplayer.Character.Humanoid == nil
  2709. end))
  2710. end)
  2711.  
  2712. cmd.commands.register('invis', 'cmd%plrs', function(args)
  2713. for i, v in pairs(args[2]) do
  2714. local function dloop(o)
  2715. for i, v in pairs(o:GetChildren()) do
  2716. pcall(function() v.Transparency = 1 end)
  2717. dloop(v)
  2718. end
  2719. end
  2720. dloop(v.Character)
  2721. end
  2722. end)
  2723.  
  2724. cmd.commands.register('vis', 'cmd%plrs', function(args)
  2725. for i, v in pairs(args[2]) do
  2726. local function dloop(o)
  2727. for i, v in pairs(o:GetChildren()) do
  2728. pcall(function() v.Transparency = 0 end)
  2729. dloop(v)
  2730. end
  2731. end
  2732. v.Character.HumanoidRootPart.Transparency = 1
  2733. dloop(v.Character)
  2734. end
  2735. end)
  2736.  
  2737. cmd.commands.register('nuke', 'cmd%plrs', function(args)
  2738. for i, v in pairs(args[2]) do
  2739. if v.Character then
  2740. local nuke = Instance.new("Part", game.Workspace)
  2741. nuke.Anchored = true
  2742. nuke.CanCollide = false
  2743. nuke.FormFactor = "Symmetric"
  2744. nuke.Shape = "Ball"
  2745. nuke.Size = Vector3.new(1,1,1)
  2746. nuke.BrickColor = BrickColor.new("New Yeller")
  2747. nuke.Transparency = 0.5
  2748. nuke.Reflectance = 0.2
  2749. nuke.TopSurface = 0
  2750. nuke.BottomSurface = 0
  2751. nuke.Touched:connect(function (hit)
  2752. if hit and hit.Parent then
  2753. local boom = Instance.new("Explosion", game.Workspace)
  2754. boom.Position = hit.Position
  2755. boom.BlastRadius = 11
  2756. boom.BlastPressure = math.huge
  2757. end
  2758. end)
  2759. local CF = v.Character.Torso.CFrame
  2760. nuke.CFrame = CF
  2761. for i = 1,333 do
  2762. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  2763. nuke.CFrame = CF
  2764. wait(1/44)
  2765. end
  2766. nuke:Destroy()
  2767. end
  2768. end
  2769. end)
  2770.  
  2771. cmd.commands.register('explode', 'cmd%plrs', function(args)
  2772. for i, v in pairs(args[2]) do
  2773. Instance.new("Explosion", v.Character.Torso).Position = v.Character.Torso.Position
  2774. end
  2775. end)
  2776.  
  2777. cmd.commands.register('hat', 'cmd%plrs%int', function(args)
  2778. for i, v in pairs(args[2]) do
  2779. cmd.service('InsertService'):LoadAsset(args[3].data):GetChildren()[1].Parent = v.Character
  2780. end
  2781. end)
  2782.  
  2783. cmd.commands.register('chat', 'cmd%plrs%inf', function(args)
  2784. for i, v in pairs(args[2]) do
  2785. game:GetService('Chat'):Chat(v.Character, args[3], 1)
  2786. end
  2787. end)
  2788.  
  2789. cmd.commands.register('god', 'cmd%plrs', function(args)
  2790. for i, v in pairs(args[2]) do
  2791. v.Character.Humanoid.MaxHealth = math.huge
  2792. v.Character.Humanoid.Health = math.huge
  2793. end
  2794. end)
  2795.  
  2796. cmd.commands.register('ungod', 'cmd%plrs', function(args)
  2797. for i, v in pairs(args[2]) do
  2798. v.Character.Humanoid.Health = 100
  2799. v.Character.Humanoid.MaxHealth = 100
  2800. end
  2801. end)
  2802.  
  2803. cmd.commands.register('rh', 'cmd%plrs', function(args)
  2804. for i, v in pairs(args[2]) do
  2805. v.Character.Humanoid.Parent = nil
  2806. end
  2807. end)
  2808.  
  2809. cmd.commands.register('fire', 'cmd%plrs', function(args)
  2810. for i, v in pairs(args[2]) do
  2811. Instance.new('Fire', v.Character.Torso)
  2812. end
  2813. end)
  2814.  
  2815. cmd.commands.register('insane', 'cmd%plrs', function(args)
  2816. for x, m in pairs(args[2]) do
  2817. for i,v in pairs(m.Character.Torso:GetChildren()) do
  2818. if v:IsA("Motor6D") then
  2819. coroutine.wrap(function()
  2820. while v do
  2821. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  2822. wait()
  2823. end
  2824. end)()
  2825. end
  2826. end
  2827. end
  2828. end)
  2829.  
  2830. cmd.commands.register('admin', 'cmd%plrs',function(args)
  2831. for i, v in pairs(args[2]) do
  2832. --table.insert(cmd.admins, v.Name)
  2833. v.Chatted:connect(function(msg)
  2834. if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  2835. cmd.commands.run(msg:sub(2, #msg))
  2836. end
  2837. end)
  2838. end
  2839. end)
  2840.  
  2841. cmd.commands.register('nosound', 'cmd', function(args)
  2842. local function dx(o)
  2843. for i, v in pairs(o:GetChildren()) do
  2844. if v:IsA("Sound") then
  2845. v:Stop()
  2846. end
  2847. dx(v)
  2848. end
  2849. end
  2850. dx(game.Workspace)
  2851. end)
  2852.  
  2853. cmd.commands.register('duck', 'cmd%plrs', function(args)
  2854. for _,p in pairs(args[2]) do
  2855. local pchar = p.Character
  2856. for i,v in pairs(pchar.Torso:GetChildren()) do
  2857. if v:IsA("Decal") then
  2858. v:Destroy()
  2859. end
  2860. end
  2861. for i,v in pairs(pchar:GetChildren()) do
  2862. if v:IsA("Hat") then
  2863. v:Destroy()
  2864. end
  2865. end
  2866. local duck = Instance.new("SpecialMesh", pchar.Torso)
  2867. duck.MeshType = "FileMesh"
  2868. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  2869. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  2870. duck.Scale = Vector3.new(5, 5, 5)
  2871. pchar.Head.Transparency = 1
  2872. pchar["Left Arm"].Transparency = 1
  2873. pchar["Right Arm"].Transparency = 1
  2874. pchar["Left Leg"].Transparency = 1
  2875. pchar["Right Leg"].Transparency = 1
  2876. pchar.Head.face.Transparency = 1
  2877. end
  2878. end)
  2879.  
  2880. cmd.commands.register('shrek', 'cmd%plrs', function(args)
  2881. for i, v in pairs(args[2]) do
  2882. local pchar = v.Character
  2883. for i,v in pairs(pchar:GetChildren()) do
  2884. if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  2885. v:Destroy()
  2886. end
  2887. end
  2888. for i,v in pairs(pchar.Head:GetChildren()) do
  2889. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  2890. v:Destroy()
  2891. end
  2892. end
  2893.  
  2894. local mesh = Instance.new("SpecialMesh", pchar.Head)
  2895. mesh.MeshType = "FileMesh"
  2896. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  2897. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  2898. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  2899.  
  2900. local Shirt = Instance.new("Shirt", v.Character)
  2901. local Pants = Instance.new("Pants", v.Character)
  2902.  
  2903. Shirt.ShirtTemplate = "rbxassetid://133078194"
  2904. Pants.PantsTemplate = "rbxassetid://133078204"
  2905. end
  2906. end)
  2907.  
  2908. cmd.commands.register('nograv', 'cmd%plrs', function(args)
  2909. for i, v in pairs(args[2]) do
  2910. for x, m in pairs(v.Character:GetChildren()) do
  2911. if m:IsA("BasePart") then
  2912. local bf = Instance.new("BodyForce", m)
  2913. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  2914. end
  2915. if m:IsA("Hat") then
  2916. if m:findFirstChild("Handle") then
  2917. local bf = Instance.new("BodyForce", m.Handle)
  2918. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  2919. end
  2920. end
  2921. end
  2922. end
  2923. end)
  2924.  
  2925. cmd.commands.register('loopheal', 'cmd%plrs', function(args)
  2926. for i, v in pairs(args[2]) do
  2927. coroutine.wrap(function()
  2928. while wait() do
  2929. if v.Character.Humanoid then
  2930. v.Character.Humanoid.Health = 1000
  2931. v.Character.Humanoid.MaxHealth = 1000
  2932. end
  2933. end
  2934. end)()
  2935. end
  2936. end)
  2937.  
  2938. cmd.commands.register('hulk', 'cmd%plrs', function(args)
  2939. for i, v in pairs(args[2]) do
  2940. cmd.util.hulk(v)
  2941. end
  2942. end)
  2943.  
  2944. cmd.commands.register('sky', 'cmd%int', function(args)
  2945. local ID = args[2].data
  2946. local sky = Instance.new("Sky", game.Lighting)
  2947. sky.SkyboxBk = "rbxassetid://" .. ID
  2948. sky.SkyboxDn = "rbxassetid://" .. ID
  2949. sky.SkyboxFt = "rbxassetid://" .. ID
  2950. sky.SkyboxLf = "rbxassetid://" .. ID
  2951. sky.SkyboxRt = "rbxassetid://" .. ID
  2952. sky.SkyboxUp = "rbxassetid://" .. ID
  2953. end)
  2954.  
  2955. cmd.commands.register('bombs', 'cmd%plrs', function(args)
  2956. cmd.util.BombVest(args[2])
  2957. end)
  2958.  
  2959. cmd.commands.register('control', 'cmd%plrs', function(args)
  2960. -- variable
  2961. local pchar = args[2][1].Character
  2962. local char = cmd.localplayer.Character
  2963. pchar.Humanoid.PlatformStand = true
  2964. local w = Instance.new("Weld", pchar.Torso)
  2965. w.Part0 = pchar.Torso
  2966. w.Part1 = pchar.Torso
  2967. local w2 = Instance.new("Weld", pchar.Head)
  2968. w2.Part0 = pchar.Head
  2969. w2.Part1 = pchar.Head
  2970. local w3 = Instance.new("Weld", pchar:findFirstChild("Right Arm"))
  2971. w3.Part0 = pchar:findFirstChild("Right Arm")
  2972. w3.Part1 = pchar:findFirstChild("Right Arm")
  2973. local w4 = Instance.new("Weld", pchar:findFirstChild("Left Arm"))
  2974. w4.Part0 = pchar:findFirstChild("Left Arm")
  2975. w4.Part1 = pchar:findFirstChild("Left Arm")
  2976. local w5 = Instance.new("Weld", pchar:findFirstChild("Right Leg"))
  2977. w5.Part0 = pchar:findFirstChild("Right Leg")
  2978. w5.Part1 = pchar:findFirstChild("Right Leg")
  2979. local w6 = Instance.new("Weld", pchar:findFirstChild("Left Leg"))
  2980. w6.Part0 = pchar:findFirstChild("Left Leg")
  2981. w6.Part1 = pchar:findFirstChild("Left Leg")
  2982. char.Head.face:Destroy()
  2983. for i,v in pairs(pchar:GetChildren()) do
  2984. if v:IsA("BasePart") then
  2985. v.CanCollide = false
  2986. end
  2987. end
  2988. for i,v in pairs(char:GetChildren()) do
  2989. if v:IsA("BasePart") then
  2990. v.Transparency = 1
  2991. elseif v:IsA("Hat") then
  2992. v:Destroy()
  2993. end
  2994. end
  2995. pchar.Parent = char
  2996. repeat
  2997. pchar.Humanoid.PlatformStand = true
  2998. wait()
  2999. until char.Parent == nil
  3000. end)
  3001.  
  3002. cmd.commands.register('rtag', 'cmd%inf', function(args)
  3003. local len = 10; local player = cmd.localplayer
  3004. local bb = Instance.new("BillboardGui")
  3005. bb.Parent = player.Character.Head
  3006. bb.Adornee = player.Character.Head
  3007. bb.AlwaysOnTop = true
  3008. bb.Enabled = true
  3009. bb.Size = UDim2.new(len, 0, 1.5, 0)
  3010. bb.Name = "tag"
  3011. bb.StudsOffset = Vector3.new(0, 3, 0)
  3012. --local fr = Instance.new("Frame")
  3013. --fr.Parent = bb
  3014. --fr.Size = UDim2.new(1, 0, 1, 0)
  3015. --fr.Style = Enum.FrameStyle.RobloxRound
  3016. local tl = Instance.new("TextLabel")
  3017. tl.Parent = bb
  3018. tl.BackgroundTransparency = 1
  3019. tl.TextScaled = true
  3020. tl.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  3021. tl.Size = UDim2.new(1, 0, 1, 0)
  3022. tl.Text = args[2]
  3023. tl.Name = "trutag"
  3024. tl.Visible = true
  3025. tl.ZIndex = 2
  3026. coroutine.wrap(function()
  3027. local r, g, b = 255, 0, 0
  3028. repeat
  3029. tl.TextColor3 = Color3.new(r/255, g/255, b/255)
  3030. local bo = cmd.util.nextrgb(r, g, b)
  3031. r = bo[1]; g = bo[2]; b = bo[3];
  3032. wait()
  3033. until bb == nil
  3034. end)()
  3035. end)
  3036.  
  3037. cmd.commands.register('smoke', 'cmd%plrs', function(args)
  3038. for i, v in pairs(args[2]) do
  3039. Instance.new('Smoke', v.Character.Torso)
  3040. end
  3041. end)
  3042.  
  3043. cmd.commands.register('btools', 'cmd%plrs', function(args)
  3044. for i, p in pairs(args[2]) do
  3045. local a = Instance.new("HopperBin")
  3046. a.BinType = "GameTool"
  3047. a.Parent = p.Backpack
  3048. local a = Instance.new("HopperBin")
  3049. a.BinType = "Clone"
  3050. a.Parent = p.Backpack
  3051. local a = Instance.new("HopperBin")
  3052. a.BinType = "Hammer"
  3053. a.Parent = p.Backpack
  3054. end
  3055. end)
  3056.  
  3057. con = nil;
  3058. cmd.commands.register('noclip', 'cmd', function(args)
  3059. cmd.noclip = false
  3060. con = game:GetService('RunService').Stepped:connect(function()
  3061. if cmd.noclip == true then
  3062. con:disconnect()
  3063. else
  3064. cmd.localplayer.Character.Torso.CanCollide = false
  3065. cmd.localplayer.Character.Head.CanCollide = false
  3066. end
  3067. end)
  3068. end)
  3069.  
  3070. cmd.commands.register('clip', 'cmd', function(args)
  3071. cmd.noclip = true
  3072. end)
  3073.  
  3074. cmd.commands.register('gear', 'cmd%plrs%int', function(args)
  3075. local gear = game:GetService("InsertService"):LoadAsset(args[3].data):GetChildren()[1]
  3076. if not gear then return end
  3077. for i, v in pairs(args[2]) do
  3078. gear:Clone().Parent = v.Backpack
  3079. end
  3080. end)
  3081.  
  3082. cmd.commands.register('kick', 'cmd%plrs', function(args)
  3083. for i, v in pairs(args[2]) do
  3084. v.Parent = nil
  3085. end
  3086. end)
  3087.  
  3088. cmd.commands.register('r15', 'cmd', function(args)
  3089. cmd.util.R15()
  3090. end)
  3091.  
  3092. cmd.commands.register('char', 'cmd%plrs%str', function(args)
  3093. if tonumber(args[3].data) ~= nil then
  3094. args[3].data = tonumber(args[3].data)
  3095. else
  3096. args[3].data = cmd.players:GetUserIdFromNameAsync(args[3].data)
  3097. end
  3098. for i, v in pairs(args[2]) do
  3099. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=' .. args[3].data
  3100. pcall(function() v.Character.Humanoid.Health = 0 end)
  3101. end
  3102. end)
  3103.  
  3104. cmd.commands.register('noob', 'cmd%plrs', function(args)
  3105. for i, v in pairs(args[2]) do
  3106. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=4'
  3107. pcall(function() v.Character.Humanoid.Health = 0 end)
  3108. end
  3109. end)
  3110.  
  3111. cmd.commands.register('ff', 'cmd%plrs', function(args)
  3112. for i, v in pairs(args[2]) do
  3113. Instance.new("ForceField", v.Character)
  3114. end
  3115. end)
  3116.  
  3117. cmd.commands.register('unff', 'cmd%plrs', function(args)
  3118. for i, v in pairs(args[2]) do
  3119. for x, m in pairs(v.Character:GetChildren()) do
  3120. if m:IsA("ForceField") then
  3121. m.Parent = nil
  3122. end
  3123. end
  3124. end
  3125. end)
  3126.  
  3127. cmd.commands.register('guest', 'cmd%plrs', function(args)
  3128. for i, v in pairs(args[2]) do
  3129. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=1'
  3130. pcall(function() v.Character.Humanoid.Health = 0 end)
  3131. end
  3132. end)
  3133.  
  3134. cmd.commands.register('giraffe', 'cmd%plrs', function(args)
  3135. for i, v in pairs(args[2]) do
  3136. local char=v.Character
  3137. local h=char.Head
  3138. local tor=char.Torso
  3139. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  3140. local fn=Instance.new("Part",char)
  3141. fn.Size=Vector3.new(1,5.5,1)
  3142. fn.Name="FakeNeck"
  3143. fn.Anchored=false
  3144. fn.CanCollide=false
  3145. if char:FindFirstChild("Body Colors") then
  3146. fn.BrickColor=char["Body Colors"].HeadColor
  3147. end
  3148. local cm=Instance.new("CylinderMesh",fn)
  3149. local we=Instance.new("Weld",h)
  3150. we.Part0=h
  3151. we.Part1=fn
  3152. we.C1=we.C1*CFrame.new(0,2.6,0)
  3153. end
  3154. end)
  3155.  
  3156. cmd.commands.register('notools', 'cmd%plrs', function(args)
  3157. for i, v in pairs(args[2]) do
  3158. for x, m in pairs(v.Backpack:GetChildren()) do
  3159. m.Parent = nil
  3160. end
  3161. end
  3162. end)
  3163.  
  3164. cmd.commands.register('taketools', 'cmd%plrs', function(args)
  3165. for i, v in pairs(args[2]) do
  3166. for x, m in pairs(v.Backpack:GetChildren()) do
  3167. m.Parent = cmd.localplayer.Backpack
  3168. end
  3169. end
  3170. end)
  3171.  
  3172. cmd.commands.register('confuse', 'cmd%plrs', function(args)
  3173. for i, v in pairs(args[2]) do
  3174. v.Character.Humanoid.WalkSpeed = -16
  3175. end
  3176. end)
  3177.  
  3178. cmd.commands.register('spin', 'cmd%plrs', function(args)
  3179. for i, v in pairs(args[2]) do
  3180. for i,v in pairs(v.Character.Torso:GetChildren()) do
  3181. if v.Name == "Spinning" then
  3182. v:Destroy()
  3183. end
  3184. end
  3185. local Torso = v.Character.Torso
  3186. local BG = Instance.new("BodyGyro", Torso)
  3187. BG.Name = "Spinning"
  3188. BG.maxTorque = Vector3.new(0, math.huge, 0)
  3189. BG.P = 11111
  3190. BG.cframe = Torso.CFrame
  3191. repeat wait(1/44)
  3192. BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  3193. until not BG or BG.Parent ~= Torso
  3194. end
  3195. end)
  3196.  
  3197. cmd.commands.register('fling', 'cmd%plrs', function(args)
  3198. for i, v in pairs(args[2]) do
  3199. local pchar = v.Character
  3200. if pchar:FindFirstChild("Humanoid") then
  3201. local xran
  3202. local zran
  3203. repeat
  3204. xran = math.random(-9999,9999)
  3205. until math.abs(xran) >= 5555
  3206. repeat
  3207. zran = math.random(-9999,9999)
  3208. until math.abs(zran) >= 5555
  3209. pchar.Humanoid.Sit = true
  3210. pchar.Torso.Velocity = Vector3.new(0,0,0)
  3211. local BF = Instance.new("BodyForce", pchar.Torso)
  3212. BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  3213. end
  3214. end
  3215. end)
  3216.  
  3217. cmd.commands.register('burn', 'cmd%plrs', function(args)
  3218. for i, v in pairs(args[2]) do
  3219. spawn(function()
  3220. wait(0.1)
  3221. local fire=Instance.new("Fire", v.Character.Torso)
  3222. wait(0.1)
  3223. local fire=Instance.new("Fire", v.Character.Head)
  3224. wait(0.1)
  3225. local fire=Instance.new("Fire", v.Character["Left Arm"])
  3226. wait(0.1)
  3227. local fire=Instance.new("Fire", v.Character["Right Leg"])
  3228. wait(0.5)
  3229. v.Character:BreakJoints();
  3230. end)
  3231. end
  3232. end)
  3233.  
  3234. cmd.commands.register('printcmds', 'cmd', function(args)
  3235. for i, v in pairs(cmd.commands.store) do
  3236. print(i, '==', v)
  3237. end
  3238. end)
  3239.  
  3240. cmd.commands.register('gun', 'cmd%plrs', function(args)
  3241. local a = game:GetService("InsertService"):LoadAsset(130113146):GetChildren()[1]
  3242. local b = game:GetService("InsertService"):LoadAsset(67747912):GetChildren()[1]
  3243. local c = game:GetService("InsertService"):LoadAsset(95354288):GetChildren()[1]
  3244. for i, v in pairs(args[2]) do
  3245. a:Clone().Parent = v.Backpack
  3246. b:Clone().Parent = v.Backpack
  3247. c:Clone().Parent = v.Backpack
  3248. end
  3249. end)
  3250.  
  3251.  
  3252. cmd.commands.register('goto', 'cmd%plrs', function(args)
  3253. local target = args[2][1]
  3254. cmd.localplayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  3255. end)
  3256.  
  3257. cmd.commands.register('select', 'cmd%plrs', function(args)
  3258. for i, v in pairs(args[2]) do
  3259. Instance.new("SelectionBox", v.Character).Adornee = v.Character
  3260. end
  3261. end)
  3262.  
  3263. cmd.commands.register('sphere', 'cmd%plrs', function(args)
  3264. for i, v in pairs(args[2]) do
  3265. Instance.new("SelectionSphere", v.Character).Adornee = v.Character
  3266. end
  3267. end)
  3268.  
  3269. cmd.commands.register('bring', 'cmd%plrs', function(args)
  3270. for i, v in pairs(args[2]) do
  3271. v.Character.HumanoidRootPart.CFrame = cmd.localplayer.Character.HumanoidRootPart.CFrame
  3272. end
  3273. end)
  3274.  
  3275. cmd.commands.register('knife', 'cmd%plrs', function(args)
  3276. local knife = game:GetService("InsertService"):LoadAsset(170897263):GetChildren()[1]
  3277. for i, v in pairs(args[2]) do
  3278. knife:Clone().Parent = v
  3279. end
  3280. end)
  3281.  
  3282. cmd.commands.register('shades', 'cmd%plrs', function(args)
  3283. local shades = game:GetService('InsertService'):LoadAsset(11748356):GetChildren()[1]
  3284. for i, v in pairs(args[2]) do
  3285. shades:Clone().Parent = v.Character
  3286. end
  3287. end)
  3288.  
  3289. cmd.commands.register('alien', 'cmd%plrs', function(args)
  3290. -- variable
  3291. for i, v in pairs(args[2]) do
  3292. local pchar = v.Character
  3293. if pchar:FindFirstChild('Shirt') then
  3294. pchar.Shirt:Destroy()
  3295. end
  3296. if pchar:FindFirstChild('Pants') then
  3297. pchar.Pants:Destroy()
  3298. end
  3299. if pchar:FindFirstChild('Shirt Graphic') then
  3300. pchar['Shirt Graphic'].Graphic = ''
  3301. end
  3302. for i,v in pairs(pchar:GetChildren()) do
  3303. if v:IsA('Hat') then
  3304. v:Destroy()
  3305. end
  3306. end
  3307. local ayy2 = game:GetObjects("rbxassetid://397033642")[1]
  3308. ayy2.Parent = pchar
  3309. local BC = pchar['Body Colors']
  3310. BC.HeadColor = BrickColor.new('Fossil')
  3311. BC.LeftArmColor = BrickColor.new('Fossil')
  3312. BC.LeftLegColor = BrickColor.new('Fossil')
  3313. BC.RightArmColor = BrickColor.new('Fossil')
  3314. BC.RightLegColor = BrickColor.new('Fossil')
  3315. BC.TorsoColor = BrickColor.new('Fossil')
  3316. end
  3317. end)
  3318.  
  3319. cmd.commands.register('team', 'cmd%plrs%str', function(args)
  3320. for i, v in pairs(args[2]) do
  3321. for x, m in pairs(game:GetService('Teams'):GetTeams()) do
  3322. if (m.Name):lower():sub(1, #args[3].data) == (args[3].data):lower() then
  3323. v.TeamColor = m.TeamColor
  3324. end
  3325. end
  3326. end
  3327. end)
  3328.  
  3329. cmd.commands.register('particles', 'cmd%plrs%int', function(args)
  3330. for i, v in pairs(args[2]) do
  3331. Instance.new("ParticleEmitter", v.Character).Texture = args[3].data
  3332. end
  3333. end)
  3334.  
  3335. cmd.commands.register('ghost', 'cmd%plrs', function(args)
  3336. for i, v in pairs(args[2]) do
  3337. local pchar = v.Character
  3338. pchar.Head.Transparency = 0.5
  3339. pchar.Torso.Transparency = 0.5
  3340. pchar["Left Arm"].Transparency = 0.5
  3341. pchar["Right Arm"].Transparency = 0.5
  3342. pchar["Left Leg"].Transparency = 0.5
  3343. pchar["Right Leg"].Transparency = 0.5
  3344. pchar.Head.face.Transparency = 0.5
  3345. end
  3346. end)
  3347.  
  3348. cmd.commands.register('firstperson', 'cmd%plrs', function(args)
  3349. for i, v in pairs(args[2]) do
  3350. v.CameraMode = Enum.CameraMode.LockFirstPerson
  3351. end
  3352. end)
  3353.  
  3354. cmd.commands.register('creeper', 'cmd%plrs', function(args)
  3355. for i, v in pairs(args[2]) do
  3356. local pchar = v.Character
  3357. if pchar then
  3358. if pchar:FindFirstChild("Shirt") then
  3359. pchar.Shirt.Parent = pchar.Torso
  3360. end
  3361. if pchar:FindFirstChild("Pants") then
  3362. pchar.Pants.Parent = pchar.Torso
  3363. end
  3364. if pchar:FindFirstChild("Shirt Graphic") then
  3365. pchar["Shirt Graphic"].Graphic = ""
  3366. end
  3367. for i,v in pairs(pchar:GetChildren()) do
  3368. if v:IsA("Hat") then
  3369. v:Destroy()
  3370. end
  3371. end
  3372. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  3373. pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  3374. pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  3375. pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  3376. pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  3377. pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  3378. pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  3379. pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  3380. pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  3381. pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  3382. pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  3383. end
  3384. end
  3385. end)
  3386.  
  3387. cmd.commands.register('insert', 'cmd%int', function(args)
  3388. local m = cmd.service('InsertService'):LoadAsset(args[2].data)
  3389. m.Parent = game.Workspace
  3390. m:MoveTo(cmd.localplayer.Character.Torso.Position)
  3391. m:MakeJoints()
  3392. end)
  3393.  
  3394. cmd.commands.register('nolimbs', 'cmd%plrs', function(args)
  3395. for i, v in pairs(game.Players:GetPlayers()) do
  3396. v.Character['Right Leg'].Parent = nil
  3397. v.Character['Left Leg'].Parent = nil
  3398. v.Character['Right Arm'].Parent = nil
  3399. v.Character['Left Arm'].Parent = nil
  3400. end
  3401. end)
  3402.  
  3403. cmd.commands.register('recurseremove', 'cmd%str', function(args)
  3404. local function a(o)
  3405. for i,v in pairs(o:GetChildren()) do
  3406. if v:IsA(args[2].data) then
  3407. v.Parent=nil
  3408. end
  3409. a(v)
  3410. end
  3411. end
  3412. a(game.Workspace)
  3413. end)
  3414.  
  3415. cmd.commands.register('name', 'cmd%plrs%inf', function(args)
  3416. for i, v in pairs(args[2]) do
  3417. local tchar = v.Character
  3418. for x, m in pairs(tchar:GetChildren()) do
  3419. if m:FindFirstChild('nm') then
  3420. m.Parent = nil
  3421. end
  3422. end
  3423. tchar.Name = ''
  3424. local ntag = Instance.new("Model", tchar)
  3425. ntag.Name = args[3]
  3426. local nhead = tchar.Head:Clone()
  3427. nhead.Parent = ntag
  3428. local nhum = Instance.new("Humanoid", ntag)
  3429. nhum.MaxHealth = 0
  3430. nhum.Health = 0
  3431. nhum.Name = 'nm'
  3432. local nweld = Instance.new("Weld", nhead)
  3433. nweld.Part0 = nhead
  3434. nweld.Part1 = tchar.Head
  3435. end
  3436. end)
  3437.  
  3438. cmd.commands.register('track', 'cmd%plrs%inf', function(args)
  3439. for i, v in pairs(args[2]) do
  3440. local tchar = v.Character
  3441. for x, m in pairs(tchar:GetChildren()) do
  3442. if m:FindFirstChild('nm') then
  3443. m.Parent = nil
  3444. end
  3445. end
  3446. tchar.Name = ''
  3447. local ntag = Instance.new("Model", workspace.CurrentCamera)
  3448. ntag.Name = v.Name
  3449. local nhead = tchar.Head:Clone()
  3450. nhead.Parent = ntag
  3451. local nhum = Instance.new("Humanoid", ntag)
  3452. nhum.MaxHealth = 0
  3453. nhum.Health = 0
  3454. nhum.Name = 'nm'
  3455. local nweld = Instance.new("Weld", nhead)
  3456. nweld.Part0 = nhead
  3457. nweld.Part1 = tchar.Head
  3458. end
  3459. end)
  3460.  
  3461. cmd.commands.register('rname', 'cmd%plrs', function(args)
  3462. local player = cmd.localplayer
  3463. player.Neutral = false
  3464. repeat
  3465. wait()
  3466. player.TeamColor = BrickColor.Random()
  3467. until not player.Character.Humanoid
  3468. end)
  3469.  
  3470. cmd.commands.register('fogend', 'cmd%int', function(args)
  3471. game.Lighting.FogEnd = args[2].data
  3472. end)
  3473.  
  3474. cmd.commands.register('fogstart', 'cmd%int', function(args)
  3475. game.Lighting.FogStart = args[2].data
  3476. end)
  3477.  
  3478. cmd.commands.register('time', 'cmd%int', function(args)
  3479. game.Lighting:SetMinutesAfterMidnight(60 * args[2].data)
  3480. end)
  3481.  
  3482. cmd.commands.register('ambient', 'cmd%int%int%int', function(args)
  3483. game.Lighting.Ambient = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  3484. end)
  3485.  
  3486. cmd.commands.register('fogcolor', 'cmd%int%int%int', function(args)
  3487. game.Lighting.FogColor = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  3488. end)
  3489.  
  3490. cmd.commands.register('sword', 'cmd%plrs', function(args)
  3491. local sword = game:GetService('InsertService'):LoadAsset(125013769):GetChildren()[1]
  3492. for i, v in pairs(args[2]) do
  3493. sword:Clone().Parent = v.Backpack
  3494. end
  3495. end)
  3496.  
  3497. cmd.commands.register('paranoid', 'cmd%plrs', function(args)
  3498. for i, v in pairs(cmd.localplayer.Character:GetChildren()) do
  3499. if v:IsA("BasePart") then
  3500. v.Anchored = true
  3501. end
  3502. end
  3503. end)
  3504.  
  3505. cmd.commands.register('size', 'cmd%plrs%int', function(args)
  3506. for i, v in pairs(args[2]) do
  3507. cmd.util.size(v, args[3].data)
  3508. end
  3509. end)
  3510.  
  3511. cmd.commands.register('unlockws', 'cmd%plrs', function(args)
  3512. local function dloop(o)
  3513. for i, v in pairs(o:GetChildren()) do
  3514. if v:IsA("BasePart") then
  3515. v.Anchored = false
  3516. end
  3517. if v:IsA("Model") then
  3518. v:BreakJoints()
  3519. end
  3520. dloop(v)
  3521. end
  3522. end
  3523. dloop(game.Workspace)
  3524. end)
  3525.  
  3526. cmd.commands.register('change', 'cmd%plrs%str%inf', function(args)
  3527. for i, v in pairs(args[2]) do
  3528. if v:FindFirstChild("leaderstats") then
  3529. if v.leaderstats:FindFirstChild(args[3].data) then
  3530. if v.leaderstats[args[3].data]:IsA("StringValue") then
  3531. v.leaderstats[args[3].data].Value = args[4]
  3532. end
  3533. if v.leaderstats[args[3].data]:IsA("NumberValue") or v.leaderstats[args[3].data]:IsA("IntValue") then
  3534. print(args[4])
  3535. if tonumber(args[4]) ~= nil then
  3536. v.leaderstats[args[3].data].Value = tonumber(args[4])
  3537. end
  3538. end
  3539. end
  3540. end
  3541. end
  3542. end)
  3543.  
  3544. ---------------------------
  3545.  
  3546. -- ** init ** --
  3547.  
  3548. local count = 0
  3549. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  3550.  
  3551. warn("loaded nosyliam's cmdscript [a]")
  3552. warn(tostring(count).." commands")
  3553.  
  3554. DistributedCmdBar.FocusLost:connect(function(e)
  3555. if e == true then
  3556. cmd.commands.run(DistributedCmdBar.Text)
  3557. DistributedCmdBar.Text = ''
  3558. end
  3559. end)
  3560.  
  3561. --PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
  3562. -- if cmd.util.isadmin(plr.Name) then
  3563. -- if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  3564. -- cmd.commands.run(msg:sub(2, #msg))
  3565. -- end
  3566. -- end
  3567. -- end)
  3568. end
  3569. topkek.navigation.buildHomePage = function()
  3570. local count = 0
  3571. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  3572. local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
  3573. hook:drawText(1, 'T0PK3K 4.0 ex-7 edition by TheMichalos')
  3574. hook:drawText(1, 'Patch version 1.0.5')
  3575. hook:drawText(1, 'Commandbase patch version 1.0.0')
  3576. hook:drawText(1, 'Number of commands: ' .. tostring(count))
  3577. local stime = hook:drawText(1, 'Server Time: 0')
  3578. spawn(function()
  3579. while true do
  3580. stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
  3581. wait(0.5)
  3582. end
  3583. end)
  3584. local ssz = hook:drawText(1, 'Server Size: 0')
  3585. spawn(function()
  3586. while true do
  3587. ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
  3588. wait(0.5)
  3589. end
  3590. end)
  3591. local fe = game:GetService('Workspace').FilteringEnabled
  3592. hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
  3593. hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
  3594. hook:drawText(1, 'same', 55)
  3595. end
  3596. topkek.navigation.buildContainers = function()
  3597. for _, v in pairs(topkek.data.windows) do
  3598. topkek.tools.gui:makeContainer(v)
  3599. end
  3600. end
  3601.  
  3602. topkek.navigation.initCommandBar()
  3603. topkek.navigation.buildContainers()
  3604. topkek.navigation.buildTopbar()
  3605. topkek.navigation.buildHomePage()
  3606. wait()
  3607.  
  3608.  
  3609. --// actual code below lole //--
  3610.  
  3611. --// PLAYERS //--
  3612. local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
  3613. local search = plrwin:drawButton(1, '', function()end)
  3614. drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
  3615. function fixPlayerDrop()
  3616. local t = {'All'}
  3617. for i, v in pairs(game.Players:GetPlayers()) do
  3618. table.insert(t, v.Name)
  3619. end
  3620. drop.SetTable(t)
  3621. end
  3622. game.Players.PlayerAdded:connect(function()
  3623. fixPlayerDrop()
  3624. end)
  3625. game.Players.PlayerRemoving:connect(function()
  3626. fixPlayerDrop()
  3627. end)
  3628. plrFrame = plrwin:drawContainer(1, 100)
  3629. headshotContainer = plrFrame:drawContainer(0.4, 94, true)
  3630. headshotContainer:setDrawY(20)
  3631. headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
  3632. headshotContainer:setDrawY(0)
  3633. userNameText = headshotContainer:drawText(1, "[All]")
  3634. userNameText.ClipsDescendants = true
  3635. userNameText.Font = Enum.Font.SourceSansBold
  3636. infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
  3637. infoContainer.BackgroundColor3 = color3(108, 38, 38)
  3638. userIdText = infoContainer:drawText(1, "ID: 0")
  3639. userAgeText = infoContainer:drawText(1, "Age: 0")
  3640. userTeamText = infoContainer:drawText(1, "Team: Neutral")
  3641. cval = 'All'
  3642. fixPlayerDrop()
  3643.  
  3644. function updatePlayer(plri)
  3645. local plr = game:GetService('Players'):FindFirstChild(plri)
  3646. if not plr and plri ~= 'All' then
  3647. print("Couldn't find player!")
  3648. updatePlayer(topkek.lplr)
  3649. else
  3650. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
  3651. userNameText.Text = "[All]"
  3652. userIdText.Text = 'ID: [multiple]'
  3653. userAgeText.Text = 'Age: [multiple]'
  3654. userTeamText.Text = 'Team: [multiple]'
  3655. cval = 'All'
  3656. end
  3657. local team = plr.TeamColor
  3658. if team == nil then
  3659. team = 'Neutral'
  3660. else
  3661. team = tostring(team)
  3662. end
  3663. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
  3664. userNameText.Text = plr.Name
  3665. userIdText.Text = 'ID: ' .. tostring(plr.UserId)
  3666. userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
  3667. userTeamText.Text = 'Team: ' .. team
  3668. cval = plr.Name
  3669.  
  3670. end
  3671. drop.Changed(updatePlayer)
  3672. --actual code ------__-
  3673. plrwin:addSpacing()
  3674. plrwin:drawButton(1/2, 'Kick', function()
  3675. tk.dp(cval, function(p)
  3676. topkek.banmgr.executeKick(p)
  3677. end)
  3678. end)
  3679.  
  3680. plrwin:drawButton(1/2, 'Ban', function()
  3681. tk.dp(cval, function(p)
  3682. topkek.banmgr.addSoftBan(p)
  3683. end)
  3684. end)
  3685. plrwin:drawButton(1/2,'Friendlag', function()
  3686. tk.dp(cval, function(p)
  3687. for i = 1, 10 do
  3688. spawn(function()
  3689. while wait() do
  3690. game.Players.LocalPlayer:RequestFriendship(p)
  3691. game.Players.LocalPlayer:RevokeFriendship(p)
  3692. end
  3693. end)
  3694. end
  3695. end)
  3696. end)
  3697. plrwin:drawButton(1/2, 'Hardban', function()
  3698. tk.dp(cval, function(p)
  3699. topkek.banmgr.addHardBan(p)
  3700. end)
  3701. end)
  3702. plrwin:addSpacing()
  3703. plrwin:drawButton(1/2, 'Bring', function()
  3704. tk.dp(cval, function(z)
  3705. if z.Character then
  3706. z.Character.HumanoidRootPart.CFrame =
  3707. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  3708. end
  3709. end)
  3710. end)
  3711. plrwin:drawButton(1/2, 'Goto', function()
  3712. tk.dp(cval, function(z)
  3713. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
  3714. z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  3715. end)
  3716. end)
  3717. plrwin:addSpacing()
  3718. plrwin:drawButton(1/3, 'Kill', function()
  3719. tk.dp(cval, function(p)
  3720. if p.Character and p.Character:FindFirstChild("Humanoid") then
  3721. p.Character.Humanoid.Health = 0
  3722. end
  3723. end)
  3724. end)
  3725. plrwin:drawButton(1/3, 'Seizure', function()
  3726. tk.dp(cval, function(p)
  3727. if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
  3728. spawn(function()
  3729. p.Character.Humanoid.PlatformStand = true
  3730. tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0)
  3731. repeat
  3732. wait()
  3733. p.Character.Humanoid.PlatformStand = true
  3734. tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  3735. tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3736. until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
  3737. end)
  3738. end
  3739. end)
  3740. end)
  3741. plrwin:drawButton(1/3, 'Stun', function()
  3742. tk.dp(cval, function(p)
  3743. if p.Character and p.Character:FindFirstChild("Humanoid") then
  3744. p.Character.Humanoid.PlatformStand = true
  3745. p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  3746. end
  3747. end)
  3748. end)
  3749. plrwin:drawButton(1/3, 'Freeze', function()
  3750. tk.dp(cval, function(p)
  3751. if p.Character then
  3752. tk.gt(p).Anchored = true
  3753. end
  3754. end)
  3755. end)
  3756. plrwin:drawButton(1/3, 'Thaw', function()
  3757. tk.dp(cval, function(p)
  3758. if p.Character then
  3759. tk.gt(p).Anchored = false
  3760. end
  3761. end)
  3762. end)
  3763. plrwin:drawButton(1/3, 'Superslow', function()
  3764. tk.dp(cval, function(p)
  3765. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3766. p.Character.Humanoid.WalkSpeed = 1
  3767. end
  3768. end)
  3769. end)
  3770. plrwin:drawButton(1/3, 'Highjump', function()
  3771. tk.dp(cval, function(p)
  3772. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3773. p.Character.Humanoid.JumpPower = 125
  3774. end
  3775. end)
  3776. end)
  3777. plrwin:drawButton(1/3, 'God', function()
  3778. tk.dp(cval, function(p)
  3779. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3780. p.Character.Humanoid.MaxHealth = math.huge
  3781. p.Character.Humanoid.Health = math.huge
  3782. end
  3783. end)
  3784. end)
  3785. plrwin:drawButton(1/3, 'Semigod', function()
  3786. tk.dp(cval, function(p)
  3787. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3788. p.Character.Humanoid.MaxHealth = 9e9
  3789. p.Character.Humanoid.Health = 9e9
  3790. end
  3791. end)
  3792. end)
  3793. plrwin:drawButton(1/3, 'Fast', function()
  3794. tk.dp(cval, function(p)
  3795. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3796. p.Character.Humanoid.WalkSpeed = 50
  3797. end
  3798. end)
  3799. end)
  3800. Follow = false;
  3801. plrwin:drawButton(1/3, 'Annoy', function()
  3802. tk.dp(cval, function(p)
  3803. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3804. if Follow == true then
  3805. Follow = false; return
  3806. else Follow = true end
  3807. while Follow == true do
  3808. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
  3809. p.Character.HumanoidRootPart.CFrame
  3810. wait()
  3811. end
  3812. end
  3813. end)
  3814. end)
  3815. plrwin:drawButton(1/3, 'Freefall', function()
  3816. tk.dp(cval, function(p)
  3817. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3818. p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)
  3819. end
  3820. end)
  3821. end)
  3822. plrwin:drawButton(1/3, 'Destroy', function()
  3823. tk.dp(cval, function(p)
  3824. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3825. p.Character.Humanoid:Destroy()
  3826. end
  3827. end)
  3828. end)
  3829. plrwin:drawButton(1/3, 'Fix', function()
  3830. tk.dp(cval, function(p)
  3831. if p.Character and p.Character:FindFirstChild('Humanoid') then
  3832. p.Character.Humanoid.Health = 100
  3833. p.Character.Humanoid.MaxHealth = 100
  3834. p.Character.Humanoid.JumpPower = 100
  3835. p.Character.Humanoid.WalkSpeed = 16
  3836. p.Character.Humanoid.PlatformStand = false
  3837. p.Character.Humanoid.Jump = true
  3838. end
  3839. end)
  3840. end)
  3841. plrwin:drawButton(1/3, 'Respawn', function()
  3842. tk.dp(cval, function(p)
  3843. if p.Character then
  3844. local a1 = Instance.new("Model", game:service'Workspace')
  3845. local a2 = Instance.new("Part", game:service'Workspace')
  3846. a2.CanCollide = true
  3847. a2.Anchored = true
  3848. a2.CFrame = CFrame.new(10000, 10000, 10000)
  3849. a2.Name = "Torso"
  3850. local a3 = Instance.new("Humanoid", a1)
  3851. a3.MaxHealth=100;a3.Health=100
  3852. p.Character = a1
  3853. a3.Health=0
  3854. end
  3855. end)
  3856. end)
  3857. plrwin:addSpacing()
  3858. local nameInp
  3859. plrwin:drawButton(1/3, 'Name', function()
  3860. tk.dp(cval, function(z)
  3861. local Character = z.Character
  3862. local newName = Instance.new("Model", z.Character)
  3863. newName.Name = nameInp.Text
  3864. local cl = Character:WaitForChild("Head"):Clone()
  3865. cl.Parent = newName
  3866. cl:WaitForChild("face"):Destroy()
  3867. local hum = Instance.new("Humanoid", newName)
  3868. hum.Name = "NameTag"
  3869. hum.MaxHealth = 0
  3870. hum.Health = 0
  3871. local weld = Instance.new("Weld", cl)
  3872. weld.Part0 = cl
  3873. weld.Part1 = Character:WaitForChild("Head")
  3874. Character:WaitForChild("Head").Transparency = 1
  3875. wait(.5)
  3876. cl.BrickColor = Character:WaitForChild("Head").BrickColor
  3877. end)
  3878. end)
  3879. nameInp = plrwin:drawTextBox(2/3, '')
  3880. local chatInp
  3881. plrwin:drawButton(1/3, 'Chat', function()
  3882. tk.dp(cval, function(z)
  3883. game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
  3884. end)
  3885. end)
  3886. chatInp = plrwin:drawTextBox(2/3, '')
  3887. local disgInp
  3888. plrwin:drawButton(1/3, 'Disguise', function()
  3889. tk.dp(cval, function(p)
  3890. local id = 0
  3891. if tonumber(disgInp.Text) then
  3892. id = tonumber(disgInp.Text)
  3893. else
  3894. id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
  3895. end
  3896. if p.Character:FindFirstChild("Humanoid") then
  3897. p.Character.Humanoid.Health = 0
  3898. end
  3899. p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  3900. end)
  3901. end)
  3902. disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
  3903. plrwin:addSpacing()
  3904. clrR = plrwin:drawTextBox(1/3, '0')
  3905. clrG = plrwin:drawTextBox(1/3, '0')
  3906. clrB = plrwin:drawTextBox(1/3, '0')
  3907. function getColor()
  3908. local r = tonumber(clrR.Text)
  3909. local g = tonumber(clrG.Text)
  3910. local b = tonumber(clrB.Text)
  3911. if not (r and g and b) then return Color3.new(0,0,0) end
  3912. return Color3.new(r/255, g/255, b/255)
  3913. end
  3914. plrwin:drawButton(1/3, 'Sparkles', function()
  3915. tk.dp(cval, function(z)
  3916. Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
  3917. end)
  3918. end)
  3919. plrwin:drawButton(1/3, 'Smoke', function()
  3920. tk.dp(cval, function(z)
  3921. Instance.new("Smoke", tk.gt(z)).Color = getColor()
  3922.  
  3923. end)
  3924. end)
  3925. plrwin:drawButton(1/3, 'Fire', function()
  3926. tk.dp(cval, function(z)
  3927. local fr = Instance.new("Fire", tk.gt(z))
  3928. fr.Color = getColor()
  3929. fr.Heat = 30
  3930. fr.Size = 20
  3931. end)
  3932. end)
  3933. plrwin:drawButton(1/3, 'Forcefield', function()
  3934. tk.dp(cval, function(z)
  3935. if z.Character then
  3936. Instance.new("ForceField", z.Character)
  3937. end
  3938. end)
  3939. end)
  3940. plrwin:drawButton(1/3, 'Select', function()
  3941. tk.dp(cval, function(z)
  3942. if z.Character and tk.gt(z) then
  3943. Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
  3944. end
  3945. end)
  3946. end)
  3947. plrwin:drawButton(1/3, 'Sphere', function()
  3948. tk.dp(cval, function(z)
  3949. if z.Character and tk.gt(z) then
  3950. Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
  3951. end
  3952. end)
  3953. end)
  3954. plrwin:drawButton(1/3, 'Fling', function()
  3955. tk.dp(cval, function(z)
  3956. spawn(function() --kohls admin commands lol
  3957. if z.Character and tk.gt(z) then
  3958. local xran, zran
  3959. repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
  3960. repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
  3961. z.Character.Humanoid.Sit = true
  3962. tk.gt(z).Velocity = Vector3.new(0,0,0)
  3963. local frc = Instance.new("BodyForce", tk.gt(z))
  3964. frc.Name = "BFRC"
  3965. frc.force = Vector3.new(xran*4,9999*5,zran*4)
  3966. game:GetService("Debris"):AddItem(frc, 0.1)
  3967. end
  3968. end)
  3969. end)
  3970. end)
  3971. plrwin:drawButton(1/3, 'Explode', function()
  3972. tk.dp(cval, function(z)
  3973. if z.Character and tk.gt(z) then
  3974. local explosion = Instance.new("Explosion")
  3975. explosion.Position = tk.gt(z).Position
  3976. explosion.Parent = workspace
  3977. end
  3978. end)
  3979. end)
  3980. plrwin:drawButton(1/3, 'Nuke', function()
  3981. tk.dp(cval, function(z)
  3982. if z.Character and tk.gt(z) then
  3983. local torso = tk.gt(z)
  3984. local nuke = Instance.new("Part", game.Workspace)
  3985. local opos = torso.CFrame
  3986. nuke.BrickColor = BrickColor.new("Bright yellow")
  3987. nuke.TopSurface = Enum.SurfaceType.Smooth
  3988. nuke.BottomSurface = Enum.SurfaceType.Smooth
  3989. nuke.Anchored = true
  3990. nuke.CanCollide = false
  3991. nuke.Shape = "Ball"
  3992. nuke.Transparency = 0.5
  3993. nuke.CFrame = torso.CFrame
  3994. nuke.Size = Vector3.new(1, 1, 1)
  3995. nuke.Touched:connect(function(p)
  3996. local expl = Instance.new("Explosion", p)
  3997. expl.BlastPressure = 50000
  3998. expl.BlastRadius = 50
  3999. expl.Position = p.Position
  4000. p.Material = Enum.Material.CorrodedMetal
  4001. p:BreakJoints()
  4002. end)
  4003. for i = 1, 150 do
  4004. nuke.Size = Vector3.new(i, i, i)
  4005. nuke.CFrame = opos
  4006. wait(0.08)
  4007. end
  4008. nuke:Destroy()
  4009. end
  4010. end)
  4011. end)
  4012. plrwin:drawButton(1/3, 'No Tools', function()
  4013. tk.dp(cval, function(p)
  4014. for _, t in pairs(p.Backpack:GetChildren()) do
  4015. t:Destroy()
  4016. end
  4017. end)
  4018. end)
  4019. plrwin:drawButton(1/3, 'Take Tools', function()
  4020. tk.dp(cval, function(p)
  4021. for _, t in pairs(p.Backpack:GetChildren()) do
  4022. t.Parent = game:service'Players'.LocalPlayer.Backpack
  4023. end
  4024. end)
  4025. end)
  4026. plrwin:drawButton(1/3, 'BTools', function()
  4027. tk.dp(cval, function(p)
  4028. local a = Instance.new("HopperBin")
  4029. a.BinType = "GameTool"
  4030. a.Parent = p.Backpack
  4031. local a = Instance.new("HopperBin")
  4032. a.BinType = "Clone"
  4033. a.Parent = p.Backpack
  4034. local a = Instance.new("HopperBin")
  4035. a.BinType = "Hammer"
  4036. a.Parent = p.Backpack
  4037. end)
  4038. end)
  4039. plrwin:drawButton(1/3, 'Hotdog', function()
  4040. tk.dp(cval, function(p)
  4041. if p.Character and tk.gt(p) then
  4042. topkek.tools.util.weenieHutJunior(p)
  4043. end
  4044. end)
  4045. end)
  4046. plrwin:drawButton(1/3, 'Quicksand', function()
  4047. tk.dp(cval, function(z)
  4048. if z.Character and z.Character:FindFirstChild("Humanoid") then
  4049. local tor = tk.gt(z)
  4050. local hole = Instance.new("Part", z.Character)
  4051. hole.Anchored = true
  4052. hole.Name = "Hole"
  4053. hole.FormFactor = Enum.FormFactor.Custom
  4054. hole.Size = Vector3.new(7, 1, 7)
  4055. hole.CanCollide = false
  4056. hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
  4057. hole.BrickColor = BrickColor.new("Cool yellow")
  4058. hole.Material = Enum.Material.Sand
  4059. local hm = Instance.new("CylinderMesh", hole)
  4060. tor.Anchored = true
  4061. if z.Character:FindFirstChild("Humanoid") then
  4062. z.Character.Humanoid.Jump = true
  4063. end
  4064. for x,m in pairs(z.Character:GetChildren()) do
  4065. if m:IsA("BasePart") or m:IsA("MeshPart") then
  4066. m.CanCollide = false
  4067. end
  4068. end
  4069. for i=1,75 do
  4070. tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  4071. wait(0.06)
  4072. end
  4073. tor.CFrame=tor.CFrame*CFrame.new(0,
  4074. -500,0
  4075. )
  4076. z.Character.Humanoid.Health = 0
  4077. end
  4078. end)
  4079. end)
  4080. plrwin:drawButton(1/3, 'Insane', function()
  4081. tk.dp(cval, function(p)
  4082. if p.Character and tk.gt(p) then
  4083. for i,v in pairs(tk.gt(p):GetChildren()) do
  4084. if v:IsA("Motor6D") then
  4085. spawn(function()
  4086. while v do
  4087. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  4088. wait()
  4089. end
  4090. end)
  4091. end
  4092. end
  4093. end
  4094. end)
  4095. end)
  4096. plrwin:drawButton(1/3, 'Invisible', function()
  4097. tk.dp(cval, function(p)
  4098. tk.rco(p.Character, 'BasePart', 'Transparency', 1)
  4099. tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
  4100. end)
  4101. end)
  4102. plrwin:drawButton(1/3, 'Visible', function()
  4103. tk.dp(cval, function(p)
  4104. tk.rco(p.Character, 'BasePart', 'Transparency', 0)
  4105. tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
  4106. end)
  4107. end)
  4108. plrwin:drawButton(1/3, 'Bighead', function()
  4109. tk.dp(cval, function(z)
  4110. if z.Character then
  4111. if z.Character:FindFirstChild('Head') then
  4112. z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
  4113. end
  4114. end
  4115. end)
  4116. end)
  4117. plrwin:drawButton(1/3, 'Goldify', function()
  4118. tk.dp(cval, function(z)
  4119. if z.Character then
  4120. tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
  4121. tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
  4122. tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
  4123. tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
  4124. end
  4125. end)
  4126. end)
  4127. plrwin:drawButton(1/3, 'Neon', function()
  4128. tk.dp(cval, function(z)
  4129. if z.Character then
  4130. tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
  4131. tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
  4132. end
  4133. end)
  4134. end)
  4135. plrwin:drawButton(1/3, 'Shiny', function()
  4136. tk.dp(cval, function(z)
  4137. if z.Character then
  4138. tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
  4139. tk.rcm(z.Character, 'MeshPart')
  4140. end
  4141. end)
  4142. end)
  4143. plrwin:drawButton(1/3, 'Shrek', function()
  4144. tk.dp(cval, function(z)
  4145. if z.Character then
  4146. local pchar = z.Character
  4147. for i,v in pairs(pchar:GetChildren()) do
  4148. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  4149. v:Destroy()
  4150. end
  4151. end
  4152. for i,v in pairs(pchar.Head:GetChildren()) do
  4153. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  4154. v:Destroy()
  4155. end
  4156. end
  4157.  
  4158. local mesh = Instance.new("SpecialMesh", pchar.Head)
  4159. mesh.MeshType = "FileMesh"
  4160. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  4161. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  4162. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  4163.  
  4164. local Shirt = Instance.new("Shirt", z.Character)
  4165. local Pants = Instance.new("Pants", z.Character)
  4166.  
  4167. Shirt.ShirtTemplate = "rbxassetid://133078194"
  4168. Pants.PantsTemplate = "rbxassetid://133078204"
  4169. end
  4170. end)
  4171. end)
  4172. plrwin:drawButton(1/3, 'Duck', function()
  4173. tk.dp(cval, function(z)
  4174. if z.Character then
  4175. local pchar = z.Character
  4176. for i,v in pairs(pchar:GetChildren()) do
  4177. if v:IsA("Hat") or v:IsA("Accessory") then
  4178. v:Destroy()
  4179. end
  4180. end
  4181. local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
  4182. duck.MeshType = "FileMesh"
  4183. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  4184. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  4185. duck.Scale = Vector3.new(5, 5, 5)
  4186. tk.rco(z.Character, 'Instance', 'Transparency', 1)
  4187. z.Character.HumanoidRootPart.Transparency = 0
  4188. end
  4189. end)
  4190. end)
  4191. plrwin:drawButton(1/3, 'Spheres', function()
  4192. tk.dp(cval, function(z)
  4193. if z.Character then
  4194. tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
  4195. end
  4196. end)
  4197. end)
  4198. plrwin:drawButton(1/3, 'Big', function()
  4199. tk.dp(cval, function(z)
  4200. if z.Character then
  4201. topkek.tools.util.scalePlayer(5, z)
  4202. end
  4203. end)
  4204. end)
  4205. plrwin:drawButton(1/3, 'Small', function()
  4206. tk.dp(cval, function(z)
  4207. if z.Character then
  4208. topkek.tools.util.scalePlayer(5, z)
  4209. end
  4210. end)
  4211. end)
  4212. plrwin:drawButton(1/3, 'Giraffe', function()
  4213. tk.dp(cval, function(z)
  4214. if z.Character then
  4215. local char=z.Character
  4216. local h=char.Head
  4217. local tor=char:FindFirstChild("Torso")
  4218. if not tor then return end
  4219. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  4220. local fn=Instance.new("Part",char)
  4221. fn.Size=Vector3.new(1,5.5,1)
  4222. fn.Name="FakeNeck"
  4223. fn.Anchored=false
  4224. fn.CanCollide=false
  4225. if char:FindFirstChild("Body Colors") then
  4226. fn.BrickColor=char["Body Colors"].HeadColor
  4227. end
  4228. local cm=Instance.new("CylinderMesh",fn)
  4229. local we=Instance.new("Weld",h)
  4230. we.Part0=h
  4231. we.Part1=fn
  4232. we.C1=we.C1*CFrame.new(0,2.6,0)
  4233. end
  4234. end)
  4235. end)
  4236. plrwin:drawButton(1/3, 'Dab', function()
  4237. tk.dp(cval, function(z)
  4238. if z.Character and z.Character:FindFirstChild("Torso") then
  4239. local chr = z.Character
  4240. chr.Animate.Disabled = true
  4241. 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)
  4242. 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)
  4243. 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)
  4244. end
  4245. end)
  4246. end)
  4247. plrwin:drawButton(1/3, 'Force Follow', function()
  4248. tk.dp(cval, function(z)
  4249. game:GetService("RunService"):BindToRenderStep("_", 0, function()
  4250. z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
  4251. end)
  4252. end)
  4253. end)
  4254. plrwin:drawButton(1/3, 'Camlock', function()
  4255. tk.dp(cval, function(z)
  4256. z.CameraMode = "LockFirstPerson"
  4257. end)
  4258. end)
  4259. --// SERVER //--
  4260. local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
  4261. local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
  4262. detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
  4263. detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
  4264. detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
  4265. --detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
  4266. servwin:drawButton(1/2, 'Shutdown', function()
  4267. workspace.Gravity = 0/0
  4268. end)
  4269. servwin:drawButton(1/2, 'Clear', function()
  4270. for i,v in pairs(game:service'Workspace':GetChildren()) do
  4271. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  4272. v:Destroy()
  4273. end
  4274. end
  4275. end)
  4276. servwin:drawButton(1/2, 'Baseplate', function()
  4277. for X = -2500, 2500, 512 do
  4278. for Z = -2500, 2500, 512 do
  4279. local P = Instance.new("Part")
  4280. P.Anchored = true
  4281. P.Locked = true
  4282. P.Size = Vector3.new(512,3,512)
  4283. P.CFrame = CFrame.new(X,0,Z)
  4284. P.BrickColor = BrickColor.Green()
  4285. P.Parent = game:service'Workspace'
  4286. end
  4287. end
  4288. end)
  4289. servwin:drawButton(1/2, 'Reset', function()
  4290. for i,v in pairs(game:service'Workspace':GetChildren()) do
  4291. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  4292. v:Destroy()
  4293. end
  4294. end
  4295. for X = -2500, 2500, 512 do
  4296. for Z = -2500, 2500, 512 do
  4297. local P = Instance.new("Part")
  4298. P.Anchored = true
  4299. P.Locked = true
  4300. P.Size = Vector3.new(512,3,512)
  4301. P.CFrame = CFrame.new(X,0,Z)
  4302. P.BrickColor = BrickColor.Green()
  4303. P.Parent = game:service'Workspace'
  4304. end
  4305. end
  4306. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  4307. local a1 = Instance.new("Model", game:service'Workspace')
  4308. local a2 = Instance.new("Part", game:service'Workspace')
  4309. a2.CanCollide = true
  4310. a2.Anchored = true
  4311. a2.CFrame = CFrame.new(10000, 10000, 10000)
  4312. a2.Name = "Torso"
  4313. local a3 = Instance.new("Humanoid", a1)
  4314. a3.MaxHealth=100;a3.Health=100
  4315. v.Character = a1
  4316. a3.Health=0
  4317. end
  4318. end)
  4319. servwin:drawButton(1, 'Remove Sounds', function()
  4320. tk.rcm(game, 'Sound')
  4321. end)
  4322. servwin:addSpacing()
  4323. servwin:drawButton(1, 'Break All', function()
  4324. workspace:BreakJoints(workspace:GetChildren())
  4325. end)
  4326. local gravInp
  4327. servwin:drawButton(1/3, 'Gravity', function()
  4328. if not tonumber(gravInp.Text) then return end
  4329. workspace.Gravity = tonumber(gravInp.Text)
  4330. end)
  4331. gravInp = servwin:drawTextBox(2/3, '')
  4332. servwin:addSpacing()
  4333. servwin:drawButton(1, 'Reset Lighting', function()
  4334. local l = game:service'Lighting'
  4335. l.Ambient = Color3.new(0, 0, 0)
  4336. l.Brightness = 1
  4337. l.GlobalShadows = true
  4338. l.Outlines = true
  4339. l.FogEnd = 100000
  4340. l.FogStart = 0
  4341. l:SetMinutesAfterMidnight(12*60)
  4342. end)
  4343. local brightInp
  4344. servwin:drawButton(1/3, 'Brightness', function()
  4345. if not tonumber(brightInp.Text) then return end
  4346. game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
  4347. end)
  4348. brightInp = servwin:drawTextBox(2/3, '100')
  4349. local fogInp
  4350. servwin:drawButton(1/3, 'Fog', function()
  4351. if not tonumber(fogInp.Text) then return end
  4352. game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
  4353. end)
  4354. fogInp = servwin:drawTextBox(2/3, '0')
  4355. local timeInp
  4356. servwin:drawButton(1/3, 'Hour', function()
  4357. if not tonumber(timeInp.Text) then return end
  4358. game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
  4359. end)
  4360. timeInp = servwin:drawTextBox(2/3, '12')
  4361. servwin:addSpacing()
  4362. -- private server crap
  4363. local privateToggle
  4364. local privStatus = false
  4365. privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
  4366. if privStatus == false then
  4367. privStatus = true
  4368. privateToggle.Text = 'Private Server ON'
  4369. topkek.banmgr.makePrivate()
  4370. else
  4371. privateToggle.Text = 'Private Server OFF'
  4372. topkek.banmgr.unprivate()
  4373. end
  4374. end)
  4375. servwin:addSpacing()
  4376. servwin:drawText(1, 'Whitelist')
  4377. local plrAddInp
  4378. servwin:drawButton(1/3, 'Add', function()
  4379. topkek.banmgr.doWhitelist(plrAddInp.Text)
  4380. ReorderWL()
  4381. end)
  4382. plrAddInp = servwin:drawTextBox(2/3, '')
  4383. wlCont = servwin:drawScrollingContainer(100)
  4384. function ReorderWL()
  4385. local wl = topkek.banmgr.whitelist
  4386. for i,v in pairs(wlCont:GetChildren()) do
  4387. v:Destroy()
  4388. end
  4389. wlCont:setDrawY(3)
  4390. for i,v in pairs(wl) do
  4391. wlCont:drawText(2/3, v)
  4392. wlCont:drawButton(1/3, 'Remove', function()
  4393. topkek.banmgr.unwhitelist(v)
  4394. ReorderWL()
  4395. end)
  4396. end
  4397. end
  4398. ReorderWL()
  4399. --// LOCALPLAYER //--
  4400. local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
  4401. lpwin:drawButton(1, 'Reset Camera', function()
  4402. game.Workspace.CurrentCamera:remove()
  4403. wait(.1)
  4404. game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or
  4405. game.Workspace[topkek.lplr.Name].Humanoid
  4406. game.Workspace.CurrentCamera.CameraType = "Custom"
  4407. end)
  4408. lpwin:drawButton(1, 'Respawn', function()
  4409. local a1 = Instance.new("Model", game:service'Workspace')
  4410. local a2 = Instance.new("Part", game:service'Workspace')
  4411. a2.CanCollide = true
  4412. a2.Anchored = true
  4413. a2.CFrame = CFrame.new(10000, 10000, 10000)
  4414. a2.Name = "Torso"
  4415. local a3 = Instance.new("Humanoid", a1)
  4416. a3.MaxHealth=100;a3.Health=100
  4417. topkek.lplr.Character = a1
  4418. a3.Health=0
  4419. end)
  4420. lpwin:drawButton(1, 'Rejoin', function()
  4421. game:GetService('TeleportService'):Teleport(game.PlaceId)
  4422. end)
  4423. lpwin:addSpacing()
  4424. lpwin:drawButton(1/2, 'God', function()
  4425. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  4426. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  4427. topkek.lplr.Character.Humanoid.Health = math.huge
  4428. end
  4429. end)
  4430. lpwin:drawButton(1/2, 'Semigod', function()
  4431. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  4432. topkek.lplr.Character.Humanoid.MaxHealth = 9e9
  4433. topkek.lplr.Character.Humanoid.Health = 9e9
  4434. end
  4435. end)
  4436. Loopgod = false
  4437. lpwin:drawButton(1, 'Loopgod', function()
  4438. if Loopgod == false then
  4439. Loopgod = true
  4440. spawn(function()
  4441. repeat
  4442. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  4443. topkek.lplr.Character.Humanoid.Health = math.huge
  4444. wait()
  4445. until Loopgod == false
  4446. end)
  4447. else
  4448. Loopgod = false
  4449. end
  4450. end)
  4451. lpwin:addSpacing()
  4452. plrwin:addSpacing()
  4453. local Lev, Clip, Fly
  4454. lpwin:drawButton(1/2, 'Levitate', function()
  4455. if Lev == true then
  4456. Lev = false
  4457. return
  4458. end
  4459. Lev = true
  4460. repeat
  4461. topkek.lplr.Character.Humanoid:ChangeState(10)
  4462. wait(0)
  4463. until Lev == false
  4464. end)
  4465. lpwin:drawButton(1/2, 'Noclip', function()
  4466. if Clip == true then
  4467. Clip = false
  4468. return
  4469. end
  4470. Clip = true
  4471. game:GetService("RunService").Stepped:connect(function()
  4472. tk.gt(topkek.lplr).CanCollide = not Clip
  4473. topkek.lplr.Character.Head.CanCollide = not Clip
  4474. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  4475. if topkek.lplr.Character.UpperTorso then
  4476. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  4477. end
  4478. end)
  4479. topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
  4480. tk.gt(topkek.lplr).CanCollide = not Clip
  4481. topkek.lplr.Character.Head.CanCollide = not Clip
  4482. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  4483. if topkek.lplr.Character.UpperTorso then
  4484. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  4485. end
  4486. end)
  4487. end)
  4488. lpwin:drawButton(1/2, 'Fly', function()
  4489. if Fly == true then
  4490. Fly = false
  4491. return
  4492. end
  4493. Fly = true
  4494. local mouse=game.Players.LocalPlayer:GetMouse''
  4495. localplayer=game.Players.LocalPlayer
  4496. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  4497. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  4498. local speed=0
  4499. local keys={a=false,d=false,w=false,s=false}
  4500. local e1
  4501. local e2
  4502. local function start()
  4503. local pos = Instance.new("BodyPosition",torso)
  4504. local gyro = Instance.new("BodyGyro",torso)
  4505. pos.Name="EPIXPOS"
  4506. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  4507. pos.position = torso.Position
  4508. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  4509. gyro.cframe = torso.CFrame
  4510. repeat
  4511. wait()
  4512. localplayer.Character.Humanoid.PlatformStand=true
  4513. local new=gyro.cframe - gyro.cframe.p + pos.position
  4514. if not keys.w and not keys.s and not keys.a and not keys.d then
  4515. speed=1
  4516. end
  4517. if keys.w then
  4518. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  4519. speed=speed+0.01
  4520. end
  4521. if keys.s then
  4522. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  4523. speed=speed+0.01
  4524. end
  4525. if keys.d then
  4526. new = new * CFrame.new(speed,0,0)
  4527. speed=speed+0.01
  4528. end
  4529. if keys.a then
  4530. new = new * CFrame.new(-speed,0,0)
  4531. speed=speed+0.01
  4532. end
  4533. if speed>5 then
  4534. speed=5
  4535. end
  4536. pos.position=new.p
  4537. if keys.w then
  4538. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  4539. elseif keys.s then
  4540. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  4541. else
  4542. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  4543. end
  4544. until not Fly
  4545. if gyro then gyro:Destroy() end
  4546. if pos then pos:Destroy() end
  4547. flying=false
  4548. localplayer.Character.Humanoid.PlatformStand=false
  4549. speed=0
  4550. end
  4551. e1=mouse.KeyDown:connect(function(key)
  4552. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  4553. if key=="w" then
  4554. keys.w=true
  4555. elseif key=="s" then
  4556. keys.s=true
  4557. elseif key=="a" then
  4558. keys.a=true
  4559. elseif key=="d" then
  4560. keys.d=true
  4561. end
  4562. end)
  4563. e2=mouse.KeyUp:connect(function(key)
  4564. if key=="w" then
  4565. keys.w=false
  4566. elseif key=="s" then
  4567. keys.s=false
  4568. elseif key=="a" then
  4569. keys.a=false
  4570. elseif key=="d" then
  4571. keys.d=false
  4572. end
  4573. end)
  4574. start()
  4575. end)
  4576. lpwin:drawButton(1/2, 'Highjump', function()
  4577. local thrust = Instance.new("BodyVelocity")
  4578. game:GetService('UserInputService').InputBegan:connect(function(i, b)
  4579. if i.KeyCode == Enum.KeyCode.Space then
  4580. print("Got jump")
  4581. coroutine.resume(coroutine.create(function()
  4582. thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  4583. thrust.velocity = Vector3.new(0,50,0)
  4584. thrust.maxForce = Vector3.new(0,4e+050,0)
  4585. wait(0.2)
  4586. thrust.Parent = nil
  4587. end))
  4588. end
  4589. end)
  4590. end)
  4591. lpwin:addSpacing()
  4592. local apprInp
  4593. lpwin:drawButton(1/3, 'Appearance', function()
  4594. local id = 0
  4595. if tonumber(apprInp.Text) then
  4596. id = tonumber(apprInp.Text)
  4597. else
  4598. id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
  4599. end
  4600. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  4601. topkek.lplr.Character.Humanoid.Health = 0
  4602. end
  4603. topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  4604. end)
  4605. apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
  4606. local teamInp
  4607. lpwin:drawButton(1/3, 'Team', function()
  4608. topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
  4609. end)
  4610. teamInp = lpwin:drawTextBox(2/3, 'Bright red')
  4611. lpwin:drawButton(1/2, 'Naked', function()
  4612. topkek.lplr:ClearCharacterAppearance()
  4613. end)
  4614. lpwin:drawButton(1/2, 'Neutral', function()
  4615. topkek.lplr.Neutral = true
  4616. end)
  4617. lpwin:addSpacing()
  4618. lpwin:drawButton(1/2, 'Orb', function()
  4619. game.Players.LocalPlayer.Character = nil
  4620. --lp:Destroy()
  4621. local cam = game.Workspace.CurrentCamera
  4622. local m = Instance.new("Model", game.Workspace)
  4623. m.Name = game.Players.LocalPlayer.Name
  4624. local hum = Instance.new("Humanoid", m)
  4625. hum.Health = 0
  4626. hum.MaxHealth = 0
  4627. local orb = Instance.new("Part", m)
  4628. orb.Size = Vector3.new(1, 1, 1)
  4629. orb.Shape = "Ball"
  4630. orb.Name = "Head"
  4631. orb.Anchored = true
  4632. orb.CanCollide = true
  4633. orb.BottomSurface = Enum.SurfaceType.Smooth
  4634. orb.TopSurface = Enum.SurfaceType.Smooth
  4635. orb.Transparency = 0
  4636. spawn(function()
  4637. while true do
  4638. wait(0.1)
  4639. if orb then
  4640. orb.BrickColor = BrickColor.Random()
  4641. else break end
  4642. end
  4643. end)
  4644. cam.CameraSubject = orb
  4645. cam.CameraType = Enum.CameraType.Fixed
  4646. game:GetService("RunService").RenderStepped:connect(function()
  4647. orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  4648. end)
  4649. game.Players.LocalPlayer.Chatted:connect(function(a)
  4650. game:GetService("Chat"):Chat(orb, a)
  4651. end)
  4652. end)
  4653. lpwin:drawButton(1/2, 'Freecam', function()
  4654. local cam = game.Workspace.CurrentCamera
  4655. cam.CameraType = "Fixed"
  4656. cam.CameraSubject = nil
  4657. topkek.lplr.Character = nil
  4658. end)
  4659. lpwin:drawButton(1/2, 'NoGrav', function()
  4660. if topkek.lplr.Character then
  4661. for x,m in pairs(topkek.lplr.Character:GetChildren()) do
  4662. if m:IsA("BasePart") then
  4663. local bf = Instance.new("BodyForce", m)
  4664. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  4665. end
  4666. if m:IsA("Hat") or m:IsA("Accessory") then
  4667. if m:findFirstChild("Handle") then
  4668. local bf = Instance.new("BodyForce", m.Handle)
  4669. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  4670. end
  4671. end
  4672. end
  4673. end
  4674. end)
  4675. lpwin:drawButton(1/2, 'Trowel', function()
  4676. topkek.tools.util.trowel()
  4677. end)
  4678. lpwin:addSpacing()
  4679. lpwin:drawButton(1/2, 'Fedora', function()
  4680. local hats={
  4681. 98346834,
  4682. 215751161,
  4683. 119916949,
  4684. 72082328,
  4685. 147180077,
  4686. 100929604,
  4687. 63043890,
  4688. 1285307,
  4689. 1029025,
  4690. 334663683,
  4691. 259423244
  4692. }
  4693. game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
  4694. end)
  4695. lpwin:drawButton(1/2, 'Rainbow Name', function()
  4696. topkek.lplr.Neutral = false
  4697. repeat
  4698. wait()
  4699. topkek.lplr.TeamColor = BrickColor.Random()
  4700. until not topkek.lplr.Character.Humanoid
  4701. end)
  4702. local tagInp
  4703. lpwin:drawButton(1/3, 'Tag', function()
  4704. local len = 10
  4705. local bb = Instance.new("BillboardGui")
  4706. bb.Parent = topkek.lplr.Character.Head
  4707. bb.Adornee = topkek.lplr.Character.Head
  4708. bb.AlwaysOnTop = true
  4709. bb.Enabled = true
  4710. bb.Size = UDim2.new(len, 0, 1.5, 0)
  4711. bb.Name = "tag"
  4712. bb.StudsOffset = Vector3.new(0, 3, 0)
  4713. --local fr = Instance.new("Frame")
  4714. --fr.Parent = bb
  4715. --fr.Size = UDim2.new(1, 0, 1, 0)
  4716. --fr.Style = Enum.FrameStyle.RobloxRound
  4717. local tl = Instance.new("TextLabel")
  4718. tl.Parent = bb
  4719. tl.Font = Enum.Font.Code
  4720. tl.BackgroundTransparency = 1
  4721. tl.TextScaled = true
  4722. tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  4723. tl.Size = UDim2.new(1, 0, 1, 0)
  4724. tl.Text = tagInp.Text
  4725. tl.Name = "trutag"
  4726. tl.Visible = true
  4727. tl.ZIndex = 2
  4728. end)
  4729. tagInp = lpwin:drawTextBox(2/3, '')
  4730. --// SCRIPTS //--
  4731. --local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
  4732. --local search = scriptwin:drawTextBox(1,'')
  4733. --local origy = scriptwin:getDrawY()
  4734. --scriptwin:addSpacing()
  4735. --scriptwin:addSpacing()
  4736. --local scripts = game:GetObjects("rbxassetid://376553985")[1]
  4737. --local container = {}
  4738. --function MakeList(condition)
  4739. -- for i,v in pairs(scriptwin:GetChildren()) do
  4740. -- if v.Name == "Script" then
  4741. -- v:Destroy()
  4742. -- end
  4743. -- end
  4744. --scriptwin:setDrawY(origy)
  4745. --for i, v in pairs(scripts:GetChildren()) do
  4746. -- if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
  4747. -- local scr = scriptwin:drawButton(1, v.Name, function()
  4748. -- spawn(function() loadstring(v.Source)() end)
  4749. -- end, 25)
  4750. -- scr.Name = 'Script'
  4751. -- end
  4752. -- end
  4753. --end
  4754. --game:GetService("UserInputService").InputChanged:connect(function(inp)
  4755. -- if inp.UserInputType == Enum.UserInputType.TextInput then
  4756. -- if search:IsFocused() then
  4757. -- MakeList(search.Text)
  4758. -- end
  4759. --end
  4760. --end)
  4761. --MakeList('')
  4762. --// DESTRUCTION // --
  4763. local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
  4764. local decals, seldec = destwin:drawScrollingContainer(100)
  4765. seldec = destwin:drawText(1, 'Selected Decal: None')
  4766. cursel = nil
  4767. local decs = {
  4768. {'Rain', '574772793'},
  4769. {'Robbie', '574773630'},
  4770. {'Pepe', '244905904'},
  4771. {'Troll Face', '48308661'},
  4772. {'Jeff', '109129888'},
  4773. {'Shrek', '170539018'},
  4774. {'Doge', '133720697'},
  4775. {'Dat Boi', '409578848'},
  4776. }
  4777. for _, v in pairs(decs) do
  4778. local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
  4779. topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  4780. end
  4781. destwin:drawButton(1, 'Spam Decal', function()
  4782. if cursel ~= nil then
  4783. topkek.tools.util.recurseDecal(tonumber(cursel))
  4784. end
  4785. end)
  4786. destwin:drawButton(1, 'Spam Particles', function()
  4787. if cursel ~= nil then
  4788. topkek.tools.util.recurseParticles(tonumber(cursel))
  4789. end
  4790. end)
  4791. destwin:drawButton(1, 'Spam Both', function()
  4792. if cursel ~= nil then
  4793. topkek.tools.util.recurseUltimate(tonumber(cursel))
  4794. end
  4795. end)
  4796. destwin:drawButton(1, 'Rollback', function()
  4797. tk.rcm(workspace, 'Decal')
  4798. tk.rcm(workspace, 'ParticleEmitter')
  4799. end)
  4800. destwin:addSpacing()
  4801. destwin:drawButton(1, '666', function()
  4802. for i,v in next,workspace:children''do
  4803. if(v:IsA'BasePart')then
  4804. me=v;
  4805. bbg=Instance.new('BillboardGui',me);
  4806. bbg.Name='stuf';
  4807. bbg.Adornee=me;
  4808. bbg.Size=UDim2.new(2.5,0,2.5,0)
  4809. --bbg.StudsOffset=Vector3.new(0,2,0)
  4810. tlb=Instance.new'TextLabel';
  4811. tlb.Text='666 666 666 666 666 666';
  4812. tlb.Font='SourceSansBold';
  4813. tlb.FontSize='Size48';
  4814. tlb.TextColor3=Color3.new(1,0,0);
  4815. tlb.Size=UDim2.new(1.25,0,1.25,0);
  4816. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  4817. tlb.BackgroundTransparency=1;
  4818. tlb.Parent=bbg;
  4819. end;end;
  4820. --coroutine.wrap(function()while wait''do
  4821. s=Instance.new'Sound';
  4822. s.Parent=workspace;
  4823. s.SoundId='rbxassetid://152840862';
  4824. s.Pitch=1;
  4825. s.Volume=1;
  4826. s.Looped=true;
  4827. s:play();
  4828. --end;end)();
  4829. function xds(dd)
  4830. for i,v in next,dd:children''do
  4831. if(v:IsA'BasePart')then
  4832. v.BrickColor=BrickColor.new'Really black';
  4833. v.TopSurface='Smooth';
  4834. v.BottomSurface='Smooth';
  4835. s=Instance.new('SelectionBox',v);
  4836. s.Adornee=v;
  4837. s.Color=BrickColor.new'Really red';
  4838. a=Instance.new('PointLight',v);
  4839. a.Color=Color3.new(1,0,0);
  4840. a.Range=15;
  4841. a.Brightness=5;
  4842. f=Instance.new('Fire',v);
  4843. f.Size=19;
  4844. f.Heat=22;
  4845. end;
  4846. game.Lighting.TimeOfDay=0;
  4847. game.Lighting.Brightness=0;
  4848. game.Lighting.ShadowColor=Color3.new(0,0,0);
  4849. game.Lighting.Ambient=Color3.new(1,0,0);
  4850. game.Lighting.FogEnd=200;
  4851. game.Lighting.FogColor=Color3.new(0,0,0);
  4852. local dec = 'http://www.roblox.com/asset/?id=19399245';
  4853. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  4854. --coroutine.wrap(function()
  4855. --for _,__ in pairs(fac) do
  4856. --local ddec = Instance.new("Decal", v)
  4857. --ddec.Face = __
  4858. --ddec.Texture = dec
  4859. --end end)()
  4860. if #(v:GetChildren())>0 then
  4861. xds(v)
  4862. end
  4863. end
  4864. end
  4865. xds(game.Workspace)
  4866. end)
  4867. destwin:drawButton(1, 'Troll', function()
  4868. topkek.tools.util.recurseUltimate('48308661')
  4869. tk.play(154664102)
  4870. end)
  4871. destwin:addSpacing()
  4872. destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
  4873. local materiallist =
  4874. {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  4875. Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  4876. Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  4877. Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  4878. Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  4879. local function r(where)
  4880. for _,v in pairs (where:GetChildren()) do
  4881. if v:IsA("BasePart") then
  4882. spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
  4883. end)
  4884. destwin:drawButton(1/2,'Materialize',function()
  4885. local function r(where)
  4886. for _,v in pairs (where:GetChildren()) do
  4887. if v:IsA("BasePart") then
  4888. spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
  4889. end)
  4890. destwin:drawButton(1/2,'Meshify',function()
  4891. local enums={
  4892. Enum.MeshType.Head;
  4893. Enum.MeshType.Torso;
  4894. Enum.MeshType.Wedge;
  4895. Enum.MeshType.Brick;
  4896. Enum.MeshType.Sphere;
  4897. Enum.MeshType.Cylinder;
  4898. }
  4899. tk.rcf('BasePart',function(o)
  4900. local mesh = Instance.new('SpecialMesh', o)
  4901. mesh.MeshType = enums[math.random(1,#enums)]
  4902. end)
  4903. end)
  4904. destwin:drawButton(1/2,'Loop-Meshify',function()
  4905. coroutine.wrap(function()
  4906. while true do
  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. if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  4917. local mesh = Instance.new('SpecialMesh', o)
  4918. mesh.MeshType = enums[math.random(1,#enums)]
  4919. end)
  4920. wait(0.5)
  4921. end
  4922. end)()
  4923. end)
  4924. destwin:addSpacing()
  4925. destwin:drawButton(1, 'Rotations', function()
  4926. tk.rcf('BasePart', function(o)
  4927. o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  4928. end)
  4929. end)
  4930. destwin:drawButton(1, 'Collisions', function()
  4931. tk.rcf('BasePart', function(o)
  4932. o.CanCollide = false
  4933. end)
  4934. end)
  4935. destwin:drawButton(1, 'Velocity', function()
  4936. tk.rcf('BasePart', function(o)
  4937. o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  4938. end)
  4939. end)
  4940. destwin:drawButton(1, 'Invisiblity', function()
  4941. tk.rcf('BasePart', function(o)
  4942. o.Transparency = 1
  4943. end)
  4944. end)
  4945. destwin:drawButton(1, 'BreakJoints', function()
  4946. tk.rcf('Model', function(o)
  4947. o:BreakJoints()
  4948. end)
  4949. end)
  4950. destwin:drawButton(1, 'Forces', function()
  4951. tk.rcf('BasePart', function(o)
  4952. local bf = Instance.new("BodyForce", o)
  4953. bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
  4954. end)
  4955. end)
  4956. destwin:drawButton(1, 'Brightness', function()
  4957. tk.rcf('BasePart', function(o)
  4958. local light = Instance.new("SpotLight", o)
  4959. light.Brightness = 9e9
  4960. light.Range = 60
  4961. end)
  4962. end)
  4963. --// CATALOG //--
  4964. local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
  4965. local page, currentkeyword = 1, ""
  4966. local searchbar, search, makeCatalog, res = 0, 0, 0, {}
  4967. local searchbar = catwin:drawTextBox(2/3,'')
  4968. local search = catwin:drawButton(1/3, 'Search', function()
  4969. page = 1
  4970. currentkeyword = searchbar.Text
  4971. makeCatalog(currentkeyword, page)
  4972. end)
  4973. local previous = catwin:drawButton(1/2, 'Previous Page', function()
  4974. if page > 1 then
  4975. page = page - 1
  4976. makeCatalog(currentkeyword, page)
  4977. end
  4978. end)
  4979. local previous = catwin:drawButton(1/2, 'Next Page', function()
  4980. if page >= 1 then
  4981. page = page + 1
  4982. makeCatalog(currentkeyword, page)
  4983. end
  4984. end)
  4985. local catalog_start = catwin:getDrawY()
  4986. function split(str,divider)
  4987. local found = ""
  4988. local results = {}
  4989. for i=1,string.len(str) do
  4990. if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
  4991. table.insert(results, found)
  4992. found = ""
  4993. else
  4994. found = found..string.sub(str,i,i)
  4995. end
  4996. end
  4997. table.insert(results, found)
  4998. return results
  4999. end
  5000. function GetName(nm)
  5001. local spl = split(nm," ")
  5002. local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
  5003. return (a.." "..b.." "..c.." "..d.." "..e)
  5004. end
  5005. --function makeCatalog(keyword, page)
  5006. --local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
  5007. --local results = game:HttpGet(endpoint, true)
  5008. --local parse = game:GetService('HttpService'):JSONDecode(results)
  5009. --for i, v in pairs(res) do
  5010. --v:Destroy()
  5011. --end
  5012. --catwin:setDrawY(catalog_start)
  5013. --catwin:addSpacing()
  5014. --for i, v in pairs(parse) do
  5015. --local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
  5016. --local below = topkek.tools.util.Object("TextButton", {
  5017. -- Parent = img;
  5018. -- BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
  5019. -- BorderSizePixel = 0;
  5020. -- Position = UDim2.new(0, -45, 1, 5);
  5021. -- Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
  5022. -- Font = 'SourceSans';
  5023. -- FontSize = 'Size14';
  5024. -- Text = GetName(v['Name']);
  5025. -- TextSize = 14;
  5026. -- TextColor3 = color3(199, 199, 199);
  5027. -- TextStrokeTransparency = 0.5;
  5028. -- ClipsDescendants = true;
  5029. --})
  5030. -- below.MouseButton1Down:connect(function()
  5031. -- local Model = Instance.new("Model", workspace)
  5032. -- game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
  5033. -- Model:MakeJoints()
  5034. -- Model:MoveTo(topkek.lplr.Character.Head.Position)
  5035. --end)
  5036. --img.Size=UDim2.new(0,50,0,50)
  5037. --img.Position=img.Position+UDim2.new(0,45,0,0)
  5038. -- if (i%2)==0 then
  5039. -- catwin:setDrawY(catwin:getDrawY() + 25)
  5040. --end
  5041. -- if (i==10) then
  5042. -- catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
  5043. -- end
  5044. -- table.insert(res,img)
  5045. --end
  5046. --end
  5047. --makeCatalog("", 1)
  5048. --// CMDS //--
  5049. cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
  5050. count = 0
  5051. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  5052. cmdwin:drawText(1, tostring(count) .. " Commands")
  5053. cmdwin:drawText(1, 'Chat Prefix: /')
  5054. local cmdlist = cmdwin:drawScrollingContainer(260)
  5055. for i, v in pairs(cmd.commands.fmtstore) do
  5056. local xfmt = {}
  5057. local str = " ;" .. i .. " "
  5058. for form in v:gmatch("[^%%]+") do
  5059. if form ~= 'cmd' then
  5060. if form == 'inf' then form = 'str' end
  5061. str = str .. "{" .. form .. "} "
  5062. end
  5063. end
  5064. cmdlist:drawText(1, str)
  5065. end
  5066. --// MUSIC //--
  5067. musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
  5068. Sounds = {
  5069. {"caramell", 2303479};
  5070. {"epic", 27697743};
  5071. {"rick", 2027611};
  5072. {"halo", 1034065};
  5073. {"pokemon", 1372261};
  5074. {"cursed", 1372257};
  5075. {"extreme", 11420933};
  5076. {"awaken", 27697277};
  5077. {"alone", 27697392};
  5078. {"mario", 1280470};
  5079. {"choir", 1372258};
  5080. {"chrono" ,1280463};
  5081. {"dotr", 11420922};
  5082. {"entertain", 27697267};
  5083. {"fantasy", 1280473};
  5084. {"final", 787};
  5085. {"organ", 11231513};
  5086. {"tunnel", 9650822}
  5087. }
  5088.  
  5089. local cursel
  5090. local xcursel = 0
  5091. scr = musicwin:drawScrollingContainer(230)
  5092. for i, v in pairs(Sounds) do
  5093. scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
  5094. cursel.Text = "Currently Selected - " .. v[1]
  5095. xcursel = v[2]
  5096. end)
  5097. end
  5098.  
  5099. cursel = musicwin:drawText(1, "Currently Selected - None")
  5100. local setInp
  5101. musicwin:drawButton(1/3, "Set", function()
  5102. if tonumber(setInp.Text) then
  5103. cursel.Text = "Currently Selected - " .. setInp.Text
  5104. xcursel = tonumber(setInp.Text)
  5105. end
  5106. end)
  5107. setInp = musicwin:drawTextBox(2/3, '')
  5108. musicwin:drawButton(1, "Play", function()
  5109. tk.rcm(game, 'Sound')
  5110. tk.play(xcursel)
  5111. end)
  5112. musicwin:drawButton(1, "Stop", function()
  5113. tk.rcm(game, 'Sound')
  5114. end)
  5115. --// FACES //--
  5116. facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
  5117. local faces = {
  5118. {name='Rofl',id=47595647},
  5119. {name='Sparta',id=74142203},
  5120. {name='UJelly',id=48989071},
  5121. {name='Troll',id=45120559},
  5122. {name='Horse',id=62079221},
  5123. {name='Angry',id=48258623},
  5124. {name='Okey',id=62830600},
  5125. {name='Yeaw',id=53646377},
  5126. {name='Here',id=62677045},
  5127. {name='Har',id=48260066},
  5128. {name='Baby Sun',id=47596170},
  5129. {name='LOL',id=48293007},
  5130. {name='Sad',id=53645378},
  5131. {name='Joseph Stalin',id=48290678},
  5132. {name='Doge',id=130742396},
  5133. {name='Forever Alone',id=156886272},
  5134. {name='RickRoll',id=5104631},
  5135. {name='Jim Carrey',id=74885351},
  5136. {name='Meh IRL',id=237553381}
  5137. }
  5138. local cursel, xcursel = nil, 0
  5139. faclist = facwin:drawScrollingContainer(260)
  5140. for i,v in pairs(faces) do
  5141. local btn = faclist:drawButton(1, v['name'], function()
  5142. xcursel = v['id']
  5143. cursel.Text = 'Currently Selected: ' .. v['name']
  5144. end)
  5145. topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
  5146. end
  5147. cursel = facwin:drawText(1, 'Currently Selected: None')
  5148. facwin:drawButton(1, 'Wear', function()
  5149. if not (xcursel == 0) then
  5150. if topkek.lplr.Character then
  5151. tk.rcm(topkek.lplr.Character, 'Accessory')
  5152. tk.rcm(topkek.lplr.Character, 'Hat')
  5153. topkek.tools.util.applyFace(xcursel)
  5154. end
  5155. end
  5156. end)
  5157. --// SETTINGS // --
  5158. setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
  5159. setwin:drawText(1, 'Patch: ' .. topkek.patch)
  5160. setwin:drawText(1, 'Devnote: foh skids')
  5161. setwin:drawText(1, [[
  5162. === CREDITS ===
  5163.  
  5164. Variable - retard that created Stella
  5165. KrystalTeam - provided critical design tips & advice
  5166. Circumvention - lol joey salads
  5167.  
  5168. Thanks to everyone that supported T0PK3K 4.0!
  5169.  
  5170. ]], 260)
  5171. --// BANLIST //--
  5172. banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
  5173. local plrBanInp
  5174. banwin:drawButton(1/3, 'Add', function()
  5175. topkek.settings.get()
  5176. table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
  5177. topkek.settings.write()
  5178. UpdateBanlist()
  5179. end)
  5180. plrBanInp = banwin:drawTextBox(2/3, '')
  5181. banCont = banwin:drawScrollingContainer(288)
  5182. function UpdateBanlist(x)
  5183. topkek.settings.get()
  5184. local wl = x or topkek.settingsTable['Bans']
  5185. for i,v in pairs(banCont:GetChildren()) do
  5186. v:Destroy()
  5187. end
  5188. banCont:setDrawY(3)
  5189. for i,v in pairs(wl) do
  5190. banCont:drawText(2/3, v)
  5191. banCont:drawButton(1/3, 'Remove', function()
  5192. for x, m in pairs(wl) do
  5193. if m == v then
  5194. table.remove(topkek.settingsTable['Bans'], x)
  5195. topkek.settings.write()
  5196. UpdateBanlist()
  5197. topkek.banmgr.bans = topkek.settingsTable['Bans']
  5198. end
  5199. end
  5200. end)
  5201. end
  5202. end
  5203. UpdateBanlist()
  5204. --// HATS //--
  5205. hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
  5206. local hats={
  5207. {name='Dominus Empyreus',id=21070012},
  5208. {name='Dominus Vespertilio',id=96103379},
  5209. {name='Dominus Infernus',id=31101391},
  5210. {name='Dominus Rex',id=250395631},
  5211. {name='Dominus Frigidus',id=48545806},
  5212. {name='Dominus Astra',id=162067148},
  5213. {name='Dominus Aureus',id=138932314},
  5214. {name='DIY Dominus Empyreus',id=151789690},
  5215. {name='Dominus Messor',id=64444871},
  5216. {name='Demon Skeleton Wings',id=133554007},
  5217. {name='Gilded Wings of Glory',id=250405532},
  5218. {name='Majestic Ice Wings',id=188702967},
  5219. {name='Black Wings',id=215719598},
  5220. {name='Clockworks Shades',id=11748356},
  5221. {name='Faerie Wings',id=19399896},
  5222. {name='Orinthian Wings',id=223751505},
  5223. {name='Clockworks Headphones',id=1235488},
  5224. {name='Perfectly Legitimate Business Hat',id=19027209},
  5225. {name='Sparkling Angel Wings',id=192557913},
  5226. {name='Commander Crows Wings',id=133553855},
  5227. {name='Sunfire Wings',id=158068470},
  5228. {name='Royal Faerie Wings',id=119916756},
  5229. {name='Wings of Freedom',id=164174048},
  5230. {name='Firebrand Wings',id=128160626},
  5231. {name='Frozen Wings',id=136758613},
  5232. {name='Webbed Wings',id=120507280},
  5233. {name='Gargoyle Wings',id=120507201},
  5234. {name='Bat Wings',id=19399858},
  5235. {name='Wings of Fire',id=136758532},
  5236. {name='Headrow',id=1082935},
  5237. {name='Rubber Duckie',id=9254254},
  5238. {name='Valkyrie Helm',id=1365767},
  5239. {name='Hockey Mask',id=5161514}}
  5240. local searchi = hatwin:drawButton(1, '', function()end)
  5241. dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
  5242. function fixPlayerDropi()
  5243. local t = {'All'}
  5244. for i, v in pairs(game.Players:GetPlayers()) do
  5245. table.insert(t, v.Name)
  5246. end
  5247. dropx.SetTable(t)
  5248. end
  5249. game.Players.PlayerAdded:connect(function()
  5250. fixPlayerDropi()
  5251. end)
  5252. game.Players.PlayerRemoving:connect(function()
  5253. fixPlayerDropi()
  5254. end)
  5255. local eval = 'All'
  5256. dropx.Changed(function(p) eval = p end)
  5257. fixPlayerDrop()
  5258.  
  5259. local hatInp
  5260. hatlist = hatwin:drawScrollingContainer(260)
  5261. for i,v in pairs(hats) do
  5262. hatlist:drawButton(1, v['name'], function()
  5263. hatInp.Text = tostring(v['id'])
  5264. end)
  5265. end
  5266. hatwin:drawButton(1/3, 'Wear', function()
  5267. local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
  5268. tk.dp(eval, function(x)
  5269. if x.Character then
  5270. hat:Clone().Parent = x.Character
  5271. end
  5272. end)
  5273. end)
  5274.  
  5275.  
  5276. hatInp = hatwin:drawTextBox(2/3, '')
  5277. topkek.tools.animator.initialAnimation()
  5278. topkek.banmgr.init()
  5279.  
  5280. _G.Rc7Notification("Leaked by Scratchy","-- Epic Script Leaked By Scratchy!
  5281. -- Subscribe for more EPIC scripts! https://www.youtube.com/channel/UC-fFrczkFJuwHJguR6SXx5Q?sub_confirmation=1
  5282.  
  5283.  
  5284. _G.Rc7Notification = function(a,b,c)
  5285. game:GetService("CoreGui"):WaitForChild("RobloxGui").SendNotification:Fire(a, b, "rbxassetid://776252057", c)
  5286. end
  5287. local topkek = {}
  5288. topkek.patch = '1.0.5a'
  5289. topkek.data = {}
  5290. topkek.commandbase = {}
  5291. topkek.navigation = {}
  5292. topkek.banmgr = {}
  5293. topkek.lplr = game:GetService('Players').LocalPlayer
  5294.  
  5295. topkek.tools = {}
  5296. topkek.tools.gui = {}
  5297. topkek.tools.util = {}
  5298. topkek.tools.animator = {}
  5299.  
  5300. topkek.windows = {}
  5301. topkek.windows.lplr = {}
  5302. topkek.windows.server = {}
  5303. topkek.windows.players = {}
  5304. topkek.windows.destruction = {}
  5305. topkek.windows.scripts = {}
  5306. topkek.windows.misc = {}
  5307.  
  5308. topkek.misc = {}
  5309.  
  5310. local NewGuiPart1 = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  5311. NewGuiPart1.Name = "4.0"
  5312. -------
  5313. local NewGuiPart2 = Instance.new("Frame")
  5314. NewGuiPart2.Active = true
  5315. NewGuiPart2.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  5316. NewGuiPart2.BorderSizePixel = 0
  5317. NewGuiPart2.Name = "Main"
  5318. NewGuiPart2.Position = UDim2.new(0, 300, 0, 50)
  5319. NewGuiPart2.Selectable = true
  5320. NewGuiPart2.Size = UDim2.new(0, 470, 0, 395)
  5321. NewGuiPart2.Visible = false
  5322. NewGuiPart2.ClipsDescendants = true
  5323. NewGuiPart2.Draggable = true
  5324. NewGuiPart2.Parent = NewGuiPart1
  5325. -------
  5326. local NewGuiPart3 = Instance.new("Frame")
  5327. NewGuiPart3.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  5328. NewGuiPart3.BorderSizePixel = 0
  5329. NewGuiPart3.Name = "Topbar"
  5330. NewGuiPart3.Position = UDim2.new(0, 150, 0, 0)
  5331. NewGuiPart3.Size = UDim2.new(0, 320, 0, 30)
  5332. NewGuiPart3.Parent = NewGuiPart2
  5333. -------
  5334. local NewGuiPart4 = Instance.new("TextLabel")
  5335. NewGuiPart4.BackgroundTransparency = 1
  5336. NewGuiPart4.Name = "PlayerName"
  5337. NewGuiPart4.Position = UDim2.new(0, -140, 0, 0)
  5338. NewGuiPart4.Size = UDim2.new(0.5, 0, 1, 0)
  5339. NewGuiPart4.Visible = false
  5340. NewGuiPart4.ZIndex = 4
  5341. NewGuiPart4.Font = Enum.Font.Arcade
  5342. NewGuiPart4.FontSize = Enum.FontSize.Size18
  5343. NewGuiPart4.Text = "Player1"
  5344. NewGuiPart4.TextColor3 = Color3.new(1, 1, 1)
  5345. NewGuiPart4.TextXAlignment = Enum.TextXAlignment.Left
  5346. NewGuiPart4.Parent = NewGuiPart3
  5347. -------
  5348. local NewGuiPart5 = Instance.new("Frame")
  5349. NewGuiPart5.BackgroundTransparency = 1
  5350. NewGuiPart5.Name = "Controllers"
  5351. NewGuiPart5.Position = UDim2.new(1, -128, 0, 3)
  5352. NewGuiPart5.Size = UDim2.new(0, 125, 1, -6)
  5353. NewGuiPart5.Parent = NewGuiPart3
  5354. -------
  5355. local NewGuiPart6 = Instance.new("TextButton")
  5356. NewGuiPart6.Active = true
  5357. NewGuiPart6.AutoButtonColor = false
  5358. NewGuiPart6.BackgroundColor3 = Color3.new(0.552941, 0.105882, 0.105882)
  5359. NewGuiPart6.BorderSizePixel = 0
  5360. NewGuiPart6.Name = "Exit"
  5361. NewGuiPart6.Position = UDim2.new(1, -24, 0, 0)
  5362. NewGuiPart6.Selectable = true
  5363. NewGuiPart6.Size = UDim2.new(0, 24, 0, 24)
  5364. NewGuiPart6.Style = Enum.ButtonStyle.Custom
  5365. NewGuiPart6.FontSize = Enum.FontSize.Size14
  5366. NewGuiPart6.Text = ""
  5367. NewGuiPart6.Parent = NewGuiPart5
  5368. -------
  5369. local NewGuiPart7 = Instance.new("TextButton")
  5370. NewGuiPart7.Active = true
  5371. NewGuiPart7.AutoButtonColor = false
  5372. NewGuiPart7.BackgroundColor3 = Color3.new(0.780392, 0.34902, 0)
  5373. NewGuiPart7.BorderSizePixel = 0
  5374. NewGuiPart7.Name = "Hide"
  5375. NewGuiPart7.Position = UDim2.new(1, -50, 0, 0)
  5376. NewGuiPart7.Selectable = true
  5377. NewGuiPart7.Size = UDim2.new(0, 24, 0, 24)
  5378. NewGuiPart7.Style = Enum.ButtonStyle.Custom
  5379. NewGuiPart7.FontSize = Enum.FontSize.Size14
  5380. NewGuiPart7.Text = ""
  5381. NewGuiPart7.Parent = NewGuiPart5
  5382. -------
  5383. local NewGuiPart8 = Instance.new("TextLabel")
  5384. NewGuiPart8.BackgroundTransparency = 1
  5385. NewGuiPart8.Name = "IsFE"
  5386. NewGuiPart8.Size = UDim2.new(0, 65, 1, 0)
  5387. NewGuiPart8.FontSize = Enum.FontSize.Size18
  5388. NewGuiPart8.Text = "Not FE"
  5389. NewGuiPart8.TextColor3 = Color3.new(0.333333, 0.666667, 0)
  5390. NewGuiPart8.TextStrokeTransparency = 0.69999998807907
  5391. NewGuiPart8.TextXAlignment = Enum.TextXAlignment.Right
  5392. NewGuiPart8.Parent = NewGuiPart5
  5393. -------
  5394. local NewGuiPart9 = Instance.new("TextLabel")
  5395. NewGuiPart9.BackgroundTransparency = 1
  5396. NewGuiPart9.Name = "Stella"
  5397. NewGuiPart9.Position = UDim2.new(0, -150, 0, 0)
  5398. NewGuiPart9.Size = UDim2.new(1, 150, 1, 0)
  5399. NewGuiPart9.ZIndex = 2
  5400. NewGuiPart9.Font = Enum.Font.Arcade
  5401. NewGuiPart9.FontSize = Enum.FontSize.Size18
  5402. NewGuiPart9.Text = "[Stella]"
  5403. NewGuiPart9.TextColor3 = Color3.new(0.054902, 0.0745098, 0.498039)
  5404. NewGuiPart9.Parent = NewGuiPart3
  5405. -------
  5406. local NewGuiPart10 = Instance.new("Frame")
  5407. NewGuiPart10.BackgroundTransparency = 1
  5408. NewGuiPart10.Name = "Holder"
  5409. NewGuiPart10.Position = UDim2.new(0, 150, 0, 30)
  5410. NewGuiPart10.Size = UDim2.new(0, 320, 0, 365)
  5411. NewGuiPart10.Parent = NewGuiPart2
  5412. -------
  5413. local NewGuiPart11 = Instance.new("Frame")
  5414. NewGuiPart11.BackgroundTransparency = 1
  5415. NewGuiPart11.Name = "Home"
  5416. NewGuiPart11.Size = UDim2.new(1, 0, 1, 0)
  5417. NewGuiPart11.Parent = NewGuiPart10
  5418. -------
  5419. local NewGuiPart12 = Instance.new("TextLabel")
  5420. NewGuiPart12.BackgroundTransparency = 1
  5421. NewGuiPart12.BorderSizePixel = 0
  5422. NewGuiPart12.Name = "Title1"
  5423. NewGuiPart12.Position = UDim2.new(0, 30, 0, 3)
  5424. NewGuiPart12.Selectable = true
  5425. NewGuiPart12.Size = UDim2.new(1, -30, 0, 40)
  5426. NewGuiPart12.Font = Enum.Font.SourceSansBold
  5427. NewGuiPart12.FontSize = Enum.FontSize.Size42
  5428. NewGuiPart12.Text = "T0PK3K 4.0"
  5429. NewGuiPart12.TextColor3 = Color3.new(1, 1, 1)
  5430. NewGuiPart12.TextStrokeTransparency = 0.5
  5431. NewGuiPart12.TextXAlignment = Enum.TextXAlignment.Left
  5432. NewGuiPart12.Parent = NewGuiPart11
  5433. -------
  5434. local NewGuiPart13 = Instance.new("TextLabel")
  5435. NewGuiPart13.BackgroundTransparency = 1
  5436. NewGuiPart13.BorderSizePixel = 0
  5437. NewGuiPart13.Name = "Title2"
  5438. NewGuiPart13.Position = UDim2.new(0.600000024, 5, 0, -5)
  5439. NewGuiPart13.Size = UDim2.new(0.400000006, 0, 1, 0)
  5440. NewGuiPart13.Font = Enum.Font.SourceSansBold
  5441. NewGuiPart13.FontSize = Enum.FontSize.Size18
  5442. NewGuiPart13.Text = "by nosyliam"
  5443. NewGuiPart13.TextColor3 = Color3.new(1, 1, 1)
  5444. NewGuiPart13.TextStrokeTransparency = 0.5
  5445. NewGuiPart13.TextXAlignment = Enum.TextXAlignment.Left
  5446. NewGuiPart13.TextYAlignment = Enum.TextYAlignment.Bottom
  5447. NewGuiPart13.Parent = NewGuiPart12
  5448. -------
  5449. local NewGuiPart14 = Instance.new("Frame")
  5450. NewGuiPart14.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  5451. NewGuiPart14.BorderColor3 = Color3.new(0.32549, 0, 0)
  5452. NewGuiPart14.Name = "Container"
  5453. NewGuiPart14.Position = UDim2.new(0, 16, 0, 50)
  5454. NewGuiPart14.Size = UDim2.new(1, -30, 0, 250)
  5455. NewGuiPart14.Parent = NewGuiPart11
  5456. -------
  5457. local NewGuiPart15 = Instance.new("TextLabel")
  5458. NewGuiPart15.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  5459. NewGuiPart15.BorderSizePixel = 0
  5460. NewGuiPart15.Name = "Message"
  5461. NewGuiPart15.Position = UDim2.new(0, 15, 0, 305)
  5462. NewGuiPart15.Size = UDim2.new(1, -30, 0, 25)
  5463. NewGuiPart15.Font = Enum.Font.Highway
  5464. NewGuiPart15.FontSize = Enum.FontSize.Size14
  5465. NewGuiPart15.Text = "Server Message: variable is gay"
  5466. NewGuiPart15.TextColor3 = Color3.new(0.886275, 0.886275, 0.886275)
  5467. NewGuiPart15.TextStrokeTransparency = 0.69999998807907
  5468. NewGuiPart15.Parent = NewGuiPart11
  5469. -------
  5470. local NewGuiPart16 = Instance.new("TextBox")
  5471. NewGuiPart16.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  5472. NewGuiPart16.BorderColor3 = Color3.new(0.32549, 0, 0)
  5473. NewGuiPart16.Name = "Command"
  5474. NewGuiPart16.Position = UDim2.new(0, 15, 0, 335)
  5475. NewGuiPart16.Size = UDim2.new(1, -30, 0, 20)
  5476. NewGuiPart16.Font = Enum.Font.Code
  5477. NewGuiPart16.FontSize = Enum.FontSize.Size12
  5478. NewGuiPart16.Text = "Press ; to enter a command"
  5479. NewGuiPart16.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
  5480. NewGuiPart16.TextStrokeTransparency = 0.80000001192093
  5481. NewGuiPart16.TextTransparency = 0.30000001192093
  5482. NewGuiPart16.Parent = NewGuiPart10
  5483. -------
  5484. local NewGuiPart17 = Instance.new("Frame")
  5485. NewGuiPart17.BackgroundTransparency = 1
  5486. NewGuiPart17.Name = "Template"
  5487. NewGuiPart17.Size = UDim2.new(1, 0, 1, 0)
  5488. NewGuiPart17.Visible = false
  5489. NewGuiPart17.ZIndex = 2
  5490. NewGuiPart17.Parent = NewGuiPart10
  5491. -------
  5492. local NewGuiPart18 = Instance.new("ScrollingFrame")
  5493. NewGuiPart18.Active = true
  5494. NewGuiPart18.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  5495. NewGuiPart18.BorderColor3 = Color3.new(0.32549, 0, 0)
  5496. NewGuiPart18.Name = "Container"
  5497. NewGuiPart18.Position = UDim2.new(0, 15, 0, 10)
  5498. NewGuiPart18.Selectable = true
  5499. NewGuiPart18.Size = UDim2.new(1, -30, 0, 320)
  5500. NewGuiPart18.ZIndex = 2
  5501. NewGuiPart18.BottomImage = "rbxassetid://368504177"
  5502. NewGuiPart18.CanvasSize = UDim2.new(0, 0, 0, 0)
  5503. NewGuiPart18.MidImage = "rbxassetid://368504177"
  5504. NewGuiPart18.ScrollBarThickness = 5
  5505. NewGuiPart18.TopImage = "rbxassetid://368504177"
  5506. NewGuiPart18.ClipsDescendants = true
  5507. NewGuiPart18.Parent = NewGuiPart17
  5508. -------
  5509. local NewGuiPart19 = Instance.new("Frame")
  5510. NewGuiPart19.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  5511. NewGuiPart19.BackgroundTransparency = 1
  5512. NewGuiPart19.BorderColor3 = Color3.new(0.32549, 0, 0)
  5513. NewGuiPart19.Name = "Navigator"
  5514. NewGuiPart19.Position = UDim2.new(0, 16, 0, 10)
  5515. NewGuiPart19.Size = UDim2.new(1, -30, 0, 60)
  5516. NewGuiPart19.Visible = false
  5517. NewGuiPart19.Parent = NewGuiPart10
  5518. -------
  5519. local NewGuiPart20 = Instance.new("Frame")
  5520. NewGuiPart20.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  5521. NewGuiPart20.BorderColor3 = Color3.new(0.32549, 0, 0)
  5522. NewGuiPart20.Name = "NavMain"
  5523. NewGuiPart20.Position = UDim2.new(0, 22, 0, 0)
  5524. NewGuiPart20.Size = UDim2.new(1, -44, 0, 60)
  5525. NewGuiPart20.Parent = NewGuiPart19
  5526. -------
  5527. local NewGuiPart21 = Instance.new("TextButton")
  5528. NewGuiPart21.Active = true
  5529. NewGuiPart21.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  5530. NewGuiPart21.BorderSizePixel = 0
  5531. NewGuiPart21.Name = "NavLeft"
  5532. NewGuiPart21.Selectable = true
  5533. NewGuiPart21.Size = UDim2.new(0, 17, 1, 0)
  5534. NewGuiPart21.Style = Enum.ButtonStyle.Custom
  5535. NewGuiPart21.FontSize = Enum.FontSize.Size14
  5536. NewGuiPart21.Text = ""
  5537. NewGuiPart21.Parent = NewGuiPart19
  5538. -------
  5539. local NewGuiPart22 = Instance.new("TextButton")
  5540. NewGuiPart22.Active = true
  5541. NewGuiPart22.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  5542. NewGuiPart22.BorderSizePixel = 0
  5543. NewGuiPart22.Name = "NavRight"
  5544. NewGuiPart22.Position = UDim2.new(1, -17, 0, 0)
  5545. NewGuiPart22.Selectable = true
  5546. NewGuiPart22.Size = UDim2.new(0, 17, 1, 0)
  5547. NewGuiPart22.Style = Enum.ButtonStyle.Custom
  5548. NewGuiPart22.FontSize = Enum.FontSize.Size14
  5549. NewGuiPart22.Text = ""
  5550. NewGuiPart22.Parent = NewGuiPart19
  5551. -------
  5552. local NewGuiPart23 = Instance.new("Frame")
  5553. NewGuiPart23.Active = true
  5554. NewGuiPart23.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  5555. NewGuiPart23.BorderSizePixel = 0
  5556. NewGuiPart23.Name = "Navigation"
  5557. NewGuiPart23.Size = UDim2.new(0, 150, 1, 0)
  5558. NewGuiPart23.ZIndex = 2
  5559. NewGuiPart23.Parent = NewGuiPart2
  5560. -------
  5561. local NewGuiPart24 = Instance.new("Frame")
  5562. NewGuiPart24.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  5563. NewGuiPart24.BorderSizePixel = 0
  5564. NewGuiPart24.Name = "Topbar"
  5565. NewGuiPart24.Size = UDim2.new(1, 0, 0, 30)
  5566. NewGuiPart24.ZIndex = 3
  5567. NewGuiPart24.Parent = NewGuiPart23
  5568. -------
  5569. local NewGuiPart25 = Instance.new("ScrollingFrame")
  5570. NewGuiPart25.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  5571. NewGuiPart25.BorderSizePixel = 0
  5572. NewGuiPart25.Name = "Scroll"
  5573. NewGuiPart25.Position = UDim2.new(0, 0, 0, 30)
  5574. NewGuiPart25.Selectable = true
  5575. NewGuiPart25.Size = UDim2.new(1, 0, 1, -30)
  5576. NewGuiPart25.ZIndex = 3
  5577. NewGuiPart25.BottomImage = "rbxassetid://368504177"
  5578. NewGuiPart25.MidImage = "rbxassetid://368504177"
  5579. NewGuiPart25.ScrollBarThickness = 6
  5580. NewGuiPart25.TopImage = "rbxassetid://368504177"
  5581. NewGuiPart25.ClipsDescendants = true
  5582. NewGuiPart25.Parent = NewGuiPart23
  5583. -------
  5584. local NewGuiPart26 = Instance.new("Frame")
  5585. NewGuiPart26.BackgroundTransparency = 1
  5586. NewGuiPart26.Name = "Composite1"
  5587. NewGuiPart26.Position = UDim2.new(-1, 0, 0.5, -50)
  5588. NewGuiPart26.Size = UDim2.new(0, 50, 0, 100)
  5589. NewGuiPart26.ClipsDescendants = true
  5590. NewGuiPart26.Parent = NewGuiPart1
  5591. -------
  5592. local NewGuiPart27 = Instance.new("TextLabel")
  5593. NewGuiPart27.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  5594. NewGuiPart27.BorderSizePixel = 0
  5595. NewGuiPart27.Name = "Label"
  5596. NewGuiPart27.Size = UDim2.new(2, 0, 1, 0)
  5597. NewGuiPart27.Font = Enum.Font.SourceSansBold
  5598. NewGuiPart27.FontSize = Enum.FontSize.Size96
  5599. NewGuiPart27.Text = "T"
  5600. NewGuiPart27.TextColor3 = Color3.new(1, 1, 1)
  5601. NewGuiPart27.Parent = NewGuiPart26
  5602. -------
  5603. local NewGuiPart28 = Instance.new("Frame")
  5604. NewGuiPart28.BackgroundTransparency = 1
  5605. NewGuiPart28.Name = "Composite2"
  5606. NewGuiPart28.Position = UDim2.new(1, 0, 0.5, -50)
  5607. NewGuiPart28.Size = UDim2.new(0, 50, 0, 100)
  5608. NewGuiPart28.ClipsDescendants = true
  5609. NewGuiPart28.Parent = NewGuiPart1
  5610. -------
  5611. local NewGuiPart29 = Instance.new("TextLabel")
  5612. NewGuiPart29.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  5613. NewGuiPart29.BorderSizePixel = 0
  5614. NewGuiPart29.Name = "Label"
  5615. NewGuiPart29.Position = UDim2.new(-1, 0, 0, 0)
  5616. NewGuiPart29.Size = UDim2.new(2, 0, 1, 0)
  5617. NewGuiPart29.Font = Enum.Font.SourceSansBold
  5618. NewGuiPart29.FontSize = Enum.FontSize.Size96
  5619. NewGuiPart29.Text = "T"
  5620. NewGuiPart29.TextColor3 = Color3.new(1, 1, 1)
  5621. NewGuiPart29.Parent = NewGuiPart28
  5622. -------
  5623. local NewGuiPart30 = Instance.new("Frame")
  5624. NewGuiPart30.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  5625. NewGuiPart30.Name = "Solid"
  5626. NewGuiPart30.Position = UDim2.new(0.5, -50, 0.5, -50)
  5627. NewGuiPart30.Visible = false
  5628. NewGuiPart30.ClipsDescendants = true
  5629. NewGuiPart30.Parent = NewGuiPart1
  5630. -------
  5631. local NewGuiPart31 = Instance.new("TextLabel")
  5632. NewGuiPart31.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  5633. NewGuiPart31.BorderSizePixel = 0
  5634. NewGuiPart31.Name = "Label"
  5635. NewGuiPart31.Size = UDim2.new(1, 0, 1, 0)
  5636. NewGuiPart31.Font = Enum.Font.SourceSansBold
  5637. NewGuiPart31.FontSize = Enum.FontSize.Size96
  5638. NewGuiPart31.Text = "T"
  5639. NewGuiPart31.TextColor3 = Color3.new(1, 1, 1)
  5640. NewGuiPart31.Parent = NewGuiPart30
  5641.  
  5642.  
  5643.  
  5644. topkek.center = game.Players.LocalPlayer.PlayerGui["4.0"].Main
  5645. topkek.holder = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder
  5646. topkek.topbar = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar
  5647. topkek.template = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Template
  5648. topkek.navigator = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Navigator
  5649.  
  5650. AllowHovers = false
  5651. PlayerChatHook, UpdateBanlist = nil
  5652. cmd = {}
  5653.  
  5654. --// data //--
  5655. topkek.data.windows = {
  5656. 'Home',
  5657. 'LocalPlayer',
  5658. 'Server',
  5659. 'Players',
  5660. 'Destruction',
  5661. 'Scripts',
  5662. 'Catalog',
  5663. 'Music',
  5664. 'Hats',
  5665. 'Faces',
  5666. 'Settings',
  5667. 'Commands',
  5668. 'Banlist',
  5669. }
  5670.  
  5671. color3 = function(r,g,b)
  5672. return Color3.new(r/255, g/255, b/255)
  5673. end
  5674. --// doggo dropdown //--
  5675. -- thanks krystal
  5676. GUI = {
  5677. TextBox = {
  5678. Settings = {
  5679. Font = Enum.Font.SourceSans;
  5680. FontSize = Enum.FontSize.Size14;
  5681. };
  5682. Color = {
  5683. Main = Color3.fromRGB(5,8,11);
  5684. Border = Color3.fromRGB(27,42,53);
  5685. Text = Color3.fromRGB(199,199,199);
  5686. };
  5687. New = function(Position, Size, Parent, ...)
  5688. local arguments = {...};
  5689.  
  5690. local TextBox = Instance.new("TextBox", Parent);
  5691. TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
  5692. TextBox.BorderColor3 = GUI.DropDown.Color.Border;
  5693. TextBox.Font = GUI.TextBox.Settings.Font;
  5694. TextBox.FontSize = GUI.TextBox.Settings.FontSize;
  5695. TextBox.TextColor3 = GUI.TextBox.Color.Text;
  5696. TextBox.Position = Position;
  5697. TextBox.Size = Size;
  5698. if #arguments then
  5699. if arguments[1] then
  5700. TextBox.Text = tostring(arguments[1]);
  5701. else
  5702. TextBox.Text = "";
  5703. end
  5704. end
  5705. return TextBox;
  5706. end;
  5707. };
  5708. DropDown = {
  5709. Settings = {
  5710. ScrollerAmount = 5; --A scroller will appear at this amount.
  5711. ScrollBarThickness = 6;
  5712. };
  5713. Gfx = {
  5714. Scroller = "rbxassetid://606572419";
  5715. };
  5716. Color = {
  5717. Main = color3(107, 36, 36);
  5718. Secondary = color3(113, 39, 39);
  5719. Border = color3(127, 44, 44);
  5720. Text = Color3.fromRGB(199,199,199);
  5721. };
  5722. New = function(Position, Size, Parent, ...)
  5723. local vValue = {};
  5724. local arguments = {...};
  5725. local vSelected = Instance.new("StringValue");
  5726. vSelected.Value = "nil";
  5727.  
  5728. if arguments then
  5729. if type(arguments) == "table" then
  5730. for i=1,#(arguments) do
  5731. if type(arguments[i]) == "table" then
  5732. for f=1,#(arguments[i]) do
  5733. table.insert(vValue, tostring((arguments[i])[f]));
  5734. end
  5735. else
  5736. table.insert(vValue, tostring(arguments[i]));
  5737. end
  5738. end
  5739. vSelected.Value = (vValue[1]);
  5740. end
  5741. end
  5742.  
  5743. local Main = Instance.new("TextButton", Parent);
  5744. Main.BackgroundColor3 = GUI.DropDown.Color.Main;
  5745. Main.BorderColor3 = GUI.DropDown.Color.Border;
  5746. Main.Position = Position;
  5747. Main.Size = Size;
  5748. Main.TextColor3 = GUI.DropDown.Color.Text;
  5749. Main.FontSize = Enum.FontSize.Size14;
  5750. Main.TextStrokeTransparency = 0.5;
  5751. Main.TextXAlignment = Enum.TextXAlignment.Left;
  5752. Main.Font = Enum.Font.SourceSans;
  5753. Main.Text = " "..tostring(vSelected.Value);
  5754. Main.ZIndex = 3
  5755.  
  5756. local Icon = Instance.new("TextLabel", Main);
  5757. Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
  5758. Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
  5759. Icon.BorderColor3 = GUI.DropDown.Color.Border;
  5760. Icon.Position = UDim2.new(1,-2,1,-2);
  5761. Icon.Size = UDim2.new(-1,4,-1,4);
  5762. Icon.TextColor3 = GUI.DropDown.Color.Text;
  5763. Icon.FontSize = Enum.FontSize.Size14;
  5764. Icon.TextStrokeTransparency = 0.5;
  5765. Icon.Font = Enum.Font.SourceSans;
  5766. Icon.Text = "V"
  5767. Icon.ZIndex = 4
  5768.  
  5769. local Holder, Search;
  5770. local ClearHolder = function()
  5771. if Holder then
  5772. Holder:ClearAllChildren();
  5773. Holder.Size = UDim2.new(1,0,0,0);
  5774. Holder.Visible = false;
  5775. if Search then
  5776. Search.Visible = false;
  5777. end
  5778. end
  5779. end;
  5780.  
  5781. local CreateButton;
  5782. local RefreshDropDown = function()
  5783. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  5784. if not Holder or not Holder:IsA("Frame") then
  5785. Holder = nil; Search = nil;
  5786. Holder = Instance.new("Frame",Main);
  5787. Holder.Size = UDim2.new(1,0,0,0);
  5788. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  5789. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  5790. Holder.Visible = false;
  5791. Holder.ZIndex = 3
  5792. end
  5793. elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
  5794. if not Holder or not Holder:IsA("ScrollingFrame") then
  5795. Holder = nil; Search = nil;
  5796. Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
  5797. Search.Visible = false;
  5798. Search.ZIndex = 4
  5799. Search.Changed:connect(function(p)
  5800. if p == "Text" then
  5801. CreateButton(Search.Text);
  5802. end
  5803. end)
  5804. Holder = Instance.new("ScrollingFrame",Main);
  5805. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  5806. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  5807. Holder.TopImage = GUI.DropDown.Gfx.Scroller;
  5808. Holder.MidImage = GUI.DropDown.Gfx.Scroller;
  5809. Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
  5810. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
  5811. Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
  5812. Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
  5813. Holder.Visible = false;
  5814. Holder.ZIndex = 3;
  5815. end
  5816. end
  5817. if #vValue == 1 and vSelected.Value ~= vValue[1] then
  5818. vSelected.Value = vValue[1];
  5819. elseif #vValue == 0 then
  5820. vSelected.Value = "nil";
  5821. warn("Table amount is nil.");
  5822. end
  5823. Main.Text = " "..tostring(vSelected.Value);
  5824. --ClearHolder();
  5825. end;
  5826.  
  5827. local Debounce = false;
  5828. CreateButton = function(searches)
  5829. if Debounce == false then
  5830. Debounce = true;
  5831. ClearHolder()
  5832. Holder.Visible = true;
  5833. local Searched = 0;
  5834. if #vValue > 0 then
  5835. for i=1,#vValue do
  5836. if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
  5837. Searched = Searched + 1;
  5838. end
  5839. end
  5840. for i=1,#vValue do
  5841. 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
  5842. local Select = Instance.new("TextButton", Holder);
  5843. Select.BackgroundColor3 = GUI.DropDown.Color.Main;
  5844. Select.BorderColor3 = GUI.DropDown.Color.Border;
  5845. Select.BackgroundTransparency = 1;
  5846. Select.BorderSizePixel = 0;
  5847. Select.Position = Position;
  5848. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  5849. Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
  5850. else
  5851. Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
  5852. end
  5853. Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
  5854. Select.TextColor3 = GUI.DropDown.Color.Text;
  5855. Select.FontSize = Enum.FontSize.Size14;
  5856. Select.TextStrokeTransparency = 0.5;
  5857. Select.Font = Enum.Font.SourceSans;
  5858. Select.Text = tostring(vValue[i]);
  5859. Select.ZIndex = 3
  5860. Select.MouseButton1Click:connect(function()
  5861. vSelected.Value = vValue[i];
  5862. ClearHolder();
  5863. RefreshDropDown();
  5864. end)
  5865. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  5866. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
  5867. elseif Holder:IsA("ScrollingFrame") then
  5868. Search.Visible = true;
  5869. if #Holder:GetChildren() >= 1 then
  5870. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  5871. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
  5872. if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
  5873. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
  5874. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  5875. end
  5876. elseif #Holder:GetChildren() < 1 then
  5877. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  5878. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  5879. end
  5880. end
  5881. end
  5882. end
  5883. end
  5884. Debounce = false;
  5885. end
  5886. end;
  5887.  
  5888. RefreshDropDown();
  5889.  
  5890. Main.MouseButton1Click:connect(function()
  5891. CreateButton()
  5892. if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
  5893. Search:CaptureFocus();
  5894. Search.Text = "";
  5895. end
  5896. end)
  5897.  
  5898. topkek.lplr:GetMouse().Button1Down:connect(function()
  5899. ClearHolder()
  5900. end)
  5901.  
  5902. return {
  5903. Update = function()
  5904. RefreshDropDown();
  5905. end;
  5906. GetValue = function()
  5907. RefreshDropDown();
  5908. return vValue;
  5909. end;
  5910. GetSelected = function()
  5911. RefreshDropDown();
  5912. return vSelected.Value;
  5913. end;
  5914. SetTable = function(F)
  5915. vValue = F;
  5916. RefreshDropDown();
  5917. end;
  5918. Changed = function(F)
  5919. vSelected.Changed:connect(function()
  5920. ypcall(function()
  5921. F(vSelected.Value);
  5922. end)
  5923. end)
  5924. return "ChangedEvent Hooked";
  5925. end;
  5926. AddValue = function(obj)
  5927. local Type = type(obj);
  5928. if Type == "table" then
  5929. for i=1,#obj do
  5930. table.insert(vValue, obj[i])
  5931. end
  5932. elseif Type == "string" or Type == "number" or Type == "boolean" then
  5933. table.insert(vValue, obj)
  5934. end
  5935. RefreshDropDown();
  5936. end;
  5937. RemoveValue = function(obj)
  5938. local Type = type(obj);
  5939. if Type == "table" then
  5940. for i=1,#vValue do
  5941. for f=1,#obj do
  5942. if tostring(obj[f]) == tostring(vValue[i]) then
  5943. table.remove(vValue,i)
  5944. end
  5945. end
  5946. end
  5947. else
  5948. for i=1,#vValue do
  5949. if tostring(obj) == tostring(vValue[i]) then
  5950. table.remove(vValue,i)
  5951. end
  5952. end
  5953. end
  5954. RefreshDropDown();
  5955. end;
  5956. ClearValue = function()
  5957. vValue = {};
  5958. RefreshDropDown();
  5959. end;
  5960. }
  5961. end;
  5962. };
  5963. };
  5964. --// util //--
  5965. function topkek.tools.util.Object(o, p)
  5966. local a, b = pcall(function()
  5967. Instance.new(o)
  5968. end)
  5969. if not a then
  5970. return
  5971. end
  5972. local obj = Instance.new(o)
  5973. for prop, val in pairs(p) do
  5974. pcall(function()
  5975. obj[prop] = val
  5976. end)
  5977. end
  5978. return obj
  5979. end
  5980.  
  5981. function topkek.tools.util.getContainer(n)
  5982. if game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder:FindFirstChild(n) then
  5983. return game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder[n]
  5984. else
  5985. print("menu not found; returning template")
  5986. return topkek.holder['Template']
  5987. end
  5988. end
  5989.  
  5990. function topkek.tools.util.play(id)
  5991. local mu = Instance.new("Sound", game:GetService('Workspace'))
  5992. mu.Volume = 1
  5993. mu.Looped = true
  5994. mu.Pitch = 1
  5995. mu.SoundId = "rbxassetid://"..tostring(id)
  5996. mu:Play()
  5997. end
  5998.  
  5999. function topkek.tools.util.getTorso(plr) --r15 compatibility lole
  6000. if plr.Character then
  6001. if plr.Character:FindFirstChild('UpperTorso') then
  6002. return plr.Character.UpperTorso
  6003. elseif plr.Character:FindFirstChild('Torso') then
  6004. return plr.Character.Torso
  6005. else
  6006. return nil
  6007. end
  6008. end
  6009. end
  6010.  
  6011. function topkek.tools.util.recurseRemove(x,type_)
  6012. local function recurse(x)
  6013. for i, v in pairs(x:GetChildren()) do
  6014. pcall(function()
  6015. if v:IsA(type_) then
  6016. v:Destroy()
  6017. end
  6018. if #(v:GetChildren())>0 then
  6019. recurse(v)
  6020. end
  6021. end)
  6022. end
  6023. end
  6024. recurse(x)
  6025. end
  6026.  
  6027. function topkek.tools.util.recurseFunc(type_,func)
  6028. local function recurse(x)
  6029. for i, v in pairs(x:GetChildren()) do
  6030. pcall(function()
  6031. if v:IsA(type_) then
  6032. func(v)
  6033. end
  6034. if #(v:GetChildren())>0 then
  6035. recurse(v)
  6036. end
  6037. end)
  6038. end
  6039. end
  6040. recurse(game)
  6041. end
  6042. function topkek.tools.util.trowel()
  6043. local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
  6044. T.Name = 'Custom Trowel'
  6045.  
  6046. local p = Instance.new('Part')
  6047. p.Name = 'Handle'
  6048. p.Size = Vector3.new(1,4.4,1)
  6049. p.Parent = T
  6050.  
  6051. local specialMesh = Instance.new('SpecialMesh')
  6052. specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
  6053. specialMesh.MeshType = 'FileMesh'
  6054. specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
  6055. specialMesh.Parent = T.Handle
  6056.  
  6057. local sound = Instance.new'Sound'
  6058. sound.Name = 'build'
  6059. sound.SoundId = 'rbxasset://sounds//bass.wav'
  6060. sound.Volume = 1
  6061. sound.Parent = T.Handle
  6062.  
  6063. local brickHeight = 100
  6064. local trowelSpeed = 0.05
  6065. local brickWidth = 500
  6066. local mouseConnection
  6067.  
  6068. function newBrick(CF, P, color)
  6069. local brick = Instance.new('Part')
  6070. brick.BrickColor = color
  6071. brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
  6072. brick.Parent = game.Workspace
  6073. brick:MakeJoints()
  6074. brick.Material = 'Neon'
  6075. brick.Name = 'DeleteMe'
  6076. return brick, P + brick.Size
  6077. end
  6078.  
  6079. function genBrick(cFrame)
  6080. local randBrickColor = BrickColor.Random()
  6081. assert(brickWidth > 0)
  6082.  
  6083. local yPos = 0
  6084.  
  6085. while yPos < brickHeight do
  6086. local vPos
  6087. local X = -brickWidth / 2
  6088. while X < brickWidth / 2 do
  6089. local brick
  6090. brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
  6091. X = vPos.x
  6092. wait(trowelSpeed)
  6093. end
  6094. yPos = vPos.y
  6095. end
  6096. end
  6097.  
  6098. function calcPos(vec)
  6099. if (math.abs(vec.x) > math.abs(vec.z)) then
  6100. if vec.x > 0 then
  6101. return Vector3.new(1, 0, 0)
  6102. else
  6103. return Vector3.new(-1, 0, 0)
  6104. end
  6105. else
  6106. if (vec.z > 0) then
  6107. return Vector3.new(0, 0, 1)
  6108. else
  6109. return Vector3.new(0, 0, -1)
  6110. end
  6111. end
  6112. end
  6113.  
  6114. T.Enabled = true
  6115.  
  6116. T.Activated:connect(function()
  6117. if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  6118. T.Enabled = false
  6119. T.Handle.build:Play()
  6120. 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)))
  6121. T.Enabled = true
  6122. end
  6123. end)
  6124.  
  6125. T.Equipped:connect(function()
  6126. mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  6127. if (key == 'r') then
  6128. for i,v in next, workspace:children'' do
  6129. if (v.Name == 'DeleteMe') then
  6130. v:Destroy()
  6131. end
  6132. end
  6133. end
  6134. end)
  6135. end)
  6136.  
  6137. T.Unequipped:connect(function()
  6138. mouseConnection:disconnect()
  6139. end)
  6140. end
  6141. function topkek.tools.util.recurseSet(type_,prop,val)
  6142. local function recurse(x)
  6143. for i, v in pairs(x:GetChildren()) do
  6144. pcall(function()
  6145. if v:IsA(type_) then
  6146. v[prop]=val
  6147. end
  6148. if #(v:GetChildren())>0 then
  6149. recurse(v)
  6150. end
  6151. end)
  6152. end
  6153. end
  6154. recurse(game)
  6155. end
  6156. function topkek.tools.util.recurseUltimate(d)
  6157. topkek.tools.util.recurseDecal(d)
  6158. topkek.tools.util.recurseParticles(d)
  6159. end
  6160. function topkek.tools.util.recurseDecal(img)
  6161. img = 'rbxassetid://' .. img
  6162. local function skybox(x)
  6163. local sky = Instance.new("Sky",game.Lighting)
  6164. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  6165. for i,v in pairs(fcs) do
  6166. sky["Skybox"..v]=x
  6167. end
  6168. end
  6169.  
  6170. local function decal(p, b)
  6171. local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  6172. for i, v in pairs(sides) do
  6173. local a = Instance.new("Decal", p)
  6174. a.Texture = b
  6175. a.Face = v
  6176. end
  6177. end
  6178.  
  6179. local function recurse(x)
  6180. for i, v in pairs(x:GetChildren()) do
  6181. pcall(function() -- 'error occured, no output from Lua' LOLE
  6182. if v:IsA("BasePart") then
  6183. decal(v, img)
  6184. end
  6185. if #(v:GetChildren())>0 then
  6186. recurse(v)
  6187. end
  6188. end)
  6189. end
  6190. end
  6191.  
  6192. recurse(game)
  6193. skybox(img)
  6194. end
  6195. function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
  6196. img = 'rbxassetid://' .. img
  6197. local function skybox(x)
  6198. local sky = Instance.new("Sky",game.Lighting)
  6199. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  6200. for i,v in pairs(fcs) do
  6201. sky["Skybox"..v]=x
  6202. end
  6203. end
  6204. local function particle(p, b)
  6205. local a = Instance.new("ParticleEmitter", p)
  6206. a.Rate = 500
  6207. a.Lifetime = NumberRange.new(20, 30)
  6208. a.VelocitySpread = 200
  6209. a.Texture = b
  6210. end
  6211.  
  6212. local function recurse(x)
  6213. for i, v in pairs(x:GetChildren()) do
  6214. pcall(function() -- 'error occured, no output from Lua' LOLE
  6215. if v:IsA("BasePart") then
  6216. particle(v, img)
  6217. end
  6218. if #(v:GetChildren())>0 then
  6219. recurse(v)
  6220. end
  6221. end)
  6222. end
  6223. end
  6224.  
  6225. recurse(game)
  6226. skybox(img)
  6227. end
  6228. function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
  6229. local function recurse(x)
  6230. for i, v in pairs(x:GetChildren()) do
  6231. pcall(function()
  6232. if v:IsA(type_) then
  6233. v[prop]=val
  6234. end
  6235. if #(v:GetChildren())>0 then
  6236. recurse(v)
  6237. end
  6238. end)
  6239. end
  6240. end
  6241. recurse(obj)
  6242. end
  6243. function topkek.tools.util.doPlayers(cval, func)
  6244. local plrs = {}
  6245. if cval == 'All' then
  6246. plrs = game:GetService('Players'):GetPlayers()
  6247. else
  6248. plrs = {game:GetService('Players'):FindFirstChild(cval)}
  6249. end
  6250. for i, v in pairs(plrs) do
  6251. func(v)
  6252. end
  6253. end
  6254. function topkek.tools.util.scalePlayer(sc,plr)
  6255. local pchar = plr.Character
  6256. if pchar:FindFirstChild("UpperTorso") then
  6257. warn("Player [" ..plr.Name.. "] is R15.")
  6258. return
  6259. end
  6260. local function scale(chr,scl)
  6261.  
  6262. for _,v in pairs(pchar:GetChildren()) do
  6263. if v:IsA("Hat") then
  6264. v:Clone()
  6265. v.Parent = game.Lighting
  6266. end
  6267. end
  6268.  
  6269. local Head = chr['Head']
  6270. local Torso = chr['Torso']
  6271. local LA = chr['Left Arm']
  6272. local RA = chr['Right Arm']
  6273. local LL = chr['Left Leg']
  6274. local RL = chr['Right Leg']
  6275. local HRP = chr['HumanoidRootPart']
  6276.  
  6277. wait(0.1)
  6278.  
  6279. Head.formFactor = 3
  6280. Torso.formFactor = 3
  6281. LA.formFactor = 3
  6282. RA.formFactor = 3
  6283. LL.formFactor = 3
  6284. RL.formFactor = 3
  6285. HRP.formFactor = 3
  6286.  
  6287. Head.Size = Vector3.new(scl * 2, scl, scl)
  6288. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  6289. LA.Size = Vector3.new(scl, scl * 2, scl)
  6290. RA.Size = Vector3.new(scl, scl * 2, scl)
  6291. LL.Size = Vector3.new(scl, scl * 2, scl)
  6292. RL.Size = Vector3.new(scl, scl * 2, scl)
  6293. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  6294.  
  6295. local Motor1 = Instance.new('Motor6D', Torso)
  6296. Motor1.Part0 = Torso
  6297. Motor1.Part1 = Head
  6298. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  6299. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  6300. Motor1.Name = "Neck"
  6301.  
  6302. local Motor2 = Instance.new('Motor6D', Torso)
  6303. Motor2.Part0 = Torso
  6304. Motor2.Part1 = LA
  6305. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  6306. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  6307. Motor2.Name = "Left Shoulder"
  6308.  
  6309. local Motor3 = Instance.new('Motor6D', Torso)
  6310. Motor3.Part0 = Torso
  6311. Motor3.Part1 = RA
  6312. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  6313. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  6314. Motor3.Name = "Right Shoulder"
  6315.  
  6316. local Motor4 = Instance.new('Motor6D', Torso)
  6317. Motor4.Part0 = Torso
  6318. Motor4.Part1 = LL
  6319. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  6320. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  6321. Motor4.Name = "Left Hip"
  6322.  
  6323. local Motor5 = Instance.new('Motor6D', Torso)
  6324. Motor5.Part0 = Torso
  6325. Motor5.Part1 = RL
  6326. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  6327. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  6328. Motor5.Name = "Right Hip"
  6329.  
  6330. local Motor6 = Instance.new('Motor6D', HRP)
  6331. Motor6.Part0 = HRP
  6332. Motor6.Part1 = Torso
  6333. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  6334. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  6335.  
  6336. end
  6337.  
  6338. scale(pchar, sc)
  6339.  
  6340. for _,v in pairs(game.Lighting:GetChildren()) do
  6341. if v:IsA("Hat") then
  6342. v.Parent = pchar
  6343. end
  6344. end
  6345. end
  6346. function topkek.tools.util.applyFace(id)
  6347. local Char = topkek.lplr.Character
  6348. if(Char)then
  6349. local Type = id
  6350. local Meme=id
  6351. local BBG_SIZE=Char.Head.Size.X*1.25;
  6352. local STUD_VECTOR_1=Char.Head.Size.Z/4;
  6353. local STUD_VECTOR_2=Char.Head.Size.Z;
  6354. local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
  6355. bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  6356. bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
  6357. bbg.Adornee=Char.Head;
  6358. bbg.Name='BBGMEME';
  6359. local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
  6360. img.BackgroundTransparency=1;
  6361. img.Image="rbxassetid://"..Meme;
  6362. img.Size=UDim2.new(1,0,1,0)
  6363. img.Name='Meme';
  6364. for i,v in next,Char:children()do
  6365. if(v.className=='Hat')then
  6366. v=v:FindFirstChild'Handle';
  6367. if(v)then
  6368. v.Transparency=0
  6369. end;
  6370. end;
  6371. end;
  6372. end;
  6373. end;
  6374. function topkek.tools.util.weenieHutJunior(plr)
  6375. plr=plr.Character
  6376. Shaft=Instance.new("Part", plr)
  6377. Shaft.Name='Shaft'
  6378. Shaft.Size=Vector3.new(1, 2.5, 1)
  6379. Shaft.TopSurface=0
  6380. Shaft.BottomSurface=0
  6381. Shaft.CanCollide=true
  6382. Cyln=Instance.new("CylinderMesh", Shaft)
  6383. Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  6384. Instance.new("Weld", plr)
  6385. plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  6386. plr.Weld.Part1=plr.Shaft
  6387. plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  6388. Shaft.BrickColor=BrickColor.new("Pastel brown")
  6389. Tip=Instance.new("Part", plr)
  6390. Tip.Name='Tip'
  6391. Tip.TopSurface=0
  6392. Tip.BottomSurface=0
  6393. Tip.Size=Vector3.new(1, 1, 1)
  6394. Tip.CanCollide=true
  6395. 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)
  6396. Cyln2=Instance.new("SpecialMesh", Tip)
  6397. Cyln2.MeshType='Sphere'
  6398. Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  6399. Instance.new("Weld", plr).Name='Weld2'
  6400. plr.Weld2.Part0=plr.Shaft
  6401. plr.Weld2.Part1=plr.Tip
  6402. plr.Weld2.C0=CFrame.new(0,-.9,0)
  6403. Tip.BrickColor=BrickColor.new("Pink")
  6404. -----
  6405. Ball1=Instance.new("Part", plr)
  6406. Ball1.Name='Ball1'
  6407. Ball1.Size=Vector3.new(1, 1, 1)
  6408. Ball1.TopSurface=0
  6409. Ball1.BottomSurface=0
  6410. Cyln3=Instance.new("SpecialMesh", Ball1)
  6411. Cyln3.MeshType='Sphere'
  6412. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  6413. Instance.new("Weld", plr).Name='Weld3'
  6414. plr.Weld3.Part0=plr.Shaft
  6415. plr.Weld3.Part1=plr.Ball1
  6416. plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  6417. Ball1.BrickColor=BrickColor.new("Pastel brown")
  6418. -----
  6419. Ball2=Instance.new("Part", plr)
  6420. Ball2.Name='Ball2'
  6421. Ball2.Size=Vector3.new(1, 1, 1)
  6422. Ball2.TopSurface=0
  6423. Ball2.BottomSurface=0
  6424. Cyln3=Instance.new("SpecialMesh", Ball2)
  6425. Cyln3.MeshType='Sphere'
  6426. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  6427. Instance.new("Weld", plr).Name='Weld4'
  6428. plr.Weld4.Part0=plr.Shaft
  6429. plr.Weld4.Part1=plr.Ball2
  6430. plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  6431. Ball2.BrickColor=BrickColor.new("Pastel brown")
  6432. end
  6433. --// banmgr //--
  6434. topkek.banmgr.isPrivate = false
  6435. topkek.banmgr.whitelist = {}
  6436. topkek.banmgr.bans = {}
  6437. function topkek.banmgr.executeKick(z)
  6438. local function doKick()
  6439. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  6440. z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  6441. local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  6442. spawn(function()
  6443. repeat wait()
  6444. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  6445. SP.Position = z.Character.HumanoidRootPart.Position
  6446. end
  6447. until not game:GetService('Players'):FindFirstChild(z.Name)
  6448. end)
  6449. z.Character.Torso.Anchored = true
  6450. end
  6451. end
  6452. repeat
  6453. doKick()
  6454. wait()
  6455. until not z
  6456. end
  6457. function topkek.banmgr.loadFromFile()
  6458. -- todo: read file
  6459. topkek.settings.get()
  6460. topkek.banmgr.bans = topkek.settingsTable['Bans']
  6461. end
  6462. function topkek.banmgr.addHardBan(p)
  6463. -- todo: write file
  6464. table.insert(topkek.banmgr.bans, p.Name)
  6465. topkek.settings.get()
  6466. table.insert(topkek.settingsTable['Bans'], p.Name)
  6467. topkek.settings.write()
  6468. print("Hardbanned " .. p.Name)
  6469. UpdateBanlist()
  6470. topkek.banmgr.executeKick(p)
  6471. topkek.banmgr.loadFromFile()
  6472. end
  6473. function topkek.banmgr.addSoftBan(p)
  6474. table.insert(topkek.banmgr.bans, p.Name)
  6475. topkek.banmgr.executeKick(p)
  6476. end
  6477. function topkek.banmgr.plrBanned(p)
  6478. for x, m in pairs(topkek.banmgr.bans) do
  6479. if m == p.Name then
  6480. return true
  6481. end
  6482. end
  6483. return false
  6484. end
  6485. function topkek.banmgr.doWhitelist(p)
  6486. print(p .. " whitelisted")
  6487. table.insert(topkek.banmgr.whitelist, p)
  6488. end
  6489. function topkek.banmgr.unwhitelist(p)
  6490. for x, m in pairs(topkek.banmgr.whitelist) do
  6491. if m == p then
  6492. print(m .. " unwhitelisted")
  6493. table.remove(topkek.banmgr.whitelist, x)
  6494. if game:GetService('Players'):FindFirstChild(p) then
  6495. topkek.banmgr.executeKick(game:GetService('Players')[p])
  6496. end
  6497. end
  6498. end
  6499. end
  6500. function topkek.banmgr.plrWhitelisted(p)
  6501. for x, m in pairs(topkek.banmgr.whitelist) do
  6502. if m == p.Name then
  6503. return true
  6504. end
  6505. end
  6506. return false
  6507. end
  6508. function topkek.banmgr.makePrivate()
  6509. topkek.banmgr.isPrivate = true
  6510. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  6511. if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
  6512. spawn(function()
  6513. topkek.banmgr.executeKick(v)
  6514. end)
  6515. end
  6516. end
  6517. end
  6518. function topkek.banmgr.unprivate()
  6519. topkek.banmgr.isPrivate = false
  6520. end
  6521. function topkek.banmgr.init()
  6522. topkek.banmgr.loadFromFile()
  6523. game:GetService('Players').PlayerAdded:connect(function(p)
  6524. if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
  6525. print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
  6526. topkek.banmgr.executeKick(p)
  6527. end
  6528. end)
  6529. end
  6530. --// settings //--
  6531. topkek.settings = {}
  6532. topkek.settingsTable = {}
  6533. function topkek.settings.write()
  6534. --writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
  6535. end
  6536. function topkek.settings.get()
  6537. if game.Players.LocalPlayer.Character then
  6538. print("No settings! Making new ...")
  6539. topkek.settingsTable = {
  6540. ['Bans'] = {
  6541.  
  6542. },
  6543. ['Themes'] = {
  6544. {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
  6545. };
  6546. }
  6547. topkek.settings.write()
  6548. return topkek.settingsTable
  6549. else
  6550. local lset = game:GetService('HttpService'):JSONDecode(set)
  6551. topkek.settingsTable = lset
  6552. return lset
  6553. end
  6554. end
  6555. --// shortcuts //--
  6556. tk = {}
  6557. tk.ob = topkek.tools.util.Object
  6558. tk.dp = topkek.tools.util.doPlayers
  6559. tk.rcm = topkek.tools.util.recurseRemove
  6560. tk.rcs = topkek.tools.util.recurseSet
  6561. tk.rcf = topkek.tools.util.recurseFunc
  6562. tk.rco = topkek.tools.util.recurseSetObj
  6563. tk.play = topkek.tools.util.play
  6564. tk.gt = topkek.tools.util.getTorso
  6565. --// gui //--
  6566. -- copying this from topkek3.0 because i'm
  6567. -- too lazy to rewrite my lib
  6568. topkek.tools.gui.seperation = 12
  6569. function topkek.tools.gui:addLeftIcon(parent, img, sz)
  6570. topkek.tools.util.Object('ImageLabel', {
  6571. Parent = parent;
  6572. BackgroundTransparency = 1;
  6573. Position = UDim2.new(0, 2, 0, 2);
  6574. Size = UDim2.new(0, sz, 0, sz);
  6575. Image = img;
  6576. })
  6577. end
  6578. function topkek.tools.gui:makeContainer(n)
  6579. local temp = topkek.template:Clone()
  6580. temp.Name = n
  6581. temp.Parent = topkek.holder
  6582. temp.Container.Visible = false
  6583. end
  6584. function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
  6585. if not o:IsA("ScrollingFrame") and (not ncan) then
  6586. return nil
  6587. elseif o:IsA("ScrollingFrame") then
  6588. o.CanvasSize = UDim2.new(0, 0, 0, 0)
  6589. end
  6590.  
  6591. local self = {}
  6592. self.main = o
  6593. self.drawX = 0
  6594. self.drawY = stt or topkek.tools.gui.seperation/2
  6595. self.drawHeight = 0
  6596. self.sepr = sepr or topkek.tools.gui.seperation
  6597.  
  6598. function self:drawButton(sz, txt, func, ysz, cbgd)
  6599. local xposOffset = 0
  6600. local xposScale = self.drawX
  6601. local xszOffset = 0
  6602. local xszScale = sz
  6603. if not (self.drawX == 0) then
  6604. xszOffset = -5
  6605. if sz + self.drawX > 0.998 then
  6606. xszOffset = -10
  6607. end
  6608. elseif sz == 1 then
  6609. local bzz = 4
  6610. if ncan then
  6611. bzz = 0
  6612. end
  6613. xszOffset = -(self.sepr) - bzz
  6614. xposOffset = self.sepr/2
  6615. else
  6616. xszOffset = -4 + -(self.sepr/2)
  6617. xposOffset = self.sepr/2
  6618. end
  6619. if not ysz then ysz = 20 end
  6620. local obj = topkek.tools.util.Object("TextButton", {
  6621. Parent = self.main;
  6622. BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
  6623. BorderSizePixel = 0;
  6624. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  6625. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  6626. Font = 'SourceSans';
  6627. FontSize = 'Size14';
  6628. Text = txt;
  6629. TextSize = 14;
  6630. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  6631. })
  6632. obj.MouseButton1Down:connect(function()
  6633. spawn(func)
  6634. end)
  6635. if ysz > self.drawHeight then
  6636. self.drawHeight = ysz
  6637. end
  6638. self.drawX = self.drawX + sz
  6639. if self.drawX > 0.998 then
  6640. self.drawY = self.drawY + 3 + self.drawHeight
  6641. self.drawX = 0
  6642. self.drawHeight = 0
  6643. if (not ncan) then
  6644. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  6645. end
  6646. end
  6647. return obj
  6648. end
  6649.  
  6650. function self:GetChildren()
  6651. return self.main:GetChildren()
  6652. end
  6653.  
  6654. function self:getDrawY()
  6655. return self.drawY
  6656. end
  6657.  
  6658. function self:setDrawY(y)
  6659. self.drawY = y
  6660. end
  6661.  
  6662. function self:drawTextBox(sz, txt, ysz, cbgd)
  6663. local xposOffset = 0
  6664. local xposScale = self.drawX
  6665. local xszOffset = 0
  6666. local xszScale = sz
  6667. if not (self.drawX == 0) then
  6668. xszOffset = -5
  6669. if sz + self.drawX > 0.998 then
  6670. xszOffset = -10
  6671. end
  6672. elseif sz == 1 then
  6673. xszOffset = -(self.sepr) - 5
  6674. xposOffset = self.sepr/2
  6675. else
  6676. xszOffset = -4 + -(self.sepr/2)
  6677. xposOffset = self.sepr/2
  6678. end
  6679. if not ysz then ysz = 20 end
  6680. local obj = topkek.tools.util.Object("TextBox", {
  6681. Parent = self.main;
  6682. BackgroundColor3 = cbgd or color3(153, 52, 52);
  6683. BorderSizePixel = 0;
  6684. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  6685. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  6686. Font = 'SourceSans';
  6687. FontSize = 'Size14';
  6688. Text = txt;
  6689. TextSize = 14;
  6690. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  6691. })
  6692. if ysz > self.drawHeight then
  6693. self.drawHeight = ysz
  6694. end
  6695. self.drawX = self.drawX + sz
  6696. if self.drawX > 0.998 then
  6697. self.drawY = self.drawY + 3 + self.drawHeight
  6698. self.drawX = 0
  6699. self.drawHeight = 0
  6700. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  6701. end
  6702. return obj
  6703. end
  6704.  
  6705. function self:drawImage(sz, img, ysz)
  6706. local xposOffset = 0
  6707. local xposScale = self.drawX
  6708. local xszOffset = 0
  6709. local xszScale = sz
  6710. if not (self.drawX == 0) then
  6711. xszOffset = -5
  6712. if sz + self.drawX > 0.998 then
  6713. xszOffset = -12
  6714. end
  6715. elseif sz == 1 then
  6716. xszOffset = -(self.sepr) - 5
  6717. xposOffset = self.sepr/2
  6718. else
  6719. xszOffset = -5 + -(self.sepr/2)
  6720. xposOffset = self.sepr/2
  6721. end
  6722. if not ysz then ysz = 20 end
  6723. local obj = topkek.tools.util.Object("ImageLabel", {
  6724. Parent = self.main;
  6725. BackgroundTransparency = 1;
  6726. BorderColor3 = Color3.new(27, 42, 53);
  6727. BorderSizePixel = 0;
  6728. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  6729. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  6730. Image = img;
  6731. })
  6732. if ysz > self.drawHeight then
  6733. self.drawHeight = ysz
  6734. end
  6735. self.drawX = self.drawX + sz
  6736. if self.drawX > 0.998 then
  6737. self.drawY = self.drawY + 3 + self.drawHeight
  6738. self.drawX = 0
  6739. self.drawHeight = 0
  6740. if (not ncan) then
  6741. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  6742. end
  6743. end
  6744. return obj
  6745. end
  6746.  
  6747. function self:drawText(sz, txt, ysz)
  6748. local xposOffset = 0
  6749. local xposScale = self.drawX
  6750. local xszOffset = 0
  6751. local xszScale = sz
  6752. if not (self.drawX == 0) then
  6753. xszOffset = -5
  6754. if sz + self.drawX > 0.998 then
  6755. xszOffset = -10
  6756. end
  6757. elseif sz == 1 then
  6758. local bzz = 5
  6759. if ncan then
  6760. bzz = 0
  6761. end
  6762. xszOffset = -(self.sepr) - bzz
  6763. xposOffset = self.sepr/2
  6764. else
  6765. xszOffset = -4 + -(self.sepr/2)
  6766. xposOffset = self.sepr/2
  6767. end
  6768. if not ysz then ysz = 20 end
  6769. local obj = topkek.tools.util.Object("TextLabel", {
  6770. Parent = self.main;
  6771. BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
  6772. BorderSizePixel = 0;
  6773. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  6774. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  6775. Font = 'SourceSans';
  6776. FontSize = 'Size14';
  6777. Text = txt;
  6778. TextSize = 14;
  6779. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  6780.  
  6781. })
  6782. if ysz > self.drawHeight then
  6783. self.drawHeight = ysz
  6784. end
  6785. self.drawX = self.drawX + sz
  6786. if self.drawX > 0.998 then
  6787. self.drawY = self.drawY + 3 + self.drawHeight
  6788. self.drawX = 0
  6789. self.drawHeight = 0
  6790. if (not ncan) then
  6791. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  6792. end
  6793. end
  6794. return obj
  6795. end
  6796.  
  6797.  
  6798. function self:drawScrollingContainer(ysz)
  6799. local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  6800. local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  6801. local obj = topkek.tools.util.Object("ScrollingFrame", {
  6802. Parent = self.main;
  6803. BackgroundColor3 = color3(117, 42, 42);
  6804. BorderSizePixel = 0;
  6805. Position = pos;
  6806. Size = sz;
  6807. BottomImage = 'rbxassetid://368504177';
  6808. MidImage = 'rbxassetid://368504177';
  6809. TopImage = 'rbxassetid://368504177';
  6810. ScrollBarThickness = 5;
  6811. })
  6812.  
  6813. self.drawY = self.drawY + 5 + ysz
  6814. self.drawX = 0
  6815. self.drawHeight = 0
  6816. if (not ncan) then
  6817. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  6818. end
  6819. return topkek.tools.gui:hookContainer(obj, false, 10, 3)
  6820. end
  6821.  
  6822. function self:drawContainer(xsz, ysz, xz, tz, sep)
  6823. local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  6824. local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
  6825. local obj = topkek.tools.util.Object("Frame", {
  6826. Parent = self.main;
  6827. BackgroundColor3 = color3(117, 42, 42);
  6828. BorderSizePixel = 0;
  6829. Position = pos;
  6830. Size = sz;
  6831. })
  6832. if not xz then
  6833. self.drawY = self.drawY + 5 + ysz
  6834. end
  6835. self.drawX = 0
  6836. self.drawHeight = 0
  6837. if (not ncan) then
  6838. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  6839. end
  6840. return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
  6841. end
  6842.  
  6843. function self:addSpacing()
  6844. self.drawY = self.drawY + 3
  6845. end
  6846.  
  6847. function self:center()
  6848. local a,c,b=
  6849. self.main.Position.X.Scale,
  6850. self.main.Position.X.Offset,self.main.Size.Y.Offset
  6851. self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  6852. end
  6853.  
  6854. return self
  6855. end
  6856.  
  6857. --//anim//--
  6858. topkek.tools.animator.animateTo = function(source, dest)
  6859. -- holder2holder:
  6860. -- invis holder
  6861. -- clone holder; vis
  6862. -- move holder to right
  6863. -- vis dest container
  6864. -- tween clone holder left
  6865. -- tween dest holder right
  6866. print("nav",source,dest)
  6867. topkek.holder.Visible = false
  6868. local hclone = topkek.holder:Clone()
  6869. hclone.Parent = topkek.center
  6870. hclone.Name = 'animclone'
  6871. hclone.Visible = true
  6872. topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
  6873. source.Visible = false
  6874. dest.Visible = true
  6875. dest.Container.Visible = true
  6876. dest.Container.ZIndex = 1
  6877. dest.ZIndex = 1
  6878. topkek.holder.Visible = true
  6879. topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
  6880. hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
  6881. wait(0.3)
  6882. end
  6883. topkek.tools.animator.initialAnimation = function()
  6884. -- initanim:
  6885. -- join both composites
  6886. -- delete composites; vis solid
  6887. -- tween solid to nav topbar
  6888. -- copy topbar plrname; move outside region
  6889. -- tween in clone topbar
  6890. -- delete clone and solid; vis topbar
  6891. -- tween down topbar
  6892. -- tween holder out
  6893. local function abspos(x)
  6894. return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
  6895. end
  6896. local function abssz(x)
  6897. return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
  6898. end
  6899. local holder = topkek.holder
  6900. local nav = topkek.navigator
  6901. local topnav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation.Topbar
  6902. local topbar = topkek.topbar
  6903. local pname = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar.PlayerName:Clone()
  6904. local solid = game.Players.LocalPlayer.PlayerGui["4.0"].Solid
  6905. topkek.center.Size = UDim2.new(0, 150, 0, 30)
  6906. game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
  6907. game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
  6908. wait(0.52)
  6909. solid.Visible = true
  6910. game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:Destroy()
  6911. game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:Destroy()
  6912. wait(3)
  6913. solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
  6914. solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
  6915. wait(0.52)
  6916. solid.Label:Destroy()
  6917. wait(0.12)
  6918. topkek.center.Visible = true
  6919. topnav.Visible = true
  6920. solid:Destroy()
  6921. pname.Position = UDim2.new(0, -170, 0, 0)
  6922. pname.Parent = topnav
  6923. pname.Visible = true
  6924. pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
  6925. wait(0.25)
  6926. topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
  6927. spawn(topkek.navigation.buildNavigator)
  6928. wait(0.35)
  6929. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
  6930. wait(0.35)
  6931. topbar.PlayerName.Visible = true
  6932. pname:Destroy()
  6933. AllowHovers = true
  6934. end
  6935. --//nav//--
  6936. topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
  6937. topkek.navigation.windowState = 0
  6938. topkek.navigation.gotoContainer = function(cont)
  6939. topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
  6940. topkek.navigation.currentContainer = cont
  6941. end
  6942. topkek.navigation.buildNavigator = function()
  6943. local nav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation
  6944. local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
  6945. local btns = {}
  6946. for l, x in pairs(topkek.data.windows) do
  6947. local container = topkek.tools.util.getContainer(x)
  6948. local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
  6949. local ZPos = btn.Position
  6950. btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
  6951. btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
  6952. btn.LayoutOrder = l
  6953. btn.ZIndex = 4
  6954. local OPos = btn.Position
  6955. btn.MouseEnter:connect(function()
  6956. if AllowHovers == false then
  6957. return
  6958. end
  6959. for i, v in pairs(btns) do
  6960. if v[1] ~= btn then
  6961. v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
  6962. end
  6963. end
  6964. btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
  6965. end)
  6966. btn.MouseLeave:connect(function()
  6967. btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
  6968. end)
  6969. table.insert(btns, {btn, OPos})
  6970. wait()
  6971. end
  6972. end
  6973. topkek.navigation.buildTopbar = function()
  6974. local top = topkek.topbar
  6975. local FELabel = top.Controllers.IsFE
  6976. top.PlayerName.Text = topkek.lplr.Name
  6977. if game:GetService('Workspace').FilteringEnabled == true then
  6978. FELabel.Text = "FE Game"
  6979. FELabel.TextColor3 = BrickColor.new("Bright red").Color
  6980. else
  6981. FELabel.Text = "Not FE"
  6982. FELabel.TextColor3 = BrickColor.new("Bright green").Color
  6983. end
  6984. top.Controllers.Hide.MouseButton1Down:connect(function()
  6985. if topkek.navigation.windowState == 0 then
  6986. topkek.navigation.windowState = 1
  6987. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
  6988. else
  6989. topkek.navigation.windowState = 0
  6990. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
  6991. end
  6992. end)
  6993. top.Controllers.Exit.MouseButton1Down:connect(function()
  6994. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
  6995. wait(0.31)
  6996. topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
  6997. PlayerChatHook:disconnect()
  6998. end)
  6999.  
  7000. end
  7001. topkek.navigation.initCommandBar = function()
  7002. DistributedCmdBar, cmd = topkek.holder.Command, {}
  7003. --weathered-down version of my cmdscript for topkek
  7004. cmd = {}
  7005.  
  7006. -- ** defines ** --
  7007. cmd.service = (function(a) return game:service(a) end)
  7008. cmd.gplayers = (function() return cmd.service'Players':GetPlayers() end)
  7009. cmd.players = cmd.service('Players')
  7010. cmd.localplayer = cmd.players.LocalPlayer
  7011.  
  7012. cmd.prefix = ';'
  7013. cmd.hidden = '/'
  7014.  
  7015. cmd.commands = {}
  7016. cmd.util = {}
  7017. cmd.interface = {}
  7018.  
  7019. cmd.admins = {}
  7020. cmd.noclip = false
  7021.  
  7022. -- ** util ** --
  7023. cmd.util.pos = function(str, pos)
  7024. local increment = 1
  7025. for spc in str:gmatch("[^ ]+") do
  7026. if increment == pos then
  7027. return spc
  7028. end
  7029. increment = increment + 1
  7030. end
  7031. return ''
  7032. end
  7033. cmd.util.pstr = function(str, re_enc)
  7034. str = string.lower(str)
  7035. local players = {}
  7036. if re_enc == true then
  7037. if str == 'me' then
  7038. return {game.Players.LocalPlayer}
  7039. end
  7040. if str == 'all' then
  7041. return game.Players:GetPlayers()
  7042. end
  7043. if str == 'others' then
  7044. for i, v in pairs(game.Players:GetPlayers()) do
  7045. if v ~= cmd.localplayer then
  7046. table.insert(players, v)
  7047. end
  7048. end
  7049. end
  7050. for i, v in pairs(game.Players:GetPlayers()) do
  7051. if string.lower(v.Name):sub(1, #str) == str then
  7052. table.insert(players, v)
  7053. end
  7054. end
  7055. return players
  7056. else
  7057. for seper in str:gmatch("[^,]+") do
  7058. for i, v in pairs(cmd.util.pstr(seper, true)) do
  7059. table.insert(players, v)
  7060. end
  7061. end
  7062. return players
  7063. end
  7064. end
  7065. cmd.util.parse = function(str, fmt)
  7066. local args = {}
  7067. local encountered = 0
  7068. local position = 1
  7069. for form in fmt:gmatch("[^%%]+") do
  7070. if position == 1 then
  7071. args['command'] = cmd.util.pos(str, position)
  7072. end
  7073. if form == 'inf' then
  7074. args[position] = str:sub(encountered, #str)
  7075. end
  7076. if form == 'int' then
  7077. local fetch = cmd.util.pos(str, position)
  7078. if tonumber(fetch) == nil then
  7079. return nil
  7080. end
  7081. args[position] = {'integer', data = fetch}
  7082. end
  7083. if form == 'str' then
  7084. local fetch = cmd.util.pos(str, position)
  7085. args[position] = {'string', data = fetch}
  7086. end
  7087. if form == 'plrs' then
  7088. args[position] = cmd.util.pstr(cmd.util.pos(str, position), false)
  7089. end
  7090. encountered = encountered + ((#cmd.util.pos(str, position)) + 1)
  7091. position = position + 1
  7092. end
  7093. return args
  7094. end
  7095. cmd.util.isadmin = function(p)
  7096. if p == cmd.localplayer.Name then
  7097. return true
  7098. else
  7099. for i, v in pairs(cmd.admins) do
  7100. if v == p.Name then
  7101. return true
  7102. end
  7103. end
  7104. return false
  7105. end
  7106. end
  7107. cmd.util.BombVest = function(Players)
  7108. -- modified by nosyliam
  7109. local TickWait = 1
  7110. local Dead = false
  7111. local BeltPositions = { }
  7112. local ExplodeSounds = { }
  7113.  
  7114. for ___, player in pairs(Players) do
  7115. pcall(function()
  7116. local Me = player
  7117. local Char = Me.Character
  7118. local Torso = Char.Torso
  7119. local Color = "Medium stone gray"
  7120. local Dead = false
  7121.  
  7122.  
  7123. local Position = Vector3.new(0,100,0)
  7124. local function NewPart(Parent)
  7125. local Part = Instance.new("Part", Parent)
  7126. Part.CanCollide = false
  7127. Part.FormFactor = "Custom"
  7128. Part.Position = Position
  7129. Part.TopSurface = "Smooth"
  7130. Part.BottomSurface = "Smooth"
  7131. Part.BrickColor = BrickColor.new(Color)
  7132. Position = Position + Vector3.new(0,Part.Size.Y + 10,0)
  7133. return Part
  7134. end
  7135.  
  7136. local Model = Char:FindFirstChild("Bomb")
  7137. if Model then Model:Destroy() end
  7138.  
  7139. Model = Instance.new("Model", Char)
  7140. Model.Name = "Bomb"
  7141.  
  7142. local Belt = NewPart(Model)
  7143. Belt.Size = Vector3.new(2.2,0.5,1.2)
  7144. table.insert(BeltPositions, Belt)
  7145. local Weld = Instance.new("Weld", Belt)
  7146. Weld.Part0 = Belt
  7147. Weld.Part1 = Torso
  7148. Weld.C0 = CFrame.new(0,1.1,0)
  7149. local Light = Instance.new("PointLight", Belt)
  7150. Light.Range = 15
  7151. Light.Brightness = 5
  7152. Light.Color = Color3.new(1,0,0)
  7153. local Beep = Instance.new("Sound", Belt)
  7154. Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  7155. local ExplodeSound = Instance.new("Sound", Belt)
  7156. ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765
  7157. ExplodeSound.Pitch = 2.8
  7158. ExplodeSound.Volume = 3
  7159. table.insert(ExplodeSounds, ExplodeSound)
  7160.  
  7161. local Back = NewPart(Model)
  7162. Back.Size = Vector3.new(1.5,1.5,0.5)
  7163. local Weld = Instance.new("Weld", Back)
  7164. Weld.Part0 = Back
  7165. Weld.Part1 = Torso
  7166. Weld.C0 = CFrame.new(0,0.1,-0.75)
  7167.  
  7168. local StrapLeft = NewPart(Model)
  7169. StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  7170. local Weld = Instance.new("Weld", StrapLeft)
  7171. Weld.Part0 = StrapLeft
  7172. Weld.Part1 = Torso
  7173. Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  7174.  
  7175. local BuckleLeft = NewPart(Model)
  7176. BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  7177. local Weld = Instance.new("Weld", BuckleLeft)
  7178. Weld.Part0 = BuckleLeft
  7179. Weld.Part1 = Torso
  7180. Weld.C0 = CFrame.new(0.65,0.1,0.5)
  7181.  
  7182. local StrapRight = NewPart(Model)
  7183. StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  7184. local Weld = Instance.new("Weld", StrapRight)
  7185. Weld.Part0 = StrapRight
  7186. Weld.Part1 = Torso
  7187. Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  7188.  
  7189. local BuckleRight = NewPart(Model)
  7190. BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  7191. local Weld = Instance.new("Weld", BuckleRight)
  7192. Weld.Part0 = BuckleRight
  7193. Weld.Part1 = Torso
  7194. Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  7195.  
  7196.  
  7197. coroutine.wrap(function()
  7198. repeat
  7199. wait(TickWait)
  7200. Light.Enabled = not Light.Enabled
  7201. Beep:Play()
  7202. until Dead == true
  7203. end)()
  7204. end)
  7205. end
  7206.  
  7207. local Tool = Instance.new("HopperBin", cmd.localplayer.Backpack)
  7208. Tool.Name = "Bomb Vest"
  7209.  
  7210. Tool.Selected:connect(function(Mouse)
  7211. TickWait = 0.3
  7212. Mouse.Icon = "http://www.roblox.com/asset/?id=9109985"
  7213.  
  7214. Mouse.Button1Down:connect(function()
  7215. if Dead == false then
  7216. Dead = true
  7217. for i, Belt in pairs(BeltPositions) do
  7218. coroutine.wrap(function()
  7219. pcall(function() ExplodeSounds[i]:Play() end)
  7220. wait(1.4)
  7221. local Explosion = Instance.new("Explosion", workspace)
  7222. Explosion.Position = Belt.Position
  7223. Explosion.BlastPressure = 100000
  7224. Explosion.DestroyJointRadiusPercent = 0.7
  7225. Explosion.ExplosionType = "CratersAndDebris"
  7226. Explosion.BlastRadius = 50
  7227. Explosion.Hit:connect(function(Part, Distance)
  7228. Part.Anchored = false
  7229. if Distance <= 10 then
  7230. Part:BreakJoints()
  7231. end
  7232. end)
  7233. end)()
  7234. end
  7235. end
  7236. end)
  7237. end)
  7238.  
  7239. Tool.Deselected:connect(function()
  7240. TickWait = 1
  7241. end)
  7242. end
  7243. cmd.util.hulk = function(p)
  7244. function giant(p, size)
  7245. local pchar = p.Character
  7246. if pchar then
  7247. local function scale(chr,scl)
  7248.  
  7249. for _,v in pairs(pchar:GetChildren()) do
  7250. if v:IsA("Hat") then
  7251. v:Clone()
  7252. v.Parent = game.Lighting
  7253. end
  7254. end
  7255.  
  7256. local Head = chr['Head']
  7257. local Torso = chr['Torso']
  7258. local LA = chr['Left Arm']
  7259. local RA = chr['Right Arm']
  7260. local LL = chr['Left Leg']
  7261. local RL = chr['Right Leg']
  7262. local HRP = chr['HumanoidRootPart']
  7263.  
  7264. wait(0.1)
  7265.  
  7266. Head.formFactor = 3
  7267. Torso.formFactor = 3
  7268. LA.formFactor = 3
  7269. RA.formFactor = 3
  7270. LL.formFactor = 3
  7271. RL.formFactor = 3
  7272. HRP.formFactor = 3
  7273.  
  7274. Head.Size = Vector3.new(scl * 2, scl, scl)
  7275. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  7276. LA.Size = Vector3.new(scl, scl * 2, scl)
  7277. RA.Size = Vector3.new(scl, scl * 2, scl)
  7278. LL.Size = Vector3.new(scl, scl * 2, scl)
  7279. RL.Size = Vector3.new(scl, scl * 2, scl)
  7280. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  7281.  
  7282. local Motor1 = Instance.new('Motor6D', Torso)
  7283. Motor1.Part0 = Torso
  7284. Motor1.Part1 = Head
  7285. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  7286. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  7287. Motor1.Name = "Neck"
  7288.  
  7289. local Motor2 = Instance.new('Motor6D', Torso)
  7290. Motor2.Part0 = Torso
  7291. Motor2.Part1 = LA
  7292. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  7293. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  7294. Motor2.Name = "Left Shoulder"
  7295.  
  7296. local Motor3 = Instance.new('Motor6D', Torso)
  7297. Motor3.Part0 = Torso
  7298. Motor3.Part1 = RA
  7299. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  7300. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  7301. Motor3.Name = "Right Shoulder"
  7302.  
  7303. local Motor4 = Instance.new('Motor6D', Torso)
  7304. Motor4.Part0 = Torso
  7305. Motor4.Part1 = LL
  7306. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  7307. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  7308. Motor4.Name = "Left Hip"
  7309.  
  7310. local Motor5 = Instance.new('Motor6D', Torso)
  7311. Motor5.Part0 = Torso
  7312. Motor5.Part1 = RL
  7313. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  7314. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  7315. Motor5.Name = "Right Hip"
  7316.  
  7317. local Motor6 = Instance.new('Motor6D', HRP)
  7318. Motor6.Part0 = HRP
  7319. Motor6.Part1 = Torso
  7320. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  7321. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  7322.  
  7323. end
  7324.  
  7325. scale(pchar, size)
  7326. pchar.Humanoid.WalkSpeed = 15 * size
  7327.  
  7328. for _,v in pairs(game.Lighting:GetChildren()) do
  7329. if v:IsA("Hat") then
  7330. v.Parent = pchar
  7331. end
  7332. end
  7333. end
  7334. end
  7335.  
  7336. local plr = p
  7337. giant(plr, 3)
  7338. for i, v in pairs(plr.Character:GetChildren()) do
  7339. if v:IsA("BasePart") then
  7340. v.Touched:connect(function(p)
  7341. if p.Size.X<30 then
  7342. p.Anchored = false
  7343. p:BreakJoints()
  7344. end
  7345. end)
  7346. end
  7347. end
  7348.  
  7349. local csize = 3
  7350.  
  7351. local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  7352. local base = Instance.new("Frame", sgui)
  7353. base.BackgroundTransparency = 1
  7354. base.Size = UDim2.new(0, 110, 0, 200)
  7355. base.Position = UDim2.new(1, -120, 1, -180)
  7356. local indicator = Instance.new("TextLabel", base)
  7357. indicator.Size = UDim2.new(1, 0, 0, 25)
  7358. indicator.TextColor3 = Color3.new(1, 1, 1)
  7359. indicator.BackgroundTransparency = 0
  7360. indicator.FontSize = Enum.FontSize.Size18
  7361. indicator.Font = Enum.Font.SourceSans
  7362. indicator.Text = "Current Size: 3"
  7363. local PlusOne = Instance.new("TextButton", base)
  7364. PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  7365. PlusOne.Position = UDim2.new(0, 0, 0, 40)
  7366. PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
  7367. PlusOne.BorderSizePixel = 2
  7368. PlusOne.Font = Enum.Font.SourceSansBold
  7369. PlusOne.FontSize = Enum.FontSize.Size24
  7370. PlusOne.Text = "+1 Size"
  7371. local MinusOne = Instance.new("TextButton", base)
  7372. MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  7373. MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
  7374. MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
  7375. MinusOne.Text = "-1 Size"
  7376. MinusOne.BorderSizePixel = 2
  7377. MinusOne.Font = Enum.Font.SourceSansBold
  7378. MinusOne.FontSize = Enum.FontSize.Size24
  7379.  
  7380. PlusOne.MouseButton1Down:connect(function()
  7381. csize = csize + 1
  7382. giant(plr, csize)
  7383. indicator.Text = "Current Size: "..tostring(csize)
  7384. end)
  7385.  
  7386. MinusOne.MouseButton1Down:connect(function()
  7387. csize = csize - 1
  7388. giant(plr, csize)
  7389. indicator.Text = "Current Size: "..tostring(csize)
  7390. end)
  7391. end
  7392. cmd.util.R15 = function()
  7393. rcode=[[local function Init()
  7394. wait()
  7395. local function ConChar(P)
  7396. Character = P.Character
  7397.  
  7398. local R15Model = Instance.new("Model")
  7399. R15Model.Name = "R15Model"
  7400. R15Model.Parent = Character
  7401.  
  7402. local function CreateLimb(Name,Color,Size,Transparency,ConnectToLimb,MotorName,C0,C1,MeshId)
  7403. local Part = Instance.new("Part")
  7404. Part.FormFactor = "Custom"
  7405. Part.Size = Size
  7406. Part.BrickColor = Color
  7407. Part.CanCollide = false
  7408. Part.Name = Name
  7409. Part.Transparency = (Transparency == 0.001 and 0 or Transparency)
  7410. Part.TopSurface = "Smooth"
  7411. Part.BottomSurface = "Smooth"
  7412.  
  7413. local Motor = Instance.new("Motor6D")
  7414. Motor.C0 = C0
  7415. Motor.C1 = C1
  7416. Motor.Part0 = ConnectToLimb
  7417. Motor.Part1 = Part
  7418. Motor.Name = MotorName
  7419. Motor.MaxVelocity = 0.1
  7420. Motor.Parent = ConnectToLimb
  7421.  
  7422. if MeshId then
  7423. local Mesh = Instance.new("SpecialMesh")
  7424. Mesh.MeshType = "FileMesh"
  7425. Mesh.MeshId = MeshId
  7426. Mesh.Scale = Vector3.new(0.99,0.99,0.99)
  7427. Mesh.Parent = Part
  7428. end
  7429.  
  7430. if MeshId and Transparency == 0.001 then
  7431. local ShirtTexturePart = Instance.new("Part")
  7432. ShirtTexturePart.FormFactor = "Custom"
  7433. ShirtTexturePart.Size = Size
  7434. ShirtTexturePart.BrickColor = Color
  7435. ShirtTexturePart.CanCollide = false
  7436. ShirtTexturePart.Name = "ShirtTexturePart"
  7437. ShirtTexturePart.Transparency = Transparency
  7438. ShirtTexturePart.TopSurface = "Smooth"
  7439. ShirtTexturePart.BottomSurface = "Smooth"
  7440.  
  7441. local Mesh = Instance.new("SpecialMesh")
  7442. Mesh.MeshType = "FileMesh"
  7443. Mesh.MeshId = MeshId
  7444. Mesh.Parent = ShirtTexturePart
  7445.  
  7446. local Weld = Instance.new("Weld")
  7447. Weld.Part0 = Part
  7448. Weld.Part1 = ShirtTexturePart
  7449. Weld.Parent = ShirtTexturePart
  7450.  
  7451. ShirtTexturePart.Parent = Part
  7452. end
  7453. Part.Parent = R15Model
  7454. return Part
  7455. end
  7456.  
  7457.  
  7458. 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))
  7459. 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")
  7460. 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")
  7461. 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")
  7462. 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")
  7463. 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")
  7464. 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")
  7465. 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")
  7466. 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")
  7467. 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")
  7468. 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")
  7469. 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")
  7470. 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")
  7471. 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")
  7472. 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")
  7473. 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")
  7474.  
  7475. --if Character:WaitForChild("Head"):WaitForChild("Mesh").MeshId ~= "" then
  7476. -- Head.MeshId = Character.Head.Mesh.MeshId
  7477. --end
  7478.  
  7479. Character:WaitForChild("Animate").Disabled = false
  7480. local Anim = game:GetObjects("rbxassetid://401967017")[1]; print("aobj", tostring(Anim))
  7481. for i, v in pairs(Anim:GetChildren()) do
  7482. v.Parent = script
  7483. end
  7484. script.Parent = Character
  7485.  
  7486. local function Clear(Name,Alternative,ColorParts)
  7487. local Part = Character:WaitForChild(Name)
  7488. Part.Transparency = (Name == "Head" and 0.99 or 1)
  7489. local function ChildAdded(Ins)
  7490. delay(0.05,function()
  7491. if Ins.Name == "face" then
  7492. if Alternative:FindFirstChild("face") then Alternative:FindFirstChild("face"):Destroy() end
  7493. Ins.Parent = Alternative
  7494. elseif Ins:IsA("Motor6D") and string.sub(Ins.Name,1,5) ~= "Fake_" then
  7495. Ins.Name = "Fake_"..Ins.Name
  7496. elseif Ins.Name == "HeadWeld" then
  7497. delay(0.05,function()
  7498. Ins.Parent = Head
  7499. Ins.Part0 = Head
  7500. Ins.C1 = CFrame.new(0,0,0.05) * Ins.C1
  7501. end)
  7502. elseif not Ins:IsA("Weld") then
  7503. Ins:Destroy()
  7504. end
  7505. end)
  7506. end
  7507. for _,Sub in pairs(Part:GetChildren()) do
  7508. ChildAdded(Sub)
  7509. end
  7510. Part.ChildAdded:connect(ChildAdded)
  7511.  
  7512. local function Color()
  7513. for _,Sub in pairs(ColorParts) do
  7514. Sub.BrickColor = Part.BrickColor
  7515. local TexturePart = Sub:FindFirstChild("ShirtTexturePart")
  7516. if TexturePart then
  7517. TexturePart.BrickColor = Part.BrickColor
  7518. end
  7519. end
  7520. end
  7521. Color()
  7522. Part.Changed:connect(Color)
  7523. end
  7524.  
  7525. Clear("HumanoidRootPart",HumanoidRootPart,{HumanoidRootPart})
  7526. Clear("Head",Head,{Head})
  7527. Clear("Torso",nil,{LowerTorso,UpperTorso})
  7528. Clear("Left Arm",nil,{LeftLowerArm,LeftUpperArm,LeftHand})
  7529. Clear("Right Arm",nil,{RightLowerArm,RightUpperArm,RightHand})
  7530. Clear("Left Leg",nil,{LeftLowerLeg,LeftUpperLeg,LeftFoot})
  7531. Clear("Right Leg",nil,{RightLowerLeg,RightUpperLeg,RightFoot})
  7532.  
  7533. local ShirtUsed = false
  7534. local function ChildAdded(Ins)
  7535. if Ins:IsA("Hat") and string.sub(Ins.Name,1,7) ~= "Scaled_" then
  7536. delay(0.05,function()
  7537. local Mesh = Ins:WaitForChild("Handle"):WaitForChild("Mesh")
  7538. Ins.AttachmentPos = Ins.AttachmentPos
  7539. Mesh.Scale = Mesh.Scale
  7540. Ins.Name = "Scaled_"..Ins.Name
  7541. end)
  7542. elseif Ins:IsA("Shirt") then
  7543. ShirtUsed = true
  7544. LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  7545. UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  7546. LeftLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  7547. LeftUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  7548. LeftHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  7549. RightLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  7550. RightUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  7551. RightHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  7552. elseif Ins:IsA("Pants") then
  7553. LeftUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  7554. LeftLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  7555. LeftFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  7556. RightUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  7557. RightLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  7558. RightFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  7559. if LowerTorso.ShirtTexturePart.Mesh.TextureId == "" then
  7560. LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  7561. UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  7562. end
  7563. end
  7564. end
  7565.  
  7566. for _,Sub in pairs(Character:GetChildren()) do
  7567. ChildAdded(Sub)
  7568. end
  7569. Character.ChildAdded:connect(ChildAdded)
  7570. loadstring(Anim.Source)()
  7571. end
  7572. ConChar(game:service'Players'.LocalPlayer)
  7573. end
  7574.  
  7575. Init()]]
  7576. spawn(function() loadstring(rcode)() end)
  7577. end
  7578. cmd.util.size = function(p, size)
  7579. -- omfg thanks var
  7580. local pchar = p.Character
  7581. local function scale(chr,scl)
  7582.  
  7583. for _,v in pairs(pchar:GetChildren()) do
  7584. if v:IsA("Hat") then
  7585. v:Clone()
  7586. v.Parent = game.Lighting
  7587. end
  7588. end
  7589.  
  7590. local Head = chr['Head']
  7591. local Torso = chr['Torso']
  7592. local LA = chr['Left Arm']
  7593. local RA = chr['Right Arm']
  7594. local LL = chr['Left Leg']
  7595. local RL = chr['Right Leg']
  7596. local HRP = chr['HumanoidRootPart']
  7597.  
  7598. wait(0.1)
  7599.  
  7600. Head.formFactor = 3
  7601. Torso.formFactor = 3
  7602. LA.formFactor = 3
  7603. RA.formFactor = 3
  7604. LL.formFactor = 3
  7605. RL.formFactor = 3
  7606. HRP.formFactor = 3
  7607.  
  7608. Head.Size = Vector3.new(scl * 2, scl, scl)
  7609. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  7610. LA.Size = Vector3.new(scl, scl * 2, scl)
  7611. RA.Size = Vector3.new(scl, scl * 2, scl)
  7612. LL.Size = Vector3.new(scl, scl * 2, scl)
  7613. RL.Size = Vector3.new(scl, scl * 2, scl)
  7614. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  7615.  
  7616. local Motor1 = Instance.new('Motor6D', Torso)
  7617. Motor1.Part0 = Torso
  7618. Motor1.Part1 = Head
  7619. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  7620. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  7621. Motor1.Name = "Neck"
  7622.  
  7623. local Motor2 = Instance.new('Motor6D', Torso)
  7624. Motor2.Part0 = Torso
  7625. Motor2.Part1 = LA
  7626. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  7627. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  7628. Motor2.Name = "Left Shoulder"
  7629.  
  7630. local Motor3 = Instance.new('Motor6D', Torso)
  7631. Motor3.Part0 = Torso
  7632. Motor3.Part1 = RA
  7633. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  7634. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  7635. Motor3.Name = "Right Shoulder"
  7636.  
  7637. local Motor4 = Instance.new('Motor6D', Torso)
  7638. Motor4.Part0 = Torso
  7639. Motor4.Part1 = LL
  7640. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  7641. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  7642. Motor4.Name = "Left Hip"
  7643.  
  7644. local Motor5 = Instance.new('Motor6D', Torso)
  7645. Motor5.Part0 = Torso
  7646. Motor5.Part1 = RL
  7647. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  7648. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  7649. Motor5.Name = "Right Hip"
  7650.  
  7651. local Motor6 = Instance.new('Motor6D', HRP)
  7652. Motor6.Part0 = HRP
  7653. Motor6.Part1 = Torso
  7654. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  7655. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  7656.  
  7657. end
  7658.  
  7659. scale(pchar, size)
  7660.  
  7661. for _,v in pairs(game.Lighting:GetChildren()) do
  7662. if v:IsA("Hat") then
  7663. v.Parent = pchar
  7664. end
  7665. end
  7666. end
  7667. cmd.util.checktable = function(t, v)
  7668. for i, __ in pairs(t) do
  7669. if __ == v then
  7670. return true
  7671. end
  7672. end
  7673. return false
  7674. end
  7675. cmd.util.nextrgb = function(r, g, b)
  7676. local ar, ag, ab = r, g, b
  7677. if r == 255 and g < 255 and b == 0 then
  7678. ag = g + 8.5
  7679. end
  7680. if g == 255 and r > 0 and b == 0 then
  7681. ar = r - 8.5
  7682. end
  7683. if g == 255 and b < 255 and r == 0 then
  7684. ab = b + 8.5
  7685. end
  7686. if b == 255 and g > 0 and r == 0 then
  7687. ag = g - 8.5
  7688. end
  7689. if b == 255 and r < 255 and g == 0 then
  7690. ar = r + 8.5
  7691. end
  7692. if r == 255 and b > 0 and g == 0 then
  7693. ab = b - 8.5
  7694. end
  7695. return {ar, ag, ab}
  7696. end
  7697. -- ** interface ** --
  7698. game:GetService('UserInputService').InputBegan:connect(function(inp)
  7699. if inp.UserInputType == Enum.UserInputType.Keyboard then
  7700. if inp.KeyCode == Enum.KeyCode.Semicolon then
  7701. DistributedCmdBar:CaptureFocus()
  7702. end
  7703. end
  7704. end)
  7705.  
  7706. -- ** commands ** --
  7707. cmd.commands.store = {}
  7708. cmd.commands.fmtstore = {}
  7709.  
  7710. cmd.commands.register = function(cmdz, fmt, func)
  7711. cmd.commands.store[cmdz] = (function(str) coroutine.wrap(function() pcall(function() func(cmd.util.parse(str, fmt)) end) end)() end)
  7712. cmd.commands.fmtstore[cmdz] = fmt
  7713. end
  7714.  
  7715. cmd.commands.run = function(str)
  7716. local cmdz = cmd.util.pos(str, 1)
  7717. if not cmd.commands.store[cmdz] then
  7718. return nil
  7719. else
  7720. cmd.commands.store[cmdz](str)
  7721. end
  7722. end
  7723.  
  7724. -- // actual commands // --
  7725.  
  7726. cmd.commands.register('kill', 'cmd%plrs', function(args)
  7727. for i, v in pairs(args[2]) do
  7728. v.Character.Humanoid.Health = 0
  7729. end
  7730. end)
  7731.  
  7732. cmd.commands.register('clone', 'cmd%plrs', function(args)
  7733. for i, v in pairs(args[2]) do
  7734. v.Character.Archivable = true
  7735. local clone = v.Character:Clone()
  7736. clone.Parent = game.Workspace
  7737. clone:MoveTo(v.Character.Torso.Position)
  7738. end
  7739. end)
  7740.  
  7741. cmd.commands.register('damage', 'cmd%plrs%int', function(args)
  7742. for i, v in pairs(args[2]) do
  7743. v.Character.Humanoid:TakeDamage(args[3].data)
  7744. end
  7745. end)
  7746.  
  7747. cmd.commands.register('freeze', 'cmd%plrs', function(args)
  7748. for i, v in pairs(args[2]) do
  7749. v.Character.Torso.Anchored = true
  7750. end
  7751. end)
  7752.  
  7753. cmd.commands.register('thaw', 'cmd%plrs', function(args)
  7754. for i, v in pairs(args[2]) do
  7755. v.Character.Torso.Anchored = false
  7756. end
  7757. end)
  7758. Fly = false;
  7759. cmd.commands.register('fly', 'cmd', function(args)
  7760. if Fly == true then
  7761. Fly = false
  7762. return
  7763. end
  7764. Fly = true
  7765. local mouse=game.Players.LocalPlayer:GetMouse''
  7766. localplayer=game.Players.LocalPlayer
  7767. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  7768. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  7769. local speed=0
  7770. local keys={a=false,d=false,w=false,s=false}
  7771. local e1
  7772. local e2
  7773. local function start()
  7774. local pos = Instance.new("BodyPosition",torso)
  7775. local gyro = Instance.new("BodyGyro",torso)
  7776. pos.Name="EPIXPOS"
  7777. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  7778. pos.position = torso.Position
  7779. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  7780. gyro.cframe = torso.CFrame
  7781. repeat
  7782. wait()
  7783. localplayer.Character.Humanoid.PlatformStand=true
  7784. local new=gyro.cframe - gyro.cframe.p + pos.position
  7785. if not keys.w and not keys.s and not keys.a and not keys.d then
  7786. speed=1
  7787. end
  7788. if keys.w then
  7789. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  7790. speed=speed+0.01
  7791. end
  7792. if keys.s then
  7793. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  7794. speed=speed+0.01
  7795. end
  7796. if keys.d then
  7797. new = new * CFrame.new(speed,0,0)
  7798. speed=speed+0.01
  7799. end
  7800. if keys.a then
  7801. new = new * CFrame.new(-speed,0,0)
  7802. speed=speed+0.01
  7803. end
  7804. if speed>5 then
  7805. speed=5
  7806. end
  7807. pos.position=new.p
  7808. if keys.w then
  7809. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  7810. elseif keys.s then
  7811. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  7812. else
  7813. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  7814. end
  7815. until not Fly
  7816. if gyro then gyro:Destroy() end
  7817. if pos then pos:Destroy() end
  7818. flying=false
  7819. localplayer.Character.Humanoid.PlatformStand=false
  7820. speed=0
  7821. end
  7822. e1=mouse.KeyDown:connect(function(key)
  7823. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  7824. if key=="w" then
  7825. keys.w=true
  7826. elseif key=="s" then
  7827. keys.s=true
  7828. elseif key=="a" then
  7829. keys.a=true
  7830. elseif key=="d" then
  7831. keys.d=true
  7832. end
  7833. end)
  7834. e2=mouse.KeyUp:connect(function(key)
  7835. if key=="w" then
  7836. keys.w=false
  7837. elseif key=="s" then
  7838. keys.s=false
  7839. elseif key=="a" then
  7840. keys.a=false
  7841. elseif key=="d" then
  7842. keys.d=false
  7843. end
  7844. end)
  7845. start()
  7846. end)
  7847. cmd.commands.register('tp', 'cmd%plrs%plrs', function(args)
  7848. local players = args[2]
  7849. local target = args[3][1]
  7850. for i, player in pairs(args[2]) do
  7851. player.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  7852. end
  7853. end)
  7854.  
  7855. cmd.commands.register('naked', 'cmd%plrs', function(args)
  7856. for i, v in pairs(args[2]) do
  7857. v:ClearCharacterAppearance()
  7858. end
  7859. end)
  7860. cmd.commands.register('sgod', 'cmd%plrs', function(args)
  7861. for i, v in pairs(args[2]) do
  7862. v.Character.Humanoid.MaxHealth = 999999999
  7863. v.Character.Humanoid.Health = 999999999
  7864. end
  7865. end)
  7866.  
  7867. cmd.commands.register('ws', 'cmd%plrs%int', function(args)
  7868. for i, v in pairs(args[2]) do
  7869. v.Character.Humanoid.WalkSpeed = args[3].data
  7870. end
  7871. end)
  7872.  
  7873. cmd.commands.register('lag', 'cmd%plrs', function(args)
  7874. for i, v in pairs(args[2]) do
  7875. coroutine.wrap(function()
  7876. for i = 1, 200 do
  7877. ypcall(function()
  7878. coroutine.wrap(function()
  7879. for i = 1, 1000 do
  7880. Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  7881. end
  7882. end)()
  7883. end)
  7884. wait()
  7885. end
  7886. end)()
  7887. end
  7888. end)
  7889.  
  7890. cmd.commands.register('ban', 'cmd%plrs', function(args)
  7891. for i, v in pairs(args[2]) do
  7892. table.insert(cmd.bans, v.Name)
  7893. v.Parent = nil
  7894. end
  7895. end)
  7896.  
  7897. cmd.commands.register('lagban', 'cmd%plrs', function(args)
  7898. for i, v in pairs(args[2]) do
  7899. table.insert(cmd.lagbans, v.Name)
  7900. coroutine.wrap(function()
  7901. for i = 1, 200 do
  7902. ypcall(function()
  7903. coroutine.wrap(function()
  7904. for i = 1, 1000 do
  7905. Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  7906. end
  7907. end)()
  7908. end)
  7909. wait()
  7910. end
  7911. end)()
  7912. end
  7913. end)
  7914.  
  7915. cmd.commands.register('punish', 'cmd%plrs', function(args)
  7916. for i, v in pairs(args[2]) do
  7917. v.Character.Parent = game.Lighting
  7918. end
  7919. end)
  7920.  
  7921. cmd.commands.register('unpunish', 'cmd%plrs', function(args)
  7922. for i, v in pairs(args[2]) do
  7923. v.Character.Parent = game.Workspace
  7924. end
  7925. end)
  7926.  
  7927. cmd.commands.register('respawn', 'cmd%plrs', function(args)
  7928. for i, v in pairs(args[2]) do
  7929. local a1 = Instance.new("Model", game.Workspace)
  7930. local a2 = Instance.new("Part", game.Workspace)
  7931. a2.CanCollide = true
  7932. a2.Anchored = true
  7933. a2.CFrame = CFrame.new(10000, 10000, 10000)
  7934. a2.Name = "Torso"
  7935. local a3 = Instance.new("Humanoid", a1)
  7936. a3.MaxHealth=100;a3.Health=100
  7937. v.Character = a1
  7938. a3.Health=0
  7939. end
  7940. end)
  7941.  
  7942. cmd.commands.register('shutdown', 'cmd', function(args)
  7943. for i, v in pairs(cmd.service('Players'):GetPlayers()) do
  7944. v.Parent = nil
  7945. end
  7946. end)
  7947.  
  7948. cmd.commands.register('music', 'cmd%int', function(args)
  7949. local a = Instance.new("Sound")
  7950. a.SoundId = "rbxassetid://" .. tostring(args[2].data)
  7951. a.Looped = true
  7952. a.Volume = 1
  7953. a.Parent = game.Workspace
  7954. a:Play()
  7955.  
  7956. end)
  7957.  
  7958. cmd.commands.register('sit', 'cmd%plrs', function(args)
  7959. for i, v in pairs(args[2]) do
  7960. v.Character.Humanoid.Sit = true
  7961. end
  7962. end)
  7963.  
  7964. cmd.commands.register('jump', 'cmd%plrs', function(args)
  7965. for i, v in pairs(args[2]) do
  7966. v.Character.Humanoid.Jump = true
  7967. end
  7968. end)
  7969.  
  7970. cmd.commands.register('stun', 'cmd%plrs', function(args)
  7971. for i, v in pairs(args[2]) do
  7972. v.Character.Humanoid.PlatformStand = true
  7973. end
  7974. end)
  7975.  
  7976. cmd.commands.register('unstun', 'cmd%plrs', function(args)
  7977. for i, v in pairs(args[2]) do
  7978. v.Character.Humanoid.PlatformStand = false
  7979. end
  7980. end)
  7981.  
  7982. cmd.commands.register('loopstate', 'cmd%int', function(args)
  7983. coroutine.resume(coroutine.create(function()
  7984. repeat
  7985. ypcall(function() cmd.localplayer.Character.Humanoid:ChangeState(args[2].data) end)
  7986. wait(0)
  7987. until cmd.localplayer.Character.Humanoid == nil
  7988. end))
  7989. end)
  7990.  
  7991. cmd.commands.register('invis', 'cmd%plrs', function(args)
  7992. for i, v in pairs(args[2]) do
  7993. local function dloop(o)
  7994. for i, v in pairs(o:GetChildren()) do
  7995. pcall(function() v.Transparency = 1 end)
  7996. dloop(v)
  7997. end
  7998. end
  7999. dloop(v.Character)
  8000. end
  8001. end)
  8002.  
  8003. cmd.commands.register('vis', 'cmd%plrs', function(args)
  8004. for i, v in pairs(args[2]) do
  8005. local function dloop(o)
  8006. for i, v in pairs(o:GetChildren()) do
  8007. pcall(function() v.Transparency = 0 end)
  8008. dloop(v)
  8009. end
  8010. end
  8011. v.Character.HumanoidRootPart.Transparency = 1
  8012. dloop(v.Character)
  8013. end
  8014. end)
  8015.  
  8016. cmd.commands.register('nuke', 'cmd%plrs', function(args)
  8017. for i, v in pairs(args[2]) do
  8018. if v.Character then
  8019. local nuke = Instance.new("Part", game.Workspace)
  8020. nuke.Anchored = true
  8021. nuke.CanCollide = false
  8022. nuke.FormFactor = "Symmetric"
  8023. nuke.Shape = "Ball"
  8024. nuke.Size = Vector3.new(1,1,1)
  8025. nuke.BrickColor = BrickColor.new("New Yeller")
  8026. nuke.Transparency = 0.5
  8027. nuke.Reflectance = 0.2
  8028. nuke.TopSurface = 0
  8029. nuke.BottomSurface = 0
  8030. nuke.Touched:connect(function (hit)
  8031. if hit and hit.Parent then
  8032. local boom = Instance.new("Explosion", game.Workspace)
  8033. boom.Position = hit.Position
  8034. boom.BlastRadius = 11
  8035. boom.BlastPressure = math.huge
  8036. end
  8037. end)
  8038. local CF = v.Character.Torso.CFrame
  8039. nuke.CFrame = CF
  8040. for i = 1,333 do
  8041. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  8042. nuke.CFrame = CF
  8043. wait(1/44)
  8044. end
  8045. nuke:Destroy()
  8046. end
  8047. end
  8048. end)
  8049.  
  8050. cmd.commands.register('explode', 'cmd%plrs', function(args)
  8051. for i, v in pairs(args[2]) do
  8052. Instance.new("Explosion", v.Character.Torso).Position = v.Character.Torso.Position
  8053. end
  8054. end)
  8055.  
  8056. cmd.commands.register('hat', 'cmd%plrs%int', function(args)
  8057. for i, v in pairs(args[2]) do
  8058. cmd.service('InsertService'):LoadAsset(args[3].data):GetChildren()[1].Parent = v.Character
  8059. end
  8060. end)
  8061.  
  8062. cmd.commands.register('chat', 'cmd%plrs%inf', function(args)
  8063. for i, v in pairs(args[2]) do
  8064. game:GetService('Chat'):Chat(v.Character, args[3], 1)
  8065. end
  8066. end)
  8067.  
  8068. cmd.commands.register('god', 'cmd%plrs', function(args)
  8069. for i, v in pairs(args[2]) do
  8070. v.Character.Humanoid.MaxHealth = math.huge
  8071. v.Character.Humanoid.Health = math.huge
  8072. end
  8073. end)
  8074.  
  8075. cmd.commands.register('ungod', 'cmd%plrs', function(args)
  8076. for i, v in pairs(args[2]) do
  8077. v.Character.Humanoid.Health = 100
  8078. v.Character.Humanoid.MaxHealth = 100
  8079. end
  8080. end)
  8081.  
  8082. cmd.commands.register('rh', 'cmd%plrs', function(args)
  8083. for i, v in pairs(args[2]) do
  8084. v.Character.Humanoid.Parent = nil
  8085. end
  8086. end)
  8087.  
  8088. cmd.commands.register('fire', 'cmd%plrs', function(args)
  8089. for i, v in pairs(args[2]) do
  8090. Instance.new('Fire', v.Character.Torso)
  8091. end
  8092. end)
  8093.  
  8094. cmd.commands.register('insane', 'cmd%plrs', function(args)
  8095. for x, m in pairs(args[2]) do
  8096. for i,v in pairs(m.Character.Torso:GetChildren()) do
  8097. if v:IsA("Motor6D") then
  8098. coroutine.wrap(function()
  8099. while v do
  8100. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  8101. wait()
  8102. end
  8103. end)()
  8104. end
  8105. end
  8106. end
  8107. end)
  8108.  
  8109. cmd.commands.register('admin', 'cmd%plrs',function(args)
  8110. for i, v in pairs(args[2]) do
  8111. --table.insert(cmd.admins, v.Name)
  8112. v.Chatted:connect(function(msg)
  8113. if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  8114. cmd.commands.run(msg:sub(2, #msg))
  8115. end
  8116. end)
  8117. end
  8118. end)
  8119.  
  8120. cmd.commands.register('nosound', 'cmd', function(args)
  8121. local function dx(o)
  8122. for i, v in pairs(o:GetChildren()) do
  8123. if v:IsA("Sound") then
  8124. v:Stop()
  8125. end
  8126. dx(v)
  8127. end
  8128. end
  8129. dx(game.Workspace)
  8130. end)
  8131.  
  8132. cmd.commands.register('duck', 'cmd%plrs', function(args)
  8133. for _,p in pairs(args[2]) do
  8134. local pchar = p.Character
  8135. for i,v in pairs(pchar.Torso:GetChildren()) do
  8136. if v:IsA("Decal") then
  8137. v:Destroy()
  8138. end
  8139. end
  8140. for i,v in pairs(pchar:GetChildren()) do
  8141. if v:IsA("Hat") then
  8142. v:Destroy()
  8143. end
  8144. end
  8145. local duck = Instance.new("SpecialMesh", pchar.Torso)
  8146. duck.MeshType = "FileMesh"
  8147. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  8148. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  8149. duck.Scale = Vector3.new(5, 5, 5)
  8150. pchar.Head.Transparency = 1
  8151. pchar["Left Arm"].Transparency = 1
  8152. pchar["Right Arm"].Transparency = 1
  8153. pchar["Left Leg"].Transparency = 1
  8154. pchar["Right Leg"].Transparency = 1
  8155. pchar.Head.face.Transparency = 1
  8156. end
  8157. end)
  8158.  
  8159. cmd.commands.register('shrek', 'cmd%plrs', function(args)
  8160. for i, v in pairs(args[2]) do
  8161. local pchar = v.Character
  8162. for i,v in pairs(pchar:GetChildren()) do
  8163. if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  8164. v:Destroy()
  8165. end
  8166. end
  8167. for i,v in pairs(pchar.Head:GetChildren()) do
  8168. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  8169. v:Destroy()
  8170. end
  8171. end
  8172.  
  8173. local mesh = Instance.new("SpecialMesh", pchar.Head)
  8174. mesh.MeshType = "FileMesh"
  8175. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  8176. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  8177. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  8178.  
  8179. local Shirt = Instance.new("Shirt", v.Character)
  8180. local Pants = Instance.new("Pants", v.Character)
  8181.  
  8182. Shirt.ShirtTemplate = "rbxassetid://133078194"
  8183. Pants.PantsTemplate = "rbxassetid://133078204"
  8184. end
  8185. end)
  8186.  
  8187. cmd.commands.register('nograv', 'cmd%plrs', function(args)
  8188. for i, v in pairs(args[2]) do
  8189. for x, m in pairs(v.Character:GetChildren()) do
  8190. if m:IsA("BasePart") then
  8191. local bf = Instance.new("BodyForce", m)
  8192. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  8193. end
  8194. if m:IsA("Hat") then
  8195. if m:findFirstChild("Handle") then
  8196. local bf = Instance.new("BodyForce", m.Handle)
  8197. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  8198. end
  8199. end
  8200. end
  8201. end
  8202. end)
  8203.  
  8204. cmd.commands.register('loopheal', 'cmd%plrs', function(args)
  8205. for i, v in pairs(args[2]) do
  8206. coroutine.wrap(function()
  8207. while wait() do
  8208. if v.Character.Humanoid then
  8209. v.Character.Humanoid.Health = 1000
  8210. v.Character.Humanoid.MaxHealth = 1000
  8211. end
  8212. end
  8213. end)()
  8214. end
  8215. end)
  8216.  
  8217. cmd.commands.register('hulk', 'cmd%plrs', function(args)
  8218. for i, v in pairs(args[2]) do
  8219. cmd.util.hulk(v)
  8220. end
  8221. end)
  8222.  
  8223. cmd.commands.register('sky', 'cmd%int', function(args)
  8224. local ID = args[2].data
  8225. local sky = Instance.new("Sky", game.Lighting)
  8226. sky.SkyboxBk = "rbxassetid://" .. ID
  8227. sky.SkyboxDn = "rbxassetid://" .. ID
  8228. sky.SkyboxFt = "rbxassetid://" .. ID
  8229. sky.SkyboxLf = "rbxassetid://" .. ID
  8230. sky.SkyboxRt = "rbxassetid://" .. ID
  8231. sky.SkyboxUp = "rbxassetid://" .. ID
  8232. end)
  8233.  
  8234. cmd.commands.register('bombs', 'cmd%plrs', function(args)
  8235. cmd.util.BombVest(args[2])
  8236. end)
  8237.  
  8238. cmd.commands.register('control', 'cmd%plrs', function(args)
  8239. -- variable
  8240. local pchar = args[2][1].Character
  8241. local char = cmd.localplayer.Character
  8242. pchar.Humanoid.PlatformStand = true
  8243. local w = Instance.new("Weld", pchar.Torso)
  8244. w.Part0 = pchar.Torso
  8245. w.Part1 = pchar.Torso
  8246. local w2 = Instance.new("Weld", pchar.Head)
  8247. w2.Part0 = pchar.Head
  8248. w2.Part1 = pchar.Head
  8249. local w3 = Instance.new("Weld", pchar:findFirstChild("Right Arm"))
  8250. w3.Part0 = pchar:findFirstChild("Right Arm")
  8251. w3.Part1 = pchar:findFirstChild("Right Arm")
  8252. local w4 = Instance.new("Weld", pchar:findFirstChild("Left Arm"))
  8253. w4.Part0 = pchar:findFirstChild("Left Arm")
  8254. w4.Part1 = pchar:findFirstChild("Left Arm")
  8255. local w5 = Instance.new("Weld", pchar:findFirstChild("Right Leg"))
  8256. w5.Part0 = pchar:findFirstChild("Right Leg")
  8257. w5.Part1 = pchar:findFirstChild("Right Leg")
  8258. local w6 = Instance.new("Weld", pchar:findFirstChild("Left Leg"))
  8259. w6.Part0 = pchar:findFirstChild("Left Leg")
  8260. w6.Part1 = pchar:findFirstChild("Left Leg")
  8261. char.Head.face:Destroy()
  8262. for i,v in pairs(pchar:GetChildren()) do
  8263. if v:IsA("BasePart") then
  8264. v.CanCollide = false
  8265. end
  8266. end
  8267. for i,v in pairs(char:GetChildren()) do
  8268. if v:IsA("BasePart") then
  8269. v.Transparency = 1
  8270. elseif v:IsA("Hat") then
  8271. v:Destroy()
  8272. end
  8273. end
  8274. pchar.Parent = char
  8275. repeat
  8276. pchar.Humanoid.PlatformStand = true
  8277. wait()
  8278. until char.Parent == nil
  8279. end)
  8280.  
  8281. cmd.commands.register('rtag', 'cmd%inf', function(args)
  8282. local len = 10; local player = cmd.localplayer
  8283. local bb = Instance.new("BillboardGui")
  8284. bb.Parent = player.Character.Head
  8285. bb.Adornee = player.Character.Head
  8286. bb.AlwaysOnTop = true
  8287. bb.Enabled = true
  8288. bb.Size = UDim2.new(len, 0, 1.5, 0)
  8289. bb.Name = "tag"
  8290. bb.StudsOffset = Vector3.new(0, 3, 0)
  8291. --local fr = Instance.new("Frame")
  8292. --fr.Parent = bb
  8293. --fr.Size = UDim2.new(1, 0, 1, 0)
  8294. --fr.Style = Enum.FrameStyle.RobloxRound
  8295. local tl = Instance.new("TextLabel")
  8296. tl.Parent = bb
  8297. tl.BackgroundTransparency = 1
  8298. tl.TextScaled = true
  8299. tl.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  8300. tl.Size = UDim2.new(1, 0, 1, 0)
  8301. tl.Text = args[2]
  8302. tl.Name = "trutag"
  8303. tl.Visible = true
  8304. tl.ZIndex = 2
  8305. coroutine.wrap(function()
  8306. local r, g, b = 255, 0, 0
  8307. repeat
  8308. tl.TextColor3 = Color3.new(r/255, g/255, b/255)
  8309. local bo = cmd.util.nextrgb(r, g, b)
  8310. r = bo[1]; g = bo[2]; b = bo[3];
  8311. wait()
  8312. until bb == nil
  8313. end)()
  8314. end)
  8315.  
  8316. cmd.commands.register('smoke', 'cmd%plrs', function(args)
  8317. for i, v in pairs(args[2]) do
  8318. Instance.new('Smoke', v.Character.Torso)
  8319. end
  8320. end)
  8321.  
  8322. cmd.commands.register('btools', 'cmd%plrs', function(args)
  8323. for i, p in pairs(args[2]) do
  8324. local a = Instance.new("HopperBin")
  8325. a.BinType = "GameTool"
  8326. a.Parent = p.Backpack
  8327. local a = Instance.new("HopperBin")
  8328. a.BinType = "Clone"
  8329. a.Parent = p.Backpack
  8330. local a = Instance.new("HopperBin")
  8331. a.BinType = "Hammer"
  8332. a.Parent = p.Backpack
  8333. end
  8334. end)
  8335.  
  8336. con = nil;
  8337. cmd.commands.register('noclip', 'cmd', function(args)
  8338. cmd.noclip = false
  8339. con = game:GetService('RunService').Stepped:connect(function()
  8340. if cmd.noclip == true then
  8341. con:disconnect()
  8342. else
  8343. cmd.localplayer.Character.Torso.CanCollide = false
  8344. cmd.localplayer.Character.Head.CanCollide = false
  8345. end
  8346. end)
  8347. end)
  8348.  
  8349. cmd.commands.register('clip', 'cmd', function(args)
  8350. cmd.noclip = true
  8351. end)
  8352.  
  8353. cmd.commands.register('gear', 'cmd%plrs%int', function(args)
  8354. local gear = game:GetService("InsertService"):LoadAsset(args[3].data):GetChildren()[1]
  8355. if not gear then return end
  8356. for i, v in pairs(args[2]) do
  8357. gear:Clone().Parent = v.Backpack
  8358. end
  8359. end)
  8360.  
  8361. cmd.commands.register('kick', 'cmd%plrs', function(args)
  8362. for i, v in pairs(args[2]) do
  8363. v.Parent = nil
  8364. end
  8365. end)
  8366.  
  8367. cmd.commands.register('r15', 'cmd', function(args)
  8368. cmd.util.R15()
  8369. end)
  8370.  
  8371. cmd.commands.register('char', 'cmd%plrs%str', function(args)
  8372. if tonumber(args[3].data) ~= nil then
  8373. args[3].data = tonumber(args[3].data)
  8374. else
  8375. args[3].data = cmd.players:GetUserIdFromNameAsync(args[3].data)
  8376. end
  8377. for i, v in pairs(args[2]) do
  8378. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=' .. args[3].data
  8379. pcall(function() v.Character.Humanoid.Health = 0 end)
  8380. end
  8381. end)
  8382.  
  8383. cmd.commands.register('noob', 'cmd%plrs', function(args)
  8384. for i, v in pairs(args[2]) do
  8385. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=4'
  8386. pcall(function() v.Character.Humanoid.Health = 0 end)
  8387. end
  8388. end)
  8389.  
  8390. cmd.commands.register('ff', 'cmd%plrs', function(args)
  8391. for i, v in pairs(args[2]) do
  8392. Instance.new("ForceField", v.Character)
  8393. end
  8394. end)
  8395.  
  8396. cmd.commands.register('unff', 'cmd%plrs', function(args)
  8397. for i, v in pairs(args[2]) do
  8398. for x, m in pairs(v.Character:GetChildren()) do
  8399. if m:IsA("ForceField") then
  8400. m.Parent = nil
  8401. end
  8402. end
  8403. end
  8404. end)
  8405.  
  8406. cmd.commands.register('guest', 'cmd%plrs', function(args)
  8407. for i, v in pairs(args[2]) do
  8408. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=1'
  8409. pcall(function() v.Character.Humanoid.Health = 0 end)
  8410. end
  8411. end)
  8412.  
  8413. cmd.commands.register('giraffe', 'cmd%plrs', function(args)
  8414. for i, v in pairs(args[2]) do
  8415. local char=v.Character
  8416. local h=char.Head
  8417. local tor=char.Torso
  8418. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  8419. local fn=Instance.new("Part",char)
  8420. fn.Size=Vector3.new(1,5.5,1)
  8421. fn.Name="FakeNeck"
  8422. fn.Anchored=false
  8423. fn.CanCollide=false
  8424. if char:FindFirstChild("Body Colors") then
  8425. fn.BrickColor=char["Body Colors"].HeadColor
  8426. end
  8427. local cm=Instance.new("CylinderMesh",fn)
  8428. local we=Instance.new("Weld",h)
  8429. we.Part0=h
  8430. we.Part1=fn
  8431. we.C1=we.C1*CFrame.new(0,2.6,0)
  8432. end
  8433. end)
  8434.  
  8435. cmd.commands.register('notools', 'cmd%plrs', function(args)
  8436. for i, v in pairs(args[2]) do
  8437. for x, m in pairs(v.Backpack:GetChildren()) do
  8438. m.Parent = nil
  8439. end
  8440. end
  8441. end)
  8442.  
  8443. cmd.commands.register('taketools', 'cmd%plrs', function(args)
  8444. for i, v in pairs(args[2]) do
  8445. for x, m in pairs(v.Backpack:GetChildren()) do
  8446. m.Parent = cmd.localplayer.Backpack
  8447. end
  8448. end
  8449. end)
  8450.  
  8451. cmd.commands.register('confuse', 'cmd%plrs', function(args)
  8452. for i, v in pairs(args[2]) do
  8453. v.Character.Humanoid.WalkSpeed = -16
  8454. end
  8455. end)
  8456.  
  8457. cmd.commands.register('spin', 'cmd%plrs', function(args)
  8458. for i, v in pairs(args[2]) do
  8459. for i,v in pairs(v.Character.Torso:GetChildren()) do
  8460. if v.Name == "Spinning" then
  8461. v:Destroy()
  8462. end
  8463. end
  8464. local Torso = v.Character.Torso
  8465. local BG = Instance.new("BodyGyro", Torso)
  8466. BG.Name = "Spinning"
  8467. BG.maxTorque = Vector3.new(0, math.huge, 0)
  8468. BG.P = 11111
  8469. BG.cframe = Torso.CFrame
  8470. repeat wait(1/44)
  8471. BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  8472. until not BG or BG.Parent ~= Torso
  8473. end
  8474. end)
  8475.  
  8476. cmd.commands.register('fling', 'cmd%plrs', function(args)
  8477. for i, v in pairs(args[2]) do
  8478. local pchar = v.Character
  8479. if pchar:FindFirstChild("Humanoid") then
  8480. local xran
  8481. local zran
  8482. repeat
  8483. xran = math.random(-9999,9999)
  8484. until math.abs(xran) >= 5555
  8485. repeat
  8486. zran = math.random(-9999,9999)
  8487. until math.abs(zran) >= 5555
  8488. pchar.Humanoid.Sit = true
  8489. pchar.Torso.Velocity = Vector3.new(0,0,0)
  8490. local BF = Instance.new("BodyForce", pchar.Torso)
  8491. BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  8492. end
  8493. end
  8494. end)
  8495.  
  8496. cmd.commands.register('burn', 'cmd%plrs', function(args)
  8497. for i, v in pairs(args[2]) do
  8498. spawn(function()
  8499. wait(0.1)
  8500. local fire=Instance.new("Fire", v.Character.Torso)
  8501. wait(0.1)
  8502. local fire=Instance.new("Fire", v.Character.Head)
  8503. wait(0.1)
  8504. local fire=Instance.new("Fire", v.Character["Left Arm"])
  8505. wait(0.1)
  8506. local fire=Instance.new("Fire", v.Character["Right Leg"])
  8507. wait(0.5)
  8508. v.Character:BreakJoints();
  8509. end)
  8510. end
  8511. end)
  8512.  
  8513. cmd.commands.register('printcmds', 'cmd', function(args)
  8514. for i, v in pairs(cmd.commands.store) do
  8515. print(i, '==', v)
  8516. end
  8517. end)
  8518.  
  8519. cmd.commands.register('gun', 'cmd%plrs', function(args)
  8520. local a = game:GetService("InsertService"):LoadAsset(130113146):GetChildren()[1]
  8521. local b = game:GetService("InsertService"):LoadAsset(67747912):GetChildren()[1]
  8522. local c = game:GetService("InsertService"):LoadAsset(95354288):GetChildren()[1]
  8523. for i, v in pairs(args[2]) do
  8524. a:Clone().Parent = v.Backpack
  8525. b:Clone().Parent = v.Backpack
  8526. c:Clone().Parent = v.Backpack
  8527. end
  8528. end)
  8529.  
  8530.  
  8531. cmd.commands.register('goto', 'cmd%plrs', function(args)
  8532. local target = args[2][1]
  8533. cmd.localplayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  8534. end)
  8535.  
  8536. cmd.commands.register('select', 'cmd%plrs', function(args)
  8537. for i, v in pairs(args[2]) do
  8538. Instance.new("SelectionBox", v.Character).Adornee = v.Character
  8539. end
  8540. end)
  8541.  
  8542. cmd.commands.register('sphere', 'cmd%plrs', function(args)
  8543. for i, v in pairs(args[2]) do
  8544. Instance.new("SelectionSphere", v.Character).Adornee = v.Character
  8545. end
  8546. end)
  8547.  
  8548. cmd.commands.register('bring', 'cmd%plrs', function(args)
  8549. for i, v in pairs(args[2]) do
  8550. v.Character.HumanoidRootPart.CFrame = cmd.localplayer.Character.HumanoidRootPart.CFrame
  8551. end
  8552. end)
  8553.  
  8554. cmd.commands.register('knife', 'cmd%plrs', function(args)
  8555. local knife = game:GetService("InsertService"):LoadAsset(170897263):GetChildren()[1]
  8556. for i, v in pairs(args[2]) do
  8557. knife:Clone().Parent = v
  8558. end
  8559. end)
  8560.  
  8561. cmd.commands.register('shades', 'cmd%plrs', function(args)
  8562. local shades = game:GetService('InsertService'):LoadAsset(11748356):GetChildren()[1]
  8563. for i, v in pairs(args[2]) do
  8564. shades:Clone().Parent = v.Character
  8565. end
  8566. end)
  8567.  
  8568. cmd.commands.register('alien', 'cmd%plrs', function(args)
  8569. -- variable
  8570. for i, v in pairs(args[2]) do
  8571. local pchar = v.Character
  8572. if pchar:FindFirstChild('Shirt') then
  8573. pchar.Shirt:Destroy()
  8574. end
  8575. if pchar:FindFirstChild('Pants') then
  8576. pchar.Pants:Destroy()
  8577. end
  8578. if pchar:FindFirstChild('Shirt Graphic') then
  8579. pchar['Shirt Graphic'].Graphic = ''
  8580. end
  8581. for i,v in pairs(pchar:GetChildren()) do
  8582. if v:IsA('Hat') then
  8583. v:Destroy()
  8584. end
  8585. end
  8586. local ayy2 = game:GetObjects("rbxassetid://397033642")[1]
  8587. ayy2.Parent = pchar
  8588. local BC = pchar['Body Colors']
  8589. BC.HeadColor = BrickColor.new('Fossil')
  8590. BC.LeftArmColor = BrickColor.new('Fossil')
  8591. BC.LeftLegColor = BrickColor.new('Fossil')
  8592. BC.RightArmColor = BrickColor.new('Fossil')
  8593. BC.RightLegColor = BrickColor.new('Fossil')
  8594. BC.TorsoColor = BrickColor.new('Fossil')
  8595. end
  8596. end)
  8597.  
  8598. cmd.commands.register('team', 'cmd%plrs%str', function(args)
  8599. for i, v in pairs(args[2]) do
  8600. for x, m in pairs(game:GetService('Teams'):GetTeams()) do
  8601. if (m.Name):lower():sub(1, #args[3].data) == (args[3].data):lower() then
  8602. v.TeamColor = m.TeamColor
  8603. end
  8604. end
  8605. end
  8606. end)
  8607.  
  8608. cmd.commands.register('particles', 'cmd%plrs%int', function(args)
  8609. for i, v in pairs(args[2]) do
  8610. Instance.new("ParticleEmitter", v.Character).Texture = args[3].data
  8611. end
  8612. end)
  8613.  
  8614. cmd.commands.register('ghost', 'cmd%plrs', function(args)
  8615. for i, v in pairs(args[2]) do
  8616. local pchar = v.Character
  8617. pchar.Head.Transparency = 0.5
  8618. pchar.Torso.Transparency = 0.5
  8619. pchar["Left Arm"].Transparency = 0.5
  8620. pchar["Right Arm"].Transparency = 0.5
  8621. pchar["Left Leg"].Transparency = 0.5
  8622. pchar["Right Leg"].Transparency = 0.5
  8623. pchar.Head.face.Transparency = 0.5
  8624. end
  8625. end)
  8626.  
  8627. cmd.commands.register('firstperson', 'cmd%plrs', function(args)
  8628. for i, v in pairs(args[2]) do
  8629. v.CameraMode = Enum.CameraMode.LockFirstPerson
  8630. end
  8631. end)
  8632.  
  8633. cmd.commands.register('creeper', 'cmd%plrs', function(args)
  8634. for i, v in pairs(args[2]) do
  8635. local pchar = v.Character
  8636. if pchar then
  8637. if pchar:FindFirstChild("Shirt") then
  8638. pchar.Shirt.Parent = pchar.Torso
  8639. end
  8640. if pchar:FindFirstChild("Pants") then
  8641. pchar.Pants.Parent = pchar.Torso
  8642. end
  8643. if pchar:FindFirstChild("Shirt Graphic") then
  8644. pchar["Shirt Graphic"].Graphic = ""
  8645. end
  8646. for i,v in pairs(pchar:GetChildren()) do
  8647. if v:IsA("Hat") then
  8648. v:Destroy()
  8649. end
  8650. end
  8651. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  8652. pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  8653. pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  8654. pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  8655. pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  8656. pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  8657. pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  8658. pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  8659. pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  8660. pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  8661. pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  8662. end
  8663. end
  8664. end)
  8665.  
  8666. cmd.commands.register('insert', 'cmd%int', function(args)
  8667. local m = cmd.service('InsertService'):LoadAsset(args[2].data)
  8668. m.Parent = game.Workspace
  8669. m:MoveTo(cmd.localplayer.Character.Torso.Position)
  8670. m:MakeJoints()
  8671. end)
  8672.  
  8673. cmd.commands.register('nolimbs', 'cmd%plrs', function(args)
  8674. for i, v in pairs(game.Players:GetPlayers()) do
  8675. v.Character['Right Leg'].Parent = nil
  8676. v.Character['Left Leg'].Parent = nil
  8677. v.Character['Right Arm'].Parent = nil
  8678. v.Character['Left Arm'].Parent = nil
  8679. end
  8680. end)
  8681.  
  8682. cmd.commands.register('recurseremove', 'cmd%str', function(args)
  8683. local function a(o)
  8684. for i,v in pairs(o:GetChildren()) do
  8685. if v:IsA(args[2].data) then
  8686. v.Parent=nil
  8687. end
  8688. a(v)
  8689. end
  8690. end
  8691. a(game.Workspace)
  8692. end)
  8693.  
  8694. cmd.commands.register('name', 'cmd%plrs%inf', function(args)
  8695. for i, v in pairs(args[2]) do
  8696. local tchar = v.Character
  8697. for x, m in pairs(tchar:GetChildren()) do
  8698. if m:FindFirstChild('nm') then
  8699. m.Parent = nil
  8700. end
  8701. end
  8702. tchar.Name = ''
  8703. local ntag = Instance.new("Model", tchar)
  8704. ntag.Name = args[3]
  8705. local nhead = tchar.Head:Clone()
  8706. nhead.Parent = ntag
  8707. local nhum = Instance.new("Humanoid", ntag)
  8708. nhum.MaxHealth = 0
  8709. nhum.Health = 0
  8710. nhum.Name = 'nm'
  8711. local nweld = Instance.new("Weld", nhead)
  8712. nweld.Part0 = nhead
  8713. nweld.Part1 = tchar.Head
  8714. end
  8715. end)
  8716.  
  8717. cmd.commands.register('track', 'cmd%plrs%inf', function(args)
  8718. for i, v in pairs(args[2]) do
  8719. local tchar = v.Character
  8720. for x, m in pairs(tchar:GetChildren()) do
  8721. if m:FindFirstChild('nm') then
  8722. m.Parent = nil
  8723. end
  8724. end
  8725. tchar.Name = ''
  8726. local ntag = Instance.new("Model", workspace.CurrentCamera)
  8727. ntag.Name = v.Name
  8728. local nhead = tchar.Head:Clone()
  8729. nhead.Parent = ntag
  8730. local nhum = Instance.new("Humanoid", ntag)
  8731. nhum.MaxHealth = 0
  8732. nhum.Health = 0
  8733. nhum.Name = 'nm'
  8734. local nweld = Instance.new("Weld", nhead)
  8735. nweld.Part0 = nhead
  8736. nweld.Part1 = tchar.Head
  8737. end
  8738. end)
  8739.  
  8740. cmd.commands.register('rname', 'cmd%plrs', function(args)
  8741. local player = cmd.localplayer
  8742. player.Neutral = false
  8743. repeat
  8744. wait()
  8745. player.TeamColor = BrickColor.Random()
  8746. until not player.Character.Humanoid
  8747. end)
  8748.  
  8749. cmd.commands.register('fogend', 'cmd%int', function(args)
  8750. game.Lighting.FogEnd = args[2].data
  8751. end)
  8752.  
  8753. cmd.commands.register('fogstart', 'cmd%int', function(args)
  8754. game.Lighting.FogStart = args[2].data
  8755. end)
  8756.  
  8757. cmd.commands.register('time', 'cmd%int', function(args)
  8758. game.Lighting:SetMinutesAfterMidnight(60 * args[2].data)
  8759. end)
  8760.  
  8761. cmd.commands.register('ambient', 'cmd%int%int%int', function(args)
  8762. game.Lighting.Ambient = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  8763. end)
  8764.  
  8765. cmd.commands.register('fogcolor', 'cmd%int%int%int', function(args)
  8766. game.Lighting.FogColor = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  8767. end)
  8768.  
  8769. cmd.commands.register('sword', 'cmd%plrs', function(args)
  8770. local sword = game:GetService('InsertService'):LoadAsset(125013769):GetChildren()[1]
  8771. for i, v in pairs(args[2]) do
  8772. sword:Clone().Parent = v.Backpack
  8773. end
  8774. end)
  8775.  
  8776. cmd.commands.register('paranoid', 'cmd%plrs', function(args)
  8777. for i, v in pairs(cmd.localplayer.Character:GetChildren()) do
  8778. if v:IsA("BasePart") then
  8779. v.Anchored = true
  8780. end
  8781. end
  8782. end)
  8783.  
  8784. cmd.commands.register('size', 'cmd%plrs%int', function(args)
  8785. for i, v in pairs(args[2]) do
  8786. cmd.util.size(v, args[3].data)
  8787. end
  8788. end)
  8789.  
  8790. cmd.commands.register('unlockws', 'cmd%plrs', function(args)
  8791. local function dloop(o)
  8792. for i, v in pairs(o:GetChildren()) do
  8793. if v:IsA("BasePart") then
  8794. v.Anchored = false
  8795. end
  8796. if v:IsA("Model") then
  8797. v:BreakJoints()
  8798. end
  8799. dloop(v)
  8800. end
  8801. end
  8802. dloop(game.Workspace)
  8803. end)
  8804.  
  8805. cmd.commands.register('change', 'cmd%plrs%str%inf', function(args)
  8806. for i, v in pairs(args[2]) do
  8807. if v:FindFirstChild("leaderstats") then
  8808. if v.leaderstats:FindFirstChild(args[3].data) then
  8809. if v.leaderstats[args[3].data]:IsA("StringValue") then
  8810. v.leaderstats[args[3].data].Value = args[4]
  8811. end
  8812. if v.leaderstats[args[3].data]:IsA("NumberValue") or v.leaderstats[args[3].data]:IsA("IntValue") then
  8813. print(args[4])
  8814. if tonumber(args[4]) ~= nil then
  8815. v.leaderstats[args[3].data].Value = tonumber(args[4])
  8816. end
  8817. end
  8818. end
  8819. end
  8820. end
  8821. end)
  8822.  
  8823. ---------------------------
  8824.  
  8825. -- ** init ** --
  8826.  
  8827. local count = 0
  8828. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  8829.  
  8830. warn("loaded nosyliam's cmdscript [a]")
  8831. warn(tostring(count).." commands")
  8832.  
  8833. DistributedCmdBar.FocusLost:connect(function(e)
  8834. if e == true then
  8835. cmd.commands.run(DistributedCmdBar.Text)
  8836. DistributedCmdBar.Text = ''
  8837. end
  8838. end)
  8839.  
  8840. --PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
  8841. -- if cmd.util.isadmin(plr.Name) then
  8842. -- if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  8843. -- cmd.commands.run(msg:sub(2, #msg))
  8844. -- end
  8845. -- end
  8846. -- end)
  8847. end
  8848. topkek.navigation.buildHomePage = function()
  8849. local count = 0
  8850. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  8851. local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
  8852. hook:drawText(1, 'T0PK3K 4.0 ex-7 edition by TheMichalos')
  8853. hook:drawText(1, 'Patch version 1.0.5')
  8854. hook:drawText(1, 'Commandbase patch version 1.0.0')
  8855. hook:drawText(1, 'Number of commands: ' .. tostring(count))
  8856. local stime = hook:drawText(1, 'Server Time: 0')
  8857. spawn(function()
  8858. while true do
  8859. stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
  8860. wait(0.5)
  8861. end
  8862. end)
  8863. local ssz = hook:drawText(1, 'Server Size: 0')
  8864. spawn(function()
  8865. while true do
  8866. ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
  8867. wait(0.5)
  8868. end
  8869. end)
  8870. local fe = game:GetService('Workspace').FilteringEnabled
  8871. hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
  8872. hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
  8873. hook:drawText(1, 'same', 55)
  8874. end
  8875. topkek.navigation.buildContainers = function()
  8876. for _, v in pairs(topkek.data.windows) do
  8877. topkek.tools.gui:makeContainer(v)
  8878. end
  8879. end
  8880.  
  8881. topkek.navigation.initCommandBar()
  8882. topkek.navigation.buildContainers()
  8883. topkek.navigation.buildTopbar()
  8884. topkek.navigation.buildHomePage()
  8885. wait()
  8886.  
  8887.  
  8888. --// actual code below lole //--
  8889.  
  8890. --// PLAYERS //--
  8891. local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
  8892. local search = plrwin:drawButton(1, '', function()end)
  8893. drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
  8894. function fixPlayerDrop()
  8895. local t = {'All'}
  8896. for i, v in pairs(game.Players:GetPlayers()) do
  8897. table.insert(t, v.Name)
  8898. end
  8899. drop.SetTable(t)
  8900. end
  8901. game.Players.PlayerAdded:connect(function()
  8902. fixPlayerDrop()
  8903. end)
  8904. game.Players.PlayerRemoving:connect(function()
  8905. fixPlayerDrop()
  8906. end)
  8907. plrFrame = plrwin:drawContainer(1, 100)
  8908. headshotContainer = plrFrame:drawContainer(0.4, 94, true)
  8909. headshotContainer:setDrawY(20)
  8910. headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
  8911. headshotContainer:setDrawY(0)
  8912. userNameText = headshotContainer:drawText(1, "[All]")
  8913. userNameText.ClipsDescendants = true
  8914. userNameText.Font = Enum.Font.SourceSansBold
  8915. infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
  8916. infoContainer.BackgroundColor3 = color3(108, 38, 38)
  8917. userIdText = infoContainer:drawText(1, "ID: 0")
  8918. userAgeText = infoContainer:drawText(1, "Age: 0")
  8919. userTeamText = infoContainer:drawText(1, "Team: Neutral")
  8920. cval = 'All'
  8921. fixPlayerDrop()
  8922.  
  8923. function updatePlayer(plri)
  8924. local plr = game:GetService('Players'):FindFirstChild(plri)
  8925. if not plr and plri ~= 'All' then
  8926. print("Couldn't find player!")
  8927. updatePlayer(topkek.lplr)
  8928. else
  8929. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
  8930. userNameText.Text = "[All]"
  8931. userIdText.Text = 'ID: [multiple]'
  8932. userAgeText.Text = 'Age: [multiple]'
  8933. userTeamText.Text = 'Team: [multiple]'
  8934. cval = 'All'
  8935. end
  8936. local team = plr.TeamColor
  8937. if team == nil then
  8938. team = 'Neutral'
  8939. else
  8940. team = tostring(team)
  8941. end
  8942. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
  8943. userNameText.Text = plr.Name
  8944. userIdText.Text = 'ID: ' .. tostring(plr.UserId)
  8945. userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
  8946. userTeamText.Text = 'Team: ' .. team
  8947. cval = plr.Name
  8948.  
  8949. end
  8950. drop.Changed(updatePlayer)
  8951. --actual code ------__-
  8952. plrwin:addSpacing()
  8953. plrwin:drawButton(1/2, 'Kick', function()
  8954. tk.dp(cval, function(p)
  8955. topkek.banmgr.executeKick(p)
  8956. end)
  8957. end)
  8958.  
  8959. plrwin:drawButton(1/2, 'Ban', function()
  8960. tk.dp(cval, function(p)
  8961. topkek.banmgr.addSoftBan(p)
  8962. end)
  8963. end)
  8964. plrwin:drawButton(1/2,'Friendlag', function()
  8965. tk.dp(cval, function(p)
  8966. for i = 1, 10 do
  8967. spawn(function()
  8968. while wait() do
  8969. game.Players.LocalPlayer:RequestFriendship(p)
  8970. game.Players.LocalPlayer:RevokeFriendship(p)
  8971. end
  8972. end)
  8973. end
  8974. end)
  8975. end)
  8976. plrwin:drawButton(1/2, 'Hardban', function()
  8977. tk.dp(cval, function(p)
  8978. topkek.banmgr.addHardBan(p)
  8979. end)
  8980. end)
  8981. plrwin:addSpacing()
  8982. plrwin:drawButton(1/2, 'Bring', function()
  8983. tk.dp(cval, function(z)
  8984. if z.Character then
  8985. z.Character.HumanoidRootPart.CFrame =
  8986. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  8987. end
  8988. end)
  8989. end)
  8990. plrwin:drawButton(1/2, 'Goto', function()
  8991. tk.dp(cval, function(z)
  8992. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
  8993. z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  8994. end)
  8995. end)
  8996. plrwin:addSpacing()
  8997. plrwin:drawButton(1/3, 'Kill', function()
  8998. tk.dp(cval, function(p)
  8999. if p.Character and p.Character:FindFirstChild("Humanoid") then
  9000. p.Character.Humanoid.Health = 0
  9001. end
  9002. end)
  9003. end)
  9004. plrwin:drawButton(1/3, 'Seizure', function()
  9005. tk.dp(cval, function(p)
  9006. if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
  9007. spawn(function()
  9008. p.Character.Humanoid.PlatformStand = true
  9009. tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0)
  9010. repeat
  9011. wait()
  9012. p.Character.Humanoid.PlatformStand = true
  9013. tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  9014. tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  9015. until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
  9016. end)
  9017. end
  9018. end)
  9019. end)
  9020. plrwin:drawButton(1/3, 'Stun', function()
  9021. tk.dp(cval, function(p)
  9022. if p.Character and p.Character:FindFirstChild("Humanoid") then
  9023. p.Character.Humanoid.PlatformStand = true
  9024. p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  9025. end
  9026. end)
  9027. end)
  9028. plrwin:drawButton(1/3, 'Freeze', function()
  9029. tk.dp(cval, function(p)
  9030. if p.Character then
  9031. tk.gt(p).Anchored = true
  9032. end
  9033. end)
  9034. end)
  9035. plrwin:drawButton(1/3, 'Thaw', function()
  9036. tk.dp(cval, function(p)
  9037. if p.Character then
  9038. tk.gt(p).Anchored = false
  9039. end
  9040. end)
  9041. end)
  9042. plrwin:drawButton(1/3, 'Superslow', function()
  9043. tk.dp(cval, function(p)
  9044. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9045. p.Character.Humanoid.WalkSpeed = 1
  9046. end
  9047. end)
  9048. end)
  9049. plrwin:drawButton(1/3, 'Highjump', function()
  9050. tk.dp(cval, function(p)
  9051. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9052. p.Character.Humanoid.JumpPower = 125
  9053. end
  9054. end)
  9055. end)
  9056. plrwin:drawButton(1/3, 'God', function()
  9057. tk.dp(cval, function(p)
  9058. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9059. p.Character.Humanoid.MaxHealth = math.huge
  9060. p.Character.Humanoid.Health = math.huge
  9061. end
  9062. end)
  9063. end)
  9064. plrwin:drawButton(1/3, 'Semigod', function()
  9065. tk.dp(cval, function(p)
  9066. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9067. p.Character.Humanoid.MaxHealth = 9e9
  9068. p.Character.Humanoid.Health = 9e9
  9069. end
  9070. end)
  9071. end)
  9072. plrwin:drawButton(1/3, 'Fast', function()
  9073. tk.dp(cval, function(p)
  9074. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9075. p.Character.Humanoid.WalkSpeed = 50
  9076. end
  9077. end)
  9078. end)
  9079. Follow = false;
  9080. plrwin:drawButton(1/3, 'Annoy', function()
  9081. tk.dp(cval, function(p)
  9082. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9083. if Follow == true then
  9084. Follow = false; return
  9085. else Follow = true end
  9086. while Follow == true do
  9087. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
  9088. p.Character.HumanoidRootPart.CFrame
  9089. wait()
  9090. end
  9091. end
  9092. end)
  9093. end)
  9094. plrwin:drawButton(1/3, 'Freefall', function()
  9095. tk.dp(cval, function(p)
  9096. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9097. p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)
  9098. end
  9099. end)
  9100. end)
  9101. plrwin:drawButton(1/3, 'Destroy', function()
  9102. tk.dp(cval, function(p)
  9103. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9104. p.Character.Humanoid:Destroy()
  9105. end
  9106. end)
  9107. end)
  9108. plrwin:drawButton(1/3, 'Fix', function()
  9109. tk.dp(cval, function(p)
  9110. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9111. p.Character.Humanoid.Health = 100
  9112. p.Character.Humanoid.MaxHealth = 100
  9113. p.Character.Humanoid.JumpPower = 100
  9114. p.Character.Humanoid.WalkSpeed = 16
  9115. p.Character.Humanoid.PlatformStand = false
  9116. p.Character.Humanoid.Jump = true
  9117. end
  9118. end)
  9119. end)
  9120. plrwin:drawButton(1/3, 'Respawn', function()
  9121. tk.dp(cval, function(p)
  9122. if p.Character then
  9123. local a1 = Instance.new("Model", game:service'Workspace')
  9124. local a2 = Instance.new("Part", game:service'Workspace')
  9125. a2.CanCollide = true
  9126. a2.Anchored = true
  9127. a2.CFrame = CFrame.new(10000, 10000, 10000)
  9128. a2.Name = "Torso"
  9129. local a3 = Instance.new("Humanoid", a1)
  9130. a3.MaxHealth=100;a3.Health=100
  9131. p.Character = a1
  9132. a3.Health=0
  9133. end
  9134. end)
  9135. end)
  9136. plrwin:addSpacing()
  9137. local nameInp
  9138. plrwin:drawButton(1/3, 'Name', function()
  9139. tk.dp(cval, function(z)
  9140. local Character = z.Character
  9141. local newName = Instance.new("Model", z.Character)
  9142. newName.Name = nameInp.Text
  9143. local cl = Character:WaitForChild("Head"):Clone()
  9144. cl.Parent = newName
  9145. cl:WaitForChild("face"):Destroy()
  9146. local hum = Instance.new("Humanoid", newName)
  9147. hum.Name = "NameTag"
  9148. hum.MaxHealth = 0
  9149. hum.Health = 0
  9150. local weld = Instance.new("Weld", cl)
  9151. weld.Part0 = cl
  9152. weld.Part1 = Character:WaitForChild("Head")
  9153. Character:WaitForChild("Head").Transparency = 1
  9154. wait(.5)
  9155. cl.BrickColor = Character:WaitForChild("Head").BrickColor
  9156. end)
  9157. end)
  9158. nameInp = plrwin:drawTextBox(2/3, '')
  9159. local chatInp
  9160. plrwin:drawButton(1/3, 'Chat', function()
  9161. tk.dp(cval, function(z)
  9162. game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
  9163. end)
  9164. end)
  9165. chatInp = plrwin:drawTextBox(2/3, '')
  9166. local disgInp
  9167. plrwin:drawButton(1/3, 'Disguise', function()
  9168. tk.dp(cval, function(p)
  9169. local id = 0
  9170. if tonumber(disgInp.Text) then
  9171. id = tonumber(disgInp.Text)
  9172. else
  9173. id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
  9174. end
  9175. if p.Character:FindFirstChild("Humanoid") then
  9176. p.Character.Humanoid.Health = 0
  9177. end
  9178. p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  9179. end)
  9180. end)
  9181. disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
  9182. plrwin:addSpacing()
  9183. clrR = plrwin:drawTextBox(1/3, '0')
  9184. clrG = plrwin:drawTextBox(1/3, '0')
  9185. clrB = plrwin:drawTextBox(1/3, '0')
  9186. function getColor()
  9187. local r = tonumber(clrR.Text)
  9188. local g = tonumber(clrG.Text)
  9189. local b = tonumber(clrB.Text)
  9190. if not (r and g and b) then return Color3.new(0,0,0) end
  9191. return Color3.new(r/255, g/255, b/255)
  9192. end
  9193. plrwin:drawButton(1/3, 'Sparkles', function()
  9194. tk.dp(cval, function(z)
  9195. Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
  9196. end)
  9197. end)
  9198. plrwin:drawButton(1/3, 'Smoke', function()
  9199. tk.dp(cval, function(z)
  9200. Instance.new("Smoke", tk.gt(z)).Color = getColor()
  9201.  
  9202. end)
  9203. end)
  9204. plrwin:drawButton(1/3, 'Fire', function()
  9205. tk.dp(cval, function(z)
  9206. local fr = Instance.new("Fire", tk.gt(z))
  9207. fr.Color = getColor()
  9208. fr.Heat = 30
  9209. fr.Size = 20
  9210. end)
  9211. end)
  9212. plrwin:drawButton(1/3, 'Forcefield', function()
  9213. tk.dp(cval, function(z)
  9214. if z.Character then
  9215. Instance.new("ForceField", z.Character)
  9216. end
  9217. end)
  9218. end)
  9219. plrwin:drawButton(1/3, 'Select', function()
  9220. tk.dp(cval, function(z)
  9221. if z.Character and tk.gt(z) then
  9222. Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
  9223. end
  9224. end)
  9225. end)
  9226. plrwin:drawButton(1/3, 'Sphere', function()
  9227. tk.dp(cval, function(z)
  9228. if z.Character and tk.gt(z) then
  9229. Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
  9230. end
  9231. end)
  9232. end)
  9233. plrwin:drawButton(1/3, 'Fling', function()
  9234. tk.dp(cval, function(z)
  9235. spawn(function() --kohls admin commands lol
  9236. if z.Character and tk.gt(z) then
  9237. local xran, zran
  9238. repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
  9239. repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
  9240. z.Character.Humanoid.Sit = true
  9241. tk.gt(z).Velocity = Vector3.new(0,0,0)
  9242. local frc = Instance.new("BodyForce", tk.gt(z))
  9243. frc.Name = "BFRC"
  9244. frc.force = Vector3.new(xran*4,9999*5,zran*4)
  9245. game:GetService("Debris"):AddItem(frc, 0.1)
  9246. end
  9247. end)
  9248. end)
  9249. end)
  9250. plrwin:drawButton(1/3, 'Explode', function()
  9251. tk.dp(cval, function(z)
  9252. if z.Character and tk.gt(z) then
  9253. local explosion = Instance.new("Explosion")
  9254. explosion.Position = tk.gt(z).Position
  9255. explosion.Parent = workspace
  9256. end
  9257. end)
  9258. end)
  9259. plrwin:drawButton(1/3, 'Nuke', function()
  9260. tk.dp(cval, function(z)
  9261. if z.Character and tk.gt(z) then
  9262. local torso = tk.gt(z)
  9263. local nuke = Instance.new("Part", game.Workspace)
  9264. local opos = torso.CFrame
  9265. nuke.BrickColor = BrickColor.new("Bright yellow")
  9266. nuke.TopSurface = Enum.SurfaceType.Smooth
  9267. nuke.BottomSurface = Enum.SurfaceType.Smooth
  9268. nuke.Anchored = true
  9269. nuke.CanCollide = false
  9270. nuke.Shape = "Ball"
  9271. nuke.Transparency = 0.5
  9272. nuke.CFrame = torso.CFrame
  9273. nuke.Size = Vector3.new(1, 1, 1)
  9274. nuke.Touched:connect(function(p)
  9275. local expl = Instance.new("Explosion", p)
  9276. expl.BlastPressure = 50000
  9277. expl.BlastRadius = 50
  9278. expl.Position = p.Position
  9279. p.Material = Enum.Material.CorrodedMetal
  9280. p:BreakJoints()
  9281. end)
  9282. for i = 1, 150 do
  9283. nuke.Size = Vector3.new(i, i, i)
  9284. nuke.CFrame = opos
  9285. wait(0.08)
  9286. end
  9287. nuke:Destroy()
  9288. end
  9289. end)
  9290. end)
  9291. plrwin:drawButton(1/3, 'No Tools', function()
  9292. tk.dp(cval, function(p)
  9293. for _, t in pairs(p.Backpack:GetChildren()) do
  9294. t:Destroy()
  9295. end
  9296. end)
  9297. end)
  9298. plrwin:drawButton(1/3, 'Take Tools', function()
  9299. tk.dp(cval, function(p)
  9300. for _, t in pairs(p.Backpack:GetChildren()) do
  9301. t.Parent = game:service'Players'.LocalPlayer.Backpack
  9302. end
  9303. end)
  9304. end)
  9305. plrwin:drawButton(1/3, 'BTools', function()
  9306. tk.dp(cval, function(p)
  9307. local a = Instance.new("HopperBin")
  9308. a.BinType = "GameTool"
  9309. a.Parent = p.Backpack
  9310. local a = Instance.new("HopperBin")
  9311. a.BinType = "Clone"
  9312. a.Parent = p.Backpack
  9313. local a = Instance.new("HopperBin")
  9314. a.BinType = "Hammer"
  9315. a.Parent = p.Backpack
  9316. end)
  9317. end)
  9318. plrwin:drawButton(1/3, 'Hotdog', function()
  9319. tk.dp(cval, function(p)
  9320. if p.Character and tk.gt(p) then
  9321. topkek.tools.util.weenieHutJunior(p)
  9322. end
  9323. end)
  9324. end)
  9325. plrwin:drawButton(1/3, 'Quicksand', function()
  9326. tk.dp(cval, function(z)
  9327. if z.Character and z.Character:FindFirstChild("Humanoid") then
  9328. local tor = tk.gt(z)
  9329. local hole = Instance.new("Part", z.Character)
  9330. hole.Anchored = true
  9331. hole.Name = "Hole"
  9332. hole.FormFactor = Enum.FormFactor.Custom
  9333. hole.Size = Vector3.new(7, 1, 7)
  9334. hole.CanCollide = false
  9335. hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
  9336. hole.BrickColor = BrickColor.new("Cool yellow")
  9337. hole.Material = Enum.Material.Sand
  9338. local hm = Instance.new("CylinderMesh", hole)
  9339. tor.Anchored = true
  9340. if z.Character:FindFirstChild("Humanoid") then
  9341. z.Character.Humanoid.Jump = true
  9342. end
  9343. for x,m in pairs(z.Character:GetChildren()) do
  9344. if m:IsA("BasePart") or m:IsA("MeshPart") then
  9345. m.CanCollide = false
  9346. end
  9347. end
  9348. for i=1,75 do
  9349. tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  9350. wait(0.06)
  9351. end
  9352. tor.CFrame=tor.CFrame*CFrame.new(0,
  9353. -500,0
  9354. )
  9355. z.Character.Humanoid.Health = 0
  9356. end
  9357. end)
  9358. end)
  9359. plrwin:drawButton(1/3, 'Insane', function()
  9360. tk.dp(cval, function(p)
  9361. if p.Character and tk.gt(p) then
  9362. for i,v in pairs(tk.gt(p):GetChildren()) do
  9363. if v:IsA("Motor6D") then
  9364. spawn(function()
  9365. while v do
  9366. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  9367. wait()
  9368. end
  9369. end)
  9370. end
  9371. end
  9372. end
  9373. end)
  9374. end)
  9375. plrwin:drawButton(1/3, 'Invisible', function()
  9376. tk.dp(cval, function(p)
  9377. tk.rco(p.Character, 'BasePart', 'Transparency', 1)
  9378. tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
  9379. end)
  9380. end)
  9381. plrwin:drawButton(1/3, 'Visible', function()
  9382. tk.dp(cval, function(p)
  9383. tk.rco(p.Character, 'BasePart', 'Transparency', 0)
  9384. tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
  9385. end)
  9386. end)
  9387. plrwin:drawButton(1/3, 'Bighead', function()
  9388. tk.dp(cval, function(z)
  9389. if z.Character then
  9390. if z.Character:FindFirstChild('Head') then
  9391. z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
  9392. end
  9393. end
  9394. end)
  9395. end)
  9396. plrwin:drawButton(1/3, 'Goldify', function()
  9397. tk.dp(cval, function(z)
  9398. if z.Character then
  9399. tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
  9400. tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
  9401. tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
  9402. tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
  9403. end
  9404. end)
  9405. end)
  9406. plrwin:drawButton(1/3, 'Neon', function()
  9407. tk.dp(cval, function(z)
  9408. if z.Character then
  9409. tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
  9410. tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
  9411. end
  9412. end)
  9413. end)
  9414. plrwin:drawButton(1/3, 'Shiny', function()
  9415. tk.dp(cval, function(z)
  9416. if z.Character then
  9417. tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
  9418. tk.rcm(z.Character, 'MeshPart')
  9419. end
  9420. end)
  9421. end)
  9422. plrwin:drawButton(1/3, 'Shrek', function()
  9423. tk.dp(cval, function(z)
  9424. if z.Character then
  9425. local pchar = z.Character
  9426. for i,v in pairs(pchar:GetChildren()) do
  9427. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  9428. v:Destroy()
  9429. end
  9430. end
  9431. for i,v in pairs(pchar.Head:GetChildren()) do
  9432. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  9433. v:Destroy()
  9434. end
  9435. end
  9436.  
  9437. local mesh = Instance.new("SpecialMesh", pchar.Head)
  9438. mesh.MeshType = "FileMesh"
  9439. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  9440. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  9441. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  9442.  
  9443. local Shirt = Instance.new("Shirt", z.Character)
  9444. local Pants = Instance.new("Pants", z.Character)
  9445.  
  9446. Shirt.ShirtTemplate = "rbxassetid://133078194"
  9447. Pants.PantsTemplate = "rbxassetid://133078204"
  9448. end
  9449. end)
  9450. end)
  9451. plrwin:drawButton(1/3, 'Duck', function()
  9452. tk.dp(cval, function(z)
  9453. if z.Character then
  9454. local pchar = z.Character
  9455. for i,v in pairs(pchar:GetChildren()) do
  9456. if v:IsA("Hat") or v:IsA("Accessory") then
  9457. v:Destroy()
  9458. end
  9459. end
  9460. local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
  9461. duck.MeshType = "FileMesh"
  9462. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  9463. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  9464. duck.Scale = Vector3.new(5, 5, 5)
  9465. tk.rco(z.Character, 'Instance', 'Transparency', 1)
  9466. z.Character.HumanoidRootPart.Transparency = 0
  9467. end
  9468. end)
  9469. end)
  9470. plrwin:drawButton(1/3, 'Spheres', function()
  9471. tk.dp(cval, function(z)
  9472. if z.Character then
  9473. tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
  9474. end
  9475. end)
  9476. end)
  9477. plrwin:drawButton(1/3, 'Big', function()
  9478. tk.dp(cval, function(z)
  9479. if z.Character then
  9480. topkek.tools.util.scalePlayer(5, z)
  9481. end
  9482. end)
  9483. end)
  9484. plrwin:drawButton(1/3, 'Small', function()
  9485. tk.dp(cval, function(z)
  9486. if z.Character then
  9487. topkek.tools.util.scalePlayer(5, z)
  9488. end
  9489. end)
  9490. end)
  9491. plrwin:drawButton(1/3, 'Giraffe', function()
  9492. tk.dp(cval, function(z)
  9493. if z.Character then
  9494. local char=z.Character
  9495. local h=char.Head
  9496. local tor=char:FindFirstChild("Torso")
  9497. if not tor then return end
  9498. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  9499. local fn=Instance.new("Part",char)
  9500. fn.Size=Vector3.new(1,5.5,1)
  9501. fn.Name="FakeNeck"
  9502. fn.Anchored=false
  9503. fn.CanCollide=false
  9504. if char:FindFirstChild("Body Colors") then
  9505. fn.BrickColor=char["Body Colors"].HeadColor
  9506. end
  9507. local cm=Instance.new("CylinderMesh",fn)
  9508. local we=Instance.new("Weld",h)
  9509. we.Part0=h
  9510. we.Part1=fn
  9511. we.C1=we.C1*CFrame.new(0,2.6,0)
  9512. end
  9513. end)
  9514. end)
  9515. plrwin:drawButton(1/3, 'Dab', function()
  9516. tk.dp(cval, function(z)
  9517. if z.Character and z.Character:FindFirstChild("Torso") then
  9518. local chr = z.Character
  9519. chr.Animate.Disabled = true
  9520. 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)
  9521. 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)
  9522. 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)
  9523. end
  9524. end)
  9525. end)
  9526. plrwin:drawButton(1/3, 'Force Follow', function()
  9527. tk.dp(cval, function(z)
  9528. game:GetService("RunService"):BindToRenderStep("_", 0, function()
  9529. z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
  9530. end)
  9531. end)
  9532. end)
  9533. plrwin:drawButton(1/3, 'Camlock', function()
  9534. tk.dp(cval, function(z)
  9535. z.CameraMode = "LockFirstPerson"
  9536. end)
  9537. end)
  9538. --// SERVER //--
  9539. local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
  9540. local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
  9541. detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
  9542. detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
  9543. detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
  9544. --detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
  9545. servwin:drawButton(1/2, 'Shutdown', function()
  9546. workspace.Gravity = 0/0
  9547. end)
  9548. servwin:drawButton(1/2, 'Clear', function()
  9549. for i,v in pairs(game:service'Workspace':GetChildren()) do
  9550. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  9551. v:Destroy()
  9552. end
  9553. end
  9554. end)
  9555. servwin:drawButton(1/2, 'Baseplate', function()
  9556. for X = -2500, 2500, 512 do
  9557. for Z = -2500, 2500, 512 do
  9558. local P = Instance.new("Part")
  9559. P.Anchored = true
  9560. P.Locked = true
  9561. P.Size = Vector3.new(512,3,512)
  9562. P.CFrame = CFrame.new(X,0,Z)
  9563. P.BrickColor = BrickColor.Green()
  9564. P.Parent = game:service'Workspace'
  9565. end
  9566. end
  9567. end)
  9568. servwin:drawButton(1/2, 'Reset', function()
  9569. for i,v in pairs(game:service'Workspace':GetChildren()) do
  9570. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  9571. v:Destroy()
  9572. end
  9573. end
  9574. for X = -2500, 2500, 512 do
  9575. for Z = -2500, 2500, 512 do
  9576. local P = Instance.new("Part")
  9577. P.Anchored = true
  9578. P.Locked = true
  9579. P.Size = Vector3.new(512,3,512)
  9580. P.CFrame = CFrame.new(X,0,Z)
  9581. P.BrickColor = BrickColor.Green()
  9582. P.Parent = game:service'Workspace'
  9583. end
  9584. end
  9585. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  9586. local a1 = Instance.new("Model", game:service'Workspace')
  9587. local a2 = Instance.new("Part", game:service'Workspace')
  9588. a2.CanCollide = true
  9589. a2.Anchored = true
  9590. a2.CFrame = CFrame.new(10000, 10000, 10000)
  9591. a2.Name = "Torso"
  9592. local a3 = Instance.new("Humanoid", a1)
  9593. a3.MaxHealth=100;a3.Health=100
  9594. v.Character = a1
  9595. a3.Health=0
  9596. end
  9597. end)
  9598. servwin:drawButton(1, 'Remove Sounds', function()
  9599. tk.rcm(game, 'Sound')
  9600. end)
  9601. servwin:addSpacing()
  9602. servwin:drawButton(1, 'Break All', function()
  9603. workspace:BreakJoints(workspace:GetChildren())
  9604. end)
  9605. local gravInp
  9606. servwin:drawButton(1/3, 'Gravity', function()
  9607. if not tonumber(gravInp.Text) then return end
  9608. workspace.Gravity = tonumber(gravInp.Text)
  9609. end)
  9610. gravInp = servwin:drawTextBox(2/3, '')
  9611. servwin:addSpacing()
  9612. servwin:drawButton(1, 'Reset Lighting', function()
  9613. local l = game:service'Lighting'
  9614. l.Ambient = Color3.new(0, 0, 0)
  9615. l.Brightness = 1
  9616. l.GlobalShadows = true
  9617. l.Outlines = true
  9618. l.FogEnd = 100000
  9619. l.FogStart = 0
  9620. l:SetMinutesAfterMidnight(12*60)
  9621. end)
  9622. local brightInp
  9623. servwin:drawButton(1/3, 'Brightness', function()
  9624. if not tonumber(brightInp.Text) then return end
  9625. game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
  9626. end)
  9627. brightInp = servwin:drawTextBox(2/3, '100')
  9628. local fogInp
  9629. servwin:drawButton(1/3, 'Fog', function()
  9630. if not tonumber(fogInp.Text) then return end
  9631. game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
  9632. end)
  9633. fogInp = servwin:drawTextBox(2/3, '0')
  9634. local timeInp
  9635. servwin:drawButton(1/3, 'Hour', function()
  9636. if not tonumber(timeInp.Text) then return end
  9637. game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
  9638. end)
  9639. timeInp = servwin:drawTextBox(2/3, '12')
  9640. servwin:addSpacing()
  9641. -- private server crap
  9642. local privateToggle
  9643. local privStatus = false
  9644. privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
  9645. if privStatus == false then
  9646. privStatus = true
  9647. privateToggle.Text = 'Private Server ON'
  9648. topkek.banmgr.makePrivate()
  9649. else
  9650. privateToggle.Text = 'Private Server OFF'
  9651. topkek.banmgr.unprivate()
  9652. end
  9653. end)
  9654. servwin:addSpacing()
  9655. servwin:drawText(1, 'Whitelist')
  9656. local plrAddInp
  9657. servwin:drawButton(1/3, 'Add', function()
  9658. topkek.banmgr.doWhitelist(plrAddInp.Text)
  9659. ReorderWL()
  9660. end)
  9661. plrAddInp = servwin:drawTextBox(2/3, '')
  9662. wlCont = servwin:drawScrollingContainer(100)
  9663. function ReorderWL()
  9664. local wl = topkek.banmgr.whitelist
  9665. for i,v in pairs(wlCont:GetChildren()) do
  9666. v:Destroy()
  9667. end
  9668. wlCont:setDrawY(3)
  9669. for i,v in pairs(wl) do
  9670. wlCont:drawText(2/3, v)
  9671. wlCont:drawButton(1/3, 'Remove', function()
  9672. topkek.banmgr.unwhitelist(v)
  9673. ReorderWL()
  9674. end)
  9675. end
  9676. end
  9677. ReorderWL()
  9678. --// LOCALPLAYER //--
  9679. local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
  9680. lpwin:drawButton(1, 'Reset Camera', function()
  9681. game.Workspace.CurrentCamera:remove()
  9682. wait(.1)
  9683. game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or
  9684. game.Workspace[topkek.lplr.Name].Humanoid
  9685. game.Workspace.CurrentCamera.CameraType = "Custom"
  9686. end)
  9687. lpwin:drawButton(1, 'Respawn', function()
  9688. local a1 = Instance.new("Model", game:service'Workspace')
  9689. local a2 = Instance.new("Part", game:service'Workspace')
  9690. a2.CanCollide = true
  9691. a2.Anchored = true
  9692. a2.CFrame = CFrame.new(10000, 10000, 10000)
  9693. a2.Name = "Torso"
  9694. local a3 = Instance.new("Humanoid", a1)
  9695. a3.MaxHealth=100;a3.Health=100
  9696. topkek.lplr.Character = a1
  9697. a3.Health=0
  9698. end)
  9699. lpwin:drawButton(1, 'Rejoin', function()
  9700. game:GetService('TeleportService'):Teleport(game.PlaceId)
  9701. end)
  9702. lpwin:addSpacing()
  9703. lpwin:drawButton(1/2, 'God', function()
  9704. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  9705. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  9706. topkek.lplr.Character.Humanoid.Health = math.huge
  9707. end
  9708. end)
  9709. lpwin:drawButton(1/2, 'Semigod', function()
  9710. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  9711. topkek.lplr.Character.Humanoid.MaxHealth = 9e9
  9712. topkek.lplr.Character.Humanoid.Health = 9e9
  9713. end
  9714. end)
  9715. Loopgod = false
  9716. lpwin:drawButton(1, 'Loopgod', function()
  9717. if Loopgod == false then
  9718. Loopgod = true
  9719. spawn(function()
  9720. repeat
  9721. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  9722. topkek.lplr.Character.Humanoid.Health = math.huge
  9723. wait()
  9724. until Loopgod == false
  9725. end)
  9726. else
  9727. Loopgod = false
  9728. end
  9729. end)
  9730. lpwin:addSpacing()
  9731. plrwin:addSpacing()
  9732. local Lev, Clip, Fly
  9733. lpwin:drawButton(1/2, 'Levitate', function()
  9734. if Lev == true then
  9735. Lev = false
  9736. return
  9737. end
  9738. Lev = true
  9739. repeat
  9740. topkek.lplr.Character.Humanoid:ChangeState(10)
  9741. wait(0)
  9742. until Lev == false
  9743. end)
  9744. lpwin:drawButton(1/2, 'Noclip', function()
  9745. if Clip == true then
  9746. Clip = false
  9747. return
  9748. end
  9749. Clip = true
  9750. game:GetService("RunService").Stepped:connect(function()
  9751. tk.gt(topkek.lplr).CanCollide = not Clip
  9752. topkek.lplr.Character.Head.CanCollide = not Clip
  9753. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  9754. if topkek.lplr.Character.UpperTorso then
  9755. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  9756. end
  9757. end)
  9758. topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
  9759. tk.gt(topkek.lplr).CanCollide = not Clip
  9760. topkek.lplr.Character.Head.CanCollide = not Clip
  9761. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  9762. if topkek.lplr.Character.UpperTorso then
  9763. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  9764. end
  9765. end)
  9766. end)
  9767. lpwin:drawButton(1/2, 'Fly', function()
  9768. if Fly == true then
  9769. Fly = false
  9770. return
  9771. end
  9772. Fly = true
  9773. local mouse=game.Players.LocalPlayer:GetMouse''
  9774. localplayer=game.Players.LocalPlayer
  9775. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  9776. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  9777. local speed=0
  9778. local keys={a=false,d=false,w=false,s=false}
  9779. local e1
  9780. local e2
  9781. local function start()
  9782. local pos = Instance.new("BodyPosition",torso)
  9783. local gyro = Instance.new("BodyGyro",torso)
  9784. pos.Name="EPIXPOS"
  9785. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  9786. pos.position = torso.Position
  9787. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  9788. gyro.cframe = torso.CFrame
  9789. repeat
  9790. wait()
  9791. localplayer.Character.Humanoid.PlatformStand=true
  9792. local new=gyro.cframe - gyro.cframe.p + pos.position
  9793. if not keys.w and not keys.s and not keys.a and not keys.d then
  9794. speed=1
  9795. end
  9796. if keys.w then
  9797. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  9798. speed=speed+0.01
  9799. end
  9800. if keys.s then
  9801. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  9802. speed=speed+0.01
  9803. end
  9804. if keys.d then
  9805. new = new * CFrame.new(speed,0,0)
  9806. speed=speed+0.01
  9807. end
  9808. if keys.a then
  9809. new = new * CFrame.new(-speed,0,0)
  9810. speed=speed+0.01
  9811. end
  9812. if speed>5 then
  9813. speed=5
  9814. end
  9815. pos.position=new.p
  9816. if keys.w then
  9817. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  9818. elseif keys.s then
  9819. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  9820. else
  9821. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  9822. end
  9823. until not Fly
  9824. if gyro then gyro:Destroy() end
  9825. if pos then pos:Destroy() end
  9826. flying=false
  9827. localplayer.Character.Humanoid.PlatformStand=false
  9828. speed=0
  9829. end
  9830. e1=mouse.KeyDown:connect(function(key)
  9831. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  9832. if key=="w" then
  9833. keys.w=true
  9834. elseif key=="s" then
  9835. keys.s=true
  9836. elseif key=="a" then
  9837. keys.a=true
  9838. elseif key=="d" then
  9839. keys.d=true
  9840. end
  9841. end)
  9842. e2=mouse.KeyUp:connect(function(key)
  9843. if key=="w" then
  9844. keys.w=false
  9845. elseif key=="s" then
  9846. keys.s=false
  9847. elseif key=="a" then
  9848. keys.a=false
  9849. elseif key=="d" then
  9850. keys.d=false
  9851. end
  9852. end)
  9853. start()
  9854. end)
  9855. lpwin:drawButton(1/2, 'Highjump', function()
  9856. local thrust = Instance.new("BodyVelocity")
  9857. game:GetService('UserInputService').InputBegan:connect(function(i, b)
  9858. if i.KeyCode == Enum.KeyCode.Space then
  9859. print("Got jump")
  9860. coroutine.resume(coroutine.create(function()
  9861. thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  9862. thrust.velocity = Vector3.new(0,50,0)
  9863. thrust.maxForce = Vector3.new(0,4e+050,0)
  9864. wait(0.2)
  9865. thrust.Parent = nil
  9866. end))
  9867. end
  9868. end)
  9869. end)
  9870. lpwin:addSpacing()
  9871. local apprInp
  9872. lpwin:drawButton(1/3, 'Appearance', function()
  9873. local id = 0
  9874. if tonumber(apprInp.Text) then
  9875. id = tonumber(apprInp.Text)
  9876. else
  9877. id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
  9878. end
  9879. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  9880. topkek.lplr.Character.Humanoid.Health = 0
  9881. end
  9882. topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  9883. end)
  9884. apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
  9885. local teamInp
  9886. lpwin:drawButton(1/3, 'Team', function()
  9887. topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
  9888. end)
  9889. teamInp = lpwin:drawTextBox(2/3, 'Bright red')
  9890. lpwin:drawButton(1/2, 'Naked', function()
  9891. topkek.lplr:ClearCharacterAppearance()
  9892. end)
  9893. lpwin:drawButton(1/2, 'Neutral', function()
  9894. topkek.lplr.Neutral = true
  9895. end)
  9896. lpwin:addSpacing()
  9897. lpwin:drawButton(1/2, 'Orb', function()
  9898. game.Players.LocalPlayer.Character = nil
  9899. --lp:Destroy()
  9900. local cam = game.Workspace.CurrentCamera
  9901. local m = Instance.new("Model", game.Workspace)
  9902. m.Name = game.Players.LocalPlayer.Name
  9903. local hum = Instance.new("Humanoid", m)
  9904. hum.Health = 0
  9905. hum.MaxHealth = 0
  9906. local orb = Instance.new("Part", m)
  9907. orb.Size = Vector3.new(1, 1, 1)
  9908. orb.Shape = "Ball"
  9909. orb.Name = "Head"
  9910. orb.Anchored = true
  9911. orb.CanCollide = true
  9912. orb.BottomSurface = Enum.SurfaceType.Smooth
  9913. orb.TopSurface = Enum.SurfaceType.Smooth
  9914. orb.Transparency = 0
  9915. spawn(function()
  9916. while true do
  9917. wait(0.1)
  9918. if orb then
  9919. orb.BrickColor = BrickColor.Random()
  9920. else break end
  9921. end
  9922. end)
  9923. cam.CameraSubject = orb
  9924. cam.CameraType = Enum.CameraType.Fixed
  9925. game:GetService("RunService").RenderStepped:connect(function()
  9926. orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  9927. end)
  9928. game.Players.LocalPlayer.Chatted:connect(function(a)
  9929. game:GetService("Chat"):Chat(orb, a)
  9930. end)
  9931. end)
  9932. lpwin:drawButton(1/2, 'Freecam', function()
  9933. local cam = game.Workspace.CurrentCamera
  9934. cam.CameraType = "Fixed"
  9935. cam.CameraSubject = nil
  9936. topkek.lplr.Character = nil
  9937. end)
  9938. lpwin:drawButton(1/2, 'NoGrav', function()
  9939. if topkek.lplr.Character then
  9940. for x,m in pairs(topkek.lplr.Character:GetChildren()) do
  9941. if m:IsA("BasePart") then
  9942. local bf = Instance.new("BodyForce", m)
  9943. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  9944. end
  9945. if m:IsA("Hat") or m:IsA("Accessory") then
  9946. if m:findFirstChild("Handle") then
  9947. local bf = Instance.new("BodyForce", m.Handle)
  9948. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  9949. end
  9950. end
  9951. end
  9952. end
  9953. end)
  9954. lpwin:drawButton(1/2, 'Trowel', function()
  9955. topkek.tools.util.trowel()
  9956. end)
  9957. lpwin:addSpacing()
  9958. lpwin:drawButton(1/2, 'Fedora', function()
  9959. local hats={
  9960. 98346834,
  9961. 215751161,
  9962. 119916949,
  9963. 72082328,
  9964. 147180077,
  9965. 100929604,
  9966. 63043890,
  9967. 1285307,
  9968. 1029025,
  9969. 334663683,
  9970. 259423244
  9971. }
  9972. game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
  9973. end)
  9974. lpwin:drawButton(1/2, 'Rainbow Name', function()
  9975. topkek.lplr.Neutral = false
  9976. repeat
  9977. wait()
  9978. topkek.lplr.TeamColor = BrickColor.Random()
  9979. until not topkek.lplr.Character.Humanoid
  9980. end)
  9981. local tagInp
  9982. lpwin:drawButton(1/3, 'Tag', function()
  9983. local len = 10
  9984. local bb = Instance.new("BillboardGui")
  9985. bb.Parent = topkek.lplr.Character.Head
  9986. bb.Adornee = topkek.lplr.Character.Head
  9987. bb.AlwaysOnTop = true
  9988. bb.Enabled = true
  9989. bb.Size = UDim2.new(len, 0, 1.5, 0)
  9990. bb.Name = "tag"
  9991. bb.StudsOffset = Vector3.new(0, 3, 0)
  9992. --local fr = Instance.new("Frame")
  9993. --fr.Parent = bb
  9994. --fr.Size = UDim2.new(1, 0, 1, 0)
  9995. --fr.Style = Enum.FrameStyle.RobloxRound
  9996. local tl = Instance.new("TextLabel")
  9997. tl.Parent = bb
  9998. tl.Font = Enum.Font.Code
  9999. tl.BackgroundTransparency = 1
  10000. tl.TextScaled = true
  10001. tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  10002. tl.Size = UDim2.new(1, 0, 1, 0)
  10003. tl.Text = tagInp.Text
  10004. tl.Name = "trutag"
  10005. tl.Visible = true
  10006. tl.ZIndex = 2
  10007. end)
  10008. tagInp = lpwin:drawTextBox(2/3, '')
  10009. --// SCRIPTS //--
  10010. --local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
  10011. --local search = scriptwin:drawTextBox(1,'')
  10012. --local origy = scriptwin:getDrawY()
  10013. --scriptwin:addSpacing()
  10014. --scriptwin:addSpacing()
  10015. --local scripts = game:GetObjects("rbxassetid://376553985")[1]
  10016. --local container = {}
  10017. --function MakeList(condition)
  10018. -- for i,v in pairs(scriptwin:GetChildren()) do
  10019. -- if v.Name == "Script" then
  10020. -- v:Destroy()
  10021. -- end
  10022. -- end
  10023. --scriptwin:setDrawY(origy)
  10024. --for i, v in pairs(scripts:GetChildren()) do
  10025. -- if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
  10026. -- local scr = scriptwin:drawButton(1, v.Name, function()
  10027. -- spawn(function() loadstring(v.Source)() end)
  10028. -- end, 25)
  10029. -- scr.Name = 'Script'
  10030. -- end
  10031. -- end
  10032. --end
  10033. --game:GetService("UserInputService").InputChanged:connect(function(inp)
  10034. -- if inp.UserInputType == Enum.UserInputType.TextInput then
  10035. -- if search:IsFocused() then
  10036. -- MakeList(search.Text)
  10037. -- end
  10038. --end
  10039. --end)
  10040. --MakeList('')
  10041. --// DESTRUCTION // --
  10042. local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
  10043. local decals, seldec = destwin:drawScrollingContainer(100)
  10044. seldec = destwin:drawText(1, 'Selected Decal: None')
  10045. cursel = nil
  10046. local decs = {
  10047. {'Rain', '574772793'},
  10048. {'Robbie', '574773630'},
  10049. {'Pepe', '244905904'},
  10050. {'Troll Face', '48308661'},
  10051. {'Jeff', '109129888'},
  10052. {'Shrek', '170539018'},
  10053. {'Doge', '133720697'},
  10054. {'Dat Boi', '409578848'},
  10055. }
  10056. for _, v in pairs(decs) do
  10057. local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
  10058. topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  10059. end
  10060. destwin:drawButton(1, 'Spam Decal', function()
  10061. if cursel ~= nil then
  10062. topkek.tools.util.recurseDecal(tonumber(cursel))
  10063. end
  10064. end)
  10065. destwin:drawButton(1, 'Spam Particles', function()
  10066. if cursel ~= nil then
  10067. topkek.tools.util.recurseParticles(tonumber(cursel))
  10068. end
  10069. end)
  10070. destwin:drawButton(1, 'Spam Both', function()
  10071. if cursel ~= nil then
  10072. topkek.tools.util.recurseUltimate(tonumber(cursel))
  10073. end
  10074. end)
  10075. destwin:drawButton(1, 'Rollback', function()
  10076. tk.rcm(workspace, 'Decal')
  10077. tk.rcm(workspace, 'ParticleEmitter')
  10078. end)
  10079. destwin:addSpacing()
  10080. destwin:drawButton(1, '666', function()
  10081. for i,v in next,workspace:children''do
  10082. if(v:IsA'BasePart')then
  10083. me=v;
  10084. bbg=Instance.new('BillboardGui',me);
  10085. bbg.Name='stuf';
  10086. bbg.Adornee=me;
  10087. bbg.Size=UDim2.new(2.5,0,2.5,0)
  10088. --bbg.StudsOffset=Vector3.new(0,2,0)
  10089. tlb=Instance.new'TextLabel';
  10090. tlb.Text='666 666 666 666 666 666';
  10091. tlb.Font='SourceSansBold';
  10092. tlb.FontSize='Size48';
  10093. tlb.TextColor3=Color3.new(1,0,0);
  10094. tlb.Size=UDim2.new(1.25,0,1.25,0);
  10095. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  10096. tlb.BackgroundTransparency=1;
  10097. tlb.Parent=bbg;
  10098. end;end;
  10099. --coroutine.wrap(function()while wait''do
  10100. s=Instance.new'Sound';
  10101. s.Parent=workspace;
  10102. s.SoundId='rbxassetid://152840862';
  10103. s.Pitch=1;
  10104. s.Volume=1;
  10105. s.Looped=true;
  10106. s:play();
  10107. --end;end)();
  10108. function xds(dd)
  10109. for i,v in next,dd:children''do
  10110. if(v:IsA'BasePart')then
  10111. v.BrickColor=BrickColor.new'Really black';
  10112. v.TopSurface='Smooth';
  10113. v.BottomSurface='Smooth';
  10114. s=Instance.new('SelectionBox',v);
  10115. s.Adornee=v;
  10116. s.Color=BrickColor.new'Really red';
  10117. a=Instance.new('PointLight',v);
  10118. a.Color=Color3.new(1,0,0);
  10119. a.Range=15;
  10120. a.Brightness=5;
  10121. f=Instance.new('Fire',v);
  10122. f.Size=19;
  10123. f.Heat=22;
  10124. end;
  10125. game.Lighting.TimeOfDay=0;
  10126. game.Lighting.Brightness=0;
  10127. game.Lighting.ShadowColor=Color3.new(0,0,0);
  10128. game.Lighting.Ambient=Color3.new(1,0,0);
  10129. game.Lighting.FogEnd=200;
  10130. game.Lighting.FogColor=Color3.new(0,0,0);
  10131. local dec = 'http://www.roblox.com/asset/?id=19399245';
  10132. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  10133. --coroutine.wrap(function()
  10134. --for _,__ in pairs(fac) do
  10135. --local ddec = Instance.new("Decal", v)
  10136. --ddec.Face = __
  10137. --ddec.Texture = dec
  10138. --end end)()
  10139. if #(v:GetChildren())>0 then
  10140. xds(v)
  10141. end
  10142. end
  10143. end
  10144. xds(game.Workspace)
  10145. end)
  10146. destwin:drawButton(1, 'Troll', function()
  10147. topkek.tools.util.recurseUltimate('48308661')
  10148. tk.play(154664102)
  10149. end)
  10150. destwin:addSpacing()
  10151. destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
  10152. local materiallist =
  10153. {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  10154. Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  10155. Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  10156. Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  10157. Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  10158. local function r(where)
  10159. for _,v in pairs (where:GetChildren()) do
  10160. if v:IsA("BasePart") then
  10161. spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
  10162. end)
  10163. destwin:drawButton(1/2,'Materialize',function()
  10164. local function r(where)
  10165. for _,v in pairs (where:GetChildren()) do
  10166. if v:IsA("BasePart") then
  10167. spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
  10168. end)
  10169. destwin:drawButton(1/2,'Meshify',function()
  10170. local enums={
  10171. Enum.MeshType.Head;
  10172. Enum.MeshType.Torso;
  10173. Enum.MeshType.Wedge;
  10174. Enum.MeshType.Brick;
  10175. Enum.MeshType.Sphere;
  10176. Enum.MeshType.Cylinder;
  10177. }
  10178. tk.rcf('BasePart',function(o)
  10179. local mesh = Instance.new('SpecialMesh', o)
  10180. mesh.MeshType = enums[math.random(1,#enums)]
  10181. end)
  10182. end)
  10183. destwin:drawButton(1/2,'Loop-Meshify',function()
  10184. coroutine.wrap(function()
  10185. while true do
  10186. local enums={
  10187. Enum.MeshType.Head;
  10188. Enum.MeshType.Torso;
  10189. Enum.MeshType.Wedge;
  10190. Enum.MeshType.Brick;
  10191. Enum.MeshType.Sphere;
  10192. Enum.MeshType.Cylinder;
  10193. }
  10194. tk.rcf('BasePart',function(o)
  10195. if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  10196. local mesh = Instance.new('SpecialMesh', o)
  10197. mesh.MeshType = enums[math.random(1,#enums)]
  10198. end)
  10199. wait(0.5)
  10200. end
  10201. end)()
  10202. end)
  10203. destwin:addSpacing()
  10204. destwin:drawButton(1, 'Rotations', function()
  10205. tk.rcf('BasePart', function(o)
  10206. o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  10207. end)
  10208. end)
  10209. destwin:drawButton(1, 'Collisions', function()
  10210. tk.rcf('BasePart', function(o)
  10211. o.CanCollide = false
  10212. end)
  10213. end)
  10214. destwin:drawButton(1, 'Velocity', function()
  10215. tk.rcf('BasePart', function(o)
  10216. o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  10217. end)
  10218. end)
  10219. destwin:drawButton(1, 'Invisiblity', function()
  10220. tk.rcf('BasePart', function(o)
  10221. o.Transparency = 1
  10222. end)
  10223. end)
  10224. destwin:drawButton(1, 'BreakJoints', function()
  10225. tk.rcf('Model', function(o)
  10226. o:BreakJoints()
  10227. end)
  10228. end)
  10229. destwin:drawButton(1, 'Forces', function()
  10230. tk.rcf('BasePart', function(o)
  10231. local bf = Instance.new("BodyForce", o)
  10232. bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
  10233. end)
  10234. end)
  10235. destwin:drawButton(1, 'Brightness', function()
  10236. tk.rcf('BasePart', function(o)
  10237. local light = Instance.new("SpotLight", o)
  10238. light.Brightness = 9e9
  10239. light.Range = 60
  10240. end)
  10241. end)
  10242. --// CATALOG //--
  10243. local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
  10244. local page, currentkeyword = 1, ""
  10245. local searchbar, search, makeCatalog, res = 0, 0, 0, {}
  10246. local searchbar = catwin:drawTextBox(2/3,'')
  10247. local search = catwin:drawButton(1/3, 'Search', function()
  10248. page = 1
  10249. currentkeyword = searchbar.Text
  10250. makeCatalog(currentkeyword, page)
  10251. end)
  10252. local previous = catwin:drawButton(1/2, 'Previous Page', function()
  10253. if page > 1 then
  10254. page = page - 1
  10255. makeCatalog(currentkeyword, page)
  10256. end
  10257. end)
  10258. local previous = catwin:drawButton(1/2, 'Next Page', function()
  10259. if page >= 1 then
  10260. page = page + 1
  10261. makeCatalog(currentkeyword, page)
  10262. end
  10263. end)
  10264. local catalog_start = catwin:getDrawY()
  10265. function split(str,divider)
  10266. local found = ""
  10267. local results = {}
  10268. for i=1,string.len(str) do
  10269. if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
  10270. table.insert(results, found)
  10271. found = ""
  10272. else
  10273. found = found..string.sub(str,i,i)
  10274. end
  10275. end
  10276. table.insert(results, found)
  10277. return results
  10278. end
  10279. function GetName(nm)
  10280. local spl = split(nm," ")
  10281. local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
  10282. return (a.." "..b.." "..c.." "..d.." "..e)
  10283. end
  10284. --function makeCatalog(keyword, page)
  10285. --local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
  10286. --local results = game:HttpGet(endpoint, true)
  10287. --local parse = game:GetService('HttpService'):JSONDecode(results)
  10288. --for i, v in pairs(res) do
  10289. --v:Destroy()
  10290. --end
  10291. --catwin:setDrawY(catalog_start)
  10292. --catwin:addSpacing()
  10293. --for i, v in pairs(parse) do
  10294. --local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
  10295. --local below = topkek.tools.util.Object("TextButton", {
  10296. -- Parent = img;
  10297. -- BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
  10298. -- BorderSizePixel = 0;
  10299. -- Position = UDim2.new(0, -45, 1, 5);
  10300. -- Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
  10301. -- Font = 'SourceSans';
  10302. -- FontSize = 'Size14';
  10303. -- Text = GetName(v['Name']);
  10304. -- TextSize = 14;
  10305. -- TextColor3 = color3(199, 199, 199);
  10306. -- TextStrokeTransparency = 0.5;
  10307. -- ClipsDescendants = true;
  10308. --})
  10309. -- below.MouseButton1Down:connect(function()
  10310. -- local Model = Instance.new("Model", workspace)
  10311. -- game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
  10312. -- Model:MakeJoints()
  10313. -- Model:MoveTo(topkek.lplr.Character.Head.Position)
  10314. --end)
  10315. --img.Size=UDim2.new(0,50,0,50)
  10316. --img.Position=img.Position+UDim2.new(0,45,0,0)
  10317. -- if (i%2)==0 then
  10318. -- catwin:setDrawY(catwin:getDrawY() + 25)
  10319. --end
  10320. -- if (i==10) then
  10321. -- catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
  10322. -- end
  10323. -- table.insert(res,img)
  10324. --end
  10325. --end
  10326. --makeCatalog("", 1)
  10327. --// CMDS //--
  10328. cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
  10329. count = 0
  10330. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  10331. cmdwin:drawText(1, tostring(count) .. " Commands")
  10332. cmdwin:drawText(1, 'Chat Prefix: /')
  10333. local cmdlist = cmdwin:drawScrollingContainer(260)
  10334. for i, v in pairs(cmd.commands.fmtstore) do
  10335. local xfmt = {}
  10336. local str = " ;" .. i .. " "
  10337. for form in v:gmatch("[^%%]+") do
  10338. if form ~= 'cmd' then
  10339. if form == 'inf' then form = 'str' end
  10340. str = str .. "{" .. form .. "} "
  10341. end
  10342. end
  10343. cmdlist:drawText(1, str)
  10344. end
  10345. --// MUSIC //--
  10346. musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
  10347. Sounds = {
  10348. {"caramell", 2303479};
  10349. {"epic", 27697743};
  10350. {"rick", 2027611};
  10351. {"halo", 1034065};
  10352. {"pokemon", 1372261};
  10353. {"cursed", 1372257};
  10354. {"extreme", 11420933};
  10355. {"awaken", 27697277};
  10356. {"alone", 27697392};
  10357. {"mario", 1280470};
  10358. {"choir", 1372258};
  10359. {"chrono" ,1280463};
  10360. {"dotr", 11420922};
  10361. {"entertain", 27697267};
  10362. {"fantasy", 1280473};
  10363. {"final", 787};
  10364. {"organ", 11231513};
  10365. {"tunnel", 9650822}
  10366. }
  10367.  
  10368. local cursel
  10369. local xcursel = 0
  10370. scr = musicwin:drawScrollingContainer(230)
  10371. for i, v in pairs(Sounds) do
  10372. scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
  10373. cursel.Text = "Currently Selected - " .. v[1]
  10374. xcursel = v[2]
  10375. end)
  10376. end
  10377.  
  10378. cursel = musicwin:drawText(1, "Currently Selected - None")
  10379. local setInp
  10380. musicwin:drawButton(1/3, "Set", function()
  10381. if tonumber(setInp.Text) then
  10382. cursel.Text = "Currently Selected - " .. setInp.Text
  10383. xcursel = tonumber(setInp.Text)
  10384. end
  10385. end)
  10386. setInp = musicwin:drawTextBox(2/3, '')
  10387. musicwin:drawButton(1, "Play", function()
  10388. tk.rcm(game, 'Sound')
  10389. tk.play(xcursel)
  10390. end)
  10391. musicwin:drawButton(1, "Stop", function()
  10392. tk.rcm(game, 'Sound')
  10393. end)
  10394. --// FACES //--
  10395. facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
  10396. local faces = {
  10397. {name='Rofl',id=47595647},
  10398. {name='Sparta',id=74142203},
  10399. {name='UJelly',id=48989071},
  10400. {name='Troll',id=45120559},
  10401. {name='Horse',id=62079221},
  10402. {name='Angry',id=48258623},
  10403. {name='Okey',id=62830600},
  10404. {name='Yeaw',id=53646377},
  10405. {name='Here',id=62677045},
  10406. {name='Har',id=48260066},
  10407. {name='Baby Sun',id=47596170},
  10408. {name='LOL',id=48293007},
  10409. {name='Sad',id=53645378},
  10410. {name='Joseph Stalin',id=48290678},
  10411. {name='Doge',id=130742396},
  10412. {name='Forever Alone',id=156886272},
  10413. {name='RickRoll',id=5104631},
  10414. {name='Jim Carrey',id=74885351},
  10415. {name='Meh IRL',id=237553381}
  10416. }
  10417. local cursel, xcursel = nil, 0
  10418. faclist = facwin:drawScrollingContainer(260)
  10419. for i,v in pairs(faces) do
  10420. local btn = faclist:drawButton(1, v['name'], function()
  10421. xcursel = v['id']
  10422. cursel.Text = 'Currently Selected: ' .. v['name']
  10423. end)
  10424. topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
  10425. end
  10426. cursel = facwin:drawText(1, 'Currently Selected: None')
  10427. facwin:drawButton(1, 'Wear', function()
  10428. if not (xcursel == 0) then
  10429. if topkek.lplr.Character then
  10430. tk.rcm(topkek.lplr.Character, 'Accessory')
  10431. tk.rcm(topkek.lplr.Character, 'Hat')
  10432. topkek.tools.util.applyFace(xcursel)
  10433. end
  10434. end
  10435. end)
  10436. --// SETTINGS // --
  10437. setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
  10438. setwin:drawText(1, 'Patch: ' .. topkek.patch)
  10439. setwin:drawText(1, 'Devnote: foh skids')
  10440. setwin:drawText(1, [[
  10441. === CREDITS ===
  10442.  
  10443. Variable - retard that created Stella
  10444. KrystalTeam - provided critical design tips & advice
  10445. Circumvention - lol joey salads
  10446.  
  10447. Thanks to everyone that supported T0PK3K 4.0!
  10448.  
  10449. ]], 260)
  10450. --// BANLIST //--
  10451. banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
  10452. local plrBanInp
  10453. banwin:drawButton(1/3, 'Add', function()
  10454. topkek.settings.get()
  10455. table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
  10456. topkek.settings.write()
  10457. UpdateBanlist()
  10458. end)
  10459. plrBanInp = banwin:drawTextBox(2/3, '')
  10460. banCont = banwin:drawScrollingContainer(288)
  10461. function UpdateBanlist(x)
  10462. topkek.settings.get()
  10463. local wl = x or topkek.settingsTable['Bans']
  10464. for i,v in pairs(banCont:GetChildren()) do
  10465. v:Destroy()
  10466. end
  10467. banCont:setDrawY(3)
  10468. for i,v in pairs(wl) do
  10469. banCont:drawText(2/3, v)
  10470. banCont:drawButton(1/3, 'Remove', function()
  10471. for x, m in pairs(wl) do
  10472. if m == v then
  10473. table.remove(topkek.settingsTable['Bans'], x)
  10474. topkek.settings.write()
  10475. UpdateBanlist()
  10476. topkek.banmgr.bans = topkek.settingsTable['Bans']
  10477. end
  10478. end
  10479. end)
  10480. end
  10481. end
  10482. UpdateBanlist()
  10483. --// HATS //--
  10484. hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
  10485. local hats={
  10486. {name='Dominus Empyreus',id=21070012},
  10487. {name='Dominus Vespertilio',id=96103379},
  10488. {name='Dominus Infernus',id=31101391},
  10489. {name='Dominus Rex',id=250395631},
  10490. {name='Dominus Frigidus',id=48545806},
  10491. {name='Dominus Astra',id=162067148},
  10492. {name='Dominus Aureus',id=138932314},
  10493. {name='DIY Dominus Empyreus',id=151789690},
  10494. {name='Dominus Messor',id=64444871},
  10495. {name='Demon Skeleton Wings',id=133554007},
  10496. {name='Gilded Wings of Glory',id=250405532},
  10497. {name='Majestic Ice Wings',id=188702967},
  10498. {name='Black Wings',id=215719598},
  10499. {name='Clockworks Shades',id=11748356},
  10500. {name='Faerie Wings',id=19399896},
  10501. {name='Orinthian Wings',id=223751505},
  10502. {name='Clockworks Headphones',id=1235488},
  10503. {name='Perfectly Legitimate Business Hat',id=19027209},
  10504. {name='Sparkling Angel Wings',id=192557913},
  10505. {name='Commander Crows Wings',id=133553855},
  10506. {name='Sunfire Wings',id=158068470},
  10507. {name='Royal Faerie Wings',id=119916756},
  10508. {name='Wings of Freedom',id=164174048},
  10509. {name='Firebrand Wings',id=128160626},
  10510. {name='Frozen Wings',id=136758613},
  10511. {name='Webbed Wings',id=120507280},
  10512. {name='Gargoyle Wings',id=120507201},
  10513. {name='Bat Wings',id=19399858},
  10514. {name='Wings of Fire',id=136758532},
  10515. {name='Headrow',id=1082935},
  10516. {name='Rubber Duckie',id=9254254},
  10517. {name='Valkyrie Helm',id=1365767},
  10518. {name='Hockey Mask',id=5161514}}
  10519. local searchi = hatwin:drawButton(1, '', function()end)
  10520. dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
  10521. function fixPlayerDropi()
  10522. local t = {'All'}
  10523. for i, v in pairs(game.Players:GetPlayers()) do
  10524. table.insert(t, v.Name)
  10525. end
  10526. dropx.SetTable(t)
  10527. end
  10528. game.Players.PlayerAdded:connect(function()
  10529. fixPlayerDropi()
  10530. end)
  10531. game.Players.PlayerRemoving:connect(function()
  10532. fixPlayerDropi()
  10533. end)
  10534. local eval = 'All'
  10535. dropx.Changed(function(p) eval = p end)
  10536. fixPlayerDrop()
  10537.  
  10538. local hatInp
  10539. hatlist = hatwin:drawScrollingContainer(260)
  10540. for i,v in pairs(hats) do
  10541. hatlist:drawButton(1, v['name'], function()
  10542. hatInp.Text = tostring(v['id'])
  10543. end)
  10544. end
  10545. hatwin:drawButton(1/3, 'Wear', function()
  10546. local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
  10547. tk.dp(eval, function(x)
  10548. if x.Character then
  10549. hat:Clone().Parent = x.Character
  10550. end
  10551. end)
  10552. end)
  10553.  
  10554.  
  10555. hatInp = hatwin:drawTextBox(2/3, '')
  10556. topkek.tools.animator.initialAnimation()
  10557. topkek.banmgr.init()
  10558.  
  10559. _G.Rc7Notification("Leaked by Scratchy","T0pk3k 4.0 Script Leaked!",5)
  10560. wait(5)
  10561. if game.Workspace.FilteringEnabled == true then
  10562. _G.Rc7Notification("Filtering","Fltering is Enabled",5)
  10563. else
  10564. _G.Rc7Notification("Filtering","Fltering is Disabled",5)
  10565. endT0pk3k 4.0 Script Leaked!",5)
  10566. wait(5)
  10567. if game.Workspace.FilteringEnabled == true then
  10568. _G.Rc7Notification("Filtering","Fltering is Enabled",5)
  10569. else
  10570. _G.Rc7Notification("Filtering","Fltering is Disabled",5)
  10571. end
Add Comment
Please, Sign In to add comment