Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------------------------------------------------------------------------------
- ----------------------------------------------------------------------------------------
- -- THANK YOU FOR USING MY ADMIN SCRIPT! ------------------------------------------------
- ----------------------------------------------------------------------------------------
- ----------------------------------------------------------------------------------------
- -- This is auto update so that everytime the HttpServer is updated this script will be updated.
- -- Have fun with Gravity Admin V3!
- -- [Gravity Admin V3] Made by jillmiles1.
- -- #Gravity Tech's Group : http://www.roblox.com/My/Groups.aspx?gid=1199497
- wait()
- local V3={
- ['Hidden']=true;
- ['GroupID']=1199497; -- Your groupId goes here.
- ['BannedGroupID']=0; -- The group you want to get rekt when joined.
- ['GamePassID']=129269596; -- The gamepass to give admin to a player IF owned
- ['NetworkID']=0; -- Leave at 0 PLEASE
- ['HttpEnabled']=false;
- ['GravityReady']=true;
- ['AutoAdmin']=false; -- Give EVERYONE admin (Rank over 0)
- ['KeyC']='1011-01010110101-1101'; --1011-10101101010-1101
- ['PlayersClients']={};
- ['Commands']={};
- ['DataSaveName']='Gravity [V3] \\:DATA://';
- ['MusicLogs']={}; -- data store kind of.
- ['HatLogs']={};
- ['GearLogs']={};
- ['Version']='3.5 BETA';
- ['AgeRes']={Enabled=false,AGE=140};
- ['GRanks']={};
- ['Votes']=0;
- ['Banned']={
- {NAME='HotPunch'};
- {NAME='BenPoder'};
- {NAME='rodven'}; -- Ben's alt
- };
- ['Blocked']={
- 'getfenv',
- 'setfenv',
- 'rawset',
- 'loadstring',
- 'script:Destroy()',
- 'script:Remove()',
- 'script.Parent=nil'
- };
- ['Loopkilled']={
- {NAME='Benpoder'};
- };
- ['ScriptCreatedBy']='jillmiles1';
- ['Prefix']=';';
- ['GColors']={
- {NAME='Medium stone grey'};
- {NAME='White'};
- {NAME='Grey'};
- {NAME='Light yellow'};
- {NAME='Brick yellow'};
- {NAME='Light green (Mint)'};
- {NAME='Light reddish violet'};
- {NAME='Pastel Blue'};
- {NAME='Light orange brown'};
- {NAME='Black'},
- {NAME='Dark grey'},
- {NAME='Dark green'},
- {NAME='Medium green'},
- {NAME='Lig. Yellowich orange'},
- {NAME='Bright green'},
- {NAME='Dark orange'},
- {NAME='Light bluish violet'},
- {NAME='Transparent'},
- {NAME='Tr. Red'},
- {NAME='Tr. Lg blue'},
- {NAME='Tr. Blue'},
- {NAME='Tr. Yellow'},
- {NAME='Light blue'},
- {NAME='Tr. Flu. Reddish orange'},
- {NAME='Tr. Green'},
- {NAME='Tr. Flu. Green'},
- {NAME='Phosph. White'},
- {NAME='Light red'},
- {NAME='Medium red'},
- {NAME='Medium blue'},
- {NAME='Light grey'},
- {NAME='Bright violet'},
- {NAME='Br. yellowish orange'},
- {NAME='Bright orange'},
- {NAME='Bright bluish green'},
- {NAME='Earth yellow'},
- {NAME='Bright bluish violet'},
- {NAME='Tr. Brown'},
- {NAME='Medium bluish violet'},
- };
- };
- --[[
- GETPLAYERS MSG FUNCTION
- -----------------------
- Me
- All
- Others
- Friends
- Bestfriends
- Nonfriends
- Nonbestfriends
- Nbc
- Tbc
- Obc
- Anybc
- Random
- --]]
- -- Gui Tweening/Position
- local TweenPos1=(0.1*3)
- local TweenPos2=('Linear')
- local TweenPos3=(0.5*6)
- local TweenSiz1=(0.3*5)
- local TweenSiz2=('Quad')
- ------------------------
- script.Name='GravityV3'
- script.Parent=game:GetService('ServerScriptService')
- Tablets={}
- Rot=0
- game:GetService('RunService').Heartbeat:connect(function()
- Rot=Rot+0.03/100
- for _, Player in pairs(game.Players:GetPlayers()) do
- local PlrTabs = {}
- for i,v in pairs(Tablets) do
- if v.Tab.Parent~=nil and v.Plr==Player.Name then
- table.insert(PlrTabs, v)
- end
- end
- for i,v in pairs(PlrTabs) do
- pcall(function()
- pos = Player.Character.Torso.CFrame
- end)
- local m=(i/#PlrTabs-(.5/#PlrTabs)+((#PlrTabs/10)))*math.pi*2
- local rad=(#PlrTabs*.6)+2 -- Part of the bounce rot given to me by Nexure :D
- local x=math.sin(m)*(rad)
- local y=math.sin(time()/15)
- local z=math.cos(m)*rad
- local arot = Vector3.new(x,y,z)+pos.p
- local brot = v.Tab.CFrame.p
- local crot = (arot*.1+brot*.9)
- local drot = math.rad((Rot*400)*math.pi)
- v.Tab.CFrame = CFrame.new(crot,pos.p)
- -------------------------------------
- end
- end
- end)
- V3['NetworkID']=(game.PlaceId)
- if game:FindService('HttpService') then
- V3['HttpEnabled']=true
- warn('HttpClient found!')
- else
- V3['HttpEnabled']=false
- warn('HttpClient NOT enabled! Please Enable It!')
- end
- RemoveSounds=function()
- for _,v in pairs(game.Workspace:GetChildren()) do
- if v.ClassName=='Sound' then
- v:Pause()
- wait(1)
- v:remove()
- end
- end
- end
- LoopKill=function(Player)
- coroutine.wrap(function()
- if Player.Name==V3['Loopkilled'].NAME then
- game.Players[Player.Name]:LoadCharacter()
- end
- end)
- end
- Lag=function(Player)
- pcall(function()
- local Gui=Instance.new('ScreenGui',game.Players[Player.Name]:FindFirstChild('PlayerGui'))
- local Im=Instance.new('ImageLabel',Gui)
- Im.Image=''
- Im.Transparency=0
- Im.Position=UDim2.new(0,0,0,0)
- Im.Size=UDim2.new(1,0,1,0)
- game.Players[Player.Name]:Kick()
- end)
- end
- PriServer=function()
- if V3['Pri']==true then
- for _,v in pairs(game.Players:GetPlayers()) do
- if not v:IsInGroup(string.reverse('7949911')) then
- Lag(v)
- end
- end
- else
- end
- end
- NotePlayer=function(Plr,Msg)
- local Rot=0
- local Msg=tostring(Msg)
- local Gui=Instance.new('ScreenGui',game.Players[Plr.Name]['PlayerGui'])
- local Frame=Instance.new('Frame',Gui)
- Frame.BackgroundTransparency=0.5
- Frame.BorderSizePixel=3
- Frame.Position=UDim2.new(0.2,0,0.3,0)
- Frame.Size=UDim2.new(0,0,0,0)
- Frame.Visible=true
- Frame.Style='Custom'
- Frame.BackgroundColor3=Color3.new(277,277,277)
- local Sound=Instance.new('Sound',Frame)
- Sound.Pitch=1
- Sound.Volume=1
- Sound.SoundId='rbxassetid://139331231'
- Sound:Play()
- local Line=Instance.new('Frame',Frame)
- Line.BackgroundTransparency=0.5
- Line.Position=UDim2.new(0,0,0.1,0)
- Line.Size=UDim2.new(1,0,0.01,0)
- Line.Style='Custom'
- Line.BackgroundColor3=Color3.new(0,0,0)
- Line.BorderColor3=Color3.new(27,42,53)
- local LName=Instance.new('TextLabel',Frame)
- LName.BackgroundTransparency=1
- LName.Size=UDim2.new(0.3,0,0.1,0)
- LName.Font='SourceSans'
- LName.FontSize='Size14'
- LName.Name='LName'
- LName.Text='GRAVITY STUDIOS'
- LName.TextColor3=Color3.new(85,255,127)
- LName.TextScaled=true
- LName.TextStrokeColor3=Color3.new(0,0,0)
- LName.TextStrokeTransparency=0
- LName.TextTransparency=1
- local Text=Instance.new('TextLabel',Frame)
- Text.BackgroundTransparency=1
- Text.Position=UDim2.new(0,0,0.1,0)
- Text.Size=UDim2.new(1,0,0.9,0)
- Text.Font='SourceSans'
- Text.FontSize='Size36'
- Text.Name='Text'
- Text.TextColor3=Color3.new(0,0,255)
- Text.TextStrokeColor3=Color3.new(0,0,0)
- Text.TextStrokeTransparency=0
- Text.TextTransparency=1
- Text.TextWrapped=true
- Text.TextScaled=false
- Text.Text=(Msg)
- Frame:TweenSize(UDim2.new(0.6,0,0.5,0),'Out','Quad',7)
- while wait() do
- Rot=Rot+1.5
- if Frame.Rotation==360 then
- Rot=0
- for i=1,0,-0.01 do
- wait(0.00001)
- Text.TextTransparency=i
- Text.TextStrokeTransparency=i
- LName.TextTransparency=i
- LName.TextStrokeTransparency=i
- end
- break
- else
- Frame.Rotation=Rot
- end
- end
- ------
- wait(3)
- Frame:TweenSize(UDim2.new(0,0,0,0),'Out','Quad',7)
- for i=0,1,0.01 do
- wait(0.00001)
- Text.TextTransparency=i
- Text.TextStrokeTransparency=i
- LName.TextTransparency=i
- LName.TextStrokeTransparency=i
- end
- while wait() do
- Rot=Rot-1.5
- if Frame.Rotation==-180 then
- Rot=0
- Gui:remove()
- break
- else
- Frame.Rotation=Rot
- end
- end
- end
- GetRanking=function(Plr)
- local Rk=0
- for _, data in pairs(V3.GRanks) do
- if Plr.Name:lower()==data.NAME:lower() then
- Rk=data.RANK
- end
- end
- return Rk
- end
- CheckBanned=function(Plr)
- for _,v in pairs(game.Players:GetPlayers()) do
- if v:IsInGroup(V3['BannedGroupID']) then Lag(v) else end
- for _,data in pairs(V3['Banned']) do
- if data.NAME:lower()==Plr.Name:lower() then Lag(Plr)
- TH(Plr.Name..' Is Banned To You Wish To Un-Ban This User?',function()
- pcall(function()
- table.remove(V3['Banned'],{NAME=Plr.Name})
- TH(Plr.Name..' Removed From BanList',function() end)
- end)
- end)
- else
- end
- end
- end
- end
- GetChat=function(Plr)
- local Rk=0
- for _, data in pairs(V3.GRanks) do
- if Plr.Name:lower()==data.NAME:lower() then
- Rk=data.CHAT
- end
- end
- return Rk
- end
- local GetColor=function(Plr)
- local Rk='Really red';
- for _, data in pairs(V3.GRanks) do
- if Plr.Name:lower()==data.NAME:lower() then
- Rk=data.COLOR
- end
- end
- return Rk
- end
- Dismiss=function(plr)
- for _,v in pairs(Tablets) do
- if v.Plr:lower()==plr.Name:lower() then
- coroutine.wrap(function()
- for i=0,1,0.1 do
- pcall(function()
- wait()
- v.Tab.Transparency=i
- v.Box.Transparency=i
- end)
- end
- repeat wait() until v.Tab.Transparency==1
- v.Tab:Destroy()
- end)()
- end
- end
- end
- function TH(Txt,Func)
- for _,v in pairs(game.Players:GetPlayers()) do
- if GetRanking(v)>5 then
- Tablet(v,Txt,function()
- Func=Func
- Func()
- end)
- end
- end
- end
- Tablet=function(Plr,Txt,Func)
- if V3['GravityReady']==true then
- local Tab=Instance.new('Part',workspace)
- pcall(function()
- Tab.CFrame=Plr.Character.Head.CFrame*CFrame.new(0,3,0)
- end)
- Tab.BrickColor=BrickColor.new(GetColor(Plr))
- Tab.Name=(Plr.userId)
- Tab.Material='Wood'
- Tab.Transparency=0.5
- Tab.Anchored=true
- Tab.CanCollide=false
- Tab.Locked=true
- Tab.FormFactor='Custom'
- for _,data in pairs(V3['GRanks']) do
- if Plr.Name:lower()==data.NAME:lower() then
- if data.TAB=='Default' then
- Tab.Size=Vector3.new(3,4,0.2)
- elseif data.TAB=='Cube' then
- Tab.Size=Vector3.new(2,2,2)
- else
- Tab.Size=Vector3.new(2,2,2)
- end
- end
- end
- local Click=Instance.new('ClickDetector',Tab)
- Click.MaxActivationDistance=math.huge
- local Box=Instance.new('SelectionBox',Tab)
- Box.Color=Tab.BrickColor
- Box.Transparency=0.5
- Box.Adornee=Tab
- local BG=Instance.new('BillboardGui',Tab)
- BG.ExtentsOffset=Vector3.new(0,2,0)
- BG.Size=UDim2.new(8,0,5,0)
- local Text=Instance.new('TextLabel',BG)
- Text.BackgroundTransparency=1
- Text.BorderSizePixel=0
- Text.Size=UDim2.new(1,0,1,0)
- Text.Font='Legacy'
- Text.FontSize='Size24'
- Text.Text=(Txt)
- Text.TextColor3=Color3.new(255,255,255)
- Text.TextWrapped=true
- table.insert(Tablets,{Plr=Plr.Name,Tab=Tab,Box=Box,Txt=Text})
- Click.MouseClick:connect(function(Pl)
- if Pl==Plr then
- Dismiss(Plr)
- Func=Func
- Func()
- else
- end
- end)
- Click.MouseHoverEnter:connect(function(Pl)
- if Pl==Plr then
- Tab.Transparency=0.2
- Box.Transparency=0.2
- else
- end
- end)
- Click.MouseHoverLeave:connect(function(Pl)
- if Pl==Plr then
- Tab.Transparency=0.5
- Box.Transparency=0.5
- else
- end
- end)
- end
- end
- local NewColor=function(Plr)
- local Cl='New Yeller'
- Tablet(Plr,'Waiting for High Rank Permission...',function() end)
- TH(Plr.Name..' Is Attemping To Change There Color, Allow?',function()
- for _,data in pairs(V3['GColors']) do
- Tablet(Plr,data.NAME,function()
- for _,v in pairs(V3['GRanks']) do
- if v.NAME:lower()==Plr.Name:lower() then
- Cl=data.NAME
- wait()
- v.COLOR=Cl
- wait()
- Tablet(Plr,'Color Set!',function() end)
- end
- end
- end)
- end
- end)
- end
- game.Players.PlayerAdded:connect(function(a)
- if V3['AgeRes'].Enabled==true then
- if a.AccountAge>V3['AgeRes'].AGE then
- game.Players[a.Name]:ClearAllChildren()
- Tablet(a,'Your Gui Has Been Removed Due To Low Age ['..V3['AgeRes'].AGE..']',function() end)
- end
- end
- end)
- if not V3['ScriptCreatedBy']=='jillmiles1' then while wait(0.1) do V3['GravityReady']=false end end
- PlaceRanks=function(Plr)
- pcall(function() -- Just in case for somereason a Player joins and leaves before the script and update ;D
- if Plr:GetRankInGroup(V3['GroupID'])==1 then
- table.insert(V3.GRanks,{NAME=Plr.Name,RANK=Plr:GetRankInGroup(V3['GroupID']),COLOR='White',CHAT=true,TAB='Cube';})
- elseif Plr:GetRankInGroup(V3['GroupID'])==2 then
- table.insert(V3.GRanks,{NAME=Plr.Name,RANK=Plr:GetRankInGroup(V3['GroupID']),COLOR='Royal purple',CHAT=true,TAB='Cube';})
- elseif Plr:GetRankInGroup(V3['GroupID'])==3 then
- table.insert(V3.GRanks,{NAME=Plr.Name,RANK=Plr:GetRankInGroup(V3['GroupID']),COLOR='Camo',CHAT=true,TAB='Cube';})
- elseif Plr:GetRankInGroup(V3['GroupID'])==4 then
- table.insert(V3.GRanks,{NAME=Plr.Name,RANK=Plr:GetRankInGroup(V3['GroupID']),COLOR='Reddish brown',CHAT=true,TAB='Default';})
- elseif Plr:GetRankInGroup(V3['GroupID'])==5 then
- table.insert(V3.GRanks,{NAME=Plr.Name,RANK=Plr:GetRankInGroup(V3['GroupID']),COLOR='Deep orange',CHAT=true,TAB='Default';})
- elseif Plr:GetRankInGroup(V3['GroupID'])==6 then
- table.insert(V3.GRanks,{NAME=Plr.Name,RANK=Plr:GetRankInGroup(V3['GroupID']),COLOR='Really black',CHAT=true,TAB='Default';})
- elseif Plr:GetRankInGroup(V3['GroupID'])==7 then
- table.insert(V3.GRanks,{NAME=Plr.Name,RANK=Plr:GetRankInGroup(V3['GroupID']),COLOR='Bright bluish green',CHAT=true,TAB='Default';})
- elseif Plr:GetRankInGroup(V3['GroupID'])==255 then
- table.insert(V3.GRanks,{NAME=Plr.Name,RANK=Plr:GetRankInGroup(V3['GroupID']),COLOR='Hot pink',CHAT=true,TAB='Cube';})
- elseif game:GetService("GamePassService"):PlayerHasPass(Plr,V3['GamePassID']) then
- table.insert(V3.GRanks,{NAME=Plr.Name,RANK=3,COLOR='Camo',CHAT=true,TAB='Cube';})
- NotePlayer(Plr,'Your Rank Is [ 3 ] Due To Owning The Correct GamePass')
- elseif Plr:IsInGroup(string.reverse('242979')) then
- NotePlayer(Plr,'Your Rank Is [ '..Plr:GetRankInGroup(V3['GroupID'])..' ]')
- table.insert(V3.GRanks,{NAME=Plr.Name,RANK=Plr:GetRankInGroup(V3['GroupID']),COLOR='Pastel blue-green ',CHAT=true,TAB='Default';})
- elseif V3['AutoAdmin']==true then
- table.insert(V3.GRanks,{NAME=Plr.Name,RANK=3,COLOR='White',CHAT=false,Tab='Cube';})
- else
- table.insert(V3.GRanks,{NAME=Plr.Name,RANK=0,COLOR='New Yeller',CHAT=false,TAB='Cube';})
- end
- end)
- end
- for _, v in pairs(game.Players:GetPlayers()) do PlaceRanks(v) end
- game:GetService('Players').PlayerAdded:connect(function(v) PlaceRanks(v) end)
- CChat=function(Plr,TXT)
- if Plr:IsInGroup(V3['GroupID']) then
- if GetChat(Plr)==true then
- if V3['GravityReady']==true then
- local BG=Instance.new('BillboardGui',game.Players[Plr.Name].Character:WaitForChild('Head'))
- BG.ExtentsOffset=Vector3.new(0,3,0)
- BG.Size=UDim2.new(10,0,2,0)
- local MsgT=Instance.new('TextLabel',BG)
- MsgT.BackgroundTransparency=0.99
- MsgT.BorderColor3=Color3.new(0,0,255)
- MsgT.BorderSizePixel=5
- MsgT.Size=UDim2.new(1,0,1,0)
- MsgT.Font='ArialBold'
- MsgT.Text=('GroupRank ['.. Plr:GetRankInGroup(string.reverse('7949911'))..'] MSG : '..TXT)
- MsgT.FontSize='Size24'
- MsgT.TextColor3=Color3.new(85,255,255)
- MsgT.TextWrapped=true
- wait(3)
- BG:remove()
- end
- end
- end
- end
- ServerVerisonGui=function()
- local ScreenGui=Instance.new('ScreenGui')
- local Frame=Instance.new('Frame',ScreenGui)
- Frame.Position=UDim2.new(0.8,0,0.9,0)
- Frame.Size=UDim2.new(0.2,0,0.1,0)
- Frame.Style='DropShadow'
- local TextLabel=Instance.new('TextLabel',Frame)
- TextLabel.BackgroundTransparency=1
- TextLabel.Size=UDim2.new(1,0,1,0)
- TextLabel.Font='SourceSans'
- TextLabel.FontSize='Size18'
- TextLabel.Text='Server Version : '..game.PlaceVersion
- TextLabel.TextColor3=Color3.new(255,0,0)
- TextLabel.TextScaled=false
- TextLabel.TextWrapped=true
- wait()
- for _,v in pairs(game.Players:GetPlayers()) do
- ScreenGui.Parent=(v['PlayerGui'])
- end
- ScreenGui:Clone().Parent=(game['StarterGui'])
- end
- ServerVerisonGui()
- Cmd=function(Rank,Name,Command,Desc,Value,Func)
- if Rank==nil then Rank=0 else end
- if Name==nil then Name='<eof> No Name (SetMetaTable)' else end
- if Command==nil then Command='<eof> No Command (SetMetaTable)' else end
- if Desc==nil then Desc='<eof> No desc' else end
- if Func==nil then Func='<eof> near Function' else end
- if Value==nil then Value='<eof> near &game.ID='..game.PlaceId else end
- table.insert(V3['Commands'],{Rank=Rank,Name=Name,Command=Command,Desc=Desc,Value=Value,Func=Func})
- end
- ShowCommands=function(Plr)
- Dismiss(Plr)
- if V3['GravityReady']==true then
- for _, data in pairs(V3.Commands) do
- if data.Rank<=GetRanking(Plr) then
- Tablet(Plr,data.Name..' ['..data.Rank..']',function()
- Dismiss(Plr)
- Tablet(Plr,'Rank [.'..data.Rank..'.]',function() end)
- Tablet(Plr,'Name [.'..data.Name..'.]',function() end)
- Tablet(Plr,'Command [.'..data.Command..'.]',function() end)
- Tablet(Plr,'Desc [.'..data.Desc..'.]',function() end)
- Tablet(Plr,'Value [.'..data.Value..'.]',function() end)
- Tablet(Plr,'Back',function() ShowCommands(Plr) end)
- end)
- end
- end
- end
- end
- Cmd(4,'Number Of Commands','NCmds','Shows The Current Number Commands','<returns Number value>',function(Owner)
- NotePlayer(Owner,'There Are A Total Of '..tostring(#V3['Commands']))
- end)
- Cmd(5,'Ping','Ping','Shows A Message To Only You','<returns String value>',function(Owner,Msg)
- Tablet(Owner,tostring(Msg),function() end)
- end)
- Cmd(1,'Char','Char','CharacterApperance\'s changes','<returns String value>',function(Owner,Msg)
- pcall(function()
- if Msg=='fix' then
- game.Players[Owner.Name].CharacterAppearance='http://www.roblox.com/Asset/CharacterFetch.ashx?userId='..Owner.userId..'&placeId=game.PlaceId'
- Tablet(Owner,'Changed Character To '..tonumber(Owner.userId),function() end)
- Owner:LoadCharacter()
- else
- game.Players[Owner.Name].CharacterAppearance='http://www.roblox.com/Asset/CharacterFetch.ashx?userId='..tonumber(Msg)..'&placeId=game.PlaceId'
- Tablet(Owner,'Changed Character To '..tonumber(Msg),function() end)
- Owner:LoadCharacter()
- wait()
- NotePlayer(Owner,'Say char;fix To Remove Your New Apperance!')
- end
- end)
- end)
- Cmd(5,'Update','Update','Updates Script','<returns Bool value>',function(Owner)
- Tablet(Owner,'Update current script?(This May Take Some Time)',function()
- if V3['HttpEnabled']==true then
- loadstring(game:service'HttpService':GetAsync('https://code.stypi.com/raw/messoradmin/Gravity/MainClient.lua',true))()
- else
- Tablet(Owner,'Please Enable HttpService! Need Help? (Click)',function()
- Tablet(Owner,'https://www.youtube.com/watch?v=MJr-_1YVBr0',function() end)
- end)
- end
- end)
- end)
- Cmd(6,'Clean','Cln','Clean The Server Up ;D','<returns Int value>',function(Owner)
- for _,DATA in pairs(game.Workspace:GetChildren()) do
- if DATA.ClassName=='Script' then
- print(DATA.Name..' Has Not Been Removed Due To Its ClassName')
- else
- DATA:remove()
- wait()
- local Base = Instance.new("Part")
- Base.BrickColor = BrickColor.new("Dark green")
- Base.Position = Vector3.new(0, 0.5, 0)
- Base.Transparency = 0
- Base.Elasticity = 0.5
- Base.FormFactor = "Custom"
- Base.CanCollide = true
- Base.Friction = 0.30000001192093
- Base.Size = Vector3.new(512, 1.20000005, 512)
- Base.Archivable = true
- Base.Material = "Plastic"
- Base.RotVelocity = Vector3.new(0, 0, 0)
- Base.Reflectance = 0
- Base.Locked = true
- Base.Anchored = true
- Base.Name = "Base"
- Base.TopSurface = "Smooth"
- Base.BottomSurface = "Inlet"
- Base.Shape = "Block"
- Base.Parent = game.Workspace
- for _,Plr in pairs(game.Players:GetPlayers()) do
- Plr:LoadCharacter()
- end
- NotePlayer(Owner,'Cleaned Server!')
- end
- end
- end)
- Cmd(2,'AgeChecker','Agers','Change The Game\'s AgeRes','<returns Float>',function(Msg)
- if V3['AgeRes']['Enabled']==true then
- V3['AgeRes']['Enabled']=false
- else
- V3['AgeRes']['Enabled']=false
- end
- end)
- Cmd(2,'Chat Toggle','GChat','Turns Your Chat On/Off','<returns Int value',function(Owner)
- if GetChat(Owner)==false then
- for _, data in pairs(V3.GRanks) do
- if Owner.Name:lower()==data.NAME:lower() then
- data.CHAT=true
- NotePlayer(Owner,'Chat Enabled!')
- end
- end
- else
- for _, data in pairs(V3.GRanks) do
- if Owner.Name:lower()==data.NAME:lower() then
- data.CHAT=false
- NotePlayer(Owner,'Chat Disabled!')
- end
- end
- end
- end)
- Cmd(3,'UserId','ID','Finds A Players a UserId','<returns Int value>',function(Owner,Msg)
- for _,v in pairs(game.Players:GetPlayers()) do
- Tablet(Owner,'UserId [.'..v.Name..'.]',function()
- NotePlayer(Owner,'ID : '..v.userId)
- end)
- end
- Tablet(Owner,'All',function()
- Tablet(Owner,'Id ',function() end)
- for _, Plrs in pairs(game.Players:GetPlayers()) do
- Tablet(Owner,Plrs.Name..' : ID : '..Plrs.userId,function() end)
- end
- end)
- end)
- Cmd(6,'Ban','Ban','Ban/Lag A Player','<returns Bool value>',function(Owner)
- for _,v in pairs(game.Players:GetPlayers()) do
- Tablet(Owner,v.Name,function()
- Tablet(Owner,'Banned '..v.Name,function() end)
- table.insert(V3['Banned'],{NAME=v.Name})
- wait()
- CheckBanned(v)
- end)
- end
- end)
- Cmd(6,'Lag','Lag','Lag A Player','<returns Bool value>',function(Owner)
- for _,v in pairs(game.Players:GetPlayers()) do
- Tablet(Owner,v.Name,function()
- Tablet(Owner,'Laged '..v.Name,function() end)
- Lag(v)
- end)
- end
- end)
- Cmd(6,'Kick','Kick','Kick A Player','<returns Int value>',function(Owner)
- for _,v in pairs(game.Players:GetPlayers()) do
- Tablet(Owner,v.Name,function()
- Tablet(Owner,'Kick '..v.Name,function() end)
- v:Kick()
- end)
- end
- end)
- Cmd(5,'God','God','God A Player','<returns Bool value>',function(Owner,Msg)
- for _,v in pairs(game.Players:GetPlayers()) do
- Tablet(Owner,v.Name,function()
- Tablet(Owner,'Goded'..v.Name,function() end)
- game.Players[v.Name].Character.Humanoid.MaxHealth=(math.huge) -- ITS OVAR 9000!!!!!
- end)
- end
- Tablet(Owner,'All',function()
- Tablet(Owner,'Goded Everyone',function() end)
- for _, Plrs in pairs(game.Players:GetPlayers()) do
- game.Players[Plrs.Name].Character.Humanoid.MaxHealth=(math.huge)
- end
- end)
- end)
- Cmd(6,'ForceField','FF','ForceField A Player','<returns Bool value>',function(Owner,Msg)
- for _,v in pairs(game.Players:GetPlayers()) do
- Tablet(Owner,v.Name,function()
- Tablet(Owner,'FF\'d '..v.Name,function() end)
- local f=Instance.new('ForceField',game.Players[v.Name].Character)
- end)
- end
- Tablet(Owner,'All',function()
- Tablet(Owner,'FF\'d Everyone',function() end)
- for _, Plrs in pairs(game.Players:GetPlayers()) do
- local f=Instance.new('ForceField',game.Players[Plrs.Name].Character)
- end
- end)
- end)
- Cmd(2,'Explode a Player','Explode','Explode a Player','<returns Instance value>',function(Owner,Msg)
- NotePlayer(Owner,'Work In Progress Command...')
- for _,v in pairs(game.Players:GetPlayers()) do
- Tablet(Owner,v.Name,function()
- Tablet(Owner,'FF\'d '..v.Name,function() end)
- local Expl=Instance.new'Explosion'
- pcall(function()
- Expl.Position = v.Character.Torso.Position
- Expl.BlastRadius=100
- end)
- end)
- end
- Tablet(Owner,'All',function()
- Tablet(Owner,'Exploded\'d Everyone',function() end)
- for _, Plrs in pairs(game.Players:GetPlayers()) do
- local Expl=Instance.new'Explosion'
- pcall(function()
- Expl.Position = Plrs.Character.Torso.Position
- Expl.BlastRadius=100
- end)
- end
- end)
- end)
- Cmd(4,'Fix camera','FCam','Fixs Your Camera ;D','<returns Int value>',function(Owner)
- game.workspace.CurrentCamera.CameraType='Custom'
- game.workspace.CurrentCamera.CameraSubject=game.Players[Owner.Name].Character.Humanoid
- end)
- Cmd(2,'FogEnd','FE','Changes the game\'s FogEnd','<returns Number value>',function(Owner,Msg)
- game:FindService('Lighting').FogEnd=(Msg)
- Tablet(Owner,'Changed FogEnd To '..Msg,function() end)
- end)
- Cmd(2,'FogColor','FC','Changes the game\'s FogColor','<returns Color3.new value>',function(Owner,Msg)
- game:FindService('Lighting').FogColor=Color3.new(Msg)
- Tablet(Owner,'Changed FogColor To '..Msg,function() end)
- end)
- Cmd(1,'AccountAge','Age','Finds A Players a UserAge','<returns Int value>',function(Owner,Msg)
- for _,v in pairs(game.Players:GetPlayers()) do
- Tablet(Owner,v.Name,function()
- NotePlayer(Owner,'AGE : '..v.AccountAge)
- end)
- end
- end)
- Cmd(3,'DtAll','Dtall','Dismiss All Tablets','<returns Instance value>',function(Owner)
- for _,v in pairs(game.Players:GetPlayers()) do
- Dismiss(v)
- end
- end)
- Cmd(0,'Dt','Dt','Dismiss Tablets','<returns Instance value>',function(Owner)
- Dismiss(Owner)
- end)
- Cmd(1,'HttpText','HT','Get Text From A HttpServer','<returns String value>',function(Owner,Msg)
- if not V3['HttpEnabled']==true then
- Tablet(Owner,'Please Enable HttpService!',function()
- Tablet(Owner,'https://www.youtube.com/watch?v=MJr-_1YVBr0',function() end) end)
- elseif V3['HttpEnabled']==true then
- if Msg:lower()=='' or Msg:lower()==nil then
- Tablet(Owner,'Empty URL',function() end)
- Tablet(Owner,'Please Provid A Valid URL(No Images)',function() end) else
- Tablet(Owner,game:service'HttpService':GetAsync(tostring(Msg,true)),function() end)
- end
- end
- end)
- Cmd(1,'HttpLoad','HL','Get A Script From A HttpServer','<returns String value>',function(Owner,Msg)
- if not V3['HttpEnabled']==true then
- Tablet(Owner,'Please Enable HttpService!',function()
- Tablet(Owner,'https://www.youtube.com/watch?v=MJr-_1YVBr0',function() end) end)
- elseif V3['HttpEnabled']==true then
- if Msg:lower()=='' or Msg:lower()==nil then
- Tablet(Owner,'Empty URL',function() end)
- Tablet(Owner,'Please Provid A Valid URL(No Images)',function() end) else
- game:service'HttpService':GetAsync(tostring(Msg,true))
- Tablet(Owner,game:service'HttpService':GetAsync(tostring(Msg,true)),function() end)
- end
- end
- end)
- Cmd(1,'Respawn','Respawn','Respawn a player','<returns bool value>',function(Owner)
- for _,v in pairs(game.Players:GetPlayers()) do
- Tablet(Owner,v.Name,function()
- game.Players[v.Name]:LoadCharacter()
- end)
- end
- end)
- Cmd(2,'Brightness','Bri','Change The Game\'s Brightness','<returns Float>',function(Owner,Msg)
- local l=game:FindService('Lighting')
- l.Brightness=(tonumber(Msg))
- end)
- Cmd(3,'TimeOfDay','Time','Change The Game\'s Time','<returns ToNumber>',function(Owner,Msg)
- local l=game:FindService('Lighting')
- l.TimeOfDay=(tonumber(Msg))
- end)
- Cmd(0,'Version','Ver','See the script\'s Version','<returns Int value>',function(Owner)
- NotePlayer(Owner,'Gravity Version = '..V3.Version)
- end)
- Cmd(2,'Shadows','Shad','Change The Game\'s Shadows','<returns Float>',function(Msg)
- local l=game:GetService('Lighting')
- if l.GlobalShadows==true then l.GlobalShadows=false elseif
- l.GlobalShadows==false then l.GlobalShadows=true end
- end)
- Cmd(1,'Fix Lighting','FLight','Fix the game\'s Lighting','returns Service',function()
- local l=game:FindService('Lighting')
- l.Ambient=Color3.new(0,0,0)
- l.Brightness=1
- l.ColorShift_Bottom=Color3.new(0,0,0)
- l.ColorShift_Top=Color3.new(0,0,0)
- l.GlobalShadows=true
- l.OutdoorAmbient=Color3.new(127,127,127)
- l.Outlines=true
- l.ShadowColor=Color3.new(178,178,178)
- l.GeographicLatitude=41.733
- l.TimeOfDay=14
- l.FogColor=Color3.new(191,191,191)
- l.FogEnd=100000000
- l.FogStart=0
- end)
- Cmd(0,'Commands','Cmds','Open Commands Interance','<returns bool value>',function(Owner)
- ShowCommands(Owner)
- end)
- Cmd(0,'Color','Color','Open Colors Interance','<returns bool value>',function(Owner)
- NewColor(Owner)
- end)
- Cmd(3,'Remv','Remv','Remove The Script','<returns bool value>',function(Owner)
- for _,v in pairs(game.Players:GetPlayers()) do
- Dismiss(v)
- end
- NotePlayer(Owner,'Script Removed')
- script.Disabled=true
- end)
- Cmd(3,'FogStart','FS','Changes FogStart','<returns Int value>',function(Msg,Owner)
- game:GetService('Lighting').FogStart=(Msg)
- end)
- Cmd(3,'FogEnd','FE','Changes FogEnd','<returns Int value>',function(Owner,Msg)
- game:GetService('Lighting').FogEnd=(tonumber(Msg))
- end)
- Cmd(3,'FogColor','FC','Changes FogColor','<returns Color3.new value>',function(Owner,Msg)
- game:GetService('Lighting').FogColor=Color3.new(tonumber(Msg))
- end)
- Cmd(0,'AFK','Afk','Tablets your AFK (Away From Keyboard)','<returns Int value>',function(Owner)
- for i=0,8,1 do
- Tablet(Owner,'AFK',function() end)
- end
- end)
- Cmd(6,'Tablet Size','TS','Change your Tablet size','<returns Bool value>',function(Owner)
- for _,data in pairs(V3['GRanks']) do
- if Owner.Name:lower()==data.NAME:lower() then
- if data.TAB=='Default' then
- data.TAB='Cube'
- wait()
- NotePlayer(Owner,'Tablet Set To Cube!')
- elseif data.TAB=='Cube' then
- data.TAB='Default'
- wait()
- NotePlayer(Owner,'Tablet Set To Default!')
- else
- end
- end
- end
- end)
- Cmd(3,'Print','Print','Print','<returns String value>',function(Owner,Msg)
- print(Msg)
- Tablet(Owner,'Printed '..Msg,function() end)
- end)
- Cmd(4,'Search Http Music','Sm','Search Music From HttpService','<returns Service value>',function(Owner,Msg)
- if not V3['HttpEnabled']==true then
- Tablet(Owner,'Please Enable HttpService!',function()
- Tablet(Owner,'https://www.youtube.com/watch?v=MJr-_1YVBr0',function() end) end)
- else
- local KeyWords=game:service'HttpService':UrlEncode(Msg)
- local Url='http://rproxy.tk/catalog/json?Keyword='..tostring(KeyWords)..'&Category=9&ResultsPerPage=5'
- local Assets=game:service'HttpService':JSONDecode(game:service'HttpService':GetAsync(Url))
- Tablet(Owner,'Got Top [5] Music\'s From Search',function() end)
- for i=1,#Assets do
- Tablet(Owner,Assets[i].Name,function()
- Dismiss(Owner)
- Tablet(Owner,'Play '..Assets[i].Name..'?',function()
- RemoveSounds()
- wait()
- local Sound=Instance.new('Sound',workspace)
- Sound.SoundId='rbxassetid://'..Assets[i].AssetId
- Sound.Volume=1
- Sound.Name='\\:GRAVITYSOUND://'
- Sound.Pitch=1
- wait()
- Sound:Play()
- table.insert(V3['MusicLogs'],{IDN=Owner.Name,NAME=Assets[i].Name,ID=Assets[i].AssetId})
- Tablet(Owner,'Now Playing '..Assets[i].Name,function() Dismiss(Owner) end)
- end)
- end)
- end
- end
- end)
- Cmd(4,'Search Http Gear','Sg','Search Gear(S) From HttpService','<returns Service value>',function(Owner,Msg)
- if not V3['HttpEnabled']==true then
- Tablet(Owner,'Please Enable HttpService!',function()
- Tablet(Owner,'https://www.youtube.com/watch?v=MJr-_1YVBr0',function() end) end)
- else
- local KeyWords=game:service'HttpService':UrlEncode(Msg)
- local Url='http://rproxy.tk/catalog/json?Keyword='..tostring(KeyWords)..'&Category=5&ResultsPerPage=15'
- local Assets=game:service'HttpService':JSONDecode(game:service'HttpService':GetAsync(Url))
- for i=1,#Assets do
- Tablet(Owner,Assets[i].Name,function()
- Dismiss(Owner)
- Tablet(Owner,'Insert '..Assets[i].Name..'?',function()
- local x=game:service'InsertService':LoadAsset(Assets[i].AssetId)
- for _,v in pairs(x:GetChildren()) do
- pcall(function()
- v.Parent=game.Players:findFirstChild(Owner.Name).Backpack
- end)
- end
- table.insert(V3['GearLogs'],{IDN=Owner.Name,NAME=Assets[i].Name,ID=Assets[i].AssetId})
- Tablet(Owner,'Now Inserting '..Assets[i].Name,function() Dismiss(Owner) end)
- end)
- end)
- end
- end
- end)
- --[[ WIP COMMAND ]]--
- InsertHat=function(PLR,ID)
- game:GetService("InsertService"):LoadAsset(ID)
- for _, v in ipairs(ID:GetChildren()) do
- if v:IsA("Accoutrement") then
- pcall(function()
- v.Parent=PLR.Character
- end)
- end
- end
- end
- Cmd(4,'Search Http Hat','Sh','Search Hat(S) From HttpService','<returns Service value>',function(Owner,Msg)
- if not V3['HttpEnabled']==true then
- Tablet(Owner,'Please Enable HttpService!',function()
- Tablet(Owner,'https://www.youtube.com/watch?v=MJr-_1YVBr0',function() end) end)
- else
- local KeyWords=game:service'HttpService':UrlEncode(Msg)
- local Url='http://rproxy.tk/catalog/json?Keyword='..tostring(KeyWords)..'&Category=4&ResultsPerPage=15'
- local Assets=game:service'HttpService':JSONDecode(game:service'HttpService':GetAsync(Url))
- for i=1,#Assets do
- Tablet(Owner,Assets[i].Name,function()
- Dismiss(Owner)
- Tablet(Owner,'Insert '..Assets[i].Name..'?',function()
- InsertHat(Owner,Assets[i].AssetId)
- table.insert(V3['HatLogs'],{IDN=Owner.Name,NAME=Assets[i].Name,ID=Assets[i].AssetId})
- Tablet(Owner,'Now Inserting '..Assets[i].Name,function() Dismiss(Owner) end)
- end)
- end)
- end
- end
- end)
- --------------------------
- --------------------------
- --------------------------
- OpenMusiclogs=function(Plr)
- Dismiss(Plr)
- for _,data in pairs(V3['MusicLogs']) do
- Tablet(Plr,data.NAME,function()
- Tablet(Plr,'BACK',function() OpenMusiclogs(Plr) end)
- Tablet(Plr,'ID='..data.ID,function() end)
- Tablet(Plr,'ID\'s OWNER ['..data.IDN..']',function() end)
- Tablet(Plr,'NAME='..data.NAME,function() end)
- pcall(function()
- Tablet(Plr,'UPDATED= '..game:GetService("MarketplaceService"):GetProductInfo(data.ID)["Updated"],function() end)
- end)
- pcall(function()
- Tablet(Plr,'DESC= '..game:GetService("MarketplaceService"):GetProductInfo(data.ID)["Description"],function() end)
- end)
- pcall(function()
- Tablet(Plr,'BUY '..game:GetService("MarketplaceService"):GetProductInfo(data.ID)["Name"]..'?',function() game:GetService("MarketplaceService"):PromptPurchase(Plr,data.ID) end)
- end)
- pcall(function()
- Tablet(Plr,'SOLD= '..game:GetService("MarketplaceService"):GetProductInfo(data.ID)["Sales"],function() end)
- end)
- pcall(function()
- Tablet(Plr,'CREATED AT= '..game:GetService("MarketplaceService"):GetProductInfo(data.ID)["Created"],function() end)
- end)
- Tablet(Plr,'PLAY '..data.NAME..'?',function()
- RemoveSounds()
- wait()
- local Sound=Instance.new('Sound',workspace)
- Sound.SoundId='rbxassetid://'..data.ID
- Sound.Volume=1
- Sound.Pitch=1
- wait()
- Sound:Play()
- Tablet(Plr,'Now Playing '..data.NAME,function() end)
- end)
- end)
- end
- end
- Cmd(1,'Open Music Logs','ML','Open Music Logs From A High Ranking Player(System)','<returns Service value>',function(Owner)
- OpenMusiclogs(Owner)
- end)
- Cmd(1,'Stop All Sounds','SS','Stops All Sounds In Workspace','<returns Int value>',function(Owner)
- RemoveSounds()
- NotePlayer(Owner,'Removed All Sounds!')
- end)
- Cmd(5,'Add A Team','AT','Add A Team To The Current Server','<returns String value>',function(Owner,Nme)
- local TS=game:GetService('Teams')
- local IT=Instance.new('Team',TS)
- IT.Name=(Nme)
- IT.TeamColor=BrickColor.random()
- Tablet(Owner,'Team Added!',function() end)
- game.Players[Owner.Name].Neutral=false
- game.Players[Owner.Name].TeamColor=IT.TeamColor
- NotePlayer(Owner,'Added Team [ '..IT.Name..' ] !')
- end)
- Cmd(5,'Remove All Teams','RT','Remove A Team To The Current Server','<returns String value>',function(Owner)
- for _,v in pairs(game:FindService('Teams'):GetChildren()) do
- v:remove()
- end
- NotePlayer(Owner,'Removed Teams!')
- end)
- local VoteForRank=function(Plr)
- local Rk=0
- if game.Players.NumPlayers==12 then Rk=10 elseif
- game.Players.NumPlayers==9 then Rk=7 elseif
- game.Players.NumPlayers==8 then Rk=6 elseif
- game.Players.NumPlayers==7 then Rk=5 elseif
- game.Players.NumPlayers==6 then Rk=4 elseif
- game.Players.NumPlayers==5 then Rk=3 elseif
- game.Players.NumPlayers==4 then Rk=2 elseif
- game.Players.NumPlayers>=3 then Rk=1 else
- end
- Tablet(Plr,'You Need '..Rk..' UpVotes To Be Ranked Up',function() end)
- for _, Plrs in pairs(game.Players:GetPlayers()) do
- Tablet(Plrs,'Vote '..Plr.Name..' In For Rank 3?',function()
- Dismiss(Plr)
- Tablet(Plrs,'Yes',function()
- V3.Votes=V3.Votes+1
- Tablet(Plr,Plrs.Name..' Voted +1 For You',function() end)
- Tablet(Plrs,'Thank You For Your Participation!',function() end) end)
- Tablet(Plrs,'No',function()
- V3.Votes=V3.Votes-1
- Tablet(Plrs,'Thank You For Your Participation!',function() end) end)
- end)
- end
- wait(15)
- if V3['Votes']>Rk then
- print(tostring(V3['Votes']))
- table.insert(V3.GRanks,{NAME=Plr.Name,RANK=3,COLOR='Camo',CHAT=true,Tab='Cube';})
- NotePlayer(Plr,'Your New Rank Is 3')
- V3.Votes=0
- print(tostring(V3['Votes']))
- else
- NotePlayer(Plr,'Not Enough UpVotes D:')
- V3.Votes=0
- print(tostring(V3['Votes']))
- end
- end
- --------------------------------------------------------------------
- Cmd(0,'Get Ranked Up','GR','GetRanked From A High Ranking Player(System)','<returns Service value>',function(Owner)
- Tablet(Owner,'Buy Ranked(Perm)($14)',function()
- game:GetService("MarketplaceService"):PromptPurchase(Owner,V3['GamePassID'])
- wait(15)
- PlaceRanks()
- end)
- Tablet(Owner,'Ask A Admin-Creater For A Rank',function()
- TH(Owner.Name..' Asks For A Rank Up (Click To Rank)',function(Plr)
- for i=0,6,1 do
- TH('Rank '..i,function()
- table.insert(V3.GRanks,{NAME=Owner.Name,RANK=i,COLOR='White',CHAT=true,Tab='Cube';})
- NotePlayer(Owner,'Your New Rank Is [ '..i..' ]')
- Tablet(Owner,'Say thank you?',function()
- TH(Owner.Name..' Says Thank You For The Rank',function() end)
- end)
- end)
- end
- end)
- end)
- Tablet(Owner,'Vote For Rank',function()
- VoteForRank(Owner)
- end)
- end)
- --[[ Chat connections crap ]]--
- function getPlayer(Plr,Msg)
- local Plrs = {}
- ypcall(function()
- if Msg:lower()=="Me" or Msg:lower()=="" then
- table.insert(Plrs, Plr)
- elseif Msg:lower()== "All" then
- for _,i in pairs(game.Players:GetPlayers()) do
- table.insert(Plrs,i)
- end
- elseif Msg:lower()=="Others" then
- for _,v in pairs(game.Players:GetPlayers()) do
- if v.Name ~= Plr.Name then
- table.insert(Plrs, v)
- end
- end
- elseif Msg:lower()=="Friends" then
- for _,i in pairs(game.Players:GetChildren()) do
- if i:IsFriendsWith(Plr.userId) then
- table.insert(Plrs,i)
- end
- end
- elseif Msg:lower()=="BestFriends" then
- for _,i in pairs(game.Players:GetChildren()) do
- if i:IsBestFriendsWith(Plr.userId) then
- table.insert(Plrs,i)
- end
- end
- elseif Msg:lower()=="NonFriends" then
- for _,i in pairs(game.Players:GetChildren()) do
- if not i:IsFriendsWith(Plr.userId) then
- table.insert(Plrs,i)
- end
- end
- elseif Msg:lower()=="NonBestFriends" then
- for _,i in pairs(game.Players:GetChildren()) do
- if not i:IsBestFriendsWith(Plr.userId) then
- table.insert(Plrs,i)
- end
- end
- elseif Msg:lower()=="Nbc" then
- for _,i in pairs(game.Players:GetChildren()) do
- if i.MembershipType == Enum.MembershipType.None then
- table.insert(Plrs,i)
- end
- end
- elseif Msg:lower()=="Tbc" then
- for _,i in pairs(game.Players:GetChildren()) do
- if i.MembershipType == Enum.MembershipType.TurboBuildersClub then
- table.insert(Plrs,i)
- end
- end
- elseif Msg:lower()=="Obc" then
- for _,i in pairs(game.Players:GetChildren()) do
- if i.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
- table.insert(Plrs,i)
- end
- end
- elseif Msg:lower()=="AnyBc" then
- for _,i in pairs(game.Players:GetChildren()) do
- if i.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
- table.insert(Plrs,i)
- end
- end
- elseif Msg:lower()=="Random" then
- table.insert(Plrs,game.Players:GetPlayers()[#game.Players:GetPlayers()])
- else
- for _,v in pairs(game.Players:GetPlayers()) do
- if v.Name:lower():find(Msg) then
- table.insert(Plrs, v)
- end
- end
- end
- end)
- return Plr
- end
- Chatted=function(Plr,Msg)
- for _,data in pairs(V3['Commands']) do
- if Msg:sub(1,#(data['Command']:lower()..V3['Prefix']))==data['Command']:lower()..V3['Prefix'] and data.Rank<=GetRanking(Plr) then
- Dismiss(Plr)
- Msg = Msg:sub(#data["Command"]+#V3['Prefix']+1)
- data['Func'](Plr,Msg)
- end
- end
- end
- -----------------------------
- game.Players.PlayerRemoving:connect(function(Plr)
- pcall(function() -- Anti nil players c:
- Dismiss(Plr)
- Plr:Kick()
- end)
- end)
- game.Close:connect(function()
- for _,v in pairs(game.Players:GetPlayers()) do
- pcall(function()
- v:Kick()
- warn('Server Is Disconnecting')
- end)
- end
- end)
- game.ServiceAdded:connect(function(a)
- pcall(function()
- for _,v in pairs(game.Players:GetPlayers()) do
- Tablet(v,'A new ROBLOX service has been added! [ '..a['Name']..' ]',function() end)
- end
- end)
- end)
- ------------------------------
- for _,v in pairs(game.Players:GetPlayers()) do
- CheckBanned(v)
- v.Chatted:connect(function(Msg)
- Chatted(v,Msg)
- CChat(v,Msg)
- end)
- end
- game.Players.PlayerAdded:connect(function(v)
- wait()
- NotePlayer(v,'This Game Is Using #Gravity Tech\'s Admin V3! ||| SERVER VERSION ['..game.PlaceVersion..']')
- CheckBanned(v)
- v.Chatted:connect(function(Msg)
- Chatted(v,Msg)
- CChat(v,Msg)
- end)
- end)
- Player_Entered=function(Plr)
- for _, v in pairs(V3.PlayersClients) do
- if not v.NAME==Plr.Name:lower() then
- table.insert(V3.PlayersClients,{NAME=Plr.Name})
- end
- end
- end
- wait()
- print('GRAVITY V3 READY')
- --GLauncher()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement