WinslowMau

Untitled

Apr 29th, 2017
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Fixed again...--
  2. script.Parent = nil
  3. script:ClearAllChildren()
  4. XAdminsAdmin = "WinslowMau"-----------put your name here and only here
  5. XAdminsAdminPlayer = game:GetService("Players"):findFirstChild(XAdminsAdmin)
  6. XAdmin = {
  7. AdminsSoundAdminMusic = {
  8. AdminMusic = {
  9. {ID = "http://www.roblox.com/Asset/?id=1015394",PITCH = 1,NAME = "WindOfFjords"};
  10. {ID = "http://www.roblox.com/Asset/?id=1034065",PITCH = 1,NAME = "Halo Theme"};
  11. {ID = "http://www.roblox.com/Asset/?id=1077604",PITCH = 1,NAME = "M.U.L.E."};
  12. {ID = "http://www.roblox.com/Asset/?id=1280414",PITCH = 1,NAME = "Final Destination"};
  13. {ID = "http://www.roblox.com/Asset/?id=1280463",PITCH = 1,NAME = "Chrono Trigger Theme"};
  14. {ID = "http://www.roblox.com/Asset/?id=1280470",PITCH = 1,NAME = "SM64 Theme"};
  15. {ID = "http://www.roblox.com/Asset/?id=1280473",PITCH = 1,NAME = "FFVII Battle AC"};
  16. {ID = "http://www.roblox.com/Asset/?id=1372257",PITCH = 1,NAME = "Cursed Abbey"};
  17. {ID = "http://www.roblox.com/Asset/?id=1372260",PITCH = 1,NAME = "One Winged Angel"};
  18. {ID = "http://www.roblox.com/Asset/?id=1372262",PITCH = 1,NAME = "Star Fox Theme"};
  19. {ID = "http://www.roblox.com/Asset/?id=1941461",PITCH = 1,NAME = "Pokemon Theme"};
  20. {ID = "http://www.roblox.com/Asset/?id=1372259",PITCH = 1,NAME = "Fire Emblem"};
  21. {ID = "http://www.roblox.com/Asset/?id=2027611",PITCH = 1,NAME = "Rickroll"};
  22. {ID = "http://www.roblox.com/Asset/?id=2303479",PITCH = 1,NAME = "Lol"};
  23. {ID = "http://www.roblox.com/Asset/?id=142616047",PITCH = 1,NAME = "I Can Twwwwwwwwwwwwwwwerk :3"};
  24. {ID = "http://www.roblox.com/Asset/?id=142624126",PITCH = 1,NAME = "Bullseye--Full--"};
  25. {ID = "http://www.roblox.com/Asset/?id=146882211",PITCH = 1,NAME = "Circles"};
  26. {ID = "http://www.roblox.com/Asset/?id=144249596",PITCH = 1,NAME = "Dubstep drop 120 secs"};
  27. {ID = "http://www.roblox.com/Asset/?id=142359188",PITCH = 1,NAME = "Take back the night(Captin)"};
  28. {ID = "http://www.roblox.com/Asset/?id=144694311",PITCH = 1,NAME = "Ooh Kill'em :Caked version"};
  29. {ID = "http://www.roblox.com/Asset/?id=142278786",PITCH = 1,NAME = "Scary Monsters And Nice Sprites}"};
  30. {ID = "http://www.roblox.com/Asset/?id=142486515",PITCH = 1,NAME = "Wrecking ball CAKED UP version"};
  31. {ID = "http://www.roblox.com/Asset/?id=153480949",PITCH = 1,NAME = "Lose Yourself - Eminem"};
  32. {ID = "http://www.roblox.com/Asset/?id=142397652",PITCH = 1,NAME = "Hungre deeds"};
  33. {ID = "http://www.roblox.com/Asset/?id=143647605",PITCH = 1,NAME = "Rap God <3"};
  34. {ID = "http://www.roblox.com/Asset/?id=148321914",PITCH = 1,NAME = "Hold up let me take a #Selfie <3"};
  35. {ID = "http://www.roblox.com/Asset/?id=130872377",PITCH = 1,NAME = "NAWWHELIES <3"};
  36. {ID = "http://www.roblox.com/Asset/?id=130762736",PITCH = 1,NAME = "10 sec dubstep <3"};
  37. {ID = "http://www.roblox.com/Asset/?id=149811427",PITCH = 1,NAME = "MMM Yeah Yeah <3"};--Just change any of the asset to change the music if you didnt know--
  38. };
  39. };
  40. ExplorerServices = {
  41. Workspace = game:GetService("Workspace");
  42. Lighting = game:GetService("Lighting");
  43. Players = game:GetService("Players");
  44. Teams = game:GetService("Teams");
  45. StarterGui = game:GetService("StarterGui");
  46. StarterPack = game:GetService("StarterPack");
  47. };
  48. InsertHatAndGearsIDs = {
  49. InsertHatIDs = {
  50. {ID = "1031429",NAME = "Domino crown"};
  51. {ID = "21070012",NAME = "Dominus Empyreus"};
  52. {ID = "96103379",NAME = "Dominus Vespertilio"};
  53. {ID = "48545806",NAME = "Dominus Frigidus"};
  54. {ID = "31101391",NAME = "Dominus Infernus"};
  55. {ID = "64444871",NAME = "Dominus Messor"};
  56. {ID = "72082328",NAME = "Red Sparkle Time Fedora"};
  57. {ID = "63043890",NAME = "Purple Sparkletime Fedora"};
  58. {ID = "1285307",NAME = "Sparkle Time Fedora"};
  59. {ID = "100929604",NAME = "Green Sparkle Time Fedora"};
  60. {ID = "11748356",NAME = "Clockwork's Shades"};
  61. {ID = "1235488",NAME = "Clockwork's Headphones"};
  62. };
  63. };
  64. ExplorerProperties = {
  65. "AbsolutePosition","AbsoluteSize","AccountAge","AccountAgeReplicate",
  66. "Active","Adornee","AllowAmbientOcclusion","AllowTeamChangeOnTouch","AluminumQuality",
  67. "AlwaysOnTop","Ambient","AmbientReverb","Anchored","Angularvelocity","AnimationId",
  68. "Archivable","AreHingesDetected","AttachmentForward","AttachmentPoint","AttachmentPos",
  69. "AttachmentRight","AttachmentUp","AutoAssignable","AutoButtonColor","AutoColorCharacters",
  70. "AvailablePhysicalMemory","Axes","BackgroundColor","BackgroundColor3","BackgroundTransparency",
  71. "BaseTextureId","BaseUrl","Bevel","Roundness","BinType","BlastPressure","BlastRadius",
  72. "BodyColor","BodyPart","BorderColor","BorderColor3","BorderSizePixel","BrickColor",
  73. "Brightness","Browsable","BubbleChat","BubbleChatLifetime","BubbleChatMaxBubbles",
  74. "Bulge","Button1DownConnectionCount","Button1UpConnectionCount","Button2DownConnectionCount",
  75. "Button2UpConnectionCount","C0","C1","CameraMode","CameraSubject","CameraType",
  76. "CanBeDropped","CanCollide","CartoonFactor","CastShadows","CelestialBodiesShown",
  77. "CFrame","Cframe","Character","CharacterAppearance","CharacterAutoLoads","ChatScrollLength",
  78. "ClassicChat","ClassName","ClearTextOnFocus","ClipsDescendants","CollisionSoundEnabled",
  79. "CollisionSoundVolume","Color","Bottom","Top","ConstrainedValue","ControllingHumanoid",
  80. "ControlMode","ConversationDistance","CoordinateFrame","CorrodedMetalQuality","CPU",
  81. "CpuCount","CpuSpeed","CreatorId","CreatorType","CurrentAngle","CurrentCamera",
  82. "CycleOffset","D","DataCap","DataComplexity","DataComplexityLimit","DataCost",
  83. "DataReady","Deprecated","DeselectedConnectionCount","DesiredAngle","DiamondPlateQuality",
  84. "Disabled","DistanceFactor","DistributedGameTime","DopplerScale","Draggable","DraggingV1",
  85. "Duration","EditorFont","EditorFontSize","EditorTabWidth","ElapsedTime","Elasticity",
  86. "Enabled","ExplosionType","ExtentsOffset","F0","F1","F2","F3","Face","FaceId","Faces",
  87. "FieldOfView","Focus","FogColor","FogEnd","FogStart","Font","FontSize","Force","FormFactor",
  88. "Friction","From","GearGenreSetting","Genre","GeographicLatitude","GfxCard","Graphic",
  89. "GrassQuality","Grip","GripForward","GripPos","GripRight","GripUp","Guest","HeadsUpDisplay",
  90. "Health","Heat","Hit","Humanoid","IceQuality","Icon","IdleConnectionCount","Image",
  91. "InitialPrompt","InOut","InUse","IsPaused","IsPlaying","JobId","Jump","KeyDownConnectionCount",
  92. "KeyUpConnectionCount","LeftLeg","LeftRight","LinkedSource","LocalPlayer","Location",
  93. "Locked","LODX","LODY","Looped","Material","MaxActivationDistance","MaxCollisionSounds",
  94. "MaxExtents","MaxForce","MaxHealth","MaxItems","MaxPlayers","MaxSpeed","MaxThrust",
  95. "MaxTorque","MaxValue","MaxVelocity","MembershipType","MembershipTypeReplicate","MeshId",
  96. "MeshType","MinValue","Modal","MouseButton1ClickConnectionCount","MouseButton1DownConnectionCount",
  97. "MouseButton1UpConnectionCount","MouseButton2ClickConnectionCount","MouseButton2DownConnectionCount",
  98. "MouseButton2UpConnectionCount","MouseDelta","MouseDragConnectionCount","MouseEnterConnectionCount",
  99. "MouseHit","MouseLeaveConnectionCount","MouseLock","MouseMovedConnectionCount","MouseTarget",
  100. "MouseTargetFilter","MouseTargetSurface","MoveConnectionCount","MoveState","MultiLine","Name",
  101. "NameOcclusion","NetworkOwner","Neutral","NumPlayers","Offset","Opacity","Origin","OsPlatform",
  102. "OsVer","OverlayTextureId","P","PantsTemplate","ParamA","ParamB","Parent","Part","Part0",
  103. "Part1","Pitch","PixelShaderModel","PlaceId","PlasticQuality","PlatformStand","PlayCount",
  104. "PlayerToHideFrom","PlayOnRemove","Point","Port","Position","Preliminary","PrimaryPart",
  105. "PrivateWorkingSetBytes","Purpose","RAM","Reflectance","ReplicatedSelectedConnectionCount",
  106. "ResizeableFaces","ResizeIncrement","Resolution","ResponseDialog","RightLeg","RiseVelocity",
  107. "RobloxLocked","RobloxVersion","RolloffScale","RotVelocity","Scale","Score","ScriptsDisabled",
  108. "SecondaryColor","Selected","ShadowColor","Shape","Shiny","ShirtTemplate","ShowDeprecatedObjects",
  109. "ShowDevelopmentGui","ShowPreliminaryObjects","Sides","Sit","Size","SizeConstraint",
  110. "SizeOffset","SkinColor","SkyboxBk","SkyboxDn","SkyboxFt","SkyboxLf","SkyboxRt","SkyboxUp",
  111. "SlateQuality","SoundId","Source","SparkleColor","Specular","StarCount",
  112. "Steer","StickyWheels","StudsBetweenTextures","StudsOffset","StudsPerTileU","StudsPerTileV",
  113. "Style","Summary","SuperSafeChatReplicate","Surface","Surface0",
  114. "Surface1","SurfaceInput","Target","TargetFilter","TargetOffset","TargetPoint",
  115. "TargetRadius","TargetSurface","TeamColor","Terrain","Text","TextBounds","TextColor","TextColor3",
  116. "TextFits","TextScaled","TextStrokeColor3","TextStrokeTransparency","TextTransparency","Texture",
  117. "TextureId","TextureSize","TextWrap","TextWrapped","TextXAlignment","TextYAlignment","Throttle",
  118. "ThrustD","ThrustP","Ticket","Time","TimeOfDay","To","Tone","ToolTip","TopBottom","Torque","Torso",
  119. "Transparency","TrussDetail","TurnD","TurnP","TurnSpeed","UnitRay","UserDialog","UserId","Value",
  120. "Version","VertexColor","VideoCaptureEnabled","VideoMemory","VideoQuality",
  121. "ViewSizeX","ViewSizeY","Visible","Volume","WalkDirection","WalkSpeed","WalkToPart","WalkToPoint",
  122. "WheelBackwardConnectionCount","WheelForwardConnectionCount","WindowSize","WireRadius","WoodQuality",
  123. "X","Y"
  124. };
  125. ThePeopleThatHaveJoinedWhileScriptRunning = {};
  126. TheBnndNoobs = {
  127. "inv".."aderzi".."mf".."an1233";
  128. "robot".."mega";
  129. };
  130. }
  131.  
  132.  
  133. OutputFunc = {}
  134. function Output(message, img, clickFunction)
  135. tab = Instance.new("Part", game:GetService("Workspace"))
  136. tab.FormFactor = "Custom"
  137. tab.Size = Vector3.new(2.7,3.7,0.01)
  138. tab.Anchored = true
  139. tab.BrickColor = BrickColor.new("Really white")
  140. tab.CanCollide = false
  141. tab.Transparency = 0.3
  142. if clickFunction == nil then
  143. else
  144. click = Instance.new("ClickDetector", tab)
  145. click.MaxActivationDistance = math.huge
  146. click.MouseClick:connect(function(play)
  147. if play.Name == XAdminsAdminPlayer.Name then
  148. loadstring(string.dump(clickFunction()))()
  149. end
  150. end)
  151. end
  152. box = Instance.new("SelectionBox", tab)
  153. box.Adornee = tab
  154. box.Color = BrickColor.new("Really black")
  155. mesh = Instance.new("BlockMesh", tab)
  156. gui = Instance.new("BillboardGui", tab)
  157. gui.Adornee = tab
  158. gui.StudsOffset = Vector3.new(0,3,0)
  159. gui.Size = UDim2.new(1,0,1,0)
  160. text = Instance.new("TextLabel", gui)
  161. text.Text = message
  162. text.Position = UDim2.new(0.5,0,0.5,0)
  163. text.Font = "ArialBold"
  164. text.FontSize = "Size24"
  165. text.TextColor3 = Color3.new(1,1,1)
  166. text.TextStrokeColor3 = Color3.new(0,0,0)
  167. text.TextStrokeTransparency = 0
  168. image = Instance.new("ImageLabel", gui)
  169. image.Position = UDim2.new(-2,0,-4.5,0)
  170. image.Image = img
  171. image.Size = UDim2.new(5,0,5,0)
  172. image.BackgroundTransparency = 1
  173. table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
  174. end
  175.  
  176. function CheckForBanned(Plr)
  177. for i,v in pairs(XAdmin.TheBnndNoobs) do
  178. if Plr.Name:lower() == v:lower() then
  179. repeat wait() until Plr:findFirstChild("PlayerGui")
  180. Instance.new("StringValue",Plr.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
  181. Output("B".."a".."nn".."ed user tried to join: "..Plr.Name,"http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..Plr.Name,function() DismissAll() end)
  182. end
  183. end
  184. end
  185.  
  186. InsertHat = function(hatid)
  187. x = game:GetService("InsertService"):LoadAsset(hatid)
  188. for _, v in ipairs(x:GetChildren()) do
  189. if v:IsA("Accoutrement") then
  190. pcall(function() v.Parent = XAdminsAdminPlayer.Character end)
  191. return v
  192. end
  193. end
  194. return x
  195. end
  196.  
  197. function GetProperties(obj)
  198. assert(pcall(function() assert(game.IsA(obj,"Instance")) end),"Should be ROBLOX instance")
  199. local objProper = {}
  200. for i,v in pairs(XAdmin.ExplorerProperties) do
  201. if pcall(function() return obj[v] end) and (type(obj[v]) ~= "userdata" or not obj:FindFirstChild(v)) then
  202. objProper[v] = obj[v]
  203. end
  204. end
  205. return objProper
  206. end
  207.  
  208. function DismissOutput()
  209. tab = Instance.new("Part", game:GetService("Workspace"))
  210. tab.FormFactor = "Custom"
  211. tab.Size = Vector3.new(2.7,3.7,0.01)
  212. tab.Anchored = true
  213. tab.BrickColor = BrickColor.new("Really white")
  214. tab.CanCollide = false
  215. tab.Transparency = 0.3
  216. click = Instance.new("ClickDetector", tab)
  217. click.MaxActivationDistance = math.huge
  218. click.MouseClick:connect(function(ply)
  219. if ply.Name == XAdminsAdminPlayer.Name then
  220. DismissAll()
  221. end
  222. end)
  223. box = Instance.new("SelectionBox", tab)
  224. box.Adornee = tab
  225. box.Color = BrickColor.new("Really black")
  226. gui = Instance.new("BillboardGui", tab)
  227. gui.Adornee = tab
  228. gui.StudsOffset = Vector3.new(0,3,0)
  229. gui.Size = UDim2.new(1,0,1,0)
  230. text = Instance.new("TextLabel", gui)
  231. text.Text = "Dismiss"
  232. text.Position = UDim2.new(0.5,0,0.5,0)
  233. text.Font = "ArialBold"
  234. text.FontSize = "Size24"
  235. text.TextColor3 = Color3.new(1,1,1)
  236. text.TextStrokeColor3 = Color3.new(1,0,0)
  237. text.TextStrokeTransparency = 0
  238. table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
  239. end
  240.  
  241. function match(str)
  242. c = {}
  243. if str:lower() == "me" then
  244. return XAdminsAdminPlayer
  245. end
  246. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  247. if v.Name:sub(1,str:len()):lower() == str:lower() then
  248. return v
  249. end
  250. end
  251. return c
  252. end
  253.  
  254.  
  255. function GetArgs(Text)
  256. if Text == "" or type(Text) ~= "string" then return {""} end
  257. local DivideCOMMAND = " "
  258. local Position, Words = 0, {}
  259. for Start, Stop in function() return string.find(Text, DivideCOMMAND, Position, true) end do
  260. table.insert(Words, string.sub(Text, Position, Start - 1))
  261. Position = Stop + 1
  262. end
  263. table.insert(Words, string.sub(Text, Position))
  264. return Words
  265. end
  266.  
  267. function ExplorerOfTheScript(ExploreThis)
  268. if ExploreThis == game or ExploreThis == nil then
  269. DismissOutput()
  270. for i,Exploring in pairs(XAdmin.ExplorerServices) do
  271. Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end)
  272. end
  273. else
  274. Output("[ Delete Parent ]","",function()
  275. DismissAll()
  276. wait()
  277. Output("Are you sure?","",nil)
  278. Output("Yes","",function() DismissAll() ExploreThis:Destroy()
  279. wait()
  280. DismissOutput()
  281. Output("[ Explorer ]","",function()
  282. DismissAll()
  283. ExplorerOfTheScript(game)
  284. end)
  285. end)
  286. Output("No","",function() DismissAll() ExplorerOfTheScript(ExploreThis) end)
  287. end)
  288. Output("[ Go Back ]","",function()
  289. DismissAll()
  290. ExplorerOfTheScript(ExploreThis.Parent)
  291. end)
  292. Output("[ Refresh ]","",function()
  293. DismissAll()
  294. ExplorerOfTheScript(ExploreThis)
  295. end)
  296. Output("[ Get Parents Properties ]","",function()
  297. DismissAll()
  298. DismissOutput()
  299. for property,value in pairs(GetProperties(ExploreThis)) do
  300. Output(tostring(property).." = "..tostring(value),"",nil)
  301. end
  302. Output("[ Go Back ]","",function()
  303. DismissAll()
  304. ExplorerOfTheScript(ExploreThis)
  305. end)
  306. end)
  307. DismissOutput()
  308. for i,Exploring in pairs(ExploreThis:children()) do
  309. Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end)
  310. end
  311. end
  312. end
  313.  
  314.  
  315. game:GetService("Players").PlayerAdded:connect(function(SaveThePlayer)
  316. table.insert(XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning,{NAME = SaveThePlayer.Name})
  317. CheckForBanned(SaveThePlayer)
  318. end)
  319.  
  320. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  321. CheckForBanned(v)
  322. end
  323.  
  324. NumBanned = #XAdmin.TheBnndNoobs
  325.  
  326. Delay(0, function()
  327. while wait() do
  328. if #XAdmin.TheBnndNoobs ~= NumBanned then
  329. NumBanned = #XAdmin.TheBnndNoobs
  330. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  331. CheckForBanned(v)
  332. end
  333. end
  334. end
  335. end)
  336.  
  337.  
  338. commands = {
  339. {COMMAND = "dt", name = "dt", desc = "Dismisses all OutputFunc", func = function(arg)
  340. DismissAll()
  341. end
  342. };
  343. {COMMAND = "cmds", name = "cmds", desc = "Shows all commands", func = function(arg)
  344. pcall(function()
  345. for i = 1, #commands do
  346. Output(commands[i].name, "", function(ply)
  347. DismissAll()
  348. Output("Name: "..commands[i].name, "", nil)
  349. Output("Use: "..commands[i].desc, "", nil)
  350. Output("Command: "..commands[i].COMMAND, "", nil)
  351. DismissOutput()
  352. end)
  353. end
  354. DismissOutput()
  355. end)
  356. end
  357. };
  358. {COMMAND = "ping", name = "Ping", desc = "Makes a custom message", func = function(msg)
  359. pcall(function()
  360. if msg == "" then
  361. Output("Pong!", "", function() DismissAll() end)
  362. else
  363. Output(msg, "", function() DismissAll() end)
  364. end
  365. end)
  366. end
  367. };
  368. {COMMAND = "kill", name = "Kill", desc = "Kills the player you chose", func = function(msg)
  369. pcall(function()
  370. Founded = match(msg)
  371. Founded.Character:BreakJoints()
  372. end)
  373. end
  374. };
  375. {COMMAND = "kic".."k", name = "Ki".."ck", desc = "Ki".."cks the player you chose", func = function(msg)
  376. pcall(function()
  377. Founded = match(msg)
  378. Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
  379. end)
  380. end
  381. };
  382. {COMMAND = "crash", name = "Crash", desc = "Same as Kick", func = function(msg)
  383. pcall(function()
  384. Founded = match(msg)
  385. Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shutd".."own",2e5+1)
  386. end)
  387. end
  388. };
  389. {COMMAND = "script", name = "Script", desc = "Makes a script", func = function(msg)
  390. pcall(function()
  391. loadstring(msg)()
  392. end)
  393. end
  394. };
  395. {COMMAND = "music", name = "music", desc = "Shows music and plays if clicked.", func = function(msg)
  396. pcall(function()
  397. for i = 1, #XAdmin.AdminsSoundAdminMusic.AdminMusic do
  398. Output(XAdmin.AdminsSoundAdminMusic.AdminMusic[i].NAME, "", function()
  399. MusicStuff = XAdmin.AdminsSoundAdminMusic.AdminMusic[i]
  400. MusicPlay = Instance.new("Sound",XAdminsAdminPlayer.Character)
  401. MusicPlay.Name = MusicStuff.NAME
  402. MusicPlay.SoundId = MusicStuff.ID
  403. MusicPlay.Pitch = MusicStuff.PITCH
  404. MusicPlay.Looped = false
  405. wait(0.2)
  406. MusicPlay:Play()
  407. DismissAll()
  408. end)
  409. end
  410. end)
  411. end
  412. };
  413. {COMMAND = "getage", name = "GetAge", desc = "Gets a players age.", func = function(msg)
  414. pcall(function()
  415. Founded = match(msg)
  416. Output(Founded.Name.. " account age is " ..Founded.AccountAge, "", function() DismissAll() end)
  417. end)
  418. end
  419. };
  420. {COMMAND = "getid", name = "GetId", desc = "Gets a players id.", func = function(msg)
  421. pcall(function()
  422. Founded = match(msg)
  423. Output(Founded.Name.. " account id is " ..Founded.userId, "", function() DismissAll() end)
  424. end)
  425. end
  426. };
  427. {COMMAND = "getpic", name = "GetPicture", desc = "Gets a players picture.", func = function(msg)
  428. pcall(function()
  429. Founded = match(msg)
  430. Output(Founded.Name , "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" ..Founded.Name, function() DismissAll() end)
  431. end)
  432. end
  433. };
  434. {COMMAND = "explore", name = "Explore", desc = "Explorer", func = function(msg)
  435. pcall(function()
  436. ExplorerOfTheScript(game)
  437. end)
  438. end
  439. };
  440. {COMMAND = "shut".."down", name = "Shut".."down", desc = "Shut".."down's a server", func = function(msg)
  441. pcall(function()
  442. Instance.new("StringValue",game.Workspace).Value = string.rep("Shu".."tdown",2e5+1)
  443. end)
  444. end
  445. };
  446. {COMMAND = "inserthat", name = "InsertHat", desc = "Inserts A Hat.", func = function(msg)
  447. pcall(function()
  448. for i = 1, #XAdmin.InsertHatAndGearsIDs.InsertHatIDs do
  449. Output(XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function()
  450. InsertHat(XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].ID)
  451. DismissAll()
  452. Output("Inserted:" ..XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function() DismissAll() end)
  453. end)
  454. end
  455. end)
  456. end
  457. };
  458. {COMMAND = "showstuff", name = "ShowStuff", desc = "Shows server stuff.", func = function(msg)
  459. pcall(function()
  460. for _,v in pairs(XAdmin.ExplorerServices) do
  461. Output(v.Name..": "..tostring(#v:GetChildren()),"",function() DismissAll() end)
  462. end
  463. end)
  464. end
  465. };
  466. {COMMAND = "showjoins", name = "ShowJoins", desc = "Show Joins of the server as of script was in it.", func = function(msg)
  467. pcall(function()
  468. for i = 1, #XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning do
  469. Output(XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning[i].NAME, "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" ..XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning[i].NAME, function() DismissAll() end)
  470. end
  471. if #XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning == 0 then
  472. Output("No joins since script ran","",function() DismissAll() end)
  473. end
  474. end)
  475. end
  476. };
  477. {COMMAND = "b".."a".."n", name = "B".."a".."n", desc = "B".."a".."n".."s a player.", func = function(msg)
  478. pcall(function()
  479. Founded = match(msg)
  480. table.insert(XAdmin.TheBnndNoobs,Founded.Name)
  481. end)
  482. end
  483. };
  484. }
  485.  
  486. function AddCommand(COMMAND,Name,Desc,Func)
  487. table.insert(commands, {COMMAND = COMMAND, name = Name, desc = Desc, func = Func})
  488. end
  489.  
  490. function DismissAll()
  491. for i = 1, #OutputFunc do
  492. Delay(0, function()
  493. for a = 0, 1, .1 do
  494. OutputFunc[i].Output.Transparency = a
  495. OutputFunc[i].sb.Transparency = a
  496. OutputFunc[i].txt.TextTransparency = a
  497. wait()
  498. end
  499. end)
  500. end
  501. while wait() do
  502. if OutputFunc[1].Output.Transparency == 1 then
  503. break
  504. end
  505. end
  506. for i = 1, #OutputFunc do
  507. OutputFunc[i].Output:Destroy()
  508. OutputFunc[i] = nil
  509. end
  510. OutputFunc = {}
  511. end
  512.  
  513. Output("Loaded", "", function() DismissAll() end)
  514. Output("Welcome to Air admin", "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=TheeSadness", function() DismissAll() end)
  515.  
  516. function DisconnectChatting()
  517. DismissAll()
  518. chatConnection:disconnect()
  519. end
  520.  
  521.  
  522. function COMMANDsFunc(msg)
  523. local find = GetArgs(msg)[1]
  524. for i,v in pairs(commands) do
  525. if msg:lower():sub(1, v.COMMAND:len()) == v.COMMAND:lower() then
  526. local COMMAND = msg:sub(v.COMMAND:len()+2)
  527. v.func(COMMAND)
  528. end
  529. end
  530. end
  531.  
  532.  
  533.  
  534. chatConnection = XAdminsAdminPlayer.Chatted:connect(COMMANDsFunc)
  535.  
  536. rotation = 0
  537. while wait() do
  538. rotation = rotation + 0.0001
  539. pcall(function()
  540. for i = 1, #OutputFunc do
  541. pcall(function()
  542. position = XAdminsAdminPlayer.Character.Torso.CFrame
  543. end)
  544. radius = 4 + (#OutputFunc * 0.5)
  545. x = math.cos((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius
  546. y = 0
  547. z = math.sin((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius
  548. pcall(function()
  549. tposition = position:toWorldSpace(CFrame.new(x,y,z):inverse())
  550. end)
  551. pcall(function()
  552. OutputFunc[i].Output.CFrame = CFrame.new(tposition.p, position.p) * CFrame.Angles(math.rad(25),0,0)
  553. end)
  554. end
  555. end)
  556. end
  557. --end of script--
  558. --thanks for using Air!--
  559. --sorry that it wasnt working before fixed that--
  560. --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--
Add Comment
Please, Sign In to add comment