Advertisement
ERROR_CODE

test1 for My nightmare

Oct 8th, 2023 (edited)
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.47 KB | None | 0 0
  1. for i = 1,1 do
  2. local HomeWall1 = Instance.new("Part")
  3. HomeWall1.Parent = workspace
  4. HomeWall1.Anchored = true
  5. HomeWall1.Size = Vector3.new(0.001,28,20)
  6. HomeWall1.CanCollide = true
  7. HomeWall1.Position = Vector3.new(-22.925, 4, 241.136)
  8. HomeWall1.Material = "WoodPlanks"
  9. HomeWall1.BrickColor = BrickColor.new("Brown")
  10. end
  11.  
  12. for i = 1,1 do
  13. local HomeWall2 = Instance.new("Part")
  14. HomeWall2.Parent = workspace
  15. HomeWall2.Anchored = true
  16. HomeWall2.Size = Vector3.new(0.001,28,20)
  17. HomeWall2.CanCollide = true
  18. HomeWall2.Position = Vector3.new(-12.925, 4, 231.136)
  19. HomeWall2.Rotation = Vector3.new(0,-90,0)
  20. HomeWall2.Material = "WoodPlanks"
  21. HomeWall2.BrickColor = BrickColor.new("Brown")
  22. end
  23.  
  24. for i = 1,1 do
  25. local HomeWall3 = Instance.new("Part")
  26. HomeWall3.Parent = workspace
  27. HomeWall3.Anchored = true
  28. HomeWall3.Size = Vector3.new(0.001,28,20)
  29. HomeWall3.CanCollide = true
  30. HomeWall3.Position = Vector3.new(-2.915, 4, 241.136)
  31. HomeWall3.Material = "WoodPlanks"
  32. HomeWall3.BrickColor = BrickColor.new("Brown")
  33. end
  34. local tableleg1 = Instance.new("Part")
  35. tableleg1.Parent = workspace
  36. tableleg1.Anchored = true
  37. tableleg1.Size = Vector3.new(0.5, 3, 0.5)
  38. tableleg1.CanCollide = true
  39. tableleg1.Position = Vector3.new(-13.632, 1.025, 234.437)
  40. tableleg1.Material = "Wood"
  41. tableleg1.BrickColor = BrickColor.new("CGA brown")
  42.  
  43. local tableleg2 = Instance.new("Part")
  44. tableleg2.Parent = workspace
  45. tableleg2.Anchored = true
  46. tableleg2.Size = Vector3.new(0.5, 3, 0.5)
  47. tableleg2.CanCollide = true
  48. tableleg2.Position = Vector3.new(-8.632, 1.025, 234.437)
  49. tableleg2.Material = "Wood"
  50. tableleg2.BrickColor = BrickColor.new("CGA brown")
  51.  
  52. local tableleg3 = Instance.new("Part")
  53. tableleg3.Parent = workspace
  54. tableleg3.Anchored = true
  55. tableleg3.Size = Vector3.new(0.5, 3, 0.5)
  56. tableleg3.CanCollide = true
  57. tableleg3.Position = Vector3.new(-8.632, 1.025, 232.437)
  58. tableleg3.Material = "Wood"
  59. tableleg3.BrickColor = BrickColor.new("CGA brown")
  60.  
  61. local tableleg4 = Instance.new("Part")
  62. tableleg4.Parent = workspace
  63. tableleg4.Anchored = true
  64. tableleg4.Size = Vector3.new(0.5, 3, 0.5)
  65. tableleg4.CanCollide = true
  66. tableleg4.Position = Vector3.new(-13.632, 1.025, 232.437)
  67. tableleg4.Material = "Wood"
  68. tableleg4.BrickColor = BrickColor.new("CGA brown")
  69.  
  70.  
  71. local table = Instance.new("Part")
  72. table.Parent = workspace
  73. table.Anchored = true
  74. table.Size = Vector3.new(6, 1, 3)
  75. table.CanCollide = true
  76. table.Position = Vector3.new(-11.19, 3.025, 233.686)
  77. table.Material = "Wood"
  78. table.BrickColor = BrickColor.new("CGA brown")
  79.  
  80. local tvleg1 = Instance.new("Part")
  81. tvleg1.Parent = workspace
  82. tvleg1.Anchored = true
  83. tvleg1.Size = Vector3.new(3, 0.2, 2)
  84. tvleg1.CanCollide = true
  85. tvleg1.Position = Vector3.new(-11.19, 3.525, 233.948)
  86. tvleg1.Material = "Plastic"
  87. tvleg1.BrickColor = BrickColor.new("Really black")
  88.  
  89. local tvleg2 = Instance.new("Part")
  90. tvleg2.Parent = workspace
  91. tvleg2.Anchored = true
  92. tvleg2.Size = Vector3.new(0.5, 3, 0.5)
  93. tvleg2.CanCollide = true
  94. tvleg2.Position = Vector3.new(-11.1, 4.625, 233.53)
  95. tvleg2.Material = "Plastic"
  96. tvleg2.BrickColor = BrickColor.new("Really black")
  97.  
  98. local monitor = Instance.new("Part")
  99. monitor.Parent = workspace
  100. monitor.Anchored = true
  101. monitor.Size = Vector3.new(7, 4, 0.5)
  102. monitor.CanCollide = true
  103. monitor.Position = Vector3.new(-11.121, 7.084, 233.661)
  104. monitor.Rotation = Vector3.new(0, 180, 0)
  105. monitor.Material = "Plastic"
  106. monitor.BrickColor = BrickColor.new("Really black")
  107.  
  108. local screen = Instance.new("Part")
  109. screen.Parent = workspace
  110. screen.Anchored = true
  111. screen.Size = Vector3.new(7, 3, 0.5)
  112. screen.CanCollide = true
  113. screen.Position = Vector3.new(-11.121, 7.084, 233.661)
  114. screen.Rotation = Vector3.new(0, 180, 0)
  115. screen.Material = "Plastic"
  116. screen.BrickColor = BrickColor.new("Really black")
  117. local screenmesh = Instance.new("SpecialMesh", screen)
  118. screenmesh.Scale = Vector3.new(6, 3.5, 0.6)
  119. screenmesh.TextureId = "rbxassetid://12095085"
  120.  
  121. local SoundScreen = Instance.new("Sound")
  122. local Id = "132081621"
  123. SoundScreen.Parent = game.Workspace
  124. SoundScreen.SoundId = "rbxassetid://"..Id
  125. SoundScreen.Playing = true
  126. SoundScreen.Looped = true
  127. SoundScreen.Volume = 1
  128.  
  129.  
  130.  
  131. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-20.241, 1, 236.485)
  132. for i = 1,1 do
  133. local HomeWall4 = Instance.new("Part")
  134. HomeWall4.Parent = workspace
  135. HomeWall4.Anchored = true
  136. HomeWall4.Size = Vector3.new(0.001,20,20)
  137. HomeWall4.CanCollide = true
  138. HomeWall4.Position = Vector3.new(-12.915,0,241.136)
  139. HomeWall4.Rotation = Vector3.new(0,0,-90)
  140. HomeWall4.Material = "WoodPlanks"
  141. HomeWall4.BrickColor = BrickColor.new("Brown")
  142. end
  143.  
  144. for i = 1,1 do
  145. local HomeWall5 = Instance.new("Part")
  146. HomeWall5.Parent = workspace
  147. HomeWall5.Anchored = true
  148. HomeWall5.Size = Vector3.new(0.001,20,20)
  149. HomeWall5.CanCollide = true
  150. HomeWall5.Position = Vector3.new(-12.925, 8 ,251.136)
  151. HomeWall5.Rotation = Vector3.new(0,-90,0)
  152. local HomeWall5Mesh = Instance.new("SpecialMesh", HomeWall5)
  153. HomeWall5Mesh.Scale = Vector3.new(0.001, 20, 20)
  154. HomeWall5Mesh.TextureId = "rbxassetid://12095085"
  155. end
  156.  
  157.  
  158.  
  159. for i = 1,1 do
  160. local HomeWall6 = Instance.new("Part")
  161. HomeWall6.Parent = workspace
  162. HomeWall6.Anchored = true
  163. HomeWall6.Size = Vector3.new(0.001,20,20)
  164. HomeWall6.CanCollide = true
  165. HomeWall6.Position = Vector3.new(-12.915, 18 ,241.136)
  166. HomeWall6.Rotation = Vector3.new(0,0,-90)
  167. local HomeWall6Mesh = Instance.new("SpecialMesh", HomeWall6)
  168. HomeWall6Mesh.Scale = Vector3.new(0.001, 20, 20)
  169. HomeWall6Mesh.TextureId = "rbxassetid://284949189"
  170. end
  171.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement