Adog1656

Untitled

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