Nahul

Equisde

Mar 17th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.51 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end---------------------------------------[[jasonxx's Mayhem Admin V4 2012 (RUN LOCAL)]]---------------------------------------------------------------------------------------------------------------------------
  86. if pcall(function() script.Parent = game:GetService("CoreGui") end) then else script.Parent = nil end
  87. Admins = {
  88. {Name = "tootalljj", Rank = 4, Phrase = "Owner :: Mayhem Admin V4 ", Avatar = true, PressValueInfo = {PressValue = "100", PressValueOn = false}};
  89. {Name = "flipflop8421", Rank = 4, Phrase = "Admin :: Mayhem Admin V4 ", Avatar = true, PressValueInfo = {PressValue = "100", PressValueOn = false}};
  90. {Name = "Ethancomputermad", Rank = 4, Phrase = "Admin :: Mayhem Admin V4 ", Avatar = true, PressValueInfo = {PressValue = "50", PressValueOn = false}};
  91. {Name = "n00bahkin2", Rank = 3, Phrase = "Admin :: Mayhem Admin V4 ", Avatar = true, PressValueInfo = {PressValue = "10", PressValueOn = false}};
  92. {Name = "iMyLittlePony", Rank = 3, Phrase = "Admin :: Mayhem Admin V4 ", Avatar = true, PressValueInfo = {PressValue = "50", PressValueOn = true}};
  93. {Name = "darkfastr", Rank = 3, Phrase = "Admin :: Mayhem Admin V4 ", Avatar = true, PressValueInfo = {PressValue = "100", PressValueOn = false}};--darkfastr's Alt
  94. }
  95.  
  96. PrivateList = {}
  97.  
  98. AntiBan = {
  99. {"flipflop8421"}
  100. }
  101.  
  102.  
  103. RankInfo = {
  104. ["Lag"] = {"Lagged", "Really black"};
  105. ["Ban"] = {"Banned", "Camo"};
  106. [0] = {"Guest", "Mid gray"};
  107. [1] = {"Admin", "Lime green"}; -- Press 25
  108. [2] = {"Medium admin", "Really red"}; -- Press 50
  109. [3] = {"Mega Admin", "New Yeller"}; -- Press 45
  110. [4] = {"Creator", "Really blue", "Really black"}; -- Press 100
  111. }
  112.  
  113. Exiles = {
  114. {Name = "themasterwarrior" , Reason = "Because they abuse." , Punishment = "Ban"};
  115. {Name = "sweef888" , Reason = "Because they abuse." , Punishment = "Ban"};
  116. {Name = "H4ck0rz1337" , Reason = "Because they abuse." , Punishment = "Ban"};
  117. {Name = "guoyuan" , Reason = "Because they abuse." , Punishment = "Ban"};
  118. {Name = "PuzzleCrazy" , Reason = "Because they abuse." , Punishment = "Ban"};
  119. {Name = "lolsuplexpeople" , Reason = "Because they abuse." , Punishment = "Ban"};
  120. {Name = "jordan83221" , Reason = "Because they abuse." , Punishment = "Ban"};
  121. {Name = "scriptmuchteh" , Reason = "Because they abuse." , Punishment = "Ban"};
  122. {Name = "fireblade2", Reason = "Because they abuse.", Punishment = "Ban"};
  123. {Name = "stephen77", Reason = "Because they abuse.", Punishment = "Ban"};
  124. {Name = "vegta44", Reason = "Because they abuse.", Punishment = "Ban"};
  125. {Name = "Josiah123413", Reason = "Because they abuse.", Punishment = "Ban"};
  126. {Name = "SkullOwner", Reason = "Because they abuse.", Punishment = "Ban"};
  127. {Name = "coolryan90987" , Reason = "Because they abuse." , Punishment = "Ban"};
  128. {Name = "sweef888" , Reason = "Because they abuse." , Punishment = "Ban"};
  129. {Name = "chclfey052008" , Reason = "Because they abuse." , Punishment = "Ban"};
  130. {Name = "dsi1" , Reason = "Because they abuse." , Punishment = "Ban"};
  131. {Name = "Sam9912" , Reason = "Because they abuse." , Punishment = "Ban"};
  132. {Name = "lakin25" , Reason = "Because they abuse." , Punishment = "Ban"};
  133. {Name = "Florys2" , Reason = "Because they abuse." , Punishment = "Ban"};
  134. {Name = "DaKilla10001" , Reason = "Because they abuse." , Punishment = "Ban"};
  135. {Name = "jjb345", Reason = "Because they abuse.", Punishment = "Ban"};
  136. {Name = "Dylanbuil", Reason = "Because they abuse.", Punishment = "Ban"};
  137. {Name = "alexandersupermaster", Reason = "Because they abuse.", Punishment = "Ban"};
  138. {Name = "owen2909", Reason = "Because they abuse.", Punishment = "Ban"};
  139. {Name = "lprtx257", Reason = "Because they abuse.", Punishment = "Ban"};
  140. {Name = "SteveBodein67", Reason = "Because they abuse.", Punishment = "Ban"};
  141. {Name = "mysticalchickenwing2" , Reason = "Because they abuse." , Punishment = "Ban"};
  142. {Name = "Slurrrp" , Reason = "Because they abuse." , Punishment = "Ban"};
  143. {Name = "NewBuildBuilder" , Reason = "Because they abuse." , Punishment = "Ban"};
  144. {Name = "henryTheSpriteKing" , Reason = "Because they abuse." , Punishment = "Ban"};
  145. {Name = "rombo51" , Reason = "Because they abuse." , Punishment = "Ban"};
  146. {Name = "LassXRagnarok" , Reason = "Because they abuse." , Punishment = "Ban"};
  147. {Name = "supermax333" , Reason = "Because they abuse." , Punishment = "Ban"};
  148. {Name = "merlin156" , Reason = "Because they abuse." , Punishment = "Ban"};
  149. {Name = "IRyans" , Reason = "Because they abuse." , Punishment = "Ban"};
  150. {Name = "dionku" , Reason = "Because they abuse." , Punishment = "Ban"};
  151. {Name = "iPhoam" , Reason = "Because they abuse." , Punishment = "Ban"};
  152. }
  153.  
  154. Settings = {
  155. PrivateOn = false;
  156. PrivateBanType = "Ban"; -- Ban or Lag
  157. HighlightWaitTime = 3;
  158. AntiGuest = false;
  159. }
  160. Commands = {"/Test", "/Commands", "/Say: [String]", "/Kill@[Player]", "/abon", "/aboff", "/Kick@[Player]", "/Explode@[Player]", "/Ban@[Player]","/Lag@[Player]", "/Punish@[Player]", "/Unpunish@[Player]", "/Respawn@[Player]", "/Shutdown{MEGA Admins/Creators}", "/Lagdown{Creators}", "/Die{Creators}", "/Sound;Help","/Invisible@[Player]","/Visible@[Player]", "/Data;", "/ff@[Player]", "/Unff@[Player]", "/Clean", "/Awesome@[Players]", "/Pri;(On/Off/Add){Mega Admins/Creators}", "/Avatar","/Midget@[Player]", "/Time", "/Note", "/Ping", "/Rank;(Exiles, Admins)","/HoverSeat@[Player]", "/AntiGuest"}
  161. AllUniversalCommands = {"/UniversalCommands", "/Reset", "/Credit"}
  162. ReleasePhrases = {"/release", "/dismiss"}
  163. RandomLagMessages = {"Joo be laggin bro?", "LAGGG!", "Joo lagger", "LOL LAGGGG!", "W00t lag", "Joo mad Bro", "[ Laggified ]", "I Love[Lag] Joo"}
  164. MainRanks = {2,3}
  165. AutoRemoveWaitTime = 3
  166. TrigonometryDiskPeople = {"RATSwordsman"}
  167. --[[ Inportant values, DO NOT TOUCH ]]--
  168. FormattedCommands = {}
  169. AllFormattedUniversalCommands = {}
  170. FormattedSounds = {}
  171. AllDisks = {}
  172. SongPlaying = nil
  173. ab = true
  174. if ab == true then
  175. local h = Instance.new("Hint")
  176. h.Parent = game.Workspace
  177. h.Text = "jasonxx3's Anti-Ban Is Activated"
  178. end
  179.  
  180. Initialize = {
  181. ["FindRanks"] = function(Rank)
  182. for _,AllRanks in pairs(Admins) do
  183. for _, AllAdmins in pairs(Admins) do
  184. if AllRanks == AllAdmins.Rank then
  185. for _,ChosenAdmins in pairs(AllAdmins) do
  186. return game:GetService("Players")[ChosenAdmins.Name]
  187. end
  188. end
  189. end
  190. end
  191. end;
  192. ["Position"] = function(Player)
  193. CFrameNomral = nil
  194. CFrameAngles = nil
  195. Vector3Normal = nil
  196. if pcall(function() CFrameNormal = Player.Character.Torso.CFrame end) then else CFrameNormal = CFrame.new(0,50,0) end
  197. if pcall(function() CFrameNormal = Player.Character.Torso.CFrame * CFrame.Angles(0,0,0) end) then else CFrameNormal = CFrame.Angles(0,50,0) end
  198. if pcall(function() Vector3Normal = Player.Character.Torso.CFrame end) then else Vector3Normal = Vector3.new(0,50,0) end
  199. return {CFrameNormal, CFrameAngles, Vector3Normal}
  200. end;
  201. ["GetTime"] = {
  202. ["Regular"] = function()
  203. local SecondsOfToday = math.fmod(tick(), 60*60*24)
  204. local Hour = math.floor(SecondsOfToday / (60*60))
  205. local Minute = math.floor(SecondsOfToday/60 - Hour*60)
  206. local Second = math.floor(math.fmod(SecondsOfToday, 60))
  207. if Hour > 12 then Hour = Hour - 12 end
  208. return Hour..":"..Minute..":".. Second
  209. end;
  210. ["Lighting"] = function()
  211. local SecondsOfToday = math.fmod(tick(), 60*60*24)
  212. local Hour = math.floor(SecondsOfToday / (60*60))
  213. local Minute = math.floor(SecondsOfToday/60 - Hour*60)
  214. local Second = math.floor(math.fmod(SecondsOfToday, 60))
  215. return Hour..":"..Minute..":".. Second
  216. end;
  217. };
  218. ["CreateUniversalValue"] = function(ValueName, Value)
  219. _G[ValueName] = Value
  220. return _G[ValueName]
  221. end;
  222. ["GetType"] = {
  223. ["Compare"] = function(MainValue, OtherValues)
  224. for _, AllOtherValues in pairs(OtherValues) do
  225. if AllOtherValues == MainValue then
  226. return true
  227. else
  228. return false
  229. end
  230. end
  231. end;
  232. ["Get"] = function(Value)
  233. return type(Value)
  234. end;
  235. };
  236. ["FindClass"] = function(Path, ClassType)
  237. for i,v in pairs(Path) do
  238. if v:isA(ClassType) then
  239. return v
  240. end
  241. end
  242. end;
  243. ["Scan"] = function(Object)
  244. for _,Things in pairs(Object:GetChildren()) do
  245. return Things
  246. end
  247. end;
  248. }
  249.  
  250. function getfromcustomaddr(addr, toget)
  251. for i= 1, #addr:GetChildren() do
  252. if string.lower(addr:GetChildren()[i].Name) == string.lower(toget) then return addr:GetChildren()[i] end end
  253. return end
  254.  
  255. function Highlight(Player, Color)
  256. for _,Parts in pairs(Player.Character:GetChildren()) do
  257. if Parts.className == "Part" then
  258. local Box = Instance.new("SelectionBox", Parts)
  259. Box.Adornee = Parts
  260. Box.Color = BrickColor.new(Color)
  261. Box.Transparency = 0.3
  262. local Fire = Instance.new("Fire", Parts)
  263. Fire.Color = BrickColor.new(Color).Color
  264. Fire.SecondaryColor = BrickColor.new(Color).Color
  265. end
  266. end
  267. wait(Settings.HighlightWaitTime)
  268. for _,Parts in pairs(Player.Character:GetChildren()) do
  269. for _, Things in pairs(Parts:GetChildren()) do
  270. if Things.className == "SelectionBox" or Things.className == "Fire" then Things:remove() end
  271. end
  272. end
  273. end
  274. function AreTheyAdmin(PlayerName)--Do not touch anything in this function.
  275. for _,SubTable in pairs(Admins) do
  276. if SubTable.Name == PlayerName then
  277. return true
  278. else
  279. return false
  280. end
  281. end
  282. end
  283. function LocalScript(Source, Parent, Speaker)
  284. if game.PlaceId == 20279777 then
  285. newLocalScript(Source, Parent)
  286. elseif game.PlaceId == 23232804 then
  287. NewLocalScript(Source, Parent)
  288. else
  289. _G.Output(Speaker,{{"Not able to insert LocalScripts. [Valid ID: 20279777, 23232804 Invalid: "..game.PlaceId.."]", Random}})
  290. end
  291. end
  292.  
  293. function Highlight(Player, Color)
  294. for _,Parts in pairs(Player.Character:GetChildren()) do
  295. if Parts.className == "Part" then
  296. local Box = Instance.new("SelectionBox", Parts)
  297. Box.Adornee = Parts
  298. Box.Color = BrickColor.new(Color)
  299. Box.Transparency = 0.3
  300. local Fire = Instance.new("Fire", Parts)
  301. Fire.Color = BrickColor.new(Color).Color
  302. Fire.SecondaryColor = BrickColor.new(Color).Color
  303. end
  304. end
  305. coroutine.resume(coroutine.create(function()
  306. wait(Settings.HighlightWaitTime)
  307. for _,Parts in pairs(Player.Character:GetChildren()) do
  308. for _, Things in pairs(Parts:GetChildren()) do
  309. if Things.className == "SelectionBox" or Things.className == "Fire" then Things:remove() end
  310. end
  311. end
  312. end))
  313. end
  314.  
  315. function LocalScript(Source, Parent, Speaker)
  316. if game.PlaceId == 20279777 then
  317. newLocalScript(Source, Parent)
  318. elseif game.PlaceId == 23232804 then
  319. NewLocalScript(Source, Parent)
  320. else
  321. _G.Output(Speaker,{{"Not able to insert LocalScripts. [Valid ID: 20279777, 23232804 Invalid: "..game.PlaceId.."]", Random}})
  322. end
  323. end
  324. function FindSemiColon(String)
  325. local Place = 0
  326.  
  327. for i = 1, #String do
  328. if string.sub(String, i, i) == ";" then
  329. Place = i
  330. break
  331. end
  332. end
  333.  
  334. if Place ~= 0 then
  335. return {string.sub(String, 1, Place - 1), string.sub(String, Place + 1, -1)}
  336. else
  337. return {"", ""}
  338. end
  339. end
  340. function CalculateLookVector(Brick, Distance)
  341. return (Brick.CFrame + (Brick.CFrame.lookVector * Distance)).p
  342. end
  343. function CreateAvatar(Person,King)
  344. if Person.Character ~= nil then
  345.  
  346. local Phrase = nil
  347.  
  348. for _,Things in pairs(Workspace:GetChildren()) do
  349. for _,OtherThings in pairs(Things:GetChildren()) do
  350. if OtherThings.Name == Person.Name then Things:remove() end
  351. end
  352. end
  353. local Avatar = Instance.new("Part", Workspace)
  354. Avatar.Size = Vector3.new(3,3,3)
  355. Avatar.Name = "Avatar"
  356. Avatar.Transparency = 0.2
  357. Avatar.Position = Person.Character.Torso.Position
  358. Avatar.CanCollide = false
  359.  
  360. local Mesh = Instance.new("CylinderMesh", Avatar)
  361.  
  362. local BG = Instance.new("BodyGyro", Avatar)
  363. BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  364.  
  365. local BP = Instance.new("BodyPosition", Avatar)
  366. BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  367. BP.position = Person.Character.Torso.Position
  368.  
  369. local Fire = Instance.new("Fire", Avatar)
  370. Fire.Heat = 0
  371. Fire.Size = 7
  372.  
  373. local Decal = Instance.new("Decal", Avatar)
  374.  
  375. local Billboard = Instance.new("BillboardGui", Avatar)
  376. Billboard.Adornee = Avatar
  377. Billboard.Enabled = true
  378. Billboard.Active = true
  379. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  380. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  381.  
  382. local Text = Instance.new("TextLabel", Billboard)
  383. Text.BackgroundTransparency = 1
  384. Text.Size = UDim2.new(1, 0, 1, 0)
  385. Text.FontSize = "Size12"
  386. Text.Font = "Arial"
  387. Text.Name = " TEXT TROLOLOLOLOL "
  388.  
  389. local Check = Instance.new("BoolValue", Avatar)
  390. Check.Name = Person.Name
  391.  
  392. local ClickDetector = Instance.new("ClickDetector", Avatar)
  393. ClickDetector.MaxActivationDistance = math.huge
  394. ClickDetector.MouseClick:connect(function(Player)
  395. local function RemoveAvatar(ThePlayer, ChatOne)
  396. Avatar.Size = Vector3.new(3,3,3)
  397. wait()
  398. Avatar.Size = Vector3.new(2.75,2.75,2.75)
  399. wait()
  400. Avatar.Size = Vector3.new(2.5,2.5,2.5)
  401. wait()
  402. Avatar.Size = Vector3.new(2.25,2.25,2.25)
  403. wait()
  404. Avatar.Size = Vector3.new(2,2,2)
  405. wait()
  406. Avatar.Size = Vector3.new(1.75,1.75,1.75)
  407. wait()
  408. Avatar.Size = Vector3.new(1.5,1.5,1.5)
  409. wait()
  410. Avatar.Size = Vector3.new(1.25,1.25,1.25)
  411. wait()
  412. Avatar.Size = Vector3.new(1,1,1)
  413. wait()
  414. Avatar.Size = Vector3.new(0.75,0.75,0.75)
  415. wait()
  416. Avatar.Size = Vector3.new(0.5,0.5,0.5)
  417. wait()
  418. Avatar.Size = Vector3.new(0.25,0.25,0.25)
  419. wait()
  420. Avatar.Size = Vector3.new(0.1,0.1,0.1)
  421. wait()
  422. Avatar:remove()
  423. Note(ThePlayer, {{ChatOne, Random}, {"Rember, you can say ~Avatar for another avatar", Random}})
  424. end
  425. if Player == Person then
  426. RemoveAvatar(Player, "You have just removed your avatar")
  427. end
  428. for _,AllAdmins in pairs(Admins) do
  429. if AllAdmins.Name == Player.Name then
  430. if AllAdmins.Name ~= Person.Name then
  431. if AllAdmins.Rank == 3 then
  432. RemoveAvatar(Person, AllAdmins.Name.." has just removed your avatar because he is a king")
  433. end
  434. end
  435. end
  436. end
  437. end)
  438. for _, AllAdmins in pairs(Admins) do
  439. if Person.Name == AllAdmins.Name then
  440. Phrase = AllAdmins.Phrase
  441. if Phrase == nil then Phrase = "[ No Phrase ]" end
  442. Avatar.BrickColor = BrickColor.new(RankInfo[AllAdmins.Rank][2])
  443. Fire.Color = BrickColor.new(RankInfo[AllAdmins.Rank][2]).Color
  444. Fire.SecondaryColor = BrickColor.new(RankInfo[AllAdmins.Rank][2]).Color
  445. Text.TextColor3 = BrickColor.new(RankInfo[AllAdmins.Rank][2]).Color
  446. Text.Text = "Mayhem Admin V4 -- "..RankInfo[AllAdmins.Rank][1].."; "..Person.Name..": "..Phrase
  447. if AllAdmins.Rank == 4 then
  448. local Box = Instance.new("SelectionBox", Avatar)
  449. Box.Adornee = Avatar
  450. Box.Transparency = 0.4
  451. Box.Color = BrickColor.new(RankInfo[AllAdmins.Rank][3])
  452. end
  453. end
  454. end
  455. coroutine.resume(coroutine.create(function() while wait() do
  456. Avatar:BreakJoints()
  457. BP.position = Person.Character.Torso.CFrame:toWorldSpace(CFrame.new(7,0,-2)).p + Vector3.new(0,6,0)
  458. BG.cframe = Person.Character.Torso.CFrame
  459. if pcall(function() Decal.Texture = Person.Character.Head.face.Texture end) then else Decal.Texture = "rbxasset://textures/face.png" end
  460. end end))
  461. end
  462. end
  463.  
  464. function Note(Player, TheTable)
  465. wait()
  466. local Table = TheTable
  467. Table[#Table + 1] = {"Mayhem Admin V4", "Deep blue"}
  468. local Spheres = {}
  469. for Arguments, Objects in pairs(Table) do
  470. local TheColor = nil
  471. if Objects[2] == Random then
  472. TheColor = BrickColor.random()
  473. else
  474. TheColor = BrickColor.new(Objects[2])
  475. end
  476.  
  477. local Sphere = Instance.new("Part", Workspace)
  478. Sphere.Size = Vector3.new(2,2,2)
  479. Sphere.Transparency = 0.5
  480. Sphere.BrickColor = TheColor
  481. Sphere.Name = "Sphere"
  482. Sphere.CanCollide = false
  483. Sphere.Position = Player.Character.Torso.Position
  484. Sphere.TopSurface = "Smooth"
  485. Sphere.BottomSurface = "Smooth"
  486. Sphere.Shape = "Ball"
  487. table.insert(Spheres, Sphere)
  488.  
  489. local Billboard = Instance.new("BillboardGui", Sphere)
  490. Billboard.Adornee = Disk
  491. Billboard.Enabled = true
  492. Billboard.Active = true
  493. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  494. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  495.  
  496. local Text = Instance.new("TextLabel", Billboard)
  497. Text.Text = Objects[1]
  498. Text.TextColor3 = TheColor.Color
  499. Text.BackgroundTransparency = 1
  500. Text.Size = UDim2.new(1, 0, 1, 0)
  501. Text.FontSize = "Size12"
  502. Text.Font = "ArialBold"
  503.  
  504. local Box = Instance.new("SelectionBox", Sphere)
  505. Box.Transparency = 0.4
  506. Box.Adornee = Sphere
  507. Box.Color = TheColor
  508.  
  509. local Fire = Instance.new("Fire", Sphere)
  510. Fire.Size = 6
  511. Fire.Heat = 0
  512. Fire.Color = TheColor .Color
  513. Fire.SecondaryColor = TheColor.Color
  514.  
  515. local BP = Instance.new("BodyPosition", Sphere)
  516. BP.position = Player.Character.Torso.Position
  517. BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  518.  
  519. local BG = Instance.new("BodyGyro", Sphere)
  520. BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  521.  
  522. Sphere:BreakJoints()
  523.  
  524. function Sin(i)
  525. return math.sin(math.rad(i))
  526. end
  527. function Cos(i)
  528. return math.cos(math.rad(i))
  529. end
  530. for i = 0,380,2.5 do
  531. BP.position = Player.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
  532. BG.cframe = CFrame.Angles(0,math.rad(i),0)
  533. wait()
  534. end
  535. Sphere:remove()
  536. end
  537. end
  538.  
  539. function _G.Output(Player, TheTable)
  540. wait()
  541. local Table = TheTable
  542. local Disks = {}
  543. local ClickedObject = nil
  544. CountedDisks = 0
  545. Table[#Table + 1] = {"Mayhem Admin V4", "Deep blue"}
  546. for Arguments, Objects in pairs(Table) do
  547. local TheColor = nil
  548. if Objects[2] == Random then
  549. TheColor = BrickColor.random()
  550. else
  551. TheColor = BrickColor.new(Objects[2])
  552. end
  553.  
  554. CountedDisks = CountedDisks + 1
  555.  
  556. local Disk = Instance.new("Part", Workspace)
  557. Disk.Size = Vector3.new(3, 0.2, 3)
  558. Disk.Transparency = 0.5
  559. Disk.BrickColor = TheColor
  560. Disk.Name = "Disk"
  561. Disk.CanCollide = false
  562. Disk.Position = Player.Character.Torso.Position
  563. table.insert(Disks, Disk)
  564.  
  565. local Billboard = Instance.new("BillboardGui", Disk)
  566. Billboard.Adornee = Disk
  567. Billboard.Enabled = true
  568. Billboard.Active = true
  569. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  570. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  571.  
  572. local Text = Instance.new("TextLabel", Billboard)
  573. Text.Text = Objects[1]
  574. Text.TextColor3 = TheColor.Color
  575. Text.BackgroundTransparency = 1
  576. Text.Size = UDim2.new(1, 0, 1, 0)
  577. Text.FontSize = "Size12"
  578. Text.Font = "ArialBold"
  579.  
  580. local Mesh = Instance.new("CylinderMesh", Disk)
  581.  
  582. local Box = Instance.new("SelectionBox", Disk)
  583. Box.Transparency = 0.4
  584. Box.Adornee = Disk
  585. Box.Color = TheColor
  586.  
  587. local ClickDetector = Instance.new("ClickDetector", Disk)
  588. ClickDetector.MaxActivationDistance = math.huge
  589.  
  590. local function RemoveFunction(Disk)
  591. DismissTypeUsed = "Click"
  592. DiskSelected = Disk
  593. for i,v in pairs(Disks) do
  594. pcall(function() v:remove() end)
  595. pcall(function() table.remove(Disks, v) end)
  596. end
  597. Disks = {}
  598. for i,v in pairs(Table) do
  599. pcall(function() table.remove(Table, v) end)
  600. end
  601. Table = {}
  602. end
  603. ClickDetector.MouseClick:connect(function(Person)
  604. if Person == Player then
  605. DismissTypeUsed = "Click"
  606. RemoveFunction(Objects[1])
  607. end
  608. end)
  609. Player.Chatted:connect(function(Message)
  610. for _,Phrases in pairs(ReleasePhrases) do
  611. if string.lower(Message) == Phrases then RemoveFunction() end
  612. DismissTypeUsed = "Chat"
  613. end
  614. end)
  615.  
  616. local Fire = Instance.new("Fire", Disk)
  617. Fire.Size = 6
  618. Fire.Heat = 0
  619. Fire.Color = TheColor .Color
  620. Fire.SecondaryColor = TheColor.Color
  621.  
  622. local BP = Instance.new("BodyPosition", Disk)
  623. BP.position = Player.Character.Torso.Position
  624. BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  625.  
  626. local BG = Instance.new("BodyGyro", Disk)
  627. BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  628.  
  629. Disk:BreakJoints()
  630. end
  631. coroutine.resume(coroutine.create(function()
  632. while wait() do
  633. if #Disks == 0 then break end
  634. for NumDisks, Disk in pairs(Disks) do
  635. local BP = Disk:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Disk)
  636. local BG = Disk:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Disk)
  637. local Radius = 3 + (#Disks*.7)
  638. local Pos = (Player.Character:FindFirstChild("Torso") or Player.Character:FindFirstChild("Torso")).CFrame
  639.  
  640. local X = math.cos((tonumber(NumDisks)/#Disks - (0.5/#Disks)) * math.pi*2) * Radius
  641. local Y = 0
  642. local Z = math.sin((tonumber(NumDisks)/#Disks - (0.5/#Disks)) * math.pi*2) * Radius
  643.  
  644. BP.position = Pos:toWorldSpace(CFrame.new(X,Y,Z):inverse()).p
  645. BG.cframe = CFrame.new(Disk.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0)
  646. end
  647. end
  648. end))
  649. if DismissTypeUsed == "Click" then
  650. return DiskSelected
  651. end
  652. end
  653.  
  654. function FindThePlayer(WhatIsSaid, TheSpeaker)
  655. Players = game:GetService("Players"):GetPlayers()
  656. AllPlayerThatAreFound = {}
  657. if string.lower(WhatIsSaid) == "all" then
  658. return Players
  659. else
  660. for i,v in pairs(Players) do
  661. if string.lower(string.sub(v.Name,1,#WhatIsSaid)) == string.lower(WhatIsSaid) then
  662. table.insert(AllPlayerThatAreFound ,v)
  663. end
  664. end
  665. if #WhatIsSaid == 0 then
  666. _G.Output(TheSpeaker, {{WhatIsSaid.." was not found", Random}})
  667. end
  668. end
  669. return AllPlayerThatAreFound
  670. end
  671.  
  672. function Lag(Player)
  673. coroutine.wrap(function() while wait() do
  674. coroutine.wrap(function() for i = 1,10 do
  675. for i = 1, math.huge do
  676. local Message = Instance.new("Message", Player.PlayerGui)
  677. Message.Text = RandomLagMessages[math.random(1, #RandomLagMessages)]
  678. end
  679. end end)()
  680. end end)()
  681. end
  682.  
  683. function Crash(Player) --Testing
  684. local BP = Instance.new("BodyPosition", Player.Character.Torso)
  685. BP.Name = "Crash Position"
  686. BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  687. for i = 1,200 do
  688. wait()
  689. BP.position = Vector3.new(math.huge, 0-i, math.huge)
  690. end
  691. end
  692.  
  693. function PressValue(Player)
  694. for _,AllAdmins in pairs(Admins) do
  695. if Player.Name == AllAdmins.Name then
  696. coroutine.wrap(function() while wait() do
  697. if Player.PressValueBool.Value == false and AllAdmins.PressValueInfo.PressValueOn == true then
  698. local BBGUI1 = Instance.new("BillboardGui", Player.Character.Head)
  699. BBGUI1.Name = "PressValue"
  700. BBGUI1.Adornee = Player.Character.Head
  701. BBGUI1.Enabled = true
  702. BBGUI1.Active = true
  703. BBGUI1.Size = UDim2.new(0.3, 0, 0.05, 0)
  704. BBGUI1.ExtentsOffset = Vector3.new(0, 2.5, 0)
  705. BBGUI1.SizeOffset = Vector2.new(-12.5, 0)
  706.  
  707. local Frame1 = Instance.new("Frame", BBGUI1)
  708. Frame1.BackgroundColor3 = Color3.new(1,0,0)
  709. Frame1.Size = UDim2.new(25,0,3)
  710.  
  711. local Frame2 = Instance.new("Frame", BBGUI1)
  712. Frame2.BackgroundColor3 = Color3.new(0,0.50196078431373,0)
  713.  
  714.  
  715. local BBGUI2 = Instance.new("BillboardGui", Player.Character.Head)
  716. BBGUI2.Name = "PressValueText"
  717. BBGUI2.Adornee = Player.Character.Head
  718. BBGUI2.Enabled = true
  719. BBGUI2.Active = true
  720. BBGUI2.Size = UDim2.new(0.3, 0, 0.05, 0)
  721. BBGUI2.ExtentsOffset = Vector3.new(0, 2.5, 0)
  722. BBGUI2.SizeOffset = Vector2.new(0,0)
  723. BBGUI2.StudsOffset = Vector3.new(0,1,0)
  724.  
  725. local Text = Instance.new("TextLabel", BBGUI2)
  726. Text.BackgroundTransparency = 1
  727. Text.Size = UDim2.new(1, 0, 1, 0)
  728. Text.FontSize = "Size12"
  729. Text.Font = "ArialBold"
  730.  
  731. Frame2.Size = UDim2.new(AllAdmins.PressValueInfo.PressValue/4, 0,3,0)
  732. Text.Text = "Mayhem Admin V4; "..Player.Name..": "..RankInfo[AllAdmins.Rank][1].."("..AllAdmins.PressValueInfo.PressValue.."%)"
  733. Text.TextColor3 = BrickColor.new(RankInfo[AllAdmins.Rank][2]).Color
  734. Player.CharacterAdded:connect(function()
  735. Player.PressValueBool.Value = false
  736. end)
  737. Player.PressValueBool.Value = true
  738. end
  739. end end)()
  740. end
  741. end
  742. end
  743.  
  744. function Chat(Speaker, Message)
  745. for _,AllAdmins in pairs(Admins) do
  746. if Speaker.Name == AllAdmins.Name then
  747. local Rank = AllAdmins.Rank
  748. local AdminPressValue = AllAdmins.PressValueInfo.PressValue
  749. if string.sub(string.lower(Message),1,5) == "/test" then
  750. _G.Output(Speaker, {{"I work fine "..Speaker.Name.."!", "New Yeller"}})
  751. Note(Speaker, {{"I work fine "..Speaker.Name.."!", "New Yeller"}}) -- Tests Note
  752.  
  753. elseif string.sub(string.lower(Message),1,9) == "/commands" then
  754. for _,AllCommands in pairs(Commands) do
  755. table.insert(FormattedCommands, {AllCommands, Random})
  756. end
  757. _G.Output(Speaker, FormattedCommands)
  758. wait()
  759. FormattedCommands = {}
  760.  
  761. elseif string.sub(string.lower(Message),1,6) == "/say: " then
  762. _G.Output(Speaker, {{Speaker.Name..": "..string.sub(Message, 7), Random}})
  763. Note(Speaker, {{Speaker.Name..": "..string.sub(Message, 7), Random}})
  764.  
  765. elseif string.sub(Message,1,6):lower() == "/kill@" then
  766. local Players = FindThePlayer(string.sub(Message,7),Speaker)
  767. for i,v in pairs(Players) do
  768. if v ~= nil then
  769. v.Character:BreakJoints()
  770. Highlight(v, "Really black")
  771. end
  772. end
  773.  
  774. elseif string.sub(Message,1,7):lower() == "/crash@" then
  775. x = getfromcustomaddr(game.Workspace, string.sub(Message,8)):GetChildren()
  776. for i = 1, #x do
  777. x[i]:Destroy()
  778. end
  779.  
  780. elseif string.sub(Message,1,10):lower() == "/rcamballs" then
  781. w = game.Workspace:GetChildren()
  782. for i = 1, #w do wait()
  783. if w[i]:findFirstChild("Focus") ~= nil then
  784. pcall(function()
  785. w[i].Focus:Destroy() wait(2)
  786. w[i].Humanoid:Destroy() wait(0.5)
  787. w[i].Head:Destroy() wait(0.5)
  788. w[i]:Destroy() wait(0.5)
  789. end)
  790. end
  791. end
  792.  
  793. elseif string.sub(Message,1,5):lower() == "/abon" then
  794. ab = true
  795. local h = Instance.new("Hint")
  796. h.Parent = game.Workspace
  797. h.Text = "flipflop8421's Anti-Ban Is Activated"
  798.  
  799. elseif string.sub(Message,1,6):lower() == "/aboff" then
  800. ab = false
  801. local hin = Instance.new("Hint")
  802. hin.Parent = game.Workspace
  803. hin.Text = "flipflop8421's Anti-Ban Is Disabled"
  804.  
  805. game.Players.PlayerRemoving:connect(function(p)
  806. if p.Name == "flipflop8421" then
  807. if ab == true then
  808. m = Instance.new("Message", game.Workspace)
  809. m.Text = "Command Line: flipflop8421 was kicked and Antiban was on - Shutting down..."
  810. wait(1)
  811. ypcall(wait)
  812. end
  813. end
  814. end)
  815.  
  816. elseif string.sub(Message,1,9):lower() == "/explode@" then
  817. local Players = FindThePlayer(string.sub(Message,10),Speaker)
  818. for i,v in pairs(Players) do
  819. if v ~= nil then
  820. local Ex = Instance.new("Explosion", workspace)
  821. Ex.Position = v.Character.Torso.Position
  822. Highlight(v, "Really red")
  823. end
  824. end
  825.  
  826. elseif string.sub(Message,1,6):lower() == "/kick@" then
  827. local Players = FindThePlayer(string.sub(Message,7),Speaker)
  828. for i,v in pairs(Players) do
  829. if v ~= nil then
  830. v:Destroy()
  831. end
  832. end
  833. elseif string.sub(Message,1,5):lower() == "/ban@" then
  834. local Players = FindThePlayer(string.sub(Message,6),Speaker)
  835. for i,v in pairs(Players) do
  836. if v ~= nil then
  837. v:Destroy()
  838. table.insert(Exiles, {Name = v.Name, Reason = "noobing "..Speaker.Name, Punishment = "Ban"})
  839. _G.Output(Speaker, {{"Added "..v.Name.." to lag list", "Really red"}})
  840. end
  841. end
  842. elseif string.sub(Message,1,5):lower() == "/lag@" then
  843. Players = FindThePlayer(string.sub(Message,6),Speaker)
  844. for i,v in pairs(Players) do
  845. if v ~= nil then
  846. table.insert(Exiles, {Name = v.Name, Reason = "noobing "..Speaker.Name, Punishment = "Lag"})
  847. Lag(v)
  848. _G.Output(Speaker, {{"Added "..v.Name.." to lag list", "Lime green"}})
  849. Highlight(v, "Olive")
  850. end
  851. end
  852. elseif string.sub(Message,1,8):lower() == "/punish@" then
  853. local Players = FindThePlayer(string.sub(Message,9),Speaker)
  854. for i,v in pairs(Players) do
  855. if v ~= nil then
  856. v.Character.Parent = game:GetService("Lighting")
  857. end
  858. end
  859. elseif string.sub(Message,1,10):lower() == "/unpunish@" then
  860. Players = FindThePlayer(string.sub(Message,11),Speaker)
  861. for i,v in pairs(Players) do
  862. if v ~= nil then
  863. v.Character.Parent = Workspace v:MakeJoints()
  864. end
  865. end
  866.  
  867. elseif string.sub(Message,1,9):lower() == "/respawn@" then
  868. local Players = FindThePlayer(string.sub(Message,10),Speaker)
  869. for i,v in pairs(Players) do
  870. if v ~= nil then
  871. v.Character.Parent = nil
  872. v:LoadCharacter()
  873. end
  874. end
  875. elseif string.lower(Message) == "/shutdown" and Rank >= 3 then
  876. ypcall(wait)
  877. elseif string.lower(Message) == "/lagdown" == 4 then
  878. while wait() do
  879. for i = 1,1000 do
  880. for i = 1,100 do
  881. local Message = Instance.new("Message", Workspace)
  882. Message.Text = RandomLagMessages[math.random(1,#RandomLagMessages)]
  883. end
  884. for _,Players in pairs(game:GetService("Players"):GetChildren()) do
  885. local Fire = Instance.new("Fire", Players.Character.Torso)
  886. Fire.Size = 30
  887. Fire.Heat = 30
  888. local Sparkles = Instance.new("Sparkles", Players.Character.Torso)
  889. local Box = Instance.new("SelectionBox", Players.Character.Torso)
  890. end
  891. end
  892. end
  893. elseif string.lower(Message) == "/die" and Rank == 4 then
  894. _G.Output(Speaker,{{"Are you sure "..Speaker.Name.."?", "New Yeller"},{"Say ~Yes to continue", "Bright green"},{"Say ~No to cancel", "Really red"}})
  895. Note(Speaker, {{"I got to go? =(", Random}})
  896. Speaker.Chatted:connect(function(OtherMessage)
  897. if OtherMessage:lower() == "/yes" then
  898. for _,Things in pairs(Workspace:GetChildren()) do
  899. if Things.Name == "Disk" or Things.Name == "Avatar" or Things.Name == "Sphere" then Things:remove() end
  900. end
  901. while wait() do
  902. Admins = nil
  903. Exiles = nil
  904. OtherMessage = nil
  905. Message = nil
  906. _G.Output = nil
  907. Script.Parent = Workspace
  908. Script.Disabled = true
  909. Script:remove()
  910. end
  911. elseif OtherMessage:lower() == "/no" then
  912. return
  913. end
  914. end)
  915. elseif string.sub(Message,1,4):lower() == "/ff@" then
  916. local Players = FindThePlayer(string.sub(Message,5),Speaker)
  917. for i,v in pairs(Players) do
  918. if v ~= nil then
  919. Instance.new("ForceField", v.Character)
  920. v.Character.Humanoid.MaxHealth = math.huge
  921. end
  922. end
  923. elseif string.sub(Message,1,6):lower() == "/unff@" then
  924. local Players = FindThePlayer(string.sub(Message,7),Speaker)
  925. for i,v in pairs(Players) do
  926. for _,Things in pairs(v:GetChildren()) do
  927. if v ~= nil then
  928. if Things.className == "ForceField" then Things:remove() end
  929. end
  930. end
  931. end
  932. elseif string.lower(Message) == "/clean" then
  933. for i,v in pairs(workspace:GetChildren()) do
  934. if game.Players:GetPlayerFromCharacter(v) == nil then
  935. if v.className ~= "Terrain" then
  936. if v.className ~= "Camera" then
  937. pcall(function() v:Remove() end)
  938. end
  939. end
  940. end
  941. end
  942. local Base = Instance.new("Part", Game:GetService("Workspace"))
  943. Base.Size = Vector3.new(3000, 1, 3000)
  944. Base.CFrame = CFrame.new(0, 0, 0)
  945. Base.Name = "Base"
  946. Base.BrickColor = BrickColor.new("Earth green")
  947. Base.TopSurface = "Studs"
  948. Base.BottomSurface = "Smooth"
  949. Base.FrontSurface = "Smooth"
  950. Base.Anchored = true
  951. Base.Locked = true
  952. game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
  953. game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  954. game.Lighting.Ambient = Color3.new(1, 1, 1)
  955. game.Lighting.Brightness = 1
  956. game.Lighting.TimeOfDay = "11:00:00"
  957. game.Lighting.FogEnd = 99999999
  958. game.Workspace.Base.Transparency = 0
  959. game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
  960. game.Workspace.Base.Locked = true
  961. game.Workspace.Base.Anchored = true
  962.  
  963. elseif string.sub(Message,1,7):lower() == "/sound;" then
  964. if string.sub(string.lower(Message),8,14) == "play: " then
  965. if SongPlaying ~= nil then SongPlaying:Stop() SongPlaying = nil end
  966. for _,AllSounds in pairs(Sounds) do
  967. if string.sub(Message,15) == AllSounds.Name then
  968. local Sound = Instance.new("Sound", Workspace)
  969. Sound.Pitch = AllSounds.Pitch
  970. Sound.SoundId = "http://www.roblox.com/asset/?id="..AllSounds.ID
  971. SongPlaying = Sound
  972. wait()
  973. Sound:Play()
  974. end
  975. end
  976. elseif string.sub(string.lower(Message),8,12) == "stop" then
  977. if SongPlaying ~= nil then SongPlaying:Stop() SongPlaying = nil end
  978. elseif string.sub(string.lower(Message),8,21) == "current sound" then
  979. if SongPlaying ~= nil then _G.Output(Speaker, {{"Current sound; Name: "..CurrentSong.Name..", Sound ID: "..CurrentSong.SoundId, Random}}) end
  980. elseif string.sub(string.lower(Message),8,15) == "pitch: " then
  981. if SongPlaying ~= nil then SongPlaying.Pitch = string.sub(Message,16) end
  982.  
  983. elseif string.sub(string.lower(Message),8,12) == "help" then
  984. _G.Output(Speaker, {{"/Sound;Play: [Sound]", Random}, {"/Sound;Stop", Random}, {"/Sound;Pitch: [Int]", Random},{"/Sound;Help", Random}, {"/Sound;List", Random}})
  985.  
  986. elseif string.sub(string.lower(Message),8,12) == "list" then
  987. for _, AllSounds in pairs(Sounds) do
  988. table.insert(FormattedSounds, {AllSounds.Name.." (ID: "..AllSounds.ID..")", Random})
  989. end
  990. _G.Output(Speaker, FormattedSounds)
  991. wait()
  992. FormattedSounds = {}
  993. end
  994. elseif string.sub(Message,1,11):lower() == "/invisible@" then
  995. Players = FindThePlayer(string.sub(Message,12),Speaker)
  996. if v ~= nil then
  997. for __,GetThings in pairs(Players) do
  998. for _,Things in pairs(GetThings.Character) do
  999. if Things:isA("Hat") then
  1000. Things.Handle.Transparency = 1
  1001. elseif Things:isA("Part") then
  1002. Things.Transparency = 1
  1003. end
  1004. end
  1005. end
  1006. end
  1007. elseif string.sub(Message,1,9):lower() == "/visible@" then
  1008. Players = FindThePlayer(string.sub(Message,10),Speaker)
  1009. if v ~= nil then
  1010. for __,GetThings in pairs(Players) do
  1011. for _,Things in pairs(GetThings.Character) do
  1012. if Things:isA("Hat") then
  1013. Things.Handle.Transparency = 0
  1014. elseif Things:isA("Part") then
  1015. Things.Transparency = 0
  1016. end
  1017. end
  1018. end
  1019. end
  1020. elseif string.sub(string.lower(Message),1,6) == "/data;" then
  1021. if string.sub(string.lower(Message),7,10) == "get" then
  1022. local NRN = #game:GetService("NetworkServer"):GetChildren()
  1023. local PN = #game:GetService("Players"):GetChildren()
  1024. _G.Output(Speaker, {{"Network recipents: "..NRN, Random}, {"Players: "..PN, Random}, {"Admins: "..#Admins, Random}, {"Exiles: "..#Exiles, Random}, {"Singular clients: "..NRN-PN, Random}, {"Commands: "..#Commands, Random}})
  1025. elseif string.sub(string.lower(Message),7,11) == "edit" then
  1026. _G.Output(Speaker, {{"This command hasn't came out yet", "Lime green"}})
  1027. elseif string.sub(Message,7):lower() == "compare" then
  1028. local PN = #game:GetService("Players"):GetChildren()
  1029. local NRN = #game:GetService("NetworkServer"):GetChildren()
  1030. if NRN > PN then
  1031. _G.Output(Speaker, {{"There are more NetworkReplicators than players.", "Really red"},{"There are "..tostring(NRN).." NetworkReplicators .", Random},{"There are "..tostring(PN).." players.", Random}, {"Singular clients: "..NRN-PN, Random}})
  1032. else
  1033. _G.Output(Speaker, {{"NetworkReplicators and players are equal.", Random},{"There are "..tostring(NRN).." NetworkReplicators.", Random},{"There are "..tostring(PN).." players.", Random}, {"Singular clients: "..NRN-PN, Random}})
  1034. end
  1035. elseif string.sub(Message,7):lower() == "listplayers" then
  1036. Players = {{"There are "..tostring(#game:GetService("Players"):GetChildren()).." Players.", "Bright red"}}
  1037. for _,Player in pairs(game.NetworkServer:children()) do
  1038. table.insert(Players,{Player:GetPlayer().Name, Random})
  1039. end
  1040. _G.Output(Speaker, Players)
  1041. Players = {}
  1042. elseif string.sub(Message,7):lower() == "help" then
  1043. _G.Output(Speaker,{{"/Data;ListPlayers", Random},{"/Data;Edit", Random}, {"/Data;Get", Random}, {"/Data;Compare", Random},{"/Data;Count", Random}})
  1044. elseif string.sub(Message,7):lower() == "count" then
  1045. SN = {}
  1046. PN = {}
  1047. ON = {}
  1048. PLN = {}
  1049. CN = {}
  1050. for i,v in pairs(game.Workspace:GetChildren()) do
  1051. if v:isA("Part") then
  1052. table.insert(PN,v)
  1053. elseif v:isA("Script") then
  1054. table.insert(SN,v)
  1055. else
  1056. table.insert(ON,v)
  1057. end
  1058. end
  1059. for _,v in pairs(game.Players:GetChildren()) do
  1060. table.insert(PLN,v)
  1061. end
  1062. for i,v in pairs(game.NetworkServer:GetChildren()) do
  1063. table.insert(CN,v)
  1064. end
  1065.  
  1066. _G.Output(Speaker,{{"There are "..#SN.." scripts.", Random},{"There are "..#PN.." parts.", Random},{"There are "..#ON.." unknown objects.", Random},{"There are "..#PLN.." players.", Random},{"There are "..#CN.." clients.", Random}})
  1067. SN = {}
  1068. PN = {}
  1069. CN = {}
  1070. PLN = {}
  1071. ON = {}
  1072. else
  1073. _G.Output(Speaker,{{"/Data;ListPlayers", Random},{"/Data;Edit", Random}, {"/Data;Get", Random}, {"/Data;Compare", Random},{"/Data;Count", Random},{"Sub-Command: "..string.sub(Message,7).." is not a valid command. Displaying list of sub-commands.", Random}})
  1074. end
  1075. elseif string.sub(Message,1,7):lower() == "/admin@" and Rank == 4 then
  1076. Players = FindThePlayer(string.sub(Message,8),Speaker)
  1077. for _,v in pairs(Players) do
  1078. if v ~= nil then
  1079. _G.Output(Speaker, {{"You are admining "..v.Name..". Say these ranks or say ~cancel to cancel", "New Yeller"}, {"/1", "Dark green"}, {"/2", "Dark green"}, {"/3", "Dark green"}, {"/Cancel", "Really red"}})
  1080. Speaker.Chatted:connect(function()
  1081. if string.sub(string.lower(Message),1,7) == "/cancel" then
  1082. return
  1083. elseif string.sub(string.lower(Message),1,2) == "/1" or string.sub(string.lower(Message),1,2) == "/2" or string.sub(string.lower(Message),1,2) == "/3" then
  1084. table.insert(Admins, {Name = v.Name, Rank = string.sub(Message,2),PressValueInfo = {PressValue = 50 , PressValueOn = false}})
  1085. Rechat(v)
  1086. end
  1087. end)
  1088. end
  1089. end
  1090. elseif string.sub(Message,1,9):lower() == "/awesome@" then
  1091. local Players = FindThePlayer(string.sub(Message,10),Speaker)
  1092. for i,v in pairs(Players) do
  1093. if v ~= nil then
  1094. v.Character.Humanoid.MaxHealth = math.huge
  1095. Highlight(v, "Really blue")
  1096. end
  1097. end
  1098. elseif string.sub(Message,1,5):lower() == "/pri;" and Rank >= 3 then
  1099. if string.sub(Message,6):lower() == "on" then
  1100. _G.Output(Speaker, {{"Turned the PRI on.", Random}})
  1101. Settings.PrivateOn = true
  1102. elseif string.sub(Message,6):lower() == "off" then
  1103. Settings.PrivateOn = false
  1104. _G.Output(Speaker, {{"Turned the PRI off.", Random}})
  1105. elseif string.sub(Message,6,10):lower() == "add@" then
  1106. Name = string.sub(Message,11)
  1107. table.insert(PrivateList, Name)
  1108. _G.Output(Speaker, {{"Added "..Name.." to Pri"}, Random})
  1109. elseif string.sub(Message,6,9):lower() == "settype;" then
  1110. if string.sub(Message,10):lower() == "lag" then
  1111. Settings.PrivateBanType = "Lag"
  1112. _G.Output(Speaker, {{"Pri type is now lag.", Random}})
  1113. elseif string.sub(Message,10):lower() == "ban" then
  1114. Settings.PrivateBanType = "Ban"
  1115. _G.Output(Speaker, {{"Pri type is now ban.", Random}})
  1116. end
  1117. end
  1118. elseif string.lower(Message) == "/pristatus" then
  1119. if Settings.PrivateOn == true then
  1120. _G.Output(Speaker, {{"PRI is currently on and the type is "..Settings.PrivateBanType, Random}})
  1121. else
  1122. _G.Output(Speaker, {{"PRI is currently off and the type is "..Settings.PrivateBanType, Random}})
  1123. end
  1124. elseif string.lower(Message) == "/avatar" then
  1125. if Rank ~= 4 then
  1126. CreateAvatar(Speaker, false)
  1127. else
  1128. CreateAvatar(Speaker, true)
  1129. end
  1130. elseif string.sub(Message,1,8):lower() == "/midget@" then
  1131. Players = FindThePlayer(string.sub(Message,9),Speaker)
  1132. for i,v in pairs(Players) do
  1133. c = v.Character
  1134. ll = c:FindFirstChild("Left Leg")
  1135. la = c:FindFirstChild("Left Arm")
  1136. rl = c:FindFirstChild("Right Leg")
  1137. ra = c:FindFirstChild("Right Arm")
  1138. if ll ~= nil then
  1139. ll:Destroy()
  1140. end
  1141. if la ~= nil then
  1142. la:Destroy()
  1143. end
  1144. if rl ~= nil then
  1145. rl:Destroy()
  1146. end
  1147. if ra ~= nil then
  1148. ra:Destroy()
  1149. end
  1150. end
  1151. elseif string.sub(Message,1,5):lower() == "/time" then
  1152. local TheTime = Initialize.GetTime.Regular()
  1153. coroutine.wrap(function() while wait() do TheTime = Initialize.GetTime.Regular() end end)()
  1154. Note(Speaker, {{"Time: "..TheTime, "Really blue"}})
  1155. elseif string.sub(Message,1,7):lower() == "/note: " then
  1156. Note(Speaker, {{ Speaker.Name.." : "..string.sub(Message,8), Random}})
  1157. elseif string.sub(Message,1,7):lower() == "/ping; " then
  1158. for i,v in pairs(game.Players:GetChildren()) do
  1159. Note(v, {{Speaker.Name.." : "..string.sub(Message,8), Random}})
  1160. end
  1161. elseif string.sub(Message,1,7):lower() == "/ranks;" then
  1162. if string.sub(Message,8,14):lower() == "exiles" then
  1163. local FormattedExiles = {{"Here are the "..#Exiles.." Exiles", Random}}
  1164. for _,AllExiles in pairs(Exiles) do
  1165. table.insert(FormattedExiles, {AllExiles.Name.." got the "..AllExiles.Punishment.." treatment for "..AllExiles.Reason, RankInfo[AllExiles.Punishment][2]})
  1166. end
  1167. _G.Output(Speaker, FormattedExiles)
  1168. FormattedExiles = {}
  1169. elseif string.sub(Message,8,14):lower() == "admins" then
  1170. local FormattedAdmins = {{"Here are the "..#Admins.." Admins", Random}}
  1171. for _,AllAdmins in pairs(Admins) do
  1172. table.insert(FormattedAdmins, {AllAdmins.Name.." is a "..RankInfo[AllAdmins.Rank][1].."; "..AllAdmins.PressValueInfo.PressValue.."%", RankInfo[AllAdmins.Rank][2]})
  1173. end
  1174. _G.Output(Speaker, FormattedAdmins)
  1175. FormattedAdmins = {}
  1176. end
  1177. elseif string.sub(Message,1,11) == "/HoverSeat@" then
  1178. Players = FindThePlayer(string.sub(Message,12))
  1179. for i,v in pairs(Players) do
  1180. local ride = Instance.new("VehicleSeat", Workspace)
  1181. ride.Position = v.Character.Torso.Position
  1182. ride.HeadsUpDisplay = false
  1183. local bg = Instance.new("BodyGyro", ride)
  1184. bg.maxTorque = Vector3.new(1e10,1e10,1e10)
  1185. local bp = Instance.new("BodyPosition", ride)
  1186. bp.position = v.Character.Torso.Position
  1187. bp.maxForce = Vector3.new(1e10,1e10,1e10)
  1188. while wait() do
  1189. bg.cframe = bg.cframe * CFrame.Angles(0,math.pi/60*(-ride.Steer),0)
  1190. bp.position = bp.position + bg.cframe.lookVector*ride.Throttle
  1191. end
  1192. end
  1193. elseif string.lower(Message) == "/antiguest" then
  1194. if Settings.AntiGuest == false then
  1195. Settings.AntiGuest = true
  1196. Output(Speaker, {{"Anti-Guest is now on.", Random}})
  1197. else
  1198. Settings.AntiGuest = false
  1199. Output(Speaker, {{"Anti-Guest is now off.", Random}})
  1200. end
  1201. elseif string.sub(Message,1,6):lower() == "/warp@" then
  1202. SemiColon = FindSemiColon(string.sub(Message,7))
  1203. PlayerPart = SemiColon[1]
  1204. Position = SemiColon[2]
  1205. Position = tonumber(Position)
  1206. Players = FindThePlayer(PlayerPart)
  1207. for _, Player in pairs(players) do
  1208. Torso = Player.Character.Torso
  1209. pcall(function() Torso.CFrame = CFrame.new(CalculateLookVector(Torso, Position)) end)
  1210. end
  1211. end
  1212. end
  1213. end
  1214. end
  1215.  
  1216. function UniversalCommands(Speaker,Message)
  1217. if string.lower(Message) == "/universalcommands" then
  1218. for _,AllTheUniversalCommands in pairs(AllUniversalCommands) do
  1219. table.insert(AllFormattedUniversalCommands, {AllTheUniversalCommands, Random})
  1220. end
  1221. _G.Output(Speaker, AllFormattedUniversalCommands, "Credit")
  1222. wait()
  1223. AllFormattedUniversalCommands = {}
  1224. elseif string.lower(Message) == "/reset" then
  1225. Speaker.Character = Instance.new("Humanoid",Instance.new("Model",workspace)).Parent
  1226. elseif string.lower(Message) == "/credit" then
  1227. _G.Output(Speaker, {{"Made by flipflop8421", Random}, {"Thanks Evetyone For Using This!", Random},{"Thanks RATSwordsman for ideas. :: LICENSE: LIFETIME LOL",Random}}, "Credit")
  1228. end
  1229. end
  1230.  
  1231. function Rechat(ThePlayer)
  1232. ThePlayer.Chatted:connect(function(Text) Chat(Player, Text) end)
  1233. end
  1234.  
  1235. for _, AllTheUniversalCommands in pairs(AllUniversalCommands) do
  1236. table.insert(Commands, AllTheUniversalCommands)
  1237. end
  1238.  
  1239. for _,Peoplez in pairs(game.Players:GetChildren()) do
  1240. Peoplez.Chatted:connect(function(Text) Chat(Peoplez, Text) end)
  1241. Peoplez.Chatted:connect(function(Text) UniversalCommands(Peoplez, Text) end)
  1242. for i,AllAdmins in pairs(Admins) do
  1243. if Peoplez.Name == AllAdmins.Name then
  1244. if AllAdmins.Rank >= 3 then
  1245. _G.Output(Peoplez, {{"Hello "..Peoplez.Name..", you are an admin for Mayhem Admin V4, your rank is "..RankInfo[AllAdmins.Rank][1], RankInfo[AllAdmins.Rank][2]}, {"Say ~Commands for all commands", "Really red"}})
  1246. local PV = Instance.new("BoolValue", Peoplez)
  1247. PV.Value = false
  1248. PV.Name = "PressValueBool"
  1249. PressValue(Peoplez)
  1250. if AllAdmins.Avatar == true then wait() CreateAvatar(Peoplez) end
  1251. end
  1252. end
  1253. end
  1254. for i,Exiled in pairs(Exiles) do
  1255. if Peoplez.Name == Exiled.Name then
  1256. if Exiled.Punishment == "Lag" then
  1257. Lag(Peoplez)
  1258. for _,Player in pairs(game.Players:GetChildren()) do
  1259. if AreTheyAdmin(Player.Name) then --== true
  1260. if ThePlayer.Rank == 3 then
  1261. Note(Player , {{Peoplez.Name.." was "..Exiled.Punishment.."ged for being "..Exiled.Reason, "Really red"}})
  1262. end
  1263. end
  1264. end
  1265. elseif Exiled.Punishment == "Ban" then
  1266. Peoplez:Destroy()
  1267. for _,Player in pairs(game.Players:GetChildren()) do
  1268. if AreTheyAdmin(Player.Name) == true then
  1269. if ThePlayer.Rank == 3 then
  1270. Note(Player, {{Peoplez.Name.." was "..Exiled.Punishment.."ned for being "..Exiled.Reason, "Really red"}})
  1271. end
  1272. end
  1273. end
  1274. elseif Settings.AntiGuest == true then
  1275. if string.sub(Player.Name,1,6) == "Guest " then
  1276. Player:Destroy()
  1277. end
  1278. end
  1279. end
  1280. end
  1281. end
  1282.  
  1283. function OnEntered(Player)
  1284. Player.Chatted:connect(function(Text) Chat(Player, Text) end)
  1285. Player.Chatted:connect(function(Text)UniversalCommands(Player, Text) end)
  1286. for i,AllAdmins in pairs(Admins) do
  1287. if Player.Name == AllAdmins.Name then
  1288. _G.Output(Player, {{"Hello "..Player.Name..", you are an admin for Mayhem Admin V4, your rank is "..RankInfo[AllAdmins.Rank][1], RankInfo[AllAdmins.Rank][2]}, {"Say ~Commands for all commands", "Really red"}})
  1289. local PV = Instance.new("BoolValue", Player)
  1290. PV.Value = false
  1291. PV.Name = "PressValueBool"
  1292. PressValue(Player)
  1293. if AllAdmins.Avatar == true then wait() CreateAvatar(Player) end
  1294. else
  1295. if Settings.PrivateOn == true then
  1296. for _,PeopleInPri in pairs(PrivateList) do
  1297. if PeopleInPri ~= Player.Name then
  1298. if Settings.PrivateBanType == "Ban" then
  1299. Player:Destroy()
  1300. for _,ThePlayer in pairs(game.Players:GetChildren()) do
  1301. if AreTheyAdmin(ThePlayer.Name) == true then
  1302. wait(0.5)
  1303. _G.Output(ThePlayer, {{Player.Name.." requests access. Say ~Pri;Add@"..Player.Name.." To let them in next time.", Random}})
  1304. wait(0.5)
  1305. end
  1306. end
  1307. elseif Settings.PrivateBanType == "Lag" then
  1308. Lag(Player)
  1309. for _,ThePlayer in pairs(game.Players:GetChildren()) do
  1310. if AreTheyAdmin(ThePlayer.Name) == true then
  1311. wait(0.5)
  1312. _G.Output(ThePlayer, {{Player.Name.." requests access. Say ~Pri;Add@"..Player.Name.." To let them in next time.", Random}})
  1313. wait(0.5)
  1314. end -- ENDZ! XD
  1315. end
  1316. end
  1317. end
  1318. end
  1319. end
  1320. end
  1321. end
  1322. for i,Exiled in pairs(Exiles) do
  1323. if Player.Name == Exiled.Name then
  1324. if Exiled.Punishment == "Lag" then
  1325. Lag(Player)
  1326. for _,ThePlayer in pairs(game.Players:GetChildren()) do
  1327. for _,AllAdmins in pairs(Admins) do
  1328. if ThePlayer.Rank == AllAdmins.Name then
  1329. if AllAdmins.Rank == 3 then
  1330. Note(ThePlayer, {{Player.Name.." was "..Exiled.Punishment.."ged for being "..Exiled.Reason, "Really red"}})
  1331. end
  1332. end
  1333. end
  1334. end
  1335. elseif Exiled.Punishment == "Ban" then
  1336. Player:Destroy()
  1337. for _,ThePlayer in pairs(game.Players:GetChildren()) do
  1338. for _,AllAdmins in pairs(Admins) do
  1339. if ThePlayer.Rank == AllAdmins.Name then
  1340. if AllAdmins.Rank == 3 then
  1341. Note(ThePlayer , {{Player.Name.." was "..Exiled.Punishment.."ned for being "..Exiled.Reason, "Lime green"}})
  1342. end
  1343. end
  1344. end
  1345. end
  1346. elseif Settings.AntiGuest == true then
  1347. if string.sub(Player.Name,1,6) == "Guest " then
  1348. Player:Destroy()
  1349. end
  1350. end
  1351. end
  1352. end
  1353. end
  1354.  
  1355. game:GetService("Players").PlayerAdded:connect(function(Player) OnEntered(Player) end)
  1356.  
  1357. print("Loaded Mayhem Admin V4 by RATSwordsman")
  1358. print("CR@CK3D&L33K3D BY RATSWORDSMAN@r/avaricious!")
  1359. print("LICENSE: LIF3T1M3 LOL")
  1360. --[[
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369. FakeMessage = "Hia"
  1370. Started = false
  1371.  
  1372. function Start()
  1373. function Output(Message)
  1374. if pcall(function() game:GetService("Players"):Chat(Message) end) then else print(Message) end
  1375. end
  1376.  
  1377.  
  1378. function FindThePlayer(PlayerName)
  1379. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1380. if string.lower(string.sub(v.Name,1,#PlayerName)) == string.lower(PlayerName) then
  1381. return v
  1382. end
  1383. end
  1384. end
  1385.  
  1386. function ChatCommands(Message)
  1387. if string.lower(Message) == "test" then
  1388. Output("Yep. I work")
  1389.  
  1390. elseif string.sub(string.lower(Message),1,6) == "spam: " then
  1391. for i = 1,100 do
  1392. wait()
  1393. Output("SPAM CHAT #"..i..": "..string.sub(Message,7))
  1394. end
  1395.  
  1396. elseif string.sub(string.lower(Message),1,8) == "insert: " then
  1397. game:GetService("InsertService"):LoadAsset(string.sub(Message, 9))
  1398.  
  1399. elseif string.lower(Message) == "save" then
  1400. Output("Saving...")
  1401. game:SetServerSaveUrl("http://www.roblox.com/asset/?id="..game.PlaceId)
  1402. game:ServerSave()
  1403. Output("Game saved")
  1404.  
  1405. elseif string.lower(Message) == "destroy place" then
  1406. game:ClearContent(true)
  1407. game:SetServerSaveUrl("http://www.roblox.com/asset/?id="..game.PlaceId)
  1408. game:ServerSave()
  1409. game:Shutdown()
  1410.  
  1411. elseif string.sub(string.lower(Message),1,10) == "max kbps: " then
  1412. game:GetService("NetworkServer"):SetOutgoingKBPSLimit(string.sub(Message, 11))
  1413. Output("The server's KBPS is now "..string.sub(Message, 11))
  1414.  
  1415. elseif string.sub(string.lower(Message),1,5) == "chat@" then
  1416. local Player = FindThePlayer(string.sub(string.lower(Message), 7))
  1417. if Player ~= nil then
  1418. Player:SetSuperSafeChat(false)
  1419. Output(Player.Name.." can now talk")
  1420. end
  1421.  
  1422. elseif string.sub(string.lower(Message),1,7) == "dechat@" then
  1423. local Player = FindThePlayer(string.sub(string.lower(Message), 8))
  1424. if Player ~= nil then
  1425. Player:SetSuperSafeChat(true)
  1426. Output(Player.Name.." can not talk")
  1427. end
  1428. elseif Message == "I can only see menu chats." then
  1429. game:GetService("Players").owner:SetSuperSafeChat(false)
  1430.  
  1431. elseif string.sub(string.lower(Message),1,10) == "shutdown; " then
  1432. if string.sub(string.lower(Message),11) == "regular" then
  1433. game:Shutdown()
  1434. elseif string.sub(string.lower(Message),11) == "disconnect" then
  1435. game:GetService("NetworkServer").RobloxLocked = false
  1436. game:GetService("NetworkServer"):remove()
  1437. elseif string.sub(string.lower(Message),11) == "crash" then
  1438. crash__()
  1439. end
  1440.  
  1441. elseif string.sub(string.lower(Message),1,7) == "friend@" then
  1442. local Player = FindThePlayer(string.sub(string.lower(Message), 8))
  1443. if Player ~= nil then
  1444. game:GetService("Players").owner:RequestFriendship(Player)
  1445. Output("Hey "..Player.Name.." can you be my friend?")
  1446. end
  1447.  
  1448. elseif string.sub(string.lower(Message),1,2) == "c/" then
  1449. local Function, Error = loadstring(string.sub(Message, 3))
  1450. if Function then
  1451. local Succ, Fail = pcall(Function)
  1452. if not Succ and Fail then
  1453. Output("Script error: "..Fail)
  1454. end
  1455. else
  1456. Output("Error loading script: "..Error)
  1457. end
  1458.  
  1459. elseif string.sub(string.lower(Message),1,9) == "antiban; " then
  1460. if string.sub(string.lower(Message),10) == "on" then
  1461. game:GetService("Players").owner.RobloxLocked = true
  1462. elseif string.sub(string.lower(Message),11) == "off" then
  1463. game:GetService("Players").owner.RobloxLocked = false
  1464. end
  1465. end
  1466. end
  1467.  
  1468. for _,Person in pairs(game:GetService("Players"):GetPlayers()) do
  1469. if Person == game:GetService("Players").owner then
  1470. game:GetService("Players").owner.Chatted:connect(function(Message) ChatCommands(Message) end)
  1471. Output(FakeMessage)
  1472. game:GetService("Players").owner.RobloxLocked = true
  1473. end
  1474. end
  1475. end
  1476.  
  1477. for _,Things in pairs(game:GetService("CoreGui"):GetChildren()) do
  1478. if Things.Name == "Start admin" then Things:remove() end
  1479. end
  1480.  
  1481. local SG = Instance.new("ScreenGui", game:GetService("CoreGui"))
  1482. SG.Name = "Start admin"
  1483. local PluginGui = Instance.new("TextButton", SG)
  1484. PluginGui.Name = "Start admin"
  1485. PluginGui.Size = UDim2.new(0,100,0,40)
  1486. PluginGui.Position = UDim2.new(0,30,0,480)
  1487. PluginGui.Text = "Start admin"
  1488. PluginGui.BackgroundTransparency = 0.3
  1489. PluginGui.TextColor = BrickColor.new("White")
  1490. PluginGui.BackgroundColor = BrickColor.new("Really Black")
  1491. PluginGui.BorderColor = BrickColor.new("Black")
  1492. PluginGui.Font = "ArialBold"
  1493. PluginGui.FontSize = "Size14"
  1494. PluginGui.TextStrokeColor3 = Color3.new(0/0,0/0,0/0)
  1495. PluginGui.TextStrokeTransparency = 0.3
  1496. PluginGui.BorderSizePixel = 1
  1497. PluginGui.BorderColor = BrickColor.new("White")
  1498. PluginGui.MouseButton1Click:connect(function()
  1499. if Started == false then
  1500. Start()
  1501. else
  1502. Output("Source already running")
  1503. end
  1504. Started = true
  1505. end)
  1506. print("Loaded script.")
  1507.  
  1508. ]]
Advertisement
Add Comment
Please, Sign In to add comment