Advertisement
OofNoob

uhh fail building?

Mar 17th, 2018
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. Part2 = Instance.new("Part")
  22. Part3 = Instance.new("Part")
  23. Part4 = Instance.new("Part")
  24. Part5 = Instance.new("Part")
  25. Part6 = Instance.new("Part")
  26. Part7 = Instance.new("Part")
  27. Part8 = Instance.new("Part")
  28. Part9 = Instance.new("Part")
  29. Part10 = Instance.new("Part")
  30. Model0.Name = "House"
  31. Model0.Parent = mas
  32. Model0.PrimaryPart = Part4
  33. Part1.Name = "Wall"
  34. Part1.Parent = Model0
  35. Part1.BrickColor = BrickColor.new("Bright red")
  36. Part1.Anchored = true
  37. Part1.Size = Vector3.new(18, 1.20000005, 13)
  38. Part1.CFrame = CFrame.new(199, 16.2000027, 40.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  39. Part1.BottomSurface = Enum.SurfaceType.Smooth
  40. Part1.TopSurface = Enum.SurfaceType.Smooth
  41. Part1.Color = Color3.new(0.768628, 0.156863, 0.109804)
  42. Part1.Position = Vector3.new(199, 16.2000027, 40.5)
  43. Part1.Color = Color3.new(0.768628, 0.156863, 0.109804)
  44. Part2.Name = "Wall"
  45. Part2.Parent = Model0
  46. Part2.BrickColor = BrickColor.new("Bright red")
  47. Part2.Anchored = true
  48. Part2.Size = Vector3.new(14, 1.20000005, 9)
  49. Part2.CFrame = CFrame.new(199, 17.4000111, 40.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  50. Part2.BottomSurface = Enum.SurfaceType.Smooth
  51. Part2.TopSurface = Enum.SurfaceType.Smooth
  52. Part2.Color = Color3.new(0.768628, 0.156863, 0.109804)
  53. Part2.Position = Vector3.new(199, 17.4000111, 40.5)
  54. Part2.Color = Color3.new(0.768628, 0.156863, 0.109804)
  55. Part3.Name = "Wall"
  56. Part3.Parent = Model0
  57. Part3.BrickColor = BrickColor.new("Bright red")
  58. Part3.Anchored = true
  59. Part3.Size = Vector3.new(22, 1.20000005, 17)
  60. Part3.CFrame = CFrame.new(199, 15.0000038, 40.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  61. Part3.BottomSurface = Enum.SurfaceType.Smooth
  62. Part3.TopSurface = Enum.SurfaceType.Smooth
  63. Part3.Color = Color3.new(0.768628, 0.156863, 0.109804)
  64. Part3.Position = Vector3.new(199, 15.0000038, 40.5)
  65. Part3.Color = Color3.new(0.768628, 0.156863, 0.109804)
  66. Part4.Name = "Wall"
  67. Part4.Parent = Model0
  68. Part4.BrickColor = BrickColor.new("Bright red")
  69. Part4.Anchored = true
  70. Part4.Size = Vector3.new(26, 1.20000005, 21)
  71. Part4.CFrame = CFrame.new(199, 13.7999983, 40.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  72. Part4.BottomSurface = Enum.SurfaceType.Smooth
  73. Part4.TopSurface = Enum.SurfaceType.Smooth
  74. Part4.Color = Color3.new(0.768628, 0.156863, 0.109804)
  75. Part4.Position = Vector3.new(199, 13.7999983, 40.5)
  76. Part4.Color = Color3.new(0.768628, 0.156863, 0.109804)
  77. Part5.Name = "Wall"
  78. Part5.Parent = Model0
  79. Part5.Anchored = true
  80. Part5.Size = Vector3.new(4, 6, 1)
  81. Part5.CFrame = CFrame.new(199, 10.2000036, 30.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  82. Part5.BottomSurface = Enum.SurfaceType.Smooth
  83. Part5.TopSurface = Enum.SurfaceType.Smooth
  84. Part5.Position = Vector3.new(199, 10.2000036, 30.5)
  85. Part6.Name = "Wall"
  86. Part6.Parent = Model0
  87. Part6.Anchored = true
  88. Part6.Size = Vector3.new(11, 13.2000008, 1)
  89. Part6.CFrame = CFrame.new(206.5, 6.60000515, 30.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  90. Part6.BottomSurface = Enum.SurfaceType.Smooth
  91. Part6.TopSurface = Enum.SurfaceType.Smooth
  92. Part6.Position = Vector3.new(206.5, 6.60000515, 30.5)
  93. Part7.Name = "Wall"
  94. Part7.Parent = Model0
  95. Part7.Anchored = true
  96. Part7.Size = Vector3.new(11, 13.2000008, 1)
  97. Part7.CFrame = CFrame.new(191.5, 6.60000515, 30.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  98. Part7.BottomSurface = Enum.SurfaceType.Smooth
  99. Part7.TopSurface = Enum.SurfaceType.Smooth
  100. Part7.Position = Vector3.new(191.5, 6.60000515, 30.5)
  101. Part8.Name = "Wall"
  102. Part8.Parent = Model0
  103. Part8.Rotation = Vector3.new(0, -90, 0)
  104. Part8.Anchored = true
  105. Part8.Size = Vector3.new(20, 13.2000008, 1)
  106. Part8.CFrame = CFrame.new(211.5, 6.60000515, 41, 0, 0, -1, 0, 1, -0, 1, 0, -0)
  107. Part8.BottomSurface = Enum.SurfaceType.Smooth
  108. Part8.TopSurface = Enum.SurfaceType.Smooth
  109. Part8.Position = Vector3.new(211.5, 6.60000515, 41)
  110. Part8.Orientation = Vector3.new(0, -90, 0)
  111. Part9.Name = "Wall"
  112. Part9.Parent = Model0
  113. Part9.Rotation = Vector3.new(0, -90, 0)
  114. Part9.Anchored = true
  115. Part9.Size = Vector3.new(20, 13.2000008, 1)
  116. Part9.CFrame = CFrame.new(186.5, 6.60000515, 41, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  117. Part9.BottomSurface = Enum.SurfaceType.Smooth
  118. Part9.TopSurface = Enum.SurfaceType.Smooth
  119. Part9.Position = Vector3.new(186.5, 6.60000515, 41)
  120. Part9.Orientation = Vector3.new(0, -90, 0)
  121. Part10.Name = "Wall"
  122. Part10.Parent = Model0
  123. Part10.Rotation = Vector3.new(180, 0, -180)
  124. Part10.Anchored = true
  125. Part10.Size = Vector3.new(24, 13.2000008, 1)
  126. Part10.CFrame = CFrame.new(199, 6.60000515, 50.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  127. Part10.BottomSurface = Enum.SurfaceType.Smooth
  128. Part10.TopSurface = Enum.SurfaceType.Smooth
  129. Part10.Position = Vector3.new(199, 6.60000515, 50.5)
  130. Part10.Orientation = Vector3.new(0, -180, 0)
  131. for i,v in pairs(mas:GetChildren()) do
  132. v.Parent = script
  133. pcall(function() v:MakeJoints() end)
  134. end
  135. mas:Destroy()
  136. for i,v in pairs(cors) do
  137. spawn(function()
  138. pcall(v)
  139. end)
  140. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement