-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] --[[ LAG SWITCH — E-Hold Edition Original: By Moon Rescripting: BY kidcool Тема: бело-серая, без обводки, с мягким glow + Зелёная мегающая точка + Загрузочный экран EVADE с размытием ]] -- ==================== СЕРВИСЫ ==================== local Player = game:GetService("Players").LocalPlayer local UIS = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local Lighting = game:GetService("Lighting") local PlayerGui = Player:WaitForChild("PlayerGui") -- ==================== УДАЛЕНИЕ СТАРОГО UI ==================== for _, v in pairs(PlayerGui:GetChildren()) do if v.Name == "LagSwitchUI" or v.Name == "EvadeLoading" then v:Destroy() end end -- ==================== НАСТРОЙКИ ==================== local Save = { Scale = 1, Pos = UDim2.new(0.75, 0, 0.2, 0), Flag = true, Cooldown = 1, HoldKey = Enum.KeyCode.E, MaxHoldTime = 5 } local OnCooldown = false local IsHolding = false local HoldStart = 0 local HoldConnection = nil -- ==================== ЦВЕТА ==================== local Theme = { Bg = Color3.fromRGB(30, 30, 32), BgLight = Color3.fromRGB(45, 45, 48), Accent = Color3.fromRGB(240, 240, 245), AccentDim = Color3.fromRGB(140, 140, 145), Text = Color3.fromRGB(255, 255, 255), TextDim = Color3.fromRGB(160, 160, 165), Danger = Color3.fromRGB(255, 90, 90), Cooldown = Color3.fromRGB(255, 210, 120), Green = Color3.fromRGB(0, 255, 70) -- зелёная точка } -- ==================== ЗАГРУЗОЧНЫЙ ЭКРАН EVADE ==================== -- BlurEffect (размытие) local Blur = Instance.new("BlurEffect", Lighting) Blur.Size = 0 Blur.Enabled = true -- Оверлей на весь экран local LoadingGui = Instance.new("ScreenGui", PlayerGui) LoadingGui.Name = "EvadeLoading" LoadingGui.ResetOnSpawn = false LoadingGui.IgnoreGuiInset = true LoadingGui.DisplayOrder = 999 LoadingGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling -- Фон: стартуем полностью прозрачным (Transparency = 1) local LoadingBg = Instance.new("Frame", LoadingGui) LoadingBg.Size = UDim2.new(1, 0, 1, 0) LoadingBg.Position = UDim2.new(0, 0, 0, 0) LoadingBg.BackgroundColor3 = Color3.fromRGB(0, 0, 0) LoadingBg.BackgroundTransparency = 1 -- СТАРТ: невидим LoadingBg.BorderSizePixel = 0 LoadingBg.ZIndex = 1 -- Текст EVADE: стартуем прозрачным local EvadeText = Instance.new("TextLabel", LoadingGui) EvadeText.Size = UDim2.new(1, 0, 0, 100) EvadeText.Position = UDim2.new(0, 0, 0.5, -50) EvadeText.BackgroundTransparency = 1 EvadeText.Text = "EVADE" EvadeText.TextColor3 = Theme.Green EvadeText.Font = Enum.Font.GothamBold EvadeText.TextSize = 72 EvadeText.TextTransparency = 1 -- СТАРТ: невидим EvadeText.ZIndex = 2 -- ==================== ПЛАВНОЕ ПОЯВЛЕНИЕ (FADE IN) ==================== -- Фон: 1 -> 0 за 0.6 сек (плавно проявляется) TweenService:Create(LoadingBg, TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { BackgroundTransparency = 0 }):Play() -- Текст: 1 -> 0 за 0.6 сек (плавно проявляется) TweenService:Create(EvadeText, TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { TextTransparency = 0 }):Play() -- Blur: 0 -> 24 за 0.8 сек (плавно размывается) TweenService:Create(Blur, TweenInfo.new(0.8, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Size = 24 }):Play() -- Мерцание текста EVADE (запускаем после появления) task.delay(0.6, function() local evadeTween = TweenService:Create(EvadeText, TweenInfo.new(0.8, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true), { TextColor3 = Color3.fromRGB(0, 180, 50), TextSize = 74 }) evadeTween:Play() end) -- ==================== ПЛАВНОЕ ИСЧЕЗНОВЕНИЕ (FADE OUT) ==================== -- Через 2 секунды после старта начинаем исчезать task.delay(2.0, function() -- Текст: 0 -> 1 за 0.8 сек (плавно исчезает) TweenService:Create(EvadeText, TweenInfo.new(0.8, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { TextTransparency = 1 }):Play() -- Фон: 0 -> 1 за 0.8 сек (плавно исчезает) TweenService:Create(LoadingBg, TweenInfo.new(0.8, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { BackgroundTransparency = 1 }):Play() -- Blur: 24 -> 0 за 1.2 сек (плавно снимается размытие) TweenService:Create(Blur, TweenInfo.new(1.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Size = 0 }):Play() -- Удаляем всё через 1.2 сек после старта fade out task.delay(1.2, function() LoadingGui:Destroy() Blur:Destroy() end) end) -- ==================== SCREEN GUI (ОСНОВНОЙ) ==================== local ScreenGui = Instance.new("ScreenGui", PlayerGui) ScreenGui.ResetOnSpawn = false ScreenGui.Name = "LagSwitchUI" ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling -- ==================== GLOW ==================== local GLOW_ID = "rbxassetid://2704567431" local Glow1 = Instance.new("ImageLabel", ScreenGui) Glow1.Name = "Glow1" Glow1.BackgroundTransparency = 1 Glow1.Image = GLOW_ID Glow1.ImageColor3 = Theme.Accent Glow1.ImageTransparency = 0.88 Glow1.ScaleType = Enum.ScaleType.Slice Glow1.SliceCenter = Rect.new(20, 20, 80, 80) Glow1.Size = UDim2.new(0, 320, 0, 160) Glow1.Position = UDim2.new(0.75, -20, 0.2, -20) Glow1.ZIndex = 0 local Glow2 = Instance.new("ImageLabel", ScreenGui) Glow2.Name = "Glow2" Glow2.BackgroundTransparency = 1 Glow2.Image = GLOW_ID Glow2.ImageColor3 = Theme.Accent Glow2.ImageTransparency = 0.78 Glow2.ScaleType = Enum.ScaleType.Slice Glow2.SliceCenter = Rect.new(20, 20, 80, 80) Glow2.Size = UDim2.new(0, 300, 0, 140) Glow2.Position = UDim2.new(0.75, -10, 0.2, -10) Glow2.ZIndex = 0 local Glow3 = Instance.new("ImageLabel", ScreenGui) Glow3.Name = "Glow3" Glow3.BackgroundTransparency = 1 Glow3.Image = GLOW_ID Glow3.ImageColor3 = Theme.Accent Glow3.ImageTransparency = 0.68 Glow3.ScaleType = Enum.ScaleType.Slice Glow3.SliceCenter = Rect.new(20, 20, 80, 80) Glow3.Size = UDim2.new(0, 290, 0, 130) Glow3.Position = UDim2.new(0.75, -5, 0.2, -5) Glow3.ZIndex = 0 local glowTween1 = TweenService:Create(Glow1, TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true), { ImageTransparency = 0.95 }) local glowTween2 = TweenService:Create(Glow2, TweenInfo.new(2.2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true), { ImageTransparency = 0.88 }) local glowTween3 = TweenService:Create(Glow3, TweenInfo.new(2.4, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true), { ImageTransparency = 0.78 }) glowTween1:Play() glowTween2:Play() glowTween3:Play() -- ==================== ПАНЕЛЬ ==================== local Panel = Instance.new("Frame", ScreenGui) Panel.Size = UDim2.new(0, 280, 0, 120) Panel.Position = Save.Pos Panel.BackgroundColor3 = Theme.Bg Panel.BorderSizePixel = 0 Panel.Active = true Panel.ZIndex = 1 local PanelCorner = Instance.new("UICorner", Panel) PanelCorner.CornerRadius = UDim.new(0, 12) local UIScale = Instance.new("UIScale", Panel) UIScale.Scale = Save.Scale -- ==================== ЗАГОЛОВОК ==================== local Header = Instance.new("Frame", Panel) Header.Size = UDim2.new(1, 0, 0, 36) Header.BackgroundTransparency = 1 Header.ZIndex = 2 local Title = Instance.new("TextLabel", Header) Title.Size = UDim2.new(1, -60, 1, 0) Title.Position = UDim2.new(0, 14, 0, 0) Title.BackgroundTransparency = 1 Title.Text = "LAG SWITCH" Title.TextColor3 = Theme.Accent Title.Font = Enum.Font.GothamBold Title.TextSize = 17 Title.TextXAlignment = Enum.TextXAlignment.Left Title.ZIndex = 3 -- ==================== ЗЕЛЁНАЯ МЕГАЮЩАЯ ТОЧКА ==================== local Dot = Instance.new("Frame", Header) Dot.Size = UDim2.new(0, 10, 0, 10) Dot.Position = UDim2.new(0, 2, 0.5, -5) Dot.BackgroundColor3 = Theme.Green Dot.BorderSizePixel = 0 Dot.ZIndex = 3 local DotCorner = Instance.new("UICorner", Dot) DotCorner.CornerRadius = UDim.new(1, 0) -- Мегание: плавное изменение прозрачности и размера local dotTween = TweenService:Create(Dot, TweenInfo.new(0.6, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true), { BackgroundTransparency = 0.85, Size = UDim2.new(0, 6, 0, 6) }) dotTween:Play() -- ==================== ШЕСТЕРЁНКА ==================== local Gear = Instance.new("TextButton", Header) Gear.Size = UDim2.new(0, 28, 0, 28) Gear.Position = UDim2.new(1, -36, 0.5, -14) Gear.Text = "⚙" Gear.TextColor3 = Theme.TextDim Gear.BackgroundColor3 = Theme.BgLight Gear.Font = Enum.Font.GothamBold Gear.TextSize = 18 Gear.BorderSizePixel = 0 Gear.ZIndex = 3 local GearCorner = Instance.new("UICorner", Gear) GearCorner.CornerRadius = UDim.new(0, 8) -- ==================== РАЗДЕЛИТЕЛЬ ==================== local Divider = Instance.new("Frame", Panel) Divider.Size = UDim2.new(1, -24, 0, 1) Divider.Position = UDim2.new(0, 12, 0, 38) Divider.BackgroundColor3 = Theme.AccentDim Divider.BackgroundTransparency = 0.7 Divider.BorderSizePixel = 0 Divider.ZIndex = 2 -- ==================== СТАТУС ==================== local Status = Instance.new("TextLabel", Panel) Status.Size = UDim2.new(1, -24, 0, 20) Status.Position = UDim2.new(0, 14, 0, 46) Status.BackgroundTransparency = 1 Status.Text = "Hold [E] to lag" Status.Font = Enum.Font.Code Status.TextSize = 12 Status.TextColor3 = Theme.TextDim Status.TextXAlignment = Enum.TextXAlignment.Left Status.ZIndex = 2 -- ==================== ПОЛОСКА УДЕРЖАНИЯ ==================== local HoldBar = Instance.new("Frame", Panel) HoldBar.Size = UDim2.new(1, -24, 0, 5) HoldBar.Position = UDim2.new(0, 12, 0, 70) HoldBar.BackgroundColor3 = Theme.BgLight HoldBar.BorderSizePixel = 0 HoldBar.ZIndex = 2 local HoldBarCorner = Instance.new("UICorner", HoldBar) HoldBarCorner.CornerRadius = UDim.new(0, 3) local HoldFill = Instance.new("Frame", HoldBar) HoldFill.Size = UDim2.new(0, 0, 1, 0) HoldFill.BackgroundColor3 = Theme.Accent HoldFill.BorderSizePixel = 0 HoldFill.ZIndex = 3 local HoldFillCorner = Instance.new("UICorner", HoldFill) HoldFillCorner.CornerRadius = UDim.new(0, 3) -- ==================== ПОДПИСЬ ==================== local Signature = Instance.new("TextLabel", Panel) Signature.Size = UDim2.new(1, -24, 0, 16) Signature.Position = UDim2.new(0, 14, 1, -22) Signature.BackgroundTransparency = 1 Signature.Text = "BY kidcool" Signature.Font = Enum.Font.GothamBold Signature.TextSize = 11 Signature.TextColor3 = Theme.TextDim Signature.TextXAlignment = Enum.TextXAlignment.Right Signature.ZIndex = 2 -- ==================== НАСТРОЙКИ ==================== local Settings = Instance.new("Frame", ScreenGui) Settings.Size = UDim2.new(0, 180, 0, 80) Settings.Position = UDim2.new(0.75, 0, 0.35, 0) Settings.BackgroundColor3 = Theme.BgLight Settings.BorderSizePixel = 0 Settings.Visible = false Settings.Active = true Settings.ZIndex = 4 local SettingsCorner = Instance.new("UICorner", Settings) SettingsCorner.CornerRadius = UDim.new(0, 10) local SettingsTitle = Instance.new("TextLabel", Settings) SettingsTitle.Size = UDim2.new(1, -20, 0, 24) SettingsTitle.Position = UDim2.new(0, 10, 0, 6) SettingsTitle.BackgroundTransparency = 1 SettingsTitle.Text = "SETTINGS" SettingsTitle.Font = Enum.Font.GothamBold SettingsTitle.TextSize = 11 SettingsTitle.TextColor3 = Theme.TextDim SettingsTitle.TextXAlignment = Enum.TextXAlignment.Left SettingsTitle.ZIndex = 5 local FFlagBtn = Instance.new("TextButton", Settings) FFlagBtn.Size = UDim2.new(1, -20, 0, 32) FFlagBtn.Position = UDim2.new(0, 10, 0, 34) FFlagBtn.BackgroundColor3 = Theme.Bg FFlagBtn.Text = "FFlag: OFF" FFlagBtn.Font = Enum.Font.Code FFlagBtn.TextSize = 12 FFlagBtn.TextColor3 = Theme.Text FFlagBtn.BorderSizePixel = 0 FFlagBtn.ZIndex = 5 local FFlagCorner = Instance.new("UICorner", FFlagBtn) FFlagCorner.CornerRadius = UDim.new(0, 6) local function ApplyFlag() pcall(function() setfflag("MaxMissedWorldStepsRemembered", Save.Flag and 1000 or 0) end) end FFlagBtn.MouseButton1Click:Connect(function() Save.Flag = not Save.Flag FFlagBtn.Text = Save.Flag and "FFlag: ON" or "FFlag: OFF" TweenService:Create(FFlagBtn, TweenInfo.new(0.2), { BackgroundColor3 = Save.Flag and Theme.AccentDim or Theme.Bg }):Play() ApplyFlag() end) -- ==================== ПЕРЕТАСКИВАНИЕ ==================== local dragging, dragInput, dragStart, startPos local function updateGlowPosition() Glow1.Position = Panel.Position - UDim2.new(0, 20, 0, 20) Glow2.Position = Panel.Position - UDim2.new(0, 10, 0, 10) Glow3.Position = Panel.Position - UDim2.new(0, 5, 0, 5) end Header.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = Panel.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) Header.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UIS.InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart Panel.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) updateGlowPosition() end end) -- ==================== ПЕРЕТАСКИВАНИЕ НАСТРОЕК ==================== local dragging2, start2, pos2 Settings.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging2 = true start2 = input.Position pos2 = Settings.Position end end) UIS.InputChanged:Connect(function(input) if dragging2 then local delta = input.Position - start2 Settings.Position = UDim2.new( pos2.X.Scale, pos2.X.Offset + delta.X, pos2.Y.Scale, pos2.Y.Offset + delta.Y ) end end) UIS.InputEnded:Connect(function() dragging2 = false end) -- ==================== ТОГГЛ НАСТРОЕК ==================== local settingsOpen = false Gear.MouseButton1Click:Connect(function() settingsOpen = not settingsOpen Settings.Visible = settingsOpen TweenService:Create(Gear, TweenInfo.new(0.2), { BackgroundColor3 = settingsOpen and Theme.AccentDim or Theme.BgLight, TextColor3 = settingsOpen and Theme.Accent or Theme.TextDim }):Play() end) -- ==================== LAG ЛОГИКА ==================== local function Freeze() local t = os.clock() while os.clock() - t < 0.3 do for i = 1, 500000 do end end end local function StartHold() if OnCooldown or IsHolding then return end IsHolding = true HoldStart = os.clock() Status.Text = "LAGGING — hold [E]" Status.TextColor3 = Theme.Danger TweenService:Create(Glow1, TweenInfo.new(0.3), {ImageColor3 = Theme.Danger, ImageTransparency = 0.6}):Play() TweenService:Create(Glow2, TweenInfo.new(0.3), {ImageColor3 = Theme.Danger, ImageTransparency = 0.5}):Play() TweenService:Create(Glow3, TweenInfo.new(0.3), {ImageColor3 = Theme.Danger, ImageTransparency = 0.4}):Play() HoldConnection = task.spawn(function() while IsHolding do Freeze() task.wait(0.05) local elapsed = os.clock() - HoldStart local ratio = math.clamp(elapsed / Save.MaxHoldTime, 0, 1) HoldFill.Size = UDim2.new(ratio, 0, 1, 0) if elapsed >= Save.MaxHoldTime then IsHolding = false Status.Text = "Max hold reached" end end end) end local function StopHold() if not IsHolding then return end IsHolding = false if HoldConnection then pcall(function() task.cancel(HoldConnection) end) HoldConnection = nil end HoldFill.Size = UDim2.new(0, 0, 1, 0) TweenService:Create(Glow1, TweenInfo.new(0.3), {ImageColor3 = Theme.Accent, ImageTransparency = 0.88}):Play() TweenService:Create(Glow2, TweenInfo.new(0.3), {ImageColor3 = Theme.Accent, ImageTransparency = 0.78}):Play() TweenService:Create(Glow3, TweenInfo.new(0.3), {ImageColor3 = Theme.Accent, ImageTransparency = 0.68}):Play() OnCooldown = true Status.TextColor3 = Theme.Cooldown for i = Save.Cooldown, 1, -1 do Status.Text = "Cooldown: " .. i .. "s" task.wait(1) end Status.Text = "Hold [E] to lag" Status.TextColor3 = Theme.TextDim OnCooldown = false end -- ==================== КЛАВИША E ==================== UIS.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Save.HoldKey then StartHold() end end) UIS.InputEnded:Connect(function(input, gameProcessed) if input.KeyCode == Save.HoldKey then StopHold() end end) Player.CharacterAdded:Connect(function() if IsHolding then StopHold() end end) updateGlowPosition() print("LAG SWITCH — BY kidcool | Loading EVADE у меня есть тг t.me/KIDCOOLTEAMch")