Jaden11

Untitled

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