Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. service = setmetatable({}, {
  2. __index = function(self, key)
  3. return game:GetService(key)
  4. end
  5. })
  6. Variables = {
  7. ZaWarudo = false;
  8. CodeName = math.random();
  9. FrozenObjects = {};
  10. ScriptBuilder = {};
  11. CachedDonors = {};
  12. LightingSettings = {
  13. Ambient = service.Lighting.Ambient;
  14. OutdoorAmbient = service.Lighting.OutdoorAmbient;
  15. Brightness = service.Lighting.Brightness;
  16. TimeOfDay = service.Lighting.TimeOfDay;
  17. FogColor = service.Lighting.FogColor;
  18. FogEnd = service.Lighting.FogEnd;
  19. FogStart = service.Lighting.FogStart;
  20. GlobalShadows = service.Lighting.GlobalShadows;
  21. Outlines = service.Lighting.Outlines;
  22. ShadowColor = service.Lighting.ShadowColor;
  23. ColorShift_Bottom = service.Lighting.ColorShift_Bottom;
  24. ColorShift_Top = service.Lighting.ColorShift_Top;
  25. GeographicLatitude = service.Lighting.GeographicLatitude;
  26. Name = service.Lighting.Name;
  27. };
  28. };
  29.  
  30.  
  31.  
  32. Function = function(plr,args)
  33. local doPause; doPause = function(obj)
  34. if obj:IsA("BasePart") and not obj.Anchored and not obj:IsDescendantOf(plr.Character) then
  35. obj.Anchored = true
  36. table.insert(Variables.FrozenObjects, obj)
  37. end
  38.  
  39. for i,v in next,obj:GetChildren() do
  40. doPause(v)
  41. end
  42. end
  43.  
  44. if not Variables.ZaWarudoDebounce then
  45. Variables.ZaWarudoDebounce = true
  46. delay(10, function() Variables.ZaWarudoDebounce = false end)
  47. if Variables.ZaWarudo then
  48. local audio = Instance.new("Sound",workspace)
  49. audio.SoundId = "rbxassetid://676242549"
  50. audio.Volume = 0.5
  51. audio:Play()
  52. wait(2)
  53. for i,part in next,Variables.FrozenObjects do
  54. part.Anchored = false
  55. end
  56.  
  57. local old = service.Lighting:FindFirstChild("ADONIS_ZAWARUDO")
  58. if old then
  59. for i = -2,0,0.1 do
  60. old.Saturation = i
  61. wait(0.01)
  62. end
  63. old:Destroy()
  64. end
  65.  
  66. local audio = workspace:FindFirstChild("ADONIS_CLOCK_AUDIO")
  67. if audio then
  68. audio:Stop()
  69. audio:Destroy()
  70. end
  71.  
  72. Variables.ZaWarudo:Disconnect()
  73. Variables.FrozenObjects = {}
  74. Variables.ZaWarudo = false
  75. audio:Destroy()
  76. else
  77. local audio = Instance.new("Sound",workspace)
  78. audio.SoundId = "rbxassetid://274698941"
  79. audio.Volume = 10
  80. audio:Play()
  81. wait(2.25)
  82. doPause(workspace)
  83. Variables.ZaWarudo = game.DescendantAdded:connect(function(c)
  84. if c:IsA("BasePart") and not c.Anchored and c.Name ~= "HumanoidRootPart" then
  85. c.Anchored = true
  86. table.insert(Variables.FrozenObjects,c)
  87. end
  88. end)
  89.  
  90. local cc = Instance.new("ColorCorrectionEffect",service.Lighting)
  91. cc.Name = "ADONIS_ZAWARUDO"
  92. for i = 0,-2,-0.1 do
  93. cc.Saturation = i
  94. wait(0.01)
  95. end
  96.  
  97. audio:Destroy()
  98. local clock = Instance.new("Sound",workspace)
  99. clock.Name = "ADONIS_CLOCK_AUDIO"
  100. clock.SoundId = "rbxassetid://160189066"
  101. clock.Looped = true
  102. clock.Volume = 1
  103. clock:Play()
  104. end
  105. Variables.ZaWarudoDebounce = false
  106. end
  107. end
  108. for _,i in pairs(game:GetService("Players"):GetPlayers()) do
  109. Function(i)
  110. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement