Advertisement
lafur

Untitled

Oct 21st, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 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,MeshPart
  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. o4 = Instance.new("Model")
  21. o7 = Instance.new("ManualWeld")
  22. o9 = Instance.new("ManualWeld")
  23. o11 = Instance.new("ManualWeld")
  24. o4.Parent = mas
  25. o7.Name = "Weld"
  26. o7.Parent = mas
  27. o7.C0 = CFrame.new(0, 0, 0, 5.96046448e-08, 0, -0.99999994, 0, 1, 0, 0.99999994, 0, 5.96046448e-08)
  28. 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)
  29. o7.Part0 = mas
  30. o7.Part1 = mas
  31. o9.Name = "Weld"
  32. o9.Parent = mas
  33. o9.C0 = CFrame.new(0, 0, 0, 5.96046448e-08, 0, -0.99999994, 0, 1, 0, 0.99999994, 0, 5.96046448e-08)
  34. 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)
  35. o9.Part0 = mas
  36. o9.Part1 = mas
  37. o11.Name = "Weld"
  38. o11.Parent = mas
  39. o11.C0 = CFrame.new(0, 0, 0, 5.96046448e-08, 0, -0.99999994, 0, 1, 0, 0.99999994, 0, 5.96046448e-08)
  40. 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)
  41. o11.Part0 = mas
  42. o11.Part1 = mas
  43. mas.Parent = workspace
  44. mas:MakeJoints()
  45. local mas1 = mas:GetChildren()
  46. for i=1,#mas1 do
  47. mas1[i].Parent = workspace
  48. ypcall(function() mas1[i]:MakeJoints() end)
  49. end
  50. mas:Destroy()
  51. for i=1,#cors do
  52. coroutine.resume(cors[i])
  53. end
  54. mess_handle.Text = "Resetting"
  55. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  56. v:LoadCharacter()
  57. end
  58. wait(1)
  59. mess_handle:Remove()
  60.  
  61. game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
  62. game:GetService("Lighting").Brightness = 1
  63. game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  64. game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  65. game:GetService("Lighting").GlobalShadows = true
  66. game:GetService("Lighting").OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
  67. game:GetService("Lighting").Outlines = false
  68. game:GetService("Lighting").GeographicLatitude = 41.733299255371
  69. game:GetService("Lighting").TimeOfDay = "14:00:00"
  70. game:GetService("Lighting").FogColor = Color3.new(0.75, 0.75, 0.75)
  71. game:GetService("Lighting").FogEnd = 100000
  72. game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement