Adog1656

Untitled

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