Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created by PenguinAnonymous (ttyyuu12345) Editied by Dittoide
- --What's Added To M2S with Dittoide's Edit?
- --/ Better dummy script function to improve compatibility (makes it like you are running the code inside the script.)
- --/ Removed Gui In Bottom-Left for when you are making guis.
- --/ Removed "Inserting Map Please Wait" gui when selected Workspace as Place to export.
- --Credit: PenguinAnonymous for making original script, i just wanted to iron it out to my liking.
- --Errors: Camera,Terrain
- local runDummyScript = function(f,scri)
- if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
- local Dummy_CoRoutine = coroutine.create(function()
- getfenv().script = scri
- ypcall(function() f() end)
- end)
- table.insert(cors,Dummy_CoRoutine);
- coroutine.resume(Dummy_CoRoutine);
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "M2S_Model"
- o3 = Instance.new("Model")
- o4 = Instance.new("Part")
- o5 = Instance.new("SpecialMesh")
- o6 = Instance.new("Part")
- o7 = Instance.new("Part")
- o8 = Instance.new("Part")
- o9 = Instance.new("Part")
- o10 = Instance.new("Part")
- o3.Parent = mas
- o4.Parent = o3
- o4.BrickColor = BrickColor.new("Dark stone grey")
- o4.Transparency = 0.30000001192093
- o4.Position = Vector3.new(-19.7996979, 32.7543106, 52)
- o4.Rotation = Vector3.new(-86.5400009, 29.9599991, -1.73000002)
- o4.Size = Vector3.new(4, 2.4000001, 2)
- 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)
- o4.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o4.Position = Vector3.new(-19.7996979, 32.7543106, 52)
- o5.Parent = o4
- o5.MeshId = "http://www.roblox.com/asset/?id=12221720"
- o5.Scale = Vector3.new(4, 4, 4)
- o5.MeshType = Enum.MeshType.FileMesh
- o6.Parent = o3
- o6.BrickColor = BrickColor.new("Dark stone grey")
- o6.Position = Vector3.new(-26, 21.7224236, 51)
- o6.Rotation = Vector3.new(-90, -59.9899979, 90)
- o6.Size = Vector3.new(4, 9.60000038, 4)
- o6.CFrame = CFrame.new(-26, 21.7224236, 51, 0, -0.500150919, -0.865937889, 0, -0.865937889, 0.500150919, -1, 0, 0)
- o6.BottomSurface = Enum.SurfaceType.Smooth
- o6.TopSurface = Enum.SurfaceType.Smooth
- o6.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o6.Position = Vector3.new(-26, 21.7224236, 51)
- o7.Parent = o3
- o7.BrickColor = BrickColor.new("Dark stone grey")
- o7.Position = Vector3.new(-32, 16.7224045, 51)
- o7.Rotation = Vector3.new(0, 90, 0)
- o7.Size = Vector3.new(4, 9.60000038, 8)
- o7.CFrame = CFrame.new(-32, 16.7224045, 51, -0, 0, 1, -0, 1, 0, -1, 0, 0)
- o7.TopSurface = Enum.SurfaceType.Smooth
- o7.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o7.Position = Vector3.new(-32, 16.7224045, 51)
- o8.Parent = o3
- o8.BrickColor = BrickColor.new("Dark stone grey")
- o8.Position = Vector3.new(-39.0000038, 17.5224171, 51)
- o8.Rotation = Vector3.new(90, 69, -90)
- o8.Size = Vector3.new(4, 9.60000038, 4)
- o8.CFrame = CFrame.new(-39.0000038, 17.5224171, 51, 0, 0.358368039, 0.933580935, 0, 0.933580935, -0.358368039, -1, 0, 0)
- o8.BottomSurface = Enum.SurfaceType.Smooth
- o8.TopSurface = Enum.SurfaceType.Smooth
- o8.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o8.Position = Vector3.new(-39.0000038, 17.5224171, 51)
- o9.Parent = o3
- o9.BrickColor = BrickColor.new("Dark stone grey")
- o9.Position = Vector3.new(-29, 7.72241306, 51)
- o9.Rotation = Vector3.new(-90, 75, 90)
- o9.Size = Vector3.new(4, 10.8000002, 4)
- o9.CFrame = CFrame.new(-29, 7.72241306, 51, 0, -0.258819133, 0.96592629, 0, 0.96592629, 0.258819133, -1, 0, 0)
- o9.TopSurface = Enum.SurfaceType.Smooth
- o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o9.Position = Vector3.new(-29, 7.72241306, 51)
- o10.Parent = o3
- o10.BrickColor = BrickColor.new("Dark stone grey")
- o10.Position = Vector3.new(-34, 7.12241077, 51)
- o10.Rotation = Vector3.new(0, 90, 0)
- o10.Size = Vector3.new(4, 9.60000038, 4)
- o10.CFrame = CFrame.new(-34, 7.12241077, 51, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- o10.TopSurface = Enum.SurfaceType.Smooth
- o10.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o10.Position = Vector3.new(-34, 7.12241077, 51)
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- mess_handle.Text = "Resetting"
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- v:LoadCharacter()
- end
- wait(1)
- mess_handle:Remove()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement