lafur

Untitled

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