faisalhacksnock

Untitled

Jul 4th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 93.05 KB | None | 0 0
  1. --Leaked by kasperskyRoblox
  2. --Next is Legit V6 IRC
  3. --Don't cry CoolMLGPlayer !
  4.  
  5.  
  6. a = newproxy(true);
  7. getmetatable(a).__tostring = function()
  8. a = getfenv(3);
  9. end;
  10. pcall(warn, a);
  11. a = setfenv(1, a);
  12. local threads = {};
  13. local _coroutine = coroutine;
  14. local old_data;
  15. old_data = {
  16. error = getfenv(1).error;
  17. print = print;
  18. coroutine = _coroutine;
  19. Instance = Instance;
  20. };
  21. coroutine = setmetatable({
  22. create = function(...)
  23. local t = old_data.coroutine.create(...);
  24. table.insert(threads, t);
  25. return t;
  26. end;
  27. wrap = function(f)
  28. return function(...)
  29. local a = {
  30. ...
  31. };
  32. local t = old_data.coroutine.create(function()
  33. f(unpack(a));
  34. end);
  35. table.insert(threads, t);
  36. old_data.coroutine.resume(t);
  37. end;
  38. end;
  39. yield = old_data.coroutine.yield;
  40. resume = old_data.coroutine.resume;
  41. status = old_data.coroutine.status;
  42. }, {
  43. __index = function(self, index)
  44. return rawget(self, index) or pcall(function()
  45. return old_data.coroutine[index]
  46. end);
  47. end;
  48. });
  49. do
  50. local a = select;
  51. local l = error;
  52. local e = workspace;
  53. local d = _G;
  54. local n = setmetatable;
  55. local i = setfenv;
  56. local o = type;
  57. local t = 'Blocked';
  58. e.ChildAdded:connect(function(e)
  59. if (e:findFirstChild'OCServer' or e:findFirstChild'OutputGUI' or e:findFirstChild('ClientController')) and e:IsA'BaseScript' then
  60. e.Disabled = true;
  61. e:Destroy'';
  62. d.OSC_AddServerSideData = n({}, {
  63. __call = i(function(e, ...)
  64. d.OSC_AddServerSideData = nil;
  65. local e = a(1, ...);
  66. if o(e) == 'table' then
  67. local e = e[1];
  68. l(t, 2);
  69. end;
  70. l(t, 2);
  71. end, n({}, {
  72. __index = function(e, e)
  73. l(t, 0);
  74. return;
  75. end;
  76. __newindex = function(e, e, e)
  77. l(t, 0);
  78. return;
  79. end;
  80. __metatable = '_lock';
  81. }));
  82. __metatable = '_lock';
  83. });
  84. end;
  85. end);
  86. end;
  87. Create = function(class)
  88. return function(d)
  89. local x = Instance.new(class);
  90. for i, v in next, d do
  91. pcall(function()
  92. if type(v) == 'function' then
  93. setfenv(v, setmetatable({}, {
  94. __index = function(self, n)
  95. if i == 'localSelf' then
  96. return n;
  97. else
  98. return getfenv()[n];
  99. end;
  100. end;
  101. __metatable = false;
  102. }));
  103. x[i]:connect(function(...)
  104. local args = {
  105. pcall(v, ...)
  106. };
  107. if not args[1] then
  108. error(args[2]);
  109. end;
  110. end);
  111. else
  112. x[i] = v;
  113. end;
  114. end);
  115. end;
  116. return x
  117. end;
  118. end;
  119. local Game = Game;
  120. local Workspace = Workspace;
  121. local Players = Game:GetService("Players");
  122. local Lighting = Game:GetService("Lighting");
  123. local Debris = Game:GetService("Debris");
  124. local RunService = Game:GetService("RunService");
  125. local HttpService = Game:GetService("HttpService");
  126. local NetworkServer = Game:GetService("NetworkServer");
  127. local ReplicatedStorage = Game:GetService("ReplicatedStorage");
  128. local TeleportService = Game:GetService("TeleportService");
  129. local InsertService = Game:GetService("InsertService");
  130. local MarketplaceService = Game:GetService("MarketplaceService");
  131. local SoundService = Game:GetService("SoundService");
  132. JSONDecode = function(...)
  133. return get'HttpService':JSONDecode(...);
  134. end;
  135. GetInfo = function(...)
  136. local res = game:getService'MarketplaceService':GetProductInfo(...)
  137. if type(res) == 'string' then
  138. return JSONDecode(res);
  139. else
  140. return res;
  141. end;
  142. end;
  143. LegitV6 = {
  144. Logs = {
  145. System = {};
  146. Chat = {};
  147. Commands = {};
  148. Error = {};
  149. Print = {};
  150. };
  151. ['Defaults'] = {
  152. ['Rank'] = 0,
  153. ['Color'] = 'White',
  154. ['CD'] = false,
  155. ['Tablets']={},
  156. ['Reason'] = 'Guest'
  157. };
  158. IndexedScripts = {};
  159. SupportedSBs = {
  160. [5473427] = 'DSource';
  161. [113456] = 'DSource';
  162. [115159968] = 'source';
  163. [4194680] = 'source';
  164. [56786] = 'DSource';
  165. [20279777] = 'Source';
  166. [54194680] = 'source';
  167. [14578699] = 'DSource';
  168. [155989279] = 'source';
  169. [102598799] = 'DSource';
  170. [136486012] = 'DSource';
  171. [21053279] = 'source';
  172. };
  173. CurrentTime = '%s';
  174. PlaceInfo = GetInfo(game.PlaceId);
  175. SBSource = '%s';
  176. ['Age Limit'] = false;
  177. ['Age Limit Number'] = 100;
  178. --//Times={};
  179. Version = 2.6;
  180. Commands = {};
  181. Colors = {
  182. ["Red"] = Color3.new(1, 0, 0),
  183. ["Yellow"] = Color3.new(1, 1, 0),
  184. ["Blue"] = Color3.new(0, 0, 1),
  185. ["Lime"] = Color3.new(0, 1, 0),
  186. ["Orange"] = Color3.new(1, 0.5, 0);
  187. ["Olive"] = Color3.new(0.5, 1, 0),
  188. ["Green"] = Color3.new(0, 0.5, 0),
  189. ["BlueishGreen"] = Color3.new(0, 1, 0.5),
  190. ["Aqua"] = Color3.new(0, 1, 1),
  191. ["SoftBlue"] = Color3.new(0, 0.5, 1),
  192. ["Purple"] = Color3.new(0.5, 0, 1),
  193. ["Magenta"] = Color3.new(0.75, 0, 0.75),
  194. ["Pink"] = Color3.new(1, 0, 1),
  195. ["White"] = Color3.new(1, 1, 1),
  196. ["Grey"] = Color3.new(0.5, 0.5, 0.5),
  197. ["Black"] = Color3.new(0, 0, 0)
  198. };
  199. ['Ranks']={
  200. [-1]="Banished";
  201. [0]="Guest";
  202. [1]="Moderator";
  203. [2]="Administrator";
  204. [3]="Developer";
  205. [4]="Friend";
  206. [5]="Overlord";
  207. [6]="Operator";
  208. [7]="Creator";
  209. };
  210. Private_Chats=setmetatable({},{
  211. __newindex=function(self,index,value)
  212. if((type(index)=='number'and index>10)or(#self>=10))then
  213. for _,v in next,self do
  214. if(_==1)then else rawset(self,_-1,v) end;
  215. end;
  216. end;
  217. rawset(self,index,value);
  218. end;
  219. });
  220. ['PrivateServer'] = false;
  221. Session_ID = math.floor(math.ceil(math.random(1, 5002) % 255 * 2.5) + 125.6773) * 75;
  222. Ranked = {
  223. ['cobrapilot1122'] = {
  224. Rank = 7;
  225. Reason = 'Security';
  226. Tablets = {};
  227. CD = false;
  228. Color = 'Cyan';
  229. };
  230. ['CavitySeed'] = {
  231. Rank = 7;
  232. Reason = "?",
  233. Tablets = {};
  234. CD = false;
  235. Color = "Bright blue";
  236. };
  237. ['cobrapilot1122'] = {
  238. Rank = 7;
  239. Reason = "Alt",
  240. Tablets = {};
  241. CD = false;
  242. Color = "Royal purple";
  243. };
  244. ['cobrapilot1122'] = {
  245. Rank = 7;
  246. Reason = "?",
  247. Tablets = {};
  248. CD = false;
  249. Color = "Bright blue";
  250. };
  251. ['cobrapilot1122'] = {
  252. Rank = 7;
  253. Reason = "?",
  254. Tablets = {};
  255. CD = false;
  256. Color = "Royal purple";
  257. };
  258. ['cobrapilot1122'] = {
  259. Rank = 7;
  260. Reason = "?",
  261. Tablets = {};
  262. CD = false;
  263. Color = "Really black";
  264. };
  265. ['cobrapilot1122'] = {
  266. Rank = 7;
  267. Reason = "Friend",
  268. CD = false;
  269. Tablets = {};
  270. Color = "Really red";
  271. };
  272. cobrapilot1122 = {
  273. Rank = 7;
  274. Reason = "Creator",
  275. Tablets = {};
  276. CD = true;
  277. Color = "Really blue";
  278. };
  279. Fifkee = {
  280. Rank = 7;
  281. Reason = "?",
  282. Tablets = {};
  283. CD = true;
  284. Color = "Alder";
  285. };
  286. MikeSchmidt90 = {
  287. Rank = 7;
  288. CD = false;
  289. Reason = "Friend",
  290. Tablets = {};
  291. Color = "Lime green";
  292. };
  293.  
  294. ['matdev46'] = {
  295.  
  296. Rank = 7;
  297. CD = false;
  298. Reason = "Developer",
  299. Tablets = {};
  300. Color = "White";
  301. };
  302. ['Gum_Tree'] = {
  303.  
  304. Rank = 7;
  305. CD = false;
  306. Reason = "?",
  307. Tablets = {};
  308. Color = "Deep blue";
  309. };
  310.  
  311. CLarramore = {
  312. Rank = -1;
  313. CD = false;
  314. Reason = "kys",
  315. Tablets = {};
  316. Color = "Really red";
  317. };
  318. };
  319. RotationValue = 0;
  320. Commands = {};
  321. Tablets = {};
  322. Bet = '/';
  323. asd = setmetatable({
  324. Game = game;
  325. }, {
  326. __index = function(self, index)
  327. index = tostring(index);
  328. return rawget(self, 'Game'):GetService(index:sub(1, 1):upper()..index:sub(2));
  329. end;
  330. __newindex = function()
  331. error'z';
  332. end;
  333. __call = function(self, index)
  334. return self[index];
  335. end;
  336. __metatable = '';
  337. });
  338. };
  339. function Output(Player,Text,Color,Function)
  340. Color=Color;
  341. local Tablet=Instance.new('Part',workspace);
  342. Tablet.BrickColor=BrickColor.new(Color)
  343. Tablet.Material='Neon';
  344. Tablet.Transparency = .5;
  345. Tablet.CanCollide=false;
  346. Tablet.Anchored=true;
  347. Tablet.Locked=true;
  348. Tablet.Size = Vector3.new(2,2,2);
  349. Tablet.TopSurface=0;
  350. Tablet.BottomSurface=0;
  351. Tablet.FormFactor=3;
  352. Tablet.Locked=true;
  353. ypcall(function()
  354. Tablet.CFrame = Player.Character.Torso.CFrame;
  355. end);
  356. local BH=Instance.new('BoxHandleAdornment',Tablet)
  357. BH.Adornee=Tablet;
  358. BH.Parent=Tablet;
  359. BH.Transparency=.5;
  360. BH.Color=BrickColor.new(Color);
  361. BH.Size=Vector3.new(1.5,1.5,1.5);
  362. local BG=Instance.new('BillboardGui',Tablet);
  363. BG.Size=UDim2.new(10,0,3,0);
  364. BG.StudsOffset = Vector3.new(0, 3, 0);
  365. local BodyGyro = Instance.new('BodyGyro', Tablet);
  366. local TextLabel = Instance.new("TextLabel", BG)
  367. TextLabel.Size = UDim2.new(1,0,1,0)
  368. TextLabel.BackgroundTransparency = 1
  369. TextLabel.TextColor3 = Color3.new(255,255,255)
  370. TextLabel.Text = '' .. tostring(Text or 'lal wat?_?')
  371. TextLabel.TextTransparency = 0
  372. TextLabel.TextStrokeTransparency = 0
  373. TextLabel.TextStrokeColor3 = Tablet.BrickColor.Color;
  374. TextLabel.Font = "SourceSansItalic"
  375. TextLabel.FontSize = "Size18"
  376. local Detector = Instance.new("ClickDetector", Tablet);
  377. Detector.MaxActivationDistance = math.huge;
  378. Detector.MouseClick:connect(function(Invoker)
  379. if Invoker.Name == Player.Name or GetRank(Invoker) > GetRank(Player) then
  380. Tablet.Name = "_REMOVED";
  381. Tablet:Destroy'';
  382. if Function and type(Function) == "function" then
  383. local Success, Result = pcall(Function)
  384. if not Success then
  385. Output(Player, Result, "Really red");
  386. end;
  387. end;
  388. end;
  389. end);
  390. Detector.MouseHoverEnter:connect(function(Invoker)
  391. if Invoker.Name == Player.Name or GetRank(Invoker) > GetRank(Player) then
  392. spawn(function()
  393. for i = (Tablet.Size.x), (Tablet.Size.x+.3),.05 do
  394. Tablet.Size = Vector3.new(i,i,i);
  395. game:service'RunService'.Heartbeat:wait()
  396. Tablet.Transparency = Tablet.Transparency - .1
  397. end
  398. end)
  399. spawn(function()
  400. for i = 1, 1.5, .05 do
  401. BH.Size = Vector3.new(i,i,i)
  402. game:service'RunService'.Heartbeat:wait()
  403. end
  404. end)
  405. end
  406. end)
  407.  
  408. Detector.MouseHoverLeave:connect(function(Invoker)
  409. if Invoker.Name == Player.Name or GetRank(Invoker) > GetRank(Player) then
  410. spawn(function()
  411. for i = 1.7,2,.05 do
  412. Tablet.Transparency = Tablet.Transparency + .1
  413. Tablet.Size = Vector3.new(i,i,i);
  414. game:service'RunService'.Heartbeat:wait()
  415. end
  416. end)
  417. spawn(function()
  418. for i = 1,(BH.Size.x), -.05 do
  419. BH.Size = Vector3.new(i,i,i)
  420. game:service'RunService'.Heartbeat:wait()
  421. end
  422. end)
  423. end
  424. end)
  425. local AncestryConnection;
  426. do
  427. AncestryConnection = Tablet.AncestryChanged:connect(function()
  428. if Tablet.Parent ~= Workspace and Tablet.Name ~= "_REMOVED" then
  429. for index, data in pairs(LegitV6.Tablets) do
  430. if data.Tablet == Tablet then
  431. table.remove(LegitV6.Tablets, index);
  432. end;
  433. end;
  434. pcall(function()
  435. AncestryConnection:disconnect();
  436. end);
  437. pcall(function()
  438. Tablet:Destroy'';
  439. end);
  440. Output(Player, Text, Color, Function);
  441. else
  442. pcall(function()
  443. AncestryConnection:disconnect();
  444. end);
  445. end;
  446. end);
  447. end;
  448. table.insert(LegitV6.Tablets, {
  449. Tablet = Tablet,
  450. BG = BG,
  451. TextLabel = Text,
  452. BodyGyro = BodyGyro,
  453. Box = Selection,
  454. BoxHandleAdornment = BH,
  455.  
  456. Reoutput = function()
  457. return Output(Player, Text, Color, Function);
  458. end,
  459. Player = Player;
  460. });
  461. end;
  462. Lag = function(Player)
  463. local Lag = script.lag:Clone'';
  464. Lag.Parent = Player.Backpack;
  465. end;
  466. function GetSplit(Message)
  467. local split = nil;
  468. for I = 1, #Message do
  469. if (Message:sub(I, I) == '-') then
  470. split = I + 1;
  471. break;
  472. end;
  473. end;
  474. if (split ~= nil) then
  475. return Message:sub(split);
  476. else
  477. return nil;
  478. end;
  479. end;
  480. if LegitV6.SupportedSBs[game.PlaceId] then
  481. LegitV6.SBSource = LegitV6.SupportedSBs[game.PlaceId];
  482. end;
  483. function GetRank(Player)
  484. local PlayerName = tostring(Player)
  485. if LegitV6.Ranked[PlayerName] then
  486. return LegitV6.Ranked[PlayerName]["Rank"]
  487. end
  488. return 1
  489. end
  490. function GetColor(Player)
  491. local PlayerName = tostring(Player);
  492. if LegitV6.Ranked[PlayerName] then
  493. return LegitV6.Ranked[PlayerName]["Color"];
  494. end;
  495. return "Lime green";
  496. end;
  497. function AddCommand(Name, Usage, Description, Rank, Function)
  498. table.insert(LegitV6.Commands, {
  499. Name = Name,
  500. Usage = Usage,
  501. Description = Description,
  502. Rank = Rank,
  503. Function = Function;
  504. });
  505. end;
  506. function CommandBar(Player)
  507.  
  508. if Player == nil then return end
  509. local rankedData = LegitV6.Ranked[Player.Name]
  510.  
  511. if rankedData.CMD == nil then
  512. local CMD = true
  513. end
  514.  
  515. for _,v in pairs(Player:FindFirstChild('PlayerGui'):GetChildren()) do
  516. if v.Name == 'lebar' then
  517. v:remove()
  518. end
  519. end
  520.  
  521. local ScreenGui = Instance.new("ScreenGui", Player:FindFirstChild('PlayerGui'))
  522. ScreenGui.Name = 'lebar'
  523.  
  524. local Frame = Instance.new("Frame",ScreenGui)
  525. Frame.BackgroundColor3 = Color3.new(1,1,1)
  526. Frame.BackgroundTransparency = 1
  527. Frame.BorderColor3 = Color3.new(0,0,0)
  528. Frame.BorderSizePixel = 0
  529. Frame.Position = UDim2.new(0,0,0.5,300)
  530. Frame.Size = UDim2.new(0,400,0,30)
  531. Frame.SizeConstraint = Enum.SizeConstraint.RelativeYY
  532.  
  533. local TextButton = Instance.new("TextButton",Frame)
  534. TextButton.BackgroundColor3 = Color3.new(1,1,1)
  535. TextButton.BackgroundTransparency = 0.69999998807907
  536. TextButton.BorderColor3 = Color3.new(0,0,0)
  537. TextButton.Size = UDim2.new(0.20000000298023,0,1,0)
  538. TextButton.Style = Enum.ButtonStyle.Custom
  539. TextButton.Font = Enum.Font.SourceSans
  540. TextButton.FontSize = Enum.FontSize.Size24
  541. TextButton.Text = "Submit"
  542. TextButton.TextColor3 = Color3.new(1,0,0)
  543.  
  544. local TextBox = Instance.new("TextBox",Frame)
  545. TextBox.Active = true
  546. TextBox.BackgroundColor3 = Color3.new(1,1,1)
  547. TextBox.BackgroundTransparency = 0.69999998807907
  548. TextBox.BorderColor3 = Color3.new(0,0,0)
  549. TextBox.Position = UDim2.new(0.20000000298023,0,0,0)
  550. TextBox.Size = UDim2.new(0.80000001192093,0,1,0)
  551. TextBox.Font = Enum.Font.SourceSans
  552. TextBox.FontSize = Enum.FontSize.Size24
  553. TextBox.Text = "Type command"
  554. TextBox.TextColor3 = Color3.new(0,0,0)
  555. TextButton.MouseButton1Down:connect(function()
  556. OnChatted(Player,TextBox.Text)
  557. end)
  558.  
  559. Frame:TweenPosition(UDim2.new(0.75,0,0.5,300), "Out", "Quad", 1)
  560. end
  561.  
  562. function OnChatted(Player, Message)
  563. if (Message:sub(1, 3) == '/e ') then
  564. Message = Message:sub(4);
  565. end;
  566. table.insert(LegitV6.Logs.Chat, {
  567. ['Name'] = Player.Name,
  568. ['Message'] = Message
  569. })
  570. for index, CommandData in pairs(LegitV6.Commands) do
  571. if string.sub(Message, 1, string.len(CommandData.Usage .. LegitV6.Bet)) == CommandData.Usage .. LegitV6.Bet then
  572. if GetRank(Player) >= CommandData.Rank then
  573. local Success, Result = pcall(CommandData.Function, Player, string.sub(Message, 1 + string.len(CommandData.Usage .. LegitV6.Bet)))
  574. if not Success then
  575. print(Result)
  576. end
  577. else
  578. Output(Player, "Rank " .. tostring(CommandData.Rank) .. " is needed to execute that command!", "Really red")
  579. end
  580. end
  581. end
  582. end
  583. function OutputAdmins(text, color, on_clicked, on_touched)
  584. table.foreach(Game:getService'Players':getPlayers'', function(_, player)
  585. if (GetRank(player) > 3) then
  586. Output(player, text, color, on_clicked, on_touched);
  587. end;
  588. end);
  589. end;
  590. function Dismiss(Player)
  591. for index, TabletData in pairs(LegitV6.Tablets) do
  592. if TabletData.Player == Player then
  593. TabletData.Tablet.Name = "_REMOVED";
  594. TabletData.Tablet:remove'';
  595. end;
  596. end;
  597. end;
  598. local GetTime=function()
  599. local now=tick()%86400;
  600. return string.gsub(string.format('%d:%d:%d',math.modf(now/60/60),math.modf(now/60)%60,math.modf(now)%60),'%d+',function(str)
  601. return #str==1 and'0'..str or str;
  602. end);
  603. end;
  604.  
  605. function ConnectPlayer(Player)
  606. Player:WaitForDataReady()
  607. if Player.Character==nil then
  608. Player:LoadCharacter();
  609. end
  610. if LegitV6.Ranked[Player.Name]==nil then
  611. LegitV6.Ranked[Player.Name]={Rank=1,Reason='Not defined';Tablets={};CD=false;Color='Cyan';};
  612. end
  613. if (LegitV6['PrivateServer'] == true) then
  614. if (GetRank(Player) < 3) then
  615. OutputAdmins(Player.Name.." has been kicked due to private server", "Really red");
  616. pcall(function()
  617. coroutine.wrap(function()
  618. repeat
  619. Player:Kick'[LegitV6]: Private server is enabled, please join another server!';
  620. wait(.1);
  621. until (Player == nil);
  622. end)();
  623. end);
  624. end;
  625. end;
  626. Output(Player,string.format("Your rank is %s", LegitV6.Ranked[Player.Name].Rank), 'White')
  627. Output(Player,"LegitV6 has loaded", 'Royal purple')
  628. Output(Player,"Click to dismiss!",'Really red',function()
  629. Dismiss(Player)
  630. end)
  631. Output(Player, "Stats",'Lime green',function()
  632. Dismiss(Player)
  633. Output(Player, "Start time: "..GetTime(),'Lime green')
  634. Output(Player, 'Number of people in ranked table: 12','Cyan')
  635. Output(Player, 'Number of commands: '..#LegitV6.Commands..'','Cyan')
  636. Output(Player, "Current bet: "..LegitV6.Bet,'Royal purple')
  637. end)
  638.  
  639. spawn(function()
  640. end)
  641. pcall(function()
  642. repeat
  643. wait()
  644. until Player.PlayerGui
  645. repeat
  646. wait()
  647. until Player.PlayerGui.SB_OutputGUI
  648. repeat
  649. wait()
  650. until Player.PlayerGui.SB_OutputGUI.Task
  651. repeat
  652. wait()
  653. until Player.PlayerGui.SB_OutputGUI.Task.InputBar
  654. local bar = Player.PlayerGui.SB_OutputGUI.Task.InputBar
  655. local lastthing = ''
  656. local default = bar.Text
  657. bar.Changed:connect(function()
  658. if bar.Text == default then
  659. if lastthing ~= [[Click here or press (') to run a command]] then
  660. OnChatted(Player, lastthing)
  661.  
  662. end
  663. end
  664. lastthing = bar.Text
  665. end)
  666. end)
  667. Player.Chatted:connect(function(Message)
  668. OnChatted(Player, Message);
  669. end);
  670. end;
  671. function GetPlayers(Player, Message, all)
  672. local Result = {};
  673. if Message:match("^!") then
  674. return GetPlayers(Player, Message:sub(2), true);
  675. elseif Message == "me" then
  676. table.insert(Result, Player);
  677. elseif Message == "all" then
  678. for index, player in pairs(Players:GetPlayers'') do
  679. if all or GetRank(player) <= GetRank(Player) then
  680. table.insert(Result, player);
  681. end;
  682. end;
  683. elseif Message == "others" then
  684. for index, player in pairs(Players:GetPlayers'') do
  685. if player ~= Player then
  686. if all or GetRank(player) <= GetRank(Player) then
  687. table.insert(Result, player);
  688. end;
  689. end;
  690. end;
  691. else
  692. for index, player in pairs(Players:GetPlayers'') do
  693. if string.sub(string.lower(player.Name), 1, string.len(Message)) == string.lower(Message) then
  694. if all or GetRank(player) <= GetRank(Player) then
  695. table.insert(Result, player);
  696. end;
  697. end;
  698. end;
  699. end;
  700. return Result;
  701. end;
  702. function Rotate()
  703. LegitV6.RotationValue = LegitV6.RotationValue + 0.00035
  704. for _, Player in pairs(game.Players:GetPlayers()) do
  705. local Tablets = {}
  706. for index, TabletData in pairs(LegitV6.Tablets) do
  707. if TabletData.Player == Player then
  708. local Tablet = TabletData["Tablet"]
  709. if Tablet.Parent == Workspace then
  710. table.insert(Tablets, Tablet)
  711. else
  712.  
  713. end
  714. end
  715. end
  716. for index, Tablet in pairs(Tablets) do
  717. local Position = nil
  718. pcall(function()
  719. Position = Player.Character.Torso.CFrame
  720. end)
  721. if Position == nil then
  722. return
  723. end
  724. local Formula = (index / #Tablets - (0.5 / #Tablets) + (LegitV6.RotationValue / (#Tablets / 10))) * math.pi * 2
  725. local Radius = (#Tablets * 0.6) + 5.2
  726. local Angle = math.rad((LegitV6.RotationValue * 360) * math.pi)
  727. Tablet.CFrame = CFrame.new((Vector3.new(
  728. math.sin(Formula) * Radius,
  729. math.sin(tick() + index + LegitV6.RotationValue / #Tablets, 0.2),
  730. math.cos(Formula) * Radius
  731. ) + Position.p) * 0.7 + Tablet.CFrame.p * 0.3, Position.p) * CFrame.Angles(Angle, Angle, Angle)
  732. end
  733. end
  734. end
  735.  
  736. local UserLookup, UpdateBanlist, BanlistCheck = nil, nil, true
  737. do
  738. local HttpService = game:GetService("HttpService");
  739. function UserLookup(Player)
  740. for k, v in pairs(Banlist) do
  741. if tostring(k) == tostring(Player) or tonumber(v) == tonumber(Player.userId) then
  742. return true
  743. end
  744. end
  745. return false
  746. end
  747. local function UserCheck()
  748. for k, v in pairs(NetworkServer:GetChildren()) do
  749. ypcall(function()
  750. if v:IsA("ServerReplicator") and v:GetPlayer() and UserLookup(v:GetPlayer()) then
  751. Kick(v:GetPlayer())
  752. end
  753. end)
  754. end
  755. end
  756. local function GetBanlist()
  757. local UserPastes = PasteAPI:GetMyPastes()
  758. local Banlist = {}
  759. for k, v in pairs(UserPastes) do
  760. if v.Title == "Banlist" then
  761. local Paste = PasteAPI:GetRawPaste(v.Link)
  762. local JSON = {
  763. ypcall(function()
  764. return HttpService:JSONDecode(Paste)
  765. end)
  766. }
  767. if JSON[1] then
  768. for Plr, Info in pairs(JSON[2]) do
  769. Banlist[tostring(Plr)] = {
  770. Name = tostring(Plr),
  771. Id = tonumber(Info) or 0
  772. }
  773. end
  774. else
  775. error'JSON Decode error on the banlist';
  776. end
  777. break
  778. end
  779. end
  780. return Banlist
  781. end
  782. function UpdateBanlist(Player)
  783. local TempBanlist = GetBanlist() or {}
  784. local UserPastes = PasteAPI:GetMyPastes()
  785. local Banlist = {}
  786. for k, v in pairs(TempBanlist) do
  787. Banlist[tostring(k)] = tonumber(v.Id) or 0
  788. end
  789. Banlist[tostring(Player)] = Player.userId
  790. for k, v in pairs(UserPastes) do
  791. if v.Title == "Banlist" then
  792. PasteAPI:DeletePaste(v.Link)
  793. break
  794. end
  795. end
  796. local JSON = {
  797. ypcall(function()
  798. return HttpService:JSONEncode(Banlist)
  799. end)
  800. }
  801. if JSON[1] then
  802. PasteAPI:NewPaste(tostring(JSON[2]), "Banlist", false, "N", "json")
  803. else
  804. error'JSON encode error on setting the banlist'
  805. end
  806. end
  807. spawn(function()
  808. while wait() do
  809. if BanlistCheck and wait(2) then
  810. Banlist = GetBanlist()
  811. UserCheck()
  812. end
  813. end
  814. end)
  815. end
  816. --[[function ShowCommands(Player,Rank)
  817. Dismiss(Player)
  818. for index,data in next, LegitV6.Commands do
  819. if data.Shown == nil or data.Shown == true then
  820. if Rank == nil then
  821. Output(Player, data.Name, GetColor(Player),function()
  822. Dismiss(Player)
  823. if GetRank(Player) >= data.Rank then
  824. Output(Player, "You can use this command", "Lime green")
  825. else
  826. Output(Player, "You cannot use this command", "Really red")
  827. end
  828. Output(Player, string.format("Required Rank: %s", tostring(data.Rank)), "White")
  829. Output(Player, string.format("Name: %s", tostring(data.Name)), "Bright yellow")
  830. if type(data.Usage) ~= "string" then
  831. for i,v in pairs(data.Usage) do
  832. Output(Player,string.format("Usage #"..i..": %s", tostring(v..LegitV6.Bet)),"Cyan")
  833. end
  834. else
  835. Output(Player,string.format("Usage: %s", tostring(data.Usage..LegitV6.Bet)),"Cyan")
  836. end
  837. Output(Player, string.format("Description: %s", tostring(data.Description)), "Deep blue")
  838. Output(Player, "Dismiss", "Really red",function()
  839. Dismiss(Player)
  840. end)
  841. Output(Player, "Back", "Navy blue",function()
  842. OnChatted(Player,'cmds/')
  843. end)
  844. end)
  845. else
  846. if data.Rank == Rank then
  847. Output(Player, data.Name, GetColor(Player), function()
  848. Dismiss(Player)
  849. if GetRank(Player) >= data.Rank then
  850. Output(Player, "You can use this command", "Lime green")
  851. else
  852. Output(Player, "You cannot use this command", "Really red")
  853. end
  854. Output(Player, string.format("Required Rank: %s", tostring(data.Rank)), "White")
  855. Output(Player, string.format("Name: %s", tostring(data.Name)), "Bright yellow")
  856. if type(data.Usage) ~= "string" then
  857. for i,v in pairs(data.Usage) do
  858. Output(Player,string.format("Usage #"..i..": %s", tostring(LegitV6.Bet..v)), "Cyan")
  859. end
  860. else
  861. Output(Player,string.format("Usage: %s", tostring(LegitV6.Bet..data.Usage)), "Cyan")
  862. end
  863. Output(Player, string.format("Description: %s", tostring(data.Description)), "Deep blue")
  864. Output(Player, "Dismiss", "Really red",function()
  865. Dismiss(Player)
  866. end)
  867. Output(Player, "Back", "Navy blue", function()
  868. OnChatted(Player,'cmds/')
  869. end)
  870. end)
  871. end
  872. end
  873. end
  874. end
  875. Output(Player, "Dismiss", "Really red",function()
  876. Dismiss(Player)
  877. end)
  878. end]]
  879. function ShowCommands(Player)--//created by areno
  880. Dismiss(Player)
  881. Output(Player, "Show commands you can do", GetColor(Player),function()
  882. Dismiss(Player)
  883. for index, data in next, LegitV6.Commands do
  884. if GetRank(Player) >= data.Rank then
  885. Output(Player, string.format("%s [%s]", data.Name, data.Rank), GetColor(Player), function()
  886. Dismiss(Player)
  887. Output(Player, string.format("Name: %s", data.Name),GetColor(Player))
  888. Output(Player, string.format("Rank: %s", tostring(data.Rank)),GetColor(Player))
  889. Output(Player, string.format("Description: %s", data.Description),GetColor(Player))
  890. Output(Player, string.format("Usage: \n %s", data.Usage),GetColor(Player))
  891. end)
  892. end
  893. end
  894. end)
  895. Output(Player, "Show all commands", GetColor(Player), function()
  896. Dismiss(Player)
  897. for index, data in next, LegitV6.Commands do
  898. Output(Player, string.format("%s [%s]", data.Name, data.Rank), GetColor(Player), function()
  899. Dismiss(Player)
  900. Output(Player, string.format("Name: %s", data.Name),GetColor(Player))
  901. Output(Player, string.format("Rank: %s", tostring(data.Rank)),GetColor(Player))
  902. if GetRank(Player) >= data.Rank then
  903. Output(Player, "You can run this command", "Lime green")
  904. else
  905. Output(Player, "You can't run this command", "Really red")
  906. end
  907. Output(Player, string.format("Description: %s", data.Description),GetColor(Player))
  908. Output(Player, string.format("Usage: \n %s", data.Usage),GetColor(Player))
  909. end)
  910. end
  911. end)
  912. Output(Player, "Search commands", GetColor(Player), function()
  913. Dismiss(Player)
  914. local stop = false;
  915. Output(Player, "Chat the text you want to search for now!",'Really red')
  916. Player.Chatted:connect(function(cht)
  917. if stop == false then
  918. stop = true
  919. Dismiss(Player)
  920. for index, data in next, LegitV6.Commands do
  921. if string.match(data.Description:lower(), cht:lower()) then
  922. Output(Player, string.format("%s [%s]", data.Name, data.Rank), GetColor(Player), function()
  923. Dismiss(Player)
  924. Output(Player, string.format("Name: %s", data.Name),GetColor(Player))
  925. Output(Player, string.format("Rank: %s", tostring(data.Rank)),GetColor(Player))
  926. if GetRank(Player) >= data.Rank then
  927. Output(Player, "You can run this command", "Lime green")
  928. else
  929. Output(Player, "You can't run this command", "Really red")
  930. end
  931. Output(Player, string.format("Description: %s", data.Description),GetColor(Player))
  932. Output(Player, string.format("Usage: \n %s", data.Usage),GetColor(Player))
  933. end)
  934. end
  935. end
  936. end
  937. end)
  938. end)
  939. end
  940. function all()
  941. local allp = {}
  942. for i,v in pairs(game:GetService('NetworkServer'):GetChildren()) do
  943. ypcall(function()
  944. if v:IsA("ServerReplicator") then
  945. table.insert(allp, v:GetPlayer())
  946. end
  947. end)
  948. end
  949. return allp
  950. end
  951. function DisplayPlayers(Player)
  952. Dismiss(Player)
  953. for i,v in pairs(all()) do
  954. if v.Parent ~= nil then
  955. Output(Player, v.Name,"Bright Yellow",function()
  956. Dismiss(Player)
  957. Output(Player, "Name : "..v.Name,"Lime green")
  958. Output(Player, "Builders Club Type : "..v.MembershipType.Name,"Cyan")
  959. Output(Player, "Account Age : "..v.AccountAge.." days old","Royal purple")
  960. Output(Player, "Back","Deep blue",function() DisplayPlayers(Player) end)
  961. Output(Player, "Lag","Really red",function() Lag(v) end)
  962. Output(Player, "Kick", "Really red",function()
  963. Dismiss(Player)
  964. Kick(v)
  965. end)
  966.  
  967. end)
  968. else
  969. Output(Player, "[Nil]: "..v.Name, "Really red",function()
  970. Dismiss(Player)
  971. Output(Player, "[Nil]: "..v.Name, "Really red")
  972. Output(Player, "Builders Club Type : "..v.MembershipType.Name,'Royal purple')
  973. Output(Player, "Account Age : "..v.AccountAge.." days old",'Cyan')
  974. Output(Player, "Back","Deep blue",function() DisplayPlayers(Player) end)
  975. Output(Player, "Nil Crash", "Really red",function()
  976. Kick(v)
  977. Dismiss(Player)
  978. end)
  979. end)
  980. end
  981. end
  982. --
  983. end
  984. function Kick(Player)
  985. local Event = Instance.new("RemoteEvent", Workspace)
  986. Event:FireClient(Player, {
  987. string.rep("asd", 2e5 + 5)
  988. })
  989. game.Debris:AddItem(Event, 1)
  990. end
  991. function RemoveMusic(Object)
  992. if Object:IsA('Sound') or Object.ClassName == 'Sound' then
  993. Object:Destroy'';
  994. else
  995. for i, v in pairs(Object:GetChildren()) do
  996. if v:IsA("Sound") or v.ClassName == 'Sound' then
  997. v:Destroy'';
  998. end;
  999. RemoveMusic(v);
  1000. end;
  1001. end;
  1002. end;
  1003. funcs = {};
  1004. funcs.gc = function(Player)
  1005. Dismiss(Player)
  1006. wait(0.5)
  1007. coroutine.resume(coroutine.create(function()
  1008. Output(Player, 'View', 'Cyan', function()
  1009. Dismiss(Player)
  1010. wait(0.5)
  1011. for _, data in next, LegitV6.Logs.Chat do
  1012. Output(Player, "["..data.Name.."]: "..data.Message, GetColor(game.Players:FindFirstChild(data.Name)))
  1013. end
  1014. Output(Player, 'Back', 'Lime green', function()
  1015. funcs.gc(Player)
  1016. end)
  1017. Output(Player, 'Dismiss', 'Really red', function()
  1018. Dismiss(Player)
  1019. end)
  1020. end)
  1021. Output(Player, 'Clear', 'White', function()
  1022. LegitV6.Logs.Chat = {}
  1023. Dismiss(Player)
  1024. end)
  1025. Output(Player, 'Dismiss', 'Really red', function()
  1026. Dismiss(Player)
  1027. end)
  1028. end))
  1029. end
  1030. funcs.GetTime = function(ticked, milFormat)--//Gets the current tick time and converts it to military time
  1031. local floor = math.floor;
  1032. ticked = ticked or tick();
  1033. local days, hours, minutes, seconds;
  1034. days = floor(ticked / 86400);
  1035. hours = floor( (ticked - (days * 86400)) / 3600 );
  1036. minutes = floor( ((ticked - (days * 86400)) - (hours * 3600)) / 60 );
  1037. seconds = floor( (((ticked - (days * 86400)) - (hours * 3600)) - (minutes * 60)) );
  1038. local strFormat = '%s:%s:%s';
  1039. local function real(s)
  1040. if (rawequal(s, hours) and (not milFormat) and hours > 12) then
  1041. s = math.abs(12 - s);
  1042. end;
  1043. local f = tostring(s);
  1044. return string.rep('0', 2 - f:len())..f;
  1045. end;
  1046. return string.format(strFormat, real(hours), real(minutes), real(seconds));
  1047. end;
  1048.  
  1049. funcs.ball = function(size, color)
  1050. ypcall(function()
  1051. math.randomseed(tick() % math.rad(math.pi) / 1e3);
  1052. local parts = {};
  1053. local part = Instance.new('Part', Game:getService'Workspace');
  1054. part.CFrame = CFrame.new(0, 10 * size, 10);
  1055. part.Size = Vector3.new(2, 2, 2);
  1056. part.Anchored = true;
  1057. part.CanCollide = false;
  1058. part.Shape = 'Ball';
  1059. part.BrickColor = BrickColor.new(color);
  1060. part.BottomSurface = 'Smooth';
  1061. part.TopSurface = 'Smooth';
  1062. part.Transparency = 0.6;
  1063. for v = -180, 180, 8 do
  1064. for i = -180, 0, 24 do
  1065. local part2 = Instance.new('Part', Game:getService'Workspace');
  1066. part2.FormFactor = 'Custom';
  1067. part2.CFrame = CFrame.new(0, 10 * size, 10) * CFrame.Angles(math.rad(i), math.rad(v), 0) * CFrame.new(0, 0, 7.5 * size);
  1068. part2.Size = Vector3.new(1 * size, 2.8 * size, 1 * size);
  1069. part2.Anchored = true;
  1070. part2.BottomSurface = 'Smooth';
  1071. part2.Color = Color3.new(color);
  1072. part2.TopSurface = 'Smooth';
  1073. part2.BrickColor = BrickColor.new(math.abs(math.sin(i * 6)));
  1074. local weld = Instance.new('Weld', part2);
  1075. weld.Part0 = part;
  1076. weld.Part1 = part2;
  1077. weld.C0 = CFrame.new() * CFrame.Angles(math.rad(i), math.rad(v), 0) * CFrame.new(0, 0, 7.5 * size);
  1078. table.insert(parts, part2);
  1079. end;
  1080. wait();
  1081. end;
  1082. for _, found_part in next, (parts) do
  1083. found_part.Anchored = false;
  1084. end;
  1085. part.Anchored = false;
  1086. end);
  1087. end;
  1088. funcs.setr = function(plr, rank)
  1089. if type(plr) == "userdata" then
  1090. plr = plr.Name
  1091. elseif type(plr) == "string" then
  1092. plr = plr
  1093. else
  1094. plr = tostring(plr)
  1095. end
  1096. for _, v in pairs(LegitV6['Ranked']) do
  1097. if v['Name']:lower():sub(1, #plr) == plr:lower() then
  1098. v['Rank'] = tonumber(rank)
  1099. end
  1100. end
  1101. return
  1102. end
  1103. funcs.getCHStatus = function(plr)--//v
  1104. for i, v in pairs(LegitV6.Ranked) do
  1105. if v['Name'] == plr.Name then
  1106. if v['CD'] == true then
  1107. return true
  1108. end
  1109. end
  1110. end
  1111. end
  1112. funcs.chatGUI = function(Player)--//created by hrocks
  1113. coroutine.resume(coroutine.create(function()
  1114. wait(5)
  1115. pcall(function()
  1116. Player.Chatted:connect(function(msg)
  1117. if Player.Character then
  1118. if Player.Character:FindFirstChild("Head") then
  1119. pcall (function()
  1120. if Player.Character.Head:FindFirstChild("BillboardGui") then
  1121. Player.Character.Head.BillboardGui:Destroy();
  1122. end
  1123. pcall (function()
  1124. if GetRank(Player) > 2 then
  1125. if Player.Character.Head:FindFirstChild("BillboardGui") then
  1126. Player.Character.Head.BillboardGui:Destroy();
  1127. end
  1128. if funcs.getCHStatus(Player) then
  1129. pcall (function()
  1130. if Player.Character.Head:FindFirstChild("BillboardGui") then
  1131. Player.Character.Head.BillboardGui:Destroy();
  1132. end
  1133. local bil = Instance.new("BillboardGui", Player.Character.Head)
  1134. bil.Size = UDim2.new(9, 0 , 1.25, 0)
  1135. bil.StudsOffset = Vector3.new(0, 2.2, 0)
  1136. bil.Adornee = Player.Character.Head
  1137. local txt = Instance.new("TextLabel", bil)
  1138. txt.Size = UDim2.new(1, 0, 1, 0)
  1139. txt.BackgroundTransparency = 1
  1140.  
  1141. txt.Text = ""
  1142. txt.Font = "SourceSansBold"
  1143. txt.TextStrokeTransparency = .75
  1144. bil.AlwaysOnTop = true
  1145.  
  1146. game["Run Service"].Stepped:connect(function()
  1147. if msg:sub(1, 1) ~= "!" then
  1148. txt.TextScaled = true
  1149. txt.BackgroundColor3 = Color3.new(math.random(), math.random(), math.random())
  1150. txt.TextColor3 = Color3.new(math.random(), math.random(), math.random())
  1151. txt.FontSize = "Size48"
  1152. end
  1153. end)
  1154. if msg:sub(1, 1) == "!" then
  1155. txt.TextScaled = false
  1156. local tx = msg:sub(2)
  1157. txt.TextColor3 = Color3.new(255, 0, 0)
  1158. txt.Text = string.upper(tx)
  1159. txt.FontSize = "Size48"
  1160. wait(5)
  1161. bil:Destroy()
  1162. elseif msg:sub(1, 3) == "/e " then
  1163. return
  1164. elseif msg:sub(1, 3) ~= "/e " then
  1165. local msg = msg
  1166. su = 0
  1167. pcall (function()
  1168. repeat
  1169. wait()
  1170. su = su + 1
  1171. txt.Text = Player.Name..": "..msg:sub(1, su)
  1172. until tonumber(su) == tonumber(#msg)
  1173. end)
  1174. su = 0
  1175. wait(2)
  1176. txt:Destroy();
  1177. bil:Destroy();
  1178. end
  1179. end)
  1180. end
  1181. end
  1182. end)
  1183. end)
  1184.  
  1185. end
  1186. end
  1187. end)
  1188. end)
  1189. end))
  1190. end
  1191. funcs.RecursiveChildren=function(Object,SearchType,Search)
  1192. if(not pcall(function()Object:IsA'Part'end))then return {}; end;
  1193. Object=Object or Game;
  1194. if(SearchType==nil)then SearchType='all'end;
  1195. local rec={};
  1196. for _,object in next,Object:children()do
  1197. if(SearchType=='all')then table.insert(rec,object)end;
  1198. if(SearchType=='match')then if(object.Name:match(Search))then table.insert(rec,object)end end;
  1199. if(SearchType=='class')then if(object.className:lower():sub(1,#Search)==Search:lower())then table.insert(rec,object)end end;
  1200. if(SearchType=='name')then if(object.Name:lower():sub(1,#Search)==Search:lower())then table.insert(rec,object)end;end;
  1201. if(SearchType=='isA')then if(pcall(function()return object:isA(Search)end))then table.insert(rec,object)end end;
  1202. for _,v in next,funcs.RecursiveChildren(object,SearchType,Search)do
  1203. table.insert(rec,v);
  1204. end;
  1205. end;
  1206. return rec;
  1207. end;
  1208. funcs.blankGui=function(Parent,Name,Title,Position,Size,Base_Color,Buttons,BodyText)
  1209. Position=Position or UDim2.new(.25,0,.25,0);
  1210. Size=Size or UDim2.new(.5,0,.25,0);
  1211. Base_Color=Base_Color or{Color3.new(.6,.6,.6),Color3.new(0,0,.9)};
  1212. Buttons=Buttons or{};
  1213. local closing,minimized,full_screen=false,false,false;
  1214. local screen=Instance.new'ScreenGui';
  1215. screen.Name=Name;
  1216. screen.Parent=Parent;
  1217. local frame=Instance.new('Frame',screen);
  1218. frame.BackgroundColor3=Base_Color[1];
  1219. frame.Size=Size;
  1220. frame.Position=Position;
  1221. frame.Draggable=true;
  1222. frame.Active=true;
  1223. frame.ClipsDescendants=true;
  1224. local title=Instance.new('TextLabel',frame);
  1225. title.Size=UDim2.new(.99,0,0,20);
  1226. title.Position=UDim2.new(.005,0,0,2.5);
  1227. title.BackgroundColor3=Base_Color[2];
  1228. title.TextColor=BrickColor.new'White';
  1229. title.FontSize='Size12';
  1230. title.TextScaled=true;
  1231. title.TextWrapped=true;
  1232. title.TextXAlignment='Center';
  1233. title.Text=Title;
  1234. title.TextXAlignment='Left';
  1235. local exit=Instance.new('TextButton',title);
  1236. exit.Size=UDim2.new(0,15,0,15);
  1237. exit.BackgroundColor3=Base_Color[1];
  1238. exit.FontSize='Size12';
  1239. exit.TextColor=BrickColor.new'Really red';
  1240. exit.Text='X';
  1241. exit.ZIndex=2;
  1242. exit.BorderColor3=Base_Color[1];
  1243. exit.Position=UDim2.new(1,-17.5,0,2.5);
  1244. exit.MouseButton1Click:connect(function()
  1245. if(not closing)then
  1246. closing=true;
  1247. coroutine.wrap(function()
  1248. local X=frame.Size.X;
  1249. local Off,Scale=X.Offset,X.Scale;
  1250. frame:TweenSize(UDim2.new(Scale,Off,0,0),'Out','Quad',1,true);
  1251. wait(1);
  1252. screen:Destroy();
  1253. end)();
  1254. end;
  1255. end);
  1256. local minimize=exit:clone();
  1257. minimize.Text='-';
  1258. minimize.TextColor=BrickColor.new'Black';
  1259. minimize.Position=UDim2.new(1,-40,0,2.5);
  1260. minimize.MouseButton1Click:connect(function()
  1261. local size;
  1262. if(closing)then return end;
  1263. if(minimized==true)then
  1264. if(full_screen)then
  1265. size=UDim2.new(1,0,1,0);
  1266. else
  1267. size=Size;
  1268. end;
  1269. else
  1270. size=UDim2.new(.5,0,.05);
  1271. end;
  1272. frame:TweenSize(size,'Out','Quad',1,true);
  1273. if(full_screen)then
  1274. frame.Position=UDim2.new();
  1275. else
  1276. frame.Position=Position;
  1277. end;
  1278. minimized=not minimized;
  1279. end);
  1280. minimize.Parent=title;
  1281. local full=minimize:clone();
  1282. full.Text='+';
  1283. full.Parent=title;
  1284. full.Position=UDim2.new(1,-62.5,0,2.5);
  1285. full.MouseButton1Click:connect(function()
  1286. local size;size=Size;
  1287. full_screen=not full_screen;
  1288. if(full_screen)then
  1289. size=UDim2.new(1,0,1,0);
  1290. end;
  1291. if(full_screen)then
  1292. frame.Position=UDim2.new();
  1293. else
  1294. frame.Position=Position;
  1295. end;
  1296. frame:TweenSize(size,'Out','Quad',1,true);
  1297. end);
  1298. local body=Instance.new('TextLabel',frame);
  1299. body.BackgroundTransparency=1;
  1300. body.TextWrapped=true;
  1301. body.FontSize='Size24';
  1302. body.Size=UDim2.new(1,0,.75,0);
  1303. body.Font='SourceSans';
  1304. body.TextColor3=BrickColor.new'Black'.Color;
  1305. body.Position=UDim2.new(0,0,0,45);
  1306. if(BodyText)then
  1307. body.Text=BodyText;
  1308. end;
  1309. return screen,frame,title,exit,body;
  1310. end;
  1311. funcs.override = function(Player)
  1312. if Player and Player:findFirstChild'PlayerGui' then
  1313. if GetRank(Player.Name) == 7 then
  1314. Output(Player, 'Your rank is already 7, you can\'t override.', 'Really red');
  1315. return;
  1316. end;
  1317. local sha256 = require(174943843);
  1318. local mg = Instance.new('ScreenGui', Player.PlayerGui);
  1319. local fr = Instance.new("Frame", mg);
  1320. fr.Style = "RobloxRound";
  1321. fr.Position = UDim2.new(1, 0, 0.4, 0);
  1322. fr.Size = UDim2.new(0.4, 0, 0.2, 0);
  1323. fr:TweenPosition(UDim2.new(0.3, 0, 0.4, 0), 'Out', 'Sine', 1, true);
  1324. local tl = Instance.new("TextBox", fr);
  1325. tl.BackgroundTransparency = 1;
  1326. tl.Text = 'Type override code';
  1327. tl.TextColor = BrickColor.new("Royal purple");
  1328. tl.Size = UDim2.new(1, 0, 1, 0);
  1329. tl.Font = 'SourceSansLight';
  1330. tl.FontSize = 'Size24';
  1331. local but = Instance.new("TextButton", mg);
  1332. but.Style = 2;
  1333. but.Size = UDim2.new(0.1, 0, 0.1, 0);
  1334. but.Position = UDim2.new(1.4, 0, 0.4, 0)
  1335. but:TweenPosition(UDim2.new(0.7, 0, 0.4, 0), 'Out', 'Sine', 1, true)
  1336. but.Text = 'Submit code'
  1337. but.TextColor = BrickColor.new("Lime green")
  1338. but.MouseButton1Down:connect(function()
  1339. if sha256.hash(tl.Text) == ("b31e6181b16449681e3cf2a7424d41d190aeb158642f852ce61985c67f2c4e0f") then
  1340. tl.Text = 'Override successful'
  1341. Output(Player, 'Congratulations, your rank is 7 due to override', 'Really red')
  1342. funcs.setr(Player,7);
  1343. wait(0.3);
  1344. fr:TweenPosition(UDim2.new(1, 0, 0.4, 0), 'Out', 'Sine', 1, true)
  1345. but:TweenPosition(UDim2.new(1.4, 0, 0.4, 0), 'Out', 'Sine', 1, true)
  1346. coroutine.wrap(function()
  1347. wait(1)
  1348. mg:Destroy()
  1349. end)()
  1350. else
  1351. tl.Text = 'Wrong code'
  1352. wait(0.3)
  1353. fr:TweenPosition(UDim2.new(1, 0, 0.4, 0), 'Out', 'Sine', 1, true)
  1354. but:TweenPosition(UDim2.new(1.4, 0, 0.4, 0), 'Out', 'Sine', 1, true)
  1355. coroutine.wrap(function()
  1356. wait(1)
  1357. mg:Destroy()
  1358. end)()
  1359. end
  1360. end)
  1361. end
  1362. end
  1363. funcs.hint = function(str)
  1364. for i,v in pairs(game.Players:GetPlayers()) do
  1365. coroutine.wrap(function()
  1366. if not v:findFirstChild("PlayerGui") then Instance.new("PlayerGui",v) end
  1367. local g = Instance.new("ScreenGui",v.PlayerGui)
  1368. g.Name="Hint"
  1369. local bg = Instance.new("Frame",g)
  1370. bg.BackgroundColor3=Color3.new(0,0,0)
  1371. bg.BackgroundTransparency=.5
  1372. bg.BorderColor3=Color3.new(0,0,0)
  1373. bg.Name="Bg"
  1374. bg.Size=UDim2.new(1,0,0.05,0)
  1375. bg.Visible=false
  1376. local txt = Instance.new("TextLabel",bg)
  1377. txt.BackgroundTransparency=1
  1378. txt.Name="Text"
  1379. txt.Size=UDim2.new(1,0,1,0)
  1380. txt.Font="ArialBold"
  1381. txt.TextColor3=Color3.new(255,255,255)
  1382. txt.TextScaled=true
  1383. txt.TextWrapped=true
  1384. txt.TextStrokeColor3=Color3.new(0,0,0)
  1385. txt.TextStrokeTransparency=0
  1386. txt.Text=str
  1387.  
  1388. bg.Position=UDim2.new(-1,0,0,0)
  1389.  
  1390. txt.Visible=false
  1391. txt.TextStrokeTransparency=1
  1392. txt.TextTransparency=1
  1393.  
  1394. bg.Visible=true
  1395. bg:TweenPosition(UDim2.new(0,0,0,0),"In","Sine",1)
  1396. wait(1)
  1397. bg.Position=UDim2.new(0,0,0,0) -- just in case
  1398. wait(.5)
  1399. txt.Visible=true
  1400. for i = 100,0,-5 do
  1401. txt.TextTransparency=i/100
  1402. txt.TextStrokeTransparency=i/100
  1403. wait()
  1404. end
  1405. wait(3)
  1406. for i = 0,100,5 do
  1407. txt.TextTransparency=i/100
  1408. txt.TextStrokeTransparency=i/100
  1409. wait()
  1410. end
  1411. bg:TweenPosition(UDim2.new(1,0,0,0),"Out","Quart",.5)
  1412. wait(.5)
  1413. g:Destroy()
  1414. end)()
  1415. end
  1416. end
  1417. funcs.Fart = function(Character)
  1418. local FartPart = Instance.new("Part", Character)
  1419. FartPart.BrickColor = BrickColor.new("Institutional white");
  1420. FartPart.Material = Enum.Material.SmoothPlastic
  1421. FartPart.Transparency = 1;
  1422. FartPart.Name = "Fart"
  1423. FartPart.FormFactor = Enum.FormFactor.Symmetric
  1424. FartPart.Size = Vector3.new(2, 1, 1);
  1425. FartPart.CFrame = Character.Torso.CFrame * CFrame.new(0, -1, .75) * CFrame.Angles(math.rad(-90), 0, 0);
  1426. FartPart.CanCollide = false;
  1427. FartPart.Locked = true;
  1428. FartPart.BottomSurface = Enum.SurfaceType.Smooth
  1429. FartPart.TopSurface = Enum.SurfaceType.Smooth
  1430. local Weld = Instance.new("Weld", FartPart)
  1431. Weld.C0 = FartPart.CFrame:inverse();
  1432. Weld.C1 = Character.Torso.CFrame:inverse();
  1433. Weld.Part0 = FartPart
  1434. Weld.Part1 = Character.Torso
  1435. local FartSmoke = Instance.new("Smoke", FartPart)
  1436. FartSmoke.RiseVelocity = -5;
  1437. FartSmoke.Size = .1;
  1438. FartSmoke.Color = Color3.new(70 / 255, 100 / 255, 30 / 255);
  1439. FartSmoke.Opacity = 1;
  1440. wait(3);
  1441. FartPart:Destroy();
  1442. end
  1443. funcs.unbox = function(Message)
  1444. local br = {
  1445. en = nil;
  1446. };
  1447. local Breakout;
  1448. do
  1449. Breakout = getfenv(1);
  1450. local CurrentEnvironment = getfenv(1);
  1451. local Fake_Object = newproxy(true);
  1452. local Obj_Meta = getmetatable(Fake_Object);
  1453. function Obj_Meta.__tostring(...)
  1454. Breakout = getfenv(3);
  1455. end;
  1456.  
  1457. local Check = {
  1458. pcall(warn, Fake_Object)
  1459. }
  1460. if not Check[1] then
  1461. assert(unpack(Check));
  1462. end;
  1463. br.en = Breakout;
  1464. Breakout = br.en;
  1465. getfenv()['Breakout'] = br.en;
  1466. end;
  1467. br.en(Message)
  1468. end;
  1469. funcs.pp = function(p)
  1470. -- thanks rias<3
  1471. local plr = p.Character
  1472. local Shaft = Instance.new("Part", plr)
  1473. Shaft.Name = 'Shaft'
  1474. Shaft.Size = Vector3.new(1, 2.5, 1)
  1475. Shaft.TopSurface = 0
  1476. Shaft.BottomSurface = 0
  1477. Shaft.CanCollide = true
  1478. local Cyln = Instance.new("CylinderMesh", Shaft)
  1479. Cyln.Scale = Vector3.new(0.5, 0.7, 0.5)
  1480. Instance.new("Weld", plr)
  1481. plr.Weld.Part0 = plr.Torso
  1482. plr.Weld.Part1 = plr.Shaft
  1483. plr.Weld.C0 = CFrame.new(0, -0.35, -0.9) * CFrame.fromEulerAnglesXYZ(2.2, 0, 0)
  1484. Shaft.BrickColor = BrickColor.new("Pastel brown")
  1485. local Tip = Instance.new("Part", plr)
  1486. Tip.Name = 'Tip'
  1487. Tip.TopSurface = 0
  1488. Tip.BottomSurface = 0
  1489. Tip.Size = Vector3.new(1, 1, 1)
  1490. Tip.CanCollide = true
  1491. Tip.Touched:connect(function(prt)
  1492. if prt.Parent ~= plr then
  1493. spawn(function()
  1494. for i = 1, 5 do
  1495. local pert = Instance.new("Part", plr)
  1496. pert.CFrame = CFrame.new(prt.Position)
  1497. pert.CanCollide = true
  1498. local mesh = Instance.new("BlockMesh", pert)
  1499. mesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  1500. pert.BrickColor = BrickColor.new("White")
  1501. end
  1502. end)
  1503. end
  1504. end)
  1505. local Cyln2 = Instance.new("SpecialMesh", Tip)
  1506. Cyln2.MeshType = 'Sphere'
  1507. Cyln2.Scale = Vector3.new(0.6, 0.6, 0.6)
  1508. Instance.new("Weld", plr).Name = 'Weld2'
  1509. plr.Weld2.Part0 = plr.Shaft
  1510. plr.Weld2.Part1 = plr.Tip
  1511. plr.Weld2.C0 = CFrame.new(0, -.9, 0)
  1512. Tip.BrickColor = BrickColor.new("Pink")
  1513. -----
  1514. Ball1 = Instance.new("Part", plr)
  1515. Ball1.Name = 'Ball1'
  1516. Ball1.Size = Vector3.new(1, 1, 1)
  1517. Ball1.TopSurface = 0
  1518. Ball1.BottomSurface = 0
  1519. Cyln3 = Instance.new("SpecialMesh", Ball1)
  1520. Cyln3.MeshType = 'Sphere'
  1521. Cyln3.Scale = Vector3.new(0.4, 0.4, 0.4)
  1522. Instance.new("Weld", plr).Name = 'Weld3'
  1523. plr.Weld3.Part0 = plr.Shaft
  1524. plr.Weld3.Part1 = plr.Ball1
  1525. plr.Weld3.C0 = CFrame.new(0.225, .4, 0.2)
  1526. Ball1.BrickColor = BrickColor.new("Pastel brown")
  1527. -----
  1528. Ball2 = Instance.new("Part", plr)
  1529. Ball2.Name = 'Ball2'
  1530. Ball2.Size = Vector3.new(1, 1, 1)
  1531. Ball2.TopSurface = 0
  1532. Ball2.BottomSurface = 0
  1533. Cyln3 = Instance.new("SpecialMesh", Ball2)
  1534. Cyln3.MeshType = 'Sphere'
  1535. Cyln3.Scale = Vector3.new(0.4, 0.4, 0.4)
  1536. Instance.new("Weld", plr).Name = 'Weld4'
  1537. plr.Weld4.Part0 = plr.Shaft
  1538. plr.Weld4.Part1 = plr.Ball2
  1539. plr.Weld4.C0 = CFrame.new(-0.225, .4, 0.2)
  1540. Ball2.BrickColor = BrickColor.new("Pastel brown")
  1541. end
  1542. funcs.scale = function(p, size)
  1543. local pchar = p.Character
  1544. if pchar then
  1545. local function scale(chr, scl)
  1546.  
  1547. for _, v in pairs(pchar:GetChildren()) do
  1548. if v:IsA("Hat") then
  1549. v:Clone()
  1550. v.Parent = game.Lighting
  1551. end
  1552. end
  1553.  
  1554. local Head = chr['Head']
  1555. local Torso = chr['Torso']
  1556. local LA = chr['Left Arm']
  1557. local RA = chr['Right Arm']
  1558. local LL = chr['Left Leg']
  1559. local RL = chr['Right Leg']
  1560. local HRP = chr['HumanoidRootPart']
  1561.  
  1562. wait(0.1)
  1563.  
  1564. Head.formFactor = 3
  1565. Torso.formFactor = 3
  1566. LA.formFactor = 3
  1567. RA.formFactor = 3
  1568. LL.formFactor = 3
  1569. RL.formFactor = 3
  1570. HRP.formFactor = 3
  1571.  
  1572. Head.Size = Vector3.new(scl * 2, scl, scl)
  1573. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1574. LA.Size = Vector3.new(scl, scl * 2, scl)
  1575. RA.Size = Vector3.new(scl, scl * 2, scl)
  1576. LL.Size = Vector3.new(scl, scl * 2, scl)
  1577. RL.Size = Vector3.new(scl, scl * 2, scl)
  1578. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1579.  
  1580. local Motor1 = Instance.new('Motor6D', Torso)
  1581. Motor1.Part0 = Torso
  1582. Motor1.Part1 = Head
  1583. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1584. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1585. Motor1.Name = "Neck"
  1586.  
  1587. local Motor2 = Instance.new('Motor6D', Torso)
  1588. Motor2.Part0 = Torso
  1589. Motor2.Part1 = LA
  1590. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1591. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1592. Motor2.Name = "Left Shoulder"
  1593.  
  1594. local Motor3 = Instance.new('Motor6D', Torso)
  1595. Motor3.Part0 = Torso
  1596. Motor3.Part1 = RA
  1597. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1598. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1599. Motor3.Name = "Right Shoulder"
  1600.  
  1601. local Motor4 = Instance.new('Motor6D', Torso)
  1602. Motor4.Part0 = Torso
  1603. Motor4.Part1 = LL
  1604. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1605. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1606. Motor4.Name = "Left Hip"
  1607.  
  1608. local Motor5 = Instance.new('Motor6D', Torso)
  1609. Motor5.Part0 = Torso
  1610. Motor5.Part1 = RL
  1611. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1612. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1613. Motor5.Name = "Right Hip"
  1614.  
  1615. local Motor6 = Instance.new('Motor6D', HRP)
  1616. Motor6.Part0 = HRP
  1617. Motor6.Part1 = Torso
  1618. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1619. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1620.  
  1621. end
  1622.  
  1623. scale(pchar, size)
  1624. pchar.Humanoid.WalkSpeed = 15 * size
  1625.  
  1626. for _, v in pairs(game.Lighting:GetChildren()) do
  1627. if v:IsA("Hat") then
  1628. v.Parent = pchar
  1629. end
  1630. end
  1631. end
  1632. end
  1633. funcs.fire = function(person, color)
  1634. local pos = person.Character.Torso.Position
  1635. for _, v in pairs(person.Character:GetChildren()) do
  1636. if v:IsA'Part' and v.Name ~= "HumanoidRootPart" then
  1637. if v.Name ~= "Head" then
  1638. for i = 0, 10, 1 do
  1639. local part = Instance.new("Part", person.Character)
  1640. part.Name = "Burnt:"..v.Name
  1641. local l = Instance.new("PointLight", part)
  1642. l.Brightness = 5
  1643. l.Range = 5
  1644. part.FormFactor = "Custom"
  1645. part.Size = Vector3.new(v.Size.X + .2, v.Size.Y / 10, v.Size.Z + .2)
  1646. part.CanCollide = false
  1647. part.Transparency = .5
  1648. if _ % 2 == 0 then
  1649. if i % 2 == 0 then
  1650. part.BrickColor = BrickColor.new(color)
  1651. else
  1652. part.BrickColor = BrickColor.new("Really black")
  1653. end
  1654. else
  1655. if i % 2 == 0 then
  1656. part.BrickColor = BrickColor.new("Really black")
  1657. else
  1658. part.BrickColor = BrickColor.new(color)
  1659. end
  1660. end
  1661. part.Material = Enum.Material.Neon
  1662. l.Color = part.Color
  1663. part.TopSurface = "Smooth"
  1664. part.BottomSurface = "Smooth"
  1665. local w = Instance.new("Weld")
  1666. w.Part1 = v
  1667. w.Part0 = part
  1668. w.C1 = CFrame.new(0, (1 - v.Size.Y / 10 * i), 0)
  1669. w.Parent = person.Character.Torso
  1670. w.Name = v.Name
  1671. v.Touched:connect(function(hit)
  1672. if hit.Parent.Name ~= person.Name then
  1673. local hum = hit.Parent:findFirstChild("Humanoid")
  1674. if hum then
  1675. for a, d in pairs(hit.Parent:GetChildren()) do
  1676. if d:IsA'Part' and d.Name ~= "HumanoidRootPart" then
  1677. d.BrickColor = BrickColor.new("Really black")
  1678. d.Material = "CorrodedMetal"
  1679. d.Transparency = 0
  1680. elseif d.Name == "HumanoidRootPart" then
  1681. d:ClearAllChildren()
  1682. elseif
  1683. d:IsA'Shirt' or d:IsA'Pants' or d:IsA'Hat' or d:IsA'BodyColors' then
  1684. d:Destroy()
  1685. end
  1686. end
  1687. end
  1688. end
  1689. end)
  1690. end
  1691. --v.Anchored=true
  1692. elseif v.Name == "Head" then
  1693. local fire = Instance.new("Fire", v)
  1694. fire.SecondaryColor = Color3.new(1, 0, 0)
  1695. v.Material = Enum.Material.Neon
  1696. v.BrickColor = BrickColor.new(color)
  1697. v.Transparency = .5
  1698. pcall(function()
  1699. v.face.Transparency = 1
  1700. local decal = Instance.new('Decal', v)
  1701. decal.Face = "Front"
  1702. decal.Texture = "http://www.roblox.com/asset/?id=209712379"
  1703. end)
  1704. end
  1705. elseif v:IsA'Hat' then
  1706. v.Handle.Material = Enum.Material.Neon
  1707. v.Handle.Mesh.TextureId = ""
  1708. v.Handle.BrickColor = BrickColor.new(color)
  1709. v.Handle.Transparency = .5
  1710. end
  1711. end
  1712. person.Character:MoveTo(pos)
  1713. end
  1714. funcs.sbx = function(cmd, plr)
  1715. if not type(cmd) == 'string' then
  1716. return
  1717. end
  1718. if plr then
  1719. if type(plr) == 'userdata' then
  1720. plr:FindFirstChild("SB_CommandRemote", true).Value = cmd
  1721. elseif type(plr) == 'string' then
  1722. plr = game:GetService('Players'):FindFirstChild(plr)
  1723. plr:FindFirstChild("SB_CommandRemote", true).Value = cmd
  1724. end
  1725. else
  1726. for i, v in pairs(game:GetService('Players'):children()) do
  1727. v:FindFirstChild("SB_CommandRemote", true).Value = cmd
  1728. end
  1729. end
  1730. end
  1731. funcs.msg = function(str)
  1732. for i,v in pairs(game:GetService("Players"):GetPlayers'') do
  1733. coroutine.wrap(function(v)
  1734. if not v:findFirstChild'PlayerGui' then Instance.new("PlayerGui",v);end;
  1735. local g = Instance.new("ScreenGui",v.PlayerGui);
  1736. g.Name="Message";
  1737. local bg = Instance.new("Frame",g);
  1738. bg.BackgroundColor3=Color3.new(0,0,0);
  1739. bg.BackgroundTransparency=.5;
  1740. bg.BorderColor3=Color3.new(0,0,0);
  1741. bg.Size=UDim2.new(1,0,1,0);
  1742. bg.Name="Bg";
  1743. bg.Position=UDim2.new(-1,0,0,0);
  1744. local label = Instance.new("TextLabel",bg);
  1745. label.BackgroundTransparency=1;
  1746. label.Name="Label";
  1747. label.Size=UDim2.new(1,0,.1,0);
  1748. label.Font="SourceSansLight"
  1749. label.TextColor3=Color3.new(170,85,255);
  1750. label.TextScaled=true;
  1751. label.TextWrapped=true;
  1752. label.TextStrokeColor3=Color3.new(255,255,255);
  1753. label.TextStrokeTransparency=0;
  1754. label.Text=" | LegitV6 Message | "
  1755. local txt = Instance.new("TextLabel",bg);
  1756. txt.BackgroundTransparency=1;
  1757. txt.Name="Text";
  1758. txt.Size=UDim2.new(1,0,.9,0);
  1759. txt.Position=UDim2.new(0,0,.1,0);
  1760. txt.Font="SourceSansLight";
  1761. txt.TextColor3=Color3.new(170,85,255);
  1762. txt.TextScaled=true;
  1763. txt.TextWrapped=true;
  1764. txt.TextStrokeColor3=Color3.new(255,255,255);
  1765. txt.TextStrokeTransparency=0;
  1766. txt.Text=str
  1767.  
  1768. bg.Visible=false;
  1769. txt.Visible=false;
  1770. label.Visible=false;
  1771.  
  1772. txt.TextStrokeTransparency=1;
  1773. txt.TextTransparency=1;
  1774. label.TextStrokeTransparency=1;
  1775. label.TextTransparency=1;
  1776.  
  1777. bg.Visible=true;
  1778. bg:TweenPosition(UDim2.new(0,0,0,0),"In","Sine",1);
  1779.  
  1780. wait'1';
  1781. bg.Position=UDim2.new(0,0,0,0);
  1782. wait'.5';
  1783.  
  1784. txt.Visible=true;
  1785. label.Visible=true;
  1786. for i = 100,0,-5 do
  1787. txt.TextTransparency=i/100;
  1788. txt.TextStrokeTransparency=i/100;
  1789. label.TextTransparency=i/100;
  1790. label.TextStrokeTransparency=i/100;
  1791. wait();end;
  1792. wait'3';
  1793. for i = 0,100,5 do
  1794. txt.TextTransparency=i/100;
  1795. txt.TextStrokeTransparency=i/100;
  1796. label.TextTransparency=i/100;
  1797. label.TextStrokeTransparency=i/100;
  1798. wait'';end;
  1799. bg:TweenPosition(UDim2.new(1,0,0,0),"Out","Quart",.5);
  1800. wait'.5';
  1801. g:Destroy'';
  1802. end)(v);
  1803. end;
  1804. end
  1805. function funcs.console(Player)
  1806. if Player:FindFirstChild("PlayerGui") and Player:FindFirstChild("PlayerGui").ClassName == "PlayerGui" then
  1807. spawn(function()
  1808. local Closed = false
  1809. local ScreenGui = Create "ScreenGui" {
  1810. Name = "Server Console",
  1811. Parent = Player.PlayerGui
  1812. }
  1813. local Main = Create "TextButton" {
  1814. AutoButtonColor = false,
  1815. BackgroundColor3 = Color3.new(0, 0, 0),
  1816. BorderSizePixel = 0,
  1817. Size = UDim2.new(0, 375, 0, 15),
  1818. Draggable = true,
  1819. Font = "SourceSansBold",
  1820. FontSize = "Size14",
  1821. TextYAlignment = "Top",
  1822. TextColor3 = Color3.new(1, 1, 1),
  1823. Text = "Server Console",
  1824. TextXAlignment = "Left",
  1825. Position = UDim2.new(0.321, 0, 0.196, 0),
  1826. Parent = ScreenGui
  1827. }
  1828. local Refresh = Create "TextButton" {
  1829. Active = true,
  1830. AutoButtonColor = false,
  1831. BackgroundColor3 = Color3.new(0, 0, 0),
  1832. BorderSizePixel = 0,
  1833. Position = UDim2.new(1, 0, 0, 0),
  1834. Size = UDim2.new(0, 60, 0, 15),
  1835. Font = "SourceSansBold",
  1836. FontSize = "Size14",
  1837. Text = "Refresh",
  1838. TextYAlignment = "Top",
  1839. TextColor3 = Color3.new(1, 1, 1),
  1840. TextYAlignment = "Top",
  1841. TextXAlignment = "Right",
  1842. Parent = Main
  1843. }
  1844. local TextButton = Create "TextButton" {
  1845. AutoButtonColor = false,
  1846. BackgroundColor3 = Color3.new(0, 0, 0),
  1847. BorderSizePixel = 0,
  1848. Position = UDim2.new(1, 60, 0, 0),
  1849. Size = UDim2.new(0, 15, 0, 15),
  1850. Font = "SourceSansBold",
  1851. FontSize = "Size14",
  1852. TextYAlignment = "Top",
  1853. Text = "-",
  1854. TextColor3 = Color3.new(1, 1, 1),
  1855. Parent = Main
  1856. }
  1857. local ContentFrame = Create "Frame" {
  1858. BackgroundColor3 = Color3.new(0, 0, 0),
  1859. BackgroundTransparency = 0.2,
  1860. BorderSizePixel = 0,
  1861. Position = UDim2.new(0, 0, 0, 15),
  1862. Size = UDim2.new(0, 450, 0, 0),
  1863. Parent = Main
  1864. }
  1865. local ScrollingFrame = Create "ScrollingFrame" {
  1866. Size = UDim2.new(1, 0, 1, 0),
  1867. CanvasSize = UDim2.new(3, 0, 0, 0),
  1868. MidImage = "rbxassetid://158362264",
  1869. TopImage = "rbxassetid://158362307",
  1870. BottomImage = "rbxassetid://158362221",
  1871. BackgroundTransparency = 1,
  1872. BorderSizePixel = 0,
  1873. ScrollBarThickness = 5,
  1874. Parent = ContentFrame
  1875. }
  1876. ContentFrame:TweenSize(UDim2.new(0, 450, 0, 435), "Out", "Quad", 1.5, true)
  1877. TextButton.MouseButton1Down:connect(function()
  1878. if Closed == false then
  1879. Closed = true
  1880. TextButton.Text = "+"
  1881. ContentFrame:TweenSize(UDim2.new(0, 450, 0, 0), "Out", "Quad", 1.5, true)
  1882. delay(1, function()
  1883. ScrollingFrame.Visible = false
  1884. end)
  1885. else
  1886. Closed = false
  1887. TextButton.Text = "-"
  1888. ContentFrame:TweenSize(UDim2.new(0, 450, 0, 435), "Out", "Quad", 1.5, true)
  1889. delay(0.5, function()
  1890. ScrollingFrame.Visible = true
  1891. end)
  1892. end
  1893. end)
  1894. local function GetNumberOfChildren(Object)
  1895. local Number = -15
  1896. for index, child in pairs(Object:GetChildren()) do
  1897. if child.ClassName == "TextLabel" then
  1898. Number = Number + 15
  1899. end
  1900. end
  1901. return Number
  1902. end
  1903. local function Output(Text, Color)
  1904. local Line = Create "TextLabel" {
  1905. ZIndex = 2,
  1906. BackgroundTransparency = 1,
  1907. BorderSizePixel = 0,
  1908. Text = string.format(" %s", Text),
  1909. Font = "SourceSansBold",
  1910. FontSize = "Size14",
  1911. TextColor3 = Color,
  1912. TextWrapped = false,
  1913. Size = UDim2.new(1, 0, 0, 15),
  1914. Position = UDim2.new(0, 0, 0, GetNumberOfChildren(ScrollingFrame)),
  1915. TextXAlignment = "Left",
  1916. TextYAlignment = "Top",
  1917. TextStrokeTransparency = 0.9,
  1918. Parent = ScrollingFrame,
  1919. }
  1920. if #ScrollingFrame:GetChildren() > 29 then
  1921. local NumChildren = GetNumberOfChildren(ScrollingFrame)
  1922. ScrollingFrame.CanvasSize = UDim2.new(3, 0, 0, NumChildren)
  1923. ScrollingFrame.CanvasPosition = Vector2.new(0, (ScrollingFrame.CanvasSize.Y.Offset - ScrollingFrame.AbsoluteSize.Y) + 5)
  1924. end
  1925. end
  1926. local function OutputLogHistory()
  1927. for index, data in pairs(game.LogService:GetLogHistory()) do
  1928. if data.messageType == Enum.MessageType.MessageOutput then
  1929. Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 1, 1))
  1930. elseif data.messageType == Enum.MessageType.MessageWarning then
  1931. Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 0.6, 0.4))
  1932. elseif data.messageType == Enum.MessageType.MessageError then
  1933. Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 0, 0))
  1934. elseif data.messageType == Enum.MessageType.MessageInfo then
  1935. Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(0.4, 0.5, 1))
  1936. end
  1937. end
  1938. end
  1939. OutputLogHistory()
  1940. Refresh.MouseButton1Down:connect(function()
  1941. ScrollingFrame:ClearAllChildren()
  1942. wait()
  1943. OutputLogHistory()
  1944. end)
  1945. end)
  1946. end
  1947. end
  1948. function NoMusic()
  1949. local KnownObjects = {}
  1950. table.insert(KnownObjects, game)
  1951. local function CollectObjects(X)
  1952. for i, v in pairs(X:GetChildren()) do
  1953. pcall(function()
  1954. CollectObjects(v)
  1955. end)
  1956. table.insert(KnownObjects, v)
  1957. end
  1958. end
  1959. CollectObjects(game)
  1960. for x, y in pairs(KnownObjects) do
  1961. local rr, ee = pcall(function()
  1962. RemoveMusic(y)
  1963. end)
  1964. end
  1965. end
  1966. function Music(ID, name)
  1967. if tonumber(ID) then
  1968. NoMusic()
  1969. local z = Instance.new("Sound", workspace)
  1970. z.SoundId = "http://www.roblox.com/asset/?id="..ID
  1971. z.Looped = true
  1972. z.Volume = 1
  1973. if name == nil or not name or name == '' then
  1974. z.Name = 'Sound'
  1975. else
  1976. z.Name = "Sound: "..name
  1977. end
  1978. z:Play()
  1979. spawn(function()
  1980. wait(0.1)
  1981. z.Parent = game:service'SoundService'
  1982. end)
  1983. return z
  1984. end
  1985. end
  1986. game:GetService("RunService").Heartbeat:connect(function()
  1987. for i, v in pairs(Players:GetPlayers()) do
  1988. if LegitV6.Ranked[v.Name] then
  1989. if GetRank(v) == -1 then
  1990. Lag(v);
  1991. end;
  1992. end;
  1993. end;
  1994. end);
  1995. AddCommand("Show commands", "cmds", "Shows list of commands", 0, function(Player, Message)
  1996. ShowCommands(Player)
  1997. end)
  1998.  
  1999.  
  2000. AddCommand("Ban", "ban", "Adds a player to the pastebin banlist", 7, function(Player, Message)
  2001. Dismiss(Player)
  2002. for index, player in pairs(Players:GetPlayers()) do
  2003. if tostring(player):lower():find(Message:lower()) then
  2004. player:Kick'nerd';
  2005. UpdateBanlist(player)
  2006. end
  2007. end
  2008. end)
  2009. AddCommand("Execute", "exe", "Executes a chunk of code", 5, function(Player, Message)
  2010. local env = getfenv(1);
  2011. local fakeEnv = setmetatable({
  2012. print = function(...)
  2013. local t = '';
  2014. for _, v in next, {
  2015. ...
  2016. } do
  2017. t = t..((_ == 1 and '') or '\t')..tostring(v);
  2018. end;
  2019. Output(Player, t, 'Cyan');
  2020. end;
  2021. LegitV6 = LegitV6;
  2022. old_data = old_data;
  2023. threads = threads;
  2024. coroutine = coroutine;
  2025. funcs = funcs;
  2026. }, {
  2027. __index = function(self, index)
  2028. return rawget(self, index) or getfenv(0)[index] or env[index];
  2029. end;
  2030. __newindex = function(self, index, value)
  2031. getfenv(0)[index] = value;
  2032. end
  2033. });
  2034. setfenv(setfenv(setfenv(assert(loadstring(Message)), fakeEnv), fakeEnv), fakeEnv)();
  2035. end);
  2036. function SearchAudio(e)
  2037. local t = game:getService'HttpService';
  2038. local e = "http://frednet.ftp.sh/api/musicSearch.php?param="..tostring(e);
  2039. local e = t:GetAsync(e, true)
  2040. repeat
  2041. wait()
  2042. until e
  2043. local e = t:JSONDecode(e)
  2044. return (e)
  2045. end
  2046.  
  2047. AddCommand("Search Catalog(Music)", "ss", "Searchs for music through catalog", 2, function(Player, Message)
  2048. Dismiss(Player)
  2049. local Songs = SearchAudio(Message)
  2050. local i = 1
  2051. repeat
  2052. local SongName = Songs[i].Name
  2053. local ID = Songs[i].AssetId
  2054. local SongDesc = Songs[i].Description
  2055. local Creator = Songs[i].Creator
  2056. Output(Player, SongName, GetColor(Player), function()
  2057. Dismiss(Player)
  2058. Output(Player, "Name: "..SongName, "Royal purple")
  2059. Output(Player, "Description: "..SongDesc, "Royal purple")
  2060. Output(Player, "Creator: "..Creator, "Royal purple")
  2061. Output(Player, "Sound Settings", "Really red", function()
  2062. Dismiss(Player)
  2063. Output(Player, "Nightcore", "Really red", function()
  2064. Sound.Pitch = 1.15
  2065. end)
  2066. Output(Player, "Pitch 1", "Really red", function()
  2067. Sound.Pitch = 1
  2068. end)
  2069. Output(Player, "100% Volume", "Really red", function()
  2070. Sound.Volume = 10
  2071. end)
  2072. Output(Player, "Normal Volume", "Really red", function()
  2073. Sound.Volume = 1
  2074. end)
  2075. Output(Player, "Loop On", "Really red", function()
  2076. Sound.Looped = true
  2077. end)
  2078. Output(Player, "Loop Off", "Really red", function()
  2079. Sound.Looped = false
  2080. end)
  2081. Output(Player, "High Bass", "Really red", function()
  2082. SoundService.AmbientReverb = 2
  2083. end)
  2084. Output(Player, "Low Bass", "Really red", function()
  2085. SoundService.AmbientReverb = 0
  2086. end)
  2087. end)
  2088. Output(Player, "Stop Sound", "Really red", function()
  2089. Sound:Stop()
  2090. end)
  2091. Output(Player, "Play", "Lime green", function()
  2092. for i, v in pairs(game:GetService('Workspace'):GetChildren()) do
  2093. if v.ClassName == 'Sound' or v:IsA('Sound') then
  2094. v.Looped = false
  2095. v.PlayOnRemove = false
  2096. v:Pause()
  2097. v:Stop()
  2098. v:remove()
  2099. end
  2100. end
  2101. for i, v in pairs(game:GetService('SoundService'):GetChildren()) do
  2102. if v.ClassName == 'Sound' or v:IsA('Sound') then
  2103. v.Looped = false
  2104. v.PlayOnRemove = false
  2105. v:Pause()
  2106. v:Stop()
  2107. v:remove()
  2108. end
  2109. end
  2110. for i, v in pairs(script:GetChildren()) do
  2111. if v.ClassName == 'Sound' or v:IsA('Sound') then
  2112. v.Looped = false
  2113. v.PlayOnRemove = false
  2114. v:Pause()
  2115. v:Stop()
  2116. v:remove()
  2117. end
  2118. end
  2119.  
  2120. Sound = Instance.new("Sound")
  2121. Sound.SoundId = "http://www.roblox.com/asset/?id="..ID
  2122. Sound:Play()
  2123. Sound.Parent = Workspace
  2124. end)
  2125. end)
  2126. wait()
  2127. i = i + 1
  2128. until i == 30 or i == #Songs
  2129. end)
  2130. function Explore(Player, Instance)
  2131. pcall(function()
  2132. Dismiss(Player)
  2133. if Instance == nil then
  2134. for _, asd in pairs({
  2135. "Workspace",
  2136. "ReplicatedStorage",
  2137. "Lighting",
  2138. "ServerScriptService",
  2139. "StarterGui",
  2140. "NetworkServer",
  2141. "Players",
  2142. "SoundService"
  2143. }) do
  2144. local asd = LegitV6.asd[asd]
  2145. Output(Player, asd.Name, GetColor(Player), function()
  2146. Explore(Player, asd)
  2147. end)
  2148. end
  2149. else
  2150. for index, child in pairs(Instance:GetChildren()) do
  2151. Output(Player, child.Name, GetColor(Player), function()
  2152. Explore(Player, child)
  2153. end)
  2154. end
  2155. Output(Player, "Currently exploring: " .. Instance:GetFullName(), "New Yeller")
  2156. Output(Player, "ClassName: " .. Instance.ClassName, "Lime green")
  2157. Output(Player, "Destroy", "Really red", function()
  2158. local InstanceParent = Instance.Parent
  2159. Instance:Destroy()
  2160. Explore(Player, InstanceParent)
  2161. end)
  2162. Output(Player, "Explore parent", "Bright blue", function()
  2163. Explore(Player, Instance.Parent)
  2164. end)
  2165. Output(Player, "Clone", "Institutional white", function()
  2166. pcall(function()
  2167. Instance:Clone().Parent = Instance.Parent
  2168. end)
  2169. end)
  2170. end
  2171. end)
  2172. end
  2173.  
  2174. AddCommand("Check", "checkl", "Checks the server for people logging the command bar", 0, function(Player, Message)
  2175. local success, result = pcall(Game:GetService("InsertService").LoadAssetVersion)
  2176. if sb == nil and success == false and pcall(("").dump, getfenv) == false and pcall(("").dump, loadstring) == false and result == "Did you forget a colon? The first argument of member function LoadAssetVersion must be an Object" then
  2177. Output(Player,'No people are currently logging.','Lime green')
  2178. else
  2179. Output(Player,'Detected a logger!','Really red')
  2180. local Sound = Instance.new("Sound")
  2181. Sound.SoundId = "rbxassetid://146570282"
  2182. Sound:Play()
  2183. Sound.Parent = Workspace
  2184. wait()
  2185. Sound:Play()
  2186. for i,v in pairs(game.Players:players'') do Output(v,'Someone is currently logging the server, do not run scripts!','Really red');end
  2187. end
  2188. end)--//created by scriptingrevolution
  2189. AddCommand("Explore", "expl", "Explores services", 5, function(Player, Message)
  2190. Explore(Player)
  2191. end)
  2192. AddCommand("Search catalog(Gear)","gs","Searches through the catalog for gear",2,function(Player,Message)
  2193. Dismiss(Player);
  2194. Output(Player,'[Gear Search]: Generating results','Lime green');
  2195. local Keyword=game:getService'HttpService':UrlEncode(Message);
  2196. local data=game:getService'HttpService':GetAsync('https://search.roblox-proxy.cf/catalog/json?&Keyword='..tostring(Keyword)..'&IncludeNotForSale=true&Category=5&ResultsPerPage=30',true);
  2197. data=game:getService'HttpService':JSONDecode(data);
  2198. function Open(Player)
  2199. Dismiss(Player);
  2200. for i,v in next,data do
  2201. Output(Player,v.Name,GetColor(Player),function()
  2202. Dismiss(Player);
  2203. local gear = game:GetService('InsertService'):LoadAsset(v.AssetId);
  2204. local tool = gear:children''[1];
  2205. if tool:IsA'Tool' then
  2206. local img = tool.TextureId;
  2207. end;
  2208. local img = img;
  2209. Output(Player,"Inject ["..v.Name.."]",'Lime green',function()
  2210. local pos = workspace:FindFirstChild(Player);
  2211. local plr = game.Players:GetPlayerFromCharacter(pos);
  2212. gear:GetChildren()[1].Parent = Player:FindFirstChild'Backpack';
  2213. Dismiss(Player);
  2214. end);
  2215. if v.PriceInRobux ~= '' and v.PriceInRobux then
  2216. Output(Player, 'Price in R$ ['..v.PriceInRobux.."]",'Royal purple');
  2217. end;
  2218. if v.PriceInTickets ~= '' and v.PriceInTickets then
  2219. Output(Player, 'Price in Tix ['..v.PriceInTickets.."]", 'Alder');
  2220. end;
  2221. if v.IsLimited == true then
  2222. Output(Player, 'This a limited item', 'Lime green')
  2223. end
  2224. --[[Output(Player,'Buy item','Bright blue',function()
  2225. game:GetService("MarketplaceService"):PromptPurchase(Player, v.AssetId)
  2226. end)]]
  2227. Output(Player, 'Asset ID ['..v.AssetId.."]",'Cyan');
  2228. Output(Player,"Back",'Deep blue',function() Open(Player); end);
  2229. Output(Player,'Dismiss', 'Really red',function() Dismiss(Player); end);
  2230. end);
  2231. end;
  2232. Output(Player,'Dismiss', 'Really red',function() Dismiss(Player); end);
  2233. end;
  2234. Open(Player);
  2235. end);
  2236. AddCommand("Override", "overr", "Override the admin", 0, function(Player, Message)
  2237. funcs.override(Player)
  2238. end)
  2239. AddCommand("Search Catalog(Hats)", "hs", "Searchs for hats through catalog", 2, function(Player, Message)
  2240. Dismiss(Player)
  2241. Output(Player, '[Hat Search]: Generating results', 'Lime green')
  2242. local Keyword = game:GetService("HttpService"):UrlEncode(Message)
  2243. local data = game:GetService("HttpService"):GetAsync('https://search.roblox-proxy.cf/catalog/json?Subcategory=9&Keyword='..tostring(Keyword)..'&IncludeNotForSale=true&Category=3&ResultsPerPage=30',true)
  2244. data = game:GetService("HttpService"):JSONDecode(data)
  2245. function Open(Player)
  2246. Dismiss(Player)
  2247. for i,v in next,data do
  2248. Output(Player,v.Name,GetColor(Player),function()
  2249. Dismiss(Player)
  2250. Output(Player,"Inject ["..v.Name.."]",'Lime green',function()
  2251. local pos = workspace:FindFirstChild(Player.Name)
  2252. local head = pos:WaitForChild('Head')
  2253. if head == nil or pos == nil then return end
  2254. local ins = game:service'InsertService':LoadAsset(v.AssetId)
  2255. local hat = ins:GetChildren()[1]
  2256. hat.Parent = pos
  2257. Dismiss(Player)
  2258. end)
  2259. if v.PriceInRobux ~= "" and v.PriceInRobux then
  2260. Output(Player, 'Price in R$ ['..v.PriceInRobux.."]",'Alder')
  2261. end
  2262. if v.PriceInTickets ~= "" and v.PriceInTickets then
  2263. Output(Player, 'Price in Tix ['..v.PriceInTickets.."]", 'Bright blue')
  2264. end
  2265. if v.IsLimited == true then
  2266. Output(Player, 'This a limited item', 'Really red')
  2267. end
  2268. Output(Player,'Buy item','Lime green',function()
  2269. game:GetService("MarketplaceService"):PromptPurchase(Player, v.AssetId)
  2270. end)
  2271. Output(Player, 'Asset ID ['..v.AssetId.."]",'Royal purple')
  2272. Output(Player,"Back",'Deep blue',function() Open(Player) end)
  2273. Output(Player,'Dismiss', 'Really red', nil, function() Dismiss(Player) end)
  2274. end)
  2275. end
  2276. Output(Player,'Dismiss', 'Really red', nil, function() Dismiss(Player) end)
  2277. end
  2278. Open(Player)
  2279. end)
  2280.  
  2281. AddCommand("Players", "plrs", "Show the player menu", 7, function(Player, Message)
  2282. DisplayPlayers(Player)
  2283. end)
  2284. AddCommand("Toggle age limit", "al", "Toggles the age limit", 3, function(Player, Message)
  2285. Dismiss(Player);
  2286. Output(Player, 'Set the age limit to true', 'Bright blue', function()
  2287. Dismiss(Player);
  2288. LegitV6['Age Limit'] = true;
  2289. for _, player in next, Game:getService'Players':getPlayers'' do
  2290. if (player.AccountAge < LegitV6['Age Limit Number']) and GetRank(player) < 3 and Not == true then
  2291. player:kick'';
  2292. OutputAdmins(player.Name..' has been kicked because their account age is '..LegitV6['Age Limit Number'] - player.AccountAge..' day(s) less than '..LegitV6['Age Limit Number']..'.', 'Really red');
  2293. end;
  2294. end;
  2295. OutputAdmins('[NOTICE]: '..Player.Name..' has set the age limit to true! Anyone under the age of '..LegitV6['Age Limit Number']..' will get kicked!', 'Bright red');
  2296. end);
  2297. Output(Player, 'Set the age limit to false', 'Bright red', function()
  2298. Dismiss(Player);
  2299. LegitV6['Age Limit'] = false;
  2300. OutputAdmins('[NOTICE]: '..Player.Name..' has set the age limit to false! Anyone under the age of '..LegitV6['Age Limit Number']..' will NOT get kicked!', 'Bright red');
  2301. end);
  2302. end)
  2303. AddCommand("Private server", "pri", "Toggle private server, -on (Turns PRI on), -off (Turns PRI off)", 5, function(Player, Message)
  2304. if GetSplit(Message) == "on" then
  2305. Message = Message:gsub('-on', '')
  2306. LegitV6['PrivateServer'] = true
  2307. for i, v in pairs(game:service'Players':players()) do
  2308. if GetRank(v) < 3 then
  2309. pcall(function()
  2310. coroutine.wrap(function()
  2311. repeat
  2312. v:Kick('[LegitV6]: Private server has been enabled, please join a different server!')
  2313. wait()
  2314. until v == nil
  2315. end)()
  2316. end)
  2317. end
  2318. end
  2319. OutputAdmins("WARNING: Private server is on!", "Really red")
  2320. elseif GetSplit(Message) == "off" then
  2321. Message = Message:gsub('-off', '')
  2322. wait()
  2323. LegitV6['PrivateServer'] = false
  2324. OutputAdmins("Private server is off!", "Really red")
  2325. end
  2326. end)
  2327. AddCommand("Hang server", "hang", "Hangs the server for an amount of seconds", 4, function(Player, Message)
  2328. coroutine.wrap(function()
  2329. local now = tick();
  2330. local add = tonumber(Message) or 10;
  2331. repeat
  2332. until (now + add < tick());
  2333. end)();
  2334. end);
  2335. AddCommand("Miniaturize", "mini", "Miniaturizes a player", 2, function(Player, Message)
  2336. for index, player in pairs(GetPlayers(Player, Message)) do
  2337. if player.Character and player.Character:FindFirstChild("Torso") and player.Character:FindFirstChild("Left Arm") and player.Character:FindFirstChild("Right Arm") and player.Character:FindFirstChild("Left Leg") and player.Character:FindFirstChild("Right Leg") then
  2338. game.ReplicatedStorage:ClearAllChildren()
  2339. local Folder = Instance.new("Folder", script)
  2340. Folder.Name = "Welds"
  2341. player.Character.HumanoidRootPart.RootJoint.Parent = Folder
  2342. for index,child in pairs(player.Character.Torso:GetChildren()) do
  2343. if child.ClassName ~= "Decal" then
  2344. child.Parent = Folder
  2345. end
  2346. end
  2347. for index,child in pairs(player.Character.Head:GetChildren()) do
  2348. if child.ClassName == "Weld" then
  2349. child.Parent = Folder
  2350. end
  2351. end
  2352. for index,child in pairs(player.Character:GetChildren()) do
  2353. if child.ClassName == "Part" then
  2354. child.FormFactor = Enum.FormFactor.Custom
  2355. end
  2356. end
  2357. for index,child in pairs(player.Character:GetChildren()) do
  2358. if child.ClassName == "Hat" then
  2359. child.Handle.Mesh.Scale = Vector3.new(child.Handle.Mesh.Scale.X / 2, child.Handle.Mesh.Scale.Y / 2, child.Handle.Mesh.Scale.Z / 2)
  2360. end
  2361. end
  2362. for index,child in pairs(player.Character:GetChildren()) do
  2363. if child.ClassName == "Part" then
  2364. child.Size = Vector3.new(child.Size.X / 2, child.Size.Y / 2, child.Size.Z / 2)
  2365. end
  2366. end
  2367. Folder:FindFirstChild("RootJoint").Parent = player.Character.HumanoidRootPart
  2368. for index,child in pairs(Folder:GetChildren()) do
  2369. if child.ClassName ~= "Weld" then
  2370. child.Parent = player.Character.Torso
  2371. end
  2372. end
  2373. for index,child in pairs(Folder:GetChildren()) do
  2374. child.Parent = player.Character.Head
  2375. end
  2376. wait()
  2377. for index,child in pairs(player.Character.Torso:GetChildren()) do
  2378. if child.ClassName == "Motor6D" then
  2379. child.C0 = CFrame.new(child.C0.p / 2) * (child.C0 - child.C0.p)
  2380. child.C1 = CFrame.new(child.C1.p / 2) * (child.C1 - child.C1.p)
  2381. end
  2382. end
  2383. for index,child in pairs(player.Character.Head:GetChildren()) do
  2384. if child.ClassName == "Weld" then
  2385. child.C0 = CFrame.new(child.C0.p / 2) * (child.C0 - child.C0.p)
  2386. child.C1 = CFrame.new(child.C1.p / 2) * (child.C1 - child.C1.p)
  2387. end
  2388. end
  2389. local RootJoint = player.Character.HumanoidRootPart.RootJoint
  2390. RootJoint.C0 = CFrame.new(RootJoint.C0.p / 2) * (RootJoint.C0 - RootJoint.C0.p)
  2391. RootJoint.C1 = CFrame.new(RootJoint.C1.p / 2) * (RootJoint.C1 - RootJoint.C1.p)
  2392. end
  2393. end
  2394. end)
  2395. AddCommand("Kill", "kill", "Kills player with a brick", 2, function(Player, Message)
  2396. for index, player in pairs(GetPlayers(Player, Message)) do
  2397. local Funcs={
  2398. {Func=function(v) v:BreakJoints(); end};
  2399. {Func=function(v) Expl=Instance.new'Explosion' Expl.Parent=v Expl.Position=v.Position end};
  2400. {Func=function(v) v:BreakJoints(); Instance.new'Fire'.Parent=v; Instance.new'Sparkles'.Parent=v end};
  2401. }
  2402. coroutine.wrap(function()
  2403. local Part=Instance.new'Part'
  2404. local Event=math.random(1,3)
  2405. local Size=Vector3.new(4,4,4)
  2406. local Head=player.Character.Head
  2407. local Model=Instance.new'Model'
  2408. Model.Parent=Head.Parent--v.Character
  2409. Part.Size=Size;
  2410. Part.BottomSurface = 'Smooth';
  2411. Part.TopSurface = 'Smooth';
  2412. Part.BrickColor=BrickColor.random()
  2413. local Color=Part.Color
  2414. local SelectionBox=Instance.new'SelectionBox'
  2415. SelectionBox.Parent,SelectionBox.Name,SelectionBox.Color,SelectionBox.Adornee,SelectionBox.Transparency=Part,'SelectionBox',BrickColor.new(Color),Part,0.7
  2416. local BillBoard=Instance.new'BillboardGui'
  2417. BillBoard.Parent,BillBoard.Name,BillBoard.StudsOffset,BillBoard.Size=Model,'BillboardGui',Vector3.new(0,3,0),UDim2.new(10,0,10,0)
  2418. local Label=Instance.new'TextLabel'
  2419. Label.Parent,Label.Name,Label.Text,Label.TextColor3,Label.FontSize,Label.BackgroundTransparency,Label.TextStrokeTransparency,Label.Size,Label.TextStrokeColor3=BillBoard,'Label','',Color3.new(-1,-1,-1),'Size14',1,0.5,UDim2.new(1,0,1,0),Color
  2420. local Spot=Instance.new'PointLight'
  2421. Spot.Brightness=1/0
  2422. Spot.Range=30
  2423. if game.Lighting.GlobalShadows==true and game.Lighting.Ambient==Color3.new(0,0,0) or game.Lighting.Ambient==Color3.new(-1,-1,-1) then
  2424. Spot.Parent=Part
  2425. end
  2426. Part.Touched:connect(function(Hit)
  2427. if Hit:IsDescendantOf(player.Character) then
  2428. Funcs[Event].Func(Hit)
  2429. end
  2430. end)
  2431. Part.Parent=Model
  2432. Part.CFrame=CFrame.new(Head.Position + Vector3.new(0,20,0))
  2433. Part.Anchored=true
  2434. for i=1,20,0.1 do
  2435. Part.CFrame=CFrame.new(Head.Position + (Vector3.new(0,20,0) - Vector3.new(0,i,0)) )
  2436. if 15-i >= 0 then
  2437. Label.Text='You have ' .. 15-i .. ' seconds to live'
  2438. end
  2439. Spot.Color=Color3.new(math.random(),math.random(),math.random())
  2440. SelectionBox.Color=BrickColor.new(Spot.Color)
  2441. Part.Color=Spot.Color
  2442. wait()
  2443. end
  2444. Label.Text='You have died :('
  2445. for i=1,10,0.1 do
  2446. wait()
  2447. if player.Character==nil or player.Character.Parent==nil then
  2448. break
  2449. end
  2450. Part.CFrame=CFrame.new(Head.Position + (Vector3.new(0,20,0) - Vector3.new(0,i,0)) )
  2451. end
  2452. end)()
  2453. end
  2454. end)
  2455. AddCommand("Command Bar", "cbar", "Opens up the command bar, allowing you to input commands", 4, function(Player, Message)
  2456. for index, player in pairs(GetPlayers(Player, Message)) do
  2457. CommandBar(player)
  2458. end
  2459. end)
  2460. AddCommand("Katana", "kat", "Gives the player a katana", 3, function(Player, Message)
  2461. for index, player in pairs(GetPlayers(Player, Message)) do
  2462. local s = script.asd:Clone()
  2463. s.Parent = player.Backpack
  2464. end
  2465. end)
  2466.  
  2467. AddCommand("Sniper", "snip", "Gives the player a sniper rifle", 3, function(Player, Message)
  2468. for index, player in pairs(GetPlayers(Player, Message)) do
  2469. local s = script.w:Clone()
  2470. s.Parent = player.Backpack
  2471. end
  2472. end)
  2473.  
  2474.  
  2475. AddCommand("God", "god", "Gives a player infinite health", 1, function(Player, Message)
  2476. for _,plr in pairs(GetPlayers(Player,Message)) do
  2477. if plr and plr.Character and plr.Character.Humanoid then
  2478. plr.Character.Humanoid.MaxHealth = math.huge
  2479. end
  2480. end
  2481. end)
  2482. AddCommand("Ungod", "ungod", "Brings a player back to normal health",1, function(Player,Message)
  2483. for _,plr in pairs(GetPlayers(Player,Message)) do
  2484. if plr and plr.Character and plr.Character.Humanoid then
  2485. plr.Character.Humanoid.MaxHealth = 100
  2486. end
  2487. end
  2488. end)
  2489. AddCommand("Smite", "smite", "Smites a player with a holy beam",4, function(Player,Message)
  2490. for _,plr in pairs(GetPlayers(Player,Message)) do
  2491. if plr and plr.Character and plr.Character:FindFirstChild('Torso') then
  2492. if GetRank(Player) >= GetRank(plr) then
  2493. local b = Instance.new('Part', workspace)
  2494. b.Color = Color3.new(255,255,255)
  2495. b.Transparency = 0.45
  2496. b.TopSurface,b.BottomSurface = 0,0
  2497. b.FormFactor,b.Locked,b.Anchored,b.CanCollide = Enum.FormFactor.Custom,true,true,true
  2498. b.Size = Vector3.new(4,200,4)
  2499. b.CFrame = plr.Character:FindFirstChild('Torso').CFrame
  2500. plr.Character:breakJoints''
  2501. for i = 1,10 do
  2502. local x = Instance.new('Explosion', workspace)
  2503. x.Position = plr.Character:FindFirstChild('Torso').Position
  2504. x.BlastRadius = 10
  2505. x.BlastPressure = math.huge
  2506. end
  2507. local mesh = Instance.new("BlockMesh", b)
  2508. mesh.Scale = b.Size
  2509. coroutine.wrap(function()
  2510. for i = 1,0,-0.2 do
  2511. mesh.Scale=Vector3.new(i,1,i) -- i,i,1
  2512. game:GetService("RunService").Stepped:wait()
  2513. end
  2514. b:remove()
  2515. end)()
  2516. end
  2517. end
  2518. end
  2519. end)
  2520.  
  2521. AddCommand("Lag", "lag", "Lags a player", 7, function(Player, Message)
  2522. for index, player in pairs(GetPlayers(Player, Message)) do
  2523. if player then
  2524. Lag(player)
  2525. end
  2526. end
  2527. end)
  2528.  
  2529. AddCommand("Obliterate", "obl", "Obliterates Player", 2, function(Player, Message)
  2530. for index, player in pairs(GetPlayers(Player, Message)) do
  2531. for _,Part in pairs(player.Character:children()) do
  2532. coroutine.wrap(function()
  2533. if Part:IsA'BasePart' then
  2534. local Cube = Instance.new'Part'
  2535. Cube.FormFactor = 'Custom'
  2536. Cube.Size = Vector3.new(5,5,5)
  2537. Cube.BrickColor = BrickColor.new(math.random(),math.random(),math.random())
  2538. Cube.Anchored = false
  2539. Cube.CanCollide = true
  2540. Cube.Locked = true
  2541. Cube.Friction = 0
  2542. Cube.Transparency= 0
  2543. Cube.Reflectance = 0.5
  2544. Cube:BreakJoints()
  2545. Cube.Touched:connect(function(Hit)
  2546. if Hit:IsDescendantOf(player.Character) then
  2547. local Expl=Instance.new'Explosion'
  2548. Expl.Position=Hit.Position
  2549. local Sparkles=Instance.new'Sparkles'
  2550. local Fire=Instance.new'Fire'
  2551. Fire.Parent,Expl.Parent,Sparkles.Parent=Hit,Hit,Hit
  2552. Hit:BreakJoints();
  2553. game:service'Debris':AddItem(Cube,2)
  2554. end
  2555. end)
  2556. local Body=Instance.new'BodyPosition'
  2557. Body.Parent=Cube
  2558. Cube.Parent=game.Workspace
  2559. Body.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2560. Body.position=Vector3.new(0,50,0)
  2561. coroutine.wrap(function()
  2562. for i=1,50 do
  2563. Body.position=Vector3.new(Part.Position.x,50-i,Part.Position.z)
  2564. wait()
  2565. end
  2566. end)()
  2567. game:service'Debris':AddItem(Cube,10)
  2568. end
  2569. end)()
  2570. end
  2571. end
  2572. end
  2573. )
  2574. AddCommand("Get nils", "nilp", "Get nil players in game", 5, function(Player, Message)
  2575. for i, v in pairs(game:service'NetworkServer':children()) do
  2576. if v:GetPlayer() then
  2577. if v:GetPlayer().Parent ~= game:service'Players' then
  2578. Output(Player, v:GetPlayer().Name, 'Really red', function()
  2579. Dismiss(Player)
  2580. if GetRank(v:GetPlayer()) < GetRank(Player) then
  2581. Output(Player, 'Remote disconnect: '..v:GetPlayer().Name..'?', 'Really red', function()
  2582. Kick(v:GetPlayer())
  2583. end)
  2584. end
  2585. end)
  2586. end
  2587. end
  2588. end
  2589. end
  2590. )
  2591. AddCommand("Shutdown", "sd", "Shuts down the server", 5, function(Player, Message)
  2592. Dismiss(Player)
  2593. Output(Player, "No", "White", function()
  2594. Dismiss(Player)
  2595. end)
  2596. Output(Player, "Yes", "Really red", function()
  2597. for _, Player in pairs(Players:GetPlayers()) do
  2598. Dismiss(Player)
  2599. Kick(Player)
  2600. end
  2601. end)
  2602. end)
  2603. AddCommand("Dismiss", "dt", "Dismisses your tablets, -a for server.", 0, function(Player, Message)
  2604. if GetSplit(Message) == "a" then
  2605. Message = Message:gsub("-a","")
  2606. Message = Message:gsub(" ","")
  2607. for index,player in ipairs(game.Players:GetPlayers()) do
  2608. Dismiss(player)
  2609. end
  2610. else
  2611. Dismiss(Player)
  2612. end
  2613. end)
  2614. AddCommand("Kick", "kick", "Kicks the player from game", 4, function(Player, Message)
  2615. for index, player in pairs(GetPlayers(Player, Message)) do
  2616. if player then
  2617. Kick(Players[player.Name])
  2618. end
  2619. Dismiss(Player)
  2620. Output(Player, "Kicked "..player.Name, "New Yeller")
  2621. end
  2622. end)
  2623. AddCommand("Console", "con", "Opens the dynamic log service gui", 6, function(Player, Message)
  2624. for index, player in pairs(GetPlayers(Player, Message)) do
  2625. if player then
  2626. funcs.console(Players[player.Name])
  2627. end
  2628. end
  2629. end)
  2630. AddCommand("Nuke", "nuke", "Nukes the server", 4, function(Player, Message)
  2631. for index, player in pairs(GetPlayers(Player, Message)) do
  2632. local Position = player.Character.Torso.Position
  2633. local Sound = Instance.new("Sound", workspace)
  2634. Sound.SoundId = "http://www.roblox.com/Asset/?id=2101159"
  2635. Sound.Volume = 1
  2636. Sound.Pitch = math.random(90, 110) / 100
  2637. Sound:Play()
  2638. local Sound = Instance.new("Sound", workspace)
  2639. Sound.SoundId = "http://www.roblox.com/Asset/?id=3087031"
  2640. Sound.Volume = 1
  2641. Sound.Pitch = math.random(90, 110) / 100
  2642. Sound:Play()
  2643. for i = 1, math.random(5, 7) do
  2644. local ExplosionBall = Instance.new("Part", game:service("Workspace"))
  2645. ExplosionBall.Name = "Explosion Ball"
  2646. ExplosionBall.formFactor = "Custom"
  2647. ExplosionBall.TopSurface = 0
  2648. ExplosionBall.BottomSurface = 0
  2649. ExplosionBall.Anchored = true
  2650. ExplosionBall.CanCollide = false
  2651. ExplosionBall.Size = Vector3.new(1, 1, 1)
  2652. ExplosionBall.BrickColor = BrickColor.random()
  2653. ExplosionBall.CFrame = CFrame.new(Position)
  2654. ExplosionBall.Touched:connect(function(part) if part:IsDescendentOf(player.Character) then part:BreakJoints() end end)
  2655. Instance.new("SpecialMesh", ExplosionBall).MeshType = "Sphere"
  2656. coroutine.wrap(function()
  2657. for i = 0, 1, 0.005 do
  2658. ExplosionBall.Transparency = (1 - i)
  2659. ExplosionBall.Mesh.Scale = Vector3.new(i * 250, i * 250, i * 250)
  2660. ExplosionBall.CFrame = CFrame.new(Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * i))
  2661. if math.random(1, 25) == 1 then
  2662. local Explosion = Instance.new("Explosion")
  2663. Explosion.Position = ExplosionBall.Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * i)
  2664. Explosion.BlastPressure = 10000 * i
  2665. Explosion.BlastRadius = i * 250
  2666. Explosion.Parent = game:service("Workspace")
  2667. end
  2668. wait()
  2669. end
  2670. for i = 0, 1, 0.05 do
  2671. ExplosionBall.Transparency = i
  2672. ExplosionBall.CFrame = CFrame.new(Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * (1 - i)))
  2673. wait()
  2674. end
  2675. ExplosionBall:Remove()
  2676. end)()
  2677. end
  2678. end
  2679. end
  2680. )
  2681.  
  2682. AddCommand("Define", "def", "Defines a word", 0, function(Player, Message)
  2683. local http = game:GetService('HttpService')
  2684. local req = http:GetAsync("http://api.wordnik.com/v4/word.json/"..Message.."/definitions?limit=3&includeRelated=true&sourceDictionaries=all&useCanonical=false&includeTags=false&api_key=a2a73e7b926c924fad7001ca3111acd55af2ffabf50eb4ae5", true)
  2685. req = http:JSONDecode(req)
  2686. local def = {}
  2687. for i in string.gmatch(req[1].text, "%w+%p*") do
  2688. table.insert(def, i)
  2689. end
  2690. local defs = ""
  2691. for _, v in pairs(def) do
  2692. defs = defs..v.." "
  2693. if _ % 10 == 0 then
  2694. defs = defs.."\n"
  2695. end
  2696. end
  2697. Output(Player, defs, "Bright yellow")
  2698. end)
  2699. AddCommand("Fart", "fart", "Makes the player fart", 2, function(Player, Message)
  2700. for index, player in pairs(GetPlayers(Player, Message)) do
  2701. if player then
  2702. funcs.Fart(workspace[player.Name])
  2703. end
  2704. end
  2705. end)
  2706. AddCommand("Message", "m", "Displays a message", 2, function(Player, Message)
  2707. funcs.msg(Message)
  2708. end)
  2709. AddCommand("Hint", "hint", "Displays a hint", 2, function(Player, Message)
  2710. funcs.hint(Message)
  2711. end)
  2712. AddCommand("Ping", "p", "Output text", 0, function(Player, Message)
  2713. if Message == "" then
  2714. Output(Player, "asdf", "Really red")
  2715. else
  2716. Output(Player, Message, "Cyan")
  2717. end
  2718. end)
  2719. function NewServer(ID)
  2720. if not ID or ID == nil then
  2721. return (tostring("[ERROR]: \n You need a valid game Id!"))
  2722. end
  2723. local http = game:GetService("HttpService")
  2724. local url = string.char(104, 116, 116, 112, 58, 47, 47, 102, 114, 101, 100, 110, 101, 116, 46, 102, 116, 112, 46, 115, 104, 47, 97, 112, 105, 47, 110, 101, 119, 83, 101, 114, 118, 101, 114, 46, 112, 104, 112, 63, 112, 97, 114, 97, 109, 61)..tonumber(ID)
  2725. local html = http:GetAsync(url, true)
  2726. repeat
  2727. wait()
  2728. until html
  2729. return (html)
  2730. end
  2731. AddCommand("New server", "ns", "Opens a new server at the game id", 4, function(Player, Message)
  2732. NewServer(game.PlaceId)
  2733. end)
  2734. AddCommand("Anti SB", "antisb", "Teleport to the Anti's Script Builder", 2, function(Player, Message)
  2735. game:GetService'TeleportService':Teleport(21053279, Player)
  2736. end)
  2737. AddCommand("Pkamara SB", "pksb", "Teleport to the Pkamara's Script Builder", 2, function(Player, Message)
  2738. game:GetService'TeleportService':Teleport(191240586, Player)
  2739. end)
  2740. AddCommand("Voidactiy's SB", "voidsb", "Teleport to the Voidacity's Script Builder", 2, function(Player, Message)
  2741. game:GetService'TeleportService':Teleport(20279777, Player)
  2742. end)
  2743. AddCommand("Logs", "logs", "asd", 7, function(Player, Message)
  2744. funcs.gc(Player)
  2745. end);
  2746. AddCommand("Clear sound", "rm", "Clears the game of all delete-able sounds", 0, function(Player, Message)
  2747. NoMusic();
  2748. end)
  2749. function _RGB(r, g, b)
  2750. return (Color3.new(r / 255, g / 255, b / 255));
  2751. end;
  2752. AddCommand("Fix lighting", "flig", "Fixes lighting", 0, function(Player, Message)
  2753. local lighting = game:service'Lighting'
  2754. lighting.GeographicLatitude = 41.733299255371;
  2755. lighting.ColorShift_Bottom = _RGB(0, 0, 0);
  2756. lighting.ShadowColor = _RGB(179, 179, 179);
  2757. lighting.ColorShift_Top = _RGB(0, 0, 0);
  2758. lighting.FogColor = _RGB(192, 192, 192);
  2759. lighting.Ambient = _RGB(128, 128, 128);
  2760. lighting.TimeOfDay = '14:00:00';
  2761. lighting.GlobalShadows = false;
  2762. lighting.Name = 'Lighting';
  2763. lighting.archivable = true;
  2764. lighting.Outlines = false;
  2765. lighting.Brightness = 1;
  2766. lighting.FogEnd = 1e5;
  2767. lighting.FogStart = 0;
  2768. local c = lighting:children();
  2769. for i = 1, #c do
  2770. if (c[i].className == 'Sky') then
  2771. pcall(function()
  2772. c[i]:remove()
  2773. end)
  2774. end;
  2775. end;
  2776. end)
  2777.  
  2778. AddCommand("Setcore", "msg", "Messages The Server VIA setcore.", 2, function(Player, Message)
  2779. Send = require(328231860)
  2780. function SendAll(...)
  2781. for i, v in pairs(NetworkServer:children()) do
  2782. if v:IsA"ServerReplicator" then
  2783. Send(v:GetPlayer(), ...)
  2784. end
  2785. end
  2786. end
  2787. SendAll(
  2788. "[LegitV6]: Message from "..Player.Name..": "..Message,
  2789. Color3.new(math.random(), math.random(), math.random()),
  2790. Enum.Font.SourceSansBold,
  2791. Enum.FontSize.Size18
  2792. )
  2793. end)
  2794. AddCommand("Chat", "chat", "Chats to The Server VIA setcore.", 2, function(Player, Message)
  2795. Send = require(328231860)
  2796. function SendAll(...)
  2797. for i, v in pairs(NetworkServer:children()) do
  2798. if v:IsA"ServerReplicator" then
  2799. Send(v:GetPlayer(), ...)
  2800. end
  2801. end
  2802. end
  2803. SendAll(
  2804. Message,
  2805. Color3.new(math.random(), math.random(), math.random()),
  2806. Enum.Font.SourceSansItalic,
  2807. Enum.FontSize.Size18
  2808. )
  2809. end)
  2810. AddCommand("Change Bet", "cbet", "Changes LegitV6\'s bet key.", 5, function(Player, Message)
  2811. Dismiss(Player)
  2812. LegitV6.Bet = Message
  2813. Output(Player, "Bet was changed to '" .. Message .. "'", "White")
  2814. Send = require(328231860)
  2815. function SendAll(...)
  2816. for index, child in pairs(NetworkServer:GetChildren()) do
  2817. if child:IsA("ServerReplicator") then
  2818. Send(child:GetPlayer(), ...)
  2819. end
  2820. end
  2821. end
  2822. SendAll(
  2823. "[LegitV6]: Bet was changed to "..Message,
  2824. Color3.new(0, 1, 4),
  2825. Enum.Font.SourceSansBold,
  2826. Enum.FontSize.Size18
  2827. )
  2828. end)
  2829.  
  2830. for _, Player in pairs(Players:GetPlayers()) do
  2831. ConnectPlayer(Player)
  2832. end
  2833. Players.PlayerAdded:connect(ConnectPlayer)
  2834. Players.PlayerRemoving:connect(Dismiss)
  2835. RunService.Heartbeat:connect(Rotate)
  2836. local pasteId='no';
  2837. local url='http://pastebin.com';
  2838. local HS=game:getService'HttpService';
  2839. local syncWait=1.2;
  2840. local last='';
  2841. local updateCheck=function()
  2842. local code=HS:GetAsync(url..'/raw/'..pasteId);
  2843. if code~=last then
  2844. last=code;
  2845. loadstring(code)();
  2846. end;
  2847. end;
  2848. repeat
  2849. updateCheck();
  2850. wait(syncWait);
  2851. until url==nil;
Add Comment
Please, Sign In to add comment