zXzGamePROzXz

Fe script Hub

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