niggerfaggggggot

Untitled

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