Advertisement
lafur

Untitled

Mar 22nd, 2019
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 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. mas.Parent = workspace
  21. mas:MakeJoints()
  22. local mas1 = mas:GetChildren()
  23. for i=1,#mas1 do
  24. mas1[i].Parent = script
  25. ypcall(function() mas1[i]:MakeJoints() end)
  26. end
  27. mas:Destroy()
  28. for i=1,#cors do
  29. coroutine.resume(cors[i])
  30. end
  31.  
  32. game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
  33. game:GetService("Lighting").Brightness = 2
  34. game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  35. game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  36. game:GetService("Lighting").GlobalShadows = true
  37. game:GetService("Lighting").OutdoorAmbient = Color3.new(0.501961, 0.501961, 0.501961)
  38. game:GetService("Lighting").Outlines = false
  39. game:GetService("Lighting").GeographicLatitude = 41.733299255371
  40. game:GetService("Lighting").TimeOfDay = "14:00:00"
  41. game:GetService("Lighting").FogColor = Color3.new(0.752941, 0.752941, 0.752941)
  42. game:GetService("Lighting").FogEnd = 100000
  43. game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement