Advertisement
seb8023

Mile's Admin

Jul 2nd, 2015
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.93 KB | None | 0 0
  1. -------------------------------------------------------------------------------------------------------------
  2. -----------------------[[ Hey Thanks For BETA Testing Mile's Admin Command's! ]]-----------------------------
  3. -------------------------------------------------------------------------------------------------------------
  4. --[[
  5. *Messages/Update's
  6. [11/11/14 PST U.S.A.] Started admin
  7. [11/12/14 PST U.S.A.] Added a group admin table and game owner auto Owner table.
  8. [11/12/14 PST U.S.A.] Released the admin with 4commands :P
  9. [12/5/14 PST U.S.A.] Fixing some glitchy commands and adding better BannedList/HttpService/NetworkClient
  10. [12/22/14 PST U.S.A.] Making Gui tween, Anding test cmds and better http loader.
  11. [12/23/14 PST U.S.A.] Made the Gui IOS compatable!!! THE FIRST ADMIN THATS IOS FRIENDLY! YAY!!!
  12. [12/24/14 PST U.S.A.] Merry Pre-Christmas!!! :D Fixed Some Tables.
  13. [12/26/14 PST U.S.A.] Fixed ranking membership's! Added auto game owner Admin!
  14. [MESSAGE] : You do NOT have to add your name it is not automatic! :D
  15. [MESSAGE] : If you want to test the fully updated version |
  16. http://www.roblox.com/Miles-Admin-Testing-place?id=195796069 OR say place;195796069
  17. [MESSAGE] : Message me @ jillmiles1 for acceptable commands or problems!
  18. [12/29/14 PST U.S.A.] Now with httpservice music! ( If httpservice avaible ) say sm;NAMEOFSONGHERE
  19. [12/31/14 PST U.S.A.] Now with PersonalServer settings ( Due to problems with the IOS GUI )
  20. [1/1/15 PST U.S.A.] Now its Auto Updatable! :D
  21. [1/5/15 PST U.S.A.] The ScrollingFrame is capable to hold more commands now & Lag function is HORRIBLE now.
  22. [1/6/15 PST U.S.A.] Fixed the nil probe/character.
  23. [2/9/15 PST U.S.A.] Added new gui's and settings! :D
  24. [2/10/15 PST U.S.A.] Added new music list & gui! YAYY!!
  25. [2/17/15 PST U.S.A.] Added new sub (EXAMPLE : speed;all;50 )
  26. [2/19/15 PST U.S.A.] Fixed the rank; command!
  27. ]]--
  28. --[[ Settings ]]--
  29. local MRun,MError=ypcall(function() -- In case of a horrible problem. ):
  30.  
  31. local Owners={'seb8023'};
  32. local Admins={''};
  33. local Banned={'Crimsonsword321','_Idk_','_Return_Until_Nil_Idiots_'};
  34.  
  35. local GroupID=(00000)
  36. local GroupAdminsRank=(1-255) -- MUST be numbered 1-255 depending on your group ranking(s)
  37.  
  38. local GamePassID=(000000) -- Have a gamepass? Use it here!
  39.  
  40. local KohlsSantex=false -- :kill jillmiles1
  41. local PersonsSantex=false -- kill/jillmiles1
  42. local RyansSantex=false -- /kill jillmiles1
  43. local MakersSantex=false -- ;kill jillmiles1
  44. local MilesSantex=true -- kill;jillmiles1 !!! (Default) !!!
  45.  
  46. local AutoAdmin=true -- For those people wanting to get Place Visits make it true!
  47. local OldAnimations=false -- For people who like Old Animations better ;3
  48. local PersonalServer=false -- If you have a horrible lagging "personal server" enable this
  49. local AutoUpdate=true -- You get the point.
  50. local Player_Connected=true -- When a Player joins show there name to the server.
  51.  
  52. local MusicList = {163740232,2303479,27697743,5986151,148939239,173125494} -- All your fav music's! :D
  53. -----------------------------------------------------------------------------------------
  54. -------------------------------------------------------------------------------------------
  55. -------------------------------------------------------------------------------------------
  56. -------------------------------------------------------
  57. ------------[ Main Script DO NOT TOUCH ]---------------
  58. -------------------------------------------------------
  59. local GuiTweenTime=(0.3*2)
  60. local GuiTweening=('Out') -- !(In,Out,InOut)!
  61.  
  62. local Work=game:GetService('Workspace')
  63. local Light=game:GetService('Lighting')
  64. local Players=game:GetService('Players')
  65. local Storage=game:GetService('ServerStorage')
  66. local ScriptStorage=game:GetService('ServerScriptService')
  67. local Main_Gui=game:GetService('StarterGui')
  68. local Main_Tools=game:GetService('StarterPack')
  69. local Teams=game:GetService('Teams') -- ( If there is teams )
  70. local GPass=game:GetService('GamePassService')
  71. local STeleport=game:GetService('TeleportService')
  72. local Market=game:GetService('MarketplaceService')
  73. local Gui_Cmds={}
  74. local Front_Admin_Prefix='';
  75. local Mid_Admin_Prefix='';
  76. local Back_Admin_Prefix='';
  77. -------------------------------------------------------------
  78.  
  79. if OldAnimations then script['Animate']['Value']='Old' else script['Animate']['Value']='New' end
  80.  
  81. script.Name=(string.reverse(']sdnammoC nimdA seliM['))
  82.  
  83. wait()
  84. if not game:FindService('NetworkServer') then
  85. print('[MILES ADMIN COMMANDS] Network Server Could Not Get Connected')
  86. else
  87. print('[MILES ADMIN COMMANDS] Network Server Is Now Connected')
  88. end
  89.  
  90. if not game:FindService('HttpService') then
  91. warn('[MILES ADMIN COMMANDS] HttpService Could Not Got Connected')
  92. else
  93. print('[MILES ADMIN COMMANDS] Checking Http Connect....')
  94. pcall(function()
  95. if loadstring(game:service'HttpService':GetAsync('http://pastebin.com/raw.php?i=LCB5pr7v',true))() then
  96. print('[MILES ADMIN COMMANDS] HttpService Got Connected')
  97. end
  98. end)
  99. end
  100.  
  101. if AutoUpdate then
  102. local run,error = ypcall(function()
  103. if game:FindService('ServerStorage') and game.ServerStorage:findFirstChild('Miles_Strings') then
  104. for _,v in pairs(game.ServerStorage:findFirstChild('Miles_Strings'):GetChildren()) do
  105. if v.ClassName == 'StringValue' and v.Name == 'SOwners' then
  106. table.insert(Owners,v)
  107. elseif v.ClassName == 'StringValue' and v.Name == 'SAdmins' then
  108. table.insert(Admins,v)
  109. elseif v.ClassName == 'StringValue' and v.Name == 'SBanned' then
  110. table.insert(Banned,v)
  111. else
  112. Hint('Miles Admin Updater : Sting value error & Table.insert error! Message jillmiles for more info!')
  113. end
  114. end
  115. end
  116. local mod = game.InsertService:LoadAsset(186738978)
  117. if mod:findFirstChild(string.reverse(']sdnammoC nimdA seliM[')) and mod:findFirstChild('_Version') and AutoUpdate then
  118. local NS = tonumber(mod:findFirstChild(string.reverse(']sdnammoC nimdA seliM[')))
  119. NS.Disabled=true
  120. local NV = tonumber(mod:findFirstChild('_Version').Value)
  121. local OV = nil
  122. if NV and NS and OV then
  123. pcall(function() OV = tonumber(script:findFirstChild('_Version').Value) end)
  124. if OV < NV then
  125. local Folder = Instance.new('Folder',game.ServerStorage) Folder.Name = 'Miles_Strings'
  126. for _,a in pairs(Owners) do
  127. local String = Instance.new('StringValue',Folder) String.Name = 'SOwners' String.Value = a
  128. end
  129. for _,a in pairs(Admins) do
  130. local String = Instance.new('StringValue',Folder) String.Name = 'SAdmins' String.Value = a
  131. end
  132. for _,a in pairs(Banned) do
  133. local String = Instance.new('StringValue',Folder) String.Name = 'SBanned' String.Value = a
  134. end
  135. NS.Parent = game.ServerScriptService
  136. NS.Disabled = false
  137. script.Disabled = true
  138. script:remove()
  139. delay(10,function() Folder:remove() end)
  140. end
  141. end
  142. end
  143. end)
  144. if not run then Hint('Miles Admin Updater : '..error) end
  145. end
  146.  
  147. GG=function()
  148. return((math.floor((collectgarbage("count")/10))*10)/1000)..' MegaBits'
  149. end
  150.  
  151. RemoveSounds=function()
  152. for _,v in pairs(game.Workspace:GetChildren()) do
  153. if v.ClassName=='Sound' then
  154. v:Pause()
  155. wait()
  156. v:remove()
  157. end
  158. end
  159. end
  160.  
  161. NewSound=function(ID)
  162. local S=Instance.new('Sound',Work)
  163. S.Pitch=1
  164. S.Name=':// MILES_ADMIN_SOUND \\:'
  165. S.Volume=1
  166. S.Looped=true
  167. S.PlayOnRemove=false
  168. S.SoundId=('rbxassetid://'..ID)
  169. wait()
  170. S:Play()
  171. end
  172.  
  173. Get_Return_Admin_Table=function(PLR)
  174. local K=0
  175. for _,v1 in pairs(Owners) do
  176. if v1:lower()==PLR['Name']:lower() then
  177. K=2
  178. end
  179. end
  180. for _,v1 in pairs(Admins) do
  181. if v1:lower()==PLR['Name']:lower() then
  182. K=1
  183. end
  184. end
  185. wait()
  186. return K
  187. end
  188.  
  189. function CheckBanlist(Plr)
  190. for _,v in pairs(Banned) do
  191. if v==Plr.Name then
  192. Note(Plr,'You are banned, please do rejoin!'); wait(1)
  193. script['LocalSources']['Mute']:Clone().Parent=(Plr['PlayerGui']); wait()
  194. Plr['PlayerGui']['Mute']['Disabled']=false
  195. script['LocalSources']['Lag']:Clone().Parent=(Plr['PlayerGui']); wait()
  196. Plr['PlayerGui']['Lag']['Disabled']=false
  197. wait()
  198. pcall(function() Plr:Kick() end)
  199. end
  200. end
  201. end
  202.  
  203. ReturnBan=function(Plr)
  204. pcall(function()
  205. table.insert(Banned,Plr.Name)
  206. CheckBanlist(Plr)
  207. end)
  208. end
  209.  
  210. Check_Prefix=function()
  211. if not MakersSantex and KohlsSantex and not RyansSantex and not MilesSantex and not PersonsSantex then
  212. Front_Admin_Prefix=':'
  213. Mid_Admin_Prefix=''
  214. Back_Admin_Prefix=' '
  215. elseif not MakersSantex and not KohlsSantex and not RyansSantex and not MilesSantex and PersonsSantex then
  216. Front_Admin_Prefix=''
  217. Mid_Admin_Prefix='/'
  218. Back_Admin_Prefix='/'
  219. elseif not MakersSantex and not KohlsSantex and RyansSantex and not MilesSantex and not PersonsSantex then
  220. Front_Admin_Prefix='/'
  221. Mid_Admin_Prefix=' '
  222. Back_Admin_Prefix=' '
  223. elseif not MakersSantex and not KohlsSantex and not RyansSantex and MilesSantex and not PersonsSantex then
  224. Front_Admin_Prefix=''
  225. Mid_Admin_Prefix=';'
  226. Back_Admin_Prefix='-'
  227. elseif MakersSantex and not KohlsSantex and not RyansSantex and not MilesSantex and not PersonsSantex then
  228. Front_Admin_Prefix=';'
  229. Mid_Admin_Prefix=' '
  230. Back_Admin_Prefix=' '
  231. else
  232. Hint('[MILES ADMIN COMMANDS] A error with the Santex returned to MilesSantex=true')
  233. MilesSantex=true
  234. end
  235. end
  236.  
  237. FindReturnPlayer=function(Plr,Msg)
  238. local ReturnedTable={}
  239. ypcall(function()
  240. if Msg:lower()=='me' or Msg=='' then
  241. table.insert(ReturnedTable,Plr)
  242. elseif Msg:lower()=='all' then
  243. coroutine.wrap(function()
  244. for _,v in pairs(game.Players:GetPlayers()) do
  245. table.insert(ReturnedTable,v)
  246. end
  247. end)()
  248. elseif Msg:lower()=='others' then
  249. for _,v in pairs(game.Players:GetPlayers()) do
  250. if v.Name~=Plr.Name then
  251. table.insert(ReturnedTable,v)
  252. end
  253. end
  254. elseif Msg:lower()=='friends' then
  255. for _,v in pairs(game.Players:GetPlayers()) do
  256. if v:IsFriendsWith(Plr.userId) then
  257. table.insert(ReturnedTable,v)
  258. end
  259. end
  260. elseif Msg:lower()=='bestfriends' then
  261. for _,v in pairs(game.Players:GetPlayers()) do
  262. if v:IsBestFriendsWith(Plr.userId) then
  263. table.insert(ReturnedTable,v)
  264. end
  265. end
  266. elseif Msg:lower()=='nonfriends' then
  267. for _,v in pairs(game.Players:GetPlayers()) do
  268. if not v:IsFriendsWith(Plr.userId) then
  269. table.insert(ReturnedTable,v)
  270. end
  271. end
  272. elseif Msg:lower()=='nonbestfriends' then
  273. for _,v in pairs(game.Players:GetPlayers()) do
  274. if not v:IsBestFriendsWith(Plr.userId) then
  275. table.insert(ReturnedTable,v)
  276. end
  277. end
  278. elseif Msg:lower()=='nbc' then
  279. for _,v in pairs(game.Players:GetPlayers()) do
  280. if v.MembershipType == Enum.MembershipType.None then
  281. table.insert(ReturnedTable,v)
  282. end
  283. end
  284. elseif Msg:lower()=='tbc' then
  285. for _,v in pairs(game.Players:GetPlayers()) do
  286. if v.MembershipType == Enum.MembershipType.TurboBuildersClub then
  287. table.insert(ReturnedTable,v)
  288. end
  289. end
  290. elseif Msg:lower()=='obc' then
  291. for _,v in pairs(game.Players:GetPlayers()) do
  292. if v.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
  293. table.insert(ReturnedTable,v)
  294. end
  295. end
  296. elseif Msg:lower()=='anybc' then
  297. for _,v in pairs(game.Players:GetPlayers()) do
  298. if v.MembershipType==Enum.MembershipType.BuildersClub then
  299. elseif v.MembershipType==Enum.MembershipType.TurboBuildersClub then
  300. elseif v.MembershipType==Enum.MembershipType.OutrageousBuildersClub then
  301. table.insert(ReturnedTable,v)
  302. end
  303. end
  304. else
  305. for _,v in pairs(game.Players:GetPlayers()) do
  306. if v.Name:lower():find(Msg) then
  307. table.insert(ReturnedTable,v)
  308. end
  309. end
  310. end
  311. end)
  312. wait()
  313. return ReturnedTable
  314. end
  315. function ShowRanked(Plr)
  316. if Plr:findFirstChild('PlayerGui') then
  317. local Frames={}
  318. local CurrentRanks={}
  319. for _,v in pairs(Owners) do table.insert(CurrentRanks,{Plr=v,Rank='Owner'}) end
  320. for _,v in pairs(Admins) do table.insert(CurrentRanks,{Plr=v,Rank='Admin'}) end
  321. for _,v in pairs(Banned) do table.insert(CurrentRanks,{Plr=v,Rank='Banned'}) end
  322. wait()
  323. coroutine.resume(coroutine.create(function()
  324. local Gui=Instance.new('ScreenGui',Plr.PlayerGui)
  325. local MF=Instance.new('Frame',Gui)
  326. MF.BorderSizePixel=0
  327. MF.Position=UDim2.new(.65,0,.2,0)
  328. MF.Size=UDim2.new(.3,0,.7,0)
  329. MF.Style='RobloxRound'
  330. local SF=Instance.new('ScrollingFrame',MF)
  331. SF.BorderSizePixel=0
  332. SF.Size=UDim2.new(1,0,1,0)
  333. SF.BackgroundTransparency=1
  334. SF.CanvasSize=UDim2.new(0,0,5,0)
  335. for _,v in pairs(CurrentRanks) do
  336. local MB=Instance.new('TextLabel',SF)
  337. MB.BackgroundTransparency=1
  338. MB.BorderSizePixel=0
  339. MB.Size=UDim2.new(.93,0,.01,0)
  340. MB.Font='ArialBold'
  341. MB.FontSize='Size14'
  342. MB.TextStrokeTransparency=0
  343. MB.TextStrokeColor3=Color3.new(255,255,255)
  344. MB.TextColor3=Color3.new(0,0,0)
  345. MB.Text=('Name: '..v.Plr..', Rank: '..v.Rank)
  346. MB.Position=UDim2.new(0,0,#Frames*0.01, 0)
  347. table.insert(Frames,{Frame=MB})
  348. end
  349. end))
  350. end
  351. end
  352. function ShowMusic(Plr,Msg)
  353. if Plr:findFirstChild('PlayerGui') then
  354. local Frames={}
  355. coroutine.resume(coroutine.create(function()
  356. local Gui=Instance.new('ScreenGui',Plr.PlayerGui)
  357. local MF=Instance.new('Frame',Gui)
  358. MF.BorderSizePixel=0
  359. MF.Position=UDim2.new(.65,0,.2,0)
  360. MF.Size=UDim2.new(.3,0,.7,0)
  361. MF.Style='DropShadow'
  362. local ID=Instance.new('TextBox',MF)
  363. ID.BorderSizePixel=0
  364. ID.Position=UDim2.new(0,0,.9,0)
  365. ID.Size=UDim2.new(.6,0,.1,0)
  366. ID.Font='SourceSans'
  367. ID.FontSize='Size14'
  368. if Msg==nil then
  369. ID.Text = 168763847
  370. else
  371. ID.Text = Msg
  372. end
  373. ID.TextColor3=Color3.new(255,255,255)
  374. ID.TextStrokeColor3=Color3.new(0,0,0)
  375. ID.TextStrokeTransparency=0
  376. local Pl=Instance.new('TextButton',MF)
  377. Pl.BackgroundTransparency=0
  378. Pl.BorderSizePixel=0
  379. Pl.Position=UDim2.new(.6,0,.9,0)
  380. Pl.Size=UDim2.new(.4,0,.1,0)
  381. Pl.Font='Arial'
  382. Pl.FontSize='Size14'
  383. Pl.Text='Play'
  384. Pl.TextColor3=Color3.new(255,255,255)
  385. Pl.TextStrokeColor3=Color3.new(0,0,0)
  386. Pl.TextStrokeTransparency=0
  387. local SF=Instance.new('ScrollingFrame',MF)
  388. SF.BorderSizePixel=0
  389. SF.Size=UDim2.new(1,0,.9,0)
  390. SF.BackgroundTransparency=1
  391. local Client = game:GetService("MarketplaceService")
  392. local SID = 0000000
  393. for _,v in pairs(MusicList) do
  394. local MB=Instance.new('TextButton',SF)
  395. MB.Size=UDim2.new(.9,0,.05,0)
  396. MB.Style='RobloxRoundDropdownButton'
  397. MB.Font='ArialBold'
  398. MB.FontSize='Size14'
  399. MB.Text=('Play : '..Client:GetProductInfo(v)['Name'])
  400. MB.Position=UDim2.new(0,0,#Frames*0.05, 0)
  401. table.insert(Frames,{Frame=MB})
  402. -------------------------------
  403. MB.MouseButton1Down:connect(function()
  404. Note(Plr,'Attemping To Play ['..tonumber(v)..']')
  405. pcall(function()
  406. SID = tonumber(v)
  407. ID.Text = SID
  408. RemoveSounds()
  409. wait(3)
  410. NewSound(tonumber(v))
  411. Hint('Playing '..Client:GetProductInfo(v)['Name']..'!')
  412. end)
  413. end)
  414. end
  415. Pl.MouseButton1Click:connect(function()
  416. pcall(function() SID = tonumber(ID.Text) end)
  417. Note(Plr,'Attemping To Play ['..SID..']')
  418. pcall(function()
  419. RemoveSounds()
  420. wait(3)
  421. NewSound(SID)
  422. Hint('Playing '..Client:GetProductInfo(SID)['Name']..'!')
  423. end)
  424. Gui:remove()
  425. end)
  426. end))
  427. end
  428. end
  429. function Note(Plr,Msg)
  430. if Plr:findFirstChild('PlayerGui') then
  431. coroutine.resume(coroutine.create(function()
  432. local Gui=Instance.new('ScreenGui',Plr.PlayerGui)
  433. local Frame=Instance.new('Frame',Gui)
  434. Frame.BackgroundTransparency=1
  435. Frame.BackgroundColor3=Color3.new(0,0,0)
  436. Frame.BorderSizePixel=0
  437. Frame.Size=UDim2.new(1,0,.05,0)
  438. Frame.Style='Custom'
  439. local Txt=Instance.new('TextLabel',Frame)
  440. Txt.BackgroundTransparency=1
  441. Txt.Size=UDim2.new(1,0,1,0)
  442. Txt.Font='ArialBold'
  443. Txt.FontSize='Size14'
  444. Txt.Text=':/ Miles Admin Commands \\: '..Msg
  445. Txt.TextColor3=Color3.new(85,255,255)
  446. Txt.TextScaled=false
  447. Txt.TextWrapped=true
  448. Txt.TextStrokeColor3=Color3.new(0,0,0)
  449. Txt.TextStrokeTransparency=1
  450. Txt.TextTransparency=1
  451. coroutine.resume(coroutine.create(function()
  452. for i=1,0,-.1 do
  453. Frame.BackgroundTransparency=i
  454. wait(.05)
  455. end
  456. for i=1,0,-.1 do
  457. Txt.TextTransparency=i
  458. wait(.05)
  459. end
  460. wait(3)
  461. for i=0,1,.1 do
  462. Txt.TextTransparency=i
  463. wait(.05)
  464. end
  465. for i=0,1,.1 do
  466. Frame.BackgroundTransparency=i
  467. wait(.05)
  468. end
  469. Gui:remove()
  470. end))
  471. end))
  472. end
  473. end
  474. function Hint(Msg)
  475. for _,v in pairs(game.Players:GetPlayers()) do
  476. if v:findFirstChild('PlayerGui') then
  477. coroutine.resume(coroutine.create(function()
  478. local Gui=Instance.new('ScreenGui',v.PlayerGui)
  479. local Frame=Instance.new('Frame',Gui)
  480. Frame.Position=UDim2.new(0,0,-1,0)
  481. Frame.Size=UDim2.new(1,0,.05,0)
  482. Frame.Style='RobloxRound'
  483. local S=Instance.new("Sound",Gui)
  484. S.Pitch=1
  485. S.Volume=.1
  486. S.Looped=false
  487. S.SoundId='rbxassetid://179235828'
  488. local Txt=Instance.new('TextLabel',Frame)
  489. Txt.BackgroundTransparency=1
  490. Txt.Size=UDim2.new(1,0,1,0)
  491. Txt.Font='ArialBold'
  492. Txt.FontSize='Size18'
  493. Txt.Text=''
  494. Txt.TextColor3=Color3.new(0,0,0)
  495. Txt.TextScaled=false
  496. Txt.TextStrokeColor3=Color3.new(255,255,255)
  497. Txt.TextStrokeTransparency=0
  498. Txt.TextTransparency=0
  499. Txt.TextWrapped=false
  500. coroutine.resume(coroutine.create(function()
  501. Frame:TweenPosition(UDim2.new(0,0,.01,0))
  502. delay(1,function()
  503. pcall(function()
  504. for v = 1, #Msg do
  505. S:Play()
  506. Txt.Text=string.sub(Msg,1,v)
  507. wait(.05)
  508. end;
  509. end)
  510. delay(3,function()
  511. for i=0,1,.1 do
  512. Txt.TextTransparency=i
  513. Txt.TextStrokeTransparency=i
  514. wait(.01)
  515. end
  516. S:Pause()
  517. wait(.1)
  518. Frame:TweenPosition(UDim2.new(0,0,-.1,0))
  519. wait(1)
  520. Gui:remove()
  521. end)
  522. end)
  523. end))
  524. end))
  525. end
  526. end
  527. end
  528. function Message(Msg)
  529. for _,v in pairs(game.Players:GetPlayers()) do
  530. if v:findFirstChild('PlayerGui') then
  531. coroutine.resume(coroutine.create(function()
  532. local Gui=Instance.new('ScreenGui',v.PlayerGui)
  533. local Frame=Instance.new('Frame',Gui)
  534. Frame.BackgroundColor3=Color3.new(67/255,67/255,67/255)
  535. Frame.BackgroundTransparency=1
  536. Frame.BorderSizePixel=0
  537. Frame.Position=UDim2.new(.25,0,.3,0)
  538. Frame.Size=UDim2.new(0,0,0,0)
  539. Frame.Style='Custom'
  540. Frame.Rotation=90
  541. local S=Instance.new("Sound",Gui)
  542. S.Pitch=1
  543. S.Volume=.1
  544. S.Looped=false
  545. S.SoundId='rbxassetid://179235828'
  546. local GName=Instance.new('TextLabel',Frame)
  547. GName.BackgroundTransparency=1
  548. GName.Size=UDim2.new(1,0,.1,0)
  549. GName.Font='ArialBold'
  550. GName.FontSize='Size14'
  551. GName.Text='Miles Admin Commands'
  552. GName.TextColor3=Color3.new(85,255,255)
  553. GName.TextScaled=false
  554. GName.TextWrapped=true
  555. GName.TextStrokeColor3=Color3.new(0,0,0)
  556. GName.TextStrokeTransparency=1
  557. GName.TextTransparency=1
  558. local Txt=Instance.new('TextLabel',Frame)
  559. Txt.BackgroundTransparency=1
  560. Txt.Size=UDim2.new(1,0,.9,0)
  561. Txt.Position=UDim2.new(0,0,.1,0)
  562. Txt.Font='ArialBold'
  563. Txt.FontSize='Size18'
  564. Txt.Text=''
  565. Txt.TextColor3=Color3.new(255,255,255)
  566. Txt.TextScaled=false
  567. Txt.TextWrapped=true
  568. Txt.TextStrokeColor3=Color3.new(0,0,0)
  569. Txt.TextStrokeTransparency=1
  570. Txt.TextTransparency=1
  571. Txt.TextXAlignment='Left'
  572. Txt.TextYAlignment='Top'
  573. coroutine.resume(coroutine.create(function()
  574. delay(wait(),function()
  575. while wait() do
  576. local Rot=0
  577. Rot=Rot+3.5
  578. if Frame.Rotation==0 then
  579. Rot=0
  580. break
  581. else
  582. Frame.Rotation=Frame.Rotation-1*5
  583. Frame.BackgroundTransparency=Frame.BackgroundTransparency-.03
  584. end
  585. end
  586. end)
  587. Frame:TweenSize(UDim2.new(.5,0,.45,0),"Out","Linear",1)
  588. for i = 1,0,-.1 do
  589. Txt.TextStrokeTransparency=i
  590. Txt.TextTransparency=i
  591. GName.TextStrokeTransparency=i
  592. GName.TextTransparency=i
  593. wait(.03)
  594. end
  595. pcall(function()
  596. for v = 1, #Msg do
  597. S:Play()
  598. Txt.Text=string.sub(Msg,1,v)
  599. wait(.02)
  600. end;
  601. end)
  602. wait(3)
  603. delay(wait(),function()
  604. for i = 0,1,.1 do
  605. Txt.TextStrokeTransparency=i
  606. Txt.TextTransparency=i
  607. GName.TextStrokeTransparency=i
  608. GName.TextTransparency=i
  609. wait(.03)
  610. end
  611. Frame:TweenSize(UDim2.new(0,0,0,0),"In","Linear",1)
  612. S:Pause()
  613. while wait() do
  614. local Rot=0
  615. Rot=Rot-3.5
  616. if Frame.Rotation==90 then
  617. Rot=0
  618. break
  619. else
  620. Frame.Rotation=Frame.Rotation+1*5
  621. Frame.BackgroundTransparency=Frame.BackgroundTransparency+.05
  622. end
  623. end
  624. end)
  625. end))
  626. end))
  627. end
  628. end
  629. end
  630. function ShowCmds(plr)
  631. if plr:findFirstChild('PlayerGui') then
  632. local CurrentGuis={}
  633. coroutine.resume(coroutine.create(function()
  634. local run,error = ypcall(function()
  635. local Gui=Instance.new('ScreenGui',plr.PlayerGui)
  636. local MF=Instance.new('Frame',Gui) MF.Position=UDim2.new(.2,0,.03,0) MF.BorderSizePixel=0 MF.Size=UDim2.new(.6,0,.9,0) MF.BackgroundTransparency=.5 MF.BackgroundColor3=Color3.new(67/255,67/255,67/255) --MF.Style='RobloxRound'
  637. local MC=Instance.new('Frame',MF) MC.Position=UDim2.new(-.117,0,-.01,0) MC.BorderSizePixel=0 MC.Size=UDim2.new(.1,0,.1,0) MC.BackgroundTransparency=1 MC.BackgroundColor3=Color3.new(67/255,67/255,67/255) --MC.Style='RobloxRound'
  638. local CT=Instance.new('ImageButton',MC) CT.BackgroundTransparency=1 CT.Image='rbxassetid://146849649' CT.Size=UDim2.new(1,0,1,0) CT.Style='Custom'
  639. CT.MouseEnter:connect(function() CT.Image='rbxassetid://146849670' end) CT.MouseLeave:connect(function() CT.Image='rbxassetid://146849649' end) CT.MouseButton1Click:connect(function() delay(wait(),function() while wait() do MF.Rotation=MF.Rotation+.5*3*math.pi end end) MF:TweenSize(UDim2.new(0,0,0,0),"In","Quad",1) delay(.95,function() Gui:remove() end) end)
  640. local SF=Instance.new('ScrollingFrame',MF) SF.BackgroundTransparency=1 SF.BorderSizePixel=0 SF.Size=UDim2.new(1,0,1,0) SF.ScrollBarThickness=20 SF.CanvasSize=UDim2.new(0,0,5,0)
  641. for _,v in pairs(Gui_Cmds) do
  642. if Get_Return_Admin_Table(plr)>=v.ALLOWED then
  643. local Txt=Instance.new('TextLabel',SF) Txt.BackgroundTransparency=1 Txt.Size=UDim2.new(.95,0,.01,0) Txt.Font='SourceSansBold' Txt.FontSize='Size18' Txt.Text=(Front_Admin_Prefix..v.CMD..Mid_Admin_Prefix..plr.Name) Txt.TextColor3=Color3.new(0,0,0) Txt.TextStrokeColor3=Color3.new(255,255,255) Txt.TextStrokeTransparency=0.3 Txt.TextXAlignment='Left'
  644. Txt.Position=UDim2.new(0,0,#CurrentGuis*0.01, 0)
  645. table.insert(CurrentGuis,{Gui_Cmd=Txt})
  646. end
  647. end
  648. end)
  649. if not run then print(error) end
  650. end))
  651. end
  652. end
  653. ---------------------------------------------------
  654. -----------------[ COMMANDS ]----------------------
  655. ---------------------------------------------------
  656. local Instance_CMD=function(CMD,ALLOWED,FUNCTION)
  657. if CMD==nil then CMD='Nil' else end
  658. table.insert(Gui_Cmds,{CMD=CMD,ALLOWED=ALLOWED,FUNCTION=FUNCTION})
  659. end
  660.  
  661. Instance_CMD('Exe',1,function(Plr,Msg)
  662. pcall(function()
  663. script['Execute']['Val'].Value=(tostring(Msg))
  664. script['Execute']['Disabled']=false
  665. Note(Plr,'Executed Script!',(85/255/0))
  666. end)
  667. end)
  668. Instance_CMD('Ranked',0,function(Plr)
  669. ShowRanked(Plr)
  670. end)
  671. Instance_CMD('Smite',1,function(Plr,Msg)
  672. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  673. if v then
  674. for _,i in pairs(v.Character:children()) do
  675. if i:IsA'BasePart' then
  676. local Sparkles = Instance.new("Sparkles",i)
  677. Sparkles.Color = Color3.new(math.random(),math.random(),math.random())
  678. local Ex = Instance.new("Explosion",workspace)
  679. Ex.Position = i.Position
  680. Ex.BlastPressure = 1e105
  681. i:BreakJoints()
  682. i.Velocity = Vector3.new(math.random(-250,250),math.random(100,250),math.random(-250,250))
  683. coroutine.wrap(function()
  684. for b=1,5,0.5 do
  685. i.Size=Vector3.new(b,b,b)
  686. wait(0.01)
  687. end
  688. end)()
  689. end
  690. end
  691. local Base=Instance.new'Part'
  692. pcall(function()
  693. Base.Size=Vector3.new(5,1,3)
  694. Base.Color=Color3.new(BrickColor.new'Bright yellow')
  695. Base.Anchored=true
  696. Base.CFrame=CFrame.new(v.Character.Torso.CFrame.x,v.Character.Torso.CFrame.y - 6,v.Character.Torso.CFrame.z)
  697. coroutine.wrap(function()
  698. for i=0,1,0.1 do
  699. Base.Transparency=i
  700. wait()
  701. end
  702. Base:Destroy()
  703. end)()
  704. end)
  705. end
  706. end
  707. end)
  708. Instance_CMD('Nuke',2,function(Plr,Msg)
  709. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  710. if v then
  711. local Position = v.Character.Torso.Position
  712. local Sound = Instance.new("Sound", workspace)
  713. Sound.SoundId = "http://www.roblox.com/Asset/?id=2101159"
  714. Sound.Volume = 1
  715. Sound.Pitch = math.random(90, 110) / 100
  716. Sound:Play()
  717. local Sound = Instance.new("Sound", workspace)
  718. Sound.SoundId = "http://www.roblox.com/Asset/?id=3087031"
  719. Sound.Volume = 1
  720. Sound.Pitch = math.random(90, 110) / 100
  721. Sound:Play()
  722. for i = 1, math.random(5, 7) do
  723. local ExplosionBall = Instance.new("Part", game:service("Workspace"))
  724. ExplosionBall.Name = "Explosion Ball"
  725. ExplosionBall.formFactor = "Custom"
  726. ExplosionBall.TopSurface = 0
  727. ExplosionBall.BottomSurface = 0
  728. ExplosionBall.Anchored = true
  729. ExplosionBall.CanCollide = false
  730. ExplosionBall.Size = Vector3.new(1, 1, 1)
  731. ExplosionBall.BrickColor = BrickColor.random()
  732. ExplosionBall.CFrame = CFrame.new(Position)
  733. ExplosionBall.Touched:connect(function(part) if part:IsDescendentOf(v.Character) then part:BreakJoints() end end)
  734. Instance.new("SpecialMesh", ExplosionBall).MeshType = "Sphere"
  735. coroutine.wrap(function()
  736. for i = 0, 1, 0.005 do
  737. ExplosionBall.Transparency = (1 - i)
  738. ExplosionBall.Mesh.Scale = Vector3.new(i * 250, i * 250, i * 250)
  739. ExplosionBall.CFrame = CFrame.new(Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * i))
  740. if math.random(1, 25) == 1 then
  741. local Explosion = Instance.new("Explosion")
  742. Explosion.Position = ExplosionBall.Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * i)
  743. Explosion.BlastPressure = 10000 * i
  744. Explosion.BlastRadius = i * 250
  745. Explosion.Parent = game:service("Workspace")
  746. end
  747. wait()
  748. end
  749. for i = 0, 1, 0.05 do
  750. ExplosionBall.Transparency = i
  751. ExplosionBall.CFrame = CFrame.new(Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * (1 - i)))
  752. wait()
  753. end
  754. ExplosionBall:Remove()
  755. end)()
  756. end
  757. end
  758. end
  759. end)
  760. Instance_CMD('Sdive',1,function(Plr,Msg)
  761. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  762. if v then
  763. local vChar=v.Character;
  764. local vTorso=vChar.Torso;
  765. vTorso.CFrame=CFrame.new(vTorso.CFrame.X,9999,vTorso.CFrame.Z)
  766. wait()
  767. vTorso.CanCollide=false
  768. end
  769. end
  770. end)
  771.  
  772. --[[
  773. local sep = Msg:find(Back_Admin_Prefix)
  774. local plr = Msg:sub(1,tonumber(sep)-1)
  775. local msg = Msg:sub(tonumber(sep)+1)
  776. for _,i in pairs(FindReturnPlayer(Plr,plr)) do
  777. local X = 0
  778. local Y = 0
  779. local Z = 0
  780. X=i.Character.Torso.Position.X
  781. Y=i.Character.Torso.Position.Y
  782. Z=i.Character.Torso.Position.Z
  783. if i then
  784. i.Character:MoveTo(Vector3.new(X,Y,Z))
  785. end
  786. end]]
  787.  
  788.  
  789. Instance_CMD('Tp',1,function(Plr,Msg)
  790. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  791. local X = 0
  792. local Y = 0
  793. local Z = 0
  794. X=Plr.Character.Torso.Position.X
  795. Y=Plr.Character.Torso.Position.Y
  796. Z=Plr.Character.Torso.Position.Z
  797. if v then
  798. v['Character']:MoveTo(Vector3.new(X,Y,Z))
  799. end
  800. end
  801. end)
  802. Instance_CMD('Disco',1,function(Plr,Msg)
  803. if Msg:lower()=='on' then
  804. script['_G.Disco']['Value']='_G'
  805. else
  806. if Msg:lower()=='off' then
  807. script['_G.Disco']['Value']='_E'
  808. else
  809. Note(Plr,'Please use On/Off to toggle the disco!',(85/255/0))
  810. end
  811. end
  812. end)
  813. Instance_CMD('M' or 'Message',1,function(Plr,Msg)
  814. Message(Plr.Name..' : '..tostring(Msg))
  815. end)
  816. Instance_CMD('H' or 'Hint',1,function(Plr,Msg)
  817. for _,v in pairs(game['Players']:GetPlayers()) do
  818. coroutine.wrap(function()
  819. Hint(Plr.Name..' : '..tostring(Msg))
  820. end)()
  821. end
  822. end)
  823. Instance_CMD('Sm',1,function(Plr,Msg)
  824. for _,v in pairs(game['Players']:GetPlayers()) do
  825. coroutine.wrap(function()
  826. Note(v,tostring(Msg))
  827. end)()
  828. end
  829. end)
  830. Instance_CMD('Nosounds',1,function(Plr)
  831. RemoveSounds()
  832. end)
  833. Instance_CMD('Rejoin',0,function(Plr)
  834. local Pl=game['PlaceId']
  835. wait()
  836. pcall(function()
  837. STeleport:Teleport(Pl,Plr)
  838. end)
  839. end)
  840. Instance_CMD('Musiclist',1,function(Plr,Msg)
  841. ShowMusic(Plr,Msg)
  842. end)
  843. Instance_CMD('Cmds',0,function(Plr)
  844. ShowCmds(Plr)
  845. end)
  846. Instance_CMD('CChat',1,function(Plr)
  847. GChat(Plr)
  848. end)
  849. Instance_CMD('Noguis',1,function(Plr,Msg)
  850. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  851. if v then
  852. v['PlayerGui']:ClearAllChildren()
  853. end
  854. end
  855. end)
  856. Instance_CMD('Notools',1,function(Plr,Msg)
  857. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  858. if v then
  859. v['Backpack']:ClearAllChildren()
  860. end
  861. end
  862. end)
  863. Instance_CMD('Ping',0,function(Plr)
  864. Note(Plr,GG(),(85/255/0))
  865. end)
  866. Instance_CMD('Nteams',1,function(Plr)
  867. for _,v in pairs(game.Teams:GetChildren()) do
  868. v:remove()
  869. end
  870. Note(Plr,'Removed teams!',(85/255/0))
  871. end)
  872. Instance_CMD('ATeam',1,function(Plr,Msg)
  873. local p=Instance.new('Team',Teams)
  874. p.Name=(tostring(Msg))
  875. p.TeamColor=BrickColor.Random()
  876. Plr.TeamColor=p['TeamColor']
  877. Plr.Neutral=false
  878. end)
  879. Instance_CMD('CTeam',1,function(Plr,Msg)
  880. local sep = Msg:find(Back_Admin_Prefix)
  881. local plr = Msg:sub(1,tonumber(sep)-1)
  882. local msg = Msg:sub(tonumber(sep)+1)
  883. for _,v in pairs(game:GetService('Teams'):GetChildren()) do
  884. if v.ClassName=='Team' then
  885. if string.lower(v.Name)==msg or string.upper(v.Name)==msg then
  886. for _,i in pairs(FindReturnPlayer(Plr,plr)) do
  887. i.TeamColor=v.TeamColor
  888.  
  889. end
  890. end
  891. end
  892. end
  893. end)
  894. Instance_CMD('Rich',1,function(Plr,Msg)
  895. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  896. if v then
  897. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=13416513"
  898. v:LoadCharacter()
  899. end
  900. end
  901. end)
  902. Instance_CMD('Guest',1,function(Plr,Msg)
  903. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  904. if v then
  905. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1"
  906. v:LoadCharacter()
  907. end
  908. end
  909. end)
  910. Instance_CMD('Shiny',1,function(Plr,Msg)
  911. local sep = Msg:find(Back_Admin_Prefix)
  912. local plr = Msg:sub(1,tonumber(sep)-1)
  913. local msg = Msg:sub(tonumber(sep)+1)
  914. for _,v in pairs(FindReturnPlayer(Plr,plr)) do
  915. for _,i in pairs(v.Character:GetChildren()) do
  916. if i.ClassName=='Part' then
  917. i.Reflectance=0.5
  918. end
  919. end
  920. end
  921. end)
  922. Instance_CMD('Clean',0,function(Plr,Msg)
  923. for _,v in pairs(workspace:GetChildren()) do
  924. if v.ClassName==("Hat") or v.ClassName==("Tool") then
  925. v:remove()
  926. end
  927. end
  928. end)
  929. Instance_CMD('Headsize',1,function(Plr,Msg)
  930. local sep = Msg:find(Back_Admin_Prefix)
  931. local plr = Msg:sub(1,tonumber(sep)-1)
  932. local msg = Msg:sub(tonumber(sep)+1)
  933. for _,v in pairs(FindReturnPlayer(Plr,plr)) do
  934. v.Character.Head.Mesh.Scale = Vector3.new(msg/100,msg/100,msg/100)
  935. end
  936. end)
  937. Instance_CMD('SBKeys',1,function(Plr,Msg)
  938. pcall(function()
  939. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  940. if v then
  941. if v.Character:FindFirstChild("Humanoid") ~= nil then
  942. v.Character.Humanoid.WalkSpeed = -16
  943. end
  944. end
  945. end
  946. end)
  947. end)
  948. Instance_CMD('SFKeys',1,function(Plr,Msg)
  949. pcall(function()
  950. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  951. if v then
  952. if v.Character:FindFirstChild("Humanoid") ~= nil then
  953. v.Character.Humanoid.WalkSpeed = 16
  954. end
  955. end
  956. end
  957. end)
  958. end)
  959. Instance_CMD('Stealtools',1,function(Plr,Msg)
  960. pcall(function()
  961. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  962. if v then
  963. for _,i in pairs(v.Backpack:GetChildren()) do
  964. i:Clone().Parent=Plr.Backpack
  965. end
  966. end
  967. end
  968. end)
  969. end)
  970. Instance_CMD('CmdBar',2,function(Plr)
  971. CmdBar(Plr)
  972. end)
  973. Instance_CMD('Shutdown',2,function(Plr,Msg)
  974. Message('Game shuting down..')
  975. wait(3)
  976. for _,v in pairs(game.Players:GetPlayers()) do
  977. v:Kick()
  978. end
  979. end)
  980. Instance_CMD('Fly',1,function(Plr,Msg)
  981. pcall(function()
  982. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  983. if v then
  984. script['LocalSources']['Fly']:Clone().Parent=(v['PlayerGui']) wait()
  985. v['PlayerGui']['Fly']['Disabled']=false
  986. end
  987. end
  988. end)
  989. end)
  990. Instance_CMD('Tail',1,function(Plr,Msg)
  991. pcall(function()
  992. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  993. if v then
  994. script['LocalSources']['Tail']:Clone().Parent=(v['PlayerGui']) wait()
  995. v['PlayerGui']['Tail']['Disabled']=false
  996. end
  997. end
  998. end)
  999. end)
  1000. Instance_CMD('Tank',1,function(Plr,Msg)
  1001. pcall(function()
  1002. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1003. if v then
  1004. script['LocalSources']['Tank']:Clone().Parent=(v['PlayerGui']) wait()
  1005. v['PlayerGui']['Tank']['Disabled']=false
  1006. end
  1007. end
  1008. end)
  1009. end)
  1010. Instance_CMD('Noclip',1,function(Plr,Msg)
  1011. pcall(function()
  1012. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1013. if v then
  1014. script['LocalSources']['Noclip']:Clone().Parent=(v['PlayerGui']) wait()
  1015. v['PlayerGui']['Noclip']['Disabled']=false
  1016. end
  1017. end
  1018. end)
  1019. end)
  1020. Instance_CMD('Fun',1,function(Plr,Msg)
  1021. pcall(function()
  1022. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1023. if v then
  1024. script['LocalSources'][';P Script']:Clone().Parent=(v['PlayerGui']) wait()
  1025. v['PlayerGui'][';P Script']['Disabled']=false
  1026. end
  1027. end
  1028. end)
  1029. end)
  1030. Instance_CMD('Gn',0,function(Plr)
  1031. pcall(function()
  1032. script['LocalSources']['GNil']:Clone().Parent=(Plr['PlayerGui']) wait()
  1033. Plr['PlayerGui']['GNil']['Disabled']=false
  1034. end)
  1035. end)
  1036. Instance_CMD('Char',0,function(Plr,Msg)
  1037. Plr.CharacterAppearance='http://www.roblox.com/Asset/CharacterFetch.ashx?userId='..tonumber(Msg)..'&placeId='..game.PlaceId
  1038. wait()
  1039. Plr:LoadCharacter()
  1040. end)
  1041. Instance_CMD('Unchar',0,function(Plr,Msg)
  1042. Plr.CharacterAppearance='http://www.roblox.com/Asset/CharacterFetch.ashx?userId='..Plr.userId..'&placeId='..game.PlaceId
  1043. wait()
  1044. Plr:LoadCharacter()
  1045. end)
  1046. Instance_CMD('Music',1,function(Plr,Msg)
  1047. if PersonalServer then
  1048. Note(Plr,'Please set PersonalServer to false to use this command!',(28/7/2))
  1049. elseif not game:FindService('HttpService') then
  1050. Note(Plr,'This GUI Will Not Work Due To HTTP Not Existing Or Not Enabled',(28/7/2))
  1051. else
  1052. local Ser=game:FindService('HttpService')
  1053. local KeyWords=Ser:UrlEncode(tostring(Msg))
  1054. local Url='http://roproxy.tk/catalog/json?Keyword='..KeyWords..'&Category=9&ResultsPerPage=25'
  1055. local Assets=game:service'HttpService':JSONDecode(Ser:GetAsync(Url))
  1056. local PGui=game.Players[Plr.Name]['PlayerGui']
  1057. local PInstance={}
  1058. local Gui=Instance.new('ScreenGui',PGui)
  1059. Gui.Name='PL_Gui'
  1060. local Frame=Instance.new('ScrollingFrame',Gui)
  1061. Frame.BackgroundTransparency=0.5
  1062. Frame.Position=UDim2.new(0.6,0,0.1,0)
  1063. Frame.Size=UDim2.new(0.3,0,0.5,0)
  1064. Frame.ClipsDescendants=true
  1065. Frame.Draggable=true
  1066. Frame.Position=UDim2.new(0.6,0,-1,0)
  1067. Frame.ScrollBarThickness=20
  1068. Frame:TweenPosition(UDim2.new(0.6,0,0.1,0),GuiTweening,'Quad',0.1*3,false)
  1069. for _,v in pairs(Assets) do
  1070. local Text=Instance.new('TextButton',Frame)
  1071. Text.Style='RobloxRoundDropdownButton'
  1072. Text.Font='SourceSans'
  1073. Text.Size=UDim2.new(0.9,0,0.03,0)
  1074. Text.FontSize='Size14'
  1075. Text.Text=('Play '..v.Name..'?')
  1076. Text:TweenPosition(UDim2.new(0,0,#PInstance*0.03, 0),GuiTweening,'Quad',GuiTweenTime,false)
  1077. table.insert(PInstance,{Text=Text})
  1078. Text.MouseButton1Click:connect(function()
  1079. Note(Plr,'Attemping To Play ['..v.AssetId..']')
  1080. Frame:TweenPosition(UDim2.new(0.6,0,-1,0),GuiTweening,'Quad',0.1*3,false)
  1081. pcall(function()
  1082. RemoveSounds()
  1083. wait(3)
  1084. NewSound(tonumber(v.AssetId))
  1085. Hint('Playing '..v.Name..'!')
  1086. end)
  1087. wait()
  1088. Gui:remove()
  1089. end)
  1090. end
  1091. end
  1092. end)
  1093. Instance_CMD('Mute',1,function(Plr,Msg)
  1094. pcall(function()
  1095. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1096. if v then
  1097. script['LocalSources']['Mute']:Clone().Parent=(v['PlayerGui']) wait()
  1098. v['PlayerGui']['Mute']['Disabled']=false
  1099. Note(Plr,Plr.Name..' muted '..v.Name..'!')
  1100. end
  1101. end
  1102. end)
  1103. end)
  1104. Instance_CMD('Unmute',1,function(Plr,Msg)
  1105. pcall(function()
  1106. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1107. if v then
  1108. script['LocalSources']['Unmute']:Clone().Parent=(v['PlayerGui']) wait()
  1109. v['PlayerGui']['Unmute']['Disabled']=false
  1110. end
  1111. end
  1112. end)
  1113. end)
  1114. Instance_CMD('Dark',1,function(Plr,Msg)
  1115. pcall(function()
  1116. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1117. if v then
  1118. script['LocalSources']['EChar']:Clone().Parent=(v['PlayerGui']) wait()
  1119. v['PlayerGui']['EChar']['Disabled']=false
  1120. end
  1121. end
  1122. end)
  1123. end)
  1124. Instance_CMD('Explode',1,function(Plr,Msg)
  1125. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1126. if v then
  1127. local e=Instance.new("Explosion",workspace)
  1128. e.Position = v.Character.Torso.Position
  1129. end
  1130. end
  1131. end)
  1132. Instance_CMD('Time',1,function(Plr,Msg)
  1133. game.Lighting.TimeOfDay=tonumber(Msg)
  1134. end)
  1135. Instance_CMD('Thaw',1,function(Plr,Msg)
  1136. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1137. if v then
  1138. v.Character.Torso.Anchored=false
  1139. end
  1140. end
  1141. end)
  1142. Instance_CMD('Invisible',1,function(Plr,Msg)
  1143. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1144. if v then
  1145. for _,p in pairs(v.Character:GetChildren()) do
  1146. if p.ClassName=='Part' then
  1147. p.Transparency=1
  1148. elseif p.ClassName=='Hat' then
  1149. p:remove()
  1150. end
  1151. end
  1152. end
  1153. end
  1154. end)
  1155. Instance_CMD('Visible',1,function(Plr,Msg)
  1156. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1157. if v then
  1158. for _,p in pairs(v.Character:GetChildren()) do
  1159. if p.ClassName=='Part' then
  1160. p.Transparency=0
  1161. pcall(function() p.HumanoidRootPart.Transparency=1 end)
  1162. end
  1163. end
  1164. end
  1165. end
  1166. end)
  1167. Instance_CMD('Unfire',1,function(Plr,Msg)
  1168. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1169. if v then
  1170. for _,p in pairs(v.Character:GetChildren()) do
  1171. if p.ClassName=='Part' then
  1172. for _,i in pairs(p:GetChildren()) do
  1173. if i.ClassName=='Fire' then
  1174. i:remove()
  1175. end
  1176. end
  1177. end
  1178. end
  1179. end
  1180. end
  1181. end)
  1182. Instance_CMD('Fire',1,function(Plr,Msg)
  1183. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1184. if v then
  1185. for _,p in pairs(v.Character:GetChildren()) do
  1186. if p.ClassName=='Part' then
  1187. local f=Instance.new('Fire',p)
  1188. end
  1189. end
  1190. end
  1191. end
  1192. end)
  1193. Instance_CMD('Unsparkles',1,function(Plr,Msg)
  1194. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1195. if v then
  1196. for _,p in pairs(v.Character:GetChildren()) do
  1197. if p.ClassName=='Part' then
  1198. for _,i in pairs(p:GetChildren()) do
  1199. if i.ClassName=='Sparkles' then
  1200. i:remove()
  1201. end
  1202. end
  1203. end
  1204. end
  1205. end
  1206. end
  1207. end)
  1208. Instance_CMD('Unsmoke',1,function(Plr,Msg)
  1209. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1210. if v then
  1211. for _,p in pairs(v.Character:GetChildren()) do
  1212. if p.ClassName=='Part' then
  1213. for _,i in pairs(p:GetChildren()) do
  1214. if i.ClassName=='Smoke' then
  1215. i:remove()
  1216. end
  1217. end
  1218. end
  1219. end
  1220. end
  1221. end
  1222. end)
  1223. Instance_CMD('Sparkles',1,function(Plr,Msg)
  1224. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1225. if v then
  1226. for _,p in pairs(v.Character:GetChildren()) do
  1227. if p.ClassName=='Part' then
  1228. local f=Instance.new('Sparkles',p)
  1229. end
  1230. end
  1231. end
  1232. end
  1233. end)
  1234. Instance_CMD('Smoke',1,function(Plr,Msg)
  1235. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1236. if v then
  1237. for _,p in pairs(v.Character:GetChildren()) do
  1238. if p.ClassName=='Part' then
  1239. local f=Instance.new('Smoke',p)
  1240. end
  1241. end
  1242. end
  1243. end
  1244. end)
  1245. Instance_CMD('Gear',1,function(Plr,Msg)
  1246. local x = game:GetService("InsertService"):LoadAsset(Msg) x.Parent = workspace x:makeJoints() x:MoveTo(Plr.Character.Head.Position)
  1247. end)
  1248. Instance_CMD('Freeze',1,function(Plr,Msg)
  1249. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1250. if v then
  1251. v.Character.Torso.Anchored=true -- You arnt moving now ;3
  1252. end
  1253. end
  1254. end)
  1255. Instance_CMD('Removelimbs',1,function(Plr,Msg)
  1256. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1257. if v then
  1258. pcall(function()
  1259. v['Character']['Right Arm']:remove()
  1260. v['Character']['Right Leg']:remove()
  1261. v['Character']['Left Arm']:remove()
  1262. v['Character']['Left Leg']:remove()
  1263. end)
  1264. end
  1265. end
  1266. end)
  1267. Instance_CMD('Unstun',1,function(Plr,Msg)
  1268. pcall(function()
  1269. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1270. if v then
  1271. v['Character']['Humanoid']['PlatformStand']=false
  1272. end
  1273. end
  1274. end)
  1275. end)
  1276. Instance_CMD('Stun',1,function(Plr,Msg)
  1277. pcall(function()
  1278. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1279. if v then
  1280. v['Character']['Humanoid']['PlatformStand']=true
  1281. end
  1282. end
  1283. end)
  1284. end)
  1285. Instance_CMD('Jump',1,function(Plr,Msg)
  1286. pcall(function()
  1287. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1288. if v then
  1289. v['Character']['Humanoid']['Jump']=true
  1290. end
  1291. end
  1292. end)
  1293. end)
  1294. Instance_CMD('Sit',1,function(Plr,Msg)
  1295. pcall(function()
  1296. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1297. if v then
  1298. v['Character']['Humanoid']['Sit']=true
  1299. end
  1300. end
  1301. end)
  1302. end)
  1303. Instance_CMD('Kick',1,function(Plr,Msg)
  1304. pcall(function()
  1305. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1306. if v then
  1307. v:Kick()
  1308. Hint(Plr,'Kicked '..Msg,(85/255/0))
  1309. end
  1310. end
  1311. end)
  1312. end)
  1313. Instance_CMD('Ban',1,function(Plr,Msg)
  1314. pcall(function()
  1315. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1316. if v then
  1317. pcall(function()
  1318. ReturnBan(v)
  1319. v:Kick()
  1320. Message(Plr,'Banned '..Msg,(85/255/0))
  1321. end)
  1322. end
  1323. end
  1324. end)
  1325. end)
  1326. Instance_CMD('MBan',1,function(Plr,Msg)
  1327. pcall(function()
  1328. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1329. if v then
  1330. pcall(function()
  1331. ReturnBan(v)
  1332. v:Kick()
  1333. Message(Plr,'Mute-Banned '..Msg,(85/255/0))
  1334. end)
  1335. end
  1336. end
  1337. end)
  1338. end)
  1339. Instance_CMD('Admin',1,function(Plr,Msg)
  1340. pcall(function()
  1341. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1342. if v then
  1343. pcall(function()
  1344. table.insert(Admins,v.Name)
  1345. Note(v,'Your Now A Admin!',(85/255/0))
  1346. end)
  1347. end
  1348. end
  1349. end)
  1350. end)
  1351. Instance_CMD('Owner',1,function(Plr,Msg)
  1352. pcall(function()
  1353. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1354. if v then
  1355. pcall(function()
  1356. table.insert(Owners,v.Name)
  1357. Note(v,'Your Now A Owner!',(85/255/0))
  1358. end)
  1359. end
  1360. end
  1361. end)
  1362. end)
  1363. Instance_CMD('Damage',1,function(Plr,Msg)
  1364. local sep = Msg:find(Back_Admin_Prefix)
  1365. local plr = Msg:sub(1,tonumber(sep)-1)
  1366. local msg = Msg:sub(tonumber(sep)+1)
  1367. for _,v in pairs(FindReturnPlayer(Plr,plr)) do
  1368. v.Character:findFirstChild('Humanoid'):TakeDamage(msg)
  1369. end
  1370. end)
  1371. Instance_CMD('Ragdoll',1,function(Plr,Msg)
  1372. pcall(function()
  1373. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1374. if v then
  1375. if v.Character:findFirstChild('Humanoid') then
  1376. v.Character.Humanoid:remove()
  1377. end
  1378. end
  1379. end
  1380. end)
  1381. end)
  1382. Instance_CMD('Age',1,function(Plr,Msg)
  1383. pcall(function()
  1384. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1385. if v then
  1386. pcall(function()
  1387. Note(Plr,v.Name..'\'s Age Is '..v.AccountAge,(85/255/0))
  1388. end)
  1389. end
  1390. end
  1391. end)
  1392. end)
  1393. Instance_CMD('Userid',1,function(Plr,Msg)
  1394. pcall(function()
  1395. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1396. if v then
  1397. pcall(function()
  1398. Note(Plr,v.Name..'\'s UserId Is '..v.userId,(85/255/0))
  1399. end)
  1400. end
  1401. end
  1402. end)
  1403. end)
  1404. Instance_CMD('Lag',1,function(Plr,Msg)
  1405. pcall(function()
  1406. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1407. if v then
  1408. pcall(function()
  1409. script['LocalSources']['Mute']:Clone().Parent=(v['PlayerGui']) wait()
  1410. v['PlayerGui']['Mute']['Disabled']=false
  1411. script['LocalSources']['Lag']:Clone().Parent=(v['PlayerGui']) wait()
  1412. v['PlayerGui']['Lag']['Disabled']=false
  1413. end)
  1414. end
  1415. end
  1416. end)
  1417. end)
  1418. Instance_CMD('Kill',1,function(Plr,Msg)
  1419. pcall(function()
  1420. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1421. if v then
  1422. pcall(function()
  1423. v['Character']:BreakJoints()
  1424. end)
  1425. end
  1426. end
  1427. end)
  1428. end)
  1429. Instance_CMD('Rs',1,function(Plr,Msg)
  1430. pcall(function()
  1431. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1432. if v then
  1433. pcall(function()
  1434. v:LoadCharacter()
  1435. end)
  1436. end
  1437. end
  1438. end)
  1439. end)
  1440. Instance_CMD('Speed',1,function(Plr,Msg)
  1441. local sep = Msg:find(Back_Admin_Prefix)
  1442. local plr = Msg:sub(1,tonumber(sep)-1)
  1443. local msg = Msg:sub(tonumber(sep)+1)
  1444. for _,v in pairs(FindReturnPlayer(Plr,plr)) do
  1445. v.Character:findFirstChild('Humanoid').WalkSpeed = msg
  1446. end
  1447. end)
  1448. Instance_CMD('God',1,function(Plr,Msg)
  1449. pcall(function()
  1450. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1451. if v then
  1452. pcall(function()
  1453. v['Character']['Humanoid']['MaxHealth']=math.huge
  1454. end)
  1455. end
  1456. end
  1457. end)
  1458. end)
  1459. Instance_CMD('Ungod',1,function(Plr,Msg)
  1460. pcall(function()
  1461. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1462. if v then
  1463. pcall(function()
  1464. v['Character']['Humanoid']['Health']=100
  1465. v['Character']['Humanoid']['MaxHealth']=100
  1466. end)
  1467. end
  1468. end
  1469. end)
  1470. end)
  1471. Instance_CMD('Loopheal',1,function(Plr,Msg)
  1472. pcall(function()
  1473. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1474. if v then
  1475. pcall(function()
  1476. loadstring('while wait() do game.Players.'..v.Name..'.Character.Humaniod.Health=100 end')()
  1477. end)
  1478. end
  1479. end
  1480. end)
  1481. end)
  1482. Instance_CMD('FF',1,function(Plr,Msg)
  1483. pcall(function()
  1484. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1485. if v then
  1486. pcall(function()
  1487. local ForceField=Instance.new('ForceField',v['Character'])
  1488. end)
  1489. end
  1490. end
  1491. end)
  1492. end)
  1493. Instance_CMD('Unff',1,function(Plr,Msg)
  1494. for _,v in pairs(FindReturnPlayer(Plr,Msg)) do
  1495. if v then
  1496. for _,p in pairs(v.Character:GetChildren()) do
  1497. if p.ClassName=='ForceField' then
  1498. p:remove()
  1499. end
  1500. end
  1501. end
  1502. end
  1503. end)
  1504. Instance_CMD('Place',2,function(Plr,Msg)
  1505. local sep = Msg:find(Back_Admin_Prefix)
  1506. local plr = Msg:sub(1,tonumber(sep)-1)
  1507. local msg = Msg:sub(tonumber(sep)+1)
  1508. for _,v in pairs(FindReturnPlayer(Plr,plr)) do
  1509. local a1,a2=ypcall(function()
  1510. STeleport:Teleport(tonumber(msg),v)
  1511. end)
  1512. if not a1 then Note(v,'[Miles Teleport Error] : '..a2) end
  1513. end
  1514. end)
  1515. local SERVER_LOCKED=false
  1516. Instance_CMD('Slock',2,function(Plr,Msg)
  1517. if not SERVER_LOCKED then
  1518. SERVER_LOCKED=true
  1519. Message('Server is now locked!')
  1520. else
  1521. SERVER_LOCKED=false
  1522. Message('Server is now unlocked!')
  1523. end
  1524. end)
  1525. ---
  1526. CmdBar=function(Plr)
  1527. local PGui=game.Players[Plr.Name]['PlayerGui']
  1528. local Gui=Instance.new('ScreenGui',PGui)
  1529. Gui.Name='Cmd_Bar'
  1530. local Frame=Instance.new('Frame',Gui)
  1531. Frame.Position=UDim2.new(0.6,0,0.9,0)
  1532. Frame.Size=UDim2.new(0.3,0,0.1,0)
  1533. Frame.Style='RobloxRound'
  1534. Frame.ClipsDescendants=true
  1535. Frame.Draggable=true
  1536. local Type=Instance.new('TextBox',Frame)
  1537. Type.BackgroundTransparency=1
  1538. Type.MultiLine=true
  1539. Type.Position=UDim2.new(0.3,0,0,0)
  1540. Type.Size=UDim2.new(0.7,0,1,0)
  1541. Type.Font='SourceSans'
  1542. Type.FontSize='Size18'
  1543. Type.Text='Type Here'
  1544. Type.TextColor3=Color3.new(0,0,255)
  1545. local Sub=Instance.new('TextButton',Frame)
  1546. Sub.Size=UDim2.new(0.25,0,1,0)
  1547. Sub.Style='RobloxButton'
  1548. Sub.Font='SourceSans'
  1549. Sub.FontSize='Size18'
  1550. Sub.Text='Submit'
  1551. Sub.TextColor3=Color3.new(85,255,0)
  1552. Sub.MouseButton1Down:connect(function()
  1553. if Type.Text=='Type Here' or Type.Text=='' then
  1554. Note(Plr,'Please Put A Valid Command!',(85/255/0))
  1555. else
  1556. GETCHATTED(Plr,Type.Text)
  1557. end
  1558. end)
  1559. Sub.TouchTap:connect(function()
  1560. if Type.Text=='Type Here' or Type.Text=='' then
  1561. Note(Plr,'Please Put A Valid Command!',(85/255/0))
  1562. else
  1563. GETCHATTED(Plr,Type.Text)
  1564. end
  1565. end)
  1566. end
  1567.  
  1568. Check_Gamepass=function(Plr)
  1569. if GPass:PlayerHasPass(Plr,GamePassID) then
  1570. table.insert(Admins,Plr.Name)
  1571. Note(Plr,'You Have Been Admined Due To Gamepass!',(255/85/7))
  1572. end
  1573. end
  1574.  
  1575. Check_Group=function(Plr)
  1576. if Plr:IsInGroup(GroupID) then
  1577. if Plr:GetRankInGroup(GroupID)>=GroupAdminsRank then
  1578. table.insert(Admins,Plr.Name)
  1579. Note(Plr,'You Have Been Admined Due To Group!',(255/85/7))
  1580. end
  1581. end
  1582. end
  1583.  
  1584. --------------------------------------------------
  1585. -----------------[ Chat Gui ]---------------------
  1586. --------------------------------------------------
  1587. GChat=function(Plr)
  1588. local GuiInstancing={}
  1589. local Gui=Instance.new('ScreenGui',game.Players[Plr.Name]['PlayerGui'])
  1590. local Frame=Instance.new('Frame',Gui)
  1591. Frame.Position=UDim2.new(0.7,0,0.7,0)
  1592. Frame.Size=UDim2.new(0.3,0,0.2,0)
  1593. Frame.Style='DropShadow'
  1594. local Text=Instance.new('TextLabel',Frame)
  1595. Text.BackgroundTransparency=1
  1596. Text.Size=UDim2.new(1,0,1,0)
  1597. Text.Font='Arial'
  1598. Text.FontSize='Size14'
  1599. if Text.Text=='Label' then Text.Text='[Content Deleted]' else Text.Text=(tostring(msg)) end
  1600. Text.TextColor3=Color3.new(0,0,255)
  1601. Text.TextScaled=true
  1602. Text.TextStrokeTransparency=0
  1603. game.Players.PlayerAdded:connect(function(I)
  1604. I.Chatted:connect(function(Msg)
  1605. if Msg=='Label' then Text.Text='[Content Deleted]' else Text.Text=(I.Name..' : '..tostring(Msg)) end
  1606. end)
  1607. end)
  1608. for _,I in pairs(game.Players:GetPlayers()) do
  1609. I.Chatted:connect(function(Msg)
  1610. if Msg=='Label' then Text.Text='[Content Deleted]' else Text.Text=(I.Name..' : '..tostring(Msg)) end
  1611. end)
  1612. end
  1613. end
  1614.  
  1615. script.Parent=(ScriptStorage)
  1616.  
  1617. GETCHATTED = function(PLR,Msg)
  1618. Check_Prefix()
  1619.  
  1620. if Msg and Msg:sub(1,1) == ":" and not KohlsSantex then
  1621. Note(PLR,'The command bet is '..Front_Admin_Prefix..'speed'..Mid_Admin_Prefix..PLR.Name..Back_Admin_Prefix..'50')
  1622. end
  1623.  
  1624. local crun,cerror = ypcall(function()
  1625. for _,DATA in pairs(Gui_Cmds) do
  1626. if Msg:sub(1,#(Front_Admin_Prefix..DATA['CMD']:lower()..Mid_Admin_Prefix))==(Front_Admin_Prefix..DATA['CMD']:lower()..Mid_Admin_Prefix) and Get_Return_Admin_Table(PLR)>=DATA['ALLOWED'] then
  1627. Msg = Msg:sub(#Front_Admin_Prefix+#DATA.CMD+#Back_Admin_Prefix+1)
  1628. DATA.FUNCTION(PLR,Msg)
  1629. end
  1630. end
  1631. end)
  1632. if not crun then Note(PLR,'ERROR : '..cerror) end
  1633. end
  1634.  
  1635. wait()
  1636. game.Players.PlayerAdded:connect(function(I_PLR)
  1637. wait(2.5)
  1638. Check_Group(I_PLR)
  1639. Check_Gamepass(I_PLR)
  1640. CheckBanlist(I_PLR)
  1641. Note(I_PLR,'This Server Is Using Miles_Admin_Command\'s!',(85/255/0))
  1642. if AutoAdmin==true then table.insert(Owners,I_PLR.Name) Note(I_PLR,'Your A Owner!',(255/0/0)) else end
  1643. if game.CreatorId==I_PLR.userId then
  1644. table.insert(Owners,I_PLR.Name)
  1645. Note(I_PLR,'Your the game owner so you are automaticly Owner!',(255/0/0))
  1646. end
  1647. end)
  1648.  
  1649. game.Players.PlayerAdded:connect(function(Plr)
  1650. if not SERVER_LOCKED then
  1651. local A = true
  1652. for _,v in pairs(Banned) do
  1653. if Plr.Name == v then
  1654. A=false
  1655. else
  1656. A=true
  1657. end
  1658. end
  1659. if A then
  1660. Hint(Plr.Name..' enter server,Age : '..Plr.AccountAge..' ,UserID : '..Plr.userId)
  1661. else
  1662. Hint(Plr.Name..' enter server, But got kicked for ban!')
  1663. pcall(function() Plr:Kick() end)
  1664. end
  1665. else
  1666. pcall(function() Plr:Kick() end)
  1667. Hint(Plr.Name..' enter server, But got kicked for private server!')
  1668. end
  1669. Plr.Chatted:connect(function(Msg)
  1670. GETCHATTED(Plr,Msg)
  1671. end)
  1672. end)
  1673.  
  1674. for _,I_PLR in pairs(game.Players:GetPlayers()) do
  1675. wait(2.5)
  1676. Check_Group(I_PLR)
  1677. Check_Gamepass(I_PLR)
  1678. CheckBanlist(I_PLR)
  1679. if game.CreatorId==I_PLR.userId then
  1680. table.insert(Owners,I_PLR.Name)
  1681. Note(I_PLR,'You are automaticly Owner due to being game\'s owner!',(255/0/0))
  1682. end
  1683. I_PLR.Chatted:connect(function(Msg)
  1684. GETCHATTED(I_PLR,Msg)
  1685. end)
  1686. end
  1687. game.Close:connect(function() script.Parent=(Work) end)
  1688. end)
  1689. if not MRun then print('[ MILES ADMIN COMMANDS ] : ERROR ' ..MError) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement