AlbertsHere

Topk3k 4.0 roblox exploit script

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