Advertisement
Demonlord27

cobaltsswhatever

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