local a,b,c,d,e={taskmanager=1,Heliodex=1,multako= 'http://www.roblox.com/asset/?id=6923328292',mercury=1,pizzaboxer= 'http://www.roblox.com/asset/?id=6917566633'},{bottomDark='94691904',bottomLight ='94691940',midDark='94691980',midLight='94692025',LargeDark='96098866', LargeLight='96098920',LargeHeader='96097470',NormalHeader='94692054',LargeBottom ='96397271',NormalBottom='94754966',DarkBluePopupMid='97114905', LightBluePopupMid='97114905',DarkPopupMid='97112126',LightPopupMid='97109338', DarkBluePopupTop='97114838',DarkBluePopupBottom='97114758',DarkPopupBottom= '100869219',LightPopupBottom='97109175'},0.25,15,{}function e.Create(f)return function(g)local h=Instance.new(f)for i,j in pairs(g)do if type(i)=='number'then j.Parent=h else h[i]=j end end return h end end function MakeBackgroundGuiObj(f) return e.Create'ImageLabel'{Name='Background',BackgroundTransparency=1,Image=f, Position=UDim2.new(0,0,0,0),Size=UDim2.new(1,0,1,0)}end function Color3I(f,g,h) return Color3.new(f/255,g/255,h/255)end function getMembershipTypeIcon(f,g)if a[ string.lower(g)]~=nil then if a[string.lower(g)]==1 then return 'http://www.roblox.com/asset/?id=6923330951'else return a[string.lower(g)]end elseif f==Enum.MembershipType.None then return''elseif f==Enum.MembershipType. BuildersClub then return'rbxasset://textures/ui/TinyBcIcon.png'elseif f==Enum. MembershipType.TurboBuildersClub then return 'rbxasset://textures/ui/TinyTbcIcon.png'elseif f==Enum.MembershipType. OutrageousBuildersClub then return'rbxasset://textures/ui/TinyObcIcon.png'else error('Unknown membershipType'..f)end end local function getFriendStatusIcon(f) if f==Enum.FriendStatus.Unknown or f==Enum.FriendStatus.NotFriend then return'' elseif f==Enum.FriendStatus.Friend then return 'http://www.roblox.com/asset/?id=99749771'elseif f==Enum.FriendStatus. FriendRequestSent then return'http://www.roblox.com/asset/?id=99776888'elseif f ==Enum.FriendStatus.FriendRequestReceived then return 'http://www.roblox.com/asset/?id=99776838'else error('Unknown FriendStatus: '..f )end end function MakePopupButton(f,g,h,i)local j=e.Create'ImageButton'{Name= 'ReportButton',BackgroundTransparency=1,Position=UDim2.new(0,0,1*h,0),Size=UDim2 .new(1,0,1,0),ZIndex=7,e.Create'TextLabel'{Name='ButtonText', BackgroundTransparency=1,Position=UDim2.new(0.07,0,0.07,0),Size=UDim2.new(0.86,0 ,0.86,0),Parent=HeaderFrame,Font='ArialBold',Text=g,FontSize='Size14',TextScaled =true,TextColor3=Color3.new(1,1,1),TextStrokeTransparency=1,ZIndex=7},Parent=f} if h==0 then j.Image='http://www.roblox.com/asset/?id=97108784'elseif i then if h%2==1 then j.Image='http://www.roblox.com/asset/?id='..b['LightPopupBottom'] else j.Image='http://www.roblox.com/asset/?id='..b['DarkPopupBottom']end else if h%2==1 then j.Image='http://www.roblox.com/asset/?id=97112126'else j.Image= 'http://www.roblox.com/asset/?id=97109338'end end return j end function WaitForChild(f,g)while not f:FindFirstChild(g)do wait()debugprint(' child '..f. Name..' waiting for '..g)end return f[g]end local f=game:GetService'Players' while not f.LocalPlayer do f.Changed:wait()end local g=f.LocalPlayer local h,i=g :GetMouse(),e.Create'Frame'{Name='PlayerListScreen',Size=UDim2.new(1,0,1,0), BackgroundTransparency=1,Parent=script.Parent}local j=e.Create'Frame'{Name= 'LeaderBoardFrame',Position=UDim2.new(1,-150,0.005,0),Size=UDim2.new(0,150,0,800 ),BackgroundTransparency=1,Parent=i}local k,l=e.Create'Frame'{Name='FocusFrame', Position=UDim2.new(0,0,0,0),Size=UDim2.new(1,0,0,100),BackgroundTransparency=1, Active=true,Parent=j},e.Create'Frame'{Name='Header',BackgroundTransparency=1, Position=UDim2.new(0,0,0,0),Size=UDim2.new(1,0,0.07,0),Parent=j, MakeBackgroundGuiObj'http://www.roblox.com/asset/?id=94692054'}local m,n,o,p=l. Size.Y.Scale,e.Create'ImageButton'{Name='MaximizeButton',Active=true, BackgroundTransparency=1,Position=UDim2.new(0,0,0,0),Size=UDim2.new(1,0,1,0), Parent=l},e.Create'TextLabel'{Name='PlayerName',BackgroundTransparency=1, Position=UDim2.new(0,0,0.01,0),Size=UDim2.new(0.98,0,0.38,0),Parent=l,Font= 'ArialBold',Text=g.Name,FontSize='Size24',TextColor3=Color3.new(1,1,1), TextStrokeColor3=Color3.new(0,0,0),TextStrokeTransparency=0,TextXAlignment= 'Right',TextYAlignment='Center'},e.Create'TextLabel'{Name='PlayerScore', BackgroundTransparency=1,Position=UDim2.new(0,0,0.4,0),Size=UDim2.new(0.98,0,0, 30),Parent=l,Font='ArialBold',Text='',FontSize='Size24',TextYAlignment='Top', TextColor3=Color3.new(1,1,1),TextStrokeTransparency=1,TextXAlignment='Right'} local q=e.Create'Frame'{Name='BottomShiftFrame',BackgroundTransparency=1, Position=UDim2.new(0,0,m,0),Size=UDim2.new(1,0,1,0),Parent=j}local r=e.Create 'Frame'{Name='Bottom',BackgroundTransparency=1,Position=UDim2.new(0,0,0.07,0), Size=UDim2.new(1,0,0.03,0),Parent=q,MakeBackgroundGuiObj 'http://www.roblox.com/asset/?id=94754966'}local s,t,u=e.Create'ImageButton'{ Name='bigbutton',Active=true,BackgroundTransparency=1,Position=UDim2.new(0,0,0,0 ),Size=UDim2.new(1,0,1.5,0),ZIndex=3,Parent=r},e.Create'ImageButton'{Name= 'extendTab',Active=true,BackgroundTransparency=1,Image= 'http://www.roblox.com/asset/?id=94692731',Position=UDim2.new(0.608,0,0.3,0), Size=UDim2.new(0.3,0,0.7,0),Parent=r},e.Create'Frame'{Name='ListFrame', BackgroundTransparency=1,Position=UDim2.new(-1,0,0.07,0),Size=UDim2.new(2,0,1,0) ,Parent=j,ClipsDescendants=true}local v=e.Create'Frame'{Name='BottomFrame', BackgroundTransparency=1,Position=UDim2.new(0,0,-0.8,0),Size=UDim2.new(1,0,1,0), Parent=u,ClipsDescendants=true}local w=e.Create'Frame'{Name='ScrollBarFrame', BackgroundTransparency=1,Position=UDim2.new(0.987,0,0.8,0),Size=UDim2.new(0.01,0 ,0.2,0),Parent=v}local x,y,z,A=e.Create'Frame'{Name='ScrollBar', BackgroundTransparency=0,BackgroundColor3=Color3.new(0.2,0.2,0.2),Position=UDim2 .new(0,0,0,0),Size=UDim2.new(1,0,0.5,0),ZIndex=5,Parent=w},e.Create'Frame'{Name= 'SubFrame',BackgroundTransparency=1,Position=UDim2.new(0,0,0.8,0),Size=UDim2. new(1,0,1,0),Parent=v},e.Create'Frame'{Name='PopUpFrame',BackgroundTransparency= 1,SizeConstraint='RelativeXX',Position=j.Position+UDim2.new(0,-150,0,0),Size= UDim2.new(0,150,0,800),Parent=j,ClipsDescendants=true,ZIndex=7},nil local B,C,D, E,F,G,H,I,J=e.Create'Frame'{Name='Panel',BackgroundTransparency=1,Position=UDim2 .new(1,0,0,0),Size=UDim2.new(1,0,0.032,0),Parent=z},e.Create'Frame'{Name= 'StatTitles',BackgroundTransparency=1,Position=UDim2.new(0,0,1,-10),Size=UDim2. new(1,0,0,0),Parent=l},Instance.new'BoolValue',Instance.new'BoolValue',Instance. new'BoolValue',Instance.new'BoolValue',e.Create'Frame'{Name='MidTemplate', BackgroundTransparency=1,Position=UDim2.new(100,0,0.07,0),Size=UDim2.new(0.5,0, 0.025,0),e.Create'ImageLabel'{Name='BCLabel',Active=true,BackgroundTransparency= 1,Position=UDim2.new(0.005,5,0.2,0),Size=UDim2.new(0,16,0,16),SizeConstraint= 'RelativeYY',Image='',ZIndex=3},e.Create'ImageLabel'{Name='FriendLabel',Active= true,BackgroundTransparency=1,Position=UDim2.new(0.005,5,0.15,0),Size=UDim2.new( 0,16,0,16),SizeConstraint='RelativeYY',Image='',ZIndex=3},e.Create'ImageButton'{ Name='ClickListener',Active=true,BackgroundTransparency=1,Position=UDim2.new( 0.005,1,0,0),Size=UDim2.new(0.96,0,1,0),ZIndex=3},e.Create'Frame'{Name= 'TitleFrame',BackgroundTransparency=1,Position=UDim2.new(0.01,0,0,0),Size=UDim2. new(0,140,1,0),ClipsDescendants=true,e.Create'TextLabel'{Name='Title', BackgroundTransparency=1,Position=UDim2.new(0,5,0,0),Size=UDim2.new(100,0,1,0), Font='Arial',FontSize='Size14',TextColor3=Color3.new(1,1,1),TextXAlignment= 'Left',TextYAlignment='Center',ZIndex=3}},e.Create'TextLabel'{Name='PlayerScore' ,BackgroundTransparency=1,Position=UDim2.new(0,0,0,0),Size=UDim2.new(1,0,1,0), Font='ArialBold',Text='',FontSize='Size14',TextColor3=Color3.new(1,1,1), TextXAlignment='Right',TextYAlignment='Center',ZIndex=3},ZIndex=3},e.Create 'Frame'{Name='MidBGTemplate',BackgroundTransparency=1,Position=UDim2.new(100,0, 0.07,0),Size=UDim2.new(0.5,0,0.025,0),MakeBackgroundGuiObj 'http://www.roblox.com/asset/?id=94692025'},e.Create'TextButton'{Name= 'ReportAbuseShield',Text='',AutoButtonColor=false,Active=true,Visible=true,Size= UDim2.new(1,0,1,0),BackgroundColor3=Color3I(51,51,51),BorderColor3=Color3I(27,42 ,53),BackgroundTransparency=1}local K=e.Create'Frame'{Name='Settings',Position= UDim2.new(0.5,-250,0.5,-200),Size=UDim2.new(0,500,0,400),BackgroundTransparency= 1,Active=true,Parent=J}local L=e.Create'Frame'{Name='ReportAbuseStyle',Size= UDim2.new(1,0,1,0),Active=true,BackgroundTransparency=1,MakeBackgroundGuiObj 'http://www.roblox.com/asset/?id=96488767',e.Create'TextLabel'{Name='Title',Text ='Report Abuse',TextColor3=Color3I(221,221,221),Position=UDim2.new(0.5,0,0,30), Font=Enum.Font.ArialBold,FontSize=Enum.FontSize.Size36},e.Create'TextLabel'{Name ='Description',Text= [[This will send a complete report to a moderator. The moderator will review the chat log and take appropriate action.]] ,TextColor3=Color3I(221,221,221),Position=UDim2.new(0.01,0,0,55),Size=UDim2.new( 0.99,0,0,40),BackgroundTransparency=1,Font=Enum.Font.Arial,FontSize=Enum. FontSize.Size18,TextWrap=true,TextXAlignment=Enum.TextXAlignment.Left, TextYAlignment=Enum.TextYAlignment.Top},e.Create'TextLabel'{Name='AbuseLabel', Text='What did they do?',Font=Enum.Font.Arial,BackgroundTransparency=1,FontSize= Enum.FontSize.Size18,Position=UDim2.new(0.025,0,0,140),Size=UDim2.new(0.4,0,0,36 ),TextColor3=Color3I(255,255,255),TextXAlignment=Enum.TextXAlignment.Left},e. Create'TextLabel'{Name='ShortDescriptionLabel',Text= 'Short Description: (optional)',Font=Enum.Font.Arial,FontSize=Enum.FontSize. Size18,Position=UDim2.new(0.025,0,0,180),Size=UDim2.new(0.95,0,0,36),TextColor3= Color3I(255,255,255),TextXAlignment=Enum.TextXAlignment.Left, BackgroundTransparency=1},e.Create'TextLabel'{Name='ReportingPlayerLabel',Text= 'Reporting Player',BackgroundTransparency=1,Font=Enum.Font.Arial,FontSize=Enum. FontSize.Size18,Position=UDim2.new(0.025,0,0,100),Size=UDim2.new(0.95,0,0,36), TextColor3=Color3I(255,255,255),TextXAlignment=Enum.TextXAlignment.Left,Parent= AbuseSettingsFrame},Parent=K}local M,N,O,P,Q,R,S,T,U=e.Create'TextLabel'{Name= 'PlayerLabel',Text='',BackgroundTransparency=1,Font=Enum.Font.ArialBold,FontSize =Enum.FontSize.Size18,Position=UDim2.new(0.025,0,0,100),Size=UDim2.new(0.95,0,0, 36),TextColor3=Color3I(255,255,255),TextXAlignment=Enum.TextXAlignment.Right, Parent=L},e.Create'ImageButton'{Name='SubmitReportBtn',Active=false, BackgroundTransparency=1,Position=UDim2.new(0.5,-200,1,-80),Size=UDim2.new(0,150 ,0,50),AutoButtonColor=false,Image='http://www.roblox.com/asset/?id=96502438', Parent=L},e.Create'ImageButton'{Name='CancelBtn',BackgroundTransparency=1, Position=UDim2.new(0.5,50,1,-80),Size=UDim2.new(0,150,0,50),AutoButtonColor=true ,Image='http://www.roblox.com/asset/?id=96500683',Parent=L},e.Create'Frame'{Name ='AbuseDescriptionWrapper',Position=UDim2.new(0.025,0,0,220),Size=UDim2.new(0.95 ,0,1,-310),BackgroundColor3=Color3I(0,0,0),BorderSizePixel=0,Parent=L},nil,e. Create'TextBox'{Name='TextBox',Text='',ClearTextOnFocus=false,Font=Enum.Font. Arial,FontSize=Enum.FontSize.Size18,Position=UDim2.new(0,3,0,3),Size=UDim2.new(1 ,-6,1,-6),TextColor3=Color3I(255,255,255),TextXAlignment=Enum.TextXAlignment. Left,TextYAlignment=Enum.TextYAlignment.Top,TextWrap=true,BackgroundColor3= Color3I(0,0,0),BorderSizePixel=0},e.Create'Frame'{Name='AbuseFeedbackBox', BackgroundTransparency=1,Position=UDim2.new(0.25,0,0.300000012,0),Size=UDim2. new(0.5,0,0.370000005,0),MakeBackgroundGuiObj 'http://www.roblox.com/asset/?id=96506233',e.Create'TextLabel'{Name='Header', Position=UDim2.new(0,10,0.05,0),Size=UDim2.new(1,-30,0.15,0),TextScaled=true, BackgroundTransparency=1,TextXAlignment=Enum.TextXAlignment.Center, TextYAlignment=Enum.TextYAlignment.Top,Text='Thanks for your report!',TextColor3 =Color3.new(1,1,1),FontSize=Enum.FontSize.Size48,Font='ArialBold'},e.Create 'TextLabel'{Name='content',Position=UDim2.new(0,10,0.2,0),Size=UDim2.new(1,-30, 0.4,0),TextScaled=true,BackgroundTransparency=1,TextColor3=Color3.new(1,1,1), Text= [[Our moderators will review the chat logs and determine what happened. The other user is probably just trying to make you mad. If anyone used swear words, inappropriate language, or threatened you in real life, please report them for Bad Words or Threats]] ,TextWrapped=true,TextYAlignment=Enum.TextYAlignment.Top,FontSize=Enum.FontSize. Size24,Font='Arial'},e.Create'ImageButton'{Name='OkButton', BackgroundTransparency=1,Position=UDim2.new(0.5,-75,1,-80),Size=UDim2.new(0,150, 0,50),AutoButtonColor=true,Image='http://www.roblox.com/asset/?id=96507959'}},e. Create'Frame'{Name='AbuseFeedbackBox',BackgroundTransparency=1,Position=UDim2. new(0.25,0,0.300000012,0),Size=UDim2.new(0.5,0,0.370000005,0), MakeBackgroundGuiObj'http://www.roblox.com/asset/?id=96506233',e.Create 'TextLabel'{Name='Header',Position=UDim2.new(0,10,0.05,0),Size=UDim2.new(1,-30, 0.15,0),TextScaled=true,BackgroundTransparency=1,TextColor3=Color3.new(1,1,1), TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Top ,Text='Thanks for your report!',FontSize=Enum.FontSize.Size48,Font='ArialBold'}, e.Create'TextLabel'{Name='content',Position=UDim2.new(0,10,0.2,0),Size=UDim2. new(1,-30,0.15,0),TextScaled=true,BackgroundTransparency=1,TextColor3=Color3. new(1,1,1),Text= [[Our moderators will review the chat logs and determine what happened.]], TextWrapped=true,TextYAlignment=Enum.TextYAlignment.Top,FontSize=Enum.FontSize. Size24,Font='Arial'},e.Create'ImageButton'{Name='OkButton', BackgroundTransparency=1,Position=UDim2.new(0.5,-75,1,-80),Size=UDim2.new(0,150, 0,50),AutoButtonColor=true,Image='http://www.roblox.com/asset/?id=96507959'}}, Instance.new'ImageButton'U.Size=UDim2.new(1,0,1,0)U.BackgroundTransparency=1 U. ZIndex=8 U.Visible=false U.Parent=i local V=e.Create'Frame'{Name='debugframe', BackgroundTransparency=1,Position=UDim2.new(0.25,0,0.300000012,0),Size=UDim2. new(0.5,0,0.370000005,0),MakeBackgroundGuiObj 'http://www.roblox.com/asset/?id=96506233'}local W,X,Y=e.Create'TextLabel'{ BackgroundTransparency=0.8,Position=UDim2.new(0,0,0.01,0),Size=UDim2.new(1,0,0.5 ,0),Parent=V,Font='ArialBold',Text='--',FontSize='Size14',TextWrapped=true, TextColor3=Color3.new(1,1,1),TextStrokeColor3=Color3.new(0,0,0), TextStrokeTransparency=0,TextXAlignment='Right',TextYAlignment='Center'},e. Create'TextLabel'{BackgroundTransparency=0.8,Position=UDim2.new(0,0,0.5,0),Size= UDim2.new(1,0,0.5,0),Parent=V,Font='ArialBold',Text='--',FontSize='Size14', TextWrapped=true,TextColor3=Color3.new(1,1,1),TextStrokeColor3=Color3.new(0,0,0) ,TextStrokeTransparency=0,TextXAlignment='Right',TextYAlignment='Center'},true function debugprint(Z)if Y then X.Text=Z end end local Z,_=assert(LoadLibrary 'RbxGui'),8 for aa,ab in pairs(b)do Game:GetService'ContentProvider':Preload( 'http://www.roblox.com/asset/?id='..ab)end local ac,ad,ae,af,ag,ah,ai,aj,ak,al, am={},0,{},{},nil,{},{},0.03,0,0.25,false pcall(function()am=Game:GetService 'UserInputService'.TouchEnabled end)local an,ao,ap,aq=150,10,UDim2.new(0.5,0,1,0 ),UDim2.new(0.25,0,0.1,0)local ar,as,at,au,av,aw,ax,ay,az,aA,aB,aC,aD,aE,aF= UDim2.new(0,an,0,800),UDim2.new(1,-an,0.005,0),-4E-2,v.Position.Y.Scale,nil,nil, false,false,false,false,false,false,false,{},8 if not am then aF=12 end local aG ,aH,aI,aJ,aK,aL,aM=false,nil,{'Bad Words or Threats','Bad Username', 'Talking about Dating','Account Trading or Sharing','Asking Personal Questions', 'Rude or Mean Behavior','False Reporting Me'},nil,nil,{Owner=255,Admin=240, Member=128,Visitor=10,Banned=0},not not game.Workspace:FindFirstChild 'PSVariable'game.Workspace.ChildAdded:connect(function(aN)if aN.Name== 'PSVariable'and aN:IsA'BoolValue'then aM=true end end)function AreAllEntriesOnScreen()return#ai*H.Size.Y.Scale<=1+au end function GetMaxScroll( )return au*-1 end function GetMinScroll()if AreAllEntriesOnScreen()then return GetMaxScroll()else return(GetMaxScroll()-(#ai*H.Size.Y.Scale))+(1+au)end end function AbsoluteToPercent(aN,aO)return Vector2.new(aN,aO)/i.AbsoluteSize end function TweenProperty(aN,aO,aP,aQ,aR)local aS=tick()while tick()-aSaO do game:GetService'PersonalServerService':Demote(aN)end end function OnPrivilegeLevelSelect(aN,aO,aP,aQ,aR,aS)debugprint'setting privilege level' SetPrivilegeRank(aN,aO)HighlightMyRank(aN,aP,aQ,aR,aS)end function HighlightMyRank(aN,aO,aP,aQ,aR)aO.Image='http://www.roblox.com/asset/?id='..b[ 'LightPopupMid']aP.Image='http://www.roblox.com/asset/?id='..b['DarkPopupMid']aQ .Image='http://www.roblox.com/asset/?id='..b['LightPopupMid']aR.Image= 'http://www.roblox.com/asset/?id='..b['DarkPopupBottom']local aS=aN. PersonalServerRank if aS<=aL['Banned']then aO.Image= 'http://www.roblox.com/asset/?id='..b['LightBluePopupMid']elseif aS<=aL[ 'Visitor']then aP.Image='http://www.roblox.com/asset/?id='..b['DarkBluePopupMid' ]elseif aS<=aL['Member']then aQ.Image='http://www.roblox.com/asset/?id='..b[ 'LightBluePopupMid']elseif aS<=aL['Admin']then aR.Image= 'http://www.roblox.com/asset/?id='..b['DarkBluePopupBottom']end end function OnSubmitAbuse()if N.Active then if aH and aw then L.Visible=false game.Players: ReportAbuse(aw,aH,Q.Text)if aH=='Rude or Mean Behavior'or aH== 'False Reporting Me'then S.Parent=J else debugprint'opening abuse box'T.Parent=J end else CloseAbuseDialog()end end end function OpenAbuseDialog()debugprint 'adding report dialog'M.Text=aw.Name A:TweenPosition(UDim2.new(1,0,0,0),'Out', 'Linear',c,true)Q=R:Clone()Q.Parent=P J.Parent=i ClosePopUpPanel()end function CloseAbuseDialog()aH=nil N.Active=false N.Image= 'http://www.roblox.com/asset/?id=96502438'Q:Destroy()S.Parent=nil T.Parent=nil J .Parent=nil L.Visible=true end function InitReportAbuse()aJ=function(aN)aH=aN if aH and aw then N.Active=true N.Image='http://www.roblox.com/asset/?id=96501119' end end aK,aa=Z.CreateDropDownMenu(aI,aJ,true)aK.Name='AbuseComboBox'aK.Position =UDim2.new(0.425,0,0,142)aK.Size=UDim2.new(0.55,0,0,32)aK.Parent=L O. MouseButton1Click:connect(CloseAbuseDialog)N.MouseButton1Click:connect( OnSubmitAbuse)S:FindFirstChild'OkButton'.MouseButton1Down:connect( CloseAbuseDialog)T:FindFirstChild'OkButton'.MouseButton1Down:connect( CloseAbuseDialog)end local function GetFriendStatus(aN)if aN==game.Players. LocalPlayer then return Enum.FriendStatus.NotFriend else local aO,aP=pcall( function()return game.Players.LocalPlayer:GetFriendStatus(aN)end)if aO then return aP else return Enum.FriendStatus.NotFriend end end end function OnFriendButtonSelect()local aN=GetFriendStatus(aw)if aN==Enum.FriendStatus. Friend then g:RevokeFriendship(aw)elseif aN==Enum.FriendStatus.Unknown or aN== Enum.FriendStatus.NotFriend or aN==Enum.FriendStatus.FriendRequestSent or aN== Enum.FriendStatus.FriendRequestReceived then g:RequestFriendship(aw)end ClosePopUpPanel()end function OnFriendRefuseButtonSelect()g:RevokeFriendship(aw) ClosePopUpPanel()A:TweenPosition(UDim2.new(1,0,0,0),'Out','Linear',c,true)end function PlayerSortFunction(aN,aO)if aN['Score']==aO['Score']then return aN[ 'Player'].Name:upper()1 and g.userId>1 then ActivatePlayerEntryPanel(aU)end end local a_,a0=nil,y.Position local function dragpoll(a1,a2)if not a_ then a_=AbsoluteToPercent(a1,a2).Y end local a3= AbsoluteToPercent(a1,a2).Y debugprint('drag dist:'..Vector2.new(aV-a1,aY-a2). magnitude)if Vector2.new(aV-a1,aY-a2).magnitude>d then aZ=false end local a4= math.max(math.min(a0.Y.Scale+(a3-a_),GetMaxScroll()),GetMinScroll())y.Position= UDim2.new(a0.X.Scale,a0.X.Offset,a4,a0.Y.Offset)UpdateScrollPosition()end WaitForClick(i,dragpoll,dragExit)end function StartMinimizeDrag()Delay(0, function()local aU=tick()debugprint'Got Click2'local function dragExit()if tick( )-aU<0.25 then ToggleMinimize()else aG=true if D.Value then ToggleMinimize()end end end local aV,aY=nil,au local function dragpoll(aZ,a_)if not D.Value then if not aV then aV=AbsoluteToPercent(aZ,a_).Y end local a0,a1=AbsoluteToPercent(aZ, a_).Y,nil a1=math.min(math.max(aY+(a0-aV),-1),-1+(#ai*I.Size.Y.Scale))au=a1 UpdateMinimize()w.Size=UDim2.new(w.Size.X.Scale,0,(au+v.Size.Y.Scale),0)w. Position=UDim2.new(w.Position.X.Scale,0,1-w.Size.Y.Scale,0)UpdateScrollBarSize() UpdateScrollPosition()UpdateScrollBarVisibility()end end Spawn(function() WaitForClick(i,dragpoll,dragExit)end)end)end E.Value=false D.Value=false E. Changed:connect(UpdateMaximize)D.Changed:connect(UpdateMinimize)s. MouseButton1Down:connect(function()if(time()-ak1 do aY =aY-1 aV.FontSize=aU[aY]wait(0.2)end o.FontSize=aV.FontSize aV:Destroy()end)end i.Changed:connect(UpdateHeaderNameSize)function LeaderstatsAdded(aV)local aY=aV[ 'Player']for aZ,a_ in pairs(aY.leaderstats:GetChildren())do StatAdded(a_,aV)end aY.leaderstats.ChildAdded:connect(function(a0)StatAdded(a0,aV)end)aY.leaderstats .ChildRemoved:connect(function(a0)StatRemoved(a0,aV)end)end function LeaderstatsRemoved(aV,aY)while ax do debugprint('waiting to insert '..aY[ 'Player'].Name)wait(3.333333333333333E-2)end ax=true RemoveAllStats(aY)ax=false end function ClosePopUpPanel()if av then local aV=av['Frame']Spawn(function() TweenProperty(aV,'BackgroundTransparency',0.5,1,c)end)end A:TweenPosition(UDim2. new(1,0,0,0),'Out','Linear',c,true)wait(0.1)aB=false av=nil end function InitMovingPanel(aV,aY)z.Parent=i if A then A:Destroy()end A=B:Clone()A.Parent=z local aZ,a_=2,GetFriendStatus(aY)debugprint(tostring(a_))local a0,a1=aM and g. PersonalServerRank>=aL['Admin']and g.PersonalServerRank>aw.PersonalServerRank, MakePopupButton(A,'Report Player',0)a1.MouseButton1Click:connect(function() OpenAbuseDialog()end)local a2=MakePopupButton(A,'Friend',1,not a0 and a_~=Enum. FriendStatus.FriendRequestReceived)a2.MouseButton1Click:connect( OnFriendButtonSelect)if a_==Enum.FriendStatus.Friend then a2:FindFirstChild 'ButtonText'.Text='UnFriend Player'elseif a_==Enum.FriendStatus.Unknown or a_== Enum.FriendStatus.NotFriend then a2:FindFirstChild'ButtonText'.Text= 'Send Request'elseif a_==Enum.FriendStatus.FriendRequestSent then a2: FindFirstChild'ButtonText'.Text='Revoke Request'elseif a_==Enum.FriendStatus. FriendRequestReceived then a2:FindFirstChild'ButtonText'.Text='Accept Friend' local a3=MakePopupButton(A,'Decline Friend',2,not a0)a3.MouseButton1Click: connect(OnFriendRefuseButtonSelect)aZ=aZ+1 end if a0 then local a3,a4,a5,a6= MakePopupButton(A,'Ban',aZ),MakePopupButton(A,'Visitor',aZ+1),MakePopupButton(A, 'Member',aZ+2),MakePopupButton(A,'Admin',aZ+3,true)a3.MouseButton1Click:connect( function()OnPrivilegeLevelSelect(aY,aL['Banned'],a3,a4,a5,a6)end)a4. MouseButton1Click:connect(function()OnPrivilegeLevelSelect(aY,aL['Visitor'],a3, a4,a5,a6)end)a5.MouseButton1Click:connect(function()OnPrivilegeLevelSelect(aY,aL ['Member'],a3,a4,a5,a6)end)a6.MouseButton1Click:connect(function() OnPrivilegeLevelSelect(aY,aL['Admin'],a3,a4,a5,a6)end)HighlightMyRank(aw,a3,a4, a5,a6)end A:TweenPosition(UDim2.new(0,0,0,0),'Out','Linear',c,true)Delay(0, function()local a3 a3=h.Button1Down:connect(function()a3:disconnect() ClosePopUpPanel()end)end)local a3=aV['Frame']Spawn(function()while aB do z. Position=UDim2.new(0,a3.AbsolutePosition.X-z.Size.X.Offset,0,a3.AbsolutePosition .Y)wait()end end)end function OnPlayerEntrySelect(aV,aY,aZ)if not aB then av=aV aw=aV['Player']StartDrag(aV,aY,aZ)end end function ActivatePlayerEntryPanel(aV) aV['Frame'].BackgroundColor3=Color3.new(0,1,1)Spawn(function()TweenProperty(aV[ 'Frame'],'BackgroundTransparency',1,0.5,0.5)end)aB=true InitMovingPanel(aV,aV[ 'Player'])end function PlayerListModeUpdate()RecreateScoreColumns(ae)table.sort( ae,PlayerSortFunction)for aV,aY in ipairs(ae)do ah[aV]=aY['Frame']end for aZ=#ae +1,#ah,1 do ah[aZ]=nil end UpdateMinimize()end function InsertPlayerFrame(aV) while ax do debugprint('waiting to insert '..aV.Name)wait(3.333333333333333E-2) end ax=true local aY=H:Clone()WaitForChild(WaitForChild(aY,'TitleFrame'),'Title' ).Text=aV.Name aY.Position=UDim2.new(1,0,(#ah*aY.Size.Y.Scale),0)local aZ= GetFriendStatus(aV)aY:FindFirstChild'BCLabel'.Image=getMembershipTypeIcon(aV. MembershipType,aV.Name)aY:FindFirstChild'FriendLabel'.Image=getFriendStatusIcon( aZ)aY.Name=aV.Name WaitForChild(WaitForChild(aY,'TitleFrame'),'Title').Text=aV. Name aY.FriendLabel.Position=aY.FriendLabel.Position+UDim2.new(0,17,0,0)aY. TitleFrame.Title.Position=aY.TitleFrame.Title.Position+UDim2.new(0,17,0,0)if aY: FindFirstChild'FriendLabel'.Image~=''then aY.TitleFrame.Title.Position=aY. TitleFrame.Title.Position+UDim2.new(0,17,0,0)end if aV.Name==g.Name then aY. TitleFrame.Title.Font='ArialBold'aY.PlayerScore.Font='ArialBold' ChangeHeaderName(aV.Name)local a_=aY.TitleFrame.Title:Clone()a_.TextColor3= Color3.new(0,0,0)a_.TextTransparency=0 a_.ZIndex=2 a_.Position=aY.TitleFrame. Title.Position+UDim2.new(0,1,0,1)a_.Name='DropShadow'a_.Parent=aY.TitleFrame end aY.TitleFrame.Title.Font='ArialBold'aY.Parent=y aY:TweenPosition(UDim2.new(0.5,0 ,(#ah*aY.Size.Y.Scale),0),'Out','Linear',c,true)UpdateMinimize()local a_={}a_[ 'Frame']=aY a_['Player']=aV a_['ID']=ad ad=ad+1 table.insert(ae,a_)if#af~=0 then if aV.Neutral then a_['MyTeam']=nil if not ag then AddNeutralTeam()else AddPlayerToTeam(ag,a_)end else local a0=false for a1,a2 in ipairs(af)do if a2[ 'MyTeam'].TeamColor==aV.TeamColor then AddPlayerToTeam(a2,a_)a_['MyTeam']=a2 a0= true end end if not a0 then a_['MyTeam']=nil if not ag then AddNeutralTeam()else AddPlayerToTeam(ag,a_)end a_['MyTeam']=ag end end end if aV:FindFirstChild 'leaderstats'then LeaderstatsAdded(a_)end aV.ChildAdded:connect(function(a0)if a0.Name=='leaderstats'then while ax do debugprint'in adding leaderstats lock' wait(3.333333333333333E-2)end ax=true LeaderstatsAdded(a_)ax=false end end)aV. ChildRemoved:connect(function(a0)if aV==g and a0.Name=='leaderstats'then LeaderstatsRemoved(a0,a_)end end)aV.Changed:connect(function(a0)PlayerChanged(a_ ,a0)end)local a0=WaitForChild(aY,'ClickListener')a0.Active=true a0. MouseButton1Down:connect(function(a1,a2)OnPlayerEntrySelect(a_,a1,a2)end) AddMiddleBGFrame()BaseUpdate()ax=false end function RemovePlayerFrame(aV)while ax do debugprint'in removing player frame lock'wait(3.333333333333333E-2)end ax= true local aY for aZ,a_ in ipairs(ae)do if aV==a_['Player']then if z.Parent==a_[ 'Frame']then z.Parent=nil end a_['Frame']:Destroy()aY=a_['MyTeam']table.remove( ae,aZ)end end if aY then for a0,a1 in ipairs(aY['MyPlayers'])do if a1['Player'] ==aV then RemovePlayerFromTeam(aY,a0)end end end RemoveMiddleBGFrame() UpdateMinimize()BaseUpdate()ax=false end f.ChildRemoved:connect( RemovePlayerFrame)function UnrollTeams(aV,aY)local aZ=0 if ag and not ag[ 'IsHidden']then for a_,a0 in ipairs(ag['MyPlayers'])do aZ=aZ+1 aY[aZ]=a0['Frame' ]end aZ=aZ+1 aY[aZ]=ag['Frame']end for a_,a0 in ipairs(aV)do if not a0[ 'IsHidden']then for a1,a2 in ipairs(a0.MyPlayers)do aZ=aZ+1 aY[aZ]=a2['Frame'] end aZ=aZ+1 aY[aZ]=a0['Frame']end end for a1=aZ+1,#aY,1 do aY[a1]=nil end end function TeamSortFunc(aV,aY)if aV['TeamScore']==aY['TeamScore']then return aV[ 'ID']0 then debugprint(aV['Player'].Name..'could not find team')aV['MyTeam']=nil if not ag then AddNeutralTeam()else AddPlayerToTeam(ag,aV)end end end function PlayerChanged(aV,aY)while aC do debugprint'in playerchanged lock'wait( 3.333333333333333E-2)end aC=true if aY=='Neutral'then if aV['Player'].Neutral and#(game.Teams:GetTeams())>0 then debugprint(aV['Player'].Name.. 'setting to neutral')FindRemovePlayerFromTeam(aV)aV['MyTeam']=nil if not ag then debugprint(aV['Player'].Name..'creating neutral team')AddNeutralTeam()else debugprint(aV['Player'].Name..'adding to neutral team')AddPlayerToTeam(ag,aV)end elseif#(game.Teams:GetTeams())>0 then debugprint(aV['Player'].Name.. 'has been set non-neutral')SetPlayerToTeam(aV)end BaseUpdate()elseif aY== 'TeamColor'and not aV['Player'].Neutral and aV['Player']~=aV['MyTeam']then debugprint(aV['Player'].Name..'setting to new team')SetPlayerToTeam(aV) BaseUpdate()elseif aY=='Name'or aY=='MembershipType'then aV['Frame']: FindFirstChild'BCLabel'.Image=getMembershipTypeIcon(aV['Player'].MembershipType, aV['Player'].Name)aV['Frame'].Name=aV['Player'].Name aV['Frame'].TitleFrame. Title.Text=aV['Player'].Name if aV['Frame'].BCLabel.Image~=''then aV['Frame']. TitleFrame.Title.Position=UDim2.new(0.01,30,0.1,0)end if aV['Player']==g then aV ['Frame'].TitleFrame.DropShadow.Text=aV['Player'].Name ChangeHeaderName(aV[ 'Player'].Name)end BaseUpdate()end aC=false end function OnFriendshipChanged(aV, aY)Delay(0.5,function()debugprint('friend status changed for:'..aV.Name..' '.. tostring(aY)..' vs '..tostring(GetFriendStatus(aV)))for aZ,a_ in ipairs(ae)do if a_['Player']==aV then local a0=getFriendStatusIcon(aY)if a0==''and a_['Frame']. FriendLabel.Image~=''then a_['Frame'].TitleFrame.Title.Position=a_['Frame']. TitleFrame.Title.Position-UDim2.new(0,17,0,0)elseif a0~=''and a_['Frame']. FriendLabel.Image==''then a_['Frame'].TitleFrame.Title.Position=a_['Frame']. TitleFrame.Title.Position+UDim2.new(0,17,0,0)debugprint('confirmed status:'..aV. Name)end a_['Frame'].FriendLabel.Image=a0 return end end end)end g. FriendStatusChanged:connect(OnFriendshipChanged)function AddNeutralTeam()while aD do debugprint'in neutral team 2 lock'wait()end aD=true local aV=Instance.new 'Team'aV.TeamColor=BrickColor.new'White'aV.Name='Neutral'local aY={}aY['MyTeam'] =aV aY['MyPlayers']={}aY['Frame']=H:Clone()WaitForChild(WaitForChild(aY['Frame'] ,'TitleFrame'),'Title').Text=aV.Name aY['Frame'].TitleFrame.Position=UDim2.new( aY['Frame'].TitleFrame.Position.X.Scale,aY['Frame'].TitleFrame.Position.X.Offset ,0.1,0)aY['Frame'].TitleFrame.Size=UDim2.new(aY['Frame'].TitleFrame.Size.X.Scale ,aY['Frame'].TitleFrame.Size.X.Offset,0.8,0)aY['Frame'].TitleFrame.Title.Font= 'ArialBold'aY['Frame'].Position=UDim2.new(1,0,(#ah*aY['Frame'].Size.Y.Scale),0) WaitForChild(aY['Frame'],'ClickListener').MouseButton1Down:connect(function(aZ, a_)StartDrag(aY,aZ,a_)end)aY['Frame'].ClickListener.BackgroundColor3=Color3.new( 1,1,1)aY['Frame'].ClickListener.BackgroundTransparency=0.7 aY['Frame']. ClickListener.AutoButtonColor=false aY['AutoHide']=true aY['IsHidden']=true for aZ,a_ in pairs(ae)do if a_['Player'].Neutral or not a_['MyTeam']then AddPlayerToTeam(aY,a_)end end if#aY['MyPlayers']>0 then ag=aY UpdateMinimize() BaseUpdate()end aD=false end function RemoveNeutralTeam()while aD do debugprint 'in neutral team lock'wait()end aD=true ag['Frame']:Destroy()ag=nil RemoveMiddleBGFrame()aD=false end function TeamScoreChanged(aV,aY)WaitForChild( aV['Frame'],'PlayerScore').Text=tostring(aY)aV['TeamScore']=aY end function TeamChildAdded(aV,aY)if aY.Name=='AutoHide'then aV['AutoHide']=true elseif aY. Name=='TeamScore'then WaitForChild(aV['Frame'],'PlayerScore').Text=tostring(aY. Value)aV['TeamScore']=aY.Value aY.Changed:connect(function()TeamScoreChanged(aV, aY.Value)end)end end function TeamChildRemoved(aV,aY)if aY.Name=='AutoHide'then aV['AutoHide']=false elseif aY.Name=='TeamScore'then WaitForChild(aV['Frame'], 'PlayerScore').Text=''aV['TeamScore']=nil end end function TeamChanged(aV,aY)if aY=='Name'then WaitForChild(WaitForChild(aV['Frame'],'TitleFrame'),'Title').Text =aV['MyTeam'].Name elseif aY=='TeamColor'then aV['Frame'].ClickListener. BackgroundColor3=aV['MyTeam'].TeamColor.Color for aZ,a_ in pairs(af)do if a_[ 'MyTeam'].TeamColor==aV['MyTeam']then RemoveTeamFrame(aV['MyTeam'])end end aV[ 'MyPlayers']={}for a0,a1 in pairs(ae)do SetPlayerToTeam(a1)end BaseUpdate()end end function InsertTeamFrame(aV)while ax do debugprint 'in adding team frame lock'wait(3.333333333333333E-2)end ax=true local aY={}aY[ 'MyTeam']=aV aY['MyPlayers']={}aY['Frame']=H:Clone()WaitForChild(WaitForChild(aY ['Frame'],'TitleFrame'),'Title').Text=aV.Name aY['Frame'].TitleFrame.Title.Font= 'ArialBold'aY['Frame'].TitleFrame.Title.FontSize='Size18'aY['Frame'].TitleFrame. Position=UDim2.new(aY['Frame'].TitleFrame.Position.X.Scale,aY['Frame']. TitleFrame.Position.X.Offset,0.1,0)aY['Frame'].TitleFrame.Size=UDim2.new(aY[ 'Frame'].TitleFrame.Size.X.Scale,aY['Frame'].TitleFrame.Size.X.Offset,0.8,0)aY[ 'Frame'].Position=UDim2.new(1,0,(#ah*aY['Frame'].Size.Y.Scale),0)WaitForChild(aY ['Frame'],'ClickListener').MouseButton1Down:connect(function(a0,a1)StartDrag(aY, a0,a1)end)aY['Frame'].ClickListener.BackgroundColor3=aV.TeamColor.Color aY[ 'Frame'].ClickListener.BackgroundTransparency=0.7 aY['Frame'].ClickListener. AutoButtonColor=false ad=ad+1 aY['ID']=ad aY['AutoHide']=false if aV: FindFirstChild'AutoHide'then aY['AutoHide']=true end if aV:FindFirstChild 'TeamScore'then TeamChildAdded(aY,aV.TeamScore)end aV.ChildAdded:connect( function(a0)TeamChildAdded(aY,a0)end)aV.ChildRemoved:connect(function(a0) TeamChildRemoved(aY,a0)end)aV.Changed:connect(function(a0)TeamChanged(aY,a0)end) for a0,a1 in pairs(ae)do if not a1['Player'].Neutral and a1['Player'].TeamColor ==aV.TeamColor then AddPlayerToTeam(aY,a1)end end aY['IsHidden']=false if not aY ['AutoHide']or#aY['MyPlayers']>0 then aY['Frame'].Parent=y aY['Frame']: TweenPosition(UDim2.new(0.5,0,(#ah*aY['Frame'].Size.Y.Scale),0),'Out','Linear',c ,true)AddMiddleBGFrame()else aY['IsHidden']=true aY['Frame'].Parent=nil end table.insert(af,aY)UpdateMinimize()BaseUpdate()if#af==1 and not ag then AddNeutralTeam()end ax=false end function RemoveTeamFrame(aV)while ax do debugprint'in removing team frame lock'wait(3.333333333333333E-2)end ax=true local aY for a0,a1 in ipairs(af)do if aV==a1['MyTeam']then aY=a1 a1['Frame']: Destroy()table.remove(af,a0)end end if#af==0 then debugprint 'removeteamframe, remove neutral'if ag then RemoveNeutralTeam()end end for a2,a3 in ipairs(aY['MyPlayers'])do RemovePlayerFromTeam(aY,a2)PlayerChanged(a3, 'TeamColor')end RemoveMiddleBGFrame()BaseUpdate()ax=false end function TeamAdded (aV)InsertTeamFrame(aV)end function TeamRemoved(aV)RemoveTeamFrame(aV)end function BaseUpdate()while az do debugprint'in baseupdate lock'wait( 3.333333333333333E-2)end az=true UpdateStatNames()if#af==0 and not ag then PlayerListModeUpdate()else TeamListModeUpdate()end for aV,aY in ipairs(ah)do if aY.Parent~=nil then aY:TweenPosition(UDim2.new(0.5,0,((#ah-aV)*aY.Size.Y.Scale), 0),'Out','Linear',c,true)end end if not D.Value and#ah>_ then UpdateScrollPosition()end UpdateMinimize()UpdateScrollBarSize() UpdateScrollPosition()UpdateScrollBarVisibility()az=false end game.GuiService: AddKey'\t'local aV=time()game.GuiService.KeyPressed:connect(function(aY)if aY== '\t'then debugprint'caught tab key'local a2,a3=pcall(function()return game. GuiService.IsModalDialog end)if a2==false or(a2 and a3==false)then if time()-aV> 0.4 then aV=time()if F.Value then if not E.Value then i:TweenPosition(UDim2.new( 0,0,0,0),'Out','Linear',c*1.2,true)E.Value=true else i:TweenPosition(UDim2.new( ar.X.Scale,ar.X.Offset-10,0,0),'Out','Linear',c*1.2,true)E.Value=false D.Value= true end else ToggleMaximize()end end end end end)function PlayersChildAdded(aY) if aY:IsA'Player'then Spawn(function()debugPlayerAdd(aY)end)else BlowThisPopsicleStand()end end function coreGuiChanged(aY,a2)if aY==Enum. CoreGuiType.All or aY==Enum.CoreGuiType.PlayerList then j.Visible=a2 end end function TeamsChildAdded(aY)if aY:IsA'Team'then TeamAdded(aY)else BlowThisPopsicleStand()end end function TeamsChildRemoved(aY)if aY:IsA'Team'then TeamRemoved(aY)else BlowThisPopsicleStand()end end function debugPlayerAdd(aY) InsertPlayerFrame(aY)end pcall(function()coreGuiChanged(Enum.CoreGuiType. PlayerList,Game.StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType.PlayerList))Game. StarterGui.CoreGuiChangedSignal:connect(coreGuiChanged)end)while not game: GetService'Teams'do wait(3.333333333333333E-2)debugprint'Waiting For Teams'end for aY,a2 in pairs(game.Teams:GetTeams())do TeamAdded(a2)end for a3,a4 in pairs( f:GetPlayers())do Spawn(function()debugPlayerAdd(a4)end)end game.Teams. ChildAdded:connect(TeamsChildAdded)game.Teams.ChildRemoved:connect( TeamsChildRemoved)f.ChildAdded:connect(PlayersChildAdded)InitReportAbuse()G. Value=true BaseUpdate()wait(2)aM=not not game.Workspace:FindFirstChild 'PSVariable'if g.Name=='newplayerlistisbad'or g.Name=='imtotallyadmin'then V. Parent=i Spawn(function()while true do local a5=''for a6,a7 in pairs(game. Players:GetPlayers())do a5=a5..' '..a7.Name end W.Text=a5 wait(0.5)end end)end