Advertisement
Diamond_Nicholas

map 9

Feb 10th, 2020
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.14 KB | None | 0 0
  1.  
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(Enum,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. local chil = workspace:GetChildren()
  19. for i,v in pairs(chil) do
  20. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  21. v:Destroy()
  22. end
  23. end
  24. Camera0 = Instance.new("Camera")
  25. Model1 = Instance.new("Model")
  26. Model2 = Instance.new("Model")
  27. Folder3 = Instance.new("Folder")
  28. Part4 = Instance.new("Part")
  29. Part5 = Instance.new("Part")
  30. SelectionBox6 = Instance.new("SelectionBox")
  31. Script7 = Instance.new("Script")
  32. Part8 = Instance.new("Part")
  33. SelectionBox9 = Instance.new("SelectionBox")
  34. Part10 = Instance.new("Part")
  35. SelectionBox11 = Instance.new("SelectionBox")
  36. Camera0.Parent = mas
  37. Camera0.CFrame = CFrame.new(-101.816277, 337.09198, -133.507217, -0.61182338, 0.777958632, -0.143012881, -0, 0.180801392, 0.983519673, 0.790994465, 0.60174036, -0.110618502)
  38. Camera0.CoordinateFrame = CFrame.new(-101.816277, 337.09198, -133.507217, -0.61182338, 0.777958632, -0.143012881, -0, 0.180801392, 0.983519673, 0.790994465, 0.60174036, -0.110618502)
  39. Camera0.Focus = CFrame.new(-101.530251, 335.124939, -133.28598, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  40. Camera0.focus = CFrame.new(-101.530251, 335.124939, -133.28598, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  41. Model1.Archivable = false
  42. Model1.Name = "Buildv4MouseFilter"
  43. Model1.Parent = Camera0
  44. Model1.archivable = false
  45. Model2.Archivable = false
  46. Model2.Name = "Buildv4LocalParts"
  47. Model2.Parent = Camera0
  48. Model2.archivable = false
  49. Folder3.Name = "Frame3DFolder"
  50. Folder3.Parent = Camera0
  51. Part4.Name = "Baseplate"
  52. Part4.Parent = mas
  53. Part4.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  54. Part4.Position = Vector3.new(0, -10, 0)
  55. Part4.Color = Color3.new(0.388235, 0.372549, 0.384314)
  56. Part4.Size = Vector3.new(512, 20, 512)
  57. Part4.Anchored = true
  58. Part4.BrickColor = BrickColor.new("Dark stone grey")
  59. Part4.Locked = true
  60. Part4.brickColor = BrickColor.new("Dark stone grey")
  61. Part4.FormFactor = Enum.FormFactor.Symmetric
  62. Part4.formFactor = Enum.FormFactor.Symmetric
  63. Part5.Name = "OutLined Brick"
  64. Part5.Parent = mas
  65. Part5.CFrame = CFrame.new(0.0499725342, 0.579999506, 0.560112, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  66. Part5.Position = Vector3.new(0.0499725342, 0.579999506, 0.560112)
  67. Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  68. Part5.Size = Vector3.new(511.959869, 1.15999901, 516.739807)
  69. Part5.Anchored = true
  70. Part5.BottomSurface = Enum.SurfaceType.Smooth
  71. Part5.BrickColor = BrickColor.new("Really black")
  72. Part5.Material = Enum.Material.Neon
  73. Part5.TopSurface = Enum.SurfaceType.Smooth
  74. Part5.brickColor = BrickColor.new("Really black")
  75. Part5.FormFactor = Enum.FormFactor.Symmetric
  76. Part5.formFactor = Enum.FormFactor.Symmetric
  77. SelectionBox6.Parent = Part5
  78. SelectionBox6.Color = BrickColor.new("Really red")
  79. SelectionBox6.Color3 = Color3.new(1, 0, 0)
  80. SelectionBox6.Adornee = Part5
  81. Script7.Parent = Part5
  82. table.insert(cors,sandbox(Script7,function()
  83. local s = Instance.new("Sound")
  84.  
  85. s.Name = "Sound"
  86. s.SoundId = "rbxassetid://234033735"
  87. s.Volume = 1
  88. s.Looped = true
  89. s.archivable = false
  90.  
  91. s.Parent = game.Workspace
  92.  
  93. wait()
  94.  
  95. s:play()
  96. end))
  97. Part8.Name = "OutLined Brick"
  98. Part8.Parent = mas
  99. Part8.CFrame = CFrame.new(-109.07991, 25.3649979, 94.555191, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  100. Part8.Position = Vector3.new(-109.07991, 25.3649979, 94.555191)
  101. Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  102. Part8.Size = Vector3.new(43.9998703, 48.409996, 56.9296684)
  103. Part8.Anchored = true
  104. Part8.BottomSurface = Enum.SurfaceType.Smooth
  105. Part8.BrickColor = BrickColor.new("Really black")
  106. Part8.Material = Enum.Material.Neon
  107. Part8.TopSurface = Enum.SurfaceType.Smooth
  108. Part8.brickColor = BrickColor.new("Really black")
  109. Part8.FormFactor = Enum.FormFactor.Symmetric
  110. Part8.formFactor = Enum.FormFactor.Symmetric
  111. SelectionBox9.Parent = Part8
  112. SelectionBox9.Color = BrickColor.new("Really red")
  113. SelectionBox9.Color3 = Color3.new(1, 0, 0)
  114. SelectionBox9.Adornee = Part8
  115. Part10.Name = "OutLined Brick"
  116. Part10.Parent = mas
  117. Part10.CFrame = CFrame.new(88.3300781, 25.3649979, -103.834801, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  118. Part10.Position = Vector3.new(88.3300781, 25.3649979, -103.834801)
  119. Part10.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  120. Part10.Size = Vector3.new(43.9998703, 48.409996, 56.9296684)
  121. Part10.Anchored = true
  122. Part10.BottomSurface = Enum.SurfaceType.Smooth
  123. Part10.BrickColor = BrickColor.new("Really black")
  124. Part10.Material = Enum.Material.Neon
  125. Part10.TopSurface = Enum.SurfaceType.Smooth
  126. Part10.brickColor = BrickColor.new("Really black")
  127. Part10.FormFactor = Enum.FormFactor.Symmetric
  128. Part10.formFactor = Enum.FormFactor.Symmetric
  129. SelectionBox11.Parent = Part10
  130. SelectionBox11.Color = BrickColor.new("Really red")
  131. SelectionBox11.Color3 = Color3.new(1, 0, 0)
  132. SelectionBox11.Adornee = Part10
  133. for i,v in pairs(mas:GetChildren()) do
  134. v.Parent = workspace
  135. pcall(function() v:MakeJoints() end)
  136. end
  137. for i,v in pairs(cors) do
  138. spawn(function()
  139. pcall(v)
  140. end)
  141. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement