Chaseplayzrbx_YT

Roblox TOPK3K 4.0 script

Apr 11th, 2018
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 163.64 KB | None | 0 0
  1. -- Epic Script Leaked By Scratchy!
  2. -- Subscribe for more EPIC scripts! https://www.google.com/url?sa=t&source=web&rct=j&url=https://m.youtube.com/channel/UCCmb39KE_Z47SeiMnND2VsA&ved=2ahUKEwiRw-2JnbPaAhVlplkKHXIGARUQFjAAegQIARAB&usg=AOvVaw3oYkQJ7f74Lxwjn7h22UkT
  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","T0pk3k 4.0 Script Leaked!",5)
  5281. wait(5)
  5282. if game.Workspace.FilteringEnabled == true then
  5283. _G.Rc7Notification("Filtering","Fltering is Enabled",5)
  5284. else
  5285. _G.Rc7Notification("Filtering","Fltering is Disabled",5)
  5286. end
Add Comment
Please, Sign In to add comment