Guest User

Untitled

a guest
Apr 22nd, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 166.43 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 = game:GetService("Players").LocalPlayer
  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. -- Epic Script Leaked By Scratchy!
  88. -- Subscribe for more EPIC scripts! https://www.youtube.com/channel/UC-fFrczkFJuwHJguR6SXx5Q?sub_confirmation=1
  89.  
  90.  
  91. _G.Rc7Notification = function(a,b,c)
  92. game:GetService("CoreGui"):WaitForChild("RobloxGui").SendNotification:Fire(a, b, "rbxassetid://776252057", c)
  93. end
  94. local topkek = {}
  95. topkek.patch = '1.0.5a'
  96. topkek.data = {}
  97. topkek.commandbase = {}
  98. topkek.navigation = {}
  99. topkek.banmgr = {}
  100. topkek.lplr = owner
  101.  
  102. topkek.tools = {}
  103. topkek.tools.gui = {}
  104. topkek.tools.util = {}
  105. topkek.tools.animator = {}
  106.  
  107. topkek.windows = {}
  108. topkek.windows.lplr = {}
  109. topkek.windows.server = {}
  110. topkek.windows.players = {}
  111. topkek.windows.destruction = {}
  112. topkek.windows.scripts = {}
  113. topkek.windows.misc = {}
  114.  
  115. topkek.misc = {}
  116.  
  117. local NewGuiPart1 = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  118. NewGuiPart1.Name = "4.0"
  119. -------
  120. local NewGuiPart2 = Instance.new("Frame")
  121. NewGuiPart2.Active = true
  122. NewGuiPart2.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  123. NewGuiPart2.BorderSizePixel = 0
  124. NewGuiPart2.Name = "Main"
  125. NewGuiPart2.Position = UDim2.new(0, 300, 0, 50)
  126. NewGuiPart2.Selectable = true
  127. NewGuiPart2.Size = UDim2.new(0, 470, 0, 395)
  128. NewGuiPart2.Visible = false
  129. NewGuiPart2.ClipsDescendants = true
  130. NewGuiPart2.Draggable = true
  131. NewGuiPart2.Parent = NewGuiPart1
  132. -------
  133. local NewGuiPart3 = Instance.new("Frame")
  134. NewGuiPart3.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  135. NewGuiPart3.BorderSizePixel = 0
  136. NewGuiPart3.Name = "Topbar"
  137. NewGuiPart3.Position = UDim2.new(0, 150, 0, 0)
  138. NewGuiPart3.Size = UDim2.new(0, 320, 0, 30)
  139. NewGuiPart3.Parent = NewGuiPart2
  140. -------
  141. local NewGuiPart4 = Instance.new("TextLabel")
  142. NewGuiPart4.BackgroundTransparency = 1
  143. NewGuiPart4.Name = "PlayerName"
  144. NewGuiPart4.Position = UDim2.new(0, -140, 0, 0)
  145. NewGuiPart4.Size = UDim2.new(0.5, 0, 1, 0)
  146. NewGuiPart4.Visible = false
  147. NewGuiPart4.ZIndex = 4
  148. NewGuiPart4.Font = Enum.Font.Arcade
  149. NewGuiPart4.FontSize = Enum.FontSize.Size18
  150. NewGuiPart4.Text = "Player1"
  151. NewGuiPart4.TextColor3 = Color3.new(1, 1, 1)
  152. NewGuiPart4.TextXAlignment = Enum.TextXAlignment.Left
  153. NewGuiPart4.Parent = NewGuiPart3
  154. -------
  155. local NewGuiPart5 = Instance.new("Frame")
  156. NewGuiPart5.BackgroundTransparency = 1
  157. NewGuiPart5.Name = "Controllers"
  158. NewGuiPart5.Position = UDim2.new(1, -128, 0, 3)
  159. NewGuiPart5.Size = UDim2.new(0, 125, 1, -6)
  160. NewGuiPart5.Parent = NewGuiPart3
  161. -------
  162. local NewGuiPart6 = Instance.new("TextButton")
  163. NewGuiPart6.Active = true
  164. NewGuiPart6.AutoButtonColor = false
  165. NewGuiPart6.BackgroundColor3 = Color3.new(0.552941, 0.105882, 0.105882)
  166. NewGuiPart6.BorderSizePixel = 0
  167. NewGuiPart6.Name = "Exit"
  168. NewGuiPart6.Position = UDim2.new(1, -24, 0, 0)
  169. NewGuiPart6.Selectable = true
  170. NewGuiPart6.Size = UDim2.new(0, 24, 0, 24)
  171. NewGuiPart6.Style = Enum.ButtonStyle.Custom
  172. NewGuiPart6.FontSize = Enum.FontSize.Size14
  173. NewGuiPart6.Text = ""
  174. NewGuiPart6.Parent = NewGuiPart5
  175. -------
  176. local NewGuiPart7 = Instance.new("TextButton")
  177. NewGuiPart7.Active = true
  178. NewGuiPart7.AutoButtonColor = false
  179. NewGuiPart7.BackgroundColor3 = Color3.new(0.780392, 0.34902, 0)
  180. NewGuiPart7.BorderSizePixel = 0
  181. NewGuiPart7.Name = "Hide"
  182. NewGuiPart7.Position = UDim2.new(1, -50, 0, 0)
  183. NewGuiPart7.Selectable = true
  184. NewGuiPart7.Size = UDim2.new(0, 24, 0, 24)
  185. NewGuiPart7.Style = Enum.ButtonStyle.Custom
  186. NewGuiPart7.FontSize = Enum.FontSize.Size14
  187. NewGuiPart7.Text = ""
  188. NewGuiPart7.Parent = NewGuiPart5
  189. -------
  190. local NewGuiPart8 = Instance.new("TextLabel")
  191. NewGuiPart8.BackgroundTransparency = 1
  192. NewGuiPart8.Name = "IsFE"
  193. NewGuiPart8.Size = UDim2.new(0, 65, 1, 0)
  194. NewGuiPart8.FontSize = Enum.FontSize.Size18
  195. NewGuiPart8.Text = "Not FE"
  196. NewGuiPart8.TextColor3 = Color3.new(0.333333, 0.666667, 0)
  197. NewGuiPart8.TextStrokeTransparency = 0.69999998807907
  198. NewGuiPart8.TextXAlignment = Enum.TextXAlignment.Right
  199. NewGuiPart8.Parent = NewGuiPart5
  200. -------
  201. local NewGuiPart9 = Instance.new("TextLabel")
  202. NewGuiPart9.BackgroundTransparency = 1
  203. NewGuiPart9.Name = "Stella"
  204. NewGuiPart9.Position = UDim2.new(0, -150, 0, 0)
  205. NewGuiPart9.Size = UDim2.new(1, 150, 1, 0)
  206. NewGuiPart9.ZIndex = 2
  207. NewGuiPart9.Font = Enum.Font.Arcade
  208. NewGuiPart9.FontSize = Enum.FontSize.Size18
  209. NewGuiPart9.Text = "[Stella]"
  210. NewGuiPart9.TextColor3 = Color3.new(0.054902, 0.0745098, 0.498039)
  211. NewGuiPart9.Parent = NewGuiPart3
  212. -------
  213. local NewGuiPart10 = Instance.new("Frame")
  214. NewGuiPart10.BackgroundTransparency = 1
  215. NewGuiPart10.Name = "Holder"
  216. NewGuiPart10.Position = UDim2.new(0, 150, 0, 30)
  217. NewGuiPart10.Size = UDim2.new(0, 320, 0, 365)
  218. NewGuiPart10.Parent = NewGuiPart2
  219. -------
  220. local NewGuiPart11 = Instance.new("Frame")
  221. NewGuiPart11.BackgroundTransparency = 1
  222. NewGuiPart11.Name = "Home"
  223. NewGuiPart11.Size = UDim2.new(1, 0, 1, 0)
  224. NewGuiPart11.Parent = NewGuiPart10
  225. -------
  226. local NewGuiPart12 = Instance.new("TextLabel")
  227. NewGuiPart12.BackgroundTransparency = 1
  228. NewGuiPart12.BorderSizePixel = 0
  229. NewGuiPart12.Name = "Title1"
  230. NewGuiPart12.Position = UDim2.new(0, 30, 0, 3)
  231. NewGuiPart12.Selectable = true
  232. NewGuiPart12.Size = UDim2.new(1, -30, 0, 40)
  233. NewGuiPart12.Font = Enum.Font.SourceSansBold
  234. NewGuiPart12.FontSize = Enum.FontSize.Size42
  235. NewGuiPart12.Text = "T0PK3K 4.0"
  236. NewGuiPart12.TextColor3 = Color3.new(1, 1, 1)
  237. NewGuiPart12.TextStrokeTransparency = 0.5
  238. NewGuiPart12.TextXAlignment = Enum.TextXAlignment.Left
  239. NewGuiPart12.Parent = NewGuiPart11
  240. -------
  241. local NewGuiPart13 = Instance.new("TextLabel")
  242. NewGuiPart13.BackgroundTransparency = 1
  243. NewGuiPart13.BorderSizePixel = 0
  244. NewGuiPart13.Name = "Title2"
  245. NewGuiPart13.Position = UDim2.new(0.600000024, 5, 0, -5)
  246. NewGuiPart13.Size = UDim2.new(0.400000006, 0, 1, 0)
  247. NewGuiPart13.Font = Enum.Font.SourceSansBold
  248. NewGuiPart13.FontSize = Enum.FontSize.Size18
  249. NewGuiPart13.Text = "by nosyliam"
  250. NewGuiPart13.TextColor3 = Color3.new(1, 1, 1)
  251. NewGuiPart13.TextStrokeTransparency = 0.5
  252. NewGuiPart13.TextXAlignment = Enum.TextXAlignment.Left
  253. NewGuiPart13.TextYAlignment = Enum.TextYAlignment.Bottom
  254. NewGuiPart13.Parent = NewGuiPart12
  255. -------
  256. local NewGuiPart14 = Instance.new("Frame")
  257. NewGuiPart14.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  258. NewGuiPart14.BorderColor3 = Color3.new(0.32549, 0, 0)
  259. NewGuiPart14.Name = "Container"
  260. NewGuiPart14.Position = UDim2.new(0, 16, 0, 50)
  261. NewGuiPart14.Size = UDim2.new(1, -30, 0, 250)
  262. NewGuiPart14.Parent = NewGuiPart11
  263. -------
  264. local NewGuiPart15 = Instance.new("TextLabel")
  265. NewGuiPart15.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  266. NewGuiPart15.BorderSizePixel = 0
  267. NewGuiPart15.Name = "Message"
  268. NewGuiPart15.Position = UDim2.new(0, 15, 0, 305)
  269. NewGuiPart15.Size = UDim2.new(1, -30, 0, 25)
  270. NewGuiPart15.Font = Enum.Font.Highway
  271. NewGuiPart15.FontSize = Enum.FontSize.Size14
  272. NewGuiPart15.Text = "Server Message: variable is gay"
  273. NewGuiPart15.TextColor3 = Color3.new(0.886275, 0.886275, 0.886275)
  274. NewGuiPart15.TextStrokeTransparency = 0.69999998807907
  275. NewGuiPart15.Parent = NewGuiPart11
  276. -------
  277. local NewGuiPart16 = Instance.new("TextBox")
  278. NewGuiPart16.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  279. NewGuiPart16.BorderColor3 = Color3.new(0.32549, 0, 0)
  280. NewGuiPart16.Name = "Command"
  281. NewGuiPart16.Position = UDim2.new(0, 15, 0, 335)
  282. NewGuiPart16.Size = UDim2.new(1, -30, 0, 20)
  283. NewGuiPart16.Font = Enum.Font.Code
  284. NewGuiPart16.FontSize = Enum.FontSize.Size12
  285. NewGuiPart16.Text = "Press ; to enter a command"
  286. NewGuiPart16.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
  287. NewGuiPart16.TextStrokeTransparency = 0.80000001192093
  288. NewGuiPart16.TextTransparency = 0.30000001192093
  289. NewGuiPart16.Parent = NewGuiPart10
  290. -------
  291. local NewGuiPart17 = Instance.new("Frame")
  292. NewGuiPart17.BackgroundTransparency = 1
  293. NewGuiPart17.Name = "Template"
  294. NewGuiPart17.Size = UDim2.new(1, 0, 1, 0)
  295. NewGuiPart17.Visible = false
  296. NewGuiPart17.ZIndex = 2
  297. NewGuiPart17.Parent = NewGuiPart10
  298. -------
  299. local NewGuiPart18 = Instance.new("ScrollingFrame")
  300. NewGuiPart18.Active = true
  301. NewGuiPart18.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  302. NewGuiPart18.BorderColor3 = Color3.new(0.32549, 0, 0)
  303. NewGuiPart18.Name = "Container"
  304. NewGuiPart18.Position = UDim2.new(0, 15, 0, 10)
  305. NewGuiPart18.Selectable = true
  306. NewGuiPart18.Size = UDim2.new(1, -30, 0, 320)
  307. NewGuiPart18.ZIndex = 2
  308. NewGuiPart18.BottomImage = "rbxassetid://368504177"
  309. NewGuiPart18.CanvasSize = UDim2.new(0, 0, 0, 0)
  310. NewGuiPart18.MidImage = "rbxassetid://368504177"
  311. NewGuiPart18.ScrollBarThickness = 5
  312. NewGuiPart18.TopImage = "rbxassetid://368504177"
  313. NewGuiPart18.ClipsDescendants = true
  314. NewGuiPart18.Parent = NewGuiPart17
  315. -------
  316. local NewGuiPart19 = Instance.new("Frame")
  317. NewGuiPart19.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  318. NewGuiPart19.BackgroundTransparency = 1
  319. NewGuiPart19.BorderColor3 = Color3.new(0.32549, 0, 0)
  320. NewGuiPart19.Name = "Navigator"
  321. NewGuiPart19.Position = UDim2.new(0, 16, 0, 10)
  322. NewGuiPart19.Size = UDim2.new(1, -30, 0, 60)
  323. NewGuiPart19.Visible = false
  324. NewGuiPart19.Parent = NewGuiPart10
  325. -------
  326. local NewGuiPart20 = Instance.new("Frame")
  327. NewGuiPart20.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  328. NewGuiPart20.BorderColor3 = Color3.new(0.32549, 0, 0)
  329. NewGuiPart20.Name = "NavMain"
  330. NewGuiPart20.Position = UDim2.new(0, 22, 0, 0)
  331. NewGuiPart20.Size = UDim2.new(1, -44, 0, 60)
  332. NewGuiPart20.Parent = NewGuiPart19
  333. -------
  334. local NewGuiPart21 = Instance.new("TextButton")
  335. NewGuiPart21.Active = true
  336. NewGuiPart21.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  337. NewGuiPart21.BorderSizePixel = 0
  338. NewGuiPart21.Name = "NavLeft"
  339. NewGuiPart21.Selectable = true
  340. NewGuiPart21.Size = UDim2.new(0, 17, 1, 0)
  341. NewGuiPart21.Style = Enum.ButtonStyle.Custom
  342. NewGuiPart21.FontSize = Enum.FontSize.Size14
  343. NewGuiPart21.Text = ""
  344. NewGuiPart21.Parent = NewGuiPart19
  345. -------
  346. local NewGuiPart22 = Instance.new("TextButton")
  347. NewGuiPart22.Active = true
  348. NewGuiPart22.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  349. NewGuiPart22.BorderSizePixel = 0
  350. NewGuiPart22.Name = "NavRight"
  351. NewGuiPart22.Position = UDim2.new(1, -17, 0, 0)
  352. NewGuiPart22.Selectable = true
  353. NewGuiPart22.Size = UDim2.new(0, 17, 1, 0)
  354. NewGuiPart22.Style = Enum.ButtonStyle.Custom
  355. NewGuiPart22.FontSize = Enum.FontSize.Size14
  356. NewGuiPart22.Text = ""
  357. NewGuiPart22.Parent = NewGuiPart19
  358. -------
  359. local NewGuiPart23 = Instance.new("Frame")
  360. NewGuiPart23.Active = true
  361. NewGuiPart23.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  362. NewGuiPart23.BorderSizePixel = 0
  363. NewGuiPart23.Name = "Navigation"
  364. NewGuiPart23.Size = UDim2.new(0, 150, 1, 0)
  365. NewGuiPart23.ZIndex = 2
  366. NewGuiPart23.Parent = NewGuiPart2
  367. -------
  368. local NewGuiPart24 = Instance.new("Frame")
  369. NewGuiPart24.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  370. NewGuiPart24.BorderSizePixel = 0
  371. NewGuiPart24.Name = "Topbar"
  372. NewGuiPart24.Size = UDim2.new(1, 0, 0, 30)
  373. NewGuiPart24.ZIndex = 3
  374. NewGuiPart24.Parent = NewGuiPart23
  375. -------
  376. local NewGuiPart25 = Instance.new("ScrollingFrame")
  377. NewGuiPart25.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  378. NewGuiPart25.BorderSizePixel = 0
  379. NewGuiPart25.Name = "Scroll"
  380. NewGuiPart25.Position = UDim2.new(0, 0, 0, 30)
  381. NewGuiPart25.Selectable = true
  382. NewGuiPart25.Size = UDim2.new(1, 0, 1, -30)
  383. NewGuiPart25.ZIndex = 3
  384. NewGuiPart25.BottomImage = "rbxassetid://368504177"
  385. NewGuiPart25.MidImage = "rbxassetid://368504177"
  386. NewGuiPart25.ScrollBarThickness = 6
  387. NewGuiPart25.TopImage = "rbxassetid://368504177"
  388. NewGuiPart25.ClipsDescendants = true
  389. NewGuiPart25.Parent = NewGuiPart23
  390. -------
  391. local NewGuiPart26 = Instance.new("Frame")
  392. NewGuiPart26.BackgroundTransparency = 1
  393. NewGuiPart26.Name = "Composite1"
  394. NewGuiPart26.Position = UDim2.new(-1, 0, 0.5, -50)
  395. NewGuiPart26.Size = UDim2.new(0, 50, 0, 100)
  396. NewGuiPart26.ClipsDescendants = true
  397. NewGuiPart26.Parent = NewGuiPart1
  398. -------
  399. local NewGuiPart27 = Instance.new("TextLabel")
  400. NewGuiPart27.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  401. NewGuiPart27.BorderSizePixel = 0
  402. NewGuiPart27.Name = "Label"
  403. NewGuiPart27.Size = UDim2.new(2, 0, 1, 0)
  404. NewGuiPart27.Font = Enum.Font.SourceSansBold
  405. NewGuiPart27.FontSize = Enum.FontSize.Size96
  406. NewGuiPart27.Text = "T"
  407. NewGuiPart27.TextColor3 = Color3.new(1, 1, 1)
  408. NewGuiPart27.Parent = NewGuiPart26
  409. -------
  410. local NewGuiPart28 = Instance.new("Frame")
  411. NewGuiPart28.BackgroundTransparency = 1
  412. NewGuiPart28.Name = "Composite2"
  413. NewGuiPart28.Position = UDim2.new(1, 0, 0.5, -50)
  414. NewGuiPart28.Size = UDim2.new(0, 50, 0, 100)
  415. NewGuiPart28.ClipsDescendants = true
  416. NewGuiPart28.Parent = NewGuiPart1
  417. -------
  418. local NewGuiPart29 = Instance.new("TextLabel")
  419. NewGuiPart29.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  420. NewGuiPart29.BorderSizePixel = 0
  421. NewGuiPart29.Name = "Label"
  422. NewGuiPart29.Position = UDim2.new(-1, 0, 0, 0)
  423. NewGuiPart29.Size = UDim2.new(2, 0, 1, 0)
  424. NewGuiPart29.Font = Enum.Font.SourceSansBold
  425. NewGuiPart29.FontSize = Enum.FontSize.Size96
  426. NewGuiPart29.Text = "T"
  427. NewGuiPart29.TextColor3 = Color3.new(1, 1, 1)
  428. NewGuiPart29.Parent = NewGuiPart28
  429. -------
  430. local NewGuiPart30 = Instance.new("Frame")
  431. NewGuiPart30.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  432. NewGuiPart30.Name = "Solid"
  433. NewGuiPart30.Position = UDim2.new(0.5, -50, 0.5, -50)
  434. NewGuiPart30.Visible = false
  435. NewGuiPart30.ClipsDescendants = true
  436. NewGuiPart30.Parent = NewGuiPart1
  437. -------
  438. local NewGuiPart31 = Instance.new("TextLabel")
  439. NewGuiPart31.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  440. NewGuiPart31.BorderSizePixel = 0
  441. NewGuiPart31.Name = "Label"
  442. NewGuiPart31.Size = UDim2.new(1, 0, 1, 0)
  443. NewGuiPart31.Font = Enum.Font.SourceSansBold
  444. NewGuiPart31.FontSize = Enum.FontSize.Size96
  445. NewGuiPart31.Text = "T"
  446. NewGuiPart31.TextColor3 = Color3.new(1, 1, 1)
  447. NewGuiPart31.Parent = NewGuiPart30
  448.  
  449.  
  450.  
  451. topkek.center = game.Players.LocalPlayer.PlayerGui["4.0"].Main
  452. topkek.holder = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder
  453. topkek.topbar = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar
  454. topkek.template = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Template
  455. topkek.navigator = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Navigator
  456.  
  457. AllowHovers = false
  458. PlayerChatHook, UpdateBanlist = nil
  459. cmd = {}
  460.  
  461. --// data //--
  462. topkek.data.windows = {
  463. 'Home',
  464. 'LocalPlayer',
  465. 'Server',
  466. 'Players',
  467. 'Destruction',
  468. 'Scripts',
  469. 'Catalog',
  470. 'Music',
  471. 'Hats',
  472. 'Faces',
  473. 'Settings',
  474. 'Commands',
  475. 'Banlist',
  476. }
  477.  
  478. color3 = function(r,g,b)
  479. return Color3.new(r/255, g/255, b/255)
  480. end
  481. --// doggo dropdown //--
  482. -- thanks krystal
  483. GUI = {
  484. TextBox = {
  485. Settings = {
  486. Font = Enum.Font.SourceSans;
  487. FontSize = Enum.FontSize.Size14;
  488. };
  489. Color = {
  490. Main = Color3.fromRGB(5,8,11);
  491. Border = Color3.fromRGB(27,42,53);
  492. Text = Color3.fromRGB(199,199,199);
  493. };
  494. New = function(Position, Size, Parent, ...)
  495. local arguments = {...};
  496.  
  497. local TextBox = Instance.new("TextBox", Parent);
  498. TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
  499. TextBox.BorderColor3 = GUI.DropDown.Color.Border;
  500. TextBox.Font = GUI.TextBox.Settings.Font;
  501. TextBox.FontSize = GUI.TextBox.Settings.FontSize;
  502. TextBox.TextColor3 = GUI.TextBox.Color.Text;
  503. TextBox.Position = Position;
  504. TextBox.Size = Size;
  505. if #arguments then
  506. if arguments[1] then
  507. TextBox.Text = tostring(arguments[1]);
  508. else
  509. TextBox.Text = "";
  510. end
  511. end
  512. return TextBox;
  513. end;
  514. };
  515. DropDown = {
  516. Settings = {
  517. ScrollerAmount = 5; --A scroller will appear at this amount.
  518. ScrollBarThickness = 6;
  519. };
  520. Gfx = {
  521. Scroller = "rbxassetid://606572419";
  522. };
  523. Color = {
  524. Main = color3(107, 36, 36);
  525. Secondary = color3(113, 39, 39);
  526. Border = color3(127, 44, 44);
  527. Text = Color3.fromRGB(199,199,199);
  528. };
  529. New = function(Position, Size, Parent, ...)
  530. local vValue = {};
  531. local arguments = {...};
  532. local vSelected = Instance.new("StringValue");
  533. vSelected.Value = "nil";
  534.  
  535. if arguments then
  536. if type(arguments) == "table" then
  537. for i=1,#(arguments) do
  538. if type(arguments[i]) == "table" then
  539. for f=1,#(arguments[i]) do
  540. table.insert(vValue, tostring((arguments[i])[f]));
  541. end
  542. else
  543. table.insert(vValue, tostring(arguments[i]));
  544. end
  545. end
  546. vSelected.Value = (vValue[1]);
  547. end
  548. end
  549.  
  550. local Main = Instance.new("TextButton", Parent);
  551. Main.BackgroundColor3 = GUI.DropDown.Color.Main;
  552. Main.BorderColor3 = GUI.DropDown.Color.Border;
  553. Main.Position = Position;
  554. Main.Size = Size;
  555. Main.TextColor3 = GUI.DropDown.Color.Text;
  556. Main.FontSize = Enum.FontSize.Size14;
  557. Main.TextStrokeTransparency = 0.5;
  558. Main.TextXAlignment = Enum.TextXAlignment.Left;
  559. Main.Font = Enum.Font.SourceSans;
  560. Main.Text = " "..tostring(vSelected.Value);
  561. Main.ZIndex = 3
  562.  
  563. local Icon = Instance.new("TextLabel", Main);
  564. Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
  565. Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
  566. Icon.BorderColor3 = GUI.DropDown.Color.Border;
  567. Icon.Position = UDim2.new(1,-2,1,-2);
  568. Icon.Size = UDim2.new(-1,4,-1,4);
  569. Icon.TextColor3 = GUI.DropDown.Color.Text;
  570. Icon.FontSize = Enum.FontSize.Size14;
  571. Icon.TextStrokeTransparency = 0.5;
  572. Icon.Font = Enum.Font.SourceSans;
  573. Icon.Text = "V"
  574. Icon.ZIndex = 4
  575.  
  576. local Holder, Search;
  577. local ClearHolder = function()
  578. if Holder then
  579. Holder:ClearAllChildren();
  580. Holder.Size = UDim2.new(1,0,0,0);
  581. Holder.Visible = false;
  582. if Search then
  583. Search.Visible = false;
  584. end
  585. end
  586. end;
  587.  
  588. local CreateButton;
  589. local RefreshDropDown = function()
  590. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  591. if not Holder or not Holder:IsA("Frame") then
  592. Holder = nil; Search = nil;
  593. Holder = Instance.new("Frame",Main);
  594. Holder.Size = UDim2.new(1,0,0,0);
  595. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  596. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  597. Holder.Visible = false;
  598. Holder.ZIndex = 3
  599. end
  600. elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
  601. if not Holder or not Holder:IsA("ScrollingFrame") then
  602. Holder = nil; Search = nil;
  603. Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
  604. Search.Visible = false;
  605. Search.ZIndex = 4
  606. Search.Changed:connect(function(p)
  607. if p == "Text" then
  608. CreateButton(Search.Text);
  609. end
  610. end)
  611. Holder = Instance.new("ScrollingFrame",Main);
  612. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  613. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  614. Holder.TopImage = GUI.DropDown.Gfx.Scroller;
  615. Holder.MidImage = GUI.DropDown.Gfx.Scroller;
  616. Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
  617. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
  618. Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
  619. Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
  620. Holder.Visible = false;
  621. Holder.ZIndex = 3;
  622. end
  623. end
  624. if #vValue == 1 and vSelected.Value ~= vValue[1] then
  625. vSelected.Value = vValue[1];
  626. elseif #vValue == 0 then
  627. vSelected.Value = "nil";
  628. warn("Table amount is nil.");
  629. end
  630. Main.Text = " "..tostring(vSelected.Value);
  631. --ClearHolder();
  632. end;
  633.  
  634. local Debounce = false;
  635. CreateButton = function(searches)
  636. if Debounce == false then
  637. Debounce = true;
  638. ClearHolder()
  639. Holder.Visible = true;
  640. local Searched = 0;
  641. if #vValue > 0 then
  642. for i=1,#vValue do
  643. if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
  644. Searched = Searched + 1;
  645. end
  646. end
  647. for i=1,#vValue do
  648. 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
  649. local Select = Instance.new("TextButton", Holder);
  650. Select.BackgroundColor3 = GUI.DropDown.Color.Main;
  651. Select.BorderColor3 = GUI.DropDown.Color.Border;
  652. Select.BackgroundTransparency = 1;
  653. Select.BorderSizePixel = 0;
  654. Select.Position = Position;
  655. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  656. Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
  657. else
  658. Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
  659. end
  660. Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
  661. Select.TextColor3 = GUI.DropDown.Color.Text;
  662. Select.FontSize = Enum.FontSize.Size14;
  663. Select.TextStrokeTransparency = 0.5;
  664. Select.Font = Enum.Font.SourceSans;
  665. Select.Text = tostring(vValue[i]);
  666. Select.ZIndex = 3
  667. Select.MouseButton1Click:connect(function()
  668. vSelected.Value = vValue[i];
  669. ClearHolder();
  670. RefreshDropDown();
  671. end)
  672. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  673. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
  674. elseif Holder:IsA("ScrollingFrame") then
  675. Search.Visible = true;
  676. if #Holder:GetChildren() >= 1 then
  677. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  678. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
  679. if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
  680. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
  681. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  682. end
  683. elseif #Holder:GetChildren() < 1 then
  684. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  685. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  686. end
  687. end
  688. end
  689. end
  690. end
  691. Debounce = false;
  692. end
  693. end;
  694.  
  695. RefreshDropDown();
  696.  
  697. Main.MouseButton1Click:connect(function()
  698. CreateButton()
  699. if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
  700. Search:CaptureFocus();
  701. Search.Text = "";
  702. end
  703. end)
  704.  
  705. topkek.lplr:GetMouse().Button1Down:connect(function()
  706. ClearHolder()
  707. end)
  708.  
  709. return {
  710. Update = function()
  711. RefreshDropDown();
  712. end;
  713. GetValue = function()
  714. RefreshDropDown();
  715. return vValue;
  716. end;
  717. GetSelected = function()
  718. RefreshDropDown();
  719. return vSelected.Value;
  720. end;
  721. SetTable = function(F)
  722. vValue = F;
  723. RefreshDropDown();
  724. end;
  725. Changed = function(F)
  726. vSelected.Changed:connect(function()
  727. ypcall(function()
  728. F(vSelected.Value);
  729. end)
  730. end)
  731. return "ChangedEvent Hooked";
  732. end;
  733. AddValue = function(obj)
  734. local Type = type(obj);
  735. if Type == "table" then
  736. for i=1,#obj do
  737. table.insert(vValue, obj[i])
  738. end
  739. elseif Type == "string" or Type == "number" or Type == "boolean" then
  740. table.insert(vValue, obj)
  741. end
  742. RefreshDropDown();
  743. end;
  744. RemoveValue = function(obj)
  745. local Type = type(obj);
  746. if Type == "table" then
  747. for i=1,#vValue do
  748. for f=1,#obj do
  749. if tostring(obj[f]) == tostring(vValue[i]) then
  750. table.remove(vValue,i)
  751. end
  752. end
  753. end
  754. else
  755. for i=1,#vValue do
  756. if tostring(obj) == tostring(vValue[i]) then
  757. table.remove(vValue,i)
  758. end
  759. end
  760. end
  761. RefreshDropDown();
  762. end;
  763. ClearValue = function()
  764. vValue = {};
  765. RefreshDropDown();
  766. end;
  767. }
  768. end;
  769. };
  770. };
  771. --// util //--
  772. function topkek.tools.util.Object(o, p)
  773. local a, b = pcall(function()
  774. Instance.new(o)
  775. end)
  776. if not a then
  777. return
  778. end
  779. local obj = Instance.new(o)
  780. for prop, val in pairs(p) do
  781. pcall(function()
  782. obj[prop] = val
  783. end)
  784. end
  785. return obj
  786. end
  787.  
  788. function topkek.tools.util.getContainer(n)
  789. if game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder:FindFirstChild(n) then
  790. return game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder[n]
  791. else
  792. print("menu not found; returning template")
  793. return topkek.holder['Template']
  794. end
  795. end
  796.  
  797. function topkek.tools.util.play(id)
  798. local mu = Instance.new("Sound", game:GetService('Workspace'))
  799. mu.Volume = 1
  800. mu.Looped = true
  801. mu.Pitch = 1
  802. mu.SoundId = "rbxassetid://"..tostring(id)
  803. mu:Play()
  804. end
  805.  
  806. function topkek.tools.util.getTorso(plr) --r15 compatibility lole
  807. if plr.Character then
  808. if plr.Character:FindFirstChild('UpperTorso') then
  809. return plr.Character.UpperTorso
  810. elseif plr.Character:FindFirstChild('Torso') then
  811. return plr.Character.Torso
  812. else
  813. return nil
  814. end
  815. end
  816. end
  817.  
  818. function topkek.tools.util.recurseRemove(x,type_)
  819. local function recurse(x)
  820. for i, v in pairs(x:GetChildren()) do
  821. pcall(function()
  822. if v:IsA(type_) then
  823. v:Destroy()
  824. end
  825. if #(v:GetChildren())>0 then
  826. recurse(v)
  827. end
  828. end)
  829. end
  830. end
  831. recurse(x)
  832. end
  833.  
  834. function topkek.tools.util.recurseFunc(type_,func)
  835. local function recurse(x)
  836. for i, v in pairs(x:GetChildren()) do
  837. pcall(function()
  838. if v:IsA(type_) then
  839. func(v)
  840. end
  841. if #(v:GetChildren())>0 then
  842. recurse(v)
  843. end
  844. end)
  845. end
  846. end
  847. recurse(game)
  848. end
  849. function topkek.tools.util.trowel()
  850. local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
  851. T.Name = 'Custom Trowel'
  852.  
  853. local p = Instance.new('Part')
  854. p.Name = 'Handle'
  855. p.Size = Vector3.new(1,4.4,1)
  856. p.Parent = T
  857.  
  858. local specialMesh = Instance.new('SpecialMesh')
  859. specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
  860. specialMesh.MeshType = 'FileMesh'
  861. specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
  862. specialMesh.Parent = T.Handle
  863.  
  864. local sound = Instance.new'Sound'
  865. sound.Name = 'build'
  866. sound.SoundId = 'rbxasset://sounds//bass.wav'
  867. sound.Volume = 1
  868. sound.Parent = T.Handle
  869.  
  870. local brickHeight = 100
  871. local trowelSpeed = 0.05
  872. local brickWidth = 500
  873. local mouseConnection
  874.  
  875. function newBrick(CF, P, color)
  876. local brick = Instance.new('Part')
  877. brick.BrickColor = color
  878. brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
  879. brick.Parent = game.Workspace
  880. brick:MakeJoints()
  881. brick.Material = 'Neon'
  882. brick.Name = 'DeleteMe'
  883. return brick, P + brick.Size
  884. end
  885.  
  886. function genBrick(cFrame)
  887. local randBrickColor = BrickColor.Random()
  888. assert(brickWidth > 0)
  889.  
  890. local yPos = 0
  891.  
  892. while yPos < brickHeight do
  893. local vPos
  894. local X = -brickWidth / 2
  895. while X < brickWidth / 2 do
  896. local brick
  897. brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
  898. X = vPos.x
  899. wait(trowelSpeed)
  900. end
  901. yPos = vPos.y
  902. end
  903. end
  904.  
  905. function calcPos(vec)
  906. if (math.abs(vec.x) > math.abs(vec.z)) then
  907. if vec.x > 0 then
  908. return Vector3.new(1, 0, 0)
  909. else
  910. return Vector3.new(-1, 0, 0)
  911. end
  912. else
  913. if (vec.z > 0) then
  914. return Vector3.new(0, 0, 1)
  915. else
  916. return Vector3.new(0, 0, -1)
  917. end
  918. end
  919. end
  920.  
  921. T.Enabled = true
  922.  
  923. T.Activated:connect(function()
  924. if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  925. T.Enabled = false
  926. T.Handle.build:Play()
  927. 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)))
  928. T.Enabled = true
  929. end
  930. end)
  931.  
  932. T.Equipped:connect(function()
  933. mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  934. if (key == 'r') then
  935. for i,v in next, workspace:children'' do
  936. if (v.Name == 'DeleteMe') then
  937. v:Destroy()
  938. end
  939. end
  940. end
  941. end)
  942. end)
  943.  
  944. T.Unequipped:connect(function()
  945. mouseConnection:disconnect()
  946. end)
  947. end
  948. function topkek.tools.util.recurseSet(type_,prop,val)
  949. local function recurse(x)
  950. for i, v in pairs(x:GetChildren()) do
  951. pcall(function()
  952. if v:IsA(type_) then
  953. v[prop]=val
  954. end
  955. if #(v:GetChildren())>0 then
  956. recurse(v)
  957. end
  958. end)
  959. end
  960. end
  961. recurse(game)
  962. end
  963. function topkek.tools.util.recurseUltimate(d)
  964. topkek.tools.util.recurseDecal(d)
  965. topkek.tools.util.recurseParticles(d)
  966. end
  967. function topkek.tools.util.recurseDecal(img)
  968. img = 'rbxassetid://' .. img
  969. local function skybox(x)
  970. local sky = Instance.new("Sky",game.Lighting)
  971. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  972. for i,v in pairs(fcs) do
  973. sky["Skybox"..v]=x
  974. end
  975. end
  976.  
  977. local function decal(p, b)
  978. local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  979. for i, v in pairs(sides) do
  980. local a = Instance.new("Decal", p)
  981. a.Texture = b
  982. a.Face = v
  983. end
  984. end
  985.  
  986. local function recurse(x)
  987. for i, v in pairs(x:GetChildren()) do
  988. pcall(function() -- 'error occured, no output from Lua' LOLE
  989. if v:IsA("BasePart") then
  990. decal(v, img)
  991. end
  992. if #(v:GetChildren())>0 then
  993. recurse(v)
  994. end
  995. end)
  996. end
  997. end
  998.  
  999. recurse(game)
  1000. skybox(img)
  1001. end
  1002. function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
  1003. img = 'rbxassetid://' .. img
  1004. local function skybox(x)
  1005. local sky = Instance.new("Sky",game.Lighting)
  1006. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  1007. for i,v in pairs(fcs) do
  1008. sky["Skybox"..v]=x
  1009. end
  1010. end
  1011. local function particle(p, b)
  1012. local a = Instance.new("ParticleEmitter", p)
  1013. a.Rate = 500
  1014. a.Lifetime = NumberRange.new(20, 30)
  1015. a.VelocitySpread = 200
  1016. a.Texture = b
  1017. end
  1018.  
  1019. local function recurse(x)
  1020. for i, v in pairs(x:GetChildren()) do
  1021. pcall(function() -- 'error occured, no output from Lua' LOLE
  1022. if v:IsA("BasePart") then
  1023. particle(v, img)
  1024. end
  1025. if #(v:GetChildren())>0 then
  1026. recurse(v)
  1027. end
  1028. end)
  1029. end
  1030. end
  1031.  
  1032. recurse(game)
  1033. skybox(img)
  1034. end
  1035. function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
  1036. local function recurse(x)
  1037. for i, v in pairs(x:GetChildren()) do
  1038. pcall(function()
  1039. if v:IsA(type_) then
  1040. v[prop]=val
  1041. end
  1042. if #(v:GetChildren())>0 then
  1043. recurse(v)
  1044. end
  1045. end)
  1046. end
  1047. end
  1048. recurse(obj)
  1049. end
  1050. function topkek.tools.util.doPlayers(cval, func)
  1051. local plrs = {}
  1052. if cval == 'All' then
  1053. plrs = game:GetService('Players'):GetPlayers()
  1054. else
  1055. plrs = {game:GetService('Players'):FindFirstChild(cval)}
  1056. end
  1057. for i, v in pairs(plrs) do
  1058. func(v)
  1059. end
  1060. end
  1061. function topkek.tools.util.scalePlayer(sc,plr)
  1062. local pchar = plr.Character
  1063. if pchar:FindFirstChild("UpperTorso") then
  1064. warn("Player [" ..plr.Name.. "] is R15.")
  1065. return
  1066. end
  1067. local function scale(chr,scl)
  1068.  
  1069. for _,v in pairs(pchar:GetChildren()) do
  1070. if v:IsA("Hat") then
  1071. v:Clone()
  1072. v.Parent = game.Lighting
  1073. end
  1074. end
  1075.  
  1076. local Head = chr['Head']
  1077. local Torso = chr['Torso']
  1078. local LA = chr['Left Arm']
  1079. local RA = chr['Right Arm']
  1080. local LL = chr['Left Leg']
  1081. local RL = chr['Right Leg']
  1082. local HRP = chr['HumanoidRootPart']
  1083.  
  1084. wait(0.1)
  1085.  
  1086. Head.formFactor = 3
  1087. Torso.formFactor = 3
  1088. LA.formFactor = 3
  1089. RA.formFactor = 3
  1090. LL.formFactor = 3
  1091. RL.formFactor = 3
  1092. HRP.formFactor = 3
  1093.  
  1094. Head.Size = Vector3.new(scl * 2, scl, scl)
  1095. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1096. LA.Size = Vector3.new(scl, scl * 2, scl)
  1097. RA.Size = Vector3.new(scl, scl * 2, scl)
  1098. LL.Size = Vector3.new(scl, scl * 2, scl)
  1099. RL.Size = Vector3.new(scl, scl * 2, scl)
  1100. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1101.  
  1102. local Motor1 = Instance.new('Motor6D', Torso)
  1103. Motor1.Part0 = Torso
  1104. Motor1.Part1 = Head
  1105. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1106. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1107. Motor1.Name = "Neck"
  1108.  
  1109. local Motor2 = Instance.new('Motor6D', Torso)
  1110. Motor2.Part0 = Torso
  1111. Motor2.Part1 = LA
  1112. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1113. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1114. Motor2.Name = "Left Shoulder"
  1115.  
  1116. local Motor3 = Instance.new('Motor6D', Torso)
  1117. Motor3.Part0 = Torso
  1118. Motor3.Part1 = RA
  1119. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1120. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1121. Motor3.Name = "Right Shoulder"
  1122.  
  1123. local Motor4 = Instance.new('Motor6D', Torso)
  1124. Motor4.Part0 = Torso
  1125. Motor4.Part1 = LL
  1126. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1127. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1128. Motor4.Name = "Left Hip"
  1129.  
  1130. local Motor5 = Instance.new('Motor6D', Torso)
  1131. Motor5.Part0 = Torso
  1132. Motor5.Part1 = RL
  1133. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1134. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1135. Motor5.Name = "Right Hip"
  1136.  
  1137. local Motor6 = Instance.new('Motor6D', HRP)
  1138. Motor6.Part0 = HRP
  1139. Motor6.Part1 = Torso
  1140. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1141. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1142.  
  1143. end
  1144.  
  1145. scale(pchar, sc)
  1146.  
  1147. for _,v in pairs(game.Lighting:GetChildren()) do
  1148. if v:IsA("Hat") then
  1149. v.Parent = pchar
  1150. end
  1151. end
  1152. end
  1153. function topkek.tools.util.applyFace(id)
  1154. local Char = topkek.lplr.Character
  1155. if(Char)then
  1156. local Type = id
  1157. local Meme=id
  1158. local BBG_SIZE=Char.Head.Size.X*1.25;
  1159. local STUD_VECTOR_1=Char.Head.Size.Z/4;
  1160. local STUD_VECTOR_2=Char.Head.Size.Z;
  1161. local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
  1162. bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  1163. bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
  1164. bbg.Adornee=Char.Head;
  1165. bbg.Name='BBGMEME';
  1166. local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
  1167. img.BackgroundTransparency=1;
  1168. img.Image="rbxassetid://"..Meme;
  1169. img.Size=UDim2.new(1,0,1,0)
  1170. img.Name='Meme';
  1171. for i,v in next,Char:children()do
  1172. if(v.className=='Hat')then
  1173. v=v:FindFirstChild'Handle';
  1174. if(v)then
  1175. v.Transparency=0
  1176. end;
  1177. end;
  1178. end;
  1179. end;
  1180. end;
  1181. function topkek.tools.util.weenieHutJunior(plr)
  1182. plr=plr.Character
  1183. Shaft=Instance.new("Part", plr)
  1184. Shaft.Name='Shaft'
  1185. Shaft.Size=Vector3.new(1, 2.5, 1)
  1186. Shaft.TopSurface=0
  1187. Shaft.BottomSurface=0
  1188. Shaft.CanCollide=true
  1189. Cyln=Instance.new("CylinderMesh", Shaft)
  1190. Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  1191. Instance.new("Weld", plr)
  1192. plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  1193. plr.Weld.Part1=plr.Shaft
  1194. plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  1195. Shaft.BrickColor=BrickColor.new("Pastel brown")
  1196. Tip=Instance.new("Part", plr)
  1197. Tip.Name='Tip'
  1198. Tip.TopSurface=0
  1199. Tip.BottomSurface=0
  1200. Tip.Size=Vector3.new(1, 1, 1)
  1201. Tip.CanCollide=true
  1202. 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)
  1203. Cyln2=Instance.new("SpecialMesh", Tip)
  1204. Cyln2.MeshType='Sphere'
  1205. Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  1206. Instance.new("Weld", plr).Name='Weld2'
  1207. plr.Weld2.Part0=plr.Shaft
  1208. plr.Weld2.Part1=plr.Tip
  1209. plr.Weld2.C0=CFrame.new(0,-.9,0)
  1210. Tip.BrickColor=BrickColor.new("Pink")
  1211. -----
  1212. Ball1=Instance.new("Part", plr)
  1213. Ball1.Name='Ball1'
  1214. Ball1.Size=Vector3.new(1, 1, 1)
  1215. Ball1.TopSurface=0
  1216. Ball1.BottomSurface=0
  1217. Cyln3=Instance.new("SpecialMesh", Ball1)
  1218. Cyln3.MeshType='Sphere'
  1219. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  1220. Instance.new("Weld", plr).Name='Weld3'
  1221. plr.Weld3.Part0=plr.Shaft
  1222. plr.Weld3.Part1=plr.Ball1
  1223. plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  1224. Ball1.BrickColor=BrickColor.new("Pastel brown")
  1225. -----
  1226. Ball2=Instance.new("Part", plr)
  1227. Ball2.Name='Ball2'
  1228. Ball2.Size=Vector3.new(1, 1, 1)
  1229. Ball2.TopSurface=0
  1230. Ball2.BottomSurface=0
  1231. Cyln3=Instance.new("SpecialMesh", Ball2)
  1232. Cyln3.MeshType='Sphere'
  1233. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  1234. Instance.new("Weld", plr).Name='Weld4'
  1235. plr.Weld4.Part0=plr.Shaft
  1236. plr.Weld4.Part1=plr.Ball2
  1237. plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  1238. Ball2.BrickColor=BrickColor.new("Pastel brown")
  1239. end
  1240. --// banmgr //--
  1241. topkek.banmgr.isPrivate = false
  1242. topkek.banmgr.whitelist = {}
  1243. topkek.banmgr.bans = {}
  1244. function topkek.banmgr.executeKick(z)
  1245. local function doKick()
  1246. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  1247. z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  1248. local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  1249. spawn(function()
  1250. repeat wait()
  1251. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  1252. SP.Position = z.Character.HumanoidRootPart.Position
  1253. end
  1254. until not game:GetService('Players'):FindFirstChild(z.Name)
  1255. end)
  1256. z.Character.Torso.Anchored = true
  1257. end
  1258. end
  1259. repeat
  1260. doKick()
  1261. wait()
  1262. until not z
  1263. end
  1264. function topkek.banmgr.loadFromFile()
  1265. -- todo: read file
  1266. topkek.settings.get()
  1267. topkek.banmgr.bans = topkek.settingsTable['Bans']
  1268. end
  1269. function topkek.banmgr.addHardBan(p)
  1270. -- todo: write file
  1271. table.insert(topkek.banmgr.bans, p.Name)
  1272. topkek.settings.get()
  1273. table.insert(topkek.settingsTable['Bans'], p.Name)
  1274. topkek.settings.write()
  1275. print("Hardbanned " .. p.Name)
  1276. UpdateBanlist()
  1277. topkek.banmgr.executeKick(p)
  1278. topkek.banmgr.loadFromFile()
  1279. end
  1280. function topkek.banmgr.addSoftBan(p)
  1281. table.insert(topkek.banmgr.bans, p.Name)
  1282. topkek.banmgr.executeKick(p)
  1283. end
  1284. function topkek.banmgr.plrBanned(p)
  1285. for x, m in pairs(topkek.banmgr.bans) do
  1286. if m == p.Name then
  1287. return true
  1288. end
  1289. end
  1290. return false
  1291. end
  1292. function topkek.banmgr.doWhitelist(p)
  1293. print(p .. " whitelisted")
  1294. table.insert(topkek.banmgr.whitelist, p)
  1295. end
  1296. function topkek.banmgr.unwhitelist(p)
  1297. for x, m in pairs(topkek.banmgr.whitelist) do
  1298. if m == p then
  1299. print(m .. " unwhitelisted")
  1300. table.remove(topkek.banmgr.whitelist, x)
  1301. if game:GetService('Players'):FindFirstChild(p) then
  1302. topkek.banmgr.executeKick(game:GetService('Players')[p])
  1303. end
  1304. end
  1305. end
  1306. end
  1307. function topkek.banmgr.plrWhitelisted(p)
  1308. for x, m in pairs(topkek.banmgr.whitelist) do
  1309. if m == p.Name then
  1310. return true
  1311. end
  1312. end
  1313. return false
  1314. end
  1315. function topkek.banmgr.makePrivate()
  1316. topkek.banmgr.isPrivate = true
  1317. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  1318. if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
  1319. spawn(function()
  1320. topkek.banmgr.executeKick(v)
  1321. end)
  1322. end
  1323. end
  1324. end
  1325. function topkek.banmgr.unprivate()
  1326. topkek.banmgr.isPrivate = false
  1327. end
  1328. function topkek.banmgr.init()
  1329. topkek.banmgr.loadFromFile()
  1330. game:GetService('Players').PlayerAdded:connect(function(p)
  1331. if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
  1332. print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
  1333. topkek.banmgr.executeKick(p)
  1334. end
  1335. end)
  1336. end
  1337. --// settings //--
  1338. topkek.settings = {}
  1339. topkek.settingsTable = {}
  1340. function topkek.settings.write()
  1341. --writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
  1342. end
  1343. function topkek.settings.get()
  1344. if game.Players.LocalPlayer.Character then
  1345. print("No settings! Making new ...")
  1346. topkek.settingsTable = {
  1347. ['Bans'] = {
  1348.  
  1349. },
  1350. ['Themes'] = {
  1351. {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
  1352. };
  1353. }
  1354. topkek.settings.write()
  1355. return topkek.settingsTable
  1356. else
  1357. local lset = game:GetService('HttpService'):JSONDecode(set)
  1358. topkek.settingsTable = lset
  1359. return lset
  1360. end
  1361. end
  1362. --// shortcuts //--
  1363. tk = {}
  1364. tk.ob = topkek.tools.util.Object
  1365. tk.dp = topkek.tools.util.doPlayers
  1366. tk.rcm = topkek.tools.util.recurseRemove
  1367. tk.rcs = topkek.tools.util.recurseSet
  1368. tk.rcf = topkek.tools.util.recurseFunc
  1369. tk.rco = topkek.tools.util.recurseSetObj
  1370. tk.play = topkek.tools.util.play
  1371. tk.gt = topkek.tools.util.getTorso
  1372. --// gui //--
  1373. -- copying this from topkek3.0 because i'm
  1374. -- too lazy to rewrite my lib
  1375. topkek.tools.gui.seperation = 12
  1376. function topkek.tools.gui:addLeftIcon(parent, img, sz)
  1377. topkek.tools.util.Object('ImageLabel', {
  1378. Parent = parent;
  1379. BackgroundTransparency = 1;
  1380. Position = UDim2.new(0, 2, 0, 2);
  1381. Size = UDim2.new(0, sz, 0, sz);
  1382. Image = img;
  1383. })
  1384. end
  1385. function topkek.tools.gui:makeContainer(n)
  1386. local temp = topkek.template:Clone()
  1387. temp.Name = n
  1388. temp.Parent = topkek.holder
  1389. temp.Container.Visible = false
  1390. end
  1391. function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
  1392. if not o:IsA("ScrollingFrame") and (not ncan) then
  1393. return nil
  1394. elseif o:IsA("ScrollingFrame") then
  1395. o.CanvasSize = UDim2.new(0, 0, 0, 0)
  1396. end
  1397.  
  1398. local self = {}
  1399. self.main = o
  1400. self.drawX = 0
  1401. self.drawY = stt or topkek.tools.gui.seperation/2
  1402. self.drawHeight = 0
  1403. self.sepr = sepr or topkek.tools.gui.seperation
  1404.  
  1405. function self:drawButton(sz, txt, func, ysz, cbgd)
  1406. local xposOffset = 0
  1407. local xposScale = self.drawX
  1408. local xszOffset = 0
  1409. local xszScale = sz
  1410. if not (self.drawX == 0) then
  1411. xszOffset = -5
  1412. if sz + self.drawX > 0.998 then
  1413. xszOffset = -10
  1414. end
  1415. elseif sz == 1 then
  1416. local bzz = 4
  1417. if ncan then
  1418. bzz = 0
  1419. end
  1420. xszOffset = -(self.sepr) - bzz
  1421. xposOffset = self.sepr/2
  1422. else
  1423. xszOffset = -4 + -(self.sepr/2)
  1424. xposOffset = self.sepr/2
  1425. end
  1426. if not ysz then ysz = 20 end
  1427. local obj = topkek.tools.util.Object("TextButton", {
  1428. Parent = self.main;
  1429. BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
  1430. BorderSizePixel = 0;
  1431. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1432. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1433. Font = 'SourceSans';
  1434. FontSize = 'Size14';
  1435. Text = txt;
  1436. TextSize = 14;
  1437. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1438. })
  1439. obj.MouseButton1Down:connect(function()
  1440. spawn(func)
  1441. end)
  1442. if ysz > self.drawHeight then
  1443. self.drawHeight = ysz
  1444. end
  1445. self.drawX = self.drawX + sz
  1446. if self.drawX > 0.998 then
  1447. self.drawY = self.drawY + 3 + self.drawHeight
  1448. self.drawX = 0
  1449. self.drawHeight = 0
  1450. if (not ncan) then
  1451. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1452. end
  1453. end
  1454. return obj
  1455. end
  1456.  
  1457. function self:GetChildren()
  1458. return self.main:GetChildren()
  1459. end
  1460.  
  1461. function self:getDrawY()
  1462. return self.drawY
  1463. end
  1464.  
  1465. function self:setDrawY(y)
  1466. self.drawY = y
  1467. end
  1468.  
  1469. function self:drawTextBox(sz, txt, ysz, cbgd)
  1470. local xposOffset = 0
  1471. local xposScale = self.drawX
  1472. local xszOffset = 0
  1473. local xszScale = sz
  1474. if not (self.drawX == 0) then
  1475. xszOffset = -5
  1476. if sz + self.drawX > 0.998 then
  1477. xszOffset = -10
  1478. end
  1479. elseif sz == 1 then
  1480. xszOffset = -(self.sepr) - 5
  1481. xposOffset = self.sepr/2
  1482. else
  1483. xszOffset = -4 + -(self.sepr/2)
  1484. xposOffset = self.sepr/2
  1485. end
  1486. if not ysz then ysz = 20 end
  1487. local obj = topkek.tools.util.Object("TextBox", {
  1488. Parent = self.main;
  1489. BackgroundColor3 = cbgd or color3(153, 52, 52);
  1490. BorderSizePixel = 0;
  1491. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1492. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1493. Font = 'SourceSans';
  1494. FontSize = 'Size14';
  1495. Text = txt;
  1496. TextSize = 14;
  1497. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1498. })
  1499. if ysz > self.drawHeight then
  1500. self.drawHeight = ysz
  1501. end
  1502. self.drawX = self.drawX + sz
  1503. if self.drawX > 0.998 then
  1504. self.drawY = self.drawY + 3 + self.drawHeight
  1505. self.drawX = 0
  1506. self.drawHeight = 0
  1507. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1508. end
  1509. return obj
  1510. end
  1511.  
  1512. function self:drawImage(sz, img, ysz)
  1513. local xposOffset = 0
  1514. local xposScale = self.drawX
  1515. local xszOffset = 0
  1516. local xszScale = sz
  1517. if not (self.drawX == 0) then
  1518. xszOffset = -5
  1519. if sz + self.drawX > 0.998 then
  1520. xszOffset = -12
  1521. end
  1522. elseif sz == 1 then
  1523. xszOffset = -(self.sepr) - 5
  1524. xposOffset = self.sepr/2
  1525. else
  1526. xszOffset = -5 + -(self.sepr/2)
  1527. xposOffset = self.sepr/2
  1528. end
  1529. if not ysz then ysz = 20 end
  1530. local obj = topkek.tools.util.Object("ImageLabel", {
  1531. Parent = self.main;
  1532. BackgroundTransparency = 1;
  1533. BorderColor3 = Color3.new(27, 42, 53);
  1534. BorderSizePixel = 0;
  1535. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1536. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1537. Image = img;
  1538. })
  1539. if ysz > self.drawHeight then
  1540. self.drawHeight = ysz
  1541. end
  1542. self.drawX = self.drawX + sz
  1543. if self.drawX > 0.998 then
  1544. self.drawY = self.drawY + 3 + self.drawHeight
  1545. self.drawX = 0
  1546. self.drawHeight = 0
  1547. if (not ncan) then
  1548. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1549. end
  1550. end
  1551. return obj
  1552. end
  1553.  
  1554. function self:drawText(sz, txt, ysz)
  1555. local xposOffset = 0
  1556. local xposScale = self.drawX
  1557. local xszOffset = 0
  1558. local xszScale = sz
  1559. if not (self.drawX == 0) then
  1560. xszOffset = -5
  1561. if sz + self.drawX > 0.998 then
  1562. xszOffset = -10
  1563. end
  1564. elseif sz == 1 then
  1565. local bzz = 5
  1566. if ncan then
  1567. bzz = 0
  1568. end
  1569. xszOffset = -(self.sepr) - bzz
  1570. xposOffset = self.sepr/2
  1571. else
  1572. xszOffset = -4 + -(self.sepr/2)
  1573. xposOffset = self.sepr/2
  1574. end
  1575. if not ysz then ysz = 20 end
  1576. local obj = topkek.tools.util.Object("TextLabel", {
  1577. Parent = self.main;
  1578. BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
  1579. BorderSizePixel = 0;
  1580. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1581. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1582. Font = 'SourceSans';
  1583. FontSize = 'Size14';
  1584. Text = txt;
  1585. TextSize = 14;
  1586. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1587.  
  1588. })
  1589. if ysz > self.drawHeight then
  1590. self.drawHeight = ysz
  1591. end
  1592. self.drawX = self.drawX + sz
  1593. if self.drawX > 0.998 then
  1594. self.drawY = self.drawY + 3 + self.drawHeight
  1595. self.drawX = 0
  1596. self.drawHeight = 0
  1597. if (not ncan) then
  1598. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1599. end
  1600. end
  1601. return obj
  1602. end
  1603.  
  1604.  
  1605. function self:drawScrollingContainer(ysz)
  1606. local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  1607. local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  1608. local obj = topkek.tools.util.Object("ScrollingFrame", {
  1609. Parent = self.main;
  1610. BackgroundColor3 = color3(117, 42, 42);
  1611. BorderSizePixel = 0;
  1612. Position = pos;
  1613. Size = sz;
  1614. BottomImage = 'rbxassetid://368504177';
  1615. MidImage = 'rbxassetid://368504177';
  1616. TopImage = 'rbxassetid://368504177';
  1617. ScrollBarThickness = 5;
  1618. })
  1619.  
  1620. self.drawY = self.drawY + 5 + ysz
  1621. self.drawX = 0
  1622. self.drawHeight = 0
  1623. if (not ncan) then
  1624. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1625. end
  1626. return topkek.tools.gui:hookContainer(obj, false, 10, 3)
  1627. end
  1628.  
  1629. function self:drawContainer(xsz, ysz, xz, tz, sep)
  1630. local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  1631. local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
  1632. local obj = topkek.tools.util.Object("Frame", {
  1633. Parent = self.main;
  1634. BackgroundColor3 = color3(117, 42, 42);
  1635. BorderSizePixel = 0;
  1636. Position = pos;
  1637. Size = sz;
  1638. })
  1639. if not xz then
  1640. self.drawY = self.drawY + 5 + ysz
  1641. end
  1642. self.drawX = 0
  1643. self.drawHeight = 0
  1644. if (not ncan) then
  1645. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1646. end
  1647. return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
  1648. end
  1649.  
  1650. function self:addSpacing()
  1651. self.drawY = self.drawY + 3
  1652. end
  1653.  
  1654. function self:center()
  1655. local a,c,b=
  1656. self.main.Position.X.Scale,
  1657. self.main.Position.X.Offset,self.main.Size.Y.Offset
  1658. self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  1659. end
  1660.  
  1661. return self
  1662. end
  1663.  
  1664. --//anim//--
  1665. topkek.tools.animator.animateTo = function(source, dest)
  1666. -- holder2holder:
  1667. -- invis holder
  1668. -- clone holder; vis
  1669. -- move holder to right
  1670. -- vis dest container
  1671. -- tween clone holder left
  1672. -- tween dest holder right
  1673. print("nav",source,dest)
  1674. topkek.holder.Visible = false
  1675. local hclone = topkek.holder:Clone()
  1676. hclone.Parent = topkek.center
  1677. hclone.Name = 'animclone'
  1678. hclone.Visible = true
  1679. topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
  1680. source.Visible = false
  1681. dest.Visible = true
  1682. dest.Container.Visible = true
  1683. dest.Container.ZIndex = 1
  1684. dest.ZIndex = 1
  1685. topkek.holder.Visible = true
  1686. topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
  1687. hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
  1688. wait(0.3)
  1689. end
  1690. topkek.tools.animator.initialAnimation = function()
  1691. -- initanim:
  1692. -- join both composites
  1693. -- delete composites; vis solid
  1694. -- tween solid to nav topbar
  1695. -- copy topbar plrname; move outside region
  1696. -- tween in clone topbar
  1697. -- delete clone and solid; vis topbar
  1698. -- tween down topbar
  1699. -- tween holder out
  1700. local function abspos(x)
  1701. return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
  1702. end
  1703. local function abssz(x)
  1704. return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
  1705. end
  1706. local holder = topkek.holder
  1707. local nav = topkek.navigator
  1708. local topnav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation.Topbar
  1709. local topbar = topkek.topbar
  1710. local pname = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar.PlayerName:Clone()
  1711. local solid = game.Players.LocalPlayer.PlayerGui["4.0"].Solid
  1712. topkek.center.Size = UDim2.new(0, 150, 0, 30)
  1713. game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
  1714. game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
  1715. wait(0.52)
  1716. solid.Visible = true
  1717. game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:Destroy()
  1718. game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:Destroy()
  1719. wait(3)
  1720. solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
  1721. solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
  1722. wait(0.52)
  1723. solid.Label:Destroy()
  1724. wait(0.12)
  1725. topkek.center.Visible = true
  1726. topnav.Visible = true
  1727. solid:Destroy()
  1728. pname.Position = UDim2.new(0, -170, 0, 0)
  1729. pname.Parent = topnav
  1730. pname.Visible = true
  1731. pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
  1732. wait(0.25)
  1733. topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
  1734. spawn(topkek.navigation.buildNavigator)
  1735. wait(0.35)
  1736. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
  1737. wait(0.35)
  1738. topbar.PlayerName.Visible = true
  1739. pname:Destroy()
  1740. AllowHovers = true
  1741. end
  1742. --//nav//--
  1743. topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
  1744. topkek.navigation.windowState = 0
  1745. topkek.navigation.gotoContainer = function(cont)
  1746. topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
  1747. topkek.navigation.currentContainer = cont
  1748. end
  1749. topkek.navigation.buildNavigator = function()
  1750. local nav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation
  1751. local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
  1752. local btns = {}
  1753. for l, x in pairs(topkek.data.windows) do
  1754. local container = topkek.tools.util.getContainer(x)
  1755. local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
  1756. local ZPos = btn.Position
  1757. btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
  1758. btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
  1759. btn.LayoutOrder = l
  1760. btn.ZIndex = 4
  1761. local OPos = btn.Position
  1762. btn.MouseEnter:connect(function()
  1763. if AllowHovers == false then
  1764. return
  1765. end
  1766. for i, v in pairs(btns) do
  1767. if v[1] ~= btn then
  1768. v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
  1769. end
  1770. end
  1771. btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
  1772. end)
  1773. btn.MouseLeave:connect(function()
  1774. btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
  1775. end)
  1776. table.insert(btns, {btn, OPos})
  1777. wait()
  1778. end
  1779. end
  1780. topkek.navigation.buildTopbar = function()
  1781. local top = topkek.topbar
  1782. local FELabel = top.Controllers.IsFE
  1783. top.PlayerName.Text = topkek.lplr.Name
  1784. if game:GetService('Workspace').FilteringEnabled == true then
  1785. FELabel.Text = "FE Game"
  1786. FELabel.TextColor3 = BrickColor.new("Bright red").Color
  1787. else
  1788. FELabel.Text = "Not FE"
  1789. FELabel.TextColor3 = BrickColor.new("Bright green").Color
  1790. end
  1791. top.Controllers.Hide.MouseButton1Down:connect(function()
  1792. if topkek.navigation.windowState == 0 then
  1793. topkek.navigation.windowState = 1
  1794. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
  1795. else
  1796. topkek.navigation.windowState = 0
  1797. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
  1798. end
  1799. end)
  1800. top.Controllers.Exit.MouseButton1Down:connect(function()
  1801. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
  1802. wait(0.31)
  1803. topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
  1804. PlayerChatHook:disconnect()
  1805. end)
  1806.  
  1807. end
  1808. topkek.navigation.initCommandBar = function()
  1809. DistributedCmdBar, cmd = topkek.holder.Command, {}
  1810. --weathered-down version of my cmdscript for topkek
  1811. cmd = {}
  1812.  
  1813. -- ** defines ** --
  1814. cmd.service = (function(a) return game:service(a) end)
  1815. cmd.gplayers = (function() return cmd.service'Players':GetPlayers() end)
  1816. cmd.players = cmd.service('Players')
  1817. cmd.localplayer = cmd.players.LocalPlayer
  1818.  
  1819. cmd.prefix = ';'
  1820. cmd.hidden = '/'
  1821.  
  1822. cmd.commands = {}
  1823. cmd.util = {}
  1824. cmd.interface = {}
  1825.  
  1826. cmd.admins = {}
  1827. cmd.noclip = false
  1828.  
  1829. -- ** util ** --
  1830. cmd.util.pos = function(str, pos)
  1831. local increment = 1
  1832. for spc in str:gmatch("[^ ]+") do
  1833. if increment == pos then
  1834. return spc
  1835. end
  1836. increment = increment + 1
  1837. end
  1838. return ''
  1839. end
  1840. cmd.util.pstr = function(str, re_enc)
  1841. str = string.lower(str)
  1842. local players = {}
  1843. if re_enc == true then
  1844. if str == 'me' then
  1845. return {game.Players.LocalPlayer}
  1846. end
  1847. if str == 'all' then
  1848. return game.Players:GetPlayers()
  1849. end
  1850. if str == 'others' then
  1851. for i, v in pairs(game.Players:GetPlayers()) do
  1852. if v ~= cmd.localplayer then
  1853. table.insert(players, v)
  1854. end
  1855. end
  1856. end
  1857. for i, v in pairs(game.Players:GetPlayers()) do
  1858. if string.lower(v.Name):sub(1, #str) == str then
  1859. table.insert(players, v)
  1860. end
  1861. end
  1862. return players
  1863. else
  1864. for seper in str:gmatch("[^,]+") do
  1865. for i, v in pairs(cmd.util.pstr(seper, true)) do
  1866. table.insert(players, v)
  1867. end
  1868. end
  1869. return players
  1870. end
  1871. end
  1872. cmd.util.parse = function(str, fmt)
  1873. local args = {}
  1874. local encountered = 0
  1875. local position = 1
  1876. for form in fmt:gmatch("[^%%]+") do
  1877. if position == 1 then
  1878. args['command'] = cmd.util.pos(str, position)
  1879. end
  1880. if form == 'inf' then
  1881. args[position] = str:sub(encountered, #str)
  1882. end
  1883. if form == 'int' then
  1884. local fetch = cmd.util.pos(str, position)
  1885. if tonumber(fetch) == nil then
  1886. return nil
  1887. end
  1888. args[position] = {'integer', data = fetch}
  1889. end
  1890. if form == 'str' then
  1891. local fetch = cmd.util.pos(str, position)
  1892. args[position] = {'string', data = fetch}
  1893. end
  1894. if form == 'plrs' then
  1895. args[position] = cmd.util.pstr(cmd.util.pos(str, position), false)
  1896. end
  1897. encountered = encountered + ((#cmd.util.pos(str, position)) + 1)
  1898. position = position + 1
  1899. end
  1900. return args
  1901. end
  1902. cmd.util.isadmin = function(p)
  1903. if p == cmd.localplayer.Name then
  1904. return true
  1905. else
  1906. for i, v in pairs(cmd.admins) do
  1907. if v == p.Name then
  1908. return true
  1909. end
  1910. end
  1911. return false
  1912. end
  1913. end
  1914. cmd.util.BombVest = function(Players)
  1915. -- modified by nosyliam
  1916. local TickWait = 1
  1917. local Dead = false
  1918. local BeltPositions = { }
  1919. local ExplodeSounds = { }
  1920.  
  1921. for ___, player in pairs(Players) do
  1922. pcall(function()
  1923. local Me = player
  1924. local Char = Me.Character
  1925. local Torso = Char.Torso
  1926. local Color = "Medium stone gray"
  1927. local Dead = false
  1928.  
  1929.  
  1930. local Position = Vector3.new(0,100,0)
  1931. local function NewPart(Parent)
  1932. local Part = Instance.new("Part", Parent)
  1933. Part.CanCollide = false
  1934. Part.FormFactor = "Custom"
  1935. Part.Position = Position
  1936. Part.TopSurface = "Smooth"
  1937. Part.BottomSurface = "Smooth"
  1938. Part.BrickColor = BrickColor.new(Color)
  1939. Position = Position + Vector3.new(0,Part.Size.Y + 10,0)
  1940. return Part
  1941. end
  1942.  
  1943. local Model = Char:FindFirstChild("Bomb")
  1944. if Model then Model:Destroy() end
  1945.  
  1946. Model = Instance.new("Model", Char)
  1947. Model.Name = "Bomb"
  1948.  
  1949. local Belt = NewPart(Model)
  1950. Belt.Size = Vector3.new(2.2,0.5,1.2)
  1951. table.insert(BeltPositions, Belt)
  1952. local Weld = Instance.new("Weld", Belt)
  1953. Weld.Part0 = Belt
  1954. Weld.Part1 = Torso
  1955. Weld.C0 = CFrame.new(0,1.1,0)
  1956. local Light = Instance.new("PointLight", Belt)
  1957. Light.Range = 15
  1958. Light.Brightness = 5
  1959. Light.Color = Color3.new(1,0,0)
  1960. local Beep = Instance.new("Sound", Belt)
  1961. Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  1962. local ExplodeSound = Instance.new("Sound", Belt)
  1963. ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765
  1964. ExplodeSound.Pitch = 2.8
  1965. ExplodeSound.Volume = 3
  1966. table.insert(ExplodeSounds, ExplodeSound)
  1967.  
  1968. local Back = NewPart(Model)
  1969. Back.Size = Vector3.new(1.5,1.5,0.5)
  1970. local Weld = Instance.new("Weld", Back)
  1971. Weld.Part0 = Back
  1972. Weld.Part1 = Torso
  1973. Weld.C0 = CFrame.new(0,0.1,-0.75)
  1974.  
  1975. local StrapLeft = NewPart(Model)
  1976. StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  1977. local Weld = Instance.new("Weld", StrapLeft)
  1978. Weld.Part0 = StrapLeft
  1979. Weld.Part1 = Torso
  1980. Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  1981.  
  1982. local BuckleLeft = NewPart(Model)
  1983. BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  1984. local Weld = Instance.new("Weld", BuckleLeft)
  1985. Weld.Part0 = BuckleLeft
  1986. Weld.Part1 = Torso
  1987. Weld.C0 = CFrame.new(0.65,0.1,0.5)
  1988.  
  1989. local StrapRight = NewPart(Model)
  1990. StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  1991. local Weld = Instance.new("Weld", StrapRight)
  1992. Weld.Part0 = StrapRight
  1993. Weld.Part1 = Torso
  1994. Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  1995.  
  1996. local BuckleRight = NewPart(Model)
  1997. BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  1998. local Weld = Instance.new("Weld", BuckleRight)
  1999. Weld.Part0 = BuckleRight
  2000. Weld.Part1 = Torso
  2001. Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  2002.  
  2003.  
  2004. coroutine.wrap(function()
  2005. repeat
  2006. wait(TickWait)
  2007. Light.Enabled = not Light.Enabled
  2008. Beep:Play()
  2009. until Dead == true
  2010. end)()
  2011. end)
  2012. end
  2013.  
  2014. local Tool = Instance.new("HopperBin", cmd.localplayer.Backpack)
  2015. Tool.Name = "Bomb Vest"
  2016.  
  2017. Tool.Selected:connect(function(Mouse)
  2018. TickWait = 0.3
  2019. Mouse.Icon = "http://www.roblox.com/asset/?id=9109985"
  2020.  
  2021. Mouse.Button1Down:connect(function()
  2022. if Dead == false then
  2023. Dead = true
  2024. for i, Belt in pairs(BeltPositions) do
  2025. coroutine.wrap(function()
  2026. pcall(function() ExplodeSounds[i]:Play() end)
  2027. wait(1.4)
  2028. local Explosion = Instance.new("Explosion", workspace)
  2029. Explosion.Position = Belt.Position
  2030. Explosion.BlastPressure = 100000
  2031. Explosion.DestroyJointRadiusPercent = 0.7
  2032. Explosion.ExplosionType = "CratersAndDebris"
  2033. Explosion.BlastRadius = 50
  2034. Explosion.Hit:connect(function(Part, Distance)
  2035. Part.Anchored = false
  2036. if Distance <= 10 then
  2037. Part:BreakJoints()
  2038. end
  2039. end)
  2040. end)()
  2041. end
  2042. end
  2043. end)
  2044. end)
  2045.  
  2046. Tool.Deselected:connect(function()
  2047. TickWait = 1
  2048. end)
  2049. end
  2050. cmd.util.hulk = function(p)
  2051. function giant(p, size)
  2052. local pchar = p.Character
  2053. if pchar then
  2054. local function scale(chr,scl)
  2055.  
  2056. for _,v in pairs(pchar:GetChildren()) do
  2057. if v:IsA("Hat") then
  2058. v:Clone()
  2059. v.Parent = game.Lighting
  2060. end
  2061. end
  2062.  
  2063. local Head = chr['Head']
  2064. local Torso = chr['Torso']
  2065. local LA = chr['Left Arm']
  2066. local RA = chr['Right Arm']
  2067. local LL = chr['Left Leg']
  2068. local RL = chr['Right Leg']
  2069. local HRP = chr['HumanoidRootPart']
  2070.  
  2071. wait(0.1)
  2072.  
  2073. Head.formFactor = 3
  2074. Torso.formFactor = 3
  2075. LA.formFactor = 3
  2076. RA.formFactor = 3
  2077. LL.formFactor = 3
  2078. RL.formFactor = 3
  2079. HRP.formFactor = 3
  2080.  
  2081. Head.Size = Vector3.new(scl * 2, scl, scl)
  2082. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  2083. LA.Size = Vector3.new(scl, scl * 2, scl)
  2084. RA.Size = Vector3.new(scl, scl * 2, scl)
  2085. LL.Size = Vector3.new(scl, scl * 2, scl)
  2086. RL.Size = Vector3.new(scl, scl * 2, scl)
  2087. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  2088.  
  2089. local Motor1 = Instance.new('Motor6D', Torso)
  2090. Motor1.Part0 = Torso
  2091. Motor1.Part1 = Head
  2092. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2093. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2094. Motor1.Name = "Neck"
  2095.  
  2096. local Motor2 = Instance.new('Motor6D', Torso)
  2097. Motor2.Part0 = Torso
  2098. Motor2.Part1 = LA
  2099. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2100. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2101. Motor2.Name = "Left Shoulder"
  2102.  
  2103. local Motor3 = Instance.new('Motor6D', Torso)
  2104. Motor3.Part0 = Torso
  2105. Motor3.Part1 = RA
  2106. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2107. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2108. Motor3.Name = "Right Shoulder"
  2109.  
  2110. local Motor4 = Instance.new('Motor6D', Torso)
  2111. Motor4.Part0 = Torso
  2112. Motor4.Part1 = LL
  2113. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2114. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2115. Motor4.Name = "Left Hip"
  2116.  
  2117. local Motor5 = Instance.new('Motor6D', Torso)
  2118. Motor5.Part0 = Torso
  2119. Motor5.Part1 = RL
  2120. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2121. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2122. Motor5.Name = "Right Hip"
  2123.  
  2124. local Motor6 = Instance.new('Motor6D', HRP)
  2125. Motor6.Part0 = HRP
  2126. Motor6.Part1 = Torso
  2127. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2128. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2129.  
  2130. end
  2131.  
  2132. scale(pchar, size)
  2133. pchar.Humanoid.WalkSpeed = 15 * size
  2134.  
  2135. for _,v in pairs(game.Lighting:GetChildren()) do
  2136. if v:IsA("Hat") then
  2137. v.Parent = pchar
  2138. end
  2139. end
  2140. end
  2141. end
  2142.  
  2143. local plr = p
  2144. giant(plr, 3)
  2145. for i, v in pairs(plr.Character:GetChildren()) do
  2146. if v:IsA("BasePart") then
  2147. v.Touched:connect(function(p)
  2148. if p.Size.X<30 then
  2149. p.Anchored = false
  2150. p:BreakJoints()
  2151. end
  2152. end)
  2153. end
  2154. end
  2155.  
  2156. local csize = 3
  2157.  
  2158. local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  2159. local base = Instance.new("Frame", sgui)
  2160. base.BackgroundTransparency = 1
  2161. base.Size = UDim2.new(0, 110, 0, 200)
  2162. base.Position = UDim2.new(1, -120, 1, -180)
  2163. local indicator = Instance.new("TextLabel", base)
  2164. indicator.Size = UDim2.new(1, 0, 0, 25)
  2165. indicator.TextColor3 = Color3.new(1, 1, 1)
  2166. indicator.BackgroundTransparency = 0
  2167. indicator.FontSize = Enum.FontSize.Size18
  2168. indicator.Font = Enum.Font.SourceSans
  2169. indicator.Text = "Current Size: 3"
  2170. local PlusOne = Instance.new("TextButton", base)
  2171. PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  2172. PlusOne.Position = UDim2.new(0, 0, 0, 40)
  2173. PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
  2174. PlusOne.BorderSizePixel = 2
  2175. PlusOne.Font = Enum.Font.SourceSansBold
  2176. PlusOne.FontSize = Enum.FontSize.Size24
  2177. PlusOne.Text = "+1 Size"
  2178. local MinusOne = Instance.new("TextButton", base)
  2179. MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  2180. MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
  2181. MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
  2182. MinusOne.Text = "-1 Size"
  2183. MinusOne.BorderSizePixel = 2
  2184. MinusOne.Font = Enum.Font.SourceSansBold
  2185. MinusOne.FontSize = Enum.FontSize.Size24
  2186.  
  2187. PlusOne.MouseButton1Down:connect(function()
  2188. csize = csize + 1
  2189. giant(plr, csize)
  2190. indicator.Text = "Current Size: "..tostring(csize)
  2191. end)
  2192.  
  2193. MinusOne.MouseButton1Down:connect(function()
  2194. csize = csize - 1
  2195. giant(plr, csize)
  2196. indicator.Text = "Current Size: "..tostring(csize)
  2197. end)
  2198. end
  2199. cmd.util.R15 = function()
  2200. rcode=[[local function Init()
  2201. wait()
  2202. local function ConChar(P)
  2203. Character = P.Character
  2204.  
  2205. local R15Model = Instance.new("Model")
  2206. R15Model.Name = "R15Model"
  2207. R15Model.Parent = Character
  2208.  
  2209. local function CreateLimb(Name,Color,Size,Transparency,ConnectToLimb,MotorName,C0,C1,MeshId)
  2210. local Part = Instance.new("Part")
  2211. Part.FormFactor = "Custom"
  2212. Part.Size = Size
  2213. Part.BrickColor = Color
  2214. Part.CanCollide = false
  2215. Part.Name = Name
  2216. Part.Transparency = (Transparency == 0.001 and 0 or Transparency)
  2217. Part.TopSurface = "Smooth"
  2218. Part.BottomSurface = "Smooth"
  2219.  
  2220. local Motor = Instance.new("Motor6D")
  2221. Motor.C0 = C0
  2222. Motor.C1 = C1
  2223. Motor.Part0 = ConnectToLimb
  2224. Motor.Part1 = Part
  2225. Motor.Name = MotorName
  2226. Motor.MaxVelocity = 0.1
  2227. Motor.Parent = ConnectToLimb
  2228.  
  2229. if MeshId then
  2230. local Mesh = Instance.new("SpecialMesh")
  2231. Mesh.MeshType = "FileMesh"
  2232. Mesh.MeshId = MeshId
  2233. Mesh.Scale = Vector3.new(0.99,0.99,0.99)
  2234. Mesh.Parent = Part
  2235. end
  2236.  
  2237. if MeshId and Transparency == 0.001 then
  2238. local ShirtTexturePart = Instance.new("Part")
  2239. ShirtTexturePart.FormFactor = "Custom"
  2240. ShirtTexturePart.Size = Size
  2241. ShirtTexturePart.BrickColor = Color
  2242. ShirtTexturePart.CanCollide = false
  2243. ShirtTexturePart.Name = "ShirtTexturePart"
  2244. ShirtTexturePart.Transparency = Transparency
  2245. ShirtTexturePart.TopSurface = "Smooth"
  2246. ShirtTexturePart.BottomSurface = "Smooth"
  2247.  
  2248. local Mesh = Instance.new("SpecialMesh")
  2249. Mesh.MeshType = "FileMesh"
  2250. Mesh.MeshId = MeshId
  2251. Mesh.Parent = ShirtTexturePart
  2252.  
  2253. local Weld = Instance.new("Weld")
  2254. Weld.Part0 = Part
  2255. Weld.Part1 = ShirtTexturePart
  2256. Weld.Parent = ShirtTexturePart
  2257.  
  2258. ShirtTexturePart.Parent = Part
  2259. end
  2260. Part.Parent = R15Model
  2261. return Part
  2262. end
  2263.  
  2264.  
  2265. 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))
  2266. 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")
  2267. 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")
  2268. 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")
  2269. 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")
  2270. 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")
  2271. 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")
  2272. 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")
  2273. 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")
  2274. 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")
  2275. 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")
  2276. 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")
  2277. 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")
  2278. 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")
  2279. 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")
  2280. 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")
  2281.  
  2282. --if Character:WaitForChild("Head"):WaitForChild("Mesh").MeshId ~= "" then
  2283. -- Head.MeshId = Character.Head.Mesh.MeshId
  2284. --end
  2285.  
  2286. Character:WaitForChild("Animate").Disabled = false
  2287. local Anim = game:GetObjects("rbxassetid://401967017")[1]; print("aobj", tostring(Anim))
  2288. for i, v in pairs(Anim:GetChildren()) do
  2289. v.Parent = script
  2290. end
  2291. script.Parent = Character
  2292.  
  2293. local function Clear(Name,Alternative,ColorParts)
  2294. local Part = Character:WaitForChild(Name)
  2295. Part.Transparency = (Name == "Head" and 0.99 or 1)
  2296. local function ChildAdded(Ins)
  2297. delay(0.05,function()
  2298. if Ins.Name == "face" then
  2299. if Alternative:FindFirstChild("face") then Alternative:FindFirstChild("face"):Destroy() end
  2300. Ins.Parent = Alternative
  2301. elseif Ins:IsA("Motor6D") and string.sub(Ins.Name,1,5) ~= "Fake_" then
  2302. Ins.Name = "Fake_"..Ins.Name
  2303. elseif Ins.Name == "HeadWeld" then
  2304. delay(0.05,function()
  2305. Ins.Parent = Head
  2306. Ins.Part0 = Head
  2307. Ins.C1 = CFrame.new(0,0,0.05) * Ins.C1
  2308. end)
  2309. elseif not Ins:IsA("Weld") then
  2310. Ins:Destroy()
  2311. end
  2312. end)
  2313. end
  2314. for _,Sub in pairs(Part:GetChildren()) do
  2315. ChildAdded(Sub)
  2316. end
  2317. Part.ChildAdded:connect(ChildAdded)
  2318.  
  2319. local function Color()
  2320. for _,Sub in pairs(ColorParts) do
  2321. Sub.BrickColor = Part.BrickColor
  2322. local TexturePart = Sub:FindFirstChild("ShirtTexturePart")
  2323. if TexturePart then
  2324. TexturePart.BrickColor = Part.BrickColor
  2325. end
  2326. end
  2327. end
  2328. Color()
  2329. Part.Changed:connect(Color)
  2330. end
  2331.  
  2332. Clear("HumanoidRootPart",HumanoidRootPart,{HumanoidRootPart})
  2333. Clear("Head",Head,{Head})
  2334. Clear("Torso",nil,{LowerTorso,UpperTorso})
  2335. Clear("Left Arm",nil,{LeftLowerArm,LeftUpperArm,LeftHand})
  2336. Clear("Right Arm",nil,{RightLowerArm,RightUpperArm,RightHand})
  2337. Clear("Left Leg",nil,{LeftLowerLeg,LeftUpperLeg,LeftFoot})
  2338. Clear("Right Leg",nil,{RightLowerLeg,RightUpperLeg,RightFoot})
  2339.  
  2340. local ShirtUsed = false
  2341. local function ChildAdded(Ins)
  2342. if Ins:IsA("Hat") and string.sub(Ins.Name,1,7) ~= "Scaled_" then
  2343. delay(0.05,function()
  2344. local Mesh = Ins:WaitForChild("Handle"):WaitForChild("Mesh")
  2345. Ins.AttachmentPos = Ins.AttachmentPos
  2346. Mesh.Scale = Mesh.Scale
  2347. Ins.Name = "Scaled_"..Ins.Name
  2348. end)
  2349. elseif Ins:IsA("Shirt") then
  2350. ShirtUsed = true
  2351. LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2352. UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2353. LeftLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2354. LeftUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2355. LeftHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2356. RightLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2357. RightUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2358. RightHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2359. elseif Ins:IsA("Pants") then
  2360. LeftUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2361. LeftLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2362. LeftFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2363. RightUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2364. RightLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2365. RightFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2366. if LowerTorso.ShirtTexturePart.Mesh.TextureId == "" then
  2367. LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2368. UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2369. end
  2370. end
  2371. end
  2372.  
  2373. for _,Sub in pairs(Character:GetChildren()) do
  2374. ChildAdded(Sub)
  2375. end
  2376. Character.ChildAdded:connect(ChildAdded)
  2377. loadstring(Anim.Source)()
  2378. end
  2379. ConChar(game:service'Players'.LocalPlayer)
  2380. end
  2381.  
  2382. Init()]]
  2383. spawn(function() loadstring(rcode)() end)
  2384. end
  2385. cmd.util.size = function(p, size)
  2386. -- omfg thanks var
  2387. local pchar = p.Character
  2388. local function scale(chr,scl)
  2389.  
  2390. for _,v in pairs(pchar:GetChildren()) do
  2391. if v:IsA("Hat") then
  2392. v:Clone()
  2393. v.Parent = game.Lighting
  2394. end
  2395. end
  2396.  
  2397. local Head = chr['Head']
  2398. local Torso = chr['Torso']
  2399. local LA = chr['Left Arm']
  2400. local RA = chr['Right Arm']
  2401. local LL = chr['Left Leg']
  2402. local RL = chr['Right Leg']
  2403. local HRP = chr['HumanoidRootPart']
  2404.  
  2405. wait(0.1)
  2406.  
  2407. Head.formFactor = 3
  2408. Torso.formFactor = 3
  2409. LA.formFactor = 3
  2410. RA.formFactor = 3
  2411. LL.formFactor = 3
  2412. RL.formFactor = 3
  2413. HRP.formFactor = 3
  2414.  
  2415. Head.Size = Vector3.new(scl * 2, scl, scl)
  2416. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  2417. LA.Size = Vector3.new(scl, scl * 2, scl)
  2418. RA.Size = Vector3.new(scl, scl * 2, scl)
  2419. LL.Size = Vector3.new(scl, scl * 2, scl)
  2420. RL.Size = Vector3.new(scl, scl * 2, scl)
  2421. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  2422.  
  2423. local Motor1 = Instance.new('Motor6D', Torso)
  2424. Motor1.Part0 = Torso
  2425. Motor1.Part1 = Head
  2426. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2427. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2428. Motor1.Name = "Neck"
  2429.  
  2430. local Motor2 = Instance.new('Motor6D', Torso)
  2431. Motor2.Part0 = Torso
  2432. Motor2.Part1 = LA
  2433. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2434. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2435. Motor2.Name = "Left Shoulder"
  2436.  
  2437. local Motor3 = Instance.new('Motor6D', Torso)
  2438. Motor3.Part0 = Torso
  2439. Motor3.Part1 = RA
  2440. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2441. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2442. Motor3.Name = "Right Shoulder"
  2443.  
  2444. local Motor4 = Instance.new('Motor6D', Torso)
  2445. Motor4.Part0 = Torso
  2446. Motor4.Part1 = LL
  2447. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2448. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2449. Motor4.Name = "Left Hip"
  2450.  
  2451. local Motor5 = Instance.new('Motor6D', Torso)
  2452. Motor5.Part0 = Torso
  2453. Motor5.Part1 = RL
  2454. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2455. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2456. Motor5.Name = "Right Hip"
  2457.  
  2458. local Motor6 = Instance.new('Motor6D', HRP)
  2459. Motor6.Part0 = HRP
  2460. Motor6.Part1 = Torso
  2461. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2462. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2463.  
  2464. end
  2465.  
  2466. scale(pchar, size)
  2467.  
  2468. for _,v in pairs(game.Lighting:GetChildren()) do
  2469. if v:IsA("Hat") then
  2470. v.Parent = pchar
  2471. end
  2472. end
  2473. end
  2474. cmd.util.checktable = function(t, v)
  2475. for i, __ in pairs(t) do
  2476. if __ == v then
  2477. return true
  2478. end
  2479. end
  2480. return false
  2481. end
  2482. cmd.util.nextrgb = function(r, g, b)
  2483. local ar, ag, ab = r, g, b
  2484. if r == 255 and g < 255 and b == 0 then
  2485. ag = g + 8.5
  2486. end
  2487. if g == 255 and r > 0 and b == 0 then
  2488. ar = r - 8.5
  2489. end
  2490. if g == 255 and b < 255 and r == 0 then
  2491. ab = b + 8.5
  2492. end
  2493. if b == 255 and g > 0 and r == 0 then
  2494. ag = g - 8.5
  2495. end
  2496. if b == 255 and r < 255 and g == 0 then
  2497. ar = r + 8.5
  2498. end
  2499. if r == 255 and b > 0 and g == 0 then
  2500. ab = b - 8.5
  2501. end
  2502. return {ar, ag, ab}
  2503. end
  2504. -- ** interface ** --
  2505. game:GetService('UserInputService').InputBegan:connect(function(inp)
  2506. if inp.UserInputType == Enum.UserInputType.Keyboard then
  2507. if inp.KeyCode == Enum.KeyCode.Semicolon then
  2508. DistributedCmdBar:CaptureFocus()
  2509. end
  2510. end
  2511. end)
  2512.  
  2513. -- ** commands ** --
  2514. cmd.commands.store = {}
  2515. cmd.commands.fmtstore = {}
  2516.  
  2517. cmd.commands.register = function(cmdz, fmt, func)
  2518. cmd.commands.store[cmdz] = (function(str) coroutine.wrap(function() pcall(function() func(cmd.util.parse(str, fmt)) end) end)() end)
  2519. cmd.commands.fmtstore[cmdz] = fmt
  2520. end
  2521.  
  2522. cmd.commands.run = function(str)
  2523. local cmdz = cmd.util.pos(str, 1)
  2524. if not cmd.commands.store[cmdz] then
  2525. return nil
  2526. else
  2527. cmd.commands.store[cmdz](str)
  2528. end
  2529. end
  2530.  
  2531. -- // actual commands // --
  2532.  
  2533. cmd.commands.register('kill', 'cmd%plrs', function(args)
  2534. for i, v in pairs(args[2]) do
  2535. v.Character.Humanoid.Health = 0
  2536. end
  2537. end)
  2538.  
  2539. cmd.commands.register('clone', 'cmd%plrs', function(args)
  2540. for i, v in pairs(args[2]) do
  2541. v.Character.Archivable = true
  2542. local clone = v.Character:Clone()
  2543. clone.Parent = game.Workspace
  2544. clone:MoveTo(v.Character.Torso.Position)
  2545. end
  2546. end)
  2547.  
  2548. cmd.commands.register('damage', 'cmd%plrs%int', function(args)
  2549. for i, v in pairs(args[2]) do
  2550. v.Character.Humanoid:TakeDamage(args[3].data)
  2551. end
  2552. end)
  2553.  
  2554. cmd.commands.register('freeze', 'cmd%plrs', function(args)
  2555. for i, v in pairs(args[2]) do
  2556. v.Character.Torso.Anchored = true
  2557. end
  2558. end)
  2559.  
  2560. cmd.commands.register('thaw', 'cmd%plrs', function(args)
  2561. for i, v in pairs(args[2]) do
  2562. v.Character.Torso.Anchored = false
  2563. end
  2564. end)
  2565. Fly = false;
  2566. cmd.commands.register('fly', 'cmd', function(args)
  2567. if Fly == true then
  2568. Fly = false
  2569. return
  2570. end
  2571. Fly = true
  2572. local mouse=game.Players.LocalPlayer:GetMouse''
  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.  
  4581. localplayer=game.Players.LocalPlayer
  4582. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  4583. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  4584. local speed=0
  4585. local keys={a=false,d=false,w=false,s=false}
  4586. local e1
  4587. local e2
  4588. local function start()
  4589. local pos = Instance.new("BodyPosition",torso)
  4590. local gyro = Instance.new("BodyGyro",torso)
  4591. pos.Name="EPIXPOS"
  4592. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  4593. pos.position = torso.Position
  4594. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  4595. gyro.cframe = torso.CFrame
  4596. repeat
  4597. wait()
  4598. localplayer.Character.Humanoid.PlatformStand=true
  4599. local new=gyro.cframe - gyro.cframe.p + pos.position
  4600. if not keys.w and not keys.s and not keys.a and not keys.d then
  4601. speed=1
  4602. end
  4603. if keys.w then
  4604. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  4605. speed=speed+0.01
  4606. end
  4607. if keys.s then
  4608. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  4609. speed=speed+0.01
  4610. end
  4611. if keys.d then
  4612. new = new * CFrame.new(speed,0,0)
  4613. speed=speed+0.01
  4614. end
  4615. if keys.a then
  4616. new = new * CFrame.new(-speed,0,0)
  4617. speed=speed+0.01
  4618. end
  4619. if speed>5 then
  4620. speed=5
  4621. end
  4622. pos.position=new.p
  4623. if keys.w then
  4624. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  4625. elseif keys.s then
  4626. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  4627. else
  4628. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  4629. end
  4630. until not Fly
  4631. if gyro then gyro:Destroy() end
  4632. if pos then pos:Destroy() end
  4633. flying=false
  4634. localplayer.Character.Humanoid.PlatformStand=false
  4635. speed=0
  4636. end
  4637. e1=mouse.KeyDown:connect(function(key)
  4638. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  4639. if key=="w" then
  4640. keys.w=true
  4641. elseif key=="s" then
  4642. keys.s=true
  4643. elseif key=="a" then
  4644. keys.a=true
  4645. elseif key=="d" then
  4646. keys.d=true
  4647. end
  4648. end)
  4649. e2=mouse.KeyUp:connect(function(key)
  4650. if key=="w" then
  4651. keys.w=false
  4652. elseif key=="s" then
  4653. keys.s=false
  4654. elseif key=="a" then
  4655. keys.a=false
  4656. elseif key=="d" then
  4657. keys.d=false
  4658. end
  4659. end)
  4660. start()
  4661. end)
  4662. lpwin:drawButton(1/2, 'Highjump', function()
  4663. local thrust = Instance.new("BodyVelocity")
  4664. game:GetService('UserInputService').InputBegan:connect(function(i, b)
  4665. if i.KeyCode == Enum.KeyCode.Space then
  4666. print("Got jump")
  4667. coroutine.resume(coroutine.create(function()
  4668. thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  4669. thrust.velocity = Vector3.new(0,50,0)
  4670. thrust.maxForce = Vector3.new(0,4e+050,0)
  4671. wait(0.2)
  4672. thrust.Parent = nil
  4673. end))
  4674. end
  4675. end)
  4676. end)
  4677. lpwin:addSpacing()
  4678. local apprInp
  4679. lpwin:drawButton(1/3, 'Appearance', function()
  4680. local id = 0
  4681. if tonumber(apprInp.Text) then
  4682. id = tonumber(apprInp.Text)
  4683. else
  4684. id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
  4685. end
  4686. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  4687. topkek.lplr.Character.Humanoid.Health = 0
  4688. end
  4689. topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  4690. end)
  4691. apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
  4692. local teamInp
  4693. lpwin:drawButton(1/3, 'Team', function()
  4694. topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
  4695. end)
  4696. teamInp = lpwin:drawTextBox(2/3, 'Bright red')
  4697. lpwin:drawButton(1/2, 'Naked', function()
  4698. topkek.lplr:ClearCharacterAppearance()
  4699. end)
  4700. lpwin:drawButton(1/2, 'Neutral', function()
  4701. topkek.lplr.Neutral = true
  4702. end)
  4703. lpwin:addSpacing()
  4704. lpwin:drawButton(1/2, 'Orb', function()
  4705. game.Players.LocalPlayer.Character = nil
  4706. --lp:Destroy()
  4707. local cam = game.Workspace.CurrentCamera
  4708. local m = Instance.new("Model", game.Workspace)
  4709. m.Name = game.Players.LocalPlayer.Name
  4710. local hum = Instance.new("Humanoid", m)
  4711. hum.Health = 0
  4712. hum.MaxHealth = 0
  4713. local orb = Instance.new("Part", m)
  4714. orb.Size = Vector3.new(1, 1, 1)
  4715. orb.Shape = "Ball"
  4716. orb.Name = "Head"
  4717. orb.Anchored = true
  4718. orb.CanCollide = true
  4719. orb.BottomSurface = Enum.SurfaceType.Smooth
  4720. orb.TopSurface = Enum.SurfaceType.Smooth
  4721. orb.Transparency = 0
  4722. spawn(function()
  4723. while true do
  4724. wait(0.1)
  4725. if orb then
  4726. orb.BrickColor = BrickColor.Random()
  4727. else break end
  4728. end
  4729. end)
  4730. cam.CameraSubject = orb
  4731. cam.CameraType = Enum.CameraType.Fixed
  4732. game:GetService("RunService").RenderStepped:connect(function()
  4733. orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  4734. end)
  4735. game.Players.LocalPlayer.Chatted:connect(function(a)
  4736. game:GetService("Chat"):Chat(orb, a)
  4737. end)
  4738. end)
  4739. lpwin:drawButton(1/2, 'Freecam', function()
  4740. local cam = game.Workspace.CurrentCamera
  4741. cam.CameraType = "Fixed"
  4742. cam.CameraSubject = nil
  4743. topkek.lplr.Character = nil
  4744. end)
  4745. lpwin:drawButton(1/2, 'NoGrav', function()
  4746. if topkek.lplr.Character then
  4747. for x,m in pairs(topkek.lplr.Character:GetChildren()) do
  4748. if m:IsA("BasePart") then
  4749. local bf = Instance.new("BodyForce", m)
  4750. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  4751. end
  4752. if m:IsA("Hat") or m:IsA("Accessory") then
  4753. if m:findFirstChild("Handle") then
  4754. local bf = Instance.new("BodyForce", m.Handle)
  4755. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  4756. end
  4757. end
  4758. end
  4759. end
  4760. end)
  4761. lpwin:drawButton(1/2, 'Trowel', function()
  4762. topkek.tools.util.trowel()
  4763. end)
  4764. lpwin:addSpacing()
  4765. lpwin:drawButton(1/2, 'Fedora', function()
  4766. local hats={
  4767. 98346834,
  4768. 215751161,
  4769. 119916949,
  4770. 72082328,
  4771. 147180077,
  4772. 100929604,
  4773. 63043890,
  4774. 1285307,
  4775. 1029025,
  4776. 334663683,
  4777. 259423244
  4778. }
  4779. game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
  4780. end)
  4781. lpwin:drawButton(1/2, 'Rainbow Name', function()
  4782. topkek.lplr.Neutral = false
  4783. repeat
  4784. wait()
  4785. topkek.lplr.TeamColor = BrickColor.Random()
  4786. until not topkek.lplr.Character.Humanoid
  4787. end)
  4788. local tagInp
  4789. lpwin:drawButton(1/3, 'Tag', function()
  4790. local len = 10
  4791. local bb = Instance.new("BillboardGui")
  4792. bb.Parent = topkek.lplr.Character.Head
  4793. bb.Adornee = topkek.lplr.Character.Head
  4794. bb.AlwaysOnTop = true
  4795. bb.Enabled = true
  4796. bb.Size = UDim2.new(len, 0, 1.5, 0)
  4797. bb.Name = "tag"
  4798. bb.StudsOffset = Vector3.new(0, 3, 0)
  4799. --local fr = Instance.new("Frame")
  4800. --fr.Parent = bb
  4801. --fr.Size = UDim2.new(1, 0, 1, 0)
  4802. --fr.Style = Enum.FrameStyle.RobloxRound
  4803. local tl = Instance.new("TextLabel")
  4804. tl.Parent = bb
  4805. tl.Font = Enum.Font.Code
  4806. tl.BackgroundTransparency = 1
  4807. tl.TextScaled = true
  4808. tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  4809. tl.Size = UDim2.new(1, 0, 1, 0)
  4810. tl.Text = tagInp.Text
  4811. tl.Name = "trutag"
  4812. tl.Visible = true
  4813. tl.ZIndex = 2
  4814. end)
  4815. tagInp = lpwin:drawTextBox(2/3, '')
  4816. --// SCRIPTS //--
  4817. --local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
  4818. --local search = scriptwin:drawTextBox(1,'')
  4819. --local origy = scriptwin:getDrawY()
  4820. --scriptwin:addSpacing()
  4821. --scriptwin:addSpacing()
  4822. --local scripts = game:GetObjects("rbxassetid://376553985")[1]
  4823. --local container = {}
  4824. --function MakeList(condition)
  4825. -- for i,v in pairs(scriptwin:GetChildren()) do
  4826. -- if v.Name == "Script" then
  4827. -- v:Destroy()
  4828. -- end
  4829. -- end
  4830. --scriptwin:setDrawY(origy)
  4831. --for i, v in pairs(scripts:GetChildren()) do
  4832. -- if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
  4833. -- local scr = scriptwin:drawButton(1, v.Name, function()
  4834. -- spawn(function() loadstring(v.Source)() end)
  4835. -- end, 25)
  4836. -- scr.Name = 'Script'
  4837. -- end
  4838. -- end
  4839. --end
  4840. --game:GetService("UserInputService").InputChanged:connect(function(inp)
  4841. -- if inp.UserInputType == Enum.UserInputType.TextInput then
  4842. -- if search:IsFocused() then
  4843. -- MakeList(search.Text)
  4844. -- end
  4845. --end
  4846. --end)
  4847. --MakeList('')
  4848. --// DESTRUCTION // --
  4849. local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
  4850. local decals, seldec = destwin:drawScrollingContainer(100)
  4851. seldec = destwin:drawText(1, 'Selected Decal: None')
  4852. cursel = nil
  4853. local decs = {
  4854. {'Rain', '574772793'},
  4855. {'Robbie', '574773630'},
  4856. {'Pepe', '244905904'},
  4857. {'Troll Face', '48308661'},
  4858. {'Jeff', '109129888'},
  4859. {'Shrek', '170539018'},
  4860. {'Doge', '133720697'},
  4861. {'Dat Boi', '409578848'},
  4862. }
  4863. for _, v in pairs(decs) do
  4864. local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
  4865. topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  4866. end
  4867. destwin:drawButton(1, 'Spam Decal', function()
  4868. if cursel ~= nil then
  4869. topkek.tools.util.recurseDecal(tonumber(cursel))
  4870. end
  4871. end)
  4872. destwin:drawButton(1, 'Spam Particles', function()
  4873. if cursel ~= nil then
  4874. topkek.tools.util.recurseParticles(tonumber(cursel))
  4875. end
  4876. end)
  4877. destwin:drawButton(1, 'Spam Both', function()
  4878. if cursel ~= nil then
  4879. topkek.tools.util.recurseUltimate(tonumber(cursel))
  4880. end
  4881. end)
  4882. destwin:drawButton(1, 'Rollback', function()
  4883. tk.rcm(workspace, 'Decal')
  4884. tk.rcm(workspace, 'ParticleEmitter')
  4885. end)
  4886. destwin:addSpacing()
  4887. destwin:drawButton(1, '666', function()
  4888. for i,v in next,workspace:children''do
  4889. if(v:IsA'BasePart')then
  4890. me=v;
  4891. bbg=Instance.new('BillboardGui',me);
  4892. bbg.Name='stuf';
  4893. bbg.Adornee=me;
  4894. bbg.Size=UDim2.new(2.5,0,2.5,0)
  4895. --bbg.StudsOffset=Vector3.new(0,2,0)
  4896. tlb=Instance.new'TextLabel';
  4897. tlb.Text='666 666 666 666 666 666';
  4898. tlb.Font='SourceSansBold';
  4899. tlb.FontSize='Size48';
  4900. tlb.TextColor3=Color3.new(1,0,0);
  4901. tlb.Size=UDim2.new(1.25,0,1.25,0);
  4902. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  4903. tlb.BackgroundTransparency=1;
  4904. tlb.Parent=bbg;
  4905. end;end;
  4906. --coroutine.wrap(function()while wait''do
  4907. s=Instance.new'Sound';
  4908. s.Parent=workspace;
  4909. s.SoundId='rbxassetid://152840862';
  4910. s.Pitch=1;
  4911. s.Volume=1;
  4912. s.Looped=true;
  4913. s:play();
  4914. --end;end)();
  4915. function xds(dd)
  4916. for i,v in next,dd:children''do
  4917. if(v:IsA'BasePart')then
  4918. v.BrickColor=BrickColor.new'Really black';
  4919. v.TopSurface='Smooth';
  4920. v.BottomSurface='Smooth';
  4921. s=Instance.new('SelectionBox',v);
  4922. s.Adornee=v;
  4923. s.Color=BrickColor.new'Really red';
  4924. a=Instance.new('PointLight',v);
  4925. a.Color=Color3.new(1,0,0);
  4926. a.Range=15;
  4927. a.Brightness=5;
  4928. f=Instance.new('Fire',v);
  4929. f.Size=19;
  4930. f.Heat=22;
  4931. end;
  4932. game.Lighting.TimeOfDay=0;
  4933. game.Lighting.Brightness=0;
  4934. game.Lighting.ShadowColor=Color3.new(0,0,0);
  4935. game.Lighting.Ambient=Color3.new(1,0,0);
  4936. game.Lighting.FogEnd=200;
  4937. game.Lighting.FogColor=Color3.new(0,0,0);
  4938. local dec = 'http://www.roblox.com/asset/?id=19399245';
  4939. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  4940. --coroutine.wrap(function()
  4941. --for _,__ in pairs(fac) do
  4942. --local ddec = Instance.new("Decal", v)
  4943. --ddec.Face = __
  4944. --ddec.Texture = dec
  4945. --end end)()
  4946. if #(v:GetChildren())>0 then
  4947. xds(v)
  4948. end
  4949. end
  4950. end
  4951. xds(game.Workspace)
  4952. end)
  4953. destwin:drawButton(1, 'Troll', function()
  4954. topkek.tools.util.recurseUltimate('48308661')
  4955. tk.play(154664102)
  4956. end)
  4957. destwin:addSpacing()
  4958. destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
  4959. local materiallist =
  4960. {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  4961. Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  4962. Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  4963. Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  4964. Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  4965. local function r(where)
  4966. for _,v in pairs (where:GetChildren()) do
  4967. if v:IsA("BasePart") then
  4968. spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
  4969. end)
  4970. destwin:drawButton(1/2,'Materialize',function()
  4971. local function r(where)
  4972. for _,v in pairs (where:GetChildren()) do
  4973. if v:IsA("BasePart") then
  4974. spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
  4975. end)
  4976. destwin:drawButton(1/2,'Meshify',function()
  4977. local enums={
  4978. Enum.MeshType.Head;
  4979. Enum.MeshType.Torso;
  4980. Enum.MeshType.Wedge;
  4981. Enum.MeshType.Brick;
  4982. Enum.MeshType.Sphere;
  4983. Enum.MeshType.Cylinder;
  4984. }
  4985. tk.rcf('BasePart',function(o)
  4986. local mesh = Instance.new('SpecialMesh', o)
  4987. mesh.MeshType = enums[math.random(1,#enums)]
  4988. end)
  4989. end)
  4990. destwin:drawButton(1/2,'Loop-Meshify',function()
  4991. coroutine.wrap(function()
  4992. while true do
  4993. local enums={
  4994. Enum.MeshType.Head;
  4995. Enum.MeshType.Torso;
  4996. Enum.MeshType.Wedge;
  4997. Enum.MeshType.Brick;
  4998. Enum.MeshType.Sphere;
  4999. Enum.MeshType.Cylinder;
  5000. }
  5001. tk.rcf('BasePart',function(o)
  5002. if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  5003. local mesh = Instance.new('SpecialMesh', o)
  5004. mesh.MeshType = enums[math.random(1,#enums)]
  5005. end)
  5006. wait(0.5)
  5007. end
  5008. end)()
  5009. end)
  5010. destwin:addSpacing()
  5011. destwin:drawButton(1, 'Rotations', function()
  5012. tk.rcf('BasePart', function(o)
  5013. o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  5014. end)
  5015. end)
  5016. destwin:drawButton(1, 'Collisions', function()
  5017. tk.rcf('BasePart', function(o)
  5018. o.CanCollide = false
  5019. end)
  5020. end)
  5021. destwin:drawButton(1, 'Velocity', function()
  5022. tk.rcf('BasePart', function(o)
  5023. o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  5024. end)
  5025. end)
  5026. destwin:drawButton(1, 'Invisiblity', function()
  5027. tk.rcf('BasePart', function(o)
  5028. o.Transparency = 1
  5029. end)
  5030. end)
  5031. destwin:drawButton(1, 'BreakJoints', function()
  5032. tk.rcf('Model', function(o)
  5033. o:BreakJoints()
  5034. end)
  5035. end)
  5036. destwin:drawButton(1, 'Forces', function()
  5037. tk.rcf('BasePart', function(o)
  5038. local bf = Instance.new("BodyForce", o)
  5039. bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
  5040. end)
  5041. end)
  5042. destwin:drawButton(1, 'Brightness', function()
  5043. tk.rcf('BasePart', function(o)
  5044. local light = Instance.new("SpotLight", o)
  5045. light.Brightness = 9e9
  5046. light.Range = 60
  5047. end)
  5048. end)
  5049. --// CATALOG //--
  5050. local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
  5051. local page, currentkeyword = 1, ""
  5052. local searchbar, search, makeCatalog, res = 0, 0, 0, {}
  5053. local searchbar = catwin:drawTextBox(2/3,'')
  5054. local search = catwin:drawButton(1/3, 'Search', function()
  5055. page = 1
  5056. currentkeyword = searchbar.Text
  5057. makeCatalog(currentkeyword, page)
  5058. end)
  5059. local previous = catwin:drawButton(1/2, 'Previous Page', function()
  5060. if page > 1 then
  5061. page = page - 1
  5062. makeCatalog(currentkeyword, page)
  5063. end
  5064. end)
  5065. local previous = catwin:drawButton(1/2, 'Next Page', function()
  5066. if page >= 1 then
  5067. page = page + 1
  5068. makeCatalog(currentkeyword, page)
  5069. end
  5070. end)
  5071. local catalog_start = catwin:getDrawY()
  5072. function split(str,divider)
  5073. local found = ""
  5074. local results = {}
  5075. for i=1,string.len(str) do
  5076. if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
  5077. table.insert(results, found)
  5078. found = ""
  5079. else
  5080. found = found..string.sub(str,i,i)
  5081. end
  5082. end
  5083. table.insert(results, found)
  5084. return results
  5085. end
  5086. function GetName(nm)
  5087. local spl = split(nm," ")
  5088. local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
  5089. return (a.." "..b.." "..c.." "..d.." "..e)
  5090. end
  5091. --function makeCatalog(keyword, page)
  5092. --local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
  5093. --local results = game:HttpGet(endpoint, true)
  5094. --local parse = game:GetService('HttpService'):JSONDecode(results)
  5095. --for i, v in pairs(res) do
  5096. --v:Destroy()
  5097. --end
  5098. --catwin:setDrawY(catalog_start)
  5099. --catwin:addSpacing()
  5100. --for i, v in pairs(parse) do
  5101. --local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
  5102. --local below = topkek.tools.util.Object("TextButton", {
  5103. -- Parent = img;
  5104. -- BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
  5105. -- BorderSizePixel = 0;
  5106. -- Position = UDim2.new(0, -45, 1, 5);
  5107. -- Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
  5108. -- Font = 'SourceSans';
  5109. -- FontSize = 'Size14';
  5110. -- Text = GetName(v['Name']);
  5111. -- TextSize = 14;
  5112. -- TextColor3 = color3(199, 199, 199);
  5113. -- TextStrokeTransparency = 0.5;
  5114. -- ClipsDescendants = true;
  5115. --})
  5116. -- below.MouseButton1Down:connect(function()
  5117. -- local Model = Instance.new("Model", workspace)
  5118. -- game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
  5119. -- Model:MakeJoints()
  5120. -- Model:MoveTo(topkek.lplr.Character.Head.Position)
  5121. --end)
  5122. --img.Size=UDim2.new(0,50,0,50)
  5123. --img.Position=img.Position+UDim2.new(0,45,0,0)
  5124. -- if (i%2)==0 then
  5125. -- catwin:setDrawY(catwin:getDrawY() + 25)
  5126. --end
  5127. -- if (i==10) then
  5128. -- catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
  5129. -- end
  5130. -- table.insert(res,img)
  5131. --end
  5132. --end
  5133. --makeCatalog("", 1)
  5134. --// CMDS //--
  5135. cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
  5136. count = 0
  5137. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  5138. cmdwin:drawText(1, tostring(count) .. " Commands")
  5139. cmdwin:drawText(1, 'Chat Prefix: /')
  5140. local cmdlist = cmdwin:drawScrollingContainer(260)
  5141. for i, v in pairs(cmd.commands.fmtstore) do
  5142. local xfmt = {}
  5143. local str = " ;" .. i .. " "
  5144. for form in v:gmatch("[^%%]+") do
  5145. if form ~= 'cmd' then
  5146. if form == 'inf' then form = 'str' end
  5147. str = str .. "{" .. form .. "} "
  5148. end
  5149. end
  5150. cmdlist:drawText(1, str)
  5151. end
  5152. --// MUSIC //--
  5153. musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
  5154. Sounds = {
  5155. {"caramell", 2303479};
  5156. {"epic", 27697743};
  5157. {"rick", 2027611};
  5158. {"halo", 1034065};
  5159. {"pokemon", 1372261};
  5160. {"cursed", 1372257};
  5161. {"extreme", 11420933};
  5162. {"awaken", 27697277};
  5163. {"alone", 27697392};
  5164. {"mario", 1280470};
  5165. {"choir", 1372258};
  5166. {"chrono" ,1280463};
  5167. {"dotr", 11420922};
  5168. {"entertain", 27697267};
  5169. {"fantasy", 1280473};
  5170. {"final", 787};
  5171. {"organ", 11231513};
  5172. {"tunnel", 9650822}
  5173. }
  5174.  
  5175. local cursel
  5176. local xcursel = 0
  5177. scr = musicwin:drawScrollingContainer(230)
  5178. for i, v in pairs(Sounds) do
  5179. scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
  5180. cursel.Text = "Currently Selected - " .. v[1]
  5181. xcursel = v[2]
  5182. end)
  5183. end
  5184.  
  5185. cursel = musicwin:drawText(1, "Currently Selected - None")
  5186. local setInp
  5187. musicwin:drawButton(1/3, "Set", function()
  5188. if tonumber(setInp.Text) then
  5189. cursel.Text = "Currently Selected - " .. setInp.Text
  5190. xcursel = tonumber(setInp.Text)
  5191. end
  5192. end)
  5193. setInp = musicwin:drawTextBox(2/3, '')
  5194. musicwin:drawButton(1, "Play", function()
  5195. tk.rcm(game, 'Sound')
  5196. tk.play(xcursel)
  5197. end)
  5198. musicwin:drawButton(1, "Stop", function()
  5199. tk.rcm(game, 'Sound')
  5200. end)
  5201. --// FACES //--
  5202. facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
  5203. local faces = {
  5204. {name='Rofl',id=47595647},
  5205. {name='Sparta',id=74142203},
  5206. {name='UJelly',id=48989071},
  5207. {name='Troll',id=45120559},
  5208. {name='Horse',id=62079221},
  5209. {name='Angry',id=48258623},
  5210. {name='Okey',id=62830600},
  5211. {name='Yeaw',id=53646377},
  5212. {name='Here',id=62677045},
  5213. {name='Har',id=48260066},
  5214. {name='Baby Sun',id=47596170},
  5215. {name='LOL',id=48293007},
  5216. {name='Sad',id=53645378},
  5217. {name='Joseph Stalin',id=48290678},
  5218. {name='Doge',id=130742396},
  5219. {name='Forever Alone',id=156886272},
  5220. {name='RickRoll',id=5104631},
  5221. {name='Jim Carrey',id=74885351},
  5222. {name='Meh IRL',id=237553381}
  5223. }
  5224. local cursel, xcursel = nil, 0
  5225. faclist = facwin:drawScrollingContainer(260)
  5226. for i,v in pairs(faces) do
  5227. local btn = faclist:drawButton(1, v['name'], function()
  5228. xcursel = v['id']
  5229. cursel.Text = 'Currently Selected: ' .. v['name']
  5230. end)
  5231. topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
  5232. end
  5233. cursel = facwin:drawText(1, 'Currently Selected: None')
  5234. facwin:drawButton(1, 'Wear', function()
  5235. if not (xcursel == 0) then
  5236. if topkek.lplr.Character then
  5237. tk.rcm(topkek.lplr.Character, 'Accessory')
  5238. tk.rcm(topkek.lplr.Character, 'Hat')
  5239. topkek.tools.util.applyFace(xcursel)
  5240. end
  5241. end
  5242. end)
  5243. --// SETTINGS // --
  5244. setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
  5245. setwin:drawText(1, 'Patch: ' .. topkek.patch)
  5246. setwin:drawText(1, 'Devnote: foh skids')
  5247. setwin:drawText(1, [[
  5248. === CREDITS ===
  5249.  
  5250. Variable - retard that created Stella
  5251. KrystalTeam - provided critical design tips & advice
  5252. Circumvention - lol joey salads
  5253.  
  5254. Thanks to everyone that supported T0PK3K 4.0!
  5255.  
  5256. ]], 260)
  5257. --// BANLIST //--
  5258. banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
  5259. local plrBanInp
  5260. banwin:drawButton(1/3, 'Add', function()
  5261. topkek.settings.get()
  5262. table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
  5263. topkek.settings.write()
  5264. UpdateBanlist()
  5265. end)
  5266. plrBanInp = banwin:drawTextBox(2/3, '')
  5267. banCont = banwin:drawScrollingContainer(288)
  5268. function UpdateBanlist(x)
  5269. topkek.settings.get()
  5270. local wl = x or topkek.settingsTable['Bans']
  5271. for i,v in pairs(banCont:GetChildren()) do
  5272. v:Destroy()
  5273. end
  5274. banCont:setDrawY(3)
  5275. for i,v in pairs(wl) do
  5276. banCont:drawText(2/3, v)
  5277. banCont:drawButton(1/3, 'Remove', function()
  5278. for x, m in pairs(wl) do
  5279. if m == v then
  5280. table.remove(topkek.settingsTable['Bans'], x)
  5281. topkek.settings.write()
  5282. UpdateBanlist()
  5283. topkek.banmgr.bans = topkek.settingsTable['Bans']
  5284. end
  5285. end
  5286. end)
  5287. end
  5288. end
  5289. UpdateBanlist()
  5290. --// HATS //--
  5291. hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
  5292. local hats={
  5293. {name='Dominus Empyreus',id=21070012},
  5294. {name='Dominus Vespertilio',id=96103379},
  5295. {name='Dominus Infernus',id=31101391},
  5296. {name='Dominus Rex',id=250395631},
  5297. {name='Dominus Frigidus',id=48545806},
  5298. {name='Dominus Astra',id=162067148},
  5299. {name='Dominus Aureus',id=138932314},
  5300. {name='DIY Dominus Empyreus',id=151789690},
  5301. {name='Dominus Messor',id=64444871},
  5302. {name='Demon Skeleton Wings',id=133554007},
  5303. {name='Gilded Wings of Glory',id=250405532},
  5304. {name='Majestic Ice Wings',id=188702967},
  5305. {name='Black Wings',id=215719598},
  5306. {name='Clockworks Shades',id=11748356},
  5307. {name='Faerie Wings',id=19399896},
  5308. {name='Orinthian Wings',id=223751505},
  5309. {name='Clockworks Headphones',id=1235488},
  5310. {name='Perfectly Legitimate Business Hat',id=19027209},
  5311. {name='Sparkling Angel Wings',id=192557913},
  5312. {name='Commander Crows Wings',id=133553855},
  5313. {name='Sunfire Wings',id=158068470},
  5314. {name='Royal Faerie Wings',id=119916756},
  5315. {name='Wings of Freedom',id=164174048},
  5316. {name='Firebrand Wings',id=128160626},
  5317. {name='Frozen Wings',id=136758613},
  5318. {name='Webbed Wings',id=120507280},
  5319. {name='Gargoyle Wings',id=120507201},
  5320. {name='Bat Wings',id=19399858},
  5321. {name='Wings of Fire',id=136758532},
  5322. {name='Headrow',id=1082935},
  5323. {name='Rubber Duckie',id=9254254},
  5324. {name='Valkyrie Helm',id=1365767},
  5325. {name='Hockey Mask',id=5161514}}
  5326. local searchi = hatwin:drawButton(1, '', function()end)
  5327. dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
  5328. function fixPlayerDropi()
  5329. local t = {'All'}
  5330. for i, v in pairs(game.Players:GetPlayers()) do
  5331. table.insert(t, v.Name)
  5332. end
  5333. dropx.SetTable(t)
  5334. end
  5335. game.Players.PlayerAdded:connect(function()
  5336. fixPlayerDropi()
  5337. end)
  5338. game.Players.PlayerRemoving:connect(function()
  5339. fixPlayerDropi()
  5340. end)
  5341. local eval = 'All'
  5342. dropx.Changed(function(p) eval = p end)
  5343. fixPlayerDrop()
  5344.  
  5345. local hatInp
  5346. hatlist = hatwin:drawScrollingContainer(260)
  5347. for i,v in pairs(hats) do
  5348. hatlist:drawButton(1, v['name'], function()
  5349. hatInp.Text = tostring(v['id'])
  5350. end)
  5351. end
  5352. hatwin:drawButton(1/3, 'Wear', function()
  5353. local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
  5354. tk.dp(eval, function(x)
  5355. if x.Character then
  5356. hat:Clone().Parent = x.Character
  5357. end
  5358. end)
  5359. end)
  5360.  
  5361.  
  5362. hatInp = hatwin:drawTextBox(2/3, '')
  5363. topkek.tools.animator.initialAnimation()
  5364. topkek.banmgr.init()
  5365.  
  5366. _G.Rc7Notification("Leaked by Scratchy","T0pk3k 4.0 Script Leaked!",5)
  5367. wait(5)
  5368. if game.Workspace.FilteringEnabled == true then
  5369. _G.Rc7Notification("Filtering","Fltering is Enabled",5)
  5370. else
  5371. _G.Rc7Notification("Filtering","Fltering is Disabled",5)
  5372. end
Add Comment
Please, Sign In to add comment