SHOW:
|
|
- or go back to the newest paste.
| 1 | script.Parent = nil | |
| 2 | - | RoAdminsAdmin = "MyNameIs1222"-----------put your name here and only here |
| 2 | + | RoAdminsAdmin = "psynaruto"-----------put your name here and only here |
| 3 | RoAdminsAdminPlayer = game:GetService("Players"):findFirstChild(RoAdminsAdmin)
| |
| 4 | RoAdmin = {
| |
| 5 | AdminsSoundAdminMusic = {
| |
| 6 | AdminMusic = {
| |
| 7 | {ID = "http://www.roblox.com/Asset/?id=1015394",PITCH = 1,NAME = "WindOfFjords"};
| |
| 8 | {ID = "http://www.roblox.com/Asset/?id=1034065",PITCH = 1,NAME = "Halo Theme"};
| |
| 9 | {ID = "http://www.roblox.com/Asset/?id=1077604",PITCH = 1,NAME = "M.U.L.E."};
| |
| 10 | {ID = "http://www.roblox.com/Asset/?id=1280414",PITCH = 1,NAME = "Final Destination"};
| |
| 11 | {ID = "http://www.roblox.com/Asset/?id=1280463",PITCH = 1,NAME = "Chrono Trigger Theme"};
| |
| 12 | {ID = "http://www.roblox.com/Asset/?id=1280470",PITCH = 1,NAME = "SM64 Theme"};
| |
| 13 | {ID = "http://www.roblox.com/Asset/?id=1280473",PITCH = 1,NAME = "FFVII Battle AC"};
| |
| 14 | {ID = "http://www.roblox.com/Asset/?id=1372257",PITCH = 1,NAME = "Cursed Abbey"};
| |
| 15 | {ID = "http://www.roblox.com/Asset/?id=1372260",PITCH = 1,NAME = "One Winged Angel"};
| |
| 16 | {ID = "http://www.roblox.com/Asset/?id=1372262",PITCH = 1,NAME = "Star Fox Theme"};
| |
| 17 | {ID = "http://www.roblox.com/Asset/?id=1372261",PITCH = 1,NAME = "Pokemon Theme"};
| |
| 18 | {ID = "http://www.roblox.com/Asset/?id=1372259",PITCH = 1,NAME = "Fire Emblem"};
| |
| 19 | {ID = "http://www.roblox.com/Asset/?id=2027611",PITCH = 1,NAME = "Rickroll"};
| |
| 20 | {ID = "http://www.roblox.com/Asset/?id=2303479",PITCH = 1,NAME = "Lol"};
| |
| 21 | {ID = "http://www.roblox.com/Asset/?id=5985787",PITCH = 1,NAME = "Schala"};
| |
| 22 | {ID = "http://www.roblox.com/Asset/?id=5986151",PITCH = 1,NAME = "WomanKing"};
| |
| 23 | {ID = "http://www.roblox.com/Asset/?id=5982975",PITCH = 1,NAME = "TheBuzzer"};
| |
| 24 | {ID = "http://www.roblox.com/Asset/?id=110735374",PITCH = 1,NAME = "Darkest Child 2"};
| |
| 25 | {ID = "http://www.roblox.com/Asset/?id=110735379",PITCH = 1,NAME = "Movement Proposition 2"};
| |
| 26 | {ID = "http://www.roblox.com/Asset/?id=45819151",PITCH = 1,NAME = "Temple Of The Ninja Masters"};
| |
| 27 | {ID = "http://www.roblox.com/Asset/?id=11420933",PITCH = 1,NAME = "TOPW"};
| |
| 28 | {ID = "http://www.roblox.com/Asset/?id=27697707",PITCH = 3,NAME = "Daniel Bautista - Intro"};
| |
| 29 | {ID = "http://www.roblox.com/Asset/?id=27697707",PITCH = 1,NAME = "Daniel Bautista - Intro(Pitch 1)"};
| |
| 30 | {ID = "http://www.roblox.com/Asset/?id=8610025",PITCH = 1,NAME = "Nerezza"};
| |
| 31 | {ID = "http://www.roblox.com/Asset/?id=27697735",PITCH = 3,NAME = "Jeff Syndicate - Hip Hop"};
| |
| 32 | {ID = "http://www.roblox.com/Asset/?id=27697743",PITCH = 3,NAME = "Zero Project - Gothic"};
| |
| 33 | {ID = "http://www.roblox.com/Asset/?id=27697713",PITCH = 3,NAME = "Daniel Bautista - Music for a Film"};
| |
| 34 | {ID = "http://www.roblox.com/Asset/?id=27697719",PITCH = 3,NAME = "Daniel Bautista - Flight of the Bumblebee"};
| |
| 35 | {ID = "http://www.roblox.com/Asset/?id=27697699",PITCH = 3,NAME = "Daniel Bautista - Gothic"};
| |
| 36 | }; | |
| 37 | }; | |
| 38 | ExplorerServices = {
| |
| 39 | Workspace = game:GetService("Workspace");
| |
| 40 | Lighting = game:GetService("Lighting");
| |
| 41 | Players = game:GetService("Players");
| |
| 42 | Teams = game:GetService("Teams");
| |
| 43 | StarterGui = game:GetService("StarterGui");
| |
| 44 | StarterPack = game:GetService("StarterPack");
| |
| 45 | }; | |
| 46 | InsertHatAndGearsIDs = {
| |
| 47 | InsertHatIDs = {
| |
| 48 | {ID = "1031429",NAME = "Domino crown"};
| |
| 49 | {ID = "21070012",NAME = "Dominus Empyreus"};
| |
| 50 | {ID = "96103379",NAME = "Dominus Vespertilio"};
| |
| 51 | {ID = "48545806",NAME = "Dominus Frigidus"};
| |
| 52 | {ID = "31101391",NAME = "Dominus Infernus"};
| |
| 53 | {ID = "64444871",NAME = "Dominus Messor"};
| |
| 54 | {ID = "72082328",NAME = "Red Sparkle Time Fedora"};
| |
| 55 | {ID = "63043890",NAME = "Purple Sparkletime Fedora"};
| |
| 56 | {ID = "1285307",NAME = "Sparkle Time Fedora"};
| |
| 57 | {ID = "100929604",NAME = "Green Sparkle Time Fedora"};
| |
| 58 | {ID = "11748356",NAME = "Clockwork's Shades"};
| |
| 59 | {ID = "1235488",NAME = "Clockwork's Headphones"};
| |
| 60 | {ID = "1272714",NAME = "Wanwood Antlers"};
| |
| 61 | {ID = "9910070",NAME = "The Wanwood Crown"};
| |
| 62 | {ID = "26011378",NAME = ":( Star Tailslide"};
| |
| 63 | {ID = "47697285",NAME = ":( Purple Indy"};
| |
| 64 | {ID = "125013769",NAME = "Linked Sword"};
| |
| 65 | {ID = "121389847",NAME = "Musica Dominator"};
| |
| 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 | "romo800"; | |
| 134 | }; | |
| 135 | } | |
| 136 | ||
| 137 | ||
| 138 | OutputFunc = {}
| |
| 139 | function Output(message, img, clickFunction) | |
| 140 | tab = Instance.new("Part", game:GetService("Workspace"))
| |
| 141 | tab.FormFactor = "Custom" | |
| 142 | tab.Size = Vector3.new(2.7,3.7,0.01) | |
| 143 | tab.Anchored = true | |
| 144 | tab.BrickColor = BrickColor.new("Really blue")
| |
| 145 | tab.CanCollide = false | |
| 146 | tab.Transparency = 0.3 | |
| 147 | if clickFunction == nil then | |
| 148 | else | |
| 149 | click = Instance.new("ClickDetector", tab)
| |
| 150 | click.MaxActivationDistance = math.huge | |
| 151 | click.MouseClick:connect(function(play) | |
| 152 | if play.Name == RoAdminsAdminPlayer.Name then | |
| 153 | loadstring(string.dump(clickFunction()))() | |
| 154 | end | |
| 155 | end) | |
| 156 | end | |
| 157 | box = Instance.new("SelectionBox", tab)
| |
| 158 | box.Adornee = tab | |
| 159 | box.Color = BrickColor.new("Black")
| |
| 160 | mesh = Instance.new("BlockMesh", tab)
| |
| 161 | gui = Instance.new("BillboardGui", tab)
| |
| 162 | gui.Adornee = tab | |
| 163 | gui.StudsOffset = Vector3.new(0,3,0) | |
| 164 | gui.Size = UDim2.new(1,0,1,0) | |
| 165 | text = Instance.new("TextLabel", gui)
| |
| 166 | text.Text = message | |
| 167 | text.Position = UDim2.new(0.5,0,0.5,0) | |
| 168 | text.Font = "ArialBold" | |
| 169 | text.FontSize = "Size24" | |
| 170 | text.TextColor3 = Color3.new(1,1,1) | |
| 171 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
| 172 | text.TextStrokeTransparency = 0 | |
| 173 | image = Instance.new("ImageLabel", gui)
| |
| 174 | image.Position = UDim2.new(-2,0,-4.5,0) | |
| 175 | image.Image = img | |
| 176 | image.Size = UDim2.new(5,0,5,0) | |
| 177 | image.BackgroundTransparency = 1 | |
| 178 | table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
| |
| 179 | end | |
| 180 | ||
| 181 | function CheckForBanned(Plr) | |
| 182 | for i,v in pairs(RoAdmin.TheBnndNoobs) do | |
| 183 | if Plr.Name:lower() == v:lower() then | |
| 184 | repeat wait() until Plr:findFirstChild("PlayerGui")
| |
| 185 | Instance.new("StringValue",Plr.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
| |
| 186 | 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)
| |
| 187 | end | |
| 188 | end | |
| 189 | end | |
| 190 | ||
| 191 | InsertHat = function(hatid) | |
| 192 | x = game:GetService("InsertService"):LoadAsset(hatid)
| |
| 193 | for _, v in ipairs(x:GetChildren()) do | |
| 194 | if v:IsA("Accoutrement") then
| |
| 195 | pcall(function() v.Parent = RoAdminsAdminPlayer.Character end) | |
| 196 | return v | |
| 197 | end | |
| 198 | end | |
| 199 | return x | |
| 200 | end | |
| 201 | ||
| 202 | function GetProperties(obj) | |
| 203 | assert(pcall(function() assert(game.IsA(obj,"Instance")) end),"Should be ROBLOX instance") | |
| 204 | local objProper = {}
| |
| 205 | for i,v in pairs(RoAdmin.ExplorerProperties) do | |
| 206 | if pcall(function() return obj[v] end) and (type(obj[v]) ~= "userdata" or not obj:FindFirstChild(v)) then | |
| 207 | objProper[v] = obj[v] | |
| 208 | end | |
| 209 | end | |
| 210 | return objProper | |
| 211 | end | |
| 212 | ||
| 213 | function DismissOutput() | |
| 214 | tab = Instance.new("Part", game:GetService("Workspace"))
| |
| 215 | tab.FormFactor = "Custom" | |
| 216 | tab.Size = Vector3.new(2.7,3.7,0.01) | |
| 217 | tab.Anchored = true | |
| 218 | tab.BrickColor = BrickColor.new("Really red")
| |
| 219 | tab.CanCollide = false | |
| 220 | tab.Transparency = 0.3 | |
| 221 | click = Instance.new("ClickDetector", tab)
| |
| 222 | click.MaxActivationDistance = math.huge | |
| 223 | click.MouseClick:connect(function(ply) | |
| 224 | if ply.Name == RoAdminsAdminPlayer.Name then | |
| 225 | DismissAll() | |
| 226 | end | |
| 227 | end) | |
| 228 | box = Instance.new("SelectionBox", tab)
| |
| 229 | box.Adornee = tab | |
| 230 | box.Color = BrickColor.new("Really red")
| |
| 231 | gui = Instance.new("BillboardGui", tab)
| |
| 232 | gui.Adornee = tab | |
| 233 | gui.StudsOffset = Vector3.new(0,3,0) | |
| 234 | gui.Size = UDim2.new(1,0,1,0) | |
| 235 | text = Instance.new("TextLabel", gui)
| |
| 236 | text.Text = "Dismiss" | |
| 237 | text.Position = UDim2.new(0.5,0,0.5,0) | |
| 238 | text.Font = "ArialBold" | |
| 239 | text.FontSize = "Size24" | |
| 240 | text.TextColor3 = Color3.new(1,1,1) | |
| 241 | text.TextStrokeColor3 = Color3.new(1,0,0) | |
| 242 | text.TextStrokeTransparency = 0 | |
| 243 | table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
| |
| 244 | end | |
| 245 | ||
| 246 | function match(str) | |
| 247 | c = {}
| |
| 248 | if str:lower() == "me" then | |
| 249 | return RoAdminsAdminPlayer | |
| 250 | end | |
| 251 | for i,v in pairs(game:GetService("Players"):GetChildren()) do
| |
| 252 | if v.Name:sub(1,str:len()):lower() == str:lower() then | |
| 253 | return v | |
| 254 | end | |
| 255 | end | |
| 256 | return c | |
| 257 | end | |
| 258 | ||
| 259 | ||
| 260 | function GetArgs(Text) | |
| 261 | if Text == "" or type(Text) ~= "string" then return {""} end
| |
| 262 | local DivideCOMMAND = " " | |
| 263 | local Position, Words = 0, {}
| |
| 264 | for Start, Stop in function() return string.find(Text, DivideCOMMAND, Position, true) end do | |
| 265 | table.insert(Words, string.sub(Text, Position, Start - 1)) | |
| 266 | Position = Stop + 1 | |
| 267 | end | |
| 268 | table.insert(Words, string.sub(Text, Position)) | |
| 269 | return Words | |
| 270 | end | |
| 271 | ||
| 272 | function ExplorerOfTheScript(ExploreThis) | |
| 273 | if ExploreThis == game or ExploreThis == nil then | |
| 274 | DismissOutput() | |
| 275 | for i,Exploring in pairs(RoAdmin.ExplorerServices) do | |
| 276 | Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end) | |
| 277 | end | |
| 278 | else | |
| 279 | Output("[ Delete Parent ]","",function()
| |
| 280 | DismissAll() | |
| 281 | wait() | |
| 282 | Output("Are you sure?","",nil)
| |
| 283 | Output("Yes","",function() DismissAll() ExploreThis:Destroy()
| |
| 284 | wait() | |
| 285 | DismissOutput() | |
| 286 | Output("[ Explorer ]","",function()
| |
| 287 | DismissAll() | |
| 288 | ExplorerOfTheScript(game) | |
| 289 | end) | |
| 290 | end) | |
| 291 | Output("No","",function() DismissAll() ExplorerOfTheScript(ExploreThis) end)
| |
| 292 | end) | |
| 293 | Output("[ Go Back ]","",function()
| |
| 294 | DismissAll() | |
| 295 | ExplorerOfTheScript(ExploreThis.Parent) | |
| 296 | end) | |
| 297 | Output("[ Refresh ]","",function()
| |
| 298 | DismissAll() | |
| 299 | ExplorerOfTheScript(ExploreThis) | |
| 300 | end) | |
| 301 | Output("[ Get Parents Properties ]","",function()
| |
| 302 | DismissAll() | |
| 303 | DismissOutput() | |
| 304 | for property,value in pairs(GetProperties(ExploreThis)) do | |
| 305 | Output(tostring(property).." = "..tostring(value),"",nil) | |
| 306 | end | |
| 307 | Output("[ Go Back ]","",function()
| |
| 308 | DismissAll() | |
| 309 | ExplorerOfTheScript(ExploreThis) | |
| 310 | end) | |
| 311 | end) | |
| 312 | DismissOutput() | |
| 313 | for i,Exploring in pairs(ExploreThis:children()) do | |
| 314 | Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end) | |
| 315 | end | |
| 316 | end | |
| 317 | end | |
| 318 | ||
| 319 | ||
| 320 | game:GetService("Players").PlayerAdded:connect(function(SaveThePlayer)
| |
| 321 | table.insert(RoAdmin.ThePeopleThatHaveJoinedWhileScriptRunning,{NAME = SaveThePlayer.Name})
| |
| 322 | CheckForBanned(SaveThePlayer) | |
| 323 | end) | |
| 324 | ||
| 325 | for _,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 326 | CheckForBanned(v) | |
| 327 | end | |
| 328 | ||
| 329 | NumBanned = #RoAdmin.TheBnndNoobs | |
| 330 | ||
| 331 | Delay(0, function() | |
| 332 | while wait() do | |
| 333 | if #RoAdmin.TheBnndNoobs ~= NumBanned then | |
| 334 | NumBanned = #RoAdmin.TheBnndNoobs | |
| 335 | for _,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 336 | CheckForBanned(v) | |
| 337 | end | |
| 338 | end | |
| 339 | end | |
| 340 | end) | |
| 341 | ||
| 342 | ||
| 343 | commands = {
| |
| 344 | {COMMAND = "dismiss", name = "Dismiss", desc = "Dismisses all OutputFunc", func = function(arg)
| |
| 345 | DismissAll() | |
| 346 | end | |
| 347 | }; | |
| 348 | {COMMAND = "res",name = "Respawn",desc = "Respawns player.",func = function(msg)
| |
| 349 | pcall(function() | |
| 350 | Founded = match(msg) | |
| 351 | Founded:LoadCharacter() | |
| 352 | end) | |
| 353 | end | |
| 354 | }; | |
| 355 | {COMMAND = "commands", name = "Commands", desc = "Shows all commands", func = function(arg)
| |
| 356 | pcall(function() | |
| 357 | for i = 1, #commands do | |
| 358 | Output(commands[i].name, "", function(ply) | |
| 359 | DismissAll() | |
| 360 | Output("Name: "..commands[i].name, "", nil)
| |
| 361 | Output("Use: "..commands[i].desc, "", nil)
| |
| 362 | Output("Command: "..commands[i].COMMAND, "", nil)
| |
| 363 | DismissOutput() | |
| 364 | end) | |
| 365 | end | |
| 366 | DismissOutput() | |
| 367 | end) | |
| 368 | end | |
| 369 | }; | |
| 370 | {COMMAND = "ping", name = "Ping", desc = "Makes a custom message", func = function(msg)
| |
| 371 | pcall(function() | |
| 372 | if msg == "" then | |
| 373 | Output("Pong!", "", function() DismissAll() end)
| |
| 374 | else | |
| 375 | Output(msg, "", function() DismissAll() end) | |
| 376 | end | |
| 377 | end) | |
| 378 | end | |
| 379 | }; | |
| 380 | {COMMAND = "kill", name = "Kill", desc = "Kills the player you chose", func = function(msg)
| |
| 381 | pcall(function() | |
| 382 | Founded = match(msg) | |
| 383 | Founded.Character:BreakJoints() | |
| 384 | end) | |
| 385 | end | |
| 386 | }; | |
| 387 | {COMMAND = "kic".."k", name = "Ki".."ck", desc = "Ki".."cks the player you chose", func = function(msg)
| |
| 388 | pcall(function() | |
| 389 | Founded = match(msg) | |
| 390 | Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
| |
| 391 | end) | |
| 392 | end | |
| 393 | }; | |
| 394 | {COMMAND = "lag", name = "Lag", desc = "Same as Kick", func = function(msg)
| |
| 395 | pcall(function() | |
| 396 | Founded = match(msg) | |
| 397 | Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shutd".."own",2e5+1)
| |
| 398 | end) | |
| 399 | end | |
| 400 | }; | |
| 401 | {COMMAND = "script", name = "Script", desc = "Makes a script", func = function(msg)
| |
| 402 | pcall(function() | |
| 403 | loadstring(msg)() | |
| 404 | end) | |
| 405 | end | |
| 406 | }; | |
| 407 | {COMMAND = "playmusic", name = "PlayMusic", desc = "Shows music and plays if clicked.", func = function(msg)
| |
| 408 | pcall(function() | |
| 409 | for i = 1, #RoAdmin.AdminsSoundAdminMusic.AdminMusic do | |
| 410 | Output(RoAdmin.AdminsSoundAdminMusic.AdminMusic[i].NAME, "", function() | |
| 411 | MusicStuff = RoAdmin.AdminsSoundAdminMusic.AdminMusic[i] | |
| 412 | MusicPlay = Instance.new("Sound",RoAdminsAdminPlayer.Character)
| |
| 413 | MusicPlay.Name = MusicStuff.NAME | |
| 414 | MusicPlay.SoundId = MusicStuff.ID | |
| 415 | MusicPlay.Pitch = MusicStuff.PITCH | |
| 416 | MusicPlay.Looped = false | |
| 417 | wait(0.2) | |
| 418 | MusicPlay:Play() | |
| 419 | DismissAll() | |
| 420 | end) | |
| 421 | end | |
| 422 | end) | |
| 423 | end | |
| 424 | }; | |
| 425 | {COMMAND = "getage", name = "GetAge", desc = "Gets a players age.", func = function(msg)
| |
| 426 | pcall(function() | |
| 427 | Founded = match(msg) | |
| 428 | Output(Founded.Name.. " account age is " ..Founded.AccountAge, "", function() DismissAll() end) | |
| 429 | end) | |
| 430 | end | |
| 431 | }; | |
| 432 | {COMMAND = "inf", name = "Infinate", desc = "Gives play infinate health", func = function(msg)
| |
| 433 | pcall(function() | |
| 434 | Founded = match(msg) | |
| 435 | Founded.Character.MaxHealth = math.huge | |
| 436 | end) | |
| 437 | end | |
| 438 | }; | |
| 439 | {COMMAND = "getid", name = "GetId", desc = "Gets a players id.", func = function(msg)
| |
| 440 | pcall(function() | |
| 441 | Founded = match(msg) | |
| 442 | Output(Founded.Name.. " account id is " ..Founded.userId, "", function() DismissAll() end) | |
| 443 | end) | |
| 444 | end | |
| 445 | }; | |
| 446 | {COMMAND = "getpic", name = "GetPicture", desc = "Gets a players picture.", func = function(msg)
| |
| 447 | pcall(function() | |
| 448 | Founded = match(msg) | |
| 449 | Output(Founded.Name , "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" ..Founded.Name, function() DismissAll() end) | |
| 450 | end) | |
| 451 | end | |
| 452 | }; | |
| 453 | {COMMAND = "explorer", name = "Explorer", desc = "Explorer", func = function(msg)
| |
| 454 | pcall(function() | |
| 455 | ExplorerOfTheScript(game) | |
| 456 | end) | |
| 457 | end | |
| 458 | }; | |
| 459 | {COMMAND = "shut".."down", name = "Shut".."down", desc = "Shut".."down's a server", func = function(msg)
| |
| 460 | pcall(function() | |
| 461 | Instance.new("StringValue",game.Workspace).Value = string.rep("Shu".."tdown",2e5+1)
| |
| 462 | end) | |
| 463 | end | |
| 464 | }; | |
| 465 | {COMMAND = "inserthat", name = "InsertHat", desc = "Inserts A Hat.", func = function(msg)
| |
| 466 | pcall(function() | |
| 467 | for i = 1, #RoAdmin.InsertHatAndGearsIDs.InsertHatIDs do | |
| 468 | Output(RoAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function() | |
| 469 | InsertHat(RoAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].ID) | |
| 470 | DismissAll() | |
| 471 | Output("Inserted:" ..RoAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function() DismissAll() end)
| |
| 472 | end) | |
| 473 | end | |
| 474 | end) | |
| 475 | end | |
| 476 | }; | |
| 477 | {COMMAND = "showstuff", name = "ShowStuff", desc = "Shows server stuff.", func = function(msg)
| |
| 478 | pcall(function() | |
| 479 | for _,v in pairs(RoAdmin.ExplorerServices) do | |
| 480 | Output(v.Name..": "..tostring(#v:GetChildren()),"",function() DismissAll() end) | |
| 481 | end | |
| 482 | end) | |
| 483 | end | |
| 484 | }; | |
| 485 | {COMMAND = "showjoins", name = "ShowJoins", desc = "Show Joins of the server as of script was in it.", func = function(msg)
| |
| 486 | pcall(function() | |
| 487 | for i = 1, #RoAdmin.ThePeopleThatHaveJoinedWhileScriptRunning do | |
| 488 | Output(RoAdmin.ThePeopleThatHaveJoinedWhileScriptRunning[i].NAME, "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" ..RoAdmin.ThePeopleThatHaveJoinedWhileScriptRunning[i].NAME, function() DismissAll() end) | |
| 489 | end | |
| 490 | if #RoAdmin.ThePeopleThatHaveJoinedWhileScriptRunning == 0 then | |
| 491 | Output("No joins since script ran","",function() DismissAll() end)
| |
| 492 | end | |
| 493 | end) | |
| 494 | end | |
| 495 | }; | |
| 496 | {COMMAND = "msg", name = "Message", desc = "Puts your message in a message.", func = function(msg)
| |
| 497 | pcall(function() | |
| 498 | m = Instance.new("Message",Workspace)
| |
| 499 | m.Text = RoAdminsAdmin..": "..msg | |
| 500 | game:GetService("Debris"):AddItem(m,4)
| |
| 501 | end) | |
| 502 | end | |
| 503 | }; | |
| 504 | {COMMAND = "hin", name = "Hint", desc = "Puts your message in a hint.", func = function(msg)
| |
| 505 | pcall(function() | |
| 506 | h = Instance.new("Hint",Workspace)
| |
| 507 | h.Text = RoAdminsAdmin..": "..msg | |
| 508 | game:GetService("Debris"):AddItem(h,4)
| |
| 509 | end) | |
| 510 | end | |
| 511 | }; | |
| 512 | {COMMAND = "b".."a".."n", name = "B".."a".."n", desc = "B".."a".."n".."s a player.", func = function(msg)
| |
| 513 | pcall(function() | |
| 514 | Founded = match(msg) | |
| 515 | table.insert(RoAdmin.TheBnndNoobs,Founded.Name) | |
| 516 | end) | |
| 517 | end | |
| 518 | }; | |
| 519 | } | |
| 520 | ||
| 521 | function AddCommand(COMMAND,Name,Desc,Func) | |
| 522 | table.insert(commands, {COMMAND = COMMAND, name = Name, desc = Desc, func = Func})
| |
| 523 | end | |
| 524 | ||
| 525 | function DismissAll() | |
| 526 | for i = 1, #OutputFunc do | |
| 527 | Delay(0, function() | |
| 528 | for a = 0, 1, .1 do | |
| 529 | OutputFunc[i].Output.Transparency = a | |
| 530 | OutputFunc[i].sb.Transparency = a | |
| 531 | OutputFunc[i].txt.TextTransparency = a | |
| 532 | wait() | |
| 533 | end | |
| 534 | end) | |
| 535 | end | |
| 536 | while wait() do | |
| 537 | if OutputFunc[1].Output.Transparency == 1 then | |
| 538 | break | |
| 539 | end | |
| 540 | end | |
| 541 | for i = 1, #OutputFunc do | |
| 542 | OutputFunc[i].Output:Destroy() | |
| 543 | OutputFunc[i] = nil | |
| 544 | end | |
| 545 | OutputFunc = {}
| |
| 546 | end | |
| 547 | ||
| 548 | Output("TeAm_CompleXity administration, don't mess with the complex", "http://www.roblox.com/asset/?id=126450822", function() DismissAll() end)
| |
| 549 | Output("Created by SergeantSmokey", "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=SergeantSmokey", function() DismissAll() end)
| |
| 550 | Output("Hostile exploiters will be dealt with","",function() DismissAll() end)
| |
| 551 | function DisconnectChatting() | |
| 552 | DismissAll() | |
| 553 | chatConnection:disconnect() | |
| 554 | end | |
| 555 | ||
| 556 | ||
| 557 | function COMMANDsFunc(msg) | |
| 558 | local find = GetArgs(msg)[1] | |
| 559 | for i,v in pairs(commands) do | |
| 560 | if msg:lower():sub(1, v.COMMAND:len()) == v.COMMAND:lower() then | |
| 561 | local COMMAND = msg:sub(v.COMMAND:len()+2) | |
| 562 | v.func(COMMAND) | |
| 563 | end | |
| 564 | end | |
| 565 | end | |
| 566 | ||
| 567 | ||
| 568 | ||
| 569 | chatConnection = RoAdminsAdminPlayer.Chatted:connect(COMMANDsFunc) | |
| 570 | ||
| 571 | rotation = 0 | |
| 572 | while wait() do | |
| 573 | rotation = rotation + 0.0001 | |
| 574 | pcall(function() | |
| 575 | for i = 1, #OutputFunc do | |
| 576 | pcall(function() | |
| 577 | position = RoAdminsAdminPlayer.Character.Torso.CFrame | |
| 578 | end) | |
| 579 | radius = 5 + (#OutputFunc * 0.5) | |
| 580 | x = math.cos((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius | |
| 581 | y = 0 | |
| 582 | z = math.sin((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius | |
| 583 | pcall(function() | |
| 584 | tposition = position:toWorldSpace(CFrame.new(x,y,z):inverse()) | |
| 585 | end) | |
| 586 | pcall(function() | |
| 587 | OutputFunc[i].Output.CFrame = CFrame.new(tposition.p, position.p) * CFrame.Angles(math.rad(25),0,0) | |
| 588 | end) | |
| 589 | end | |
| 590 | end) | |
| 591 | end |