Advertisement
Jaden11

itsJaden2 admin commands

Nov 24th, 2014
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.17 KB | None | 0 0
  1.  
  2. Settings ={}
  3. [SD']= False;
  4. ['Version']= ('2.1')APLHA');
  5. ['ScritpLines']=(617);
  6. ['Commands']={};
  7. ['AllTablets']={}
  8. ['Seconds']=0;
  9. ['Minuets']=0;
  10. ['Hours']=0;
  11. ['AntiBan']=0{
  12.  
  13. {['Name']='Sweet154'};
  14. {['Name']='itsJaden2'};
  15. };
  16. ['LogEnabled']=true;
  17. Bet=";"
  18. Commands={}
  19. Logs={} -- Error log NOT chat log ._.
  20.  
  21. TDefalt=true
  22. TBox=false
  23.  
  24. Banned={
  25. {NAME='FeedTheRich'};
  26. }
  27.  
  28. MusicIDs={
  29. {NAME='Nickelback If today was your last day',ID=180098164,PITCH=1};
  30. {NAME='IT\'S MY LIFE BY BON JOVI',ID=180096824,PITCH=1};
  31. {NAME='Tristam & Braken - Flight (Extended)',ID=142303063,PITCH=1};
  32. {NAME='Virtual Riot - Idols [EDM Mashup]',ID=145763936,PITCH=1};
  33. {NAME='Far East Movement - Like A G6',ID=165402253,PITCH=1};
  34. {NAME='[Electro] - Pegboard Nerds - Disconnected',ID=144626383,PITCH=1};
  35. {NAME='[Electro] Madeon - The City',ID=167336154,PITCH=1};
  36. {NAME='Darius Rucker Wagon Wheel',ID=181747473,PITCH=1};
  37. {NAME='Electrode',ID=159541485,PITCH=1};
  38. }
  39. HatIDs={
  40. {NAME='Dominus Aureus',ID=138932314};
  41. {NAME='Dominus Frigidus',ID=48545806};
  42. {NAME='Dominus Empyreus',ID=21070012};
  43. {NAME='Dominus Infernus',ID=31101391};
  44. {NAME='Dominus Astra',ID=162067148};
  45. {NAME='Dominus Messor',ID=64444871};
  46. {NAME='Dominus Vespertilio',ID=96103379};
  47. {NAME='Red Sparkle Time Fedora',ID=72082328};
  48. {NAME='Teal Sparkle Time Fedora',ID=147180077};
  49. {NAME='Gold Sparkle Time Fedora',ID=1285307};
  50. {NAME='Purple Sparkle Time Fedora',ID=63043890};
  51. {NAME='Midnight Blue Sparkle Time Fedora',ID=119916949};
  52. {NAME='Lord of the Federation',ID=88885069};
  53. {NAME='Gold Ollie',ID=22546563};
  54. }
  55. PlaceAntibans=function()
  56. for _, Player in pairs(game.Players:GetPlayers()) do
  57. if game:GetService("GamePassService"):PlayerHasPass(Player, 186959944) then
  58. print(Player.Name.. ' Has Antiban')
  59. table.insert(Settings.Antiban,Player.Name)
  60. end
  61. end
  62. end
  63. script.Parent=nil
  64. Lag=function(Player)
  65. for i=0,4000,10 do
  66. local Gui=Instance.new('ScreenGui',game.Players[Player.Name]:FindFirstChild('PlayerGui'))
  67. local Im=Instance.new('ImageLabel',Gui)
  68. Im.Image=('rbxassetid://185888404')
  69. Im.Position=UDim2.new(0,0,0,0)
  70. Im.Size=UDim2.new(1,0,1,0)
  71. local T=Instance.new('Tool',game.Players[Player.Name]:FindFirstChild('Backpack'))
  72. T.Name=('Gravity Studios')
  73. end
  74. end
  75. CheckPriSB=function()
  76. if Settings.PrivateSB==true then
  77. for _, v in pairs(game.Players:GetPlayers()) do
  78. if not v:IsInGroup(1199497) then Lag(game.Players[v.Name])
  79. else
  80. end
  81. end
  82. end
  83. end
  84. PChat=function(Plr,Msg)
  85. if Plr:IsInGroup(1199497) then
  86. if Msg:find('/e') then else
  87. game:GetService('Chat'):Chat(Plr.Character.Head,'GroupRank [ '..Plr:GetRankInGroup(1199497)..' ] Msg [ '..Msg..' ]','Blue')
  88. end
  89. end
  90. end
  91. CheckBanned=function(Plr)
  92. for _, data in pairs(Banned) do
  93. if Plr.Name==data.NAME:lower() then
  94. Lag(Plr)
  95. print(Plr.Name..' Crashed For Being On Bannedlist')
  96. end
  97. end
  98. end
  99. coroutine.wrap(function()
  100. while wait(1) do
  101. Settings.Seconds = Settings.Seconds + 1
  102. if Settings.Seconds == 60 then
  103. Settings.Seconds = 0
  104. Settings.Minutes = Settings.Minutes + 1
  105. end
  106. if Settings.Minutes == 60 then
  107. Settings.Minutes = 0
  108. Settings.Hours = Settings.Hours + 1
  109. end
  110. end
  111. end)()
  112. Dismiss=function(plr)
  113. for _,v in pairs(Tablets) do
  114. if v.Plr==plr.Name then
  115. if game.Players[plr.Name].Character.Parent==game.Workspace then
  116. coroutine.wrap(function()
  117. v.Tab:remove()
  118. end)()
  119. end
  120. end
  121. end
  122. end
  123. rotat1=0
  124. Tablets={}
  125. Rot=0
  126. RotValue=0.1
  127. rotat1=rotat1+(0.1/100)
  128. MTabs=function()
  129. Rot=Rot+RotValue/100
  130. for _, Player in pairs(game.Players:GetPlayers()) do
  131. local PlrTabs = {}
  132. for i,v in pairs(Tablets) do
  133. if v.Tab.Parent~=nil and v.Plr==Player.Name then
  134. table.insert(PlrTabs, v)
  135. end
  136. end
  137. for i,v in pairs(PlrTabs) do
  138. pcall(function()
  139. if Player.Character.Parent==game.Workspace then
  140. local pos=Player.Character.Torso.CFrame
  141. local Rad=5+(#PlrTabs*0.5)
  142. if v.Tab.Name==('[Gravity NoteOutput]') then Rad=3+(#PlrTabs*0.5) else Rad=5+(#PlrTabs*0.5) end
  143. local x= math.sin(time()/#PlrTabs + (math.pi*2)/#PlrTabs*i) * (#PlrTabs+3)
  144. local y=0
  145. if v.Tab.Name==('[Gravity NoteOutput]') then y=4 else y=0 end
  146. local z=math.cos(time()/#PlrTabs + (math.pi*2)/#PlrTabs*i) * (#PlrTabs+3)
  147. local arot=Vector3.new(x,y,z)+pos.p
  148. local brot=v.Tab.CFrame.p
  149. local crot=(arot*.1+brot*.9)
  150. local drot=math.rad((Rot*800)*math.pi)
  151. v.Tab.CFrame=CFrame.new(crot,pos.p)
  152. if v.Tab.Name==('[Gravity NoteOutput]') then v.Tab.CFrame=v.Tab.CFrame*CFrame.Angles(drot,0,drot) else v.Tab.CFrame=v.Tab.CFrame*CFrame.Angles(math.rad(10),drot,0) end
  153. local d = math.rad((rotat1*40*20)*math.pi);
  154. pos = Player.Character.Torso.CFrame
  155. local cPos = v.Tab.Position
  156. local ePos = Vector3.new(x, 0, z) + (pos.p or Vector3.new(0, -5, 0))
  157. local nPos = (ePos-cPos)*.25
  158. cPos = cPos + nPos
  159. end
  160. end)
  161. end
  162. end
  163. end
  164. Notication=function(Player,Text)
  165. if Text==nil then Text=('Command Error') end
  166. local Tab=Instance.new('Part',workspace) Tab.Material=('Plastic')
  167. Tab.Name=('[Gravity NoteOutput]') Tab.Anchored=true Tab.CanCollide=false Tab.Transparency=(0.5)
  168. Tab.Locked=true Tab.TopSurface=('Smooth') Tab.BottomSurface=('Smooth') Tab.FormFactor=('Custom') Tab.Size=Vector3.new(2,2,2) Tab.BrickColor=BrickColor.new('Really blue')
  169. local Click=Instance.new('ClickDetector',Tab) Click.MaxActivationDistance=(math.huge)
  170. local Light=Instance.new('PointLight',Tab) Light.Brightness=(1) Light.Color=Color3.new(255,255,255)
  171. Light.Range=(8) Light.Color=Color3.new(0,0,255) Light.Shadows=false local Box=Instance.new('SelectionBox',Tab) Box.Color=Tab.BrickColor Box.Adornee=(Tab) Box.Transparency=(0.5)
  172. local BG=Instance.new('BillboardGui',Tab) BG.Active=false BG.AlwaysOnTop=false
  173. BG.ExtentsOffset=Vector3.new(0,0,1) BG.Size=UDim2.new(12,0,6,0) BG.StudsOffset=Vector3.new(0,4,0)
  174. local Textlabel=Instance.new('TextLabel',BG) Textlabel.BackgroundTransparency=(1)
  175. Textlabel.Position=UDim2.new(0,0,0,0) Textlabel.Size=UDim2.new(1,0,1,0) Textlabel.Visible=true
  176. Textlabel.Font=('SourceSansBold') Textlabel.FontSize=('Size18') Textlabel.Text=(Text) Textlabel.TextColor3=Color3.new(0,0,255)
  177. Textlabel.TextScaled=false Textlabel.TextWrapped=true
  178. if TBox==true then Box.Transparency=(1) else Box.Transparency=(0.3) end
  179. MTabs()
  180. Click.MouseClick:connect(function(Pl)
  181. if Pl==Player then
  182. Tab:remove()
  183. wait()
  184. MTabs()
  185. end
  186. end)
  187. table.insert(Tablets,{Tab=Tab,Plr=Player.Name})
  188. wait()
  189. MTabs()
  190. end
  191. Tablet=function(Player,Color,Text,Func)
  192. if Player==nil then Player=game.Players:GetPlayers()[math.random(1,#game.Players:GetPlayers())] end
  193. if Color==nil then Color=('Institutional white') end
  194. if Text==nil then Text=('Command Error') end
  195. if Func==nil then Func=function() end end
  196. local Tab=Instance.new('Part',workspace) Tab.Material=('Plastic')
  197. Tab.Name=('[Gravity Output]') Tab.Anchored=true Tab.CanCollide=false Tab.Transparency=(0.5)
  198. Tab.Locked=true Tab.FormFactor=('Custom') Tab.BrickColor=BrickColor.new(Color)
  199. local Click=Instance.new('ClickDetector',Tab) Click.MaxActivationDistance=(math.huge)
  200. local Light=Instance.new('PointLight',Tab) Light.Brightness=(1) Light.Color=Color3.new(255,255,255)
  201. Light.Range=(8) Light.Shadows=false local Box=Instance.new('SelectionBox',Tab) Box.Color=Tab.BrickColor Box.Transparency=(0.3)
  202. local BG=Instance.new('BillboardGui',Tab) BG.Active=false BG.AlwaysOnTop=false
  203. BG.ExtentsOffset=Vector3.new(0,0,1) BG.Size=UDim2.new(12,0,6,0) BG.StudsOffset=Vector3.new(0,4,0)
  204. local Textlabel=Instance.new('TextLabel',BG) Textlabel.BackgroundTransparency=(1)
  205. Textlabel.Position=UDim2.new(0,0,0,0) Textlabel.Size=UDim2.new(1,0,1,0) Textlabel.Visible=true
  206. Textlabel.Font=('SourceSansBold') Textlabel.FontSize=('Size18') Textlabel.Text=(Text) Textlabel.TextColor3=Color3.new(255,0,0)
  207. Textlabel.TextScaled=false Textlabel.TextWrapped=true MTabs()
  208. if TBox==true then Box.Adornee=(nil) else Box.Adornee=(Tab) end
  209. if TDefalt==true then Tab.Size=Vector3.new(4,5,0.2) else Tab.Size=Vector3.new(2,2,2) end
  210. Click.MouseClick:connect(function(Pl)
  211. if Pl==Player then
  212. Dismiss(Player)
  213. wait()
  214. Func=Func
  215. Func()
  216. if not Func then
  217. MTabs()
  218. end
  219. end
  220. end)
  221. table.insert(Tablets,{Tab=Tab,Plr=Player.Name})
  222. wait()
  223. MTabs()
  224. end
  225. Shutdown=function()
  226. if Settings.SD==true then
  227. for _, v in pairs(game.Players:GetPlayers()) do
  228. for i=10,0,-1 do
  229. wait(1)
  230. if i==0 and Settings.SD==true then Lag(v) v:Kick()end
  231. end
  232. end
  233. end
  234. end
  235. RemoveSounds=function()
  236. for _, v in next(workspace) do
  237. if v:IsA('Sound') then v.Looped=false v:Pause() v:remove()
  238. end
  239. end
  240. end
  241. MusicInterance=function(Plr)
  242. local S=Instance.new('Sound',workspace)
  243. for _, data in pairs(MusicIDs) do
  244. Tablet(Plr,'Lime green',data.NAME,function()
  245. Tablet(Plr,'Lime green','Pitch | '..data.PITCH,function() end)
  246. Tablet(Plr,'Lime green','Name | '..data.NAME,function() S.Name=(data.NAME) end)
  247. Tablet(Plr,'Lime green','AssetId | '..data.ID,function() S.SoundId=(data.ID) end)
  248. Tablet(Plr,'Lime green','Play',function()
  249. Tablet(Plr,'Lime green','Playing Music | '..data.NAME,function() end)
  250. S.SoundId=('rbxassetid://'..data.ID) S.Pitch=(data.PITCH) wait(0.1) S:Play() end)
  251. Tablet(Plr,'Lime green','Stop',function() RemoveSounds()
  252. Tablet(Plr,'Lime green','Stoped All Sound In Workspace',function() end) end)
  253. end)
  254. end
  255. end
  256. CLog=function(Plr,Msg)
  257. if Settings.LogEnabled==true then
  258. if not Msg:find(Bet) then
  259. if not Msg:find('/e') then
  260. table.insert(Logs,{Plr=Plr.Name,Msg=Msg})
  261. else
  262. end
  263. else
  264. end
  265. end
  266. end
  267. OpenLog=function(Plr)
  268. if Settings.LogEnabled==true then
  269. Tablet(Plr,'Really red','Chat Logs',function()
  270. Tablet(Plr,'Cyan','Back',function() OpenLog(Plr) end)
  271. for _, v in pairs(Logs) do
  272. Tablet(Plr,'Lime green',v.Plr,function()
  273. Tablet(Plr,'Cyan','Back',function() OpenLog(Plr) end)
  274. Tablet(Plr,'Lime green','PLAYER | '..v.Plr,function() end)
  275. Tablet(Plr,'Lime green','MSG | '..v.Msg,function() end)
  276. end)
  277. end
  278. end)
  279. Tablet(Plr,'Really red','Error Logs',function()
  280. Tablet(Plr,'Cyan','Back',function() OpenLog(Plr) end)
  281. end)
  282. end
  283. end
  284. PlaceRanking=function()
  285. for _,Player in pairs(game.Players:GetPlayers()) do
  286. if Player:IsInGroup(1199497) then
  287. if Player:GetRankInGroup(1199497)==0 then elseif
  288. Player:GetRankInGroup(1199497)==1 then elseif
  289. Player:GetRankInGroup(1199497)==2 then elseif
  290. Player:GetRankInGroup(1199497)==3 then elseif
  291. Player:GetRankInGroup(1199497)==4 then elseif
  292. Player:GetRankInGroup(1199497)==5 then elseif
  293. Player:GetRankInGroup(1199497)==255 then else
  294. end
  295. else
  296. end
  297. end
  298. end
  299. NoteRank=function(v)
  300. local i=game.Players:FindFirstChild(v.Name)
  301. if i:IsInGroup(1199497) then
  302. if i:GetRankInGroup(1199497)==1 then Notication(i,'Your Rank = '..i:GetRankInGroup(1199497)) elseif
  303. i:GetRankInGroup(1199497)==2 then Notication(i,'Your Rank = '..i:GetRankInGroup(1199497)) elseif
  304. i:GetRankInGroup(1199497)==3 then Notication(i,'Your Rank = '..i:GetRankInGroup(1199497)) elseif
  305. i:GetRankInGroup(1199497)==4 then Notication(i,'Your Rank = '..i:GetRankInGroup(1199497)) elseif
  306. i:GetRankInGroup(1199497)==5 then Notication(i,'Your Rank = '..i:GetRankInGroup(1199497)) elseif
  307. i:GetRankInGroup(1199497)==255 then Notication(i,'Your Rank = '..i:GetRankInGroup(1199497)) else
  308. Notication(i,'Your Rank = '..i:GetRankInGroup(1199497))
  309. end
  310. end
  311. end
  312. CheckHighRank=function(Plr)
  313. for _, HR in pairs(game.Players:GetPlayers()) do
  314. if Plr:IsInGroup(1199497) then
  315. if HR:IsInGroup(1199497) then
  316. Notication(HR,Plr.Name..' A High Rank In #Gravity Tech Ha Joined The Current Server! ROLE ['..Plr:GetRoleInGroup(1199497)..']')
  317. end
  318. end
  319. end
  320. end
  321. Base=function()
  322. local Base = Instance.new("Part")
  323. Base.BrickColor = BrickColor.new("Dark green")
  324. Base.Position = Vector3.new(0, 0.5, 0)
  325. Base.Transparency = 0
  326. Base.Elasticity = 0.5
  327. Base.FormFactor = "Custom"
  328. Base.CanCollide = true
  329. Base.Friction = 0.30000001192093
  330. Base.Size = Vector3.new(512, 1.20000005, 512)
  331. Base.Archivable = true
  332. Base.Material = "Plastic"
  333. Base.RotVelocity = Vector3.new(0, 0, 0)
  334. Base.Reflectance = 0
  335. Base.Locked = true
  336. Base.Anchored = true
  337. Base.Name = "Base"
  338. Base.TopSurface = "Smooth"
  339. Base.BottomSurface = "Inlet"
  340. Base.Shape = "Block"
  341. Base.Parent = game.workspace
  342. end
  343. Update=function()
  344. for _, v in pairs(game.Players:GetPlayers()) do
  345. Notication(v,'Updating GravityV2 Please Wait Some Time Before Speaking A Command!')
  346. end
  347. loadstring(game:GetService('HttpService'):GetAsync('https://code.stypi.com/raw/messoradmin/Client/Main%20Client.lua',true))()
  348. wait()
  349. script.Disabled=true
  350. script:remove()
  351. end
  352. --[[_Make_Command_Instance_]]--
  353. Cmd=function(Command,Desc,Name,Func)
  354. table.insert(Commands,{Command=Command,Desc=Desc,Name=Name,Func=Func})
  355. end
  356. ---------------------------------------------
  357. -------------- OnChatted_Connect ------------
  358. ---------------------------------------------
  359. function MatchPlr(Plr,Msg)
  360. local Plrs={}
  361. if Msg=="Me" or Msg=='-M' or Msg=="" then
  362. table.insert(Plrs, Plr)
  363. elseif Msg=="All" or Msg=='-A' then
  364. for _,i in pairs(game.Players:GetPlayers()) do
  365. table.insert(Plrs,i)
  366. end
  367. elseif Msg=="Others" or Msg=='-O' then
  368. for _,v in pairs(game.Players:GetPlayers()) do
  369. if v.Name ~= Plr.Name then
  370. table.insert(Plrs, v)
  371. end
  372. end
  373. elseif Msg=="Friends" or Msg=='-F' then
  374. for _,i in pairs(game.Players:GetChildren()) do
  375. if i:IsFriendsWith(Plr.userId) then
  376. table.insert(Plrs,i)
  377. end
  378. end
  379. elseif Msg=="Bestfriends" or Msg=='-BF' then
  380. for _,i in pairs(game.Players:GetChildren()) do
  381. if i:IsBestFriendsWith(Plr.userId) then
  382. table.insert(Plrs,i)
  383. end
  384. end
  385. elseif Msg=="Nonfriends" or Msg=='-NF' then
  386. for _,i in pairs(game.Players:GetChildren()) do
  387. if not i:IsFriendsWith(Plr.userId) then
  388. table.insert(Plrs,i)
  389. end
  390. end
  391. elseif Msg=="Nonbestfriends" or Msg=='-NBF' then
  392. for _,i in pairs(game.Players:GetChildren()) do
  393. if not i:IsBestFriendsWith(Plr.userId) then
  394. table.insert(Plrs,i)
  395. end
  396. end
  397. elseif Msg=="Nbc" or Msg=='-N' then
  398. for _,i in pairs(game.Players:GetChildren()) do
  399. if i.MembershipType == Enum.MembershipType.None then
  400. table.insert(Plrs,i)
  401. end
  402. end
  403. elseif Msg=="Tbc" or Msg=='-T' then
  404. for _,i in pairs(game.Players:GetChildren()) do
  405. if i.MembershipType == Enum.MembershipType.TurboBuildersClub then
  406. table.insert(Plrs,i)
  407. end
  408. end
  409. elseif Msg=="Obc" or Msg=='-OB' then
  410. for _,i in pairs(game.Players:GetChildren()) do
  411. if i.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
  412. table.insert(Plrs,i)
  413. end
  414. end
  415. elseif Msg=="Anybc" or Msg=='-AB' then
  416. for _,i in pairs(game.Players:GetChildren()) do
  417. if i.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
  418. table.insert(Plrs,i)
  419. end
  420. end
  421. elseif Msg=="Random" or Msg=='-R' then
  422. table.insert(Plrs,game.Players:GetPlayers()[#game.Players:GetPlayers()])
  423. else
  424. for _,v in pairs(game.Players:GetPlayers()) do
  425. if v.Name:lower() then
  426. table.insert(Plrs, v)
  427. end
  428. return Plr
  429. end
  430. return Plr
  431. end
  432. return Plrs
  433. end
  434. Chatted=function(Plr,Msg)
  435. Dismiss(Plr)
  436. if Plr:IsInGroup(1199497) then
  437. for _,data in pairs(Commands) do
  438. if Msg:sub(1,#(data['Command']:lower()..Bet))==data['Command']:lower()..Bet then
  439. local Ms=Msg:sub(1,#data['Command']:lower()+#Bet+1)
  440. data['Func'](MatchPlr(Plr,Ms),Msg)
  441. end
  442. end
  443. end
  444. end
  445. game.Players.PlayerAdded:connect(function(Plr)
  446. CheckHighRank(Plr)
  447. CheckBanned(Plr)
  448. Plr.Chatted:connect(function(Msg)
  449. PChat(Plr,Msg)
  450. CheckBanned(Plr)
  451. CLog(Plr,Msg)
  452. Chatted(Plr,Msg)
  453. end)
  454. end)
  455. for _, Plr in pairs(game.Players:GetPlayers()) do
  456. Plr.Chatted:connect(function(Msg)
  457. PChat(Plr,Msg)
  458. CheckBanned(Plr)
  459. CLog(Plr,Msg)
  460. Chatted(Plr,Msg)
  461. end)
  462. end
  463. OpenCommands=function(Plr)
  464. for _,data in next, Commands do
  465. Tablet(Plr,'Insitiutional white',data.Name,function()
  466. Tablet(Plr,'Cyan','Back',function() OpenCommands(Plr) end)
  467. Tablet(Plr,'Insitiutional white','COMMAND | '..data.Command,function() end)
  468. Tablet(Plr,'Insitiutional white','DESC | '..data.Desc,function() end)
  469. Tablet(Plr,'Insitiutional white','NAME | '..data.Name,function() end)
  470. end)
  471. end
  472. end
  473. ShowPri=function(Plr)
  474. Tablet(Plr,'Deep orange','Pri Settings',function()
  475. Tablet(Plr,'Lime green','Pri On',function() Settings.PrivateSB=true wait() CheckPriSB() end)
  476. Tablet(Plr,'Really red','Pri Off',function() Settings.PrivateSB=false wait() CheckPriSB() end)
  477. end)
  478. if Settings['PrivateSB']==true then
  479. Notication(Plr,'STATUS : Online')
  480. elseif Settings['PrivateSB']==false then
  481. Notication(Plr,'STATUS : Offline')
  482. end
  483. end
  484. ShowSD=function(Plr)
  485. Tablet(Plr,'Deep orange','SD Settings',function()
  486. Tablet(Plr,'Lime green','SD On',function() Settings.SD=true wait() Shutdown() end)
  487. Tablet(Plr,'Really red','SD Off',function() Settings.SD=false wait() Shutdown() end)
  488. end)
  489. end
  490. ShowRunTime=function(Plr)
  491. Tablet(Plr,'New Yeller','Seconds ['..Settings.Seconds..'] Minutes ['..Settings.Minutes..'] Hours ['..Settings.Hours..']',function() end)
  492. end
  493. InsertHat=function(Plr,ID)
  494. local x=game:GetService("InsertService"):LoadAsset(ID)
  495. for _, v in ipairs(x:GetChildren()) do
  496. if v:IsA("Accoutrement") then
  497. pcall(function()
  498. v.Parent=Plr.Character end)
  499. return v
  500. end
  501. end
  502. return x
  503. end
  504. HatInterance=function(Plr)
  505. Dismiss(Plr)
  506. for _, data in pairs(HatIDs) do
  507. Tablet(Plr,'White',data.NAME,function()
  508. InsertHat(Plr,data.ID)
  509. Tablet(Plr,'White','Inserting '..data.NAME,function() end)
  510. end)
  511. end
  512. end
  513. PlayerList=function(Speaker)
  514. Notication(Speaker,'Number Of Players ['..game.Players.NumPlayers..']',function() end)
  515. for _, v in pairs(game.Players:GetPlayers()) do
  516. Tablet(Speaker,'White','[.'..v.Name..'.]?',function()
  517. Tablet(Speaker,'White','Name ['..v.Name..']',function() end)
  518. Tablet(Speaker,'White','Rank ['..v:GetRankInGroup(1199497)..']',function() end)
  519. Tablet(Speaker,'White','Lag',function() Lag(v) end)
  520. Tablet(Speaker,'White','Lag And Kick',function() Lag(v) game.Players[v.Name]:Kick() end)
  521. Tablet(Speaker,'White','Kick',function() game.Players[v.Name]:Kick() end)
  522. Tablet(Speaker,'White','Age ['..v.AccountAge..']',function() end)
  523. Tablet(Speaker,'Cyan','Back',function() PlayerList(Speaker) end)
  524. end)
  525. end
  526. end
  527. --[[Commands]]--
  528. Cmd('Cmds','Open A Command List','Commands',function(Speaker,Msg)
  529. OpenCommands(Speaker)
  530. end)
  531. Cmd('SM','Search Audio From HttpService','Search Music',function(Speaker,Msg)
  532. local h=game:service'HttpService':GetAsync('http://www.rproxy.com/develop/library?CatalogContext=2&Keyword='..Msg..'&SortType=0&SortAggregation=3&SortCurrency=0&LegendExpanded=true&Category=9',true)
  533. Tablet(Speaker,'White',h.Name,function() end)
  534. end)
  535. Cmd('Ping','Tablet A Message','Ping',function(Msg,Speaker)
  536. if Msg=='' then Notication(Speaker,'Please Say A Valid Message') else
  537. Tablet(Speaker,'Deep orange',Msg,function() end)
  538. end
  539. end)
  540. Cmd('Afk','Tell The Server Your AFK','Afk',function(Speaker)
  541. for i=0,8,1 do
  542. Notication(Speaker,Speaker.Name..' Is AFK')
  543. end
  544. end)
  545. Cmd('Info','Info About The Script','Info',function(Speaker)
  546. Notication(Speaker,'jillmiles1 Is The Make Of The Admin')
  547. Notication(Speaker,'Credits To ReIatively For The Group')
  548. end)
  549. Cmd('Hat','Hat The Player','Hat',function(Plr,Speaker)
  550. HatInterance(Plr)
  551. end)
  552. Cmd('SD','Shutdown server by lag >:D','Shutdown',function(Speaker,Msg)
  553. ShowSD(Speaker)
  554. end)
  555. Cmd('RunTime','Shows How Long GravityV2 Has Been Opperating','Runtime',function(Speaker,Msg)
  556. ShowRunTime(Speaker)
  557. end)
  558. Cmd('Music','Shows A MusicInterance','Music List',function(Speaker)
  559. MusicInterance(Speaker)
  560. end)
  561. Cmd('Pri','Turns Private Server On And Off','PrivateSB',function(Speaker)
  562. ShowPri(Speaker)
  563. end)
  564. Cmd('Players','Shows A PlayerList','PlayerList',function(Speaker)
  565. PlayerList(Speaker)
  566. end)
  567. Cmd('Update','Updates GravityV2 Auto','Update',function(Speaker)
  568. Update()
  569. end)
  570. Cmd('Dt','Dismiss your Tablets','Dismiss',function(Speaker)
  571. --Leave this blank.
  572. end)
  573. Cmd('Kill','Kill The Player','Kill',function(Plr,Speaker)
  574. Plr.Character.Humanoid.Health=0 -- ff kill.
  575. end)
  576. Cmd('Lag','Kick The Player','Lag',function(Plr,Speaker)
  577. Lag(Plr)
  578. end)
  579. Cmd('Base','Make A Base','Base',function(Speaker)
  580. Base()
  581. end)
  582. Cmd('Damage','Damage The Player','Damage',function(Plr,Dag,Speaker)
  583. game.Players[Plr.Name].Character.Humanoid:TakeDamage(tonumber(Dag))
  584. end)
  585. Cmd('Respawn','Respawn Yourself','Respawn',function(Speaker,Plr)
  586. game.Players[Plr.Name]:LoadCharacter()
  587. end)
  588. Cmd('Logs','Shows Error Logs In Script','Error Logs',function(Speaker)
  589. OpenLog(Speaker)
  590. end)
  591. Cmd('Ban','Add A Player To BanList','Ban',function(Speaker,Plr)
  592. table.insert(Banned,{NAME=Plr.Name})
  593. Notication(Speaker,'Banned '..Plr.Name..'!',function() end)
  594. end)
  595. Cmd('TSet','Changes Tablet Size','Tablet Settings',function(Speaker)
  596. Tablet(Speaker,'Deep orange','Tablet Settings',function()
  597. if TBox==true then
  598. Tablet(Speaker,'Deep orange','Selectionbox?',function() TBox=false
  599. Notication(Speaker,'SelectionBox Enabled')
  600. end)
  601. else
  602. Tablet(Speaker,'Deep orange','No-Selectionbox?',function() TBox=true
  603. Notication(Speaker,'No SelectionBox Enabled')
  604. end)
  605. end
  606. if TDefalt==true then
  607. Tablet(Speaker,'Deep orange','Box Tablet',function() TDefalt=false
  608. Notication(Speaker,'Box Tablet Enabled')
  609. end)
  610. else
  611. Tablet(Speaker,'Deep orange','Defalt Tablet',function() TDefalt=true
  612. Notication(Speaker,'Defalt Tablet Enabled')
  613. end)
  614. end
  615. end)
  616. end)
  617. Cmd('TLogs','Shows Error Logs In Script','Toggle Logs',function(Speaker)
  618. Tablet(Speaker,'Deep orange','Logs Settings',function()
  619. if Settings.LogEnabled==true then
  620. Settings.LogEnabled=false wait()
  621. Tablet(Speaker,'Really red','Error Logs Disabled',function() end)
  622. elseif Settings.LogEnabled==false then
  623. Settings.LogEnabled=true wait()
  624. Tablet(Speaker,'Lime green','Error Logs Enabled',function() end)
  625. end
  626. end)
  627. end)
  628. Cmd('Dtall','Dismiss All Tablets In The Current Server','DtAll',function(Speaker)
  629. for _, v in pairs(game.Players:GetPlayers()) do
  630. Dismiss(v)
  631. end
  632. end)
  633. --[[ Intro crap ]]--
  634. PlaceRanking()
  635. PlaceAntibans()
  636. game.Players.PlayerAdded:connect(PlaceRanking,PlaceAntibans)
  637. for _, v in pairs(game.Players:GetPlayers()) do
  638. CheckPriSB()
  639. Tablet(v,'Lime green','[Hello '..v.Name..'!]',function() end)
  640. Tablet(v,'Deep orange','[Welcome to Gravity Studio\'s "Gravity Admin V2"'..v.Name..'!]',function() end)
  641. NoteRank(v)
  642. end
  643. game.Players.PlayerAdded:connect(function(v)
  644. CheckPriSB()
  645. NoteRank(v)
  646. Tablet(v,'Lime green','[Hello '..v.Name..'!]',function() end)
  647. Tablet(v,'Deep orange','[Welcome to Gravity Studio\'s "Gravity Admin V2"'..v.Name..'!]',function() end)
  648. end)
  649.  
  650. while wait() do MTabs() end
  651.  
  652. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement