Advertisement
Urban_IS

house

Aug 21st, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.24 KB | None | 0 0
  1. --Created by PenguinAnonymous (ttyyuu12345) Editied by Dittoide
  2. --What's Added To M2S with Dittoide's Edit?
  3. --/ Better dummy script function to improve compatibility (makes it like you are running the code inside the script.)
  4. --/ Removed Gui In Bottom-Left for when you are making guis.
  5. --/ Removed "Inserting Map Please Wait" gui when selected Workspace as Place to export.
  6. --Credit: PenguinAnonymous for making original script, i just wanted to iron it out to my liking.
  7. --Errors:
  8. local runDummyScript = function(f,scri)
  9. if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
  10. local Dummy_CoRoutine = coroutine.create(function()
  11. getfenv().script = scri
  12. ypcall(function() f() end)
  13. end)
  14. table.insert(cors,Dummy_CoRoutine);
  15. coroutine.resume(Dummy_CoRoutine);
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. mas.Name = "M2S_Model"
  20. o1 = Instance.new("Part")
  21. o2 = Instance.new("Model")
  22. o3 = Instance.new("Part")
  23. o4 = Instance.new("Part")
  24. o5 = Instance.new("Part")
  25. o6 = Instance.new("Part")
  26. o7 = Instance.new("Part")
  27. o8 = Instance.new("Part")
  28. o9 = Instance.new("SpecialMesh")
  29. o10 = Instance.new("Decal")
  30. o11 = Instance.new("Humanoid")
  31. o12 = Instance.new("BodyColors")
  32. o13 = Instance.new("Part")
  33. o14 = Instance.new("Sound")
  34. o15 = Instance.new("Part")
  35. o16 = Instance.new("Part")
  36. o17 = Instance.new("Part")
  37. o18 = Instance.new("Part")
  38. o19 = Instance.new("Part")
  39. o20 = Instance.new("Part")
  40. o21 = Instance.new("Part")
  41. o22 = Instance.new("Part")
  42. o23 = Instance.new("Part")
  43. o24 = Instance.new("Part")
  44. o25 = Instance.new("Part")
  45. o26 = Instance.new("Part")
  46. o27 = Instance.new("PointLight")
  47. o28 = Instance.new("Decal")
  48. o29 = Instance.new("Part")
  49. o1.Parent = mas
  50. o1.Material = Enum.Material.Concrete
  51. o1.BrickColor = BrickColor.new("Fog")
  52. o1.Position = Vector3.new(-9, 5, 22.5)
  53. o1.Rotation = Vector3.new(0, -90, 0)
  54. o1.Anchored = true
  55. o1.Size = Vector3.new(33, 10, 2)
  56. o1.CFrame = CFrame.new(-9, 5, 22.5, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  57. o1.BottomSurface = Enum.SurfaceType.Smooth
  58. o1.TopSurface = Enum.SurfaceType.Smooth
  59. o1.Color = Color3.new(0.780392, 0.831373, 0.894118)
  60. o1.Position = Vector3.new(-9, 5, 22.5)
  61. o2.Name = ""
  62. o2.Parent = mas
  63. o2.PrimaryPart = o7
  64. o3.Name = "Left Arm"
  65. o3.Parent = o2
  66. o3.BrickColor = BrickColor.new("Bright yellow")
  67. o3.Position = Vector3.new(-6.21567583, 3.46447372, 17.6512432)
  68. o3.Rotation = Vector3.new(102.980003, -38.3100014, 146.630005)
  69. o3.Anchored = true
  70. o3.CanCollide = false
  71. o3.FormFactor = Enum.FormFactor.Symmetric
  72. o3.Size = Vector3.new(0.456448764, 0.912897527, 0.456448764)
  73. o3.CFrame = CFrame.new(-6.21567583, 3.46447372, 17.6512432, -0.655236363, -0.431615502, -0.619979382, 0.380987823, 0.519874692, -0.764577508, 0.652315021, -0.737183452, -0.176199496)
  74. o3.BackSurface = Enum.SurfaceType.Weld
  75. o3.BottomSurface = Enum.SurfaceType.Weld
  76. o3.LeftSurface = Enum.SurfaceType.Weld
  77. o3.RightSurface = Enum.SurfaceType.Weld
  78. o3.TopSurface = Enum.SurfaceType.Weld
  79. o3.Color = Color3.new(0.960784, 0.803922, 0.188235)
  80. o3.Position = Vector3.new(-6.21567583, 3.46447372, 17.6512432)
  81. o4.Name = "Right Arm"
  82. o4.Parent = o2
  83. o4.BrickColor = BrickColor.new("Bright yellow")
  84. o4.Position = Vector3.new(-6.63139582, 3.51488972, 18.3713932)
  85. o4.Rotation = Vector3.new(127.010002, -26.5900002, 113.629997)
  86. o4.Anchored = true
  87. o4.CanCollide = false
  88. o4.FormFactor = Enum.FormFactor.Symmetric
  89. o4.Size = Vector3.new(0.456448764, 0.912897527, 0.456448764)
  90. o4.CFrame = CFrame.new(-6.63139582, 3.51488972, 18.3713932, -0.358445019, -0.819275618, -0.447555274, -0.408218145, 0.568701327, -0.714098692, 0.839569271, -0.0732650608, -0.538290262)
  91. o4.BackSurface = Enum.SurfaceType.Weld
  92. o4.BottomSurface = Enum.SurfaceType.Weld
  93. o4.LeftSurface = Enum.SurfaceType.Weld
  94. o4.RightSurface = Enum.SurfaceType.Weld
  95. o4.TopSurface = Enum.SurfaceType.Weld
  96. o4.Color = Color3.new(0.960784, 0.803922, 0.188235)
  97. o4.Position = Vector3.new(-6.63139582, 3.51488972, 18.3713932)
  98. o5.Name = "Right Leg"
  99. o5.Parent = o2
  100. o5.BrickColor = BrickColor.new("Br. yellowish green")
  101. o5.Position = Vector3.new(-6.31511211, 3.1247716, 18.4783115)
  102. o5.Rotation = Vector3.new(75.0199966, 19.5499992, 153.039993)
  103. o5.Anchored = true
  104. o5.CanCollide = false
  105. o5.FormFactor = Enum.FormFactor.Symmetric
  106. o5.Size = Vector3.new(0.456448764, 0.912897527, 0.456448764)
  107. o5.CFrame = CFrame.new(-6.31511211, 3.1247716, 18.4783115, -0.839920282, -0.427253008, 0.334648728, -0.170971975, -0.37691462, -0.910331845, 0.515076339, -0.821821094, 0.243530571)
  108. o5.BackSurface = Enum.SurfaceType.Weld
  109. o5.BottomSurface = Enum.SurfaceType.Weld
  110. o5.LeftSurface = Enum.SurfaceType.Weld
  111. o5.RightSurface = Enum.SurfaceType.Weld
  112. o5.TopSurface = Enum.SurfaceType.Weld
  113. o5.Color = Color3.new(0.643137, 0.741176, 0.278431)
  114. o5.Position = Vector3.new(-6.31511211, 3.1247716, 18.4783115)
  115. o6.Name = "Left Leg"
  116. o6.Parent = o2
  117. o6.BrickColor = BrickColor.new("Br. yellowish green")
  118. o6.Position = Vector3.new(-5.95374155, 3.12476873, 17.852396)
  119. o6.Rotation = Vector3.new(79.5400009, 22.2199993, 91.6100006)
  120. o6.Anchored = true
  121. o6.CanCollide = false
  122. o6.FormFactor = Enum.FormFactor.Symmetric
  123. o6.Size = Vector3.new(0.456448764, 0.912897527, 0.456448764)
  124. o6.CFrame = CFrame.new(-5.95374155, 3.12476873, 17.852396, -0.026086241, -0.925346255, 0.378226042, 0.170983493, -0.37690866, -0.910332203, 0.984928727, 0.0409239531, 0.168051645)
  125. o6.BackSurface = Enum.SurfaceType.Weld
  126. o6.BottomSurface = Enum.SurfaceType.Weld
  127. o6.LeftSurface = Enum.SurfaceType.Weld
  128. o6.RightSurface = Enum.SurfaceType.Weld
  129. o6.TopSurface = Enum.SurfaceType.Weld
  130. o6.Color = Color3.new(0.643137, 0.741176, 0.278431)
  131. o6.Position = Vector3.new(-5.95374155, 3.12476873, 17.852396)
  132. o7.Name = "Torso"
  133. o7.Parent = o2
  134. o7.BrickColor = BrickColor.new("Bright blue")
  135. o7.Position = Vector3.new(-6.61737204, 3.41448307, 17.8865337)
  136. o7.Rotation = Vector3.new(151.820007, -56.7799988, 155.860001)
  137. o7.Anchored = true
  138. o7.FormFactor = Enum.FormFactor.Symmetric
  139. o7.Friction = 0
  140. o7.Size = Vector3.new(0.912897527, 0.912897527, 0.456448764)
  141. o7.CFrame = CFrame.new(-6.61737204, 3.41448307, 17.8865337, -0.499990463, -0.224088252, -0.8365376, -1.93715096e-07, 0.965943813, -0.258752167, 0.866031528, -0.129374117, -0.482962072)
  142. o7.BackSurface = Enum.SurfaceType.Weld
  143. o7.BottomSurface = Enum.SurfaceType.Weld
  144. o7.LeftSurface = Enum.SurfaceType.Weld
  145. o7.RightSurface = Enum.SurfaceType.Weld
  146. o7.TopSurface = Enum.SurfaceType.Weld
  147. o7.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  148. o7.Position = Vector3.new(-6.61737204, 3.41448307, 17.8865337)
  149. o8.Name = "Head"
  150. o8.Parent = o2
  151. o8.BrickColor = BrickColor.new("Bright yellow")
  152. o8.Position = Vector3.new(-6.82215786, 4.04161453, 17.7682972)
  153. o8.Rotation = Vector3.new(130.899994, -48.5900002, 139.110001)
  154. o8.Anchored = true
  155. o8.FormFactor = Enum.FormFactor.Symmetric
  156. o8.Friction = 0
  157. o8.Size = Vector3.new(0.912897527, 0.456448764, 0.456448764)
  158. o8.CFrame = CFrame.new(-6.82215786, 4.04161453, 17.7682972, -0.499990463, -0.432968557, -0.750032544, -1.93715096e-07, 0.866057456, -0.499944746, 0.866031528, -0.249968007, -0.433019727)
  159. o8.BackSurface = Enum.SurfaceType.Weld
  160. o8.BottomSurface = Enum.SurfaceType.Weld
  161. o8.LeftSurface = Enum.SurfaceType.Weld
  162. o8.RightSurface = Enum.SurfaceType.Weld
  163. o8.TopSurface = Enum.SurfaceType.Weld
  164. o8.Color = Color3.new(0.960784, 0.803922, 0.188235)
  165. o8.Position = Vector3.new(-6.82215786, 4.04161453, 17.7682972)
  166. o9.Parent = o8
  167. o9.Scale = Vector3.new(1.25, 1.25, 1.25)
  168. o10.Name = "face"
  169. o10.Parent = o8
  170. o10.Texture = "rbxasset://textures/face.png"
  171. o11.Parent = o2
  172. o11.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  173. o11.RightLeg = o5
  174. o11.LeftLeg = o6
  175. o11.Torso = o7
  176. o11.Health = 0
  177. o11.MaxHealth = 0
  178. o11.WalkSpeed = 0
  179. o12.Parent = o2
  180. o12.HeadColor = BrickColor.new("Bright yellow")
  181. o12.LeftArmColor = BrickColor.new("Bright yellow")
  182. o12.LeftLegColor = BrickColor.new("Br. yellowish green")
  183. o12.RightArmColor = BrickColor.new("Bright yellow")
  184. o12.RightLegColor = BrickColor.new("Br. yellowish green")
  185. o12.TorsoColor = BrickColor.new("Bright blue")
  186. o13.Parent = mas
  187. o13.Transparency = 1
  188. o13.Position = Vector3.new(-6, 1.5, 26)
  189. o13.Anchored = true
  190. o13.CanCollide = false
  191. o13.Size = Vector3.new(4, 1, 2)
  192. o13.CFrame = CFrame.new(-6, 1.5, 26, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  193. o13.BottomSurface = Enum.SurfaceType.Smooth
  194. o13.TopSurface = Enum.SurfaceType.Smooth
  195. o13.Position = Vector3.new(-6, 1.5, 26)
  196. o14.Parent = o13
  197. o14.SoundId = "rbxassetid://1662222421"
  198. o14.Volume = 1
  199. o14.Looped = true
  200. o15.Parent = mas
  201. o15.BrickColor = BrickColor.new("Dark orange")
  202. o15.Position = Vector3.new(13.5, 4, 19.5)
  203. o15.Anchored = true
  204. o15.CanCollide = false
  205. o15.Size = Vector3.new(1, 8, 5)
  206. o15.CFrame = CFrame.new(13.5, 4, 19.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  207. o15.BottomSurface = Enum.SurfaceType.Smooth
  208. o15.TopSurface = Enum.SurfaceType.Smooth
  209. o15.Color = Color3.new(0.627451, 0.372549, 0.207843)
  210. o15.Position = Vector3.new(13.5, 4, 19.5)
  211. o16.Parent = mas
  212. o16.Material = Enum.Material.Concrete
  213. o16.BrickColor = BrickColor.new("Fog")
  214. o16.Position = Vector3.new(2, 5, 5)
  215. o16.Anchored = true
  216. o16.Size = Vector3.new(24, 10, 2)
  217. o16.CFrame = CFrame.new(2, 5, 5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  218. o16.BottomSurface = Enum.SurfaceType.Smooth
  219. o16.TopSurface = Enum.SurfaceType.Smooth
  220. o16.Color = Color3.new(0.780392, 0.831373, 0.894118)
  221. o16.Position = Vector3.new(2, 5, 5)
  222. o17.Parent = mas
  223. o17.Position = Vector3.new(13.5, 4, 22.5)
  224. o17.Anchored = true
  225. o17.CanCollide = false
  226. o17.Size = Vector3.new(1, 8, 1)
  227. o17.CFrame = CFrame.new(13.5, 4, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  228. o17.BottomSurface = Enum.SurfaceType.Smooth
  229. o17.TopSurface = Enum.SurfaceType.Smooth
  230. o17.Position = Vector3.new(13.5, 4, 22.5)
  231. o18.Parent = mas
  232. o18.Material = Enum.Material.Fabric
  233. o18.BrickColor = BrickColor.new("Baby blue")
  234. o18.Position = Vector3.new(-3.5, 2.5, 8)
  235. o18.Anchored = true
  236. o18.Size = Vector3.new(5, 1, 2)
  237. o18.CFrame = CFrame.new(-3.5, 2.5, 8, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  238. o18.BottomSurface = Enum.SurfaceType.Smooth
  239. o18.TopSurface = Enum.SurfaceType.Smooth
  240. o18.Color = Color3.new(0.596078, 0.760784, 0.858824)
  241. o18.Position = Vector3.new(-3.5, 2.5, 8)
  242. o19.Parent = mas
  243. o19.Material = Enum.Material.Concrete
  244. o19.BrickColor = BrickColor.new("Fog")
  245. o19.Position = Vector3.new(13.5, 5, 33.5)
  246. o19.Anchored = true
  247. o19.Size = Vector3.new(1, 10, 11)
  248. o19.CFrame = CFrame.new(13.5, 5, 33.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  249. o19.BottomSurface = Enum.SurfaceType.Smooth
  250. o19.TopSurface = Enum.SurfaceType.Smooth
  251. o19.Color = Color3.new(0.780392, 0.831373, 0.894118)
  252. o19.Position = Vector3.new(13.5, 5, 33.5)
  253. o20.Parent = mas
  254. o20.BrickColor = BrickColor.new("Dark orange")
  255. o20.Position = Vector3.new(13.5, 4, 25.5)
  256. o20.Anchored = true
  257. o20.CanCollide = false
  258. o20.Size = Vector3.new(1, 8, 5)
  259. o20.CFrame = CFrame.new(13.5, 4, 25.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  260. o20.BottomSurface = Enum.SurfaceType.Smooth
  261. o20.TopSurface = Enum.SurfaceType.Smooth
  262. o20.Color = Color3.new(0.627451, 0.372549, 0.207843)
  263. o20.Position = Vector3.new(13.5, 4, 25.5)
  264. o21.Parent = mas
  265. o21.Material = Enum.Material.Fabric
  266. o21.BrickColor = BrickColor.new("Really red")
  267. o21.Position = Vector3.new(-3.5, 2.5, 16.5)
  268. o21.Anchored = true
  269. o21.Size = Vector3.new(9, 1, 13)
  270. o21.CFrame = CFrame.new(-3.5, 2.5, 16.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  271. o21.BottomSurface = Enum.SurfaceType.Smooth
  272. o21.TopSurface = Enum.SurfaceType.Smooth
  273. o21.Color = Color3.new(1, 0, 0)
  274. o21.Position = Vector3.new(-3.5, 2.5, 16.5)
  275. o22.Parent = mas
  276. o22.Material = Enum.Material.Concrete
  277. o22.BrickColor = BrickColor.new("Fog")
  278. o22.Position = Vector3.new(13.5, 5, 11.5)
  279. o22.Anchored = true
  280. o22.Size = Vector3.new(1, 10, 11)
  281. o22.CFrame = CFrame.new(13.5, 5, 11.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  282. o22.BottomSurface = Enum.SurfaceType.Smooth
  283. o22.TopSurface = Enum.SurfaceType.Smooth
  284. o22.Color = Color3.new(0.780392, 0.831373, 0.894118)
  285. o22.Position = Vector3.new(13.5, 5, 11.5)
  286. o23.Parent = mas
  287. o23.Material = Enum.Material.WoodPlanks
  288. o23.BrickColor = BrickColor.new("Daisy orange")
  289. o23.Position = Vector3.new(2.5, 0.5, 22.5)
  290. o23.Anchored = true
  291. o23.Size = Vector3.new(21, 1, 33)
  292. o23.CFrame = CFrame.new(2.5, 0.5, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  293. o23.BottomSurface = Enum.SurfaceType.Smooth
  294. o23.TopSurface = Enum.SurfaceType.Smooth
  295. o23.Color = Color3.new(0.972549, 0.85098, 0.427451)
  296. o23.Position = Vector3.new(2.5, 0.5, 22.5)
  297. o24.Parent = mas
  298. o24.Material = Enum.Material.Concrete
  299. o24.BrickColor = BrickColor.new("Fog")
  300. o24.Position = Vector3.new(13.5, 9, 22.5)
  301. o24.Anchored = true
  302. o24.Size = Vector3.new(1, 2, 11)
  303. o24.CFrame = CFrame.new(13.5, 9, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  304. o24.BottomSurface = Enum.SurfaceType.Smooth
  305. o24.TopSurface = Enum.SurfaceType.Smooth
  306. o24.Color = Color3.new(0.780392, 0.831373, 0.894118)
  307. o24.Position = Vector3.new(13.5, 9, 22.5)
  308. o25.Parent = mas
  309. o25.Material = Enum.Material.Wood
  310. o25.BrickColor = BrickColor.new("Dark orange")
  311. o25.Position = Vector3.new(-3.5, 1.5, 14.5)
  312. o25.Anchored = true
  313. o25.Size = Vector3.new(9, 1, 17)
  314. o25.CFrame = CFrame.new(-3.5, 1.5, 14.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  315. o25.BottomSurface = Enum.SurfaceType.Smooth
  316. o25.TopSurface = Enum.SurfaceType.Smooth
  317. o25.Color = Color3.new(0.627451, 0.372549, 0.207843)
  318. o25.Position = Vector3.new(-3.5, 1.5, 14.5)
  319. o26.Parent = mas
  320. o26.Material = Enum.Material.Wood
  321. o26.BrickColor = BrickColor.new("Alder")
  322. o26.Position = Vector3.new(2, 10.5, 22.5)
  323. o26.Anchored = true
  324. o26.Size = Vector3.new(24, 1, 37)
  325. o26.CFrame = CFrame.new(2, 10.5, 22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  326. o26.BottomSurface = Enum.SurfaceType.Smooth
  327. o26.TopSurface = Enum.SurfaceType.Smooth
  328. o26.Color = Color3.new(0.705882, 0.501961, 1)
  329. o26.Position = Vector3.new(2, 10.5, 22.5)
  330. o27.Parent = o26
  331. o27.Brightness = 3
  332. o27.Range = 15
  333. o28.Parent = o26
  334. o28.Texture = "http://www.roblox.com/asset/?id=1042151290"
  335. o28.Face = Enum.NormalId.Bottom
  336. o29.Parent = mas
  337. o29.Material = Enum.Material.Concrete
  338. o29.BrickColor = BrickColor.new("Fog")
  339. o29.Position = Vector3.new(2, 5, 40)
  340. o29.Anchored = true
  341. o29.Size = Vector3.new(24, 10, 2)
  342. o29.CFrame = CFrame.new(2, 5, 40, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  343. o29.BottomSurface = Enum.SurfaceType.Smooth
  344. o29.TopSurface = Enum.SurfaceType.Smooth
  345. o29.Color = Color3.new(0.780392, 0.831373, 0.894118)
  346. o29.Position = Vector3.new(2, 5, 40)
  347. mas.Parent = workspace
  348. mas:MakeJoints()
  349. local mas1 = mas:GetChildren()
  350. for i=1,#mas1 do
  351. mas1[i].Parent = workspace
  352. ypcall(function() mas1[i]:MakeJoints() end)
  353. end
  354. mas:Destroy()
  355. for i=1,#cors do
  356. coroutine.resume(cors[i])
  357. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement