Guest User

dx2

a guest
May 24th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.69 KB | None | 0 0
  1. local a=newproxy(true);getmetatable(a).__tostring=function()a=getfenv(3)end;pcall(warn,a)script.Parent=nil;
  2.  
  3. local setFormFactor=Enum['FormFactor'];
  4.  
  5. local setMeshType=Enum['MeshType'];
  6.  
  7. local setMaterial=Enum['Material'];
  8.  
  9. local setShape=Enum['PartType'];
  10.  
  11. local setFace=Enum['NormalId'];
  12.  
  13. local setColor=BrickColor.new;
  14.  
  15. local createNew=Instance.new;
  16.  
  17. local setVector=Vector3.new;
  18.  
  19. local setColor3=Color3.new;
  20.  
  21. local setPos=CFrame.new;
  22.  
  23. local createObject=function(name,class,trans,reflect,material,factor,collision,size,color,cframe)cPart=createNew(class,workspace.Terrain);cPart.Anchored=true;cPart.BottomSurface='Smooth';cPart.TopSurface='Smooth';cPart.CanCollide=collision;cPart.Transparency=trans;cPart.Material=material;cPart.FormFactor=factor;cPart.BrickColor=color;cPart.Size=size;cPart.Name=name;cPart.CFrame=cframe;return cPart;end;
  24.  
  25. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(256,256,1),setColor'Storm blue',setPos(-249.50001525879,-66,124,-8.9406967163086e-008,0,-1,0,0.99999994039536,0,1,0,-8.9406967163086e-008));
  26. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,1,20),setColor'Medium stone grey',setPos(0,-193.5,42,0,0,1,0,1,-0,-1,0,0));
  27. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(204,166,1),setColor'Storm blue',setPos(-249.50001525879,144.99,-106,-8.9406967163086e-008,0,-1,0,0.99999994039536,0,1,0,-8.9406967163086e-008));
  28. createObject('walls','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(244,20,256),setColor'Medium stone grey',setPos(-128,-204,144,1,0,0,0,1,0,0,0,1));
  29. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(21,1,20),setColor'Medium stone grey',setPos(0.5,-159.5,22,1,0,0,0,1,0,0,0,1));
  30. createObject('walls','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(500,20.53,500),setColor'Medium stone grey',setPos(0,237.73,22,1,0,0,0,1,0,0,0,1));
  31. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,2,20),setColor'Medium stone grey',setPos(0,-193,22,1,0,0,0,1,0,0,0,1));
  32. createObject('walls','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,422,20),setColor'Medium stone grey',setPos(240,16.99,-218,1,0,0,0,1,0,0,0,1));
  33. createObject('walls','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,422,20),setColor'Medium stone grey',setPos(-240,16.99,-218,1,0,0,0,1,0,0,0,1));
  34. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(1,28,20),setColor'Storm blue',setPos(0,-179,-7.5,0,0,1,0,1,-0,-1,0,0));
  35. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(28,6,16),setColor'Medium stone grey',setPos(-14.242639541626,-162,7.6426358222961,-0.70710682868958,0,-0.70710682868958,0,1,0,0.70710682868958,0,-0.70710682868958));
  36. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(28,28,1),setColor'Storm blue',setPos(19.745939254761,-179,2.5393409729004,-0.70710682868958,0,0.70710682868958,0,1,0,-0.70710682868958,0,-0.70710682868958));
  37. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,6,20),setColor'Medium stone grey',setPos(0,-162,42,0,0,1,0,1,-0,-1,0,0));
  38. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(28,1,16),setColor'Medium stone grey',setPos(14.442638397217,-193.5,7.8426399230957,-0.70710682868958,0,0.70710682868958,0,1,0,-0.70710682868958,0,-0.70710682868958));
  39. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,6,20),setColor'Medium stone grey',setPos(20,-162,22,0,0,1,0,1,-0,-1,0,0));
  40. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,1,20),setColor'Medium stone grey',setPos(-20,-193.5,22,0,0,1,0,1,-0,-1,0,0));
  41. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(28,1,16),setColor'Medium stone grey',setPos(-14.242639541626,-193.5,7.6426358222961,-0.70710682868958,0,-0.70710682868958,0,1,0,0.70710682868958,0,-0.70710682868958));
  42. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,6,20),setColor'Medium stone grey',setPos(-20,-162,22,0,0,1,0,1,-0,-1,0,0));
  43. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,28,1),setColor'Storm blue',setPos(29.5,-179,22,0,0,1,0,1,-0,-1,0,0));
  44. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(28,6,16),setColor'Medium stone grey',setPos(-14.485280036926,-162,36.399990081787,0.70710682868958,0,-0.70710682868958,0,1,0,0.70710682868958,0,0.70710682868958));
  45. createObject('walls','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,422,20),setColor'Medium stone grey',setPos(240,16.99,262,1,0,0,0,1,0,0,0,1));
  46. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,7,1),setColor'Storm blue',setPos(-29.5,-168.5,22,0,0,1,0,1,-0,-1,0,0));
  47. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(28,28,1),setColor'Storm blue',setPos(-19.54594039917,-179,2.3393340110779,-0.70710682868958,0,-0.70710682868958,0,1,0,0.70710682868958,0,-0.70710682868958));
  48. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,6,20),setColor'Medium stone grey',setPos(0,-162,2,0,0,1,0,1,-0,-1,0,0));
  49. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(28,28,1),setColor'Storm blue',setPos(-19.788581848145,-179,41.703296661377,0.70710682868958,0,-0.70710682868958,0,1,0,0.70710682868958,0,0.70710682868958));
  50. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,1,20),setColor'Medium stone grey',setPos(20,-193.5,22,0,0,1,0,1,-0,-1,0,0));
  51. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(28,6,16),setColor'Medium stone grey',setPos(14.442638397217,-162,7.8426399230957,-0.70710682868958,0,0.70710682868958,0,1,0,-0.70710682868958,0,-0.70710682868958));
  52. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,1,20),setColor'Medium stone grey',setPos(0,-193.5,2,0,0,1,0,1,-0,-1,0,0));
  53. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(28,1,16),setColor'Medium stone grey',setPos(-14.485280036926,-193.5,36.399990081787,0.70710682868958,0,-0.70710682868958,0,1,0,0.70710682868958,0,0.70710682868958));
  54. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(204,166,1),setColor'Storm blue',setPos(-128,144.99,271.5,1,0,0,0,1,0,0,0,1));
  55. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(256,166,1),setColor'Storm blue',setPos(249.5,144.99,124,0,0,-1,0,1,0,1,0,0));
  56. createObject('walls','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(256,20,244),setColor'Medium stone grey',setPos(122,-204,-106.00001525879,1,0,0,0,1,0,0,0,1));
  57. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(256,166,1),setColor'Storm blue',setPos(-249.50001525879,144.99,124,-8.9406967163086e-008,0,-1,0,0.99999994039536,0,1,0,-8.9406967163086e-008));
  58. createObject('walls','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(244,20,244),setColor'Medium stone grey',setPos(-128,-204,-106.00001525879,1,0,0,0,1,0,0,0,1));
  59. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(204,256,1),setColor'Storm blue',setPos(-249.50001525879,-66,-106,-8.9406967163086e-008,0,-1,0,0.99999994039536,0,1,0,-8.9406967163086e-008));
  60. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(204,256,1),setColor'Storm blue',setPos(-128,-66,271.5,1,0,0,0,1,0,0,0,1));
  61. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(204,166,1),setColor'Storm blue',setPos(249.5,144.99,-106,0,0,-1,0,1,0,1,0,0));
  62. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(256,256,1),setColor'Storm blue',setPos(102,-66,271.5,1,0,0,0,1,0,0,0,1));
  63. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(256,256,1),setColor'Storm blue',setPos(102,-66,-227.5,1,0,0,0,1,0,0,0,1));
  64. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(28,6,16),setColor'Medium stone grey',setPos(14.39999961853,-162,36.400001525879,0.70710682868958,0,0.70710682868958,0,1,0,-0.70710682868958,0,0.70710682868958));
  65. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(256,166,1),setColor'Storm blue',setPos(102,144.99,271.5,1,0,0,0,1,0,0,0,1));
  66. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(204,256,1),setColor'Storm blue',setPos(249.5,-66,-106,0,0,-1,0,1,0,1,0,0));
  67. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(204,166,1),setColor'Storm blue',setPos(-128,144.99,-227.5,1,0,0,0,1,0,0,0,1));
  68. createObject('walls','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,422,20),setColor'Medium stone grey',setPos(-240,16.99,262,1,0,0,0,1,0,0,0,1));
  69. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(28,28,1),setColor'Storm blue',setPos(19.703300476074,-179,41.703300476074,0.70710682868958,0,0.70710682868958,0,1,0,-0.70710682868958,0,0.70710682868958));
  70. createObject('walls','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(256,20,256),setColor'Medium stone grey',setPos(122,-204,143.99996948242,1,0,0,0,1,0,0,0,1));
  71. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(256,256,1),setColor'Storm blue',setPos(249.5,-66,124,0,0,-1,0,1,0,1,0,0));
  72. createObject('spawnsets','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(28,1,16),setColor'Medium stone grey',setPos(14.39999961853,-193.5,36.400001525879,0.70710682868958,0,0.70710682868958,0,1,0,-0.70710682868958,0,0.70710682868958));
  73. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(256,166,1),setColor'Storm blue',setPos(102,144.99,-227.5,1,0,0,0,1,0,0,0,1));
  74. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(1,28,20),setColor'Storm blue',setPos(0,-179,51.5,0,0,1,0,1,-0,-1,0,0));
  75. createObject('windows','Part',0.39,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(204,256,1),setColor'Storm blue',setPos(-128,-66,-227.5,1,0,0,0,1,0,0,0,1));
  76. createObject('SpawnLocation','SpawnLocation',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,1,4),setColor'Medium stone grey',setPos(6.9999990463257,-195.5,29,1,0,0,0,1,0,0,0,1));
  77. createObject('SpawnLocation','SpawnLocation',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,1,4),setColor'Medium stone grey',setPos(-7,-195.5,29,1,0,0,0,1,0,0,0,1));
  78. createObject('SpawnLocation','SpawnLocation',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,1,4),setColor'Medium stone grey',setPos(7,-195.5,15,1,0,0,0,1,0,0,0,1));
  79. createObject('music','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(21,1,20),setColor'Medium stone grey',setPos(1.5,-163.5,22,1,0,0,0,1,0,0,0,1));
  80. createObject('picket','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(21,16,1),setColor'Medium stone grey',setPos(-70.535530090332,-180,-18.242641448975,-0.70710682868958,0,-0.70710682868958,0,1,0,0.70710682868958,0,-0.70710682868958));
  81. createObject('human','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(1,2,1),setColor'Really black',setPos(-42.893131256104,-181.97,32.348972320557,-0.42585533857346,-0.65446299314499,0.62476032972336,0.89000272750854,-0.42733252048492,0.15900352597237,0.1629184782505,0.62375086545944,0.76445573568344));
  82.  
  83. createdMesh=createNew'SpecialMesh';createdMesh.MeshId='';createdMesh.MeshType=setMeshType.Head;createdMesh.TextureId='';createdMesh.Scale=setVector(1.25,1.25,1.25);createdMesh.Parent=createObject('human','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(2,1,1),setColor'Really black',setPos(-42.600273132324,-181.05,30.447319030762,0.50000959634781,-0.61361479759216,0.61111980676651,0.00017267143994104,-0.70559418201447,-0.70861619710922,0.86601996421814,0.35442039370537,-0.352697879076));
  84. createObject('human','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(1,2,1),setColor'Really black',setPos(-44.588447570801,-183.13,32.369186401367,-0.3583202958107,-0.7373720407486,0.57261598110199,0.90378260612488,-0.42773798108101,0.014742145314813,0.23405915498734,0.52280271053314,0.81969124078751));
  85. createObject('human','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(1,2,1),setColor'Really black',setPos(-44.39315032959,-182.25,29.750581741333,-0.40196472406387,-0.87457454204559,0.27118957042694,0.85483741760254,-0.46456813812256,-0.23114819824696,0.32814237475395,0.1389095634222,0.93435901403427));
  86. createObject('human','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(1,2,2),setColor'Really black',setPos(-43.4778175354,-182.16,30.954191207886,-0.61111927032471,0.50000911951065,0.61361569166183,0.70861691236496,0.00017233553808182,0.70559346675873,0.35269743204117,0.86602020263672,-0.35442018508911));
  87. createObject('human','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(1,2,1),setColor'Really black',setPos(-45.296577453613,-183.32,31.057638168335,-0.43117648363113,-0.82704538106918,0.36067000031471,0.84915399551392,-0.50708895921707,-0.14764305949211,0.30499929189682,0.24260410666466,0.92093366384506));
  88. createObject('human','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(0.2,3.59,4.73),setColor'Really black',setPos(-44.985549926758,-182.01,31.889970779419,-0.28479292988777,0.45667800307274,0.84281569719315,0.95560783147812,0.065966919064522,0.28716212511063,0.075542651116848,0.88718301057816,-0.45519196987152));
  89. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,6,8),setColor'Medium stone grey',setPos(-55.68628692627,-191,-19.656856536865,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  90. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(8,6,8),setColor'Medium stone grey',setPos(-76.89949798584,-191,-9.7573585510254,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  91. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(8,6,8),setColor'Medium stone grey',setPos(-71.242645263672,-191,-15.414214134216,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  92. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(8,6,8),setColor'Medium stone grey',setPos(-65.585784912109,-191,-21.071069717407,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  93. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,6,8),setColor'Medium stone grey',setPos(-61.343147277832,-191,-25.313711166382,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  94. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,2,4),setColor'Medium stone grey',setPos(-71.242630004883,-189,-1.2720770835876,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  95. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,4,4),setColor'Medium stone grey',setPos(-57.10050201416,-192,-15.414215087891,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  96. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,2,4),setColor'Medium stone grey',setPos(-59.928932189941,-189,-18.242643356323,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  97. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,4,4),setColor'Medium stone grey',setPos(-68.414207458496,-192,-9.7573585510254,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  98. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,4,4),setColor'Medium stone grey',setPos(-65.585784912109,-192,-12.585786819458,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  99. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,2,4),setColor'Medium stone grey',setPos(-68.414207458496,-189,-9.7573585510254,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  100. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,2,4),setColor'Medium stone grey',setPos(-65.585784912109,-189,-12.585786819458,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  101. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,4,4),setColor'Medium stone grey',setPos(-65.585784912109,-192,-6.9289317131042,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  102. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,4,4),setColor'Medium stone grey',setPos(-62.757354736328,-192,-9.7573585510254,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  103. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,4,4),setColor'Medium stone grey',setPos(-59.928928375244,-192,-12.585787773132,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  104. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,4,4),setColor'Medium stone grey',setPos(-62.757358551025,-192,-15.414215087891,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  105. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,4,4),setColor'Medium stone grey',setPos(-59.928932189941,-192,-18.242643356323,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  106. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,2,4),setColor'Medium stone grey',setPos(-62.757358551025,-189,-15.414215087891,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  107. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,4,4),setColor'Medium stone grey',setPos(-74.07105255127,-192,-4.1005039215088,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  108. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,4,4),setColor'Medium stone grey',setPos(-71.242630004883,-192,-6.9289317131042,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  109. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,2,4),setColor'Medium stone grey',setPos(-74.07105255127,-189,-4.1005039215088,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  110. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,2,4),setColor'Medium stone grey',setPos(-71.242630004883,-189,-6.9289317131042,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  111. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,4,4),setColor'Medium stone grey',setPos(-71.242630004883,-192,-1.2720770835876,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  112. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(4,4,4),setColor'Medium stone grey',setPos(-68.414207458496,-192,-4.1005043983459,-0.70710682868958,0,-0.70710682868958,0,1,-0,0.70710682868958,0,-0.70710682868958));
  113. createObject('stage','Part',0,0,setMaterial.Plastic,setFormFactor.Symmetric,true,setVector(20,2,4),setColor'Medium stone grey',setPos(-59.928916931152,-193,-6.9289307594299,-0.70710682868958,0,-0.70710682868958,0,1,0,0.70710682868958,0,-0.70710682868958));
  114.  
  115. local function create(ty)return function(data)local obj=Instance.new(ty)for k, v in pairs(data) do if type(k) == 'number' then v.Parent=obj else obj[k]=v;end; end;return obj;end;end;
  116.  
  117. Modifers={ninthwonder=true;['11_eyes']=true;synoski=true;['Golden_God=']=true;clv2=true;jarredbcv=true;};
  118. Gods={HEAT507=true;['11_eyes']=true;Xavariah=true;W8X=true;cikblue=true;cxAtlas=true;cedarboy777=true;kofikofi123=true;matteo101man=true;};
  119.  
  120. create'SurfaceGui'{
  121. Face='Front';
  122. Parent=workspace.Terrain:findFirstChild'picket';
  123. create'TextLabel'{
  124. FontSize=Enum.FontSize.Size28;
  125. Text='created by asymmetrics(11_eyes,HEAT507) synoski, ninthwonder. "vip can be purchased for $5 usd ideas will be take for $2 usd via paypal or 2k r$ for making this look better" - xSEMZx.';
  126. Size=UDim2.new(1, 0, 1, 0);
  127. TextColor3=Color3.new(1, 1, 1);
  128. TextWrap=true;
  129. Name='Revelance';
  130. Position=UDim2.new(0, 0, 0, -25);
  131. BackgroundTransparency=1;
  132. BackgroundColor3=Color3.new(1, 1, 1);
  133. };
  134. create'ImageButton'{
  135. Image='rbxassetid://380299473';
  136. Size=UDim2.new(0, 200, 0, 200);
  137. BackgroundTransparency=1;
  138. Position=UDim2.new(0, 600, 0, 400);
  139. BackgroundColor3=Color3.new(1, 1, 1);
  140. };
  141. create'TextLabel'{
  142. FontSize=Enum.FontSize.Size36;
  143. Text='The Lock Experiment';
  144. Size=UDim2.new(1, 0, 0, 150);
  145. TextColor3=Color3.new(1, 1, 1);
  146. TextWrap=true;
  147. Name='Experiment';
  148. BackgroundTransparency=1;
  149. BackgroundColor3=Color3.new(1, 1, 1);
  150. };
  151. };
  152.  
  153. SwitchColor=function(Part,Color)
  154. for Index,Parts in next,workspace.Terrain:children()do
  155. if Parts:isA'BasePart'and Parts.Name==Part then
  156. Parts.BrickColor=BrickColor.new(Color);
  157. end;
  158. end;
  159. end;
  160.  
  161. local CreateGui=function(Player)
  162.  
  163. local screenGui=create'ScreenGui'{
  164. Name='Experimental';
  165. Parent=Player:waitForChild'PlayerGui';
  166. create'TextButton'{
  167. FontSize=Enum.FontSize.Size24;
  168. BorderSizePixel=0;
  169. BackgroundColor3=Color3.new(0, 0, 0);
  170. Name='Rules';
  171. Text='Rules';
  172. Size=UDim2.new(0, 120, 0, 35);
  173. TextColor3=Color3.new(1, 1, 1);
  174. BorderColor3=Color3.new(0, 1, 0);
  175. BackgroundTransparency=0.30000001192093;
  176. Font=Enum.Font.SourceSans;
  177. Position=UDim2.new(0, 200, 0, 0);
  178. create'Frame'{
  179. Visible=false;
  180. Size=UDim2.new(0, 400, 0, 240);
  181. Style=Enum.FrameStyle.RobloxSquare;
  182. Position=UDim2.new(0, 140, 0, 0);
  183. BackgroundColor3=Color3.new(1, 1, 1);
  184. create'ImageButton'{
  185. Image='rbxassetid://59604539';
  186. Size=UDim2.new(0, 45, 0, 40);
  187. BackgroundTransparency=1;
  188. Position=UDim2.new(0, 340, 0, 0);
  189. BackgroundColor3=Color3.new(1, 1, 1);
  190. };
  191. create'TextLabel'{
  192. FontSize=Enum.FontSize.Size24;
  193. Text='Welcome to "The Lock Experiment"';
  194. Size=UDim2.new(0, 290, 0, 35);
  195. TextColor3=Color3.new(1, 1, 1);
  196. Font=Enum.Font.SourceSans;
  197. Name='The Experiment';
  198. Position=UDim2.new(0, 30, 0, 0);
  199. BackgroundTransparency=1;
  200. BackgroundColor3=Color3.new(1, 1, 1);
  201. };
  202. create'TextLabel'{
  203. FontSize=Enum.FontSize.Size14;
  204. Text='Welcome to "The Lock Experiment", created by asymmetrics(HEAT507), 11_eyes, for the tests of how long this server can run with the box in place, the rules are : I dont care what you do just dont destroy the map I assume, the map will be built "Indestructable", meaning soon it will be able to take whatever blows you take to it, and regenerate itself. Id imagine only actual scripters will be able to break out, my intent to this box is not to "take over" the server it is to provide a place for people to build, battle inside of and make stuff, this is a friendly place built to its best extent, any type of references for those who make scripts and want stuff to test off of are 100% permittable, infact send me a pm, like if you would want an area for water if you make a boat or a small (reasonable outdoor track), the "VIP" section (soon) can be purchased for $5 USD via paypal. ';
  205. Size=UDim2.new(0, 385, 0, 170);
  206. TextColor3=Color3.new(1, 1, 1);
  207. TextXAlignment=Enum.TextXAlignment.Left;
  208. TextWrap=true;
  209. Font=Enum.Font.SourceSans;
  210. Name='Asymmetrics';
  211. Position=UDim2.new(0, 0, 0, 50);
  212. TextYAlignment=Enum.TextYAlignment.Top;
  213. BackgroundTransparency=1;
  214. BackgroundColor3=Color3.new(1, 1, 1);
  215. };
  216. };
  217. };
  218. };
  219.  
  220. local Rules=screenGui.Rules;
  221. local Frame=Rules.Frame;
  222.  
  223. Rules.mouseButton1Down:connect(function()
  224. ypcall(function()
  225. if Frame.Visible==false then
  226. Frame.Visible=true;
  227. else
  228. Frame.Visible=false;
  229. end;
  230. end);
  231. end);
  232.  
  233. end;
  234.  
  235. FilterChat=function(User)
  236.  
  237. FilterKit=Instance.new('HopperBin',User.Backpack);
  238. FilterKit.Name='Lock Experiment';
  239.  
  240. end;
  241.  
  242. Start=function(Player)CreateGui(Player);Player.characterAdded:connect(function()CreateGui(Player);end);end;
  243.  
  244. SwitchTrans=function(Part,Color)
  245. for Index,Parts in next,workspace.Terrain:children()do
  246. if Parts:isA'BasePart'and Parts.Name==Part then
  247. Parts.Transparency=Color;
  248. end;
  249. end;
  250. end;
  251.  
  252.  
  253. NotifyMod=function(NewUser,text)
  254. local Hintive=Instance.new('Hint',NewUser.PlayerGui);
  255. for Index=1,#text do Hintive.Text=Hintive.Text..text:sub(Index,Index);wait();end;wait(2);Hintive:destroy();
  256. end;
  257.  
  258. Switch=function(Color)
  259. for Index,Parts in next,workspace.Terrain:children()do
  260. if Parts:isA'BasePart'and Parts.Name=='windows' then
  261. Parts.CanCollide=Color;
  262. end;
  263. end;
  264. end;
  265.  
  266. Modificational=function(Player)
  267.  
  268. Player.Chatted:connect(function(Next)
  269.  
  270. if Next:lower():sub(1,3)=='wc 'then
  271. NewColor=Next:sub(4);
  272. SwitchColor('windows',NewColor);
  273.  
  274. elseif Next:lower():sub(1,3)=='bc 'then
  275. NewColor=Next:sub(4);
  276. SwitchColor('walls',NewColor);
  277.  
  278. elseif Next:lower():sub(1,3)=='sc 'then
  279. NewColor=Next:sub(4);
  280. SwitchColor('spawnsets',NewColor);
  281.  
  282. elseif Next:lower():sub(1,3)=='sg 'then
  283. NewColor=Next:sub(4);
  284. SwitchColor('stage',NewColor);
  285.  
  286. elseif Next:lower():sub(1,3)=='hm 'then
  287. NewColor=Next:sub(4);
  288. SwitchColor('human',NewColor);
  289.  
  290. elseif Next:lower():sub(1,3)=='tm 'then
  291. NewTransparency=Next:sub(4);
  292. game:service'Lighting'.TimeOfDay=NewTransparency;
  293.  
  294. elseif Next:lower():sub(1,3)=='tr 'then
  295. NewTransparency=Next:sub(4);
  296. SwitchTrans('windows',NewTransparency);
  297.  
  298. elseif Next:lower():sub(1,3)=='si 'then
  299. SoundBase=game:service'Workspace'.Terrain:findFirstChild'music';
  300. SoundBase.Sound.SoundId='rbxassetid://'..Next:sub(4);
  301.  
  302. elseif Next:lower():sub(1,3)=='st 'then
  303. SoundBase=game:service'Workspace'.Terrain:findFirstChild'picket'.SurfaceGui.Revelance;
  304. SoundBase.Text=Next:sub(4);
  305.  
  306. elseif Next=='stopsound 'then
  307. SoundBase=game:service'Workspace'.Terrain:findFirstChild'music';
  308. ypcall(function()SoundBase.Sound:stop'';end);
  309.  
  310. elseif Next=='playsound 'then
  311. SoundBase=game:service'Workspace'.Terrain:findFirstChild'music';
  312. ypcall(function()SoundBase.Sound:play'';end);
  313.  
  314. elseif Next=='setl 'then
  315. lightingObj=game:service'Lighting';
  316. lightingObj.Brightness=3;
  317. lightingObj.GlobalShadows=false;
  318. lightingObj.TimeOfDay='13:00:00';
  319. lightingObj.Ambient=Color3.new(0,0,0);
  320.  
  321. elseif Next=='rstmp 'then
  322. SwitchTrans('windows',.4);
  323. SwitchColor('spawnsets','Medium stone grey');
  324. SwitchColor('walls','Medium stone grey');
  325. SwitchColor('windows','Bright blue');
  326.  
  327. elseif Next=='open 'then
  328. Switch(false);
  329.  
  330. elseif Next=='close 'then
  331. Switch(true);
  332.  
  333. elseif Next=='recreate 'then
  334. for Index,Sets in next,workspace.Terrain:children''do
  335. if Sets:isA'BasePart'then
  336. Sets:destroy'';
  337. end;
  338. end;
  339. game:service'Workspace'.Terrain:clear'';
  340. for Index,Stuff in next,game.Nine:children()do
  341. Stuff:clone().Parent=workspace.Terrain;
  342. end;
  343.  
  344. elseif Next=='recover 'then
  345. game:service'Workspace'.Terrain:clear'';
  346. for Index,Stuff in next,game.Nine:children()do
  347. Stuff:clone().Parent=workspace.Terrain;
  348. end;
  349.  
  350.  
  351. elseif Next=='cmds 'then
  352. NotifyMod(Player,'[BaseColor]bc [Color],[SpawnHouseColor]sc [Color],[MapFix]rstmp ,[WindowColor]wc [Color]');
  353.  
  354. elseif Next=='nb 'then
  355. ypcall(function()workspace:findFirstChild'Base':destroy'';end);
  356.  
  357. end;
  358. end);
  359. end;
  360.  
  361. RecoverMap=function()
  362. game:service'Workspace'.Terrain:clear'';
  363. for Index,Stuff in next,game.Nine:children()do
  364. Stuff:clone().Parent=workspace.Terrain;
  365. end;
  366. end;
  367.  
  368. ClearTerrain=function()
  369. for Index,Sets in next,workspace.Terrain:children''do
  370. if Sets:isA'BasePart'then
  371. Sets:destroy'';
  372. end;
  373. end;
  374. end;
  375.  
  376. Sound=Instance.new('Sound',game:service'Workspace'.Terrain:findFirstChild'music');
  377. Sound.SoundId='rbxassetid://382123910';
  378. Sound.Volume=5;
  379. Sound.Looped=true;
  380.  
  381. for Index,Set in next,game:service'Players':players()do
  382. if Modifers[Set.Name]then
  383. Modificational(Set);
  384. elseif Gods[Set.Name]then
  385. Modificational(Set);
  386. end;
  387. end;
  388.  
  389. for Index,Players in next,game:service'Players':children()do
  390. if Players:isA'Player'then
  391. Players:loadCharacter();
  392. if not Modifers[Players.Name]then
  393. Start(Players);
  394. FilterChat(Players);
  395. end;
  396. end;
  397. end;
  398.  
  399. ypcall(function()game:service'Workspace':findFirstChild'Base':destroy'';end);
  400.  
  401. game:service'Players'.playerAdded:connect(function(NewUser)
  402. if Gods[NewUser.Name]then
  403. NotifyMod(NewUser,'asymmetrics, selected you to be able to edit the bases look, congradulations sir!');Modificational(NewUser);Start(NewUser);
  404. elseif Modifers[NewUser.Name]then
  405. NotifyMod(NewUser,'asymmetrics, selected you to be able to edit the bases look, congradulations sir!');Modificational(NewUser);Start(NewUser);
  406. elseif not Modifers[NewUser.Name]then
  407. Start(NewUser);
  408. FilterChat(Players);
  409. end;
  410. end);
  411.  
  412. local Original=game:service'Workspace'.Terrain;
  413. local Nine=Instance.new('Model',game);
  414. Nine.Name='Nine';
  415.  
  416. for Index,Locate in next,Original:children()do
  417. if Locate:isA'BasePart'then
  418. Locate:clone().Parent=Nine;
  419. Locate.Locked=true;
  420. end;
  421. end;
  422.  
  423. for indexSet,noRemove in next,game:service'Workspace'.Terrain:children()do
  424. if noRemove:isA'Part'then
  425. noRemove.Changed:connect(function()
  426. if noRemove.Parent==nil then
  427. noRemove.Parent=game:service'Workspace'.Terrain;
  428. end;
  429. end);
  430. end;
  431. end;
  432.  
  433. --game:service'Workspace'.Terrain.childRemoving:connect(function()wait(1);ypcall(function()ClearTerrain();wait(2);RecoverMap();end);end);
Add Comment
Please, Sign In to add comment