Nahul

Fe topkek(test)

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