Advertisement
pitrioptixiop

Roblox | Baldi hallway map

Jul 17th, 2018
929
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.52 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. Texture10 = Instance.new("Texture")
  30. Part11 = Instance.new("Part")
  31. Texture12 = Instance.new("Texture")
  32. Part13 = Instance.new("Part")
  33. Texture14 = Instance.new("Texture")
  34. Part15 = Instance.new("Part")
  35. Part16 = Instance.new("Part")
  36. Part17 = Instance.new("Part")
  37. Texture18 = Instance.new("Texture")
  38. Part19 = Instance.new("Part")
  39. Texture20 = Instance.new("Texture")
  40. Part21 = Instance.new("Part")
  41. Texture22 = Instance.new("Texture")
  42. Decal23 = Instance.new("Decal")
  43. Model0.Name = "Hallway"
  44. Model0.Parent = mas
  45. Part1.Parent = Model0
  46. Part1.CFrame = CFrame.new(51.7499962, 12.0599976, -124.886002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  47. Part1.Position = Vector3.new(51.7499962, 12.0599976, -124.886002)
  48. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  49. Part1.Transparency = 0.20000000298023
  50. Part1.Size = Vector3.new(14.0600004, 12.1199999, 1.15001714)
  51. Part1.Anchored = true
  52. Part1.BottomSurface = Enum.SurfaceType.Smooth
  53. Part1.BrickColor = BrickColor.new("Really black")
  54. Part1.TopSurface = Enum.SurfaceType.Smooth
  55. Part1.brickColor = BrickColor.new("Really black")
  56. Part2.Parent = Model0
  57. Part2.CFrame = CFrame.new(51.7499962, 12.0599976, -122.809174, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  58. Part2.Position = Vector3.new(51.7499962, 12.0599976, -122.809174)
  59. Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  60. Part2.Transparency = 0.20000000298023
  61. Part2.Size = Vector3.new(14.0600004, 12.1199999, 1.15001714)
  62. Part2.Anchored = true
  63. Part2.BottomSurface = Enum.SurfaceType.Smooth
  64. Part2.BrickColor = BrickColor.new("Really black")
  65. Part2.TopSurface = Enum.SurfaceType.Smooth
  66. Part2.brickColor = BrickColor.new("Really black")
  67. Part3.Parent = Model0
  68. Part3.CFrame = CFrame.new(51.7499962, 12.0599976, -121.046265, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  69. Part3.Position = Vector3.new(51.7499962, 12.0599976, -121.046265)
  70. Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  71. Part3.Transparency = 0.20000000298023
  72. Part3.Size = Vector3.new(14.0600004, 12.1199999, 1.15001714)
  73. Part3.Anchored = true
  74. Part3.BottomSurface = Enum.SurfaceType.Smooth
  75. Part3.BrickColor = BrickColor.new("Really black")
  76. Part3.TopSurface = Enum.SurfaceType.Smooth
  77. Part3.brickColor = BrickColor.new("Really black")
  78. Part4.Parent = Model0
  79. Part4.CFrame = CFrame.new(51.7499962, 12.0599976, 41.892807, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  80. Part4.Position = Vector3.new(51.7499962, 12.0599976, 41.892807)
  81. Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  82. Part4.Transparency = 0.20000000298023
  83. Part4.Size = Vector3.new(14.0600004, 12.1199999, 1.15001714)
  84. Part4.Anchored = true
  85. Part4.BottomSurface = Enum.SurfaceType.Smooth
  86. Part4.BrickColor = BrickColor.new("Really black")
  87. Part4.TopSurface = Enum.SurfaceType.Smooth
  88. Part4.brickColor = BrickColor.new("Really black")
  89. Part5.Parent = Model0
  90. Part5.CFrame = CFrame.new(51.7499962, 12.0599976, 32.2029266, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  91. Part5.Position = Vector3.new(51.7499962, 12.0599976, 32.2029266)
  92. Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  93. Part5.Transparency = 0.20000000298023
  94. Part5.Size = Vector3.new(14.0600004, 12.1199999, 1.15001714)
  95. Part5.Anchored = true
  96. Part5.BottomSurface = Enum.SurfaceType.Smooth
  97. Part5.BrickColor = BrickColor.new("Really black")
  98. Part5.TopSurface = Enum.SurfaceType.Smooth
  99. Part5.brickColor = BrickColor.new("Really black")
  100. Part6.Parent = Model0
  101. Part6.CFrame = CFrame.new(51.7499962, 12.0599976, 34.2797546, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  102. Part6.Position = Vector3.new(51.7499962, 12.0599976, 34.2797546)
  103. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  104. Part6.Transparency = 0.20000000298023
  105. Part6.Size = Vector3.new(14.0600004, 12.1199999, 1.15001714)
  106. Part6.Anchored = true
  107. Part6.BottomSurface = Enum.SurfaceType.Smooth
  108. Part6.BrickColor = BrickColor.new("Really black")
  109. Part6.TopSurface = Enum.SurfaceType.Smooth
  110. Part6.brickColor = BrickColor.new("Really black")
  111. Part7.Parent = Model0
  112. Part7.CFrame = CFrame.new(51.7499962, 12.0599976, 36.0426636, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  113. Part7.Position = Vector3.new(51.7499962, 12.0599976, 36.0426636)
  114. Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  115. Part7.Transparency = 0.20000000298023
  116. Part7.Size = Vector3.new(14.0600004, 12.1199999, 1.15001714)
  117. Part7.Anchored = true
  118. Part7.BottomSurface = Enum.SurfaceType.Smooth
  119. Part7.BrickColor = BrickColor.new("Really black")
  120. Part7.TopSurface = Enum.SurfaceType.Smooth
  121. Part7.brickColor = BrickColor.new("Really black")
  122. Part8.Parent = Model0
  123. Part8.CFrame = CFrame.new(51.7499962, 12.0599976, 38.7344666, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  124. Part8.Position = Vector3.new(51.7499962, 12.0599976, 38.7344666)
  125. Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  126. Part8.Transparency = 0.20000000298023
  127. Part8.Size = Vector3.new(14.0600004, 12.1199999, 1.15001714)
  128. Part8.Anchored = true
  129. Part8.BottomSurface = Enum.SurfaceType.Smooth
  130. Part8.BrickColor = BrickColor.new("Really black")
  131. Part8.TopSurface = Enum.SurfaceType.Smooth
  132. Part8.brickColor = BrickColor.new("Really black")
  133. Part9.Parent = Model0
  134. Part9.CFrame = CFrame.new(58.9449959, 12.3450117, 19.2150002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  135. Part9.Position = Vector3.new(58.9449959, 12.3450117, 19.2150002)
  136. Part9.Size = Vector3.new(0.96999985, 12.6899996, 46.6100006)
  137. Part9.Anchored = true
  138. Part9.BottomSurface = Enum.SurfaceType.Smooth
  139. Part9.TopSurface = Enum.SurfaceType.Smooth
  140. Texture10.Parent = Part9
  141. Texture10.Texture = "http://www.roblox.com/asset/?id=1803626284"
  142. Texture10.Face = Enum.NormalId.Left
  143. Texture10.StudsPerTileU = 10
  144. Texture10.StudsPerTileV = 10
  145. Part11.Parent = Model0
  146. Part11.CFrame = CFrame.new(44.5011292, 12.3450117, -41.5950165, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  147. Part11.Orientation = Vector3.new(0, 180, 0)
  148. Part11.Position = Vector3.new(44.5011292, 12.3450117, -41.5950165)
  149. Part11.Rotation = Vector3.new(-180, 0, -180)
  150. Part11.Size = Vector3.new(0.96999985, 12.6899996, 167.629883)
  151. Part11.Anchored = true
  152. Part11.BottomSurface = Enum.SurfaceType.Smooth
  153. Part11.TopSurface = Enum.SurfaceType.Smooth
  154. Texture12.Parent = Part11
  155. Texture12.Texture = "http://www.roblox.com/asset/?id=1803626284"
  156. Texture12.Face = Enum.NormalId.Left
  157. Texture12.StudsPerTileU = 10
  158. Texture12.StudsPerTileV = 10
  159. Part13.Parent = Model0
  160. Part13.CFrame = CFrame.new(51.7499962, 6.25500298, -41.5699501, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  161. Part13.Position = Vector3.new(51.7499962, 6.25500298, -41.5699501)
  162. Part13.Size = Vector3.new(14.0600004, 0.510000288, 167.699982)
  163. Part13.Anchored = true
  164. Part13.BottomSurface = Enum.SurfaceType.Smooth
  165. Part13.TopSurface = Enum.SurfaceType.Smooth
  166. Texture14.Parent = Part13
  167. Texture14.Texture = "http://www.roblox.com/asset/?id=1804196148"
  168. Texture14.Face = Enum.NormalId.Top
  169. Texture14.StudsPerTileU = 10
  170. Texture14.StudsPerTileV = 10
  171. Part15.Parent = Model0
  172. Part15.CFrame = CFrame.new(51.7499962, 12.0599976, -118.354462, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  173. Part15.Position = Vector3.new(51.7499962, 12.0599976, -118.354462)
  174. Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  175. Part15.Transparency = 0.20000000298023
  176. Part15.Size = Vector3.new(14.0600004, 12.1199999, 1.15001714)
  177. Part15.Anchored = true
  178. Part15.BottomSurface = Enum.SurfaceType.Smooth
  179. Part15.BrickColor = BrickColor.new("Really black")
  180. Part15.TopSurface = Enum.SurfaceType.Smooth
  181. Part15.brickColor = BrickColor.new("Really black")
  182. Part16.Parent = Model0
  183. Part16.CFrame = CFrame.new(51.7499962, 12.0599976, -115.196121, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  184. Part16.Position = Vector3.new(51.7499962, 12.0599976, -115.196121)
  185. Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  186. Part16.Transparency = 0.20000000298023
  187. Part16.Size = Vector3.new(14.0600004, 12.1199999, 1.15001714)
  188. Part16.Anchored = true
  189. Part16.BottomSurface = Enum.SurfaceType.Smooth
  190. Part16.BrickColor = BrickColor.new("Really black")
  191. Part16.TopSurface = Enum.SurfaceType.Smooth
  192. Part16.brickColor = BrickColor.new("Really black")
  193. Part17.Parent = Model0
  194. Part17.CFrame = CFrame.new(51.7499962, 17.9770203, -41.5699501, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  195. Part17.Orientation = Vector3.new(0, 180, 180)
  196. Part17.Position = Vector3.new(51.7499962, 17.9770203, -41.5699501)
  197. Part17.Rotation = Vector3.new(-180, 0, 0)
  198. Part17.Size = Vector3.new(14.0600004, 0.510000288, 167.699982)
  199. Part17.Anchored = true
  200. Part17.BottomSurface = Enum.SurfaceType.Smooth
  201. Part17.TopSurface = Enum.SurfaceType.Smooth
  202. Texture18.Parent = Part17
  203. Texture18.Texture = "http://www.roblox.com/asset/?id=1804224393"
  204. Texture18.Face = Enum.NormalId.Top
  205. Texture18.StudsPerTileU = 7
  206. Texture18.StudsPerTileV = 5
  207. Part19.Parent = Model0
  208. Part19.CFrame = CFrame.new(58.9449959, 12.3450117, -71.684967, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  209. Part19.Position = Vector3.new(58.9449959, 12.3450117, -71.684967)
  210. Part19.Size = Vector3.new(0.96999985, 12.6899996, 107.449974)
  211. Part19.Anchored = true
  212. Part19.BottomSurface = Enum.SurfaceType.Smooth
  213. Part19.TopSurface = Enum.SurfaceType.Smooth
  214. Texture20.Parent = Part19
  215. Texture20.Texture = "http://www.roblox.com/asset/?id=1803626284"
  216. Texture20.Face = Enum.NormalId.Left
  217. Texture20.StudsPerTileU = 10
  218. Texture20.StudsPerTileV = 10
  219. Part21.Parent = Model0
  220. Part21.CFrame = CFrame.new(58.9449959, 12.3450117, -10.984972, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  221. Part21.Position = Vector3.new(58.9449959, 12.3450117, -10.984972)
  222. Part21.Color = Color3.new(0.337255, 0.258824, 0.211765)
  223. Part21.Size = Vector3.new(0.96999985, 12.6899996, 14.1699762)
  224. Part21.Anchored = true
  225. Part21.BottomSurface = Enum.SurfaceType.Smooth
  226. Part21.BrickColor = BrickColor.new("Dirt brown")
  227. Part21.CanCollide = false
  228. Part21.TopSurface = Enum.SurfaceType.Smooth
  229. Part21.brickColor = BrickColor.new("Dirt brown")
  230. Texture22.Parent = Part21
  231. Texture22.Texture = "http://www.roblox.com/asset/?id=1803626284"
  232. Texture22.Face = Enum.NormalId.Left
  233. Texture22.StudsPerTileU = 10
  234. Texture22.StudsPerTileV = 10
  235. Decal23.Parent = Part21
  236. Decal23.Texture = "http://www.roblox.com/asset/?id=171923064"
  237. Decal23.Face = Enum.NormalId.Right
  238. for i,v in pairs(mas:GetChildren()) do
  239.     v.Parent = workspace
  240.     pcall(function() v:MakeJoints() end)
  241. end
  242. mas:Destroy()
  243. for i,v in pairs(cors) do
  244.     spawn(function()
  245.         pcall(v)
  246.     end)
  247. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement