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,MeshPart
- 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"
- o4 = Instance.new("Model")
- o7 = Instance.new("ManualWeld")
- o9 = Instance.new("ManualWeld")
- o11 = Instance.new("ManualWeld")
- o4.Parent = mas
- o7.Name = "Weld"
- o7.Parent = mas
- o7.C0 = CFrame.new(0, 0, 0, 5.96046448e-08, 0, -0.99999994, 0, 1, 0, 0.99999994, 0, 5.96046448e-08)
- o7.C1 = CFrame.new(-0.0371084213, -0.113280773, -0.314458847, 5.96046235e-08, 0, -0.999999583, 0, 1, 0, 0.999999583, 0, 5.96046235e-08)
- o7.Part0 = mas
- o7.Part1 = mas
- o9.Name = "Weld"
- o9.Parent = mas
- o9.C0 = CFrame.new(0, 0, 0, 5.96046448e-08, 0, -0.99999994, 0, 1, 0, 0.99999994, 0, 5.96046448e-08)
- o9.C1 = CFrame.new(-0.0332708359, 0.0924701691, 0.236027718, 5.96046235e-08, 0, -0.999999583, 0, 1, 0, 0.999999583, 0, 5.96046235e-08)
- o9.Part0 = mas
- o9.Part1 = mas
- o11.Name = "Weld"
- o11.Parent = mas
- o11.C0 = CFrame.new(0, 0, 0, 5.96046448e-08, 0, -0.99999994, 0, 1, 0, 0.99999994, 0, 5.96046448e-08)
- o11.C1 = CFrame.new(-0.0410146713, 0.197268963, -0.250002861, 5.96046235e-08, 0, -0.999999583, 0, 1, 0, 0.999999583, 0, 5.96046235e-08)
- o11.Part0 = mas
- o11.Part1 = mas
- 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()
- game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
- game:GetService("Lighting").Brightness = 1
- game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
- game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
- game:GetService("Lighting").GlobalShadows = true
- game:GetService("Lighting").OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
- game:GetService("Lighting").Outlines = false
- game:GetService("Lighting").GeographicLatitude = 41.733299255371
- game:GetService("Lighting").TimeOfDay = "14:00:00"
- game:GetService("Lighting").FogColor = Color3.new(0.75, 0.75, 0.75)
- game:GetService("Lighting").FogEnd = 100000
- game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement