xxtheadmincreatorxx

Fe stella

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