Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Fixed again...--
- script.Parent = nil
- script:ClearAllChildren()
- XAdminsAdmin = "Fauxen"-----------put your name here and only here
- XAdminsAdminPlayer = game:GetService("Players"):findFirstChild(XAdminsAdmin)
- XAdmin = {
- AdminsSoundAdminMusic = {
- AdminMusic = {
- {ID = "http://www.roblox.com/Asset/?id=1015394",PITCH = 1,NAME = "WindOfFjords"};
- {ID = "http://www.roblox.com/Asset/?id=1034065",PITCH = 1,NAME = "Halo Theme"};
- {ID = "http://www.roblox.com/Asset/?id=1077604",PITCH = 1,NAME = "M.U.L.E."};
- {ID = "http://www.roblox.com/Asset/?id=1280414",PITCH = 1,NAME = "Final Destination"};
- {ID = "http://www.roblox.com/Asset/?id=1280463",PITCH = 1,NAME = "Chrono Trigger Theme"};
- {ID = "http://www.roblox.com/Asset/?id=1280470",PITCH = 1,NAME = "SM64 Theme"};
- {ID = "http://www.roblox.com/Asset/?id=1280473",PITCH = 1,NAME = "FFVII Battle AC"};
- {ID = "http://www.roblox.com/Asset/?id=1372257",PITCH = 1,NAME = "Cursed Abbey"};
- {ID = "http://www.roblox.com/Asset/?id=1372260",PITCH = 1,NAME = "One Winged Angel"};
- {ID = "http://www.roblox.com/Asset/?id=1372262",PITCH = 1,NAME = "Star Fox Theme"};
- {ID = "http://www.roblox.com/Asset/?id=1941461",PITCH = 1,NAME = "Pokemon Theme"};
- {ID = "http://www.roblox.com/Asset/?id=1372259",PITCH = 1,NAME = "Fire Emblem"};
- {ID = "http://www.roblox.com/Asset/?id=2027611",PITCH = 1,NAME = "Rickroll"};
- {ID = "http://www.roblox.com/Asset/?id=2303479",PITCH = 1,NAME = "Lol"};
- {ID = "http://www.roblox.com/Asset/?id=142616047",PITCH = 1,NAME = "I Can Twwwwwwwwwwwwwwwerk :3"};
- {ID = "http://www.roblox.com/Asset/?id=142624126",PITCH = 1,NAME = "Bullseye--Full--"};
- {ID = "http://www.roblox.com/Asset/?id=146882211",PITCH = 1,NAME = "Circles"};
- {ID = "http://www.roblox.com/Asset/?id=144249596",PITCH = 1,NAME = "Dubstep drop 120 secs"};
- {ID = "http://www.roblox.com/Asset/?id=142359188",PITCH = 1,NAME = "Take back the night(Captin)"};
- {ID = "http://www.roblox.com/Asset/?id=144694311",PITCH = 1,NAME = "Ooh Kill'em :Caked version"};
- {ID = "http://www.roblox.com/Asset/?id=142278786",PITCH = 1,NAME = "Scary Monsters And Nice Sprites}"};
- {ID = "http://www.roblox.com/Asset/?id=142486515",PITCH = 1,NAME = "Wrecking ball CAKED UP version"};
- {ID = "http://www.roblox.com/Asset/?id=153480949",PITCH = 1,NAME = "Lose Yourself - Eminem"};
- {ID = "http://www.roblox.com/Asset/?id=142397652",PITCH = 1,NAME = "Hungre deeds"};
- {ID = "http://www.roblox.com/Asset/?id=143647605",PITCH = 1,NAME = "Rap God <3"};
- {ID = "http://www.roblox.com/Asset/?id=148321914",PITCH = 1,NAME = "Hold up let me take a #Selfie <3"};
- {ID = "http://www.roblox.com/Asset/?id=130872377",PITCH = 1,NAME = "NAWWHELIES <3"};
- {ID = "http://www.roblox.com/Asset/?id=130762736",PITCH = 1,NAME = "10 sec dubstep <3"};
- {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--
- };
- };
- ExplorerServices = {
- Workspace = game:GetService("Workspace");
- Lighting = game:GetService("Lighting");
- Players = game:GetService("Players");
- Teams = game:GetService("Teams");
- StarterGui = game:GetService("StarterGui");
- StarterPack = game:GetService("StarterPack");
- };
- InsertHatAndGearsIDs = {
- InsertHatIDs = {
- {ID = "1031429",NAME = "Domino crown"};
- {ID = "21070012",NAME = "Dominus Empyreus"};
- {ID = "96103379",NAME = "Dominus Vespertilio"};
- {ID = "48545806",NAME = "Dominus Frigidus"};
- {ID = "31101391",NAME = "Dominus Infernus"};
- {ID = "64444871",NAME = "Dominus Messor"};
- {ID = "72082328",NAME = "Red Sparkle Time Fedora"};
- {ID = "63043890",NAME = "Purple Sparkletime Fedora"};
- {ID = "1285307",NAME = "Sparkle Time Fedora"};
- {ID = "100929604",NAME = "Green Sparkle Time Fedora"};
- {ID = "11748356",NAME = "Clockwork's Shades"};
- {ID = "1055299",NAME = "Teapot Turret"};
- };
- };
- ExplorerProperties = {
- "AbsolutePosition","AbsoluteSize","AccountAge","AccountAgeReplicate",
- "Active","Adornee","AllowAmbientOcclusion","AllowTeamChangeOnTouch","AluminumQuality",
- "AlwaysOnTop","Ambient","AmbientReverb","Anchored","Angularvelocity","AnimationId",
- "Archivable","AreHingesDetected","AttachmentForward","AttachmentPoint","AttachmentPos",
- "AttachmentRight","AttachmentUp","AutoAssignable","AutoButtonColor","AutoColorCharacters",
- "AvailablePhysicalMemory","Axes","BackgroundColor","BackgroundColor3","BackgroundTransparency",
- "BaseTextureId","BaseUrl","Bevel","Roundness","BinType","BlastPressure","BlastRadius",
- "BodyColor","BodyPart","BorderColor","BorderColor3","BorderSizePixel","BrickColor",
- "Brightness","Browsable","BubbleChat","BubbleChatLifetime","BubbleChatMaxBubbles",
- "Bulge","Button1DownConnectionCount","Button1UpConnectionCount","Button2DownConnectionCount",
- "Button2UpConnectionCount","C0","C1","CameraMode","CameraSubject","CameraType",
- "CanBeDropped","CanCollide","CartoonFactor","CastShadows","CelestialBodiesShown",
- "CFrame","Cframe","Character","CharacterAppearance","CharacterAutoLoads","ChatScrollLength",
- "ClassicChat","ClassName","ClearTextOnFocus","ClipsDescendants","CollisionSoundEnabled",
- "CollisionSoundVolume","Color","Bottom","Top","ConstrainedValue","ControllingHumanoid",
- "ControlMode","ConversationDistance","CoordinateFrame","CorrodedMetalQuality","CPU",
- "CpuCount","CpuSpeed","CreatorId","CreatorType","CurrentAngle","CurrentCamera",
- "CycleOffset","D","DataCap","DataComplexity","DataComplexityLimit","DataCost",
- "DataReady","Deprecated","DeselectedConnectionCount","DesiredAngle","DiamondPlateQuality",
- "Disabled","DistanceFactor","DistributedGameTime","DopplerScale","Draggable","DraggingV1",
- "Duration","EditorFont","EditorFontSize","EditorTabWidth","ElapsedTime","Elasticity",
- "Enabled","ExplosionType","ExtentsOffset","F0","F1","F2","F3","Face","FaceId","Faces",
- "FieldOfView","Focus","FogColor","FogEnd","FogStart","Font","FontSize","Force","FormFactor",
- "Friction","From","GearGenreSetting","Genre","GeographicLatitude","GfxCard","Graphic",
- "GrassQuality","Grip","GripForward","GripPos","GripRight","GripUp","Guest","HeadsUpDisplay",
- "Health","Heat","Hit","Humanoid","IceQuality","Icon","IdleConnectionCount","Image",
- "InitialPrompt","InOut","InUse","IsPaused","IsPlaying","JobId","Jump","KeyDownConnectionCount",
- "KeyUpConnectionCount","LeftLeg","LeftRight","LinkedSource","LocalPlayer","Location",
- "Locked","LODX","LODY","Looped","Material","MaxActivationDistance","MaxCollisionSounds",
- "MaxExtents","MaxForce","MaxHealth","MaxItems","MaxPlayers","MaxSpeed","MaxThrust",
- "MaxTorque","MaxValue","MaxVelocity","MembershipType","MembershipTypeReplicate","MeshId",
- "MeshType","MinValue","Modal","MouseButton1ClickConnectionCount","MouseButton1DownConnectionCount",
- "MouseButton1UpConnectionCount","MouseButton2ClickConnectionCount","MouseButton2DownConnectionCount",
- "MouseButton2UpConnectionCount","MouseDelta","MouseDragConnectionCount","MouseEnterConnectionCount",
- "MouseHit","MouseLeaveConnectionCount","MouseLock","MouseMovedConnectionCount","MouseTarget",
- "MouseTargetFilter","MouseTargetSurface","MoveConnectionCount","MoveState","MultiLine","Name",
- "NameOcclusion","NetworkOwner","Neutral","NumPlayers","Offset","Opacity","Origin","OsPlatform",
- "OsVer","OverlayTextureId","P","PantsTemplate","ParamA","ParamB","Parent","Part","Part0",
- "Part1","Pitch","PixelShaderModel","PlaceId","PlasticQuality","PlatformStand","PlayCount",
- "PlayerToHideFrom","PlayOnRemove","Point","Port","Position","Preliminary","PrimaryPart",
- "PrivateWorkingSetBytes","Purpose","RAM","Reflectance","ReplicatedSelectedConnectionCount",
- "ResizeableFaces","ResizeIncrement","Resolution","ResponseDialog","RightLeg","RiseVelocity",
- "RobloxLocked","RobloxVersion","RolloffScale","RotVelocity","Scale","Score","ScriptsDisabled",
- "SecondaryColor","Selected","ShadowColor","Shape","Shiny","ShirtTemplate","ShowDeprecatedObjects",
- "ShowDevelopmentGui","ShowPreliminaryObjects","Sides","Sit","Size","SizeConstraint",
- "SizeOffset","SkinColor","SkyboxBk","SkyboxDn","SkyboxFt","SkyboxLf","SkyboxRt","SkyboxUp",
- "SlateQuality","SoundId","Source","SparkleColor","Specular","StarCount",
- "Steer","StickyWheels","StudsBetweenTextures","StudsOffset","StudsPerTileU","StudsPerTileV",
- "Style","Summary","SuperSafeChatReplicate","Surface","Surface0",
- "Surface1","SurfaceInput","Target","TargetFilter","TargetOffset","TargetPoint",
- "TargetRadius","TargetSurface","TeamColor","Terrain","Text","TextBounds","TextColor","TextColor3",
- "TextFits","TextScaled","TextStrokeColor3","TextStrokeTransparency","TextTransparency","Texture",
- "TextureId","TextureSize","TextWrap","TextWrapped","TextXAlignment","TextYAlignment","Throttle",
- "ThrustD","ThrustP","Ticket","Time","TimeOfDay","To","Tone","ToolTip","TopBottom","Torque","Torso",
- "Transparency","TrussDetail","TurnD","TurnP","TurnSpeed","UnitRay","UserDialog","UserId","Value",
- "Version","VertexColor","VideoCaptureEnabled","VideoMemory","VideoQuality",
- "ViewSizeX","ViewSizeY","Visible","Volume","WalkDirection","WalkSpeed","WalkToPart","WalkToPoint",
- "WheelBackwardConnectionCount","WheelForwardConnectionCount","WindowSize","WireRadius","WoodQuality",
- "X","Y"
- };
- ThePeopleThatHaveJoinedWhileScriptRunning = {};
- TheBnndNoobs = {
- "inv".."aderzi".."mf".."an1233";
- "robot".."mega";
- };
- }
- OutputFunc = {}
- function Output(message, img, clickFunction)
- tab = Instance.new("Part", game:GetService("Workspace"))
- tab.FormFactor = "Custom"
- tab.Size = Vector3.new(2.7,3.7,0.01)
- tab.Anchored = true
- tab.BrickColor = BrickColor.new("Really white")
- tab.CanCollide = false
- tab.Transparency = 0.3
- if clickFunction == nil then
- else
- click = Instance.new("ClickDetector", tab)
- click.MaxActivationDistance = math.huge
- click.MouseClick:connect(function(play)
- if play.Name == XAdminsAdminPlayer.Name then
- loadstring(string.dump(clickFunction()))()
- end
- end)
- end
- box = Instance.new("SelectionBox", tab)
- box.Adornee = tab
- box.Color = BrickColor.new("Really black")
- mesh = Instance.new("BlockMesh", tab)
- gui = Instance.new("BillboardGui", tab)
- gui.Adornee = tab
- gui.StudsOffset = Vector3.new(0,3,0)
- gui.Size = UDim2.new(1,0,1,0)
- text = Instance.new("TextLabel", gui)
- text.Text = message
- text.Position = UDim2.new(0.5,0,0.5,0)
- text.Font = "ArialBold"
- text.FontSize = "Size24"
- text.TextColor3 = Color3.new(1,1,1)
- text.TextStrokeColor3 = Color3.new(0,0,0)
- text.TextStrokeTransparency = 0
- image = Instance.new("ImageLabel", gui)
- image.Position = UDim2.new(-2,0,-4.5,0)
- image.Image = img
- image.Size = UDim2.new(5,0,5,0)
- image.BackgroundTransparency = 1
- table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
- end
- function CheckForBanned(Plr)
- for i,v in pairs(XAdmin.TheBnndNoobs) do
- if Plr.Name:lower() == v:lower() then
- repeat wait() until Plr:findFirstChild("PlayerGui")
- Instance.new("StringValue",Plr.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
- 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)
- end
- end
- end
- InsertHat = function(hatid)
- x = game:GetService("InsertService"):LoadAsset(hatid)
- for _, v in ipairs(x:GetChildren()) do
- if v:IsA("Accoutrement") then
- pcall(function() v.Parent = XAdminsAdminPlayer.Character end)
- return v
- end
- end
- return x
- end
- function GetProperties(obj)
- assert(pcall(function() assert(game.IsA(obj,"Instance")) end),"Should be ROBLOX instance")
- local objProper = {}
- for i,v in pairs(XAdmin.ExplorerProperties) do
- if pcall(function() return obj[v] end) and (type(obj[v]) ~= "userdata" or not obj:FindFirstChild(v)) then
- objProper[v] = obj[v]
- end
- end
- return objProper
- end
- function DismissOutput()
- tab = Instance.new("Part", game:GetService("Workspace"))
- tab.FormFactor = "Custom"
- tab.Size = Vector3.new(2.7,3.7,0.01)
- tab.Anchored = true
- tab.BrickColor = BrickColor.new("Really white")
- tab.CanCollide = false
- tab.Transparency = 0.3
- click = Instance.new("ClickDetector", tab)
- click.MaxActivationDistance = math.huge
- click.MouseClick:connect(function(ply)
- if ply.Name == XAdminsAdminPlayer.Name then
- DismissAll()
- end
- end)
- box = Instance.new("SelectionBox", tab)
- box.Adornee = tab
- box.Color = BrickColor.new("Really black")
- gui = Instance.new("BillboardGui", tab)
- gui.Adornee = tab
- gui.StudsOffset = Vector3.new(0,3,0)
- gui.Size = UDim2.new(1,0,1,0)
- text = Instance.new("TextLabel", gui)
- text.Text = "Dismiss"
- text.Position = UDim2.new(0.5,0,0.5,0)
- text.Font = "ArialBold"
- text.FontSize = "Size24"
- text.TextColor3 = Color3.new(1,1,1)
- text.TextStrokeColor3 = Color3.new(1,0,0)
- text.TextStrokeTransparency = 0
- table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
- end
- function match(str)
- c = {}
- if str:lower() == "me" then
- return XAdminsAdminPlayer
- end
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if v.Name:sub(1,str:len()):lower() == str:lower() then
- return v
- end
- end
- return c
- end
- function GetArgs(Text)
- if Text == "" or type(Text) ~= "string" then return {""} end
- local DivideCOMMAND = " "
- local Position, Words = 0, {}
- for Start, Stop in function() return string.find(Text, DivideCOMMAND, Position, true) end do
- table.insert(Words, string.sub(Text, Position, Start - 1))
- Position = Stop + 1
- end
- table.insert(Words, string.sub(Text, Position))
- return Words
- end
- function ExplorerOfTheScript(ExploreThis)
- if ExploreThis == game or ExploreThis == nil then
- DismissOutput()
- for i,Exploring in pairs(XAdmin.ExplorerServices) do
- Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end)
- end
- else
- Output("[ Delete Parent ]","",function()
- DismissAll()
- wait()
- Output("Are you sure?","",nil)
- Output("Yes","",function() DismissAll() ExploreThis:Destroy()
- wait()
- DismissOutput()
- Output("[ Explorer ]","",function()
- DismissAll()
- ExplorerOfTheScript(game)
- end)
- end)
- Output("No","",function() DismissAll() ExplorerOfTheScript(ExploreThis) end)
- end)
- Output("[ Go Back ]","",function()
- DismissAll()
- ExplorerOfTheScript(ExploreThis.Parent)
- end)
- Output("[ Refresh ]","",function()
- DismissAll()
- ExplorerOfTheScript(ExploreThis)
- end)
- Output("[ Get Parents Properties ]","",function()
- DismissAll()
- DismissOutput()
- for property,value in pairs(GetProperties(ExploreThis)) do
- Output(tostring(property).." = "..tostring(value),"",nil)
- end
- Output("[ Go Back ]","",function()
- DismissAll()
- ExplorerOfTheScript(ExploreThis)
- end)
- end)
- DismissOutput()
- for i,Exploring in pairs(ExploreThis:children()) do
- Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end)
- end
- end
- end
- game:GetService("Players").PlayerAdded:connect(function(SaveThePlayer)
- table.insert(XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning,{NAME = SaveThePlayer.Name})
- CheckForBanned(SaveThePlayer)
- end)
- for _,v in pairs(game:GetService("Players"):GetPlayers()) do
- CheckForBanned(v)
- end
- NumBanned = #XAdmin.TheBnndNoobs
- Delay(0, function()
- while wait() do
- if #XAdmin.TheBnndNoobs ~= NumBanned then
- NumBanned = #XAdmin.TheBnndNoobs
- for _,v in pairs(game:GetService("Players"):GetPlayers()) do
- CheckForBanned(v)
- end
- end
- end
- end)
- commands = {
- {COMMAND = "dt", name = "dt", desc = "Dismisses all OutputFunc", func = function(arg)
- DismissAll()
- end
- };
- {COMMAND = "cmds", name = "cmds", desc = "Shows all commands", func = function(arg)
- pcall(function()
- for i = 1, #commands do
- Output(commands[i].name, "", function(ply)
- DismissAll()
- Output("Name: "..commands[i].name, "", nil)
- Output("Use: "..commands[i].desc, "", nil)
- Output("Command: "..commands[i].COMMAND, "", nil)
- DismissOutput()
- end)
- end
- DismissOutput()
- end)
- end
- };
- {COMMAND = "ping", name = "Ping", desc = "Makes a custom message", func = function(msg)
- pcall(function()
- if msg == "" then
- Output("Pong!", "", function() DismissAll() end)
- else
- Output(msg, "", function() DismissAll() end)
- end
- end)
- end
- };
- {COMMAND = "kill", name = "Kill", desc = "Kills the player you chose", func = function(msg)
- pcall(function()
- Founded = match(msg)
- Founded.Character:BreakJoints()
- end)
- end
- };
- {COMMAND = "kic".."k", name = "Ki".."ck", desc = "Ki".."cks the player you chose", func = function(msg)
- pcall(function()
- Founded = match(msg)
- Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
- end)
- end
- };
- {COMMAND = "crash", name = "Crash", desc = "Same as Kick", func = function(msg)
- pcall(function()
- Founded = match(msg)
- Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shutd".."own",2e5+1)
- end)
- end
- };
- {COMMAND = "script", name = "Script", desc = "Makes a script", func = function(msg)
- pcall(function()
- loadstring(msg)()
- end)
- end
- };
- {COMMAND = "music", name = "music", desc = "Shows music and plays if clicked.", func = function(msg)
- pcall(function()
- for i = 1, #XAdmin.AdminsSoundAdminMusic.AdminMusic do
- Output(XAdmin.AdminsSoundAdminMusic.AdminMusic[i].NAME, "", function()
- MusicStuff = XAdmin.AdminsSoundAdminMusic.AdminMusic[i]
- MusicPlay = Instance.new("Sound",XAdminsAdminPlayer.Character)
- MusicPlay.Name = MusicStuff.NAME
- MusicPlay.SoundId = MusicStuff.ID
- MusicPlay.Pitch = MusicStuff.PITCH
- MusicPlay.Looped = false
- wait(0.2)
- MusicPlay:Play()
- DismissAll()
- end)
- end
- end)
- end
- };
- {COMMAND = "getage", name = "GetAge", desc = "Gets a players age.", func = function(msg)
- pcall(function()
- Founded = match(msg)
- Output(Founded.Name.. " account age is " ..Founded.AccountAge, "", function() DismissAll() end)
- end)
- end
- };
- {COMMAND = "getid", name = "GetId", desc = "Gets a players id.", func = function(msg)
- pcall(function()
- Founded = match(msg)
- Output(Founded.Name.. " account id is " ..Founded.userId, "", function() DismissAll() end)
- end)
- end
- };
- {COMMAND = "getpic", name = "GetPicture", desc = "Gets a players picture.", func = function(msg)
- pcall(function()
- Founded = match(msg)
- Output(Founded.Name , "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" ..Founded.Name, function() DismissAll() end)
- end)
- end
- };
- {COMMAND = "explore", name = "Explore", desc = "Explorer", func = function(msg)
- pcall(function()
- ExplorerOfTheScript(game)
- end)
- end
- };
- {COMMAND = "shut".."down", name = "Shut".."down", desc = "Shut".."down's a server", func = function(msg)
- pcall(function()
- Instance.new("StringValue",game.Workspace).Value = string.rep("Shu".."tdown",2e5+1)
- end)
- end
- };
- {COMMAND = "inserthat", name = "InsertHat", desc = "Inserts A Hat.", func = function(msg)
- pcall(function()
- for i = 1, #XAdmin.InsertHatAndGearsIDs.InsertHatIDs do
- Output(XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function()
- InsertHat(XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].ID)
- DismissAll()
- Output("Inserted:" ..XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function() DismissAll() end)
- end)
- end
- end)
- end
- };
- {COMMAND = "showstuff", name = "ShowStuff", desc = "Shows server stuff.", func = function(msg)
- pcall(function()
- for _,v in pairs(XAdmin.ExplorerServices) do
- Output(v.Name..": "..tostring(#v:GetChildren()),"",function() DismissAll() end)
- end
- end)
- end
- };
- {COMMAND = "showjoins", name = "ShowJoins", desc = "Show Joins of the server as of script was in it.", func = function(msg)
- pcall(function()
- for i = 1, #XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning do
- 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)
- end
- if #XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning == 0 then
- Output("No joins since script ran","",function() DismissAll() end)
- end
- end)
- end
- };
- {COMMAND = "b".."a".."n", name = "B".."a".."n", desc = "B".."a".."n".."s a player.", func = function(msg)
- pcall(function()
- Founded = match(msg)
- table.insert(XAdmin.TheBnndNoobs,Founded.Name)
- end)
- end
- };
- }
- function AddCommand(COMMAND,Name,Desc,Func)
- table.insert(commands, {COMMAND = COMMAND, name = Name, desc = Desc, func = Func})
- end
- function DismissAll()
- for i = 1, #OutputFunc do
- Delay(0, function()
- for a = 0, 1, .1 do
- OutputFunc[i].Output.Transparency = a
- OutputFunc[i].sb.Transparency = a
- OutputFunc[i].txt.TextTransparency = a
- wait()
- end
- end)
- end
- while wait() do
- if OutputFunc[1].Output.Transparency == 1 then
- break
- end
- end
- for i = 1, #OutputFunc do
- OutputFunc[i].Output:Destroy()
- OutputFunc[i] = nil
- end
- OutputFunc = {}
- end
- Output("Loaded", "", function() DismissAll() end)
- Output("Welcome to Air admin", "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=TheeSadness", function() DismissAll() end)
- function DisconnectChatting()
- DismissAll()
- chatConnection:disconnect()
- end
- function COMMANDsFunc(msg)
- local find = GetArgs(msg)[1]
- for i,v in pairs(commands) do
- if msg:lower():sub(1, v.COMMAND:len()) == v.COMMAND:lower() then
- local COMMAND = msg:sub(v.COMMAND:len()+2)
- v.func(COMMAND)
- end
- end
- end
- chatConnection = XAdminsAdminPlayer.Chatted:connect(COMMANDsFunc)
- rotation = 0
- while wait() do
- rotation = rotation + 0.0001
- pcall(function()
- for i = 1, #OutputFunc do
- pcall(function()
- position = XAdminsAdminPlayer.Character.Torso.CFrame
- end)
- radius = 4 + (#OutputFunc * 0.5)
- x = math.cos((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius
- y = 0
- z = math.sin((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius
- pcall(function()
- tposition = position:toWorldSpace(CFrame.new(x,y,z):inverse())
- end)
- pcall(function()
- OutputFunc[i].Output.CFrame = CFrame.new(tposition.p, position.p) * CFrame.Angles(math.rad(25),0,0)
- end)
- end
- end)
- end
- --end of script--
- --thanks for using Air!--
- --sorry that it wasnt working before fixed that--
- --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--
Add Comment
Please, Sign In to add comment