local Players = game:GetService("Players") local Lighting = game:GetService("Lighting") local TweenService = game:GetService("TweenService") local SoundService = game:GetService("SoundService") local RunService = game:GetService("RunService") local HttpService = game:GetService("HttpService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer local RAINBOW_COLORS = { Color3.fromRGB(255, 0, 0), Color3.fromRGB(255, 127, 0), Color3.fromRGB(255, 255, 0), Color3.fromRGB(0, 255, 0), Color3.fromRGB(0, 0, 255), Color3.fromRGB(75, 0, 130), Color3.fromRGB(148, 0, 211) } local SHAPES = {"Ball", "Block", "Cylinder"} local activeEffects = {} local playerEffects = {} local isRunning = true local function rainbowEffect() while isRunning do for _, color in ipairs(RAINBOW_COLORS) do if not isRunning then break end Lighting.Ambient = color Lighting.OutdoorAmbient = color wait(1) end end end local function fallingObjectsEffect() while isRunning do if not isRunning then break end for i = 1, 5 do local shape = SHAPES[math.random(1, #SHAPES)] local part = Instance.new("Part") part.Shape = Enum.PartType[shape] part.Size = Vector3.new(math.random(2, 5), math.random(2, 5), math.random(2, 5)) part.Anchored = false part.CanCollide = true part.Material = Enum.Material.Neon part.Color = RAINBOW_COLORS[math.random(1, #RAINBOW_COLORS)] part.Position = Vector3.new(math.random(-50, 50), 150, math.random(-50, 50)) part.Parent = workspace game:GetService("Debris"):AddItem(part, 20) end wait(0.5) end end local function applyHighlight() if not player.Character then return end if playerEffects.highlight then pcall(function() playerEffects.highlight:Destroy() end) end local highlight = Instance.new("Highlight") highlight.Name = "SalineWinHighlight" highlight.FillTransparency = 0.4 highlight.OutlineTransparency = 0 highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop highlight.FillColor = RAINBOW_COLORS[math.random(1, #RAINBOW_COLORS)] highlight.OutlineColor = Color3.new(1, 1, 1) highlight.Parent = player.Character playerEffects.highlight = highlight coroutine.wrap(function() while highlight and highlight.Parent and isRunning do for _, color in ipairs(RAINBOW_COLORS) do if not isRunning or not highlight.Parent then break end pcall(function() highlight.FillColor = color end) wait(0.8) end end end)() end local function freezeLocalPlayer() if player.Character then local humanoid = player.Character:FindFirstChildOfClass("Humanoid") if humanoid then playerEffects.walkSpeed = humanoid.WalkSpeed playerEffects.jumpPower = humanoid.JumpPower humanoid.WalkSpeed = 0 humanoid.JumpPower = 0 end end end local function teleportLocalPlayer() while isRunning do if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local rootPart = player.Character.HumanoidRootPart rootPart.CFrame = CFrame.new( math.random(-40, 40), math.random(10, 30), math.random(-40, 40) ) end wait(4) end end local function startSalineWin() print("SalineWin.lua") isRunning = true activeEffects.rainbowThread = coroutine.create(rainbowEffect) coroutine.resume(activeEffects.rainbowThread) activeEffects.fallingThread = coroutine.create(fallingObjectsEffect) coroutine.resume(activeEffects.fallingThread) activeEffects.teleportThread = coroutine.create(teleportLocalPlayer) coroutine.resume(activeEffects.teleportThread) applyHighlight() freezeLocalPlayer() player.CharacterAdded:Connect(function() if isRunning then wait(1) applyHighlight() freezeLocalPlayer() end end) while isRunning do wait(30) if player.Character and not player.Character:FindFirstChild("SalineWinHighlight") then applyHighlight() end freezeLocalPlayer() print("SalineWin.lua") end end local function stopSalineWin() isRunning = false if playerEffects.highlight then pcall(function() playerEffects.highlight:Destroy() end) playerEffects.highlight = nil end if player.Character then local humanoid = player.Character:FindFirstChildOfClass("Humanoid") if humanoid and playerEffects.walkSpeed then humanoid.WalkSpeed = playerEffects.walkSpeed humanoid.JumpPower = playerEffects.jumpPower end end Lighting.Ambient = Color3.new(0, 0, 0) Lighting.OutdoorAmbient = Color3.new(0.5, 0.5, 0.5) end pcall(function() startSalineWin() end) game:GetService("CoreGui").ChildRemoved:Connect(function(child) if child.Name == "SalineWinClient" then stopSalineWin() end end)