Advertisement
Guest User

Untitled

a guest
Jul 9th, 2015
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 74.79 KB | None | 0 0
  1. -- lets go to my vip, hold on let me invite you.
  2. --I also have a vip its for friends i think o.O
  3.  
  4. -- GravityCubed made by GravityLegendary, Hyskyle, People of hyrule and SavageMunkey
  5.  
  6. local Savage
  7. MainPlayer = owner
  8. key = ';'
  9. CloneFolder = Instance.new('Folder',script)
  10. Pointlight = 1 ;-- 1 = on 0 or any other number = off
  11.  
  12. GravityCubed = [[
  13.  
  14. .d8888b. d8b 888 .d8888b. 888 888
  15. d88P Y88b Y8P 888 d88P Y88b 888 888
  16. 888 888 888 888 888 888 888
  17. 888 888d888 8888b. 888 888 888 888888 888 888 888 888 888 88888b. .d88b. .d88888
  18. 888 88888 888P" "88b 888 888 888 888 888 888 888 888 888 888 "88b d8P Y8b d88" 888
  19. 888 888 888 .d888888 Y88 88P 888 888 888 888 888 888 888 888 888 888 88888888 888 888
  20. Y88b d88P 888 888 888 Y8bd8P 888 Y88b. Y88b 888 Y88b d88P Y88b 888 888 d88P Y8b. Y88b 888
  21. "Y8888P88 888 "Y888888 Y88P 888 "Y888 "Y88888 "Y8888P" "Y88888 88888P" "Y8888 "Y88888
  22. 888
  23. Y8b d88P
  24. "Y88P"
  25. ]]
  26.  
  27.  
  28. Savage = {
  29. ['Ranked'] = {
  30. ['GravityPerfextion']={Rank=3,Description='Awesome Guy :D!',Color='Magenta'},
  31. [MainPlayer.Name]={Rank=1337,Description='Owner',Color='Cool yellow'},
  32. ['NoobMaster936']={Rank=1337,Description='Builders Best Friend :D!',Color='Cool yellow'},
  33. ['Poseidun']={Rank=4,Description='Rank = Fleek',Color='Deep orange'},
  34. ['TheOfficalNoob4788']={Rank=5,Description='Administator',Color='Deep orange'},
  35. ['austoo99'] = {Rank=3,Description='Friend',Color='Royal purple'};
  36. ['mamapeachprincess'] = {Rank=1,Description='Player',Color='Institutional white'};
  37. ['gavinsharp100'] = {Rank=4,Description='Friend',Color='Hot pink'};
  38. ['CHAOSxFIGHTER'] = {Rank=3,Description='Friend',Color='Teal'};
  39. ['Smiley43210'] = {Rank=4,Description='Friend',Color='Royal purple'};
  40. ['TheDeathOfGodsBane'] = {Rank=2,Description='Friend',Color='Royal purple'};
  41.  
  42. };
  43.  
  44. ['Id'] = 'http://www.roblox.com/asset/?id=0';--Optional, Only add if you want a Decal on all sides of the Cube
  45. ['TabletSize'] = 2,2,2;
  46. ['DecalTrans'] = .9;
  47. ['Tablets'] = {},
  48. ['Commands'] = {},
  49. ['Rotation'] = 0,
  50. ['RotationAddValue'] = 0.2,
  51. ['Bans'] = {
  52. {['Name'] = 'ItsAjm', ['Reason4Ban'] = "Fmer, Pri'er, Banned me, Abuser"};--Fmer
  53. {['Name'] = 'SASUKE94542', ['Reason4Ban'] = "Annoying, Kept shutting the server down with game.Players:ClearAllChildren()"};--Fmer
  54. {['Name'] = 'jonesj627', ['Reason4Ban'] = 'Abusing'};--Fmer
  55. {['Name'] = 'EinsteinK', ['Reason4Ban'] = 'Fmer'};--Fmer
  56. {['Name'] = 'FlamingIt', ['Reason4Ban'] = 'Fmer'};--Fmer
  57. {['Name'] = 'rllyuoknowus', ['Reason4Ban'] = 'Fmer'};--Fmer
  58. {['Name'] = 'robotmega', ['Reason4Ban'] = 'Fmer'};--Fmer
  59. {['Name'] = 'Yegisback', ['Reason4Ban'] = 'Fmer, Banned me, Skid'};--Fmer
  60. {['Name'] = 'tyridge77', ['Reason4Ban'] = 'Private server'};--Fmer
  61. {['Name'] = '12packkid', ['Reason4Ban'] = 'Attempting to ban me, Fming'};
  62. {['Name'] = '1xBytex1',['Reason4Ban'] = 'Fmer, skid'};
  63. {['Name'] = 'Nexure',['Reason4Ban'] = 'Fmer, skid, talked about my mom, kept killing me'};
  64. };
  65. ['Properties'] = {"AbsolutePosition","AbsoluteSize","AccountAge","AccountAgeReplicate",
  66. "Active","Adornee","AllowAmbientOcclusion","AllowTeamChangeOnTouch","AluminumQuality",
  67. "AlwaysOnTop","Ambient","AmbientReverb","Anchored","Angularvelocity","AnimationId",
  68. "Archivable","AreHingesDetected","AttachmentForward","AttachmentPoint","AttachmentPos",
  69. "AttachmentRight","AttachmentUp","AutoAssignable","AutoButtonColor","AutoColorCharacters",
  70. "AvailablePhysicalMemory","Axes","BackgroundColor","BackgroundColor3","BackgroundTransparency",
  71. "BackSurface","BaseTextureId","BaseUrl","Bevel","Roundness","BinType","BlastPressure","BlastRadius",
  72. "BodyColor","BodyPart","BorderColor","BorderColor3","BorderSizePixel","BottomSurface","BrickColor",
  73. "Brightness","Browsable","BubbleChat","BubbleChatLifetime","BubbleChatMaxBubbles",
  74. "Bulge","Button1DownConnectionCount","Button1UpConnectionCount","Button2DownConnectionCount",
  75. "Button2UpConnectionCount","C0","C1","CameraMode","CameraSubject","CameraType",
  76. "CanBeDropped","CanCollide","CartoonFactor","CastShadows","CelestialBodiesShown",
  77. "CFrame","Cframe","Character","CharacterAppearance","CharacterAutoLoads","ChatScrollLength",
  78. "ClassicChat","ClassName","ClearTextOnFocus","ClipsDescendants","CollisionSoundEnabled",
  79. "CollisionSoundVolume","Color","ColorShift_Top","ColorShift_Bottom","Bottom","Top","ConstrainedValue","Contro".."llingHumanoid",
  80. "ControlMode","ConversationDistance","CoordinateFrame","CorrodedMetalQuality","CPU",
  81. "CpuCount","CpuSpeed","CreatorId","CreatorType","CurrentAngle","CurrentCamera",
  82. "CycleOffset","D","DataCap","DataComplexity","DataComplexityLimit","DataCost",
  83. "DataReady","Deprecated","DeselectedConnectionCount","DesiredAngle","DiamondPlateQuality",
  84. "Disabled","DistanceFactor","DistributedGameTime","DopplerScale","Draggable","DraggingV1",
  85. "Duration","EditorFont","EditorFontSize","EditorTabWidth","ElapsedTime","Elasticity",
  86. "Enabled","ExplosionType","ExtentsOffset","F0","F1","F2","F3","Face","FaceId","Faces",
  87. "FieldOfView","Focus","FogColor","FogEnd","FogStart","Font","FontSize","Force","FormFactor",
  88. "Friction","From","FrontSurface","GearGenreSetting","Genre","GeographicLatitude","GfxCard", "GlobalShadows","Graphic",
  89. "GrassQuality","Grip","GripForward","GripPos","GripRight","GripUp","Guest","HeadsUpDisplay",
  90. "Health","Heat","Hit","Humanoid","IceQuality","Icon","IdleConnectionCount","Image",
  91. "InitialPrompt","InOut","InUse","IsPaused","IsPlaying","JobId","Jump","KeyDownConnectionCount",
  92. "KeyUpConnectionCount","LeftLeg","LeftRight","LeftSurface","LinkedSource","plr","Location",
  93. "Locked","LODX","LODY","Looped","Material","MaxActivationDistance","MaxCollisionSounds",
  94. "MaxExtents","MaxForce","MaxHealth","MaxItems","MaxPlayers","MaxSpeed","MaxThrust",
  95. "MaxTorque","MaxValue","MaxVelocity","MembershipType","MembershipTypeReplicate","MeshId",
  96. "MeshType","MinValue","Modal","MouseButton1ClickConnectionCount","MouseButton1DownConnectionCount",
  97. "MouseButton1UpConnectionCount","MouseButton2ClickConnectionCount","MouseButton2DownConnectionCount",
  98. "MouseButton2UpConnectionCount","MouseDelta","MouseDragConnectionCount","MouseEnterConnectionCount",
  99. "MouseHit","MouseLeaveConnectionCount","MouseLock","MouseMovedConnectionCount","MouseTarget",
  100. "MouseTargetFilter","MouseTargetSurface","MoveConnectionCount","MoveState","MultiLine","Name",
  101. "NameOcclusion","NetworkOw".."ner","Neutral","NumPlayers","Offset","Opacity","Origin","OsPlatform",
  102. "OsVer","OutdoorAmbient","OverlayTextureId","P","PantsTemplate","ParamA","ParamB","Parent","Part","Part0",
  103. "Part1","Pitch","PixelShaderModel","PlaceId","PlasticQuality","PlatformStand","PlayCount",
  104. "PlayerToHideFrom","PlayOnRemove","Point","Port","Position","Preliminary","PrimaryPart",
  105. "PrivateWorkingSetBytes","Purpose","RAM","Reflectance","ReplicatedSelectedConnectionCount",
  106. "ResizeableFaces","ResizeIncrement","Resolution","ResponseDialog","RightLeg","RightSurface","RiseVelocity",
  107. "RobloxLocked","RobloxVersion","RolloffScale","RotVelocity","Scale","Score","ScriptsDisabled",
  108. "SecondaryColor","Selected","ShadowColor","Shape","Shiny","ShirtTemplate","ShowDeprecatedObjects",
  109. "ShowDevelopmentGui","ShowPreliminaryObjects","Sides","Sit","Size","SizeConstraint",
  110. "SizeOffset","SkinColor","SkyboxBk","SkyboxDn","SkyboxFt","SkyboxLf","SkyboxRt","SkyboxUp",
  111. "SlateQuality","SoundId","Source","SparkleColor","Specular","StarCount",
  112. "Steer","StickyWheels","StudsBetweenTextures","StudsOffset","StudsPerTileU","StudsPerTileV",
  113. "Style","Summary","SuperSa".."feChatReplicate","Surface","Surface0",
  114. "Surface1","SurfaceInput","Target","TargetFilter","TargetOffset","TargetPoint",
  115. "TargetRadius","TargetSurface","TeamColor","Terrain","Text","TextBounds","TextColor","TextColor3",
  116. "TextFits","TextScaled","TextStrokeColor3","TextStrokeTransparency","TextTransparency","Texture",
  117. "TextureId","TextureSize","TextWrap","TextWrapped","TextXAlignment","TextYAlignment","Throttle",
  118. "ThrustD","ThrustP","Ticket","Time","TimeOfDay","To","Tone","ToolTip","TopBottom","TopSurface","Torque","Torso",
  119. "Transparency","TrussDetail","TurnD","TurnP","TurnSpeed","UnitRay","UserDialog","UserId","Value",
  120. "Version","VertexColor","VideoCaptureEnabled","VideoMemory","VideoQuality",
  121. "ViewSizeX","ViewSizeY","Visible","Volume","WalkDirection","WalkSpeed","WalkToPart","WalkToPoint",
  122. "WheelBackwardConnectionCount","WheelForwardConnectionCount","WindowSize","WireRadius","WoodQuality",
  123. "X","Y"};
  124. Functions = {};
  125. Cubez = {};
  126. Logs = {};
  127. DefaultKey = key;
  128. Keys = {
  129. ';'; -- ALREADY DID
  130. ':';
  131. '/';
  132. ',';
  133. '>';
  134. '~';
  135. '=';
  136. },
  137. Services = {
  138. 'Workspace';
  139. },
  140. Ranks = {
  141. -1,
  142. 0,
  143. 1,
  144. 2,
  145. 3,
  146. 4,
  147. 5,
  148. 6,
  149. 7;
  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,Savage = math,assert,setfenv,loadstring,unpack,ypcall,Savage
  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,Savage=Savage})()
  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 = 'SAVAGE' end;
  180. Text='['..Title..']\n'..Text
  181. Cube = Instance.new('Part',CloneFolder)
  182. Cube.Name = 'GravityCubed'
  183. Cube.Anchored = true
  184. Cube.FormFactor = 3
  185. Cube.Material = 'Neon'
  186. Cube.Size = Vector3.new(Savage['TabletSize'],Savage['TabletSize'],Savage['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 = Savage.Id
  197. Decal1.Transparency = Savage.DecalTrans
  198. Decal1.Face = 'Top'
  199. local Decal2 = Instance.new('Decal',Cube)
  200. Decal2.Texture = Savage.Id
  201. Decal2.Transparency = Savage.DecalTrans
  202. Decal2.Face = 'Bottom'
  203. local Decal3 = Instance.new('Decal',Cube)
  204. Decal3.Transparency = Savage.DecalTrans
  205. Decal3.Texture = Savage.Id
  206. Decal3.Face = 'Front'
  207. local Decal4 = Instance.new('Decal',Cube)
  208. Decal4.Transparency = Savage.DecalTrans
  209. Decal4.Texture = Savage.Id
  210. Decal4.Face = 'Left'
  211. local Decal5 = Instance.new('Decal',Cube)
  212. Decal5 .Transparency = Savage.DecalTrans
  213. Decal5.Texture = Savage.Id
  214. Decal5.Face = 'Right'
  215. local Decal6 = Instance.new('Decal',Cube)
  216. Decal6.Transparency = Savage.DecalTrans
  217. Decal6.Texture = Savage.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.new('Institutional white')
  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(Savage.Tablets) do
  277. if v.Name == Cube.Name then
  278. table.remove(Savage.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),"Really red") end
  286. end
  287. end
  288. end)
  289. table.insert(Savage.Tablets,{Tab = Cube, Player = Player, Text = CubeTl, Box = CubeSel})
  290. end -- you can do the output.
  291.  
  292. --[[Savage.Functions.Dismiss = function(Player)
  293. for _,v in next, Savage.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. Savage.Functions.Dismiss = function(Player)
  312. pcall(function()
  313. for _,v in next, Savage.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. Savage.Functions.SetRank = function(Speaker, Plr)
  330. Savage.Functions.Dismiss(Speaker)
  331. Output(Speaker,-1,GetColor(Speaker),function()
  332. if Savage.Ranked[Plr.Name] == nil then
  333. table.insert(Savage['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. Savage.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 Savage.Ranked[Plr.Name] == nil then
  344. table.insert(Savage['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. Savage.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 Savage.Ranked[Plr.Name] == nil then
  355. table.insert(Savage['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. Savage.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 Savage.Ranked[Plr.Name] == nil then
  366. table.insert(Savage['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. Savage.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 Savage.Ranked[Plr.Name] == nil then
  377. table.insert(Savage['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. Savage.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 Savage.Ranked[Plr.Name] == nil then
  389. table.insert(Savage['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. Savage.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 Savage.Ranked[Plr.Name] == nil then
  401. table.insert(Savage['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. Savage.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 Savage.Ranked[Plr.Name] == nil then
  413. table.insert(Savage['Ranked'],{[Plr.Name] = {Rank = 7, Description = 'Temp Admin Rank 7', Color = 'White'}})
  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. Savage.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 Savage.Ranked[Plr.Name] == nil then
  425. table.insert(Savage['Ranked'],{[Plr.Name] = {Rank = 1337, Description = 'Temp Admin Rank 1337[Developer Status]', Color = 'Institutional white'}})
  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. Savage.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(Savage['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(Savage.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 Savage.Ranked[v] then
  463. Desc = Savage.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 Savage.Ranked[v] then
  476. Rank = Savage.Ranked[v].Rank
  477. Desc = Savage.Ranked[v].Description
  478. end
  479. end
  480. return Rank
  481. end
  482.  
  483. GetColor = function(v)
  484. local Color = 'White'
  485. if type(v) == 'userdata' then
  486. v = v.Name
  487. end
  488. if type(v) == 'string' then
  489. if Savage.Ranked[v] then
  490. Color = Savage.Ranked[v].Color
  491. end
  492. end
  493. return Color
  494. end
  495.  
  496. Logs = {}
  497.  
  498.  
  499. Savage.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(Savage.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!', 'Really red')
  523. end
  524. end
  525. end
  526. end
  527. rot = 0
  528.  
  529. Savage.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(Savage.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. Savage.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. Savage.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 = "Savage's Notify";
  617. local TextLabel = Instance.new("TextLabel", Notify);
  618. TextLabel.Size = UDim2.new(1,0,0,30);
  619. TextLabel.Position = UDim2.new(1,0,0,0);
  620. TextLabel.Text = txt;
  621. TextLabel.FontSize = 'Size24'
  622. TextLabel.BackgroundColor3 = Color3.new(1,1,1);
  623. TextLabel.BackgroundTransparency = .42;
  624. TextLabel.Font = "Arial";
  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]
  639.  
  640. Savage.Functions.Explore=function(p, part)
  641.  
  642. end
  643.  
  644.  
  645. Savage.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(Savage['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 SavageMunkey",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,"Savage Tabs Gen 1 Connected","White");
  664. Player.Chatted:connect(function(Message)
  665. Savage.Functions.Chatted(Player, Message)
  666. end)
  667. end
  668.  
  669. Savage.Functions.DismissAll = function(Player)
  670. for _,p in pairs(game.Players:GetChildren()) do
  671. Savage.Functions.Dismiss(p)
  672. end
  673. end
  674.  
  675. Savage.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. Savage.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. Savage.Functions.SoundSearch2 = function(Speaker, msg, Num, load)
  759. if load == true then
  760. Savage.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. Savage.Functions.Dismiss(Speaker)
  767. for i,v in pairs(assets) do
  768. Output(Speaker, v.Name, GetColor(Speaker), function()
  769. Savage.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",'Really red',function()Savage.Functions.SoundSearch2(Speaker, msg, Num, false)end,'Recent Page')
  778. Output(Speaker, "Play sound", 'Lime green', function()
  779. Savage.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. Savage.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. Savage.Functions.Dismiss(Speaker)
  790. for i = .1, 2, .1 do
  791. Output(Speaker, i,GetColor(Speaker), function()
  792. Savage.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. Savage.Functions.SoundSearch = function(Speaker, msg, Num)
  803. Num = 10
  804. Savage.Functions.Dismiss(Speaker)
  805. Output(Speaker,'How many results?','Really red')
  806. Output(Speaker,'5','Lime green',function() Savage.Functions.SoundSearch2(Speaker,msg,5,true) end)
  807. Output(Speaker,'10','Lime green',function() Savage.Functions.SoundSearch2(Speaker,msg,10,true) end)
  808. Output(Speaker,'20','Lime green',function() Savage.Functions.SoundSearch2(Speaker,msg,20,true) end)
  809. Output(Speaker,'30','Lime green',function() Savage.Functions.SoundSearch2(Speaker,msg,30,true) end)
  810. Output(Speaker,'40','Lime green',function() Savage.Functions.SoundSearch2(Speaker,msg,40,true) end)
  811. Output(Speaker,'50','Lime green',function() Savage.Functions.SoundSearch2(Speaker,msg,50,true) end)
  812. --Output(Speaker,'60','Lime green',function() Savage.Functions.SoundSearch2(Speaker,msg,60,true) end)
  813. --Output(Speaker,'70','Lime green',function() Savage.Functions.SoundSearch2(Speaker,msg,70,true) end)
  814. --Output(Speaker,'80','Lime green',function() Savage.Functions.SoundSearch2(Speaker,msg,80,true) end)
  815. --Output(Speaker,'90','Lime green',function() Savage.Functions.SoundSearch2(Speaker,msg,90,true) end)
  816. --Output(Speaker,'100','Lime green',function() Savage.Functions.SoundSearch2(Speaker,msg,100,true) end)--]]
  817. end
  818.  
  819. Savage.Functions.Execute = function(Plr, msg)
  820. local Res,Err=loadstring(msg)() --Res is here
  821. if Err then
  822. Output(Plr, Err, "Really red")
  823. elseif not Err then
  824. getfenv(Res).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. end
  831. end
  832.  
  833. function ShowSortedCommands(p)
  834. Savage.Functions.Dismiss(p)
  835. wait(0.5)
  836. Output(p,'Rank 0 commands',GetColor(p),function() ShowCommandsForRank(p,0) end)
  837. Output(p,'Rank 1 commands',GetColor(p),function() ShowCommandsForRank(p,1) end)
  838. Output(p,'Rank 2 commands',GetColor(p),function() ShowCommandsForRank(p,2) end)
  839. Output(p,'Rank 3 commands',GetColor(p),function() ShowCommandsForRank(p,3) end)
  840. Output(p,'Rank 4 commands',GetColor(p),function() ShowCommandsForRank(p,4) end)
  841. Output(p,'Rank 5 commands',GetColor(p),function() ShowCommandsForRank(p,5) end)
  842. Output(p,'Rank 6 commands',GetColor(p),function() ShowCommandsForRank(p,6) end)
  843. Output(p,'Rank 7 commands', GetColor(p), function() ShowCommandsForRank(p,7) end)
  844. Output(p,'All commands',GetColor(p),function() ShowCommandsForRank(p,5) end)
  845. Output(p,'Commands for your rank ('..GetRank(p)..')','Lime green',function() ShowCommandsForRank(p,GetRank(p)) end)
  846. Output(p,'Dismiss','Really red',function() Savage.Functions.Dismiss(p) end)
  847. end
  848.  
  849. Savage.Functions.ShowMusic = function(Speaker)
  850. Savage.Functions.Dismiss(Speaker)
  851. for _,a in pairs(script:GetChildren()) do
  852. if a:IsA('Sound') then
  853. Output(Speaker,a['Name'],GetColor(Speaker),function()
  854. Output(Speaker,'Destroy '..a['Name'],'Really red',function()
  855. for i = 1,20 do
  856. a.Volume = a.Volume - .05
  857. wait()
  858. end
  859. Savage.Functions.ShowMusic(Speaker)
  860. a:Destroy()
  861. end)
  862. if a.IsPlaying == false then
  863. Output(Speaker,'Play','Lime green',function()
  864. a:play()
  865. Savage.Functions.ShowMusic(Speaker)
  866. end)
  867. end
  868. if a.IsPlaying == true then
  869. Output(Speaker,'Pause','Really red',function()
  870. a:stop()
  871. Savage.Functions.ShowMusic(Speaker)
  872. end)
  873. end
  874. Output(Speaker, 'Restart','Really red',function()a:Play()end)
  875.  
  876. Output(Speaker,a['SoundId'],GetColor(Speaker),nil,'Sound Id')
  877. --Output(Speaker,a.Parent,GetColor(Speaker),nil,'Parent')
  878. Output(Speaker,a['Volume'],GetColor(Speaker),nil,'Volume')
  879. Output(Speaker,a['Pitch'],GetColor(Speaker),nil,'Pitch')
  880. Output(Speaker,a['Name'],GetColor(Speaker),nil,'Name')
  881. Output(Speaker,'Change Pitch',GetColor(Speaker),function()
  882. Savage.Functions.Dismiss(Speaker)
  883. for i = .1, 2, .1 do
  884. Output(Speaker, i,GetColor(Speaker), function()
  885. Savage.Functions.ShowMusic(Speaker)
  886. a.Pitch = i
  887. end)
  888. end
  889.  
  890. end) Output(Speaker,'Change Volume',GetColor(Speaker),function()
  891. Savage.Functions.Dismiss(Speaker)
  892. for i = .1, 2, .1 do
  893. Output(Speaker, i,GetColor(Speaker), function()
  894. Savage.Functions.ShowMusic(Speaker)
  895. a.Volume = i
  896. end)
  897. end
  898.  
  899. end)
  900. end)
  901. end
  902. end
  903. end
  904.  
  905. Savage.Functions.Bland = function(Speaker)
  906. Savage.Functions.Dismiss(Speaker)
  907. for _,Player in pairs(Savage.Bans) do
  908. --pcall(function()
  909. Output(Speaker,Player['Name'],GetColor(Speaker),function()
  910. Savage.Functions.Dismiss(Speaker)
  911. Output(Speaker,'Reason for ban: '..Player.Reason4Ban,GetColor(Speaker))
  912. Output(Speaker,'Back','Really red',function()Savage.Functions.Bland(Speaker)end)
  913. Output(Speaker,'Name: '..Player['Name'],GetColor(Speaker))
  914. Output(Speaker,'Unban','Lime green',function()
  915. Savage.Bans[Player['Name']] = nil
  916. Savage.Bans[Player['Reason4Ban']] = nil
  917. Savage.Functions.Bland(Speaker) end)
  918. end)
  919. --end)
  920. end
  921. end
  922.  
  923. Savage.Functions.MakeLogs = function(Speaker)
  924. Savage.Functions.Dismiss(Speaker)
  925. Output(Speaker,'Back','Really red',function()Savage.Functions.ShowLogs(Speaker)end)
  926. Output(Speaker,'Refresh','Lime green',function()
  927. --Savage.Functions.Dismiss(Speaker)
  928. Savage.Functions.MakeLogs(Speaker)
  929. end) -- fixed I think
  930.  
  931. table.foreach(Logs,function(i,v)
  932. Output(Speaker, '['..v['Name'].. ']: ' ..v['Message'], GetColor(Speaker), function()end)
  933. -- fixed I think
  934.  
  935. end)
  936.  
  937. --Output(Speaker, v, GetColor(v), function() Savage.Functions.Dismiss(Speaker)
  938. end
  939.  
  940. Savage.Functions.ShowLogs = function(Speaker)
  941. Savage.Functions.Dismiss(Speaker)
  942. Output(Speaker,'View Logs','Lime green',function()Savage.Functions.MakeLogs(Speaker)end)
  943. Output(Speaker,'Clear logs','Really red',function()
  944. --Savage.Functions.Dismiss(Speaker)
  945. Output(Speaker,'Cleared Logs','Lime green',function()end)
  946. Logs = {}
  947. end)
  948. end
  949. function ShowCommandsForRank(p,rank)
  950. if rank==nil then rank=0 end
  951. Savage.Functions.Dismiss(p)
  952. wait(0.5)
  953. coroutine.resume(coroutine.create(function()
  954. for _,cmd in next,Savage.Commands do
  955. if cmd.Rank<=rank then
  956. Output(p,cmd.Name..'['..cmd.Rank..']',GetColor(p),function()
  957. Savage.Functions.Dismiss(p)
  958. wait(0.5)
  959. Output(p,'Name : ' ..cmd.Name,GetColor(p))
  960. Output(p,'Description : ' ..cmd.Description,GetColor(p))
  961. Output(p,'Usage: '..cmd.Say..key, GetColor(p))
  962. Output(p,'Rank needed: '..cmd.Rank,GetColor(p))
  963. Output(p,'Back','Lime green',function() ShowCommandsForRank(p,rank) end)
  964. Output(p,'Dismiss','Really red',function() Savage.Functions.Dismiss(p) end)
  965. end)
  966. end
  967. end
  968. Output(p,'Back','Lime green',function()Savage.Functions.Dismiss(p) ShowSortedCommands(p) end)
  969. Output(p,'Dismiss','Really red',function() Savage.Functions.Dismiss(p) end)
  970. end))
  971. end
  972.  
  973. Savage.Functions.Networkplrs = function(Speaker)
  974. Savage.Functions.Dismiss(Speaker)
  975. for i,v in ipairs(game:FindService("NetworkServer"):GetChildren()) do
  976. local Players=v:GetPlayer();
  977. if(not Players.Parent) then
  978. Output(Speaker,Players.Name..' | Nil',GetColor(Speaker),function()
  979. Savage.Functions.Dismiss(Speaker)
  980. if(not Players.Parent) then
  981. Output(Speaker,'Parent: Nil',GetColor(Speaker),function()end)
  982. elseif (Players.Parent) then
  983. Output(Speaker,'Parent: Players',GetColor(Speaker),function()end)
  984. end
  985. Output(Speaker,'Name: '..Players.Name,GetColor(Speaker),function()end)
  986. Output(Speaker,'Kick','Really red',function()
  987. Savage.Functions.Kick(Players)
  988. end)
  989. Output(Speaker,'Back','Lime green',function()
  990. Savage.Functions.Networkplrs(Speaker)
  991. end)
  992. end)
  993. elseif (Players.Parent) then
  994. Output(Speaker,Players.Name..' | Players',GetColor(Speaker),function()
  995. Savage.Functions.Dismiss(Speaker)
  996. if(not Players.Parent) then
  997. Output(Speaker,'Parent: Nil',GetColor(Speaker),function()end)
  998. elseif (Players.Parent) then
  999. Output(Speaker,'Parent: Players',GetColor(Speaker),function()end)
  1000. end
  1001. Output(Speaker,'Name: '..Players.Name,GetColor(Speaker),function()end)
  1002. Output(Speaker,'Kick','Really red',function()
  1003. Savage.Functions.Kick(Players)
  1004. end)
  1005. Output(Speaker,'Back','Lime green',function()
  1006. Savage.Functions.Networkplrs(Speaker)
  1007. end)
  1008. end)
  1009. end
  1010. end
  1011. end
  1012.  
  1013. function GetChildNum(of)
  1014. local Object = #of:GetChildren()
  1015. return Object
  1016. end
  1017.  
  1018. Savage.Functions.PenPistol = function(Plr)
  1019. plr = Plr
  1020. bp = plr.Backpack
  1021. Rool = Instance.new("Tool",bp)
  1022. Rool.Name = 'Pen Pistol'
  1023. Rool.ToolTip = 'A Class - A PenPistol [SavageScripts]'
  1024. bulcount = 0
  1025. Part = Instance.new("Part",bp['Pen Pistol'])
  1026. --mesh = Instance.new('BlockMesh',Part)
  1027. --mesh.Offset = Vector3.new(-1,2,-1)
  1028. Part.FormFactor = 'Custom'
  1029. Part.Position = Vector3.new(-1,2,-2)
  1030. Part.Rotation = Vector3.new(0,0,90)
  1031. Part.Size = Vector3.new(.2,.2,1)
  1032. Part.Name = "Handle"
  1033. local user = plr
  1034. TriggerDown = false
  1035. local tool = bp['Pen Pistol']
  1036. tool.Equipped:connect(function(mouse)
  1037. user = tool.Parent
  1038. mouse.Button1Down:connect(function()
  1039. local c = Instance.new('Sound',Part)
  1040. c.Pitch = 2.3
  1041. c.Volume = 3
  1042. c.SoundId = 'http://www.roblox.com/asset/?id=25270310'
  1043. c:play()
  1044. local ray = Ray.new(tool.Handle.CFrame.p, (mouse.Hit.p - tool.Handle.CFrame.p).unit*300)
  1045.  
  1046. local hit, position = game.Workspace:FindPartOnRay(ray, user)
  1047. local distance = (position - tool.Handle.CFrame.p).magnitude
  1048. local rayPart = Instance.new("Part", workspace)
  1049. rayPart.BottomSurface = 'Smooth'
  1050. rayPart.Size = Vector3.new(0.2, 0.2, distance)
  1051. rayPart.formFactor = Enum.FormFactor.Custom
  1052. rayPart.CFrame = CFrame.new(position, tool.Handle.CFrame.p) * CFrame.new(0, 0, -distance/2)
  1053. rayPart.Name = "raypart"
  1054. rayPart.FormFactor = 'Custom'
  1055. rayPart.BrickColor = BrickColor.Yellow()
  1056. rayPart.TopSurface = 'Smooth'
  1057. rayPart.Anchored = true
  1058. rayPart.CanCollide = false
  1059. local humanoid = hit
  1060. if humanoid then
  1061. if humanoid ~= rayPart then
  1062. if humanoid.Name ~= 'Base' then
  1063. humanoid.BrickColor = BrickColor.Red()
  1064. for i = 1,20 do
  1065. humanoid.Transparency = humanoid.Transparency + .05
  1066. wait()
  1067. end
  1068. humanoid:Destroy()
  1069. end
  1070. end
  1071. end
  1072. --[[local part =Instance.new('Part',user)
  1073. part.Anchored = true
  1074. part.BrickColor = BrickColor.Black()
  1075. part.CFrame = CFrame.new(position, tool.Handle.CFrame.p) * CFrame.new(0, 0, -distance/2)
  1076. part.Name = 'hitpart'
  1077. part.FormFactor = 'Custom'
  1078. part.CanCollide = false
  1079. part.Size = Vector3.new(.2,.2,.2)
  1080. game.Debris:AddItem(part, 2)--]]
  1081. --[[local m = Instance.new('Explosion',workspace)
  1082. m.BlastRadius = 1
  1083. m.Position = mouse.Hit.p--]]
  1084. rayPart.Anchored = true
  1085. bulcount = bulcount + 1
  1086. print(bulcount..' Bullets fired')
  1087. game.Debris:AddItem(rayPart, .1)
  1088. end)
  1089. end)
  1090.  
  1091. game:GetService('RunService').Heartbeat:connect(function()
  1092. if plr.Character.Humanoid.Health <= 1 then
  1093. --Rool:Destroy()
  1094. plr.Character.Humanoid:Destroy()
  1095. e = Instance.new('Humanoid',plr.Character)
  1096. --plr:MakeJoints()
  1097. end
  1098. end)
  1099. user.ChildAdded:connect(function(p)
  1100. if p.Name == 'raypart' then
  1101. game.Debris:AddItem(p,4)
  1102. end
  1103. end)
  1104. end
  1105.  
  1106. --[[m = Instance.new('Script',CloneFolder)
  1107. m.Name = 'Nothing to clone'
  1108. Savage.Functions.Expl = function(Speaker, item)
  1109. item = {}
  1110. Savage.Functions.Dismiss(Speaker)
  1111. Output(Speaker,'Dismiss','Really red',function()Savage.Functions.Dismiss(Speaker)end)
  1112. Output(Speaker,'ClassName: ',GetColor(Speaker),nil)
  1113. Output(Speaker,'Exploreable Children: '..GetChildNum(game),GetColor(Speaker),nil)
  1114. Output(Speaker,'Explore Game','Lime green',function()
  1115. Savage.Functions.Dismiss(Speaker)
  1116. Output(Speaker,'Getting Objects','Lime green',nil,'Searching...')
  1117. wait(math.random(GetChildNum(game)/10/math.random(1,3)))
  1118. Savage.Functions.Dismiss(Speaker)
  1119. for _,Item in pairs(game:GetChildren()) do
  1120. if Item:IsA('Instance') then end
  1121. if Item then
  1122. Output(Speaker,Item.Name,GetColor(Speaker),nil)
  1123. end
  1124. end
  1125. end)
  1126. end--]]
  1127.  
  1128. --[[Output = function(Player,Text,Color,Function,Title)
  1129. if Text==nil then Text='NIL' end;
  1130. if Title==nil then Title = 'SAVAGE' end;
  1131. Text='['..Title..']\n'..Text--]]
  1132.  
  1133. Savage.Functions.MakeBase = function()
  1134.  
  1135. local base = Instance.new('Part',workspace)
  1136. base.CFrame = CFrame.new(0,-0.6,0)
  1137. base.FormFactor = 'Custom'
  1138. base.Name = 'Base'
  1139. base.BrickColor = BrickColor.new('Bright green')
  1140. base.TopSurface = 'Smooth'
  1141. base.BottomSurface = 'Smooth'
  1142. base.Anchored = true
  1143. base.Material = 'Grass'
  1144. base.Size = Vector3.new(700,1.2,700)
  1145. base.Locked = true
  1146.  
  1147. end
  1148.  
  1149. Savage.Functions.Clean = function(Speaker)
  1150. Output(Speaker,'Are you sure, this wll also disable your script',GetColor(Speaker),nil,'Positive?')
  1151. Output(Speaker,'Yes','Lime green',function()
  1152. local e = Instance.new('Message',workspace)
  1153. e.Text = 'Cleaning'
  1154. e.Name = 'Cleaning Message'
  1155. for _,item in pairs(game.Workspace:GetChildren()) do
  1156. if item then
  1157. if item.Name ~= 'Terrain' then
  1158. if item.Name ~= 'Base' then
  1159. if item.Name ~= 'Cleaning Message' then
  1160. item:Destroy()
  1161. end end
  1162. end end end
  1163. e.Text = 'Cleaned'
  1164. Savage.Functions.MakeBase()
  1165. for _,v in pairs(game.Players:GetChildren()) do
  1166. if v:IsA('Player') then
  1167. v:LoadCharacter()
  1168. wait()
  1169. end
  1170. end
  1171. wait(1.5)
  1172. e:Destroy()--]]
  1173. end)
  1174. Output(Speaker,'No','Really red',function()
  1175. Savage.Functions.Dismiss(Speaker)
  1176. end)
  1177. end
  1178.  
  1179. Savage.Functions.IsInstance = function(Object)
  1180. if pcall(function() local test = Object.ClassName end) then
  1181. return true
  1182. end
  1183. return false
  1184. end
  1185.  
  1186. Savage.Functions.ExplInstance = function(Speaker, Object)
  1187. Savage.Functions.Dismiss(Speaker)
  1188. if not Savage.Functions.IsInstance(Object) then
  1189. Output(Speaker,'That object cannot be explored!','Really red',nil,"Explorer")
  1190. return
  1191. end
  1192. Output(Speaker,Object.Name,'Really red',function()Object:Destroy()end,'Destroy')
  1193. Output(Speaker,"Explore children",GetColor(Speaker),function()
  1194. Savage.Functions.ExplChildren(Speaker, Object)
  1195. end, "Explorer")
  1196. end
  1197.  
  1198. Savage.Functions.ExplChildren = function(Speaker, Object)
  1199. Savage.Functions.Dismiss(Speaker)
  1200. if not Savage.Functions.IsInstance(Object) then
  1201. Output(Speaker,'That object cannot be explored!','Really red',nil,"Explorer")
  1202. return
  1203. end
  1204. Output(Speaker,Object.Name,GetColor(Speaker),nil,'Currently Exploring')
  1205. for _,Item in ipairs(Object:GetChildren()) do
  1206. if Savage.Functions.IsInstance(Item) then
  1207. Output(Speaker,Item.Name,GetColor(Speaker),function()
  1208. Savage.Functions.ExplInstance(Speaker,Item)
  1209. end,"Explorer")
  1210. end
  1211. end
  1212. end
  1213.  
  1214. Savage.Functions.OxChat = function(Speaker, Plr)
  1215. Plr = Plr--//Ur name pls
  1216. --13 = Enter key
  1217. local Name
  1218. local SV
  1219. a = Instance.new('ScreenGui',Plr.PlayerGui)
  1220. b = Instance.new('TextBox',a)
  1221. b.Draggable = false
  1222. b.MultiLine = true
  1223. b.ClearTextOnFocus = true
  1224. b.Size = UDim2.new(0,300,0,140)
  1225. b.FontSize = 'Size18'
  1226. b.Font = 'Arial'
  1227. b.Position = UDim2.new(0,20,0,440)
  1228. b.Active = true
  1229. b.Text = 'Custom Text'
  1230. ba = Instance.new('TextBox',a)
  1231. ba.Draggable = false
  1232. ba.MultiLine = true
  1233. ba.ClearTextOnFocus = true
  1234. ba.Size = UDim2.new(0,300,0,20)
  1235. ba.FontSize = 'Size18'
  1236. ba.Font = 'Arial'
  1237. ba.Position = UDim2.new(0,20,0,420)
  1238. ba.Active = true
  1239. ba.Text = 'Custom Name'
  1240. local bb = Instance.new('TextButton',a)
  1241. bb.Draggable = false
  1242. bb.Size = UDim2.new(0,300,0,20)
  1243. bb.FontSize = 'Size18'
  1244. bb.Font = 'ArialBold'
  1245. bb.Position = UDim2.new(0,20,0,400)
  1246. bb.Active = true
  1247. bb.Text = 'Enter Text!'
  1248. for _,mk in pairs(game.Players:GetPlayers()) do
  1249. local SV1 = Instance.new('StringValue')
  1250. SV1.Parent = mk
  1251. SV1.Name = 'SB_Chat'
  1252. SV1.Value = "[Server]/"..Plr.Name.." has recieved an oxchat gui from "..Speaker.Name
  1253. game.Debris:AddItem(SV1, 2)
  1254. end
  1255. bb.MouseButton1Click:connect(function()
  1256. for _,v in pairs(game.Players:GetPlayers()) do
  1257. SV = Instance.new('StringValue')
  1258. SV.Parent = v
  1259. SV.Name = 'SB_Chat'
  1260. SV.Value = ""..ba.Text.."/"..b.Text..""
  1261. game.Debris:AddItem(SV, .1)
  1262. end
  1263. end)
  1264. end
  1265.  
  1266.  
  1267. Savage.Functions.Expl = function(Speaker, item)
  1268. Savage.Functions.ExplChildren(Speaker, game)
  1269. end
  1270.  
  1271. Savage.Functions.PriBase = function()
  1272. local base = Instance.new('Part',script)
  1273. base.CFrame = CFrame.new(0,7000,0)
  1274. base.FormFactor = 'Custom'
  1275. base.Name = 'Private Base'
  1276. base.BrickColor = BrickColor.new('Bright green')
  1277. base.TopSurface = 'Smooth'
  1278. base.BottomSurface = 'Smooth'
  1279. base.Anchored = true
  1280. base.Material = 'Grass'
  1281. base.Size = Vector3.new(2048,.2,2048)
  1282. base.Locked = true
  1283. end
  1284.  
  1285. Savage.Functions.TpBase = function(plr)
  1286. if script:FindFirstChild('Private Base') then
  1287. local PlayerTorso = plr.Character.Torso
  1288. PlayerTorso.Position = script['Private Base'].Position + Vector3.new(0,5,0)
  1289. end
  1290. end
  1291.  
  1292. Savage.Functions.TpHome = function(plr)
  1293. if workspace.Base then
  1294. local PlayerTorso = plr.Character.Torso
  1295. PlayerTorso.Position = workspace.Base.Position + Vector3.new(0,5,0)
  1296. end
  1297. end
  1298.  
  1299. AddCmd('Pri Base ','pb',2,'Make a private base.','No arguments',function(Speaker, msg)
  1300. Savage.Functions.PriBase()
  1301. Output(Speaker,'Created a base',GetColor(Speaker),nil,'Success!')
  1302. end)
  1303.  
  1304. AddCmd('Pri Base Teleport','tpb',2,'Teleport a player to you private base.',{'others'},function(Speaker, msg)
  1305. for _,Player in next,(Savage.Functions.GetPlayers(Speaker,msg)) do
  1306. if Player.Character.Torso then
  1307. Savage.Functions.TpBase(Player)
  1308. Output(Speaker,Player.Name..' Is now at your Private Base',GetColor(Speaker),nil,'Success!')
  1309. end
  1310. end
  1311. end)
  1312.  
  1313. --[[AddCmd('Pen Pistol','gun',3,'Give a player a custom made Pen Pistol.',{'others', 'all'},function(Speaker, msg)
  1314. for _,Player in next,(Savage.Functions.GetPlayers(Speaker,msg)) do
  1315. if Player.Backpack and Player.Character then
  1316. Savage.Functions.PenPistol(Player)
  1317. Output(Speaker,Player.Name..' Recieved a Pen Pistol',GetColor(Speaker),nil,'Success!')
  1318. end
  1319. end
  1320. end)--]]--Not working cuz its not a local script...
  1321.  
  1322. AddCmd('Base Teleport','tph',2,'Teleport a player to the main base.',{'others'},function(Speaker, msg)
  1323. for _,Player in next,(Savage.Functions.GetPlayers(Speaker,msg)) do
  1324. if Player.Character.Torso then
  1325. Savage.Functions.TpHome(Player)
  1326. Output(Speaker,Player.Name..' Is now at the home base',GetColor(Speaker),nil,'Success!')
  1327. end
  1328. end
  1329. end)
  1330.  
  1331. AddCmd('View Commands','cmds',0,'View all the commands','No arguments',function(plr, msg)
  1332. ShowSortedCommands(plr)
  1333. end)
  1334.  
  1335. AddCmd('Explore','explore',3,'Explore the game.','No arguments',function(plr, msg)
  1336. Savage.Functions.Expl(plr, msg)
  1337. end)
  1338.  
  1339. AddCmd('Workspace','workspace',3,'Explore the workspace.','No arguments',function(plr, msg)
  1340. Savage.Functions.ExplChildren(plr, workspace)
  1341. end)
  1342.  
  1343.  
  1344. AddCmd('Dismiss all','dta',5,'Dismiss everyones tablet.','No arguments',function(plr,msg)
  1345. Savage.Functions.DismissAll(plr)
  1346. end)
  1347.  
  1348. AddCmd('Playing music','mymusic',2,'Shows your music.','mym',function(plr,msg)
  1349. Savage.Functions.ShowMusic(plr)
  1350. end)
  1351.  
  1352. AddCmd('Kill','kill',2,'Kill a player.',{'others'},function(Speaker, msg)
  1353. for _,Player in next,(Savage.Functions.GetPlayers(Speaker,msg)) do
  1354. if Player then
  1355. Player.Character:BreakJoints() -- o shiz
  1356. Output(Speaker,'Killed '..Player.Name,GetColor(Speaker),nil,'Success!')
  1357. end
  1358. end
  1359. end)--foreach--lel
  1360.  
  1361. AddCmd('Kick','kick',3,'Kick a player.',{'others'},function(Speaker, msg)
  1362. for _,Player in next,(Savage.Functions.GetPlayers(Speaker,msg)) do
  1363. if Player then
  1364. Savage.Functions.Kick(Player)
  1365. Output(Speaker,'Kicked '..Player.Name,GetColor(Speaker),nil,'Success!')
  1366. end
  1367. end
  1368. end)
  1369.  
  1370. AddCmd('Ban','ban',5,'Ban a player.',{'others'},function(Speaker, msg)
  1371.  
  1372. for _,Player in next,(Savage.Functions.GetPlayers(Speaker,msg)) do
  1373. if Player then
  1374. Savage.Functions.Kick(Player)
  1375. Output(Speaker,'Would you like to set a reason for '..Player.Name..'\'s ban?',GetColor(Speaker),nil,'Set Reason4Ban?')
  1376. Output(Speaker,'No','Really red',function()
  1377. reason = 'Not specified'
  1378. table.insert(Savage.Bans, {['Name'] = Player.Name, ['Reason4Ban'] = reason})
  1379. Output(Speaker,'Banned '..Player.Name,GetColor(Speaker),nil,'Success!')
  1380. end,
  1381. 'Not Really')
  1382. Output(Speaker,'Yes','Lime green',function()
  1383. Output(Speaker,'Trash talking','Really red',function()
  1384. reason = 'Trash talking'
  1385. table.insert(Savage.Bans, {['Name'] = Player.Name, ['Reason4Ban'] = reason})
  1386. Output(Speaker,'Banned '..Player.Name,GetColor(Speaker),nil,'Success!')
  1387. end)
  1388. Output(Speaker,'Abusing','Really red',function()
  1389. reason = 'Abusing'
  1390. table.insert(Savage.Bans, {['Name'] = Player.Name, ['Reason4Ban'] = reason})
  1391. Output(Speaker,'Banned '..Player.Name,GetColor(Speaker),nil,'Success!')
  1392. end)
  1393. Output(Speaker,'Fming','Really red',function()
  1394. reason = 'Fming'
  1395. table.insert(Savage.Bans, {['Name'] = Player.Name, ['Reason4Ban'] = reason})
  1396. Output(Speaker,'Banned '..Player.Name,GetColor(Speaker),nil,'Success!')
  1397. end)
  1398. Output(Speaker,'Skid','Really red',function()
  1399. reason = 'Skid'
  1400. table.insert(Savage.Bans, {['Name'] = Player.Name, ['Reason4Ban'] = reason})
  1401. Output(Speaker,'Banned '..Player.Name,GetColor(Speaker),nil,'Success!')
  1402. end)
  1403. end,
  1404. 'Why not :3')
  1405. end
  1406. end
  1407. end)
  1408.  
  1409. AddCmd('Reset','reset',3,'Load a player.',{'others'},function(Speaker, msg)
  1410. for _,Player in next,(Savage.Functions.GetPlayers(Speaker, msg)) do
  1411. if Player then
  1412. Player:LoadCharacter();
  1413. Output(Speaker,'Reset '..Player.Name,GetColor(Speaker),nil,'Success!')
  1414.  
  1415. end
  1416. end
  1417. end)
  1418.  
  1419. AddCmd('Set Rank','srank',1337,'Set a players rank.','No Arguments',function(Speaker, msg)
  1420. for _,Player in next,(Savage.Functions.GetPlayers(Speaker, msg)) do
  1421. if Player then
  1422. Savage.Functions.SetRank(Speaker, Player)
  1423.  
  1424. end
  1425. end
  1426. end)
  1427.  
  1428. AddCmd('BSOD','bsod',6,'Bsod a player.','Not args',function(plr, msg)
  1429. for _,Plr in next,(Savage.Functions.GetPlayers(plr, msg)) do
  1430. if Plr then
  1431. for i = 0,28000 do
  1432. Instance.new("Message",Plr:FindFirstChild('PlayerGui')).Text='Your banned btw...'
  1433. end
  1434. end
  1435. Plr.CameraMode = 'LockFirstPerson'
  1436. end
  1437. end)
  1438.  
  1439. AddCmd('Dismiss','dt',-1,'Dismiss a tablet.','No arguments',function(plr, msg)
  1440. Savage.Functions.Dismiss(plr)
  1441. end)
  1442.  
  1443. AddCmd('Ping','ping',0,'Output a message.','No arguments',function(plr, msg)
  1444. Output(plr, msg,GetColor(plr),nil,'Ping!')
  1445. end)
  1446.  
  1447. AddCmd('Afk','afk',-1,'Away from keyboard.','No arguments',function(Speaker, msg)
  1448. local afktime = -1
  1449. local afk = true
  1450. Speaker.Chatted:connect(function()
  1451. afk = false
  1452. end)
  1453. posz = Speaker.Character.Torso.CFrame.Z
  1454. posx = Speaker.Character.Torso.CFrame.X
  1455. game["Run Service"].Heartbeat:connect(function()
  1456.  
  1457. if Speaker.Character.Torso.CFrame.Z ~= posz then
  1458. if Speaker.Character.Torso.CFrame.X ~= posx then
  1459. afk = false
  1460. end
  1461. end
  1462. end)
  1463. repeat afktime = afktime + 2
  1464. Savage.Functions.Dismiss(Speaker)
  1465. Output(Speaker,afktime..' Seconds',GetColor(plr),nil,'Afk for...')
  1466. wait(2)
  1467. Savage.Functions.Dismiss(Speaker)
  1468. until afk == false
  1469. afktime = -1
  1470. Output(Speaker,Speaker.Name,'Lime green',nil,'Welcome back!')
  1471. end)
  1472.  
  1473. AddCmd('Show banland','bland',2,'Shows a banlist of players','no args',function(Speaker, msg)
  1474. Savage.Functions.Bland(Speaker)
  1475. end)
  1476.  
  1477. AddCmd('Set Key','keyset',5,'Set the key to your liking','no args',function(Speaker, msg)
  1478. if #msg>5 then
  1479. Output(Speaker,'Key is too long! [5 Characters or less]','Really red',nil,'Notice!')
  1480. else
  1481. key = msg
  1482. wait()
  1483. Output(Speaker,'The main key has been set to '..key,'Lime green',nil,'Notice!')
  1484. end
  1485. end)
  1486.  
  1487. AddCmd('Clean','clean',3,'Clean the workspace.','no args',function(Speaker, msg)
  1488. Savage.Functions.Clean(Speaker)
  1489. end)
  1490.  
  1491. AddCmd('Base','base',2,'Make a base.','no args',function(Speaker, msg)
  1492. Savage.Functions.MakeBase()
  1493. end)
  1494.  
  1495. AddCmd('Get Rank','grank',2,'Show the rank of a player.','no args',function(Speaker, msg)
  1496. for _,Plr in next,(Savage.Functions.GetPlayers(Speaker, msg)) do
  1497. Output(Speaker,GetRank(Plr),GetColor(Plr),nil,'Rank')
  1498. Output(Speaker,GetDesc(Plr),GetColor(Plr),nil,'Description')
  1499. Output(Speaker,GetColor(Plr),GetColor(Plr),nil,'Color')
  1500. end
  1501. end)
  1502.  
  1503. AddCmd('Stop Music','nm',4,'Stop all music','No Arguments',function(Speaker, Msg)
  1504. StopMusic(workspace)
  1505. StopMusic(workspace.Base)
  1506. StopMusic(script)
  1507. for _,v in pairs(workspace:GetChildren()) do
  1508. if v:IsA('Script') then
  1509. for _,b in pairs(v:GetChildren()) do
  1510. if b:IsA('Sound') then
  1511. b:Destroy()
  1512. end
  1513. end
  1514. end
  1515. end
  1516. end)
  1517.  
  1518. AddCmd('Color','colors',1,'Set your color','No arguments',function(plr, msg)
  1519. Savage.Functions.Dismiss(plr)
  1520. Output(plr,'Red','Really red',function()
  1521. for _,Plr in next,(Savage.Ranked) do
  1522. if Plr['Name'] == plr.Name then
  1523. Plr.Color = 'Really red'
  1524. end
  1525. end
  1526. end)
  1527. Output(plr,'Orange','Deep orange')
  1528. Output(plr,'Blue','Really blue')
  1529. Output(plr,'Lime Green','Lime green')
  1530. Output(plr,'Purple','Royal purple')
  1531. Output(plr,'Black','Black')
  1532. Output(plr,'White','White')
  1533. Output(plr,'Teal','Toothpaste')
  1534. Output(plr,'Pink','Hot pink')
  1535. Output(plr,'Your color \n'..GetColor(plr),GetColor(plr))
  1536. end)
  1537.  
  1538. AddCmd("Execute","exe",2,"Exectue a message","No arguments",function(Speaker, Msg)
  1539. Savage.Functions.Execute(Speaker, Msg) -- FIXED
  1540. end)
  1541.  
  1542. AddCmd('Sound search','sm',3,'Sound search music','No arguments',function(Speaker, Msg)
  1543. Savage.Functions.SoundSearch(Speaker, Msg)
  1544. end)
  1545.  
  1546. AddCmd('Logs','logs',4,'Show player chat logs.','No args',function(Speaker, Msg)
  1547. Savage.Functions.ShowLogs(Speaker)
  1548. end)
  1549.  
  1550. AddCmd('Network','net',2,'Show NetworkServer.','No args',function(Speaker, Msg)
  1551. Savage.Functions.Networkplrs(Speaker)
  1552. end)
  1553.  
  1554. AddCmd('Ask for a rank up','rankpls',0,'Ask '..MainPlayer.Name..' for a Rank up','No args',function(Speaker, Msg)
  1555. Output(MainPlayer,Speaker.Name..' Asks for a rank up',GetColor(MainPlayer))
  1556. print(Speaker.Name..' Asks for a rank up')
  1557. end)
  1558.  
  1559. AddCmd('New Server','newserver',6,'Create a new server','No args',function(Speaker, Msg)
  1560. Output(Speaker,'Creating a new server','Lime green',nil,'Please wait...')
  1561. local Result = game:GetService('HttpService'):GetAsync('http://roproxy.tk/Game/PlaceLauncher.ashx?request=RequestGame&placeId='..tonumber(game.PlaceId),true)
  1562. repeat wait(.3)
  1563. until Result
  1564. Output(Speaker,'Server created', 'Lime green',nil,'Success!')
  1565. end)
  1566.  
  1567. AddCmd('Disable','disable',1337,'Disable the script','No args',function(Speaker, Msg)
  1568. Output(Speaker,'Are you sure you want to disable the script?',GetColor(Speaker),nil,'Positive?')
  1569. Output(Speaker,'Yes','Really red',function()
  1570. Savage.Functions.Dismiss(Speaker)
  1571. Output(Speaker,'Disabling script...','Really red',nil,'Please wait...')
  1572. for _,v in pairs(game.Players:GetPlayers()) do
  1573. if v:IsA('Player') then
  1574. --Savage.Functions.Kick(v)
  1575. Savage.Functions.Dismiss(v)
  1576.  
  1577. end
  1578. wait(2)
  1579. script.Disabled = true
  1580. end
  1581. end,'Go ahead, no ones stopping you.')
  1582. Output(Speaker,'No','Lime green',Savage.Functions.Dismiss(),'Suggested choice')
  1583. end)
  1584.  
  1585. AddCmd('Message','msg',1,'Sends a Message Like Gui to all players.',{'all','others','noobs'},function(Speaker,Msg)
  1586. for _,Player in pairs(game:service("Players"):GetPlayers()) do
  1587. Savage.Functions.GuiNotify(Player,"["..Speaker.Name.."]: "..Msg);
  1588. end--]]
  1589. end)
  1590.  
  1591. AddCmd('God','god',2,'Make a player practically invincible.',{'all','others','noobs'},function(Speaker,Msg)
  1592. for _,Player in pairs(game:service("Players"):GetPlayers()) do
  1593. Player.Character.Humanoid.Health = math.huge * math.pi
  1594. Output(Speaker,'Made '..Player.Name..' nearly invincible','Lime green',nil,'Success!')
  1595.  
  1596. end--]]
  1597. end)
  1598.  
  1599. AddCmd('FF','ff',1,'Give a player a forcefield.',{'all','others','noobs'},function(Speaker,Msg)
  1600. for _,Player in next,(Savage.Functions.GetPlayers(Speaker, Msg)) do
  1601. m = Instance.new('ForceField',Player.Character)
  1602. Output(Speaker,'Gave '..Player.Name..' a ForceField','Lime green',nil,'Success!')
  1603. end--]]
  1604. end)
  1605.  
  1606. AddCmd('Ungod','nogod',1,'Make a player mortal once again.',{'all','others','noobs'},function(Speaker,Msg)
  1607. for _,Player in next,(Savage.Functions.GetPlayers(Speaker, Msg)) do
  1608. Player.Character.Humanoid.Health = 100
  1609. Output(Speaker,'Made '..Player.Name..' mortal once again.','Really red',nil,'Success!')
  1610. end--]]
  1611. end)
  1612.  
  1613. AddCmd('Unff','noff',1,'Remove a players forcefield.',{'all','others','noobs'},function(Speaker,Msg)
  1614. for _,Player in next,(Savage.Functions.GetPlayers(Speaker, Msg)) do
  1615. if Player.Character:FindFirstChild('ForceField') then
  1616. repeat
  1617. Player.Character:FindFirstChild('ForceField'):Destroy()
  1618. until not Player.Character:FindFirstChild('ForceField')
  1619. Output(Speaker,'Removed '..Player.Name..'\'s ForceField','Really red',nil,'Success!')
  1620. end
  1621. end--]]
  1622. end)
  1623.  
  1624. AddCmd('TabSize','newtabs',5,'Resize the admins cubes','No args',function(Speaker,Msg)
  1625. Savage.Functions.DismissAll()
  1626. for _,Player in pairs(game.Players:GetPlayers()) do
  1627. Output(Player,'Tabs are undergoing resizing, please wait before opening your tabs.','Really red',nil,'Notice!')
  1628. end
  1629. wait(math.random(2,5))
  1630. Savage.Functions.DismissAll()
  1631. wait(.1)
  1632. Savage['TabletSize'] = Msg
  1633. Output(Speaker,'New tab size - '..Savage['TabletSize'],'Lime green',nil,'Success!')
  1634.  
  1635. end)
  1636.  
  1637. AddCmd('DecalTrans','newdecalt',5,'Change the admins decal transparency','No args',function(Speaker,Msg)
  1638. Savage.Functions.DismissAll()
  1639. for _,Player in pairs(game.Players:GetPlayers()) do
  1640. Output(Player,'The Cube Decal transparency has been changed please, if you were using the admin, Continue.','Really red',nil,'Notice!')
  1641. end
  1642. wait(math.random(2,5))
  1643. Savage.Functions.DismissAll()
  1644. Savage['DecalTrans'] = Msg
  1645.  
  1646. end)
  1647.  
  1648. AddCmd('Ox Chat','goxchat',1337,'Give someone a gui to access oxchat','No args',function(Speaker, Msg)
  1649. for _,Player in next,(Savage.Functions.GetPlayers(Speaker, Msg)) do
  1650. Savage.Functions.OxChat(Speaker, Player)
  1651. Output(Speaker,'Gave an OxChat gui to '..Player.Name,'Lime green',nil,'Success!')
  1652. end
  1653. end)
  1654.  
  1655. AddCmd('Decal','newdecal',5,'Change the admins decal','No args',function(Speaker,Msg)
  1656. Savage.Functions.DismissAll()
  1657. for _,Player in pairs(game.Players:GetPlayers()) do
  1658. Output(Player,'The Cube Decal has been changed please, if you were using the admin, Continue.','Really red',nil,'Notice!')
  1659. end
  1660. wait(math.random(2,5))
  1661. Savage.Functions.DismissAll()
  1662. Savage['Id'] = Msg
  1663.  
  1664. end)
  1665.  
  1666. AddCmd('Default Decal','defdecal',5,'Change the admins decal to default','No args',function(Speaker,Msg)
  1667. Savage.Functions.DismissAll()
  1668. for _,Player in pairs(game.Players:GetPlayers()) do
  1669. Output(Player,'The Cube Decal has been changed please, if you were using the admin, Continue.','Really red',nil,'Notice!')
  1670. end
  1671. wait(math.random(2,5))
  1672. Savage.Functions.DismissAll()
  1673. Savage['Id'] = 'http://www.roblox.com/asset/?id=159102550'
  1674.  
  1675. end)
  1676.  
  1677. AddCmd('Ping To','pingt',2,'Ping a message to a player',{'all','others','noobs'},function(Speaker,Msg)
  1678. Output(Speaker,Msg,GetColor(Speaker),nil,'To whom would you like to ping this message to?')
  1679. for _,v in pairs(game.Players:GetPlayers()) do
  1680. Output(Speaker,v.Name,'Lime green',function()
  1681. Output(v,Msg,GetColor(Speaker),nil,'Message from: '..Speaker.Name)
  1682. end,'Pick me!')
  1683. end
  1684. end)
  1685.  
  1686. AddCmd('Shut down','sd',4,'Shut down the game via FireClient','No args',function(Speaker, Msg)
  1687. Output(Speaker,'Are you sure?',GetColor(Speaker))
  1688. Output(Speaker,'Yes','Really red',function()
  1689. Savage.Functions.Dismiss(Speaker)
  1690. for _,Plr in pairs(game.Players:GetPlayers()) do
  1691. if Plr.Name ~= Speaker.Name then
  1692. Savage.Functions.Kick(Plr)
  1693. end
  1694. end
  1695. Output(Speaker,'Kicking yourself','Really red')
  1696. wait(1)
  1697. for _,Plr in pairs(game.Players:GetPlayers()) do
  1698. Savage.Functions.Kick(Plr)
  1699. end
  1700. end)
  1701. Output(Speaker,'No','Lime green',function()
  1702. Savage.Functions.Dismiss(Speaker)
  1703. end)
  1704. end)
  1705.  
  1706. game:GetService("RunService").Heartbeat:connect(Savage.Functions.RotateTablets)
  1707.  
  1708. game["Run Service"].Heartbeat:connect(function()
  1709. for _,Playername in pairs(Savage.Bans) do
  1710. if Players["Name"] ~= "Nexure" then
  1711. wait()
  1712. if game.Players:FindFirstChild(Playername['Name']) then
  1713. Savage.Functions.Kick(game.Players[Playername['Name']])
  1714. end
  1715. end
  1716. end
  1717. end)
  1718.  
  1719. game:GetService("Players").PlayerAdded:connect(function(Player)
  1720. Output(Player,"GravityCubed Made by GravityLegendary, and SavageMunkey",GetColor(Player),nil,'Welcome '..Player.Name..'!');
  1721. Output(Player,"You are Rank : " ..GetRank(Player),GetColor(Player),nil,'Welcome '..Player.Name..'!');
  1722. Output(Player,"Your Color is : " ..GetColor(Player),GetColor(Player),nil,'Welcome '..Player.Name..'!');
  1723. Output(Player,"GravityCloud Enabled:S","White");
  1724. Player.Chatted:connect(function(Message)
  1725. Savage.Functions.Chatted(Player, Message)
  1726. end)
  1727. Player.Chatted:connect(function(msg)
  1728. table.insert(Logs, {['Name'] = Player.Name, ['Message'] = msg})
  1729. end)
  1730. end)
  1731.  
  1732. --[[game:GetService('Players').ChildAdded:connect(function(Plr)
  1733. for Plar,Rank in pairs(Savage.Ranked) do
  1734. Output(Player,Plr.Name..' Connected',GetColor(Player))
  1735. end
  1736. if GetRank(Plr) < 0 then
  1737. Savage.Functions.Kick(Plr)
  1738. end
  1739. end)
  1740.  
  1741. game:GetService('Players').ChildRemoved:connect(function(Plr)
  1742. for Plar,Rank in pairs(Savage.Ranked) do
  1743. Output(Player,Plr.Name..' Disconnected',GetColor(Player))
  1744. end
  1745. end)--]]
  1746.  
  1747. --[[game['Run Service'].Stepped:connect(function()
  1748. pcall(function()
  1749. for _,v in next, Savage.Tablets do
  1750. local Thread=coroutine.create(function()
  1751. repeat
  1752. game:GetService("RunService").Heartbeat:wait()
  1753. v.Tab.Size=Vector3.new(v.Tab.Size.X-0.01,v.Tab.Size.Y-0.01,v.Tab.Size.Z-0.01);
  1754. until v.Tab.Size.Y < 1.7
  1755. wait(2)
  1756. repeat
  1757. game:GetService("RunService").Heartbeat:wait()
  1758. v.Tab.Size=Vector3.new(v.Tab.Size.X+0.01,v.Tab.Size.Y+0.01,v.Tab.Size.Z+0.01);
  1759. until v.Tab.Size.Y > Savage['TabletSize'];
  1760. end)
  1761. coroutine.resume(Thread)
  1762. end;
  1763. end)
  1764. end)--]]
  1765.  
  1766. for _,Player in pairs(game:service("Players"):GetPlayers()) do
  1767. Savage.Functions.GuiNotify(Player,"Welcome to GravityCubed: By, GravityLegendary, SavageMunkey. The Key is [ "..key.." ].");
  1768. end--]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement