HoneyBadger69

Untitled

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