UnknownUser25

FE Topkek 4.0

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