Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- service = setmetatable({}, {
- __index = function(self, key)
- return game:GetService(key)
- end
- })
- Variables = {
- ZaWarudo = false;
- CodeName = math.random();
- FrozenObjects = {};
- ScriptBuilder = {};
- CachedDonors = {};
- LightingSettings = {
- Ambient = service.Lighting.Ambient;
- OutdoorAmbient = service.Lighting.OutdoorAmbient;
- Brightness = service.Lighting.Brightness;
- TimeOfDay = service.Lighting.TimeOfDay;
- FogColor = service.Lighting.FogColor;
- FogEnd = service.Lighting.FogEnd;
- FogStart = service.Lighting.FogStart;
- GlobalShadows = service.Lighting.GlobalShadows;
- Outlines = service.Lighting.Outlines;
- ShadowColor = service.Lighting.ShadowColor;
- ColorShift_Bottom = service.Lighting.ColorShift_Bottom;
- ColorShift_Top = service.Lighting.ColorShift_Top;
- GeographicLatitude = service.Lighting.GeographicLatitude;
- Name = service.Lighting.Name;
- };
- };
- Function = function(plr,args)
- local doPause; doPause = function(obj)
- if obj:IsA("BasePart") and not obj.Anchored and not obj:IsDescendantOf(plr.Character) then
- obj.Anchored = true
- table.insert(Variables.FrozenObjects, obj)
- end
- for i,v in next,obj:GetChildren() do
- doPause(v)
- end
- end
- if not Variables.ZaWarudoDebounce then
- Variables.ZaWarudoDebounce = true
- delay(10, function() Variables.ZaWarudoDebounce = false end)
- if Variables.ZaWarudo then
- local audio = Instance.new("Sound",workspace)
- audio.SoundId = "rbxassetid://676242549"
- audio.Volume = 0.5
- audio:Play()
- wait(2)
- for i,part in next,Variables.FrozenObjects do
- part.Anchored = false
- end
- local old = service.Lighting:FindFirstChild("ADONIS_ZAWARUDO")
- if old then
- for i = -2,0,0.1 do
- old.Saturation = i
- wait(0.01)
- end
- old:Destroy()
- end
- local audio = workspace:FindFirstChild("ADONIS_CLOCK_AUDIO")
- if audio then
- audio:Stop()
- audio:Destroy()
- end
- Variables.ZaWarudo:Disconnect()
- Variables.FrozenObjects = {}
- Variables.ZaWarudo = false
- audio:Destroy()
- else
- local audio = Instance.new("Sound",workspace)
- audio.SoundId = "rbxassetid://274698941"
- audio.Volume = 10
- audio:Play()
- wait(2.25)
- doPause(workspace)
- Variables.ZaWarudo = game.DescendantAdded:connect(function(c)
- if c:IsA("BasePart") and not c.Anchored and c.Name ~= "HumanoidRootPart" then
- c.Anchored = true
- table.insert(Variables.FrozenObjects,c)
- end
- end)
- local cc = Instance.new("ColorCorrectionEffect",service.Lighting)
- cc.Name = "ADONIS_ZAWARUDO"
- for i = 0,-2,-0.1 do
- cc.Saturation = i
- wait(0.01)
- end
- audio:Destroy()
- local clock = Instance.new("Sound",workspace)
- clock.Name = "ADONIS_CLOCK_AUDIO"
- clock.SoundId = "rbxassetid://160189066"
- clock.Looped = true
- clock.Volume = 1
- clock:Play()
- end
- Variables.ZaWarudoDebounce = false
- end
- end
- for _,i in pairs(game:GetService("Players"):GetPlayers()) do
- Function(i)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement