lafur

Untitled

Oct 21st, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 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. o3 = Instance.new("Model")
  21. o3.Name = "Hatsune Miku"
  22. o3.Parent = mas
  23. mas.Parent = workspace
  24. mas:MakeJoints()
  25. local mas1 = mas:GetChildren()
  26. for i=1,#mas1 do
  27. mas1[i].Parent = workspace
  28. ypcall(function() mas1[i]:MakeJoints() end)
  29. end
  30. mas:Destroy()
  31. for i=1,#cors do
  32. coroutine.resume(cors[i])
  33. end
  34. mess_handle.Text = "Resetting"
  35. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  36. v:LoadCharacter()
  37. end
  38. wait(1)
  39. mess_handle:Remove()
  40.  
  41. game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
  42. game:GetService("Lighting").Brightness = 1
  43. game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  44. game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  45. game:GetService("Lighting").GlobalShadows = true
  46. game:GetService("Lighting").OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
  47. game:GetService("Lighting").Outlines = false
  48. game:GetService("Lighting").GeographicLatitude = 41.733299255371
  49. game:GetService("Lighting").TimeOfDay = "14:00:00"
  50. game:GetService("Lighting").FogColor = Color3.new(0.75, 0.75, 0.75)
  51. game:GetService("Lighting").FogEnd = 100000
  52. game:GetService("Lighting").FogStart = 0
Add Comment
Please, Sign In to add comment