-- LocalScript ReplicationStuff (via decompile) local ReplicatedStorage_1 = game:GetService("ReplicatedStorage") local TweenService_upv_1 = game:GetService("TweenService") local Players_1 = game:GetService("Players") local Lighting_upv_1 = game:GetService("Lighting") local Replication_1 = ReplicatedStorage_1.Remotes:WaitForChild("Replication") local Firework_upv_1 = ReplicatedStorage_1.Misc:WaitForChild("Firework") local SnowBall_upv_1 = game.ReplicatedStorage:WaitForChild("Misc"):WaitForChild("SnowBall") local WaterBalloon_upv_1 = game.ReplicatedStorage:WaitForChild("Misc"):WaitForChild("WaterBalloon") local FlashBang_upv_1 = game.ReplicatedStorage:WaitForChild("Misc"):WaitForChild("FlashBang") local FlashUI_upv_1 = game.ReplicatedStorage:WaitForChild("Misc"):WaitForChild("FlashUI") local CameraShaker_upv_1 = require(ReplicatedStorage_1.Modules:WaitForChild("CameraShaker")) local LocalPlayer_upv_1 = Players_1.LocalPlayer local CurrentCamera_upv_1 = workspace.CurrentCamera local Storage_upv_1 = workspace:WaitForChild("Storage") local u1 = CameraShaker_upv_1.new( Enum.RenderPriority.Camera.Value, function(a1) --[[ line: 21 upvalues: CurrentCamera_upv_1 (copy, index: 1) ]] CurrentCamera_upv_1.CFrame = CurrentCamera_upv_1.CFrame * a1 end ) u1:Start() local u2 = function(a1) --[[ line: 27 ]] for _, value_1 in a1 do if not (value_1:IsA("ParticleEmitter")) then continue end local v1 = value_1:GetAttribute("EmitCount") local v2 = value_1:GetAttribute("EmitDelay") if not (v1) then continue end if not (v2) then value_1:Emit(v1) continue end if v2 > 0 then task.delay(v2, value_1.Emit, value_1, v1) else value_1:Emit(v1) end end end Replication_1.OnClientEvent:Connect( function(a1, ...) --[[ line: 44 upvalues: Firework_upv_1 (copy, index: 1) Storage_upv_1 (copy, index: 2) TweenService_upv_1 (copy, index: 3) u2 (copy, index: 4) CurrentCamera_upv_1 (copy, index: 5) LocalPlayer_upv_1 (copy, index: 6) u1 (copy, index: 7) CameraShaker_upv_1 (copy, index: 8) SnowBall_upv_1 (copy, index: 9) Lighting_upv_1 (copy, index: 10) WaterBalloon_upv_1 (copy, index: 11) FlashBang_upv_1 (copy, index: 12) FlashUI_upv_1 (copy, index: 13) ]] local v3 = nil if a1 == "FireworkReplication" then local v4 = ... local u3 = Firework_upv_1:Clone() local u4 = script:WaitForChild("FireExplosion"):Clone() u3.Parent = Storage_upv_1 u4.Parent = Storage_upv_1 u3:MoveTo(v4) local Handle_upv_1 = u3:FindFirstChild("Handle") local Orange_upv_1 = Handle_upv_1:FindFirstChild("Attachment"):FindFirstChild("Orange") v3 = Handle_upv_1:FindFirstChild("Pre") local SizzleA_1 = Handle_upv_1:FindFirstChild("SizzleA") local Smash_1 = Handle_upv_1:FindFirstChild("Smash") local Sizzle_upv_1 = Handle_upv_1:FindFirstChild("Sizzle") local Pop_upv_1 = Handle_upv_1:FindFirstChild("Pop") local Bang_upv_1 = Handle_upv_1:FindFirstChild("Bang") SizzleA_1:Play() task.wait(2) if v3 then v3:Destroy() end Smash_1:Play() Orange_upv_1.Enabled = true local u5 = Instance.new("Vector3Value") u5.Value = u3:GetPivot().Position u5.Parent = u3 local v5 = u5:GetPropertyChangedSignal("Value"):Connect( function() --[[ line: 80 upvalues: u3 (copy, index: 1) u5 (copy, index: 2) ]] u3:MoveTo(u5.Value) end ) local u6 = v5 local v6 = TweenService_upv_1:Create(u5, TweenInfo.new(1.5, Enum.EasingStyle.Linear), {Value = u5.Value + Vector3.new(0, 80, 0)}) v6:Play() v6.Completed:Once( function() --[[ line: 91 upvalues: Orange_upv_1 (copy, index: 1) u4 (copy, index: 2) Handle_upv_1 (copy, index: 3) u2 (copy, index: 4) Sizzle_upv_1 (copy, index: 5) CurrentCamera_upv_1 (copy, index: 6) LocalPlayer_upv_1 (copy, index: 7) u1 (copy, index: 8) CameraShaker_upv_1 (copy, index: 9) Pop_upv_1 (copy, index: 10) Bang_upv_1 (copy, index: 11) u3 (copy, index: 12) u5 (copy, index: 13) u6 (ref, index: 14) ]] Orange_upv_1.Enabled = false u4.Position = Handle_upv_1.Position u2(u4:GetDescendants()) Sizzle_upv_1:Play() task.delay( 0.475, function() --[[ line: 98 upvalues: CurrentCamera_upv_1 (copy, index: 1) u4 (copy, index: 2) LocalPlayer_upv_1 (copy, index: 3) u1 (copy, index: 4) CameraShaker_upv_1 (copy, index: 5) Pop_upv_1 (copy, index: 6) Bang_upv_1 (copy, index: 7) Handle_upv_1 (copy, index: 8) u3 (copy, index: 9) u5 (copy, index: 10) u6 (ref, index: 11) ]] local _, v7 = CurrentCamera_upv_1:WorldToViewportPoint(u4.Position) local v8 = LocalPlayer_upv_1.Character and (LocalPlayer_upv_1.Character:FindFirstChild("Head")) if v7 and v8 and (u4.Position - v8.Position).Magnitude <= 500 then u1:Shake(CameraShaker_upv_1.Presets.KindaSmoothExplosion) end Pop_upv_1:Play() Bang_upv_1:Play() task.wait(0.25) Handle_upv_1.Transparency = 1 for v9, value_2 in Handle_upv_1:GetChildren() do if value_2:IsA("MeshPart") then value_2.Transparency = 1 continue end if value_2:IsA("Texture") then value_2:Destroy() end end task.wait(3.5) u4:Destroy() u3:Destroy() u5:Destroy() u6:Disconnect() end ) end ) elseif a1 == "SnowReplication" then local v9, _, v10, v11, v12 = ... local u7 = SnowBall_upv_1:Clone() u7.Parent = workspace.Storage u7.Position = v9 u7.Trail.Enabled = true local v13 = ((v10.Magnitude < v12) and (v10 / v11 + Vector3.new(0, (game.Workspace.Gravity * v11) * 0.5, 0))) or ((v10.Unit * v12) / v11 + Vector3.new(0, (game.Workspace.Gravity * v11) * 0.5, 0)) u7:ApplyImpulse(v13) task.delay( 2, function() --[[ line: 146 upvalues: u7 (copy, index: 1) ]] u7:Destroy() end ) elseif a1 == "SnowHit" then local v14 = script.Splash:Clone() v14.Parent = LocalPlayer_upv_1.PlayerGui.Main local tbl_1 = {ExposureCompensation = 1} TweenService_upv_1:Create(Lighting_upv_1, TweenInfo.new(0.5), tbl_1):Play() local tbl_2 = {ImageTransparency = 0} TweenService_upv_1:Create(v14, TweenInfo.new(0.5), tbl_2):Play() task.wait(1) local tbl_3 = {ImageTransparency = 1} TweenService_upv_1:Create(v14, TweenInfo.new(0.5), tbl_3):Play() task.wait(0.5) local tbl_4 = {ExposureCompensation = 0.35} TweenService_upv_1:Create(Lighting_upv_1, TweenInfo.new(0.5), tbl_4):Play() v14:Destroy() elseif a1 == "WaterBalloonHit" then local v15 = script.WaterSplash:Clone() v15.Parent = LocalPlayer_upv_1.PlayerGui.Main v15.Position = UDim2.new(0.5, 0, math.random(0, 100) * 0.01, 0) local tbl_5 = {ExposureCompensation = 1} TweenService_upv_1:Create(Lighting_upv_1, TweenInfo.new(0.5), tbl_5):Play() local tbl_6 = {ImageTransparency = 0} TweenService_upv_1:Create(v15, TweenInfo.new(0.5), tbl_6):Play() task.wait(1) local tbl_7 = {ImageTransparency = 1} TweenService_upv_1:Create(v15, TweenInfo.new(0.5), tbl_7):Play() task.wait(0.5) local tbl_8 = {ExposureCompensation = 0.35} TweenService_upv_1:Create(Lighting_upv_1, TweenInfo.new(0.5), tbl_8):Play() v15:Destroy() elseif a1 == "WaterBalloonReplication" then local v16, v17, _, v18, v19, v20 = ... local u8 = WaterBalloon_upv_1:Clone() u8.Parent = workspace.Storage u8.Position = v17 u8.Trail.Enabled = true WaterBalloon_upv_1.Color = v16 local v21 = ((v18.Magnitude < v20) and (v18 / v19 + Vector3.new(0, (game.Workspace.Gravity * v19) * 0.5, 0))) or ((v18.Unit * v20) / v19 + Vector3.new(0, (game.Workspace.Gravity * v19) * 0.5, 0)) u8:ApplyImpulse(v21) task.delay( 2, function() --[[ line: 189 upvalues: u8 (copy, index: 1) ]] u8:Destroy() end ) elseif a1 == "FlashReplication" then local v22, _, v23, v24, v25 = ... local u9 = FlashBang_upv_1:Clone() u9.Parent = workspace.Storage u9.Position = v22 u9.Trail.Enabled = true local v26 = ((v23.Magnitude < v25) and (v23 / v24 + Vector3.new(0, (game.Workspace.Gravity * v24) * 0.5, 0))) or ((v23.Unit * v25) / v24 + Vector3.new(0, (game.Workspace.Gravity * v24) * 0.5, 0)) u9:ApplyImpulse(v26) task.delay( 3, function() --[[ line: 209 upvalues: u9 (copy, index: 1) FlashUI_upv_1 (copy, index: 2) ]] if (select(2, workspace.CurrentCamera:WorldToViewportPoint(u9.Position))) and ((u9.Position - game.Players.LocalPlayer.Character.RightHand.Position).Magnitude <= 75) then script.Flash:Play() local u10 = FlashUI_upv_1:Clone() u10.Parent = game.Players.LocalPlayer.PlayerGui local u11 = nil task.spawn( function() --[[ line: 217 upvalues: u11 (ref, index: 1) ]] u11 = game.Players.LocalPlayer.Character.Humanoid.Animator:LoadAnimation(script.Effect) u11.Priority = Enum.AnimationPriority.Action4 u11:Play() u11:AdjustSpeed(0.15) end ) task.delay( 3, function() --[[ line: 224 upvalues: u10 (copy, index: 1) u11 (ref, index: 2) ]] local tbl_9 = {Transparency = 1} game:FindService("TweenService"):Create(u10.Frame, TweenInfo.new(3, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, false, 0), tbl_9):Play() task.wait(1) if u11 then u11:Stop() end task.wait(2) u10:Destroy() end ) else local v27 = script.Explosion:Clone() v27.PlayOnRemove = true v27.Parent = u9 end u9:Destroy() end ) elseif a1 == "FlashReplicationInside" then local v28 = ... local u12 = FlashBang_upv_1:Clone() u12.Parent = workspace.Storage u12.CFrame = v28.CFrame u12.Trail.Enabled = true u12.ParticleEmitter.Enabled = true task.delay( 3, function() --[[ line: 254 upvalues: u12 (copy, index: 1) FlashUI_upv_1 (copy, index: 2) ]] if (select(2, workspace.CurrentCamera:WorldToViewportPoint(u12.Position))) and ((u12.Position - game.Players.LocalPlayer.Character.RightHand.Position).Magnitude <= 75) then script.Flash:Play() local u13 = FlashUI_upv_1:Clone() u13.Parent = game.Players.LocalPlayer.PlayerGui local u14 = nil task.spawn( function() --[[ line: 262 upvalues: u14 (ref, index: 1) ]] u14 = game.Players.LocalPlayer.Character.Humanoid.Animator:LoadAnimation(script.Effect) u14.Priority = Enum.AnimationPriority.Action4 u14:Play() u14:AdjustSpeed(0.15) end ) task.delay( 3, function() --[[ line: 269 upvalues: u13 (copy, index: 1) u14 (ref, index: 2) ]] local tbl_10 = {Transparency = 1} game:FindService("TweenService"):Create(u13.Frame, TweenInfo.new(3, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, false, 0), tbl_10):Play() task.wait(3) if u14 then u14:Stop() end u13:Destroy() end ) else local v29 = script.Explosion:Clone() v29.PlayOnRemove = true v29.Parent = u12 end u12:Destroy() end ) end end ) _G.CameraShake = function(a1, ...) --[[ line: 291 upvalues: u1 (copy, index: 1) CameraShaker_upv_1 (copy, index: 2) ]] if a1 ~= "Once" then u1:Shake(CameraShaker_upv_1.Presets[a1]) else u1:ShakeOnce(...) end end