Advertisement
lafur

Untitled

Oct 19th, 2018
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 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: Camera,Terrain
  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. o3 = Instance.new("Model")
  21. o4 = Instance.new("Part")
  22. o5 = Instance.new("SpecialMesh")
  23. o6 = Instance.new("Part")
  24. o7 = Instance.new("Part")
  25. o8 = Instance.new("Part")
  26. o9 = Instance.new("Part")
  27. o10 = Instance.new("Part")
  28. o3.Parent = mas
  29. o4.Parent = o3
  30. o4.BrickColor = BrickColor.new("Dark stone grey")
  31. o4.Transparency = 0.30000001192093
  32. o4.Position = Vector3.new(-19.7996979, 32.7543106, 52)
  33. o4.Rotation = Vector3.new(-86.5400009, 29.9599991, -1.73000002)
  34. o4.Size = Vector3.new(4, 2.4000001, 2)
  35. o4.CFrame = CFrame.new(-19.7996979, 32.7543106, 52, 0.865938365, 0.0261758789, 0.499465615, -0.500151098, 0.0453196988, 0.864751697, 1.86264537e-09, -0.998629689, 0.052335944)
  36. o4.Color = Color3.new(0.388235, 0.372549, 0.384314)
  37. o4.Position = Vector3.new(-19.7996979, 32.7543106, 52)
  38. o5.Parent = o4
  39. o5.MeshId = "http://www.roblox.com/asset/?id=12221720"
  40. o5.Scale = Vector3.new(4, 4, 4)
  41. o5.MeshType = Enum.MeshType.FileMesh
  42. o6.Parent = o3
  43. o6.BrickColor = BrickColor.new("Dark stone grey")
  44. o6.Position = Vector3.new(-26, 21.7224236, 51)
  45. o6.Rotation = Vector3.new(-90, -59.9899979, 90)
  46. o6.Size = Vector3.new(4, 9.60000038, 4)
  47. o6.CFrame = CFrame.new(-26, 21.7224236, 51, 0, -0.500150919, -0.865937889, 0, -0.865937889, 0.500150919, -1, 0, 0)
  48. o6.BottomSurface = Enum.SurfaceType.Smooth
  49. o6.TopSurface = Enum.SurfaceType.Smooth
  50. o6.Color = Color3.new(0.388235, 0.372549, 0.384314)
  51. o6.Position = Vector3.new(-26, 21.7224236, 51)
  52. o7.Parent = o3
  53. o7.BrickColor = BrickColor.new("Dark stone grey")
  54. o7.Position = Vector3.new(-32, 16.7224045, 51)
  55. o7.Rotation = Vector3.new(0, 90, 0)
  56. o7.Size = Vector3.new(4, 9.60000038, 8)
  57. o7.CFrame = CFrame.new(-32, 16.7224045, 51, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  58. o7.TopSurface = Enum.SurfaceType.Smooth
  59. o7.Color = Color3.new(0.388235, 0.372549, 0.384314)
  60. o7.Position = Vector3.new(-32, 16.7224045, 51)
  61. o8.Parent = o3
  62. o8.BrickColor = BrickColor.new("Dark stone grey")
  63. o8.Position = Vector3.new(-39.0000038, 17.5224171, 51)
  64. o8.Rotation = Vector3.new(90, 69, -90)
  65. o8.Size = Vector3.new(4, 9.60000038, 4)
  66. o8.CFrame = CFrame.new(-39.0000038, 17.5224171, 51, 0, 0.358368039, 0.933580935, 0, 0.933580935, -0.358368039, -1, 0, 0)
  67. o8.BottomSurface = Enum.SurfaceType.Smooth
  68. o8.TopSurface = Enum.SurfaceType.Smooth
  69. o8.Color = Color3.new(0.388235, 0.372549, 0.384314)
  70. o8.Position = Vector3.new(-39.0000038, 17.5224171, 51)
  71. o9.Parent = o3
  72. o9.BrickColor = BrickColor.new("Dark stone grey")
  73. o9.Position = Vector3.new(-29, 7.72241306, 51)
  74. o9.Rotation = Vector3.new(-90, 75, 90)
  75. o9.Size = Vector3.new(4, 10.8000002, 4)
  76. o9.CFrame = CFrame.new(-29, 7.72241306, 51, 0, -0.258819133, 0.96592629, 0, 0.96592629, 0.258819133, -1, 0, 0)
  77. o9.TopSurface = Enum.SurfaceType.Smooth
  78. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  79. o9.Position = Vector3.new(-29, 7.72241306, 51)
  80. o10.Parent = o3
  81. o10.BrickColor = BrickColor.new("Dark stone grey")
  82. o10.Position = Vector3.new(-34, 7.12241077, 51)
  83. o10.Rotation = Vector3.new(0, 90, 0)
  84. o10.Size = Vector3.new(4, 9.60000038, 4)
  85. o10.CFrame = CFrame.new(-34, 7.12241077, 51, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  86. o10.TopSurface = Enum.SurfaceType.Smooth
  87. o10.Color = Color3.new(0.388235, 0.372549, 0.384314)
  88. o10.Position = Vector3.new(-34, 7.12241077, 51)
  89. mas.Parent = workspace
  90. mas:MakeJoints()
  91. local mas1 = mas:GetChildren()
  92. for i=1,#mas1 do
  93. mas1[i].Parent = workspace
  94. ypcall(function() mas1[i]:MakeJoints() end)
  95. end
  96. mas:Destroy()
  97. for i=1,#cors do
  98. coroutine.resume(cors[i])
  99. end
  100. mess_handle.Text = "Resetting"
  101. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  102. v:LoadCharacter()
  103. end
  104. wait(1)
  105. mess_handle:Remove()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement