Advertisement
refrop

box house v2

Jun 3rd, 2021
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.02 KB | None | 0 0
  1. local runDummyScript = function(f,scri)
  2. local oldenv = getfenv(f)
  3. local newenv = setmetatable({}, {
  4. __index = function(_, k)
  5. if k:lower() == 'script' then
  6. return script
  7. else
  8. return oldenv[k]
  9. end
  10. end
  11. })
  12. setfenv(f, newenv)
  13. ypcall(function() f() end)
  14. end
  15. cors = {}
  16. Wo = Instance.new("Model",game:GetService("Lighting"))
  17. Wo.Name = "CompiledModel"
  18.  
  19. local b1 = Instance.new("Part")
  20. local b2 = Instance.new("Part")
  21. local b3 = Instance.new("Part")
  22. local b4 = Instance.new("Part")
  23. local b5 = Instance.new("Part")
  24. local b6 = Instance.new("Part")
  25. local b7 = Instance.new("Part")
  26. local b8 = Instance.new("Part")
  27.  
  28. local bp = Instance.new("Part")
  29. local Shrek = Instance.new("Decal")
  30.  
  31.  
  32.  
  33. local truss = Instance.new("TrussPart")
  34.  
  35. local bn = Instance.new("Part")
  36. bn.Name = "bn"
  37. local bnl = Instance.new("PointLight")
  38. local bnd = Instance.new("Decal")
  39. local sound = Instance.new("Sound")
  40.  
  41. local sp = Instance.new("SpawnLocation")
  42.  
  43. local bfloor = Instance.new("Part")
  44.  
  45.  
  46. --Wo.Parent = workspace
  47. wait(0.2)
  48. local W = Wo
  49.  
  50. b1.Parent = W
  51. b1.Position = Vector3.new(-53.949, 21.553, -79.903)
  52. b1.Orientation = Vector3.new(0, 0, 0)
  53. b1.Size = Vector3.new(0.543, 43.105, 45.265)
  54. b1.Anchored = true
  55. b1.BrickColor = BrickColor.new("Cork")
  56. b1.Material = Enum.Material.SmoothPlastic
  57.  
  58. b2.Parent = W
  59. b2.Position = Vector3.new(-30.621, 22.409, -101.942)
  60. b2.Orientation = Vector3.new(0, 0, 0)
  61. b2.Size = Vector3.new(47.199, 43.105, 1.186)
  62. b2.Anchored = true
  63. b2.BrickColor = BrickColor.new("Cork")
  64. b2.Material = Enum.Material.SmoothPlastic
  65.  
  66. b3.Parent = W
  67. b3.Position = Vector3.new(-7.424, 22.409, -79.903)
  68. b3.Orientation = Vector3.new(0, 0, 0)
  69. b3.Size = Vector3.new(0.543, 43.105, 45.265)
  70. b3.Anchored = true
  71. b3.BrickColor = BrickColor.new("Cork")
  72. b3.Material = Enum.Material.SmoothPlastic
  73.  
  74. b4.Parent = W
  75. b4.Position = Vector3.new(-30.621, 29.006, -57.776)
  76. b4.Orientation = Vector3.new(0, 0, 0)
  77. b4.Size = Vector3.new(47.199, 29.912, 1.186)
  78. b4.Anchored = true
  79. b4.BrickColor = BrickColor.new("Cork")
  80. b4.Material = Enum.Material.SmoothPlastic
  81.  
  82. b5.Parent = W
  83. b5.Position = Vector3.new(-47.034, 7.05, -57.776)
  84. b5.Orientation = Vector3.new(0, 0, 0)
  85. b5.Size = Vector3.new(14.373, 14.1, 1.186)
  86. b5.Anchored = true
  87. b5.BrickColor = BrickColor.new("Cork")
  88. b5.Material = Enum.Material.SmoothPlastic
  89.  
  90. b6.Parent = W
  91. b6.Position = Vector3.new(-14.358, 7.05, -57.776)
  92. b6.Orientation = Vector3.new(0, 0, 0)
  93. b6.Size = Vector3.new(14.373, 14.1, 1.186)
  94. b6.Anchored = true
  95. b6.BrickColor = BrickColor.new("Cork")
  96. b6.Material = Enum.Material.SmoothPlastic
  97.  
  98. b7.Parent = W
  99. b7.Position = Vector3.new(2.166, 50.652, -79.903)
  100. b7.Orientation = Vector3.new(0, 0, -55)
  101. b7.Size = Vector3.new(0.543, 23.464, 45.265)
  102. b7.Anchored = true
  103. b7.BrickColor = BrickColor.new("Cork")
  104. b7.Material = Enum.Material.SmoothPlastic
  105.  
  106. b8.Parent = W
  107. b8.Position = Vector3.new(-63.741, 50.53, -79.903)
  108. b8.Orientation = Vector3.new(0, 0, -35)
  109. b8.Size = Vector3.new(24.45, 0.577, 45.265)
  110. b8.Anchored = true
  111. b8.BrickColor = BrickColor.new("Cork")
  112. b8.Material = Enum.Material.SmoothPlastic
  113.  
  114.  
  115.  
  116. bp.Parent = W
  117. bp.Position = Vector3.new(-41.371, 9.227, -101.324)
  118. bp.Orientation = Vector3.new(0, 180, -15)
  119. bp.Size = Vector3.new(6.56, 6.084, 0.05)
  120. bp.Anchored = true
  121. bp.BrickColor = BrickColor.new("Institutional white")
  122. bp.Material = Enum.Material.SmoothPlastic
  123.  
  124. Shrek.Parent = bp
  125. Shrek.Texture = "http://www.roblox.com/asset/?id=4673386763"
  126.  
  127.  
  128.  
  129. bn.Parent = W
  130. bn.Position = Vector3.new(-31.213, 6.875, -100.017)
  131. bn.Orientation = Vector3.new(0, 180, 0)
  132. bn.Size = Vector3.new(16.282, 10.896, 1.459)
  133. bn.Anchored = true
  134. bn.Transparency = 1
  135. bn.BrickColor = BrickColor.new("Institutional white")
  136. bn.Material = Enum.Material.SmoothPlastic
  137.  
  138.  
  139.  
  140. bnl.Parent = bn
  141. bnl.Brightness = 1
  142. bnl.Range = 18
  143.  
  144.  
  145. bnd.Parent = bn
  146. bnd.Texture = "http://www.roblox.com/asset/?id=6357211783"
  147.  
  148. sound.Parent = bn
  149. sound.Volume = 5
  150. sound.Looped = true
  151. sound.Playing = true
  152. sound.SoundId = "http://www.roblox.com/asset/?id=504876952"
  153.  
  154.  
  155.  
  156. truss.Parent = W
  157. truss.Position = Vector3.new(-12.262, 22.19, -99.505)
  158. truss.Orientation = Vector3.new(0, 0, 0)
  159. truss.Size = Vector3.new(2, 42.64, 2)
  160. truss.Anchored = true
  161. truss.BrickColor = BrickColor.new("Cork")
  162. truss.Material = Enum.Material.Neon
  163.  
  164.  
  165. sp.Parent = W
  166. sp.Position = Vector3.new(-29.362, 71.707, -79.021)
  167. sp.Orientation = Vector3.new(0, 0, 0)
  168. sp.Size = Vector3.new(12, 1, 12)
  169. sp.Anchored = true
  170. sp.BrickColor = BrickColor.new("Cork")
  171. sp.Material = Enum.Material.SmoothPlastic
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178. bfloor.Parent = W
  179. bfloor.Position = Vector3.new(-30.767, 1.291, -79.903)
  180. bfloor.Orientation = Vector3.new(0, 0, 0)
  181. bfloor.Size = Vector3.new(46.905, 0.869, 45.265)
  182. bfloor.Anchored = true
  183. bfloor.BrickColor = BrickColor.new("Cork")
  184. bfloor.Material = Enum.Material.SmoothPlastic
  185. print("end")
  186.  
  187.  
  188. Wo.Parent = workspace
  189. Wo:MakeJoints()
  190. local mas1 = Wo:GetChildren()
  191. for i=1,#mas1 do
  192. mas1[i].Parent = workspace
  193. ypcall(function() mas1[i]:MakeJoints() end)
  194. end
  195. Wo:Destroy()
  196. for i=1,#cors do
  197. coroutine.resume(cors[i])
  198. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement