RoSploitzer

Treelands GUI

Jun 2nd, 2019
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.51 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Mouse = Player:GetMouse()
  3. local char = Player.Character
  4.  
  5. local gPlayers = game:GetService("Players")
  6. local admin = gPlayers.LocalPlayer.Name
  7.  
  8. local services={}
  9. local cmds={}
  10. local std={}
  11.  
  12. local Version = '1.0.2'
  13.  
  14. wait(0.1)
  15.  
  16. services.players=gPlayers
  17. services.lighting=game:GetService('Lighting')
  18. services.workspace=game:GetService('Workspace')
  19. services.events = {}
  20. local user = gPlayers.LocalPlayer
  21.  
  22. local cmdprefix=';'
  23. local scriptprefix='\\'
  24. local split=" "
  25.  
  26. --| CMD List |--
  27.  
  28. CMDs = {
  29. '1. cmds',
  30. '2. nfbmadara',
  31. '3. nfbninetails',
  32. '4. nfbchakra player',
  33. '5. nfblevel',
  34. '6. nfbfastlevel',
  35. '7. dborstats',
  36. '8. dbormasters',
  37. '9. dbormoves',
  38. '10. dborclothing',
  39. '11. dboraccessories',
  40. '12. auritylevel',
  41. '13. sobloxwoodmoney',
  42. '14. tgpklevel',
  43. '15. rocitizens',
  44. '16. ct2money',
  45. '17. ct2minerals',
  46. '18. notoriety',
  47. '19. treelands',
  48. '20. dbzur player',
  49. '21. newgenstats',
  50. '22. dbostats player',
  51. '23. dblast player',
  52. '24. criticalstrike player',
  53. '25. ftfhlevel player',
  54. '26. tgstats player',
  55. '27. opmunl player',
  56. '28. slautolevelall',
  57. '29. slautolevel player',
  58. '30. slstats player',
  59. '31. slstatsall'
  60. }
  61.  
  62. --| Lib |--
  63.  
  64. updateevents=function()
  65. for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
  66. for i,v in pairs(gPlayers:players())do
  67. local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
  68. services.events[#services.events+1] = ev
  69. end
  70. end
  71.  
  72. std.inTable=function(tbl,val)
  73. if tbl==nil then return false end
  74.  
  75. for _,v in pairs(tbl)do
  76. if v==val then return true end
  77. end
  78. return false
  79. end
  80.  
  81. std.out=function(str)
  82. print(str)
  83. end
  84.  
  85. std.list=function(tbl)
  86. local str=''
  87. for i,v in pairs(tbl)do
  88. str=str..tostring(v)
  89. if i~=#tbl then str=str..', ' end
  90. end
  91. return str
  92. end
  93.  
  94. std.endat=function(str,val)
  95. local z=str:find(val)
  96. if z then
  97. return str:sub(0,z-string.len(val)),true
  98. else
  99. return str,false
  100. end
  101. end
  102.  
  103. std.first=function(str) return str:sub(1,1) end
  104.  
  105.  
  106.  
  107. local exec=function(str)
  108. spawn(function()
  109. local script, loaderr = loadstring(str)
  110. if not script then
  111. error(loaderr)
  112. else
  113. script()
  114. end
  115. end)
  116. end
  117.  
  118. local findCmd=function(cmd_name)
  119. for i,v in pairs(cmds)do
  120. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  121. return v
  122. end
  123. end
  124. end
  125.  
  126. local getCmd=function(msg)
  127. local cmd,hassplit=std.endat(msg:lower(),split)
  128. if hassplit then
  129. return {cmd,true}
  130. else
  131. return {cmd,false}
  132. end
  133. end
  134.  
  135. local getprfx=function(strn)
  136. if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  137. elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  138. end return
  139. end
  140.  
  141. local getArgs=function(str)
  142. local args={}
  143. local new_arg=nil
  144. local hassplit=nil
  145. local s=str
  146. repeat
  147. new_arg,hassplit=std.endat(s:lower(),split)
  148. if new_arg~='' then
  149. args[#args+1]=new_arg
  150. s=s:sub(string.len(new_arg)+string.len(split)+1)
  151. end
  152. until hassplit==false
  153. return args
  154. end
  155.  
  156. local function execCmd(str, plr)
  157. local s_cmd
  158. local a
  159. local cmd
  160. s_cmd = getCmd(str)
  161. cmd = findCmd(s_cmd[1])
  162. if cmd == nil then return end
  163. a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)
  164. local args=getArgs(a)
  165.  
  166. pcall(function()
  167. cmd.FUNC(args, plr)
  168. end)
  169. end
  170.  
  171. function do_exec(str,plr)
  172. if not isAdmin(plr.Name)then return end
  173.  
  174. str=str:gsub('/e ','')
  175.  
  176. local t=getprfx(str)
  177. if t==nil then return end
  178. str=str:sub(t[2])
  179. if t[1]=='exec' then
  180. exec(str)
  181. elseif t[1]=='cmd' then
  182. execCmd(str, plr)
  183. end
  184. end
  185.  
  186. updateevents()
  187. _G.exec_cmd = execCmd
  188. --game.Players.LocalPlayer.Chatted:connect(doexec)
  189.  
  190. local _char=function(plr_name)
  191. for i,v in pairs(game.Players:GetChildren())do
  192. if v:IsA'Player'then
  193. if v.Name==plr_name then return v.Character end
  194. end
  195. end
  196. return
  197. end
  198.  
  199. local _plr=function(plr_name)
  200. for i,v in pairs(game.Players:GetChildren())do
  201. if v:IsA'Player'then
  202. if v.Name==plr_name then return v end
  203. end
  204. end
  205. return
  206. end
  207.  
  208. function addcmd(name,desc,alias,func)
  209. cmds[#cmds+1]=
  210. {
  211. NAME=name;
  212. DESC=desc;
  213. ALIAS=alias;
  214. FUNC=func;
  215. }
  216. end
  217.  
  218. local function getPlayer(name)
  219. local nameTable = {}
  220. name=name:lower()
  221. if name == "me" then
  222. nameTable[#nameTable+1]=admin
  223. elseif name == "others" then
  224. for i,v in pairs(gPlayers:GetChildren()) do
  225. if v:IsA'Player'then
  226. if v.Name~=admin then
  227. nameTable[#nameTable+1]=v.Name
  228. end
  229. end
  230. end
  231. elseif name == "all" then
  232. for i,v in pairs(gPlayers:GetChildren()) do
  233. if v:IsA'Player'then
  234. nameTable[#nameTable+1]=v.Name
  235. end
  236. end
  237. else
  238. for i,v in pairs(gPlayers:GetChildren()) do
  239. local lname = v.Name:lower()
  240. local i,j = lname:find(name)
  241. if i == 1 then
  242. return {v.Name}
  243. end
  244. end
  245. end
  246. return nameTable
  247. end
  248.  
  249. --| Commands |--
  250.  
  251. addcmd('nfbninetails','nfbninetails',{},
  252. function(ARGS, SPEAKER)
  253. local var = game.Lighting:FindFirstChild("Nine Tail Beast")
  254. local nar = var:Clone()
  255. nar.Parent = game.Workspace
  256. nar.Humanoid.MaxHealth = 2
  257. nar.Humanoid.Health = 1
  258. end)
  259.  
  260. addcmd('nfbmadara','nfbmadara',{},
  261. function(ARGS, SPEAKER)
  262. local var = game.Lighting.Madara
  263. local nar = var:Clone()
  264. nar.Parent = game.Workspace
  265. nar.Humanoid.MaxHealth = 2
  266. nar.Humanoid.Health = 1
  267. end)
  268.  
  269. addcmd('nfbfastlevel','nfbfastlevel',{},
  270. function(ARGS, SPEAKER)
  271. game.Workspace.EXPRate.MaxEXP.Value=100000
  272. game.Workspace.EXPRate.MinEXP.Value=100000
  273. end)
  274.  
  275. addcmd('nfblevel','nfblevel [plr]',{},
  276. function(ARGS, SPEAKER)
  277. local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
  278. for i,v in pairs(PLAYERS) do
  279. gPlayers[v].leaderstat.Level.Value=1000
  280. end
  281. end)
  282.  
  283. addcmd('nfbchakra','nfbchakra [plr]',{},
  284. function(ARGS, SPEAKER)
  285. local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
  286. for i,v in pairs(PLAYERS) do
  287. gPlayers[v].PlayerGui.Chakra.ChakraStored.Value = 6000
  288. end
  289. end)
  290.  
  291. addcmd('dborstats','dborstats',{},
  292. function(ARGS, SPEAKER)
  293. local wl = {
  294. Level = true;
  295. Exp = true;
  296. Speed = true;
  297. EnergyControl = true;
  298. Power = true;
  299. Energy = true;
  300. Health = true;
  301. }
  302.  
  303. for i, v in pairs(game.Players.LocalPlayer.Data:children()) do
  304. if wl[v.Name] then
  305. game.Players.LocalPlayer.Backpack.Events.ChangeStat:InvokeServer(v, 200)
  306. end
  307. end
  308. end)
  309.  
  310. addcmd('dbormasters','dbormasters',{},
  311. function(ARGS, SPEAKER)
  312. for i, v in pairs(game.Players.LocalPlayer.Data.Masters:children()) do
  313. game.Players.LocalPlayer.Backpack.Events.ChangeStat:InvokeServer(v, 6)
  314. end
  315. end)
  316.  
  317. addcmd('dbormoves','dbormoves',{},
  318. function(ARGS, SPEAKER)
  319. for i, v in pairs(game.Players.LocalPlayer.Data.MoveList:children()) do
  320. game.Players.LocalPlayer.Backpack.Events.ChangeStat:InvokeServer(v, "UNLOCKED")
  321. end
  322. end)
  323.  
  324. addcmd('dborclothing','dborclothing',{},
  325. function(ARGS, SPEAKER)
  326. for i, v in pairs(game.Players.LocalPlayer.Data.UnlockedCostumes:children()) do
  327. game.Players.LocalPlayer.Backpack.Events.ChangeStat:InvokeServer(v, "UNLOCKED")
  328. end
  329. end)
  330.  
  331. addcmd('dboraccessories','dboraccessories',{},
  332. function(ARGS, SPEAKER)
  333. for i, v in pairs(game.Players.LocalPlayer.Data.UnlockedAccessories:children()) do
  334. game.Players.LocalPlayer.Backpack.Events.ChangeStat:InvokeServer(v, "UNLOCKED")
  335. end
  336. end)
  337.  
  338. addcmd('auritylevel','auritylevel',{},
  339. function(ARGS, SPEAKER)
  340. game.Players.LocalPlayer.PlayerGui.MainGUI.Gui.XP.MoneyIncreaseValue.Value=21000000000
  341. end)
  342.  
  343. addcmd('sobloxwoodmoney','sobloxwoodmoney',{},
  344. function(ARGS, SPEAKER)
  345. local r = game.Players.LocalPlayer.leaderstats
  346.  
  347. r.Cash.RobloxLocked = true
  348. r.Cash.Value = 999999
  349. wait()
  350. r.Cash.Value.RobloxLocked = false
  351. end)
  352.  
  353. addcmd('tgpklevel','tgpklevel',{},
  354. function(ARGS, SPEAKER)
  355. while true do
  356. wait(2)
  357. game.Workspace.ServerEvents.Punching:FireServer()
  358. end
  359. end)
  360.  
  361. addcmd('rocitizens','rocitizens',{},
  362. function(ARGS, SPEAKER)
  363. game.Players.LocalPlayer.ChangeMoney:Fire(2000000000)
  364. end)
  365.  
  366. addcmd('ct2money','ct2money',{},
  367. function(ARGS, SPEAKER)
  368. game.Workspace.Events.DataStores.CurrencyGiver:FireServer("Cash",100000)
  369. game.Workspace.Events.DataStores.CurrencyGiver:FireServer("Gems",100000)
  370. end)
  371.  
  372. addcmd('ct2minerals','ct2minerals',{},
  373. function(ARGS, SPEAKER)
  374. game.Workspace.Events.DataStores.CurrencyGiver:FireServer("Stone",1000000)
  375. game.Workspace.Events.DataStores.CurrencyGiver:FireServer("Coal",1000000)
  376. game.Workspace.Events.DataStores.CurrencyGiver:FireServer("Iron",1000000)
  377. game.Workspace.Events.DataStores.CurrencyGiver:FireServer("Gold",1000000)
  378. game.Workspace.Events.DataStores.CurrencyGiver:FireServer("Diamonds",1000000)
  379. end)
  380.  
  381. addcmd('notoriety','notoriety',{},
  382. function(ARGS, SPEAKER)
  383. game.Players.LocalPlayer.PlayerGui.Statistics.Cash. Value = 2e9
  384. game.Players.LocalPlayer.PlayerGui.Statistics.Level. Value = 99999
  385. game.Players.LocalPlayer.PlayerGui.Statistics.Skill. Value = 2e9
  386. end)
  387.  
  388. addcmd('treelands','treelands',{},
  389. function(ARGS, SPEAKER)
  390. local xd = game.Workspace.Fruits
  391. xd.Apple.CombinedValue.Value = 10000000
  392. end)
  393.  
  394. addcmd('dbzur','dbzur [plr]',{},
  395. function(ARGS, SPEAKER)
  396. local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
  397. for i,v in pairs(PLAYERS) do
  398. gPlayers[v].leaderstats.PowerLvl.Value=2100000000
  399. end
  400. end)
  401.  
  402. addcmd('newgenstats','newgenstats [plr]',{},
  403. function(ARGS, SPEAKER)
  404. local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
  405. for i,v in pairs(PLAYERS) do
  406. local r = gPlayers[v].Data.Stats
  407. r.Level.Value = 2000
  408. r.Strength.Value = 2000
  409. r.Chakra.Value = 2000
  410. r.HP.Value = 2000
  411. end
  412. end)
  413.  
  414. addcmd('dbostats','dbostats [plr]',{},
  415. function(ARGS, SPEAKER)
  416. local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
  417. for i,v in pairs(PLAYERS) do
  418. local r = gPlayers[v].Data
  419. r.Ki.Value=9999999
  420. r.Death.Value=9999999
  421. r.Hand.Value=9999999
  422. r.Physical.Value=9999999
  423. r.Defense.Value=9999999
  424. r.Power.Value=9999999
  425. r.Speed.Value=9999999
  426. r.KiControl.Value=9999999
  427. r.UpgradePoints.Value=9999999
  428. r.Coins.Value=9999999
  429. r.Agility.Value=9999999
  430. end
  431. end)
  432.  
  433. addcmd('dblast','dblast [plr]',{},
  434. function(ARGS, SPEAKER)
  435. local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
  436. for i,v in pairs(PLAYERS) do
  437. local r = gPlayers[v].Data
  438. r.Level.Value=10000
  439. r.Zeni.Value=999999
  440. r.xSTR.Value=9999
  441. r.xAGI.Value=9999
  442. r.xENE.Value=9999
  443. r.xRAG.Value=9999
  444. end
  445. end)
  446.  
  447. addcmd('criticalstrike','criticalstrike [plr]',{},
  448. function(ARGS, SPEAKER)
  449. local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
  450. for i,v in pairs(PLAYERS) do
  451. gPlayers[v].leaderstats.Points.Value=999999
  452. end
  453. end)
  454.  
  455. addcmd('ftfhlevel','ftfhlevel [plr]',{},
  456. function(ARGS, SPEAKER)
  457. local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
  458. for i,v in pairs(PLAYERS) do
  459. gPlayers[v].leaderstat.LastLevel.Value = 218
  460. end
  461. end)
  462.  
  463. addcmd('tgstats','tgstats [plr]',{},
  464. function(ARGS, SPEAKER)
  465. local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
  466. for i,v in pairs(PLAYERS) do
  467. local p = gPlayers[v].Data
  468. local r = game.ReplicatedStorage.Remotes.ChangeValue
  469. r:FireServer(p.PlayerLevel,400)
  470. r:FireServer(p.Power,400)
  471. r:FireServer(p.Sword,400)
  472. r:FireServer(p.Rank,6632)
  473. r:FireServer(p.PlayerMoney,6632)
  474. end
  475. end)
  476.  
  477. addcmd('opmunl','opmunl [plr]',{},
  478. function(ARGS, SPEAKER)
  479. local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
  480. for i,v in pairs(PLAYERS) do
  481. local r = gPlayers[v].Data
  482. r.Level.Value=500
  483. r.Agi.Value=9999999
  484. r.Str.Value=9999999
  485. r.Hea.Value=9999999
  486. r.Sta.Value=9999999
  487. r.Atk.Value=9999999
  488. end
  489. end)
  490.  
  491.  
  492. addcmd('slautolevelall','slautolevelall',{},
  493. function(ARGS, SPEAKER)
  494. while true do
  495. for _,v in pairs(game.Players:GetPlayers()) do
  496. local r = v.Backpack.keyinput
  497. r:FireServer("changestat", "exp", 10000000)
  498. wait(1)
  499. end
  500. end
  501. end)
  502.  
  503. addcmd('slautolevel','slautolevel [plr]',{},
  504. function(ARGS, SPEAKER)
  505. local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
  506. for i,v in pairs(PLAYERS) do
  507. while wait (1) do
  508. gPlayers[v].Backpack.keyinput:FireServer("changestat", "exp", 10000000)
  509. end
  510. end
  511. end)
  512.  
  513. addcmd('slstats','slstats [plr]',{},
  514. function(ARGS, SPEAKER)
  515. local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
  516. for i,v in pairs(PLAYERS) do
  517. while wait (1) do
  518. local r = gPlayers[v].Backpack.keyinput
  519. r:FireServer("changestat", "spins", 9999)
  520. r:FireServer("changestat", "bounty", 10000)
  521. r:FireServer("changestat", "ryo1", 999999)
  522. r:FireServer("changestat", "ryo2", 99999999)
  523. end
  524. end
  525. end)
  526.  
  527. addcmd('slstatsall','slstatsall [plr]',{},
  528. function(ARGS, SPEAKER)
  529. local PLAYERS = GET_PLAYER(ARGS[1], SPEAKER)
  530. for i,v in pairs(PLAYERS) do
  531. while wait (1) do
  532. local r = gPlayers[v].Backpack.keyinput
  533. r:FireServer("changestat", "spins", 9999)
  534. r:FireServer("changestat", "bounty", 10000)
  535. r:FireServer("changestat", "ryo1", 999999)
  536. r:FireServer("changestat", "ryo2", 99999999)
  537. end
  538. end
  539. end)
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561. --| Don't.. Touch.. |--
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568. --| CMD Bar |--
  569.  
  570. CMDbar = Instance.new('ScreenGui', game.CoreGui)
  571. CMDbar.Name = 'GUI'
  572. cmdBAR = Instance.new('TextBox', CMDbar)
  573. cmdBAR.Name = 'CMDbar'
  574. cmdBAR.Active = true
  575. cmdBAR.BackgroundColor = BrickColor.new(0,0,0)
  576. cmdBAR.BackgroundTransparency = 0.5
  577. cmdBAR.BorderColor = BrickColor.new(0,0,0)
  578. cmdBAR.BorderSizePixel = 0
  579. cmdBAR.Position = UDim2.new(0,0,1,-25)
  580. cmdBAR.Size = UDim2.new(0,200,0,20)
  581. cmdBAR.Font = 'SourceSans'
  582. cmdBAR.FontSize = 'Size18'
  583. cmdBAR.Text = 'Press ; to Execute a Command'
  584. cmdBAR.TextColor = BrickColor.new(255,255,255)
  585.  
  586. --| Data |--
  587.  
  588. DATA = Instance.new('Folder', game.ContextActionService)
  589. DATA.Name = 'Data'
  590.  
  591. Paper = Instance.new('BlockMesh', DATA)
  592. Paper.Name = 'Paper'
  593. Paper.Scale = Vector3.new(1,1,0.1)
  594.  
  595. ayylmao = Instance.new('Hat', DATA)
  596. ayylmao.Name = 'ayylmao'
  597. ayyHandle = Instance.new('Part', ayylmao)
  598. ayyHandle.Name = 'Handle'
  599. ayyHandle.Size = Vector3.new(2,2.4,2)
  600. ayyHandle.FormFactor = 'Plate'
  601. ayyMesh = Instance.new('SpecialMesh', ayyHandle)
  602. ayyMesh.Scale = Vector3.new(1,1.02,1)
  603. ayyMesh.MeshType = 'FileMesh'
  604. ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689'
  605. ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796'
  606.  
  607. Float = Instance.new('Part', DATA)
  608. Float.Name = 'Float'
  609. Float.Transparency = 1
  610. Float.Size = Vector3.new(6,1,6)
  611. Float.Anchored = true
  612.  
  613. cmdGUI = Instance.new('ScreenGui', DATA)
  614. cmdGUI.Name = 'CMDs'
  615. cmdMAIN = Instance.new('Frame', cmdGUI)
  616. cmdMAIN.Name = 'MAIN'
  617. cmdMAIN.Active = true
  618. cmdMAIN.BackgroundColor = BrickColor.new(0,0,0)
  619. cmdMAIN.BackgroundTransparency = 0.5
  620. cmdMAIN.BorderColor = BrickColor.new(0,0,0)
  621. cmdMAIN.BorderSizePixel = 0
  622. cmdMAIN.Position = UDim2.new(0,10,0,350)
  623. cmdMAIN.Size = UDim2.new(0,170,0,15)
  624. cmdMAIN.Draggable = true
  625. cmdCMDs = Instance.new('ScrollingFrame', cmdMAIN)
  626. cmdCMDs.Name = 'CMDs'
  627. cmdCMDs.BackgroundColor = BrickColor.new(0,0,0)
  628. cmdCMDs.BackgroundTransparency = 0.8
  629. cmdCMDs.BorderColor = BrickColor.new(0,0,0)
  630. cmdCMDs.BorderSizePixel = 0
  631. cmdCMDs.Position = UDim2.new(0,0,0,15)
  632. cmdCMDs.Size = UDim2.new(0,200,0,150)
  633. cmdCMDs.CanvasSize = UDim2.new(0,0,0,0)
  634. cmdCMDs.TopImage = 'rbxasset://textures/blackBkg_square.png'
  635. cmdCMDs.MidImage = 'rbxasset://textures/blackBkg_square.png'
  636. cmdCMDs.BottomImage = 'rbxasset://textures/blackBkg_square.png'
  637. cmdCMDs.ScrollBarThickness = 2
  638. cmdExit = Instance.new('TextButton', cmdMAIN)
  639. cmdExit.Name = 'Exit'
  640. cmdExit.BackgroundColor = BrickColor.new(255,0,0)
  641. cmdExit.BackgroundTransparency = 0.5
  642. cmdExit.BorderColor = BrickColor.new(255,0,0)
  643. cmdExit.BorderSizePixel = 0
  644. cmdExit.Position = UDim2.new(0,185,0,0)
  645. cmdExit.Size = UDim2.new(0,15,0,15)
  646. cmdExit.Text = ""
  647. ExitScript = Instance.new('LocalScript', cmdExit)
  648. ExitScript.Source =
  649. [[
  650. script.Parent.MouseButton1Down:connect(function()
  651. script.Parent.Parent.Parent:Destroy()
  652. end)
  653. ]]
  654. cmdMin = Instance.new('TextButton', cmdMAIN)
  655. cmdMin.Name = 'MM'
  656. cmdMin.BackgroundColor = BrickColor.new(140,140,140)
  657. cmdMin.BackgroundTransparency = 0.5
  658. cmdMin.BorderColor = BrickColor.new(140,140,140)
  659. cmdMin.BorderSizePixel = 0
  660. cmdMin.Position = UDim2.new(0,170,0,0)
  661. cmdMin.Size = UDim2.new(0,15,0,15)
  662. cmdMin.Text = ""
  663. MinScript = Instance.new('LocalScript', cmdMin)
  664. MinScript.Source =
  665. [[
  666. local CMDs = script.Parent.Parent.CMDs
  667.  
  668. script.Parent.MouseButton1Down:connect(function()
  669. if CMDs.Visible == true then
  670. CMDs.Visible = false
  671. elseif CMDs.Visible == false then
  672. CMDs.Visible = true
  673. end
  674. end)
  675. ]]
  676. cmdEx = Instance.new('TextLabel', cmdMAIN)
  677. cmdEx.Name = 'Example'
  678. cmdEx.BackgroundColor = BrickColor.new(0,0,0)
  679. cmdEx.BackgroundTransparency = 0.8
  680. cmdEx.BorderColor = BrickColor.new(0,0,0)
  681. cmdEx.BorderSizePixel = 0
  682. cmdEx.Position = UDim2.new(0,5,0,20)
  683. cmdEx.Size = UDim2.new(0,190,0,20)
  684. cmdEx.Visible = false
  685. cmdEx.TextColor = BrickColor.new(255,255,255)
  686. cmdEx.TextXAlignment = 'Left'
  687.  
  688. duckGUI = Instance.new('ScreenGui', DATA)
  689. duckGUI.Name = 'Duck'
  690. duckImage = Instance.new('ImageLabel', duckGUI)
  691. duckImage.BackgroundTransparency = 1
  692. duckImage.Position = UDim2.new(0,-300,1,-150)
  693. duckImage.Size = UDim2.new(0,300,0,300)
  694. duckImage.Rotation = -30
  695. duckImage.Image = 'rbxassetid://301388647'
  696. duckScript = Instance.new('LocalScript', duckGUI)
  697. duckScript.Source =
  698. [[
  699. local duck = script.Parent.ImageLabel
  700.  
  701. wait(2)
  702.  
  703. duck:TweenPosition(UDim2.new(1, 0, 1, -150), "InOut", "Quad", 3, true, nil)
  704. ]]
  705.  
  706. espMAIN = Instance.new('BillboardGui', DATA)
  707. espMAIN.Name = 'MAIN'
  708. espMAIN.AlwaysOnTop = true
  709. espMAIN.ExtentsOffset = Vector3.new(0,1,0)
  710. espMAIN.Size = UDim2.new(0,5,0,5)
  711. espMAIN.StudsOffset = Vector3.new(0,1,0)
  712. espDot = Instance.new('Frame', espMAIN)
  713. espDot.BackgroundColor = BrickColor.new(42,181,255)
  714. espDot.BackgroundTransparency = 0.3
  715. espDot.BorderSizePixel = 0
  716. espDot.Position = UDim2.new(-0.5,0,-0.5,0)
  717. espDot.Size = UDim2.new(2,0,2,0)
  718. espDot.Visible = false
  719. espDot.ZIndex = 10
  720. espName = Instance.new('TextLabel', espMAIN)
  721. espName.Name = 'Name'
  722. espName.BackgroundColor = BrickColor.new(0,0,0)
  723. espName.BackgroundTransparency = 1
  724. espName.BorderColor = BrickColor.new(0,0,0)
  725. espName.BorderSizePixel = 0
  726. espName.Position = UDim2.new(0,0,0,-35)
  727. espName.Size = UDim2.new(1,0,10,0)
  728. espName.Visible = false
  729. espName.ZIndex = 10
  730.  
  731. notifyMAIN = Instance.new('ScreenGui', DATA)
  732. notifyMAIN.Name = 'Notification'
  733. notifyNOT = Instance.new('Frame', notifyMAIN)
  734. notifyNOT.Name = 'NOTIFY'
  735. notifyNOT.BackgroundColor = BrickColor.new(0,0,0)
  736. notifyNOT.BackgroundTransparency = 0.5
  737. notifyNOT.BorderColor = BrickColor.new(255,255,255)
  738. notifyNOT.BorderSizePixel = 2
  739. notifyNOT.Position = UDim2.new(0,-200,0.7,0)
  740. notifyNOT.Size = UDim2.new(0,200,0,30)
  741. notifyNOTE = Instance.new('TextLabel', notifyNOT)
  742. notifyNOTE.Name = 'NOTE'
  743. notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
  744. notifyNOTE.BackgroundTransparency = 1
  745. notifyNOTE.BorderColor = BrickColor.new(255,255,255)
  746. notifyNOTE.BorderSizePixel = 0
  747. notifyNOTE.Size = UDim2.new(1,0,1,0)
  748. notifyNOTE.ZIndex = 10
  749. notifyNOTE.FontSize = 'Size18'
  750. notifyNOTE.Font = 'SourceSans'
  751. notifyNOTE.Text = 'NOTIFY'
  752. notifyNOTE.TextColor = BrickColor.new(255,255,255)
  753. notifyNOTE.TextStrokeColor3 = Color3.new(255,255,255)
  754. notifyNOTE.TextStrokeTransparency = 0.8
  755.  
  756. tpTool = Instance.new('HopperBin', DATA)
  757. tpTool.Name = 'Teleport'
  758. tpScript = Instance.new('LocalScript', tpTool)
  759. tpScript.Source =
  760. [[
  761. local Player = game.Players.LocalPlayer
  762. local Mouse = Player:GetMouse()
  763.  
  764. local Tool = script.Parent
  765.  
  766. Mouse.Button1Down:connect(function()
  767. if Mouse.Target and Tool.Active then
  768. Player.Character.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,2,0)
  769. end
  770. end)
  771. ]]
  772.  
  773. modJAIL = Instance.new('Model', DATA)
  774. modJAIL.Name = 'JAIL'
  775. botJAIL = Instance.new('Part', modJAIL)
  776. botJAIL.Name = 'BOTTOM'
  777. botJAIL.BrickColor = BrickColor.new('Black')
  778. botJAIL.Transparency = 0.5
  779. botJAIL.Position = Vector3.new(-6.2,0.5,-11.6)
  780. botJAIL.Anchored = true
  781. botJAIL.Locked = true
  782. botJAIL.Size = Vector3.new(6,1,6)
  783. botJAIL.TopSurface = 'Smooth'
  784. botJAIL.BottomSurface = 'Smooth'
  785. topJAIL = Instance.new('Part', modJAIL)
  786. topJAIL.Name = 'BOTTOM'
  787. topJAIL.BrickColor = BrickColor.new('Black')
  788. topJAIL.Transparency = 0.5
  789. topJAIL.Position = Vector3.new(-6.2,7.5,-11.6)
  790. topJAIL.Anchored = true
  791. topJAIL.Locked = true
  792. topJAIL.Size = Vector3.new(6,1,6)
  793. topJAIL.TopSurface = 'Smooth'
  794. topJAIL.BottomSurface = 'Smooth'
  795. p1 = Instance.new('Part', modJAIL)
  796. p1.Name = 'MAIN'
  797. p1.BrickColor = BrickColor.new('Black')
  798. p1.Transparency = 1
  799. p1.Position = Vector3.new(-8.7,4,-11.6)
  800. p1.Rotation = Vector3.new(-180,0,-180)
  801. p1.Anchored = true
  802. p1.Locked = true
  803. p1.Size = Vector3.new(1,6,4)
  804. p1.TopSurface = 'Smooth'
  805. p1.BottomSurface = 'Smooth'
  806. p2 = Instance.new('Part', modJAIL)
  807. p2.BrickColor = BrickColor.new('Black')
  808. p2.Transparency = 0.5
  809. p2.Position = Vector3.new(-3.7,4,-14.1)
  810. p2.Anchored = true
  811. p2.Locked = true
  812. p2.Size = Vector3.new(1,6,1)
  813. p2.TopSurface = 'Smooth'
  814. p2.BottomSurface = 'Smooth'
  815. p3 = Instance.new('Part', modJAIL)
  816. p3.BrickColor = BrickColor.new('Black')
  817. p3.Transparency = 0.5
  818. p3.Position = Vector3.new(-8.7,4,-9.1)
  819. p3.Anchored = true
  820. p3.Locked = true
  821. p3.Size = Vector3.new(1,6,1)
  822. p3.TopSurface = 'Smooth'
  823. p3.BottomSurface = 'Smooth'
  824. p4 = Instance.new('Part', modJAIL)
  825. p4.BrickColor = BrickColor.new('Black')
  826. p4.Transparency = 0.5
  827. p4.Position = Vector3.new(-3.7,4,-9.1)
  828. p4.Anchored = true
  829. p4.Locked = true
  830. p4.Size = Vector3.new(1,6,1)
  831. p4.TopSurface = 'Smooth'
  832. p4.BottomSurface = 'Smooth'
  833. p5 = Instance.new('Part', modJAIL)
  834. p5.BrickColor = BrickColor.new('Black')
  835. p5.Transparency = 0.5
  836. p5.Position = Vector3.new(-8.7,4,-14.1)
  837. p5.Anchored = true
  838. p5.Locked = true
  839. p5.Size = Vector3.new(1,6,1)
  840. p5.TopSurface = 'Smooth'
  841. p5.BottomSurface = 'Smooth'
  842. p6 = Instance.new('Part', modJAIL)
  843. p6.BrickColor = BrickColor.new('Black')
  844. p6.Transparency = 1
  845. p6.Position = Vector3.new(-6.2,4,-14.1)
  846. p6.Rotation = Vector3.new(0,90,0)
  847. p6.Anchored = true
  848. p6.Locked = true
  849. p6.Size = Vector3.new(1,6,4)
  850. p6.TopSurface = 'Smooth'
  851. p6.BottomSurface = 'Smooth'
  852. p7 = Instance.new('Part', modJAIL)
  853. p7.BrickColor = BrickColor.new('Black')
  854. p7.Transparency = 1
  855. p7.Position = Vector3.new(-3.7,4,-11.6)
  856. p7.Anchored = true
  857. p7.Locked = true
  858. p7.Size = Vector3.new(1,6,4)
  859. p7.TopSurface = 'Smooth'
  860. p7.BottomSurface = 'Smooth'
  861. p8 = Instance.new('Part', modJAIL)
  862. p8.BrickColor = BrickColor.new('Black')
  863. p8.Transparency = 1
  864. p8.Position = Vector3.new(-6.2,4,-9.1)
  865. p8.Rotation = Vector3.new(0,90,0)
  866. p8.Anchored = true
  867. p8.Locked = true
  868. p8.Size = Vector3.new(1,6,4)
  869. p8.TopSurface = 'Smooth'
  870. p8.BottomSurface = 'Smooth'
  871.  
  872. -- CMDs GUI --
  873.  
  874. CMDsFolder = Instance.new("Folder", game.CoreGui)
  875.  
  876. for i,v in pairs(CMDs) do
  877. CMDsValue = Instance.new("StringValue", CMDsFolder)
  878. CMDsValue.Value = v
  879. CMDsValue.RobloxLocked = true
  880. end
  881.  
  882. local function commands()
  883. local cmds = DATA.CMDs:Clone()
  884. cmds.Parent = Player.PlayerGui
  885. local CMDsV = CMDsFolder:GetChildren()
  886. for i = 1, #CMDsV do
  887. local YSize = 25
  888. local Position = ((i * YSize) - YSize)
  889. local newcmd = cmds.MAIN.Example:Clone()
  890. newcmd.Parent = cmds.MAIN.CMDs
  891. newcmd.Visible = true
  892. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  893. newcmd.Text = "" .. CMDsV[i].Value
  894. cmds.MAIN.CMDs.CanvasSize = UDim2.new(0,0,0, Position + 30)
  895. end
  896. end
  897.  
  898. addcmd('cmds','prints cmds',{},
  899. function(args)
  900. commands()
  901. end)
  902.  
  903. --| Command Bar |--
  904.  
  905. CMDbar.CMDbar.FocusLost:connect(function(enterpressed)
  906. if enterpressed and CMDbar.CMDbar.Text ~= "" then
  907. spawn(function ()
  908. execCmd(CMDbar.CMDbar.Text, Player)
  909. end)
  910. end
  911. CMDbar.CMDbar:TweenPosition(UDim2.new(0, -200, 1, -25), "InOut", "Quad", 0.5, true, nil)
  912. end)
  913.  
  914. Mouse.KeyDown:connect(function(Key)
  915. if Key:byte() == 59 then
  916. CMDbar.CMDbar:TweenPosition(UDim2.new(0, 0, 1, -25), "InOut", "Quad", 0.5, true, nil)
  917. CMDbar.CMDbar:CaptureFocus()
  918. end
  919. end)
  920.  
  921.  
  922. --| More Functions |--
  923.  
  924. local NOTIFY = DATA.Notification
  925. NOTIFY.Parent = game.CoreGui
  926.  
  927. local duck = DATA.Duck:Clone()
  928. duck.Parent = Player.PlayerGui
  929.  
  930. local usingNOTE = false
  931.  
  932. function Notify(msg)
  933. if usingNOTE == false then
  934. if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
  935. spawn(function()
  936. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
  937. NOTIFY.NOTIFY.NOTE.Text = msg
  938. usingNOTE = true
  939. wait(2.5)
  940. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, -200, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
  941. usingNOTE = false
  942. end)
  943. end
  944. end
  945. end
  946.  
  947. --| Notifications |--
  948.  
  949. wait(1)
  950.  
  951. if game.Workspace.FilteringEnabled == true then
  952. NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,0,0)
  953. Notify('Filtering is ENABLED.')
  954. elseif game.Workspace.FilteringEnabled == false then
  955. NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,0)
  956. Notify('Filtering is Disabled.')
  957. end
  958.  
  959. wait(3.5)
  960.  
  961. NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,255,255)
  962.  
  963. Notify('Loaded commands!')
  964.  
  965. wait(3.5)
  966.  
  967. Notify('Welcome!')
  968.  
  969. Player.PlayerGui.Duck:Destroy()
  970.  
  971. --[[
  972. addcmd('name','desc',{''},
  973. function(args)
  974. local players = getPlayer(args[1])
  975. for i,v in pairs(players)do
  976. local pchar = gPlayers[v].Character
  977. end
  978. end)
  979. --]]
Add Comment
Please, Sign In to add comment