-- YWIF HUB Full (Merged): Loading Screen + Song/Lyrics + Menu + Features + Mercy Tab (executor version) local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local HttpService = game:GetService("HttpService") local MarketplaceService = game:GetService("MarketplaceService") local TeleportService = game:GetService("TeleportService") local Stats = game:GetService("Stats") local Lighting = game:GetService("Lighting") if not game:IsLoaded() then game.Loaded:Wait() end local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local Camera = workspace.CurrentCamera local SESSION_START = os.clock() local IMAGE_ID = "rbxassetid://91670393744311" -- background local FALL_ID = "rbxassetid://83209161435555" -- falling image local CIRCLE_AVATAR_ID = "rbxassetid://83209161435555" -- الصورة الدائرية الافتراضية local BUTTON_TEXT = "\u{062A}\u{0634}\u{063A}\u{064A}\u{0644} \u{0627}\u{0644}\u{0633}\u{0643}\u{0631}\u{0628}\u{062A}" local STAR = "\u{2605}" local WHITE = Color3.new(1, 1, 1) local BLACK = Color3.new(0, 0, 0) local function new(class, props, parent) local obj = Instance.new(class) for k, v in pairs(props) do obj[k] = v end obj.Parent = parent return obj end --=================================================================== -- SETTINGS (save / load) --=================================================================== local SFILE = "YWIF_HUB_settings.json" local DEF = { opacity = 60, animSpeed = 3, scale = 3, shimmer = true, showStats = true, aDeath = false, aSit = false, aToolLag = false, aBomb = false, aKick = false, aGrief = false, aFling = false, aBang = false, aSuck = false, quality = 0, fxNight = false, fxDay = false, fxClouds = false, fxShader = false, fxFog = false, autoQ = false, autoQFps = 30, } local S = {} for k, v in pairs(DEF) do S[k] = v end local function merge(d) if type(d) ~= "table" then return end for k, v in pairs(d) do if DEF[k] ~= nil and type(v) == type(DEF[k]) then S[k] = v end end end pcall(function() if isfile and isfile(SFILE) then merge(HttpService:JSONDecode(readfile(SFILE))) end end) S.opacity = math.clamp(math.floor(S.opacity + .5), 0, 100) S.animSpeed = math.clamp(S.animSpeed, 1, 10) S.scale = math.clamp(math.floor(S.scale), 1, 4) S.quality = math.clamp(math.floor(S.quality), 0, 5) S.autoQFps = math.clamp(math.floor(S.autoQFps + .5), 10, 60) if S.fxNight and S.fxDay then S.fxDay = false end local function saveS() return (pcall(function() writefile(SFILE, HttpService:JSONEncode(S)) end)) end --=================================================================== -- DEV DATA (credits) --=================================================================== local function GetLocalAsset(url, id) local fileName = "DevImage_" .. tostring(id) .. ".png" local okF, exists = pcall(function() return isfile and isfile(fileName) end) if okF and exists then local ok, a = pcall(function() return getcustomasset(fileName) end) if ok and a then return a end end local req = request or http_request or (syn and syn.request) if not req then return nil end local ok, res = pcall(function() return req({Url = url, Method = "GET"}) end) if not ok or not res or res.StatusCode ~= 200 then return nil end if not pcall(function() writefile(fileName, res.Body) end) then return nil end local ok2, a = pcall(function() return getcustomasset(fileName) end) return ok2 and a or nil end local DEV_CARDS = { {name = "يويف الحزين", url = "https://cdn.discordapp.com/attachments/1551649443407863888/1564686950752063611/rn_image_picker_lib_temp_1f4fa1d7-ab2a-4b79-b331-3ced00bd5c51.jpg?ex=6ae22bc7&is=6ae0da47&hm=93c3fa1fdbd92f038dbaefdb67e1c91743c32f14d482ca89e0bbb8d0d9241332&"}, {name = "سويف الحزين", url = "https://cdn.discordapp.com/attachments/1551649443407863888/1564687327140515982/6a5558f229b0ff791eaa55d86c22869e.jpg?ex=6ae22c21&is=6ae0daa1&hm=88de214bf21579561bdc43652576eafdca502ce829e8ad6bdac6b42c45c072b5&"}, {name = "حسن الحزين", url = "https://cdn.discordapp.com/attachments/1551649443407863888/1564687704845717686/Screenshot_20261027_201005_com_discord_MainActivity.jpg?ex=6ae22c7b&is=6ae0dafb&hm=9e8728d4cde483b5054abffba75253358d3a353095a1de4904f3df96bac3ed4c&"}, {name = "حسنين الحزين", url = "https://cdn.discordapp.com/attachments/1551649443407863888/1564687705412206602/Screenshot_20261027_200949_com_discord_MainActivity.jpg?ex=6ae22c7b&is=6ae0dafb&hm=b70e057a001444224a5b41052ecc1b6294e5356356b0d4681e7ad8b095206257&"}, } local TIKTOK = { {ar = "يويف", user = "ai_bx.0"}, {ar = "سويف", user = ".nixor"}, {ar = "حسنين", user = "wlv202"}, {ar = "حسن", user = "jilnij"}, } --=================================================================== -- LOADING SCREEN --=================================================================== for _, root in ipairs({ playerGui, game:GetService("CoreGui") }) do pcall(function() local old = root:FindFirstChild("YWIFLoading") if old then old:Destroy() end end) end local gui = Instance.new("ScreenGui") gui.Name = "YWIFLoading" gui.IgnoreGuiInset = true gui.ResetOnSpawn = false gui.DisplayOrder = 999 gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling local parented = false if typeof(gethui) == "function" then parented = pcall(function() gui.Parent = gethui() end) end if not parented or not gui.Parent then parented = pcall(function() gui.Parent = game:GetService("CoreGui") end) end if not parented or not gui.Parent then gui.Parent = playerGui end new("ImageLabel", { Name = "Background", Size = UDim2.fromScale(1, 1), BackgroundColor3 = BLACK, Image = IMAGE_ID, ScaleType = Enum.ScaleType.Crop, ZIndex = 1, }, gui) new("Frame", { Name = "Overlay", Size = UDim2.fromScale(1, 1), BackgroundColor3 = BLACK, BackgroundTransparency = 0.75, BorderSizePixel = 0, ZIndex = 2, }, gui) local TITLE_Y = 0.75 local title = new("TextLabel", { Name = "Title", AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(0.5, TITLE_Y), Size = UDim2.fromOffset(240, 44), BackgroundTransparency = 1, Text = STAR .. "YWIF HUB" .. STAR, Font = Enum.Font.FredokaOne, TextSize = 30, TextColor3 = WHITE, ZIndex = 5, }, gui) local function diamond(xOffset, yOffset, size) local d = new("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.new(0.5, xOffset, TITLE_Y, yOffset), Size = UDim2.fromOffset(size, size), Rotation = 45, BackgroundColor3 = BLACK, BorderSizePixel = 0, ZIndex = 6, }, gui) new("UIStroke", { Color = WHITE, Thickness = 1.5 }, d) end local function sideLine(side) local dir = (side == "left") and -1 or 1 local line = new("Frame", { AnchorPoint = Vector2.new((side == "left") and 1 or 0, 0.5), Position = UDim2.new(0.5, dir * 148, TITLE_Y, 0), Size = UDim2.fromOffset(70, 2), BackgroundColor3 = WHITE, BorderSizePixel = 0, ZIndex = 5, }, gui) new("UIGradient", { Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, (side == "left") and 1 or 0), NumberSequenceKeypoint.new(1, (side == "left") and 0 or 1), }), }, line) end diamond(-134, 0, 10) diamond(134, 0, 10) diamond(-122, 0, 5) diamond(122, 0, 5) sideLine("left") sideLine("right") local underLine = new("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.new(0.5, 0, TITLE_Y, 28), Size = UDim2.fromOffset(150, 2), BackgroundColor3 = WHITE, BorderSizePixel = 0, ZIndex = 5, }, gui) new("UIGradient", { Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.5, 0), NumberSequenceKeypoint.new(1, 1), }), }, underLine) diamond(0, 28, 8) diamond(-22, 28, 4) diamond(22, 28, 4) local SPARK = "\u{2726}" local function socialCard(xScale, platform, handle) local card = new("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(xScale, 0.5), Size = UDim2.fromOffset(170, 66), BackgroundTransparency = 1, ZIndex = 5, }, gui) new("TextLabel", { Position = UDim2.fromOffset(0, 0), Size = UDim2.new(1, 0, 0, 22), BackgroundTransparency = 1, Text = SPARK .. " " .. platform .. " " .. SPARK, Font = Enum.Font.FredokaOne, TextSize = 20, TextColor3 = WHITE, ZIndex = 5, }, card) local divider = new("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromOffset(85, 31), Size = UDim2.fromOffset(140, 2), BackgroundColor3 = WHITE, BorderSizePixel = 0, ZIndex = 5, }, card) new("UIGradient", { Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.5, 0), NumberSequenceKeypoint.new(1, 1), }), }, divider) new("Frame", { AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromOffset(85, 31), Size = UDim2.fromOffset(7, 7), Rotation = 45, BackgroundColor3 = WHITE, BorderSizePixel = 0, ZIndex = 6, }, card) new("TextLabel", { Position = UDim2.fromOffset(0, 38), Size = UDim2.new(1, 0, 0, 24), BackgroundTransparency = 1, Text = SPARK .. " " .. handle .. " " .. SPARK, Font = Enum.Font.FredokaOne, TextSize = 18, TextColor3 = WHITE, ZIndex = 5, }, card) end socialCard(0.86, "TikTok", "ai_bx.0") socialCard(0.14, "Telegram", "@YNSMA10") local button = new("TextButton", { Name = "RunButton", AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(0.5, 0.85), Size = UDim2.fromOffset(150, 36), BackgroundColor3 = WHITE, Text = BUTTON_TEXT, Font = Enum.Font.GothamBold, TextSize = 16, TextColor3 = BLACK, AutoButtonColor = false, ZIndex = 5, }, gui) new("UICorner", { CornerRadius = UDim.new(0, 12) }, button) new("UIStroke", { Color = BLACK, Thickness = 2, ApplyStrokeMode = Enum.ApplyStrokeMode.Border, }, button) local busy = false local leaving = false -- ================= SONG + LYRICS ================= local AUDIO_URL = "https://raw.githubusercontent.com/athr3322-del/QWRYZ/main/8457820402_tk%20(3).mp3" local LYRIC_FONT = Enum.Font.Fondamento local LYRIC_SIZE = 28 local LYRICS = { {0.0, "write first line here"}, {4.0, "write second line here"}, {8.0, "write third line here"}, } local loadSound local function lyricLabel(xScale) local l = new("TextLabel", { AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(xScale, 0, 0.5, 42), Size = UDim2.fromOffset(240, 80), BackgroundTransparency = 1, Text = "", Font = LYRIC_FONT, TextSize = LYRIC_SIZE, TextColor3 = WHITE, TextWrapped = true, TextYAlignment = Enum.TextYAlignment.Top, TextTransparency = 1, ZIndex = 5, }, gui) local st = new("UIStroke", { Color = BLACK, Thickness = 1.5, Transparency = 1 }, l) return l, st end local leftL, leftS = lyricLabel(0.14) local rightL, rightS = lyricLabel(0.86) local function showLine(l, st, text) l.Text = "✦ " .. text .. " ✦" TweenService:Create(l, TweenInfo.new(0.35), { TextTransparency = 0 }):Play() TweenService:Create(st, TweenInfo.new(0.35), { Transparency = 0.3 }):Play() end local function hideLine(l, st) TweenService:Create(l, TweenInfo.new(0.25), { TextTransparency = 1 }):Play() TweenService:Create(st, TweenInfo.new(0.25), { Transparency = 1 }):Play() end local function stopAudio() local s = loadSound loadSound = nil if s then local tw = TweenService:Create(s, TweenInfo.new(1), { Volume = 0 }) tw.Completed:Connect(function() s:Destroy() end) tw:Play() end end task.spawn(function() local ok, data = pcall(function() return game:HttpGet(AUDIO_URL) end) if not ok or not gui.Parent then return end local ok2, asset = pcall(function() writefile("ywif_loading_song.mp3", data) return getcustomasset("ywif_loading_song.mp3") end) if not ok2 then return end local s = Instance.new("Sound") s.SoundId = asset s.Volume = 1 s.Looped = true s.Parent = game:GetService("SoundService") loadSound = s s:Play() local idx = 0 while gui.Parent and not busy and s.Parent do local pos = s.TimePosition local newIdx = 0 for i, line in ipairs(LYRICS) do if pos >= line[1] then newIdx = i else break end end if newIdx ~= idx then idx = newIdx if idx == 0 then hideLine(leftL, leftS) hideLine(rightL, rightS) elseif idx % 2 == 1 then hideLine(rightL, rightS) showLine(leftL, leftS, LYRICS[idx][2]) else hideLine(leftL, leftS) showLine(rightL, rightS, LYRICS[idx][2]) end end task.wait(0.1) end end) local rng = Random.new() task.spawn(function() while gui.Parent and not leaving do local size = rng:NextInteger(26, 44) local x = rng:NextNumber(0.03, 0.97) local img = new("ImageLabel", { BackgroundTransparency = 1, BorderSizePixel = 0, Image = FALL_ID, ScaleType = Enum.ScaleType.Fit, Size = UDim2.fromOffset(size, size), AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.new(x, 0, 0, -size), Rotation = rng:NextInteger(-30, 30), ZIndex = 3, }, gui) new("UICorner", { CornerRadius = UDim.new(0.5, 0) }, img) local tw = TweenService:Create( img, TweenInfo.new(rng:NextNumber(3.5, 6), Enum.EasingStyle.Linear), { Position = UDim2.new(x + rng:NextNumber(-0.05, 0.05), 0, 1, size), Rotation = img.Rotation + rng:NextInteger(-180, 180), } ) tw.Completed:Connect(function() img:Destroy() end) tw:Play() task.wait(rng:NextNumber(0.15, 0.4)) end end) local function fadeOut() local info = TweenInfo.new(1.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) for _, o in ipairs(gui:GetDescendants()) do local goal = {} if o:IsA("GuiObject") then goal.BackgroundTransparency = 1 end if o:IsA("ImageLabel") then goal.ImageTransparency = 1 end if o:IsA("TextLabel") or o:IsA("TextButton") then goal.TextTransparency = 1 end if o:IsA("UIStroke") then goal.Transparency = 1 end if next(goal) then TweenService:Create(o, info, goal):Play() end end task.delay(1.6, function() gui:Destroy() end) end -- ================= MENU ================= local function loadMenu() local BG_ID = "rbxassetid://118658479540050" -- window background local ICON_ID = "rbxassetid://83209161435555" -- tab icon local TOGGLE_OPEN_ID = "rbxassetid://104724042003669" local TOGGLE_CLOSE_ID = "rbxassetid://132237631257444" local TABS = { "الحقوق", "الرحمة", "اللاعب", "المتعة", "المؤثرات الإضافية", "المضادات", "الجودة والمؤثرات", "السيرفرات", "AFK", "الأدوات", "الإعدادات" } for _, root in ipairs({ playerGui, game:GetService("CoreGui") }) do pcall(function() local old = root:FindFirstChild("YWIFMenu") if old then old:Destroy() end end) end local gui = Instance.new("ScreenGui") gui.Name = "YWIFMenu" gui.IgnoreGuiInset = true gui.ResetOnSpawn = false gui.DisplayOrder = 500 gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling local parented = false if typeof(gethui) == "function" then parented = pcall(function() gui.Parent = gethui() end) end if not parented or not gui.Parent then parented = pcall(function() gui.Parent = game:GetService("CoreGui") end) end if not parented or not gui.Parent then gui.Parent = playerGui end local conns = {} local function keep(c) table.insert(conns, c) return c end local origGravity = workspace.Gravity local afkCleanup, autoRestore local fxSuppressed = false local STEPS = { .7, .85, 1, 1.15 } local userSc = STEPS[S.scale] local function dur(t) return t * 3 / math.max(S.animSpeed, .1) end -- ================= WINDOW ================= local WIN_W, WIN_H = 650, 320 local window = new("Frame", { Name = "Window", AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(0.5, 0.5), Size = UDim2.fromOffset(WIN_W, WIN_H), BackgroundColor3 = BLACK, BorderSizePixel = 0, ClipsDescendants = true, ZIndex = 1, }, gui) new("UICorner", { CornerRadius = UDim.new(0, 14) }, window) new("UIStroke", { Color = WHITE, Thickness = 2 }, window) local windowScale = new("UIScale", { Scale = 0.01 }, window) local art = new("ImageLabel", { Name = "Art", Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, Image = BG_ID, ScaleType = Enum.ScaleType.Crop, ZIndex = 1, }, window) new("UICorner", { CornerRadius = UDim.new(0, 14) }, art) local shade = new("Frame", { Name = "Shade", Size = UDim2.fromScale(1, 1), BackgroundColor3 = BLACK, BackgroundTransparency = S.opacity / 100, BorderSizePixel = 0, ZIndex = 2, }, window) new("UICorner", { CornerRadius = UDim.new(0, 14) }, shade) local topBar = new("Frame", { Name = "TopBar", Size = UDim2.new(1, 0, 0, 38), BackgroundTransparency = 1, ZIndex = 3, }, window) new("TextLabel", { Position = UDim2.fromOffset(14, 0), Size = UDim2.new(0, 200, 1, 0), BackgroundTransparency = 1, Text = STAR .. " YWIF HUB", Font = Enum.Font.FredokaOne, TextSize = 22, TextColor3 = WHITE, TextXAlignment = Enum.TextXAlignment.Left, ZIndex = 4, }, topBar) local closeBtn = new("TextButton", { AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, -10, 0.5, 0), Size = UDim2.fromOffset(40, 24), BackgroundColor3 = WHITE, Text = "X", Font = Enum.Font.GothamBlack, TextSize = 14, TextColor3 = BLACK, AutoButtonColor = false, ZIndex = 4, }, topBar) new("UICorner", { CornerRadius = UDim.new(0, 8) }, closeBtn) local divider = new("Frame", { AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, 38), Size = UDim2.new(1, -24, 0, 2), BackgroundColor3 = WHITE, BorderSizePixel = 0, ZIndex = 4, }, window) new("UIGradient", { Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.5, 0), NumberSequenceKeypoint.new(1, 1), }), }, divider) -- drag window do local dragging, dragStart, startPos = false, nil, nil topBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = window.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) keep(UserInputService.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local d = input.Position - dragStart window.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + d.X, startPos.Y.Scale, startPos.Y.Offset + d.Y ) end end)) end -- ================= SIDEBAR ================= local sidebar = new("ScrollingFrame", { Name = "Sidebar", Position = UDim2.fromOffset(10, 46), Size = UDim2.fromOffset(165, WIN_H - 56), BackgroundTransparency = 1, BorderSizePixel = 0, ScrollBarThickness = 0, CanvasSize = UDim2.new(), AutomaticCanvasSize = Enum.AutomaticSize.Y, ZIndex = 3, }, window) new("UIListLayout", { Padding = UDim.new(0, 4), SortOrder = Enum.SortOrder.LayoutOrder, }, sidebar) local content = new("Frame", { Name = "Content", Position = UDim2.fromOffset(185, 46), Size = UDim2.fromOffset(WIN_W - 195, WIN_H - 56), BackgroundColor3 = BLACK, BackgroundTransparency = 0.45, BorderSizePixel = 0, ZIndex = 3, }, window) new("UICorner", { CornerRadius = UDim.new(0, 10) }, content) new("UIStroke", { Color = WHITE, Thickness = 1, Transparency = 0.6 }, content) local pages = {} local tabButtons = {} for i, name in ipairs(TABS) do local page = new("ScrollingFrame", { Name = name, Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, BorderSizePixel = 0, ScrollBarThickness = 3, ScrollBarImageColor3 = WHITE, CanvasSize = UDim2.new(), AutomaticCanvasSize = Enum.AutomaticSize.Y, Visible = false, ZIndex = 4, }, content) new("UIPadding", { PaddingTop = UDim.new(0, 8), PaddingBottom = UDim.new(0, 8), PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 8), }, page) new("UIListLayout", { Padding = UDim.new(0, 6), SortOrder = Enum.SortOrder.LayoutOrder, }, page) pages[name] = page local btn = new("TextButton", { Name = name .. "Tab", LayoutOrder = i, Size = UDim2.new(1, 0, 0, 40), BackgroundColor3 = BLACK, BackgroundTransparency = 0.5, Text = "", AutoButtonColor = false, ZIndex = 4, }, sidebar) new("UICorner", { CornerRadius = UDim.new(0, 8) }, btn) new("UIStroke", { Color = WHITE, Thickness = 1, Transparency = 0.6, ApplyStrokeMode = Enum.ApplyStrokeMode.Border, }, btn) local icon = new("ImageLabel", { Name = "Icon", AnchorPoint = Vector2.new(0, 0.5), Position = UDim2.new(0, 6, 0.5, 0), Size = UDim2.fromOffset(28, 28), BackgroundTransparency = 1, Image = ICON_ID, ScaleType = Enum.ScaleType.Fit, ZIndex = 5, }, btn) new("UICorner", { CornerRadius = UDim.new(0.5, 0) }, icon) local label = new("TextLabel", { Position = UDim2.fromOffset(44, 0), Size = UDim2.new(1, -48, 1, 0), BackgroundTransparency = 1, Text = name, Font = Enum.Font.GothamBold, TextScaled = true, TextSize = 16, TextColor3 = WHITE, TextXAlignment = Enum.TextXAlignment.Left, ZIndex = 5, }, btn) new("UITextSizeConstraint", { MaxTextSize = 16, MinTextSize = 8 }, label) tabButtons[name] = { btn = btn, icon = icon, label = label } end local current = nil local function selectTab(name) if current == name then return end current = name for n, t in pairs(tabButtons) do local active = (n == name) TweenService:Create(t.btn, TweenInfo.new(0.2), { BackgroundColor3 = active and WHITE or BLACK, BackgroundTransparency = active and 0.1 or 0.5, }):Play() t.label.TextColor3 = active and BLACK or WHITE pages[n].Visible = active end local icon = tabButtons[name].icon icon.Rotation = 0 TweenService:Create(icon, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Rotation = 360, }):Play() end for name, t in pairs(tabButtons) do t.btn.Activated:Connect(function() selectTab(name) end) end -- ================= OPEN / CLOSE BUTTON ================= local toggle = new("ImageButton", { Name = "Toggle", AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, 8), Size = UDim2.fromOffset(100, 30), BackgroundColor3 = BLACK, Image = TOGGLE_OPEN_ID, ScaleType = Enum.ScaleType.Crop, AutoButtonColor = false, ZIndex = 50, }, gui) new("UICorner", { CornerRadius = UDim.new(0, 8) }, toggle) new("UIStroke", { Color = WHITE, Thickness = 2, ApplyStrokeMode = Enum.ApplyStrokeMode.Border, }, toggle) local isOpen = true local function setOpen(state) isOpen = state toggle.Image = state and TOGGLE_OPEN_ID or TOGGLE_CLOSE_ID if state then window.Visible = true TweenService:Create(windowScale, TweenInfo.new(dur(0.3), Enum.EasingStyle.Back, Enum.EasingDirection.Out), { Scale = userSc, }):Play() else local tw = TweenService:Create(windowScale, TweenInfo.new(dur(0.2), Enum.EasingStyle.Quad, Enum.EasingDirection.In), { Scale = 0.01, }) tw.Completed:Connect(function() if not isOpen then window.Visible = false end end) tw:Play() end end local toggleMoved = false do local dragging, dragStart, startPos = false, nil, nil toggle.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true toggleMoved = false dragStart = input.Position startPos = toggle.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) keep(UserInputService.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local d = input.Position - dragStart if d.Magnitude > 6 then toggleMoved = true end if toggleMoved then toggle.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + d.X, startPos.Y.Scale, startPos.Y.Offset + d.Y ) end end end)) end toggle.Activated:Connect(function() if toggleMoved then toggleMoved = false return end setOpen(not isOpen) end) closeBtn.Activated:Connect(function() setOpen(false) end) --=============================================================== -- UI HELPERS --=============================================================== local REFRESH = {} local CLEANUPS = {} local function refreshAll() for _, f in ipairs(REFRESH) do pcall(f) end end local orders = {} local function nextOrder(page) orders[page] = (orders[page] or 10) + 1 return orders[page] end local OFFCOL = Color3.fromRGB(60, 60, 60) local function sect(page, text) new("TextLabel", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 22), BackgroundTransparency = 1, Text = text, Font = Enum.Font.GothamBold, TextSize = 15, TextColor3 = WHITE, ZIndex = 5, }, page) end local function mkRow(page, h, label) local r = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, h or 32), BackgroundColor3 = BLACK, BackgroundTransparency = 0.5, BorderSizePixel = 0, ZIndex = 5, }, page) new("UICorner", { CornerRadius = UDim.new(0, 8) }, r) new("UIStroke", { Color = WHITE, Thickness = 1, Transparency = 0.6 }, r) if label then local lbl = new("TextLabel", { Position = UDim2.new(0.4, 0, 0, 0), Size = UDim2.new(0.6, -10, 1, 0), BackgroundTransparency = 1, Text = label, Font = Enum.Font.GothamBold, TextScaled = true, TextSize = 14, TextColor3 = WHITE, TextXAlignment = Enum.TextXAlignment.Right, ZIndex = 6, }, r) new("UITextSizeConstraint", { MaxTextSize = 14, MinTextSize = 8 }, lbl) end return r end local function sBtn(parent, txt, w, x) local b = new("TextButton", { Size = UDim2.fromOffset(w, 22), Position = UDim2.new(0, x, .5, -11), BackgroundColor3 = WHITE, Font = Enum.Font.GothamBold, Text = txt, TextColor3 = BLACK, TextSize = 13, AutoButtonColor = false, ZIndex = 7, }, parent) new("UICorner", { CornerRadius = UDim.new(0, 7) }, b) return b end local function styleOn(b, on) b.Text = on and "تشغيل" or "إيقاف" b.BackgroundColor3 = on and WHITE or OFFCOL b.TextColor3 = on and BLACK or WHITE end local function toggleRow(page, label, get, set) local r = mkRow(page, 32, label) local b = sBtn(r, "", 64, 10) local function refresh() styleOn(b, get()) end b.Activated:Connect(function() set(not get()) refreshAll() saveS() end) table.insert(REFRESH, refresh) refresh() end local function sliderRow(page, label, mn, mx, get, set, commit) local r = mkRow(page, 38, label) local TW = 100 local tr = new("Frame", { Size = UDim2.fromOffset(TW, 6), Position = UDim2.new(0, 14, .5, -3), BackgroundColor3 = OFFCOL, BorderSizePixel = 0, ZIndex = 6, }, r) new("UICorner", { CornerRadius = UDim.new(1, 0) }, tr) local fill = new("Frame", { Size = UDim2.new(0, 0, 1, 0), BackgroundColor3 = WHITE, BorderSizePixel = 0, ZIndex = 7, }, tr) new("UICorner", { CornerRadius = UDim.new(1, 0) }, fill) local knob = new("Frame", { AnchorPoint = Vector2.new(.5, .5), Size = UDim2.fromOffset(14, 14), Position = UDim2.new(0, 0, .5, 0), BackgroundColor3 = WHITE, BorderSizePixel = 0, ZIndex = 8, }, tr) new("UICorner", { CornerRadius = UDim.new(1, 0) }, knob) local vl = new("TextLabel", { BackgroundTransparency = 1, Position = UDim2.new(0, TW + 22, 0, 0), Size = UDim2.fromOffset(46, 38), Font = Enum.Font.GothamBold, TextSize = 13, TextColor3 = WHITE, Text = "", ZIndex = 6, }, r) local hit = new("TextButton", { Text = "", BackgroundTransparency = 1, Size = UDim2.fromOffset(TW + 24, 32), Position = UDim2.new(0, 2, .5, -16), ZIndex = 9, }, r) local function refresh() local v = get() local f = math.clamp((v - mn) / (mx - mn), 0, 1) fill.Size = UDim2.new(f, 0, 1, 0) knob.Position = UDim2.new(f, 0, .5, 0) vl.Text = tostring(math.floor(v)) end local drag = false local function setX(x) local rel = math.clamp((x - tr.AbsolutePosition.X) / math.max(tr.AbsoluteSize.X, 1), 0, 1) set(math.floor(mn + rel * (mx - mn) + .5)) refresh() end hit.InputBegan:Connect(function(inp) if inp.UserInputType == Enum.UserInputType.MouseButton1 or inp.UserInputType == Enum.UserInputType.Touch then drag = true page.ScrollingEnabled = false setX(inp.Position.X) end end) keep(UserInputService.InputChanged:Connect(function(inp) if drag and (inp.UserInputType == Enum.UserInputType.MouseMovement or inp.UserInputType == Enum.UserInputType.Touch) then setX(inp.Position.X) end end)) keep(UserInputService.InputEnded:Connect(function(inp) if drag and (inp.UserInputType == Enum.UserInputType.MouseButton1 or inp.UserInputType == Enum.UserInputType.Touch) then drag = false page.ScrollingEnabled = true if commit then commit() end saveS() end end)) table.insert(REFRESH, refresh) refresh() end --=============================================================== -- CREDITS PAGE --=============================================================== local function buildCredits(page) local function infoRow(label) local r = mkRow(page, 28) local v = new("TextLabel", { Position = UDim2.fromOffset(8, 0), Size = UDim2.new(0.55, 0, 1, 0), BackgroundTransparency = 1, Text = "...", Font = Enum.Font.Code, TextSize = 13, TextColor3 = WHITE, TextXAlignment = Enum.TextXAlignment.Left, TextTruncate = Enum.TextTruncate.AtEnd, ZIndex = 6, }, r) new("TextLabel", { Position = UDim2.new(0.55, 0, 0, 0), Size = UDim2.new(0.45, -8, 1, 0), BackgroundTransparency = 1, Text = label, Font = Enum.Font.GothamBold, TextSize = 13, TextColor3 = WHITE, TextXAlignment = Enum.TextXAlignment.Right, ZIndex = 6, }, r) return v end local card = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 56), BackgroundColor3 = BLACK, BackgroundTransparency = 0.5, BorderSizePixel = 0, ZIndex = 5, }, page) new("UICorner", { CornerRadius = UDim.new(0, 10) }, card) new("UIStroke", { Color = WHITE, Thickness = 1, Transparency = 0.6 }, card) local av = new("ImageLabel", { Position = UDim2.new(0, 8, 0.5, -21), Size = UDim2.fromOffset(42, 42), BackgroundColor3 = BLACK, Image = ("rbxthumb://type=AvatarHeadShot&id=%d&w=150&h=150"):format(player.UserId), ZIndex = 6, }, card) new("UICorner", { CornerRadius = UDim.new(1, 0) }, av) new("UIStroke", { Color = WHITE, Thickness = 1.5 }, av) new("TextLabel", { Position = UDim2.fromOffset(58, 8), Size = UDim2.new(1, -66, 0, 20), BackgroundTransparency = 1, Text = player.DisplayName, Font = Enum.Font.GothamBold, TextSize = 15, TextColor3 = WHITE, TextXAlignment = Enum.TextXAlignment.Left, TextTruncate = Enum.TextTruncate.AtEnd, ZIndex = 6, }, card) new("TextLabel", { Position = UDim2.fromOffset(58, 29), Size = UDim2.new(1, -66, 0, 18), BackgroundTransparency = 1, Text = "@" .. player.Name, Font = Enum.Font.Code, TextSize = 12, TextColor3 = WHITE, TextTransparency = 0.3, TextXAlignment = Enum.TextXAlignment.Left, TextTruncate = Enum.TextTruncate.AtEnd, ZIndex = 6, }, card) local gL = infoRow("اللعبة") local pL = infoRow("اللاعبين") local tL = infoRow("الوقت باللعبة") task.spawn(function() local ok, info = pcall(function() return MarketplaceService:GetProductInfo(game.PlaceId) end) if gL.Parent then gL.Text = (ok and info and info.Name) or game.Name end end) task.spawn(function() while gui.Parent do pL.Text = ("%d / %d"):format(#Players:GetPlayers(), Players.MaxPlayers) local t = math.floor(os.clock() - SESSION_START) tL.Text = ("%02d:%02d:%02d"):format(math.floor(t / 3600), math.floor((t % 3600) / 60), t % 60) task.wait(1) end end) sect(page, "مطورين سكربت") local grid = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, BackgroundTransparency = 1, ZIndex = 5, }, page) new("UIGridLayout", { CellSize = UDim2.fromOffset(100, 118), CellPadding = UDim2.fromOffset(6, 6), HorizontalAlignment = Enum.HorizontalAlignment.Center, SortOrder = Enum.SortOrder.LayoutOrder, }, grid) for i, d in ipairs(DEV_CARDS) do local c = new("Frame", { LayoutOrder = i, BackgroundColor3 = BLACK, BackgroundTransparency = 0.4, BorderSizePixel = 0, ZIndex = 5, }, grid) new("UICorner", { CornerRadius = UDim.new(0, 12) }, c) new("UIStroke", { Color = WHITE, Thickness = 1.5 }, c) local img = new("ImageLabel", { AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, 10), Size = UDim2.fromOffset(64, 64), BackgroundColor3 = BLACK, ScaleType = Enum.ScaleType.Crop, ZIndex = 6, }, c) new("UICorner", { CornerRadius = UDim.new(1, 0) }, img) new("UIStroke", { Color = WHITE, Thickness = 1.5 }, img) local wait_ = new("TextLabel", { Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, Text = "...", Font = Enum.Font.GothamBold, TextSize = 18, TextColor3 = WHITE, ZIndex = 7, }, img) new("TextLabel", { Position = UDim2.fromOffset(4, 82), Size = UDim2.new(1, -8, 0, 26), BackgroundTransparency = 1, Text = d.name, Font = Enum.Font.GothamBold, TextSize = 13, TextColor3 = WHITE, TextTruncate = Enum.TextTruncate.AtEnd, ZIndex = 6, }, c) task.spawn(function() local a = GetLocalAsset(d.url, i) if not img.Parent then return end if a then img.Image = a wait_:Destroy() else wait_.Text = "!" end end) end sect(page, "حسابات تيك توك") for _, t in ipairs(TIKTOK) do local r = new("TextButton", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 28), BackgroundColor3 = BLACK, BackgroundTransparency = 0.5, Text = "", AutoButtonColor = false, BorderSizePixel = 0, ZIndex = 5, }, page) new("UICorner", { CornerRadius = UDim.new(0, 8) }, r) new("UIStroke", { Color = WHITE, Thickness = 1, Transparency = 0.6 }, r) local u = new("TextLabel", { Position = UDim2.fromOffset(8, 0), Size = UDim2.new(0.6, 0, 1, 0), BackgroundTransparency = 1, Text = t.user, Font = Enum.Font.Code, TextSize = 13, TextColor3 = WHITE, TextXAlignment = Enum.TextXAlignment.Left, ZIndex = 6, }, r) new("TextLabel", { Position = UDim2.new(0.6, 0, 0, 0), Size = UDim2.new(0.4, -8, 1, 0), BackgroundTransparency = 1, Text = t.ar, Font = Enum.Font.GothamBold, TextSize = 14, TextColor3 = WHITE, TextXAlignment = Enum.TextXAlignment.Right, ZIndex = 6, }, r) local busy2 = false r.Activated:Connect(function() if busy2 then return end busy2 = true local f = setclipboard or toclipboard u.Text = (f and pcall(f, t.user)) and "تم النسخ ✓" or "غير مدعوم" task.delay(1.2, function() u.Text = t.user busy2 = false end) end) end new("TextLabel", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 30), BackgroundTransparency = 1, Text = "للتواصل مع المطورين: TikTok فقط", Font = Enum.Font.GothamBold, TextSize = 13, TextColor3 = WHITE, TextTransparency = 0.2, ZIndex = 5, }, page) end --=============================================================== -- MERCY PAGE (قائمة الرحمة) --=============================================================== local globalLockedUserId = nil local globalActiveAction = nil local globalActiveBtnName = nil local function buildMercy(page) page.CanvasSize = UDim2.new(0, 0, 0, 220) local searchFrame = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 34), BackgroundTransparency = 1, ZIndex = 4, }, page) local searchBox = new("TextBox", { Size = UDim2.new(1, 0, 1, 0), BackgroundColor3 = BLACK, BackgroundTransparency = 0.3, BorderSizePixel = 0, Font = Enum.Font.GothamBold, TextSize = 14, TextColor3 = WHITE, PlaceholderText = "اكتب حرفين من يوزر الضحية...", PlaceholderColor3 = Color3.fromRGB(150, 150, 150), Text = "", ClearTextOnFocus = false, ZIndex = 5, }, searchFrame) new("UICorner", { CornerRadius = UDim.new(0, 8) }, searchBox) new("UIStroke", { Color = WHITE, Thickness = 1, Transparency = 0.4 }, searchBox) local infoCard = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 65), BackgroundColor3 = BLACK, BackgroundTransparency = 0.3, BorderSizePixel = 0, ZIndex = 4, }, page) new("UICorner", { CornerRadius = UDim.new(0, 10) }, infoCard) new("UIStroke", { Color = WHITE, Thickness = 1, Transparency = 0.6 }, infoCard) local targetAvatar = new("ImageLabel", { Size = UDim2.fromOffset(50, 50), Position = UDim2.new(0, 8, .5, -25), BackgroundTransparency = 1, BackgroundColor3 = BLACK, Image = CIRCLE_AVATAR_ID, ScaleType = Enum.ScaleType.Crop, ZIndex = 5, }, infoCard) new("UICorner", { CornerRadius = UDim.new(1, 0) }, targetAvatar) local targetDetails = new("TextLabel", { Size = UDim2.new(1, -70, 1, 0), Position = UDim2.new(0, 66, 0, 0), BackgroundTransparency = 1, Font = Enum.Font.Oswald, Text = "UserID: -\nDisplay: -\nJoined: -", TextColor3 = WHITE, TextSize = 15, TextWrapped = true, TextXAlignment = Enum.TextXAlignment.Left, TextYAlignment = Enum.TextYAlignment.Center, ZIndex = 5, }, infoCard) local function getTargetPlayer() if globalLockedUserId then local pl = Players:GetPlayerByUserId(globalLockedUserId) if pl then return pl end end local query = searchBox.Text:lower() if #query < 2 then return nil end for _, pl in ipairs(Players:GetPlayers()) do if pl ~= player and (pl.Name:lower():find(query, 1, true) or pl.DisplayName:lower():find(query, 1, true)) then return pl end end return nil end local function updateTargetInfo() local found = getTargetPlayer() if found then local accAge = "غير معروف" pcall(function() accAge = tostring(found.AccountAge) .. " يوم" end) targetDetails.Text = ("UserID: %d\nDisplay: %s (@%s)\nJoined: منذ %s"):format(found.UserId, found.DisplayName, found.Name, accAge) pcall(function() targetAvatar.Image = ("rbxthumb://type=AvatarHeadShot&id=%d&w=150&h=150"):format(found.UserId) end) else targetDetails.Text = "UserID: -\nDisplay: -\nJoined: -" targetAvatar.Image = CIRCLE_AVATAR_ID end end searchBox:GetPropertyChangedSignal("Text"):Connect(function() updateTargetInfo() local q = searchBox.Text:gsub("^%s+",""):gsub("%s+$","") if #q >= 2 then local found = getTargetPlayer() if found then globalLockedUserId = found.UserId end else if not globalLockedUserId then globalLockedUserId = nil end end end) local gridContainer = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 110), BackgroundTransparency = 1, ZIndex = 4, }, page) local buttonsData = { {name = "FlingTarget_Button", text = "فلنق", x = 0, y = 0, action = "fling"}, {name = "ViewTarget_Button", text = "مشاهدة", x = 220, y = 0, action = "view"}, {name = "HeadFuck_Button", text = "يمص", x = 0, y = 37, action = "suck"}, {name = "BenxTarget_Button", text = "بانق", x = 220, y = 37, action = "bang"}, {name = "HeadsitTarget_Button", text = "جلوس في راسه", x = 0, y = 74, action = "headsit"}, {name = "TeleportTarget_Button", text = "تنقل", x = 220, y = 74, action = "teleport"}, } local buttonObjects = {} local function updateButtonsVisual() for _, data in ipairs(buttonsData) do local btn = buttonObjects[data.name] if btn then btn.BackgroundColor3 = WHITE btn.TextColor3 = BLACK if globalActiveBtnName == data.name then btn.BackgroundTransparency = 0.1 else btn.BackgroundTransparency = 0.25 end end end end for _, data in ipairs(buttonsData) do local btn = new("TextButton", { Name = data.name, BackgroundColor3 = WHITE, BackgroundTransparency = 0.25, BorderSizePixel = 0, Position = UDim2.new(0, data.x, 0, data.y), Size = UDim2.new(0, 210, 0, 30), Font = Enum.Font.GothamBold, Text = data.text, TextColor3 = BLACK, TextSize = 14, AutoButtonColor = false, ZIndex = 5, }, gridContainer) new("UICorner", { CornerRadius = UDim.new(0, 6) }, btn) new("UIStroke", { Color = BLACK, Thickness = 1, Transparency = 0.4 }, btn) buttonObjects[data.name] = btn btn.Activated:Connect(function() local targetPl = getTargetPlayer() if data.action == "teleport" then if targetPl and targetPl.Character and targetPl.Character:FindFirstChild("HumanoidRootPart") then local myChar = player.Character if myChar and myChar:FindFirstChild("HumanoidRootPart") then myChar.HumanoidRootPart.CFrame = targetPl.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 3) end end return end if globalActiveBtnName == data.name then globalActiveBtnName = nil globalActiveAction = nil globalLockedUserId = nil updateButtonsVisual() updateTargetInfo() local myChar = player.Character if myChar and myChar:FindFirstChild("HumanoidRootPart") then myChar.HumanoidRootPart.AssemblyLinearVelocity = Vector3.zero myChar.HumanoidRootPart.AssemblyAngularVelocity = Vector3.zero end if player.Character and player.Character:FindFirstChild("Humanoid") then Camera.CameraSubject = player.Character.Humanoid end else globalActiveBtnName = data.name globalActiveAction = data.action if targetPl then globalLockedUserId = targetPl.UserId end updateButtonsVisual() end end) end updateButtonsVisual() updateTargetInfo() end keep(RunService.Heartbeat:Connect(function() if not globalLockedUserId or not globalActiveAction then return end local targetPl = Players:GetPlayerByUserId(globalLockedUserId) if not targetPl or not targetPl.Character or not targetPl.Character:FindFirstChild("HumanoidRootPart") then return end local myChar = player.Character if not myChar or not myChar:FindFirstChild("HumanoidRootPart") then return end local myRoot = myChar.HumanoidRootPart local tRoot = targetPl.Character.HumanoidRootPart if globalActiveAction == "fling" then myRoot.CFrame = tRoot.CFrame * CFrame.new(0, 0, 0) myRoot.AssemblyLinearVelocity = Vector3.new(35000, 35000, 35000) myRoot.AssemblyAngularVelocity = Vector3.new(50000, 50000, 50000) elseif globalActiveAction == "bang" then local t = os.clock() * 350 local backAndForth = math.sin(t) * 1.2 myRoot.CFrame = tRoot.CFrame * CFrame.new(0, 0, 0.8 + backAndForth) myRoot.AssemblyLinearVelocity = Vector3.zero myRoot.AssemblyAngularVelocity = Vector3.zero elseif globalActiveAction == "suck" then local t = os.clock() * 350 local backAndForth = math.sin(t) * 1.1 myRoot.CFrame = tRoot.CFrame * CFrame.new(0, 1.4, -0.6 + backAndForth) * CFrame.Angles(0, math.pi, 0) myRoot.AssemblyLinearVelocity = Vector3.zero myRoot.AssemblyAngularVelocity = Vector3.zero elseif globalActiveAction == "headsit" then myRoot.CFrame = tRoot.CFrame * CFrame.new(0, 2.3, 0) myRoot.AssemblyLinearVelocity = Vector3.zero myRoot.AssemblyAngularVelocity = Vector3.zero elseif globalActiveAction == "view" then if targetPl.Character:FindFirstChild("Humanoid") then Camera.CameraSubject = targetPl.Character.Humanoid end end end)) --=============================================================== -- PLAYER PAGE --=============================================================== local PS = { walkSpeed = 16, jumpPower = 50, infJump = false, spinBot = false, spinSpeed = 50, gravity = origGravity, blockMode = false, headAngle = 0, legAngle = 0, bodyAngle = 0, } local function buildPlayer(page) local function hum() local ch = player.Character return ch and ch:FindFirstChildOfClass("Humanoid") end sliderRow(page, "سرعة المشي", 16, 250, function() return PS.walkSpeed end, function(v) PS.walkSpeed = v local h = hum() if h then h.WalkSpeed = v end end) sliderRow(page, "قوة القفز العالي", 50, 300, function() return PS.jumpPower end, function(v) PS.jumpPower = v local h = hum() if h then h.UseJumpPower = true h.JumpPower = v end end) toggleRow(page, "قفز لانهائي", function() return PS.infJump end, function(v) PS.infJump = v end) keep(UserInputService.JumpRequest:Connect(function() if PS.infJump then local h = hum() if h then h:ChangeState(Enum.HumanoidStateType.Jumping) end end end)) toggleRow(page, "دوران سريع", function() return PS.spinBot end, function(v) PS.spinBot = v end) sliderRow(page, "سرعة الدوران", 10, 300, function() return PS.spinSpeed end, function(v) PS.spinSpeed = v end) keep(RunService.Heartbeat:Connect(function(dt) if PS.spinBot then local ch = player.Character local root = ch and ch:FindFirstChild("HumanoidRootPart") if root then root.CFrame = root.CFrame * CFrame.Angles(0, math.rad(PS.spinSpeed * dt * 15), 0) end end end)) sliderRow(page, "الجاذبية", 0, 500, function() return PS.gravity end, function(v) PS.gravity = v workspace.Gravity = v end) toggleRow(page, "تحويل الجسم إلى مكعب متوسط", function() return PS.blockMode end, function(v) PS.blockMode = v local ch = player.Character if ch then for _, part in ipairs(ch:GetDescendants()) do if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then part.Size = v and Vector3.new(2.8, 2.8, 2.8) or Vector3.new(1, 2, 1) end end end end) sliderRow(page, "تحريك الرأس فقط", -180, 180, function() return PS.headAngle end, function(v) PS.headAngle = v end) sliderRow(page, "تحريك الساقين فقط", -180, 180, function() return PS.legAngle end, function(v) PS.legAngle = v end) sliderRow(page, "تحريك الصدر والبطن فقط", -180, 180, function() return PS.bodyAngle end, function(v) PS.bodyAngle = v end) keep(RunService.RenderStepped:Connect(function() if PS.headAngle == 0 and PS.bodyAngle == 0 and PS.legAngle == 0 then return end local ch = player.Character if not ch then return end if PS.headAngle ~= 0 then local head = ch:FindFirstChild("Head") if head then head.CFrame = head.CFrame * CFrame.Angles(0, math.rad(PS.headAngle * 0.1), 0) end end if PS.bodyAngle ~= 0 then for _, tName in ipairs({ "Torso", "UpperTorso", "LowerTorso" }) do local torso = ch:FindFirstChild(tName) if torso then torso.CFrame = torso.CFrame * CFrame.Angles(0, math.rad(PS.bodyAngle * 0.1), 0) end end end if PS.legAngle ~= 0 then for _, lName in ipairs({ "Left Leg", "Right Leg", "LeftUpperLeg", "RightUpperLeg", "LeftLowerLeg", "RightLowerLeg" }) do local leg = ch:FindFirstChild(lName) if leg then leg.CFrame = leg.CFrame * CFrame.Angles(math.rad(PS.legAngle * 0.1), 0, 0) end end end end)) end --=============================================================== -- ANTI PAGE --=============================================================== local ANTI = { { "aDeath", "مضاد موت" }, { "aSit", "مضاد جلوس" }, { "aToolLag", "مضاد لاق أدوات" }, { "aBomb", "مضاد قنابل" }, { "aKick", "مضاد طرد" }, { "aGrief", "مضاد خريب" }, { "aFling", "مضاد فلنق" }, { "aBang", "مضاد بانق" }, { "aSuck", "مضاد مص" }, } local function buildAnti(page) toggleRow(page, "تفعيل الكل", function() for _, a in ipairs(ANTI) do if not S[a[1]] then return false end end return true end, function(v) for _, a in ipairs(ANTI) do S[a[1]] = v end end) for _, a in ipairs(ANTI) do local f = a[1] toggleRow(page, a[2], function() return S[f] end, function(v) S[f] = v end) end end --=============================================================== -- QUALITY + EFFECTS ENGINE --=============================================================== local ORIG = {} pcall(function() ORIG.ClockTime = Lighting.ClockTime ORIG.Brightness = Lighting.Brightness ORIG.Ambient = Lighting.Ambient ORIG.OutdoorAmbient = Lighting.OutdoorAmbient ORIG.FogEnd = Lighting.FogEnd ORIG.FogStart = Lighting.FogStart ORIG.FogColor = Lighting.FogColor end) local lastTime, lastFog = "none", false local function ensure(cls, name, parent) local o = parent:FindFirstChild(name) if not o then o = Instance.new(cls) o.Name = name o.Parent = parent end return o end local function applyFx() pcall(function() local mode = S.fxNight and "night" or (S.fxDay and "day" or "none") local fogOn = S.fxFog and not fxSuppressed local cloudsOn = S.fxClouds and not fxSuppressed local shaderOn = S.fxShader and not fxSuppressed if mode ~= lastTime then lastTime = mode if mode == "night" then Lighting.ClockTime = 0 Lighting.Brightness = 1 Lighting.Ambient = Color3.fromRGB(40, 40, 70) Lighting.OutdoorAmbient = Color3.fromRGB(40, 40, 70) elseif mode == "day" then Lighting.ClockTime = 14 Lighting.Brightness = 3 Lighting.Ambient = ORIG.Ambient Lighting.OutdoorAmbient = ORIG.OutdoorAmbient else Lighting.ClockTime = ORIG.ClockTime Lighting.Brightness = ORIG.Brightness Lighting.Ambient = ORIG.Ambient Lighting.OutdoorAmbient = ORIG.OutdoorAmbient end end if fogOn then lastFog = true Lighting.FogStart = 0 Lighting.FogEnd = 300 Lighting.FogColor = Color3.fromRGB(190, 200, 210) elseif lastFog then lastFog = false Lighting.FogStart = ORIG.FogStart Lighting.FogEnd = ORIG.FogEnd Lighting.FogColor = ORIG.FogColor end local terrain = workspace:FindFirstChildOfClass("Terrain") if terrain then if cloudsOn or shaderOn then local c = ensure("Clouds", "YWIF_Clouds", terrain) if shaderOn then c.Cover = .9 c.Density = .85 c.Color = Color3.fromRGB(235, 225, 255) else c.Cover = .6 c.Density = .5 c.Color = Color3.new(1, 1, 1) end else local c = terrain:FindFirstChild("YWIF_Clouds") if c then c:Destroy() end end end if shaderOn then if not Lighting:FindFirstChildOfClass("Atmosphere") then local at = ensure("Atmosphere", "YWIF_Atmosphere", Lighting) at.Density = .38 at.Offset = .25 at.Glare = .3 at.Haze = 1.6 at.Color = Color3.fromRGB(199, 190, 210) at.Decay = Color3.fromRGB(106, 112, 125) end local bl = ensure("BloomEffect", "YWIF_Bloom", Lighting) bl.Intensity = .6 bl.Size = 28 bl.Threshold = 1.2 local sr = ensure("SunRaysEffect", "YWIF_Rays", Lighting) sr.Intensity = .15 sr.Spread = .8 local cc = ensure("ColorCorrectionEffect", "YWIF_CC", Lighting) cc.Saturation = .15 cc.Contrast = .1 else for _, n in ipairs({ "YWIF_Atmosphere", "YWIF_Bloom", "YWIF_Rays", "YWIF_CC" }) do local o = Lighting:FindFirstChild(n) if o then o:Destroy() end end end end) end local QLV = { 1, 5, 9, 15, 21 } local function applyQuality(i) S.quality = i pcall(function() settings().Rendering.QualityLevel = Enum.QualityLevel["Level" .. string.format("%02d", QLV[i])] end) end local function fxCleanup() S.fxNight, S.fxDay, S.fxClouds, S.fxShader, S.fxFog = false, false, false, false, false applyFx() end local function buildFx(page) local QN = { "منخفضة جداً", "منخفضة", "متوسطة", "عالية", "ممتازة" } local qr = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 34), BackgroundTransparency = 1, ZIndex = 5, }, page) new("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Center, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 4), SortOrder = Enum.SortOrder.LayoutOrder, }, qr) local qb = {} local function rQ() for i, b in ipairs(qb) do local on = S.quality == i b.BackgroundColor3 = on and WHITE or OFFCOL b.TextColor3 = on and BLACK or WHITE end end for i = 1, 5 do local b = new("TextButton", { LayoutOrder = i, Size = UDim2.new(0.2, -4, 1, -4), BackgroundColor3 = OFFCOL, Font = Enum.Font.GothamBold, Text = QN[i], TextColor3 = WHITE, TextScaled = true, TextSize = 12, AutoButtonColor = false, ZIndex = 6, }, qr) new("UICorner", { CornerRadius = UDim.new(0, 8) }, b) new("UITextSizeConstraint", { MaxTextSize = 12, MinTextSize = 7 }, b) qb[i] = b b.Activated:Connect(function() applyQuality(i) rQ() saveS() end) end table.insert(REFRESH, rQ) rQ() sect(page, "المؤثرات") local function fxRow(label, field, excl) toggleRow(page, label, function() return S[field] end, function(v) S[field] = v if v and excl then S[excl] = false end applyFx() end) end fxRow("ليل", "fxNight", "fxDay") fxRow("نهار", "fxDay", "fxNight") fxRow("غيوم", "fxClouds") fxRow("شادر غيوم", "fxShader") fxRow("ضباب", "fxFog") end --=============================================================== -- SERVERS PAGE --=============================================================== local function buildServers(page) local list = { { "سيرفر ممتلي", "البحث عن سيرفر ممتلئ باللاعبين" }, { "سيرفر فارغ", "البحث عن سيرفر فارغ تماماً" }, { "سيرفر عربي", "الانتقال إلى سيرفر عربي" }, { "سيرفر اجنبي", "الانتقال إلى سيرفر أجنبي عالمي" }, { "سيرفر عربي ممتلي", "سيرفر عربي ممتلئ بالكامل" }, { "سيرفر اجنبي ممتلي", "سيرفر أجنبي ممتلئ بالكامل" }, { "سيرفر عربي فارغ", "سيرفر عربي فارغ للعب الهادئ" }, { "سيرفر عراقي", "الانتقال إلى سيرفر خاص بالعراق" }, { "سيرفر سعودي", "الانتقال إلى سيرفر خاص بالسعودية" }, { "سيرفر عراقي ممتلي", "سيرفر عراقي ممتلئ باللاعبين" }, { "سيرفر سعودي ممتلي", "سيرفر سعودي ممتلئ باللاعبين" }, } for _, srv in ipairs(list) do local card = mkRow(page, 48) new("TextLabel", { Position = UDim2.fromOffset(12, 6), Size = UDim2.new(1, -110, 0, 20), BackgroundTransparency = 1, Text = srv[1], Font = Enum.Font.GothamBold, TextSize = 14, TextColor3 = WHITE, TextXAlignment = Enum.TextXAlignment.Left, ZIndex = 6, }, card) new("TextLabel", { Position = UDim2.fromOffset(12, 26), Size = UDim2.new(1, -110, 0, 16), BackgroundTransparency = 1, Text = srv[2], Font = Enum.Font.Gotham, TextSize = 11, TextColor3 = WHITE, TextTransparency = 0.3, TextXAlignment = Enum.TextXAlignment.Left, ZIndex = 6, }, card) local btn = new("TextButton", { Size = UDim2.fromOffset(84, 28), Position = UDim2.new(1, -92, .5, -14), BackgroundColor3 = WHITE, Font = Enum.Font.GothamBold, Text = "دخول", TextColor3 = BLACK, TextSize = 13, AutoButtonColor = false, ZIndex = 7, }, card) new("UICorner", { CornerRadius = UDim.new(0, 8) }, btn) btn.Activated:Connect(function() btn.Text = "جاري..." task.spawn(function() pcall(function() TeleportService:Teleport(game.PlaceId, player) end) task.wait(2) if btn.Parent then btn.Text = "دخول" end end) end) end end --=============================================================== -- AFK PAGE --=============================================================== local function buildAfk(page) local VirtualUser = game:GetService("VirtualUser") local A = { ground = false, mountain = false, idle = false, hover = false, spin = false } local SPEEDS = { 6, 12, 20, 30, 45, 65, 90, 130 } local lvl = 3 local anchored = false local oWS, oJP, oJH local function parts() local ch = player.Character if not ch then return end return ch, ch:FindFirstChild("HumanoidRootPart"), ch:FindFirstChildOfClass("Humanoid") end local function restoreMove() local _, _, h = parts() if h and oWS then h.WalkSpeed = oWS h.JumpPower = oJP h.JumpHeight = oJH end oWS, oJP, oJH = nil, nil, nil end local function release() anchored = false local _, root = parts() if root then root.Anchored = false root.AssemblyLinearVelocity = Vector3.zero root.AssemblyAngularVelocity = Vector3.zero end restoreMove() end keep(RunService.Heartbeat:Connect(function(dt) local want = A.ground or A.mountain or A.hover or A.spin if not want and not anchored then return end local _, root, h = parts() if not root then return end if want then anchored = true root.Anchored = true root.AssemblyLinearVelocity = Vector3.zero root.AssemblyAngularVelocity = Vector3.zero if A.mountain and h then h.WalkSpeed = 0 h.JumpPower = 0 h.JumpHeight = 0 end if A.spin then root.CFrame = root.CFrame * CFrame.Angles(0, SPEEDS[lvl] * dt, 0) end elseif anchored then release() end end)) local function fakeClick() pcall(function() VirtualUser:CaptureController() VirtualUser:ClickButton2(Vector2.new(0, 0)) end) end keep(player.Idled:Connect(function() if A.idle then fakeClick() end end)) task.spawn(function() while gui.Parent do task.wait(45) if A.idle then fakeClick() end end end) afkCleanup = function() for k in pairs(A) do A[k] = false end release() end toggleRow(page, "تثبيت بالأرض", function() return A.ground end, function(v) A.ground = v end) toggleRow(page, "تثبيت مثل الجبل", function() return A.mountain end, function(v) A.mountain = v if v then local _, _, h = parts() if h and not oWS then oWS, oJP, oJH = h.WalkSpeed, h.JumpPower, h.JumpHeight end else restoreMove() end end) toggleRow(page, "ضغط تلقائي (منع الطرد)", function() return A.idle end, function(v) A.idle = v if v then fakeClick() end end) toggleRow(page, "رفع متر وتوقف", function() return A.hover end, function(v) A.hover = v if v then local _, root = parts() if root then root.CFrame = root.CFrame + Vector3.new(0, 3.6, 0) end end end) toggleRow(page, "دوران سريع", function() return A.spin end, function(v) A.spin = v end) local sr = mkRow(page, 32, "سرعة الدوران") local mB = sBtn(sr, "-", 26, 10) local lvLbl = new("TextLabel", { BackgroundTransparency = 1, Position = UDim2.fromOffset(40, 0), Size = UDim2.fromOffset(44, 32), Font = Enum.Font.GothamBold, TextSize = 13, TextColor3 = WHITE, Text = "", ZIndex = 6, }, sr) local pB = sBtn(sr, "+", 26, 88) local function rLvl() lvLbl.Text = lvl .. "/8" end mB.Activated:Connect(function() lvl = math.max(1, lvl - 1) rLvl() end) pB.Activated:Connect(function() lvl = math.min(8, lvl + 1) rLvl() end) rLvl() end --=============================================================== -- SHARED HELPERS --=============================================================== local function myParts() local ch = player.Character return ch, ch and ch:FindFirstChild("HumanoidRootPart"), ch and ch:FindFirstChildOfClass("Humanoid") end local function tpToPlayer(pl) if not pl then return false end local _, myRoot = myParts() local tch = pl.Character local tRoot = tch and tch:FindFirstChild("HumanoidRootPart") if myRoot and tRoot then myRoot.CFrame = tRoot.CFrame * CFrame.new(0, 0, 3) return true end return false end local function viewPlayer(pl) local cam = workspace.CurrentCamera local tch = pl and pl.Character local h = tch and tch:FindFirstChildOfClass("Humanoid") if cam and h then cam.CameraSubject = h return true end return false end local function stopView() local cam = workspace.CurrentCamera local _, _, h = myParts() if cam and h then cam.CameraSubject = h end end table.insert(CLEANUPS, stopView) local function flash(b, txt) local o = b:GetAttribute("o") or b.Text b:SetAttribute("o", o) b.Text = txt task.delay(1, function() if b.Parent then b.Text = o end end) end local function btnRow(page, defs) local br = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 32), BackgroundTransparency = 1, ZIndex = 5, }, page) new("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Center, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 6), SortOrder = Enum.SortOrder.LayoutOrder, }, br) local bs = {} for i, d in ipairs(defs) do local b = new("TextButton", { LayoutOrder = i, Size = UDim2.new(1 / #defs, -6, 0, 28), BackgroundColor3 = WHITE, Font = Enum.Font.GothamBold, Text = d[1], TextColor3 = BLACK, TextScaled = true, TextSize = 13, AutoButtonColor = false, ZIndex = 6, }, br) new("UICorner", { CornerRadius = UDim.new(0, 8) }, b) new("UITextSizeConstraint", { MaxTextSize = 13, MinTextSize = 7 }, b) b.Activated:Connect(function() d[2](b) end) bs[i] = b end return bs end --=============================================================== -- MOVEMENT & TELEPORT PAGE --=============================================================== local MS = { fly = false, speed = 60, noclip = false, up = false, down = false, saved = nil } local flyBV, flyBG local function stopFlyObjs() if flyBV then flyBV:Destroy() flyBV = nil end if flyBG then flyBG:Destroy() flyBG = nil end local _, _, h = myParts() if h then h.PlatformStand = false end end table.insert(CLEANUPS, function() MS.fly = false MS.noclip = false MS.up = false MS.down = false stopFlyObjs() end) keep(RunService.Heartbeat:Connect(function() if not MS.fly then if flyBV or flyBG then stopFlyObjs() end return end local _, root, h = myParts() local cam = workspace.CurrentCamera if not root or not h or not cam then return end if not flyBV or flyBV.Parent ~= root then stopFlyObjs() flyBV = Instance.new("BodyVelocity") flyBV.MaxForce = Vector3.new(1e9, 1e9, 1e9) flyBV.Velocity = Vector3.zero flyBV.Parent = root flyBG = Instance.new("BodyGyro") flyBG.MaxTorque = Vector3.new(1e9, 1e9, 1e9) flyBG.P = 9e4 flyBG.Parent = root end h.PlatformStand = true local look, right = cam.CFrame.LookVector, cam.CFrame.RightVector local flatLook = Vector3.new(look.X, 0, look.Z) local flatRight = Vector3.new(right.X, 0, right.Z) local md = h.MoveDirection local dir = Vector3.zero if md.Magnitude > 0 and flatLook.Magnitude > 0 and flatRight.Magnitude > 0 then dir = look * md:Dot(flatLook.Unit) + right * md:Dot(flatRight.Unit) end local vert = 0 if MS.up or UserInputService:IsKeyDown(Enum.KeyCode.Space) then vert += 1 end if MS.down or UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then vert -= 1 end flyBV.Velocity = (dir + Vector3.new(0, vert, 0)) * MS.speed flyBG.CFrame = CFrame.Angles(0, math.atan2(-look.X, -look.Z), 0) end)) local ncParts, ncT = {}, 0 keep(RunService.Stepped:Connect(function() if not MS.noclip then return end local ch = player.Character if not ch then return end local now = os.clock() if now - ncT > 1 then ncT = now ncParts = {} for _, p in ipairs(ch:GetDescendants()) do if p:IsA("BasePart") then ncParts[#ncParts + 1] = p end end end for i = 1, #ncParts do local p = ncParts[i] if p.CanCollide then p.CanCollide = false end end end)) local function buildMoveCore(page) sect(page, "الطيران") toggleRow(page, "تشغيل الطيران", function() return MS.fly end, function(v) MS.fly = v end) sliderRow(page, "سرعة الطيران", 10, 300, function() return MS.speed end, function(v) MS.speed = v end) local hr = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 32), BackgroundTransparency = 1, ZIndex = 5, }, page) new("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Center, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 6), SortOrder = Enum.SortOrder.LayoutOrder, }, hr) local function hold(txt, flag, ord) local b = new("TextButton", { LayoutOrder = ord, Size = UDim2.new(.5, -6, 0, 28), BackgroundColor3 = OFFCOL, Font = Enum.Font.GothamBold, Text = txt, TextColor3 = WHITE, TextSize = 13, AutoButtonColor = false, ZIndex = 6, }, hr) new("UICorner", { CornerRadius = UDim.new(0, 8) }, b) local function isPress(i) return i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch end b.InputBegan:Connect(function(i) if isPress(i) then MS[flag] = true b.BackgroundColor3 = WHITE b.TextColor3 = BLACK end end) b.InputEnded:Connect(function(i) if isPress(i) then MS[flag] = false b.BackgroundColor3 = OFFCOL b.TextColor3 = WHITE end end) end hold("▲ صعود", "up", 1) hold("▼ نزول", "down", 2) sect(page, "اختراق الجدران") toggleRow(page, "تشغيل Noclip", function() return MS.noclip end, function(v) MS.noclip = v end) end --=============================================================== -- TOOLS PAGE --=============================================================== local BOOST = { on = false, tok = 0, orig = setmetatable({}, { __mode = "k" }), conn = nil, shadows = nil } local function boostInst(o) if o:IsA("Terrain") then return end if o:IsA("BasePart") then if not BOOST.orig[o] then BOOST.orig[o] = { m = o.Material, s = o.CastShadow } end o.Material = Enum.Material.SmoothPlastic o.CastShadow = false elseif o:IsA("Decal") or o:IsA("Texture") then if not BOOST.orig[o] then BOOST.orig[o] = { t = o.Transparency } end o.Transparency = 1 elseif o:IsA("ParticleEmitter") or o:IsA("Trail") or o:IsA("Smoke") or o:IsA("Fire") or o:IsA("Sparkles") then if not BOOST.orig[o] then BOOST.orig[o] = { e = o.Enabled } end o.Enabled = false end end local function restoreInst(o, d) if d.m then o.Material = d.m o.CastShadow = d.s elseif d.t ~= nil then o.Transparency = d.t elseif d.e ~= nil then o.Enabled = d.e end end local function setBoost(on) BOOST.tok += 1 local my = BOOST.tok BOOST.on = on if on then pcall(function() BOOST.shadows = Lighting.GlobalShadows Lighting.GlobalShadows = false end) if BOOST.conn then BOOST.conn:Disconnect() end BOOST.conn = workspace.DescendantAdded:Connect(function(o) if BOOST.on then pcall(boostInst, o) end end) task.spawn(function() local n = 0 for _, o in ipairs(workspace:GetDescendants()) do if my ~= BOOST.tok then return end pcall(boostInst, o) n += 1 if n % 400 == 0 then task.wait() end end end) else if BOOST.conn then BOOST.conn:Disconnect() BOOST.conn = nil end pcall(function() if BOOST.shadows ~= nil then Lighting.GlobalShadows = BOOST.shadows end end) task.spawn(function() local n = 0 for o, d in pairs(BOOST.orig) do if my ~= BOOST.tok then return end pcall(restoreInst, o, d) BOOST.orig[o] = nil n += 1 if n % 400 == 0 then task.wait() end end end) end end local function buildTools(page) local cam0 = workspace.CurrentCamera local origFov = cam0 and cam0.FieldOfView or 70 local origZoom = player.CameraMaxZoomDistance table.insert(CLEANUPS, function() pcall(function() local c = workspace.CurrentCamera if c then c.FieldOfView = origFov end player.CameraMaxZoomDistance = origZoom end) end) sect(page, "الكاميرا") sliderRow(page, "مجال الرؤية (FOV)", 30, 120, function() local c = workspace.CurrentCamera return c and math.floor(c.FieldOfView + .5) or 70 end, function(v) local c = workspace.CurrentCamera if c then c.FieldOfView = v end end) sliderRow(page, "أقصى مسافة زوم", 10, 500, function() return math.floor(player.CameraMaxZoomDistance) end, function(v) player.CameraMaxZoomDistance = v end) sect(page, "رفع الأداء") toggleRow(page, "رفع الأداء (FPS)", function() return BOOST.on end, function(v) setBoost(v) end) table.insert(CLEANUPS, function() setBoost(false) end) sect(page, "قائمة اللاعبين") local listHolder, refreshBtn, rebuild local bs = btnRow(page, { { "تحديث القائمة", function() rebuild() end } }) refreshBtn = bs[1] listHolder = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, BackgroundTransparency = 1, ZIndex = 5, }, page) new("UIListLayout", { Padding = UDim.new(0, 6), SortOrder = Enum.SortOrder.LayoutOrder }, listHolder) rebuild = function() if not listHolder.Parent then return end for _, c in ipairs(listHolder:GetChildren()) do if c:IsA("Frame") then c:Destroy() end end local n = 0 for _, pl in ipairs(Players:GetPlayers()) do n += 1 local card = new("Frame", { LayoutOrder = n, Size = UDim2.new(1, 0, 0, 48), BackgroundColor3 = BLACK, BackgroundTransparency = 0.5, BorderSizePixel = 0, ZIndex = 5, }, listHolder) new("UICorner", { CornerRadius = UDim.new(0, 10) }, card) new("UIStroke", { Color = WHITE, Thickness = 1, Transparency = 0.6 }, card) local av = new("ImageLabel", { Position = UDim2.new(0, 6, .5, -18), Size = UDim2.fromOffset(36, 36), BackgroundColor3 = BLACK, Image = ("rbxthumb://type=AvatarHeadShot&id=%d&w=150&h=150"):format(pl.UserId), ZIndex = 6, }, card) new("UICorner", { CornerRadius = UDim.new(1, 0) }, av) new("UIStroke", { Color = WHITE, Thickness = 1.5 }, av) local nm = new("TextLabel", { Position = UDim2.fromOffset(50, 5), Size = UDim2.new(1, -250, 0, 20), BackgroundTransparency = 1, Text = pl.DisplayName .. (pl == player and " (أنت)" or ""), Font = Enum.Font.GothamBold, TextScaled = true, TextSize = 14, TextColor3 = WHITE, TextXAlignment = Enum.TextXAlignment.Left, ZIndex = 6, }, card) new("UITextSizeConstraint", { MaxTextSize = 14, MinTextSize = 8 }, nm) new("TextLabel", { Position = UDim2.fromOffset(50, 26), Size = UDim2.new(1, -250, 0, 16), BackgroundTransparency = 1, Text = "@" .. pl.Name, Font = Enum.Font.Code, TextSize = 12, TextColor3 = WHITE, TextTransparency = 0.3, TextXAlignment = Enum.TextXAlignment.Left, TextTruncate = Enum.TextTruncate.AtEnd, ZIndex = 6, }, card) local bh = new("Frame", { AnchorPoint = Vector2.new(1, .5), Position = UDim2.new(1, -6, .5, 0), Size = UDim2.fromOffset(182, 24), BackgroundTransparency = 1, ZIndex = 6, }, card) new("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Right, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 4), SortOrder = Enum.SortOrder.LayoutOrder, }, bh) local function mini(txt, ord, cb) local b = new("TextButton", { LayoutOrder = ord, Size = UDim2.fromOffset(58, 24), BackgroundColor3 = WHITE, Font = Enum.Font.GothamBold, Text = txt, TextColor3 = BLACK, TextScaled = true, TextSize = 12, AutoButtonColor = false, ZIndex = 7, }, bh) new("UICorner", { CornerRadius = UDim.new(0, 7) }, b) new("UITextSizeConstraint", { MaxTextSize = 12, MinTextSize = 7 }, b) b.Activated:Connect(function() cb(b) end) end mini("نسخ", 1, function(b) local f = setclipboard or toclipboard flash(b, (f and pcall(f, pl.Name)) and "تم ✓" or "غير مدعوم") end) if pl ~= player then mini("مشاهدة", 2, function(b) if not viewPlayer(pl) then flash(b, "غير متاح") end end) mini("تنقل", 3, function(b) if not tpToPlayer(pl) then flash(b, "غير متاح") end end) end end refreshBtn.Text = "تحديث القائمة (" .. n .. ")" end keep(Players.PlayerRemoving:Connect(function() task.delay(.3, rebuild) end)) rebuild() end local function buildPlayerFull(page) buildPlayer(page) buildMoveCore(page) end --=============================================================== -- FUN PAGE --=============================================================== local FN = { trail = false, sparks = false, rainbow = true, hue = 200, aura = false, ghost = false, neon = false, filter = 1, cam = 1, camSpeed = 5, camDist = 14, timeAnim = false, timeSpeed = 5, } local FC = { on = false, speed = 60, up = false, down = false, pitch = 0, yaw = 0, pos = Vector3.zero, anchoredBefore = nil } local trailObj, trailA0, trailA1, sparkObj, ringPart, ringLight local neonStore = setmetatable({}, { __mode = "k" }) local ghostWas, camActive, origClock = false, false, nil local camAngle, fxTimer = 0, 0 local function fxColor() if FN.rainbow then return Color3.fromHSV((os.clock() * 0.3) % 1, 1, 1) end return Color3.fromHSV(FN.hue / 360, 1, 1) end local function killTrail() if trailObj then trailObj:Destroy() trailObj = nil end if trailA0 then trailA0:Destroy() trailA0 = nil end if trailA1 then trailA1:Destroy() trailA1 = nil end end local function killSparks() if sparkObj then sparkObj:Destroy() sparkObj = nil end end local function killRing() if ringPart then ringPart:Destroy() ringPart = nil ringLight = nil end end local function applyFilter() local f = Lighting:FindFirstChild("YWIF_Filter") if FN.filter == 1 then if f then f:Destroy() end return end if not f then f = Instance.new("ColorCorrectionEffect") f.Name = "YWIF_Filter" f.Parent = Lighting end if FN.filter == 2 then f.Brightness = -0.15 f.Contrast = 0.15 f.Saturation = -0.2 f.TintColor = Color3.fromRGB(150, 170, 255) elseif FN.filter == 3 then f.Brightness = 0 f.Contrast = 0.1 f.Saturation = -0.5 f.TintColor = Color3.fromRGB(255, 225, 175) else f.Brightness = 0 f.Contrast = 0.15 f.Saturation = -1 f.TintColor = Color3.new(1, 1, 1) end end local function stopCam() if camActive then camActive = false local cam = workspace.CurrentCamera if cam then cam.CameraType = Enum.CameraType.Custom end stopView() end end keep(RunService.RenderStepped:Connect(function(dt) local ch = player.Character local root = ch and ch:FindFirstChild("HumanoidRootPart") local col = fxColor() if FN.trail and root then if not trailObj or trailObj.Parent ~= root then killTrail() trailA0 = new("Attachment", { Position = Vector3.new(0, 1, 0) }, root) trailA1 = new("Attachment", { Position = Vector3.new(0, -1, 0) }, root) trailObj = new("Trail", { Attachment0 = trailA0, Attachment1 = trailA1, Lifetime = 0.7, LightEmission = 1, Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1) }), }, root) end trailObj.Color = ColorSequence.new(col) elseif trailObj then killTrail() end if FN.sparks and root then if not sparkObj or sparkObj.Parent ~= root then killSparks() sparkObj = new("ParticleEmitter", { Texture = "rbxasset://textures/particles/sparkles_main.dds", Rate = 25, Lifetime = NumberRange.new(0.8, 1.4), Speed = NumberRange.new(2, 5), SpreadAngle = Vector2.new(180, 180), LightEmission = 1, Size = NumberSequence.new(0.5, 0), }, root) end sparkObj.Color = ColorSequence.new(col) elseif sparkObj then killSparks() end if FN.aura and root then if not ringPart or not ringPart.Parent then killRing() ringPart = new("Part", { Name = "YWIF_Aura", Shape = Enum.PartType.Cylinder, Size = Vector3.new(0.25, 7, 7), Material = Enum.Material.Neon, Transparency = 0.35, Anchored = true, CanCollide = false, CanQuery = false, CanTouch = false, CastShadow = false, }, workspace) ringLight = new("PointLight", { Range = 16, Brightness = 2 }, ringPart) end ringPart.CFrame = CFrame.new(root.Position - Vector3.new(0, 2.9, 0)) * CFrame.Angles(0, 0, math.rad(90)) ringPart.Color = col ringLight.Color = col elseif ringPart then killRing() end local cam = workspace.CurrentCamera if FN.cam ~= 1 and root and cam and not FC.on then camActive = true cam.CameraType = Enum.CameraType.Scriptable if FN.cam == 2 then camAngle += dt * FN.camSpeed * 0.2 local pos = root.Position + Vector3.new(math.cos(camAngle) * FN.camDist, FN.camDist * 0.4, math.sin(camAngle) * FN.camDist) cam.CFrame = CFrame.lookAt(pos, root.Position) else local pos = root.Position + Vector3.new(0, FN.camDist * 1.5, FN.camDist * 0.3) cam.CFrame = CFrame.lookAt(pos, root.Position, Vector3.new(0, 0, -1)) end elseif camActive and not FC.on then stopCam() end if FN.timeAnim then Lighting.ClockTime = (Lighting.ClockTime + dt * FN.timeSpeed * 0.2) % 24 end fxTimer += dt if fxTimer >= 0.2 and ch and (FN.ghost or FN.neon or ghostWas) then fxTimer = 0 for _, p in ipairs(ch:GetDescendants()) do if p:IsA("BasePart") and p.Name ~= "HumanoidRootPart" then if FN.ghost then p.LocalTransparencyModifier = 0.65 end if FN.neon then if neonStore[p] == nil then neonStore[p] = p.Material end p.Material = Enum.Material.Neon end end end if not FN.ghost and ghostWas then for _, p in ipairs(ch:GetDescendants()) do if p:IsA("BasePart") then p.LocalTransparencyModifier = 0 end end end ghostWas = FN.ghost end end)) local function restoreNeon() for p, m in pairs(neonStore) do if p.Parent then pcall(function() p.Material = m end) end neonStore[p] = nil end end table.insert(CLEANUPS, function() FN.trail = false FN.sparks = false FN.aura = false FN.ghost = false FN.neon = false FN.cam = 1 FN.filter = 1 FN.timeAnim = false killTrail() killSparks() killRing() restoreNeon() applyFilter() stopCam() local ch = player.Character if ch then for _, p in ipairs(ch:GetDescendants()) do if p:IsA("BasePart") then p.LocalTransparencyModifier = 0 end end end if origClock then Lighting.ClockTime = origClock end end) local function segRow(page, names, get, set) local fr = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 34), BackgroundTransparency = 1, ZIndex = 5, }, page) new("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Center, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 4), SortOrder = Enum.SortOrder.LayoutOrder, }, fr) local bs = {} local function r() for i, b in ipairs(bs) do local on = get() == i b.BackgroundColor3 = on and WHITE or OFFCOL b.TextColor3 = on and BLACK or WHITE end end for i, n in ipairs(names) do local b = new("TextButton", { LayoutOrder = i, Size = UDim2.new(1 / #names, -4, 1, -4), BackgroundColor3 = OFFCOL, Font = Enum.Font.GothamBold, Text = n, TextColor3 = WHITE, TextScaled = true, TextSize = 12, AutoButtonColor = false, ZIndex = 6, }, fr) new("UICorner", { CornerRadius = UDim.new(0, 8) }, b) new("UITextSizeConstraint", { MaxTextSize = 12, MinTextSize = 7 }, b) bs[i] = b b.Activated:Connect(function() set(i) r() end) end table.insert(REFRESH, r) r() end --=============================================================== -- FUN EXTRA --=============================================================== local StarterGui = game:GetService("StarterGui") local RN = { mode = 1, rate = 5 } local rainPart, rainEm local function killRain() if rainPart then rainPart:Destroy() rainPart = nil rainEm = nil end end local function applyRain() if RN.mode == 1 then killRain() return end if not rainPart or not rainPart.Parent then killRain() rainPart = new("Part", { Name = "YWIF_Rain", Size = Vector3.new(70, 1, 70), Transparency = 1, Anchored = true, CanCollide = false, CanQuery = false, CanTouch = false, CastShadow = false, }, workspace) rainEm = new("ParticleEmitter", { EmissionDirection = Enum.NormalId.Bottom }, rainPart) end if RN.mode == 2 then rainEm.Rate = 60 * RN.rate rainEm.Lifetime = NumberRange.new(0.3, 0.4) rainEm.Speed = NumberRange.new(95, 110) rainEm.Size = NumberSequence.new(0.15) rainEm.Color = ColorSequence.new(Color3.fromRGB(170, 200, 255)) rainEm.Transparency = NumberSequence.new(0.25) rainEm.LightEmission = 0.3 rainEm.SpreadAngle = Vector2.new(2, 2) rainEm.RotSpeed = NumberRange.new(0) else rainEm.Rate = 25 * RN.rate rainEm.Lifetime = NumberRange.new(4, 6) rainEm.Speed = NumberRange.new(6, 10) rainEm.Size = NumberSequence.new(0.35) rainEm.Color = ColorSequence.new(Color3.new(1, 1, 1)) rainEm.Transparency = NumberSequence.new(0.1) rainEm.LightEmission = 0.2 rainEm.SpreadAngle = Vector2.new(25, 25) rainEm.RotSpeed = NumberRange.new(-60, 60) end end local OB = { mode = 1, count = 6, radius = 4, speed = 5 } local orbs = {} local function killOrbs() for _, o in ipairs(orbs) do o:Destroy() end orbs = {} end local function buildOrbs() killOrbs() if OB.mode == 1 then return end for i = 1, OB.count do local o = new("Part", { Shape = Enum.PartType.Ball, Size = Vector3.new(0.7, 0.7, 0.7), Material = Enum.Material.Neon, Anchored = true, CanCollide = false, CanQuery = false, CanTouch = false, CastShadow = false, }, workspace) if OB.mode == 3 then new("ParticleEmitter", { Texture = "rbxasset://textures/particles/sparkles_main.dds", Rate = 15, Lifetime = NumberRange.new(0.5, 0.9), Speed = NumberRange.new(1, 2), LightEmission = 1, Size = NumberSequence.new(0.4, 0), }, o) elseif OB.mode == 4 then new("Fire", { Size = 3, Heat = 5 }, o) o.Color = Color3.fromRGB(255, 120, 20) elseif OB.mode == 5 then o.Transparency = 1 local bb = new("BillboardGui", { Size = UDim2.fromOffset(34, 34), AlwaysOnTop = true }, o) new("TextLabel", { Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, Text = "🦋", TextScaled = true }, bb) end orbs[i] = o end end local SK = { preset = 1, rainbow = false } local SKY = { {}, { top = Color3.fromRGB(255, 120, 190), bot = Color3.fromRGB(255, 170, 90), amb = Color3.fromRGB(150, 100, 120), atm = Color3.fromRGB(255, 150, 170), decay = Color3.fromRGB(255, 110, 90) }, { top = Color3.fromRGB(40, 0, 110), bot = Color3.fromRGB(120, 0, 160), amb = Color3.fromRGB(50, 40, 110), atm = Color3.fromRGB(70, 20, 140), decay = Color3.fromRGB(20, 0, 60) }, { top = Color3.fromRGB(0, 200, 90), bot = Color3.fromRGB(0, 120, 120), amb = Color3.fromRGB(50, 120, 80), atm = Color3.fromRGB(60, 200, 120), decay = Color3.fromRGB(0, 90, 70) }, { top = Color3.fromRGB(255, 40, 0), bot = Color3.fromRGB(150, 0, 0), amb = Color3.fromRGB(140, 60, 40), atm = Color3.fromRGB(255, 70, 30), decay = Color3.fromRGB(120, 10, 0) }, } local origSky, origAtm, ownAtm local function getAtm() local a = Lighting:FindFirstChildOfClass("Atmosphere") if not a then a = Instance.new("Atmosphere") a.Name = "YWIF_SkyAtm" a.Parent = Lighting ownAtm = true end return a end local function applySky() if SK.preset == 1 then if origSky then Lighting.ColorShift_Top = origSky.top Lighting.ColorShift_Bottom = origSky.bot Lighting.OutdoorAmbient = origSky.out origSky = nil end local a = Lighting:FindFirstChildOfClass("Atmosphere") if a then if ownAtm then a:Destroy() ownAtm = nil elseif origAtm then a.Color = origAtm.Color a.Decay = origAtm.Decay a.Haze = origAtm.Haze a.Density = origAtm.Density end end origAtm = nil return end local d = SKY[SK.preset] if not origSky then origSky = { top = Lighting.ColorShift_Top, bot = Lighting.ColorShift_Bottom, out = Lighting.OutdoorAmbient } end local a = getAtm() if not origAtm and not ownAtm then origAtm = { Color = a.Color, Decay = a.Decay, Haze = a.Haze, Density = a.Density } end Lighting.ColorShift_Top = d.top Lighting.ColorShift_Bottom = d.bot Lighting.OutdoorAmbient = d.amb a.Color = d.atm a.Decay = d.decay a.Haze = 2 a.Density = 0.4 end local BL = { dof = false, strength = 5, focus = 40, blur = 0 } local function applyBlur() local b = Lighting:FindFirstChild("YWIF_Blur") if BL.blur <= 0 then if b then b:Destroy() end else if not b then b = Instance.new("BlurEffect") b.Name = "YWIF_Blur" b.Parent = Lighting end b.Size = BL.blur end local d = Lighting:FindFirstChild("YWIF_DoF") if not BL.dof then if d then d:Destroy() end else if not d then d = Instance.new("DepthOfFieldEffect") d.Name = "YWIF_DoF" d.Parent = Lighting end d.FarIntensity = BL.strength / 10 d.NearIntensity = 0 d.FocusDistance = BL.focus d.InFocusRadius = 15 end end local PH = { on = false } local function hideNames(on) for _, pl in ipairs(Players:GetPlayers()) do local h = pl.Character and pl.Character:FindFirstChildOfClass("Humanoid") if h then h.DisplayDistanceType = on and Enum.HumanoidDisplayDistanceType.None or Enum.HumanoidDisplayDistanceType.Viewer end end end local function applyPhoto(on) PH.on = on pcall(function() StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, not on) end) local st = gui:FindFirstChild("YWIF_Stats") if st then st.Visible = (not on) and S.showStats end hideNames(on) if on then task.spawn(function() while PH.on and gui.Parent do task.wait(1) if PH.on then hideNames(true) end end end) end end local function startFree() local cam = workspace.CurrentCamera if not cam then return end local rx, ry = cam.CFrame:ToOrientation() FC.pitch, FC.yaw, FC.pos = rx, ry, cam.CFrame.Position local _, root = myParts() if root then FC.anchoredBefore = root.Anchored root.Anchored = true end cam.CameraType = Enum.CameraType.Scriptable FC.on = true end local function stopFree() if not FC.on then return end FC.on = false local _, root = myParts() if root and FC.anchoredBefore ~= nil then root.Anchored = FC.anchoredBefore end FC.anchoredBefore = nil local cam = workspace.CurrentCamera if cam then cam.CameraType = Enum.CameraType.Custom end stopView() end keep(UserInputService.InputChanged:Connect(function(input, processed) if not FC.on or processed then return end if input.UserInputType == Enum.UserInputType.Touch or (input.UserInputType == Enum.UserInputType.MouseMovement and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2)) then FC.yaw -= input.Delta.X * 0.005 FC.pitch = math.clamp(FC.pitch - input.Delta.Y * 0.005, -1.5, 1.5) end end)) local skyAcc = 0 keep(RunService.RenderStepped:Connect(function(dt) local ch = player.Character local root = ch and ch:FindFirstChild("HumanoidRootPart") if root then if rainPart then rainPart.CFrame = CFrame.new(root.Position + Vector3.new(0, 30, 0)) end local n = #orbs if n > 0 then local t = os.clock() * OB.speed * 0.3 local col = fxColor() for i = 1, n do local a = t + (i / n) * math.pi * 2 local o = orbs[i] o.CFrame = CFrame.new(root.Position + Vector3.new( math.cos(a) * OB.radius, math.sin(t * 2 + i) * 0.8, math.sin(a) * OB.radius)) if OB.mode ~= 4 then o.Color = col end end end end if FC.on then local cam = workspace.CurrentCamera local _, _, h = myParts() if cam then local rot = CFrame.Angles(0, FC.yaw, 0) * CFrame.Angles(FC.pitch, 0, 0) local look, right = rot.LookVector, rot.RightVector local flatLook = Vector3.new(look.X, 0, look.Z) local flatRight = Vector3.new(right.X, 0, right.Z) local md = h and h.MoveDirection or Vector3.zero local dir = Vector3.zero if md.Magnitude > 0 and flatLook.Magnitude > 0 and flatRight.Magnitude > 0 then dir = look * md:Dot(flatLook.Unit) + right * md:Dot(flatRight.Unit) end local vert = 0 if FC.up or UserInputService:IsKeyDown(Enum.KeyCode.E) then vert += 1 end if FC.down or UserInputService:IsKeyDown(Enum.KeyCode.Q) then vert -= 1 end FC.pos += (dir + Vector3.new(0, vert, 0)) * FC.speed * dt cam.CameraType = Enum.CameraType.Scriptable cam.CFrame = CFrame.new(FC.pos) * rot end end if SK.rainbow and SK.preset > 1 then skyAcc += dt if skyAcc > 0.1 then skyAcc = 0 local hue = (os.clock() * 0.1) % 1 Lighting.ColorShift_Top = Color3.fromHSV(hue, 0.8, 1) Lighting.ColorShift_Bottom = Color3.fromHSV((hue + 0.15) % 1, 0.8, 1) local a = Lighting:FindFirstChildOfClass("Atmosphere") if a then a.Color = Color3.fromHSV(hue, 0.5, 1) end end end end)) table.insert(CLEANUPS, function() RN.mode = 1 OB.mode = 1 SK.preset = 1 SK.rainbow = false BL.dof = false BL.blur = 0 killRain() killOrbs() applySky() applyBlur() stopFree() if PH.on then applyPhoto(false) end end) local function buildFunExtra(page) sect(page, "مطر وثلج") segRow(page, { "بدون", "مطر", "ثلج" }, function() return RN.mode end, function(i) RN.mode = i applyRain() end) sliderRow(page, "الكثافة", 1, 10, function() return RN.rate end, function(v) RN.rate = v applyRain() end) sect(page, "جسيمات تدور حولك") segRow(page, { "بدون", "كرات", "نجوم", "نار", "فراشات" }, function() return OB.mode end, function(i) OB.mode = i buildOrbs() end) sliderRow(page, "العدد", 3, 12, function() return OB.count end, function(v) OB.count = v if OB.mode ~= 1 then buildOrbs() end end) sliderRow(page, "نصف القطر", 2, 8, function() return OB.radius end, function(v) OB.radius = v end) sliderRow(page, "السرعة", 1, 10, function() return OB.speed end, function(v) OB.speed = v end) sect(page, "سماء ملونة") segRow(page, { "بدون", "غروب", "فضاء", "أخضر", "أحمر" }, function() return SK.preset end, function(i) SK.preset = i applySky() end) toggleRow(page, "سماء متحركة الألوان", function() return SK.rainbow end, function(v) SK.rainbow = v if not v and SK.preset > 1 then applySky() end end) sect(page, "ضبابية العمق") toggleRow(page, "تشغيل ضبابية العمق", function() return BL.dof end, function(v) BL.dof = v applyBlur() end) sliderRow(page, "قوة الضبابية", 1, 10, function() return BL.strength end, function(v) BL.strength = v applyBlur() end) sliderRow(page, "بعد التركيز", 5, 150, function() return BL.focus end, function(v) BL.focus = v applyBlur() end) sliderRow(page, "تضبيب الشاشة", 0, 24, function() return BL.blur end, function(v) BL.blur = v applyBlur() end) sect(page, "وضع التصوير") toggleRow(page, "إخفاء الواجهة والأسماء", function() return PH.on end, function(v) applyPhoto(v) end) btnRow(page, { { "إخفاء القائمة 8 ثواني", function() setOpen(false) task.delay(8, function() if gui.Parent then setOpen(true) end end) end } }) sect(page, "كاميرا حرة") toggleRow(page, "تشغيل الكاميرا الحرة", function() return FC.on end, function(v) if v then startFree() else stopFree() end end) sliderRow(page, "سرعة الكاميرا", 10, 200, function() return FC.speed end, function(v) FC.speed = v end) local hr = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 32), BackgroundTransparency = 1, ZIndex = 5, }, page) new("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Center, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 6), SortOrder = Enum.SortOrder.LayoutOrder, }, hr) local function hold(txt, flag, ord) local b = new("TextButton", { LayoutOrder = ord, Size = UDim2.new(.5, -6, 0, 28), BackgroundColor3 = OFFCOL, Font = Enum.Font.GothamBold, Text = txt, TextColor3 = WHITE, TextSize = 13, AutoButtonColor = false, ZIndex = 6, }, hr) new("UICorner", { CornerRadius = UDim.new(0, 8) }, b) local function isPress(i) return i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch end b.InputBegan:Connect(function(i) if isPress(i) then FC[flag] = true b.BackgroundColor3 = WHITE b.TextColor3 = BLACK end end) b.InputEnded:Connect(function(i) if isPress(i) then FC[flag] = false b.BackgroundColor3 = OFFCOL b.TextColor3 = WHITE end end) end hold("▲ صعود", "up", 1) hold("▼ نزول", "down", 2) end local function buildFun(page) sect(page, "أثر خلفك") toggleRow(page, "أثر ملون خلفك", function() return FN.trail end, function(v) FN.trail = v end) toggleRow(page, "نجوم وشرارات حولك", function() return FN.sparks end, function(v) FN.sparks = v end) toggleRow(page, "ألوان متغيرة (قوس قزح)", function() return FN.rainbow end, function(v) FN.rainbow = v end) sliderRow(page, "درجة اللون", 0, 360, function() return FN.hue end, function(v) FN.hue = v end) sect(page, "الهالة") toggleRow(page, "هالة ضوء ملونة حولك", function() return FN.aura end, function(v) FN.aura = v end) sect(page, "شكل الشخصية") toggleRow(page, "شخصية شفافة (شبح)", function() return FN.ghost end, function(v) FN.ghost = v end) toggleRow(page, "شخصية نيون متوهجة", function() return FN.neon end, function(v) FN.neon = v if not v then restoreNeon() end end) sect(page, "فلتر الشاشة") segRow(page, { "بدون", "ليلي", "قديم", "أبيض وأسود" }, function() return FN.filter end, function(i) FN.filter = i applyFilter() end) sect(page, "الكاميرا السينمائية") segRow(page, { "إيقاف", "دوران حولك", "من فوق" }, function() return FN.cam end, function(i) FN.cam = i end) sliderRow(page, "سرعة الدوران", 1, 10, function() return FN.camSpeed end, function(v) FN.camSpeed = v end) sliderRow(page, "بعد الكاميرا", 6, 40, function() return FN.camDist end, function(v) FN.camDist = v end) sect(page, "الوقت") btnRow(page, { { "صباح", function() FN.timeAnim = false origClock = origClock or Lighting.ClockTime Lighting.ClockTime = 7 refreshAll() end }, { "ظهر", function() FN.timeAnim = false origClock = origClock or Lighting.ClockTime Lighting.ClockTime = 13 refreshAll() end }, { "مغرب", function() FN.timeAnim = false origClock = origClock or Lighting.ClockTime Lighting.ClockTime = 18 refreshAll() end }, { "ليل", function() FN.timeAnim = false origClock = origClock or Lighting.ClockTime Lighting.ClockTime = 0 refreshAll() end }, }) toggleRow(page, "حركة الوقت (شروق وغروب)", function() return FN.timeAnim end, function(v) if v then origClock = origClock or Lighting.ClockTime end FN.timeAnim = v end) sliderRow(page, "سرعة الوقت", 1, 10, function() return FN.timeSpeed end, function(v) FN.timeSpeed = v end) end --=============================================================== -- STATS & SETTINGS --=============================================================== local stats = new("TextLabel", { Name = "YWIF_Stats", AnchorPoint = Vector2.new(.5, 0), Position = UDim2.new(.5, 0, 0, 44), Size = UDim2.fromOffset(160, 22), BackgroundColor3 = BLACK, BackgroundTransparency = .3, BorderSizePixel = 0, Font = Enum.Font.GothamBold, Text = "FPS -- | Ping --", TextColor3 = WHITE, TextSize = 12, Visible = S.showStats, ZIndex = 20, }, gui) new("UICorner", { CornerRadius = UDim.new(0, 8) }, stats) new("UIStroke", { Color = WHITE, Thickness = 1, Transparency = .4 }, stats) local function applyStats() stats.Visible = S.showStats and not PH.on end local fc, curFps = 0, 60 keep(RunService.RenderStepped:Connect(function() fc += 1 end)) task.spawn(function() local last = os.clock() while gui.Parent do task.wait(.5) local now = os.clock() curFps = math.floor(fc / math.max(now - last, .001) + .5) fc = 0 last = now if stats.Visible then local ping = 0 pcall(function() ping = math.floor(Stats.Network.ServerStatsItem["Data Ping"]:GetValue() + .5) end) if ping == 0 then pcall(function() ping = math.floor(player:GetNetworkPing() * 1000 + .5) end) end stats.Text = ("FPS %d | Ping %dms"):format(curFps, ping) end end end) local shim = new("Frame", { AnchorPoint = Vector2.new(.5, .5), Size = UDim2.new(0, 70, 1.8, 0), Position = UDim2.new(-.15, 0, .5, 0), Rotation = 18, BackgroundColor3 = WHITE, BorderSizePixel = 0, Active = false, ZIndex = 9, Visible = false, }, window) new("UIGradient", { Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(.5, .88), NumberSequenceKeypoint.new(1, 1), }), }, shim) task.spawn(function() while gui.Parent do task.wait(3.5) if S.shimmer and isOpen and window.Visible then shim.Position = UDim2.new(-.15, 0, .5, 0) shim.Visible = true local tw = TweenService:Create(shim, TweenInfo.new(1.4, Enum.EasingStyle.Quad), { Position = UDim2.new(1.15, 0, .5, 0) }) tw:Play() tw.Completed:Wait() shim.Visible = false end end end) local autoLow, lowCnt, goodCnt, needGood, autoOrigQL = false, 0, 0, 15, nil autoRestore = function() if not autoLow then return end autoLow = false lowCnt = 0 goodCnt = 0 fxSuppressed = false pcall(function() if S.quality >= 1 then applyQuality(S.quality) elseif autoOrigQL then settings().Rendering.QualityLevel = autoOrigQL end end) applyFx() end task.spawn(function() while gui.Parent do task.wait(1) if not S.autoQ then if autoLow then autoRestore() end else if curFps < S.autoQFps then lowCnt += 1 goodCnt = 0 elseif curFps >= S.autoQFps + 15 then goodCnt += 1 lowCnt = 0 else lowCnt = 0 goodCnt = 0 end if not autoLow and lowCnt >= 3 then autoLow = true pcall(function() autoOrigQL = settings().Rendering.QualityLevel end) pcall(function() settings().Rendering.QualityLevel = Enum.QualityLevel.Level01 end) fxSuppressed = true applyFx() needGood = math.min(needGood * 2, 120) elseif autoLow and goodCnt >= needGood then autoRestore() end end end end) local function shutdown() saveS() for _, f in ipairs(CLEANUPS) do pcall(f) end for _, c in ipairs(conns) do pcall(function() c:Disconnect() end) end pcall(fxCleanup) if afkCleanup then pcall(afkCleanup) end if autoRestore then pcall(autoRestore) end pcall(function() workspace.Gravity = origGravity end) gui:Destroy() end local function applyScale(idx) S.scale = idx userSc = STEPS[idx] if isOpen then TweenService:Create(windowScale, TweenInfo.new(dur(.3), Enum.EasingStyle.Quad), { Scale = userSc }):Play() end end local function buildSettings(page) sect(page, "شفافية الواجهة") sliderRow(page, "الشفافية (0-100)", 0, 100, function() return S.opacity end, function(v) S.opacity = v shade.BackgroundTransparency = v / 100 end) sect(page, "الأنيميشن والحجم") sliderRow(page, "سرعة الأنيميشن", 1, 10, function() return math.floor(S.animSpeed) end, function(v) S.animSpeed = v end) local sr = mkRow(page, 32, "حجم الواجهة") local sb = sBtn(sr, "", 64, 10) local function rScale() sb.Text = math.floor(STEPS[S.scale] * 100 + .5) .. "%" end sb.Activated:Connect(function() applyScale(S.scale % #STEPS + 1) rScale() saveS() end) table.insert(REFRESH, rScale) rScale() sect(page, "المؤثرات") toggleRow(page, "اللمعان", function() return S.shimmer end, function(v) S.shimmer = v end) toggleRow(page, "عداد FPS و Ping", function() return S.showStats end, function(v) S.showStats = v applyStats() end) sect(page, "جودة تلقائية") toggleRow(page, "تشغيل الجودة التلقائية", function() return S.autoQ end, function(v) S.autoQ = v end) sliderRow(page, "حد الـ FPS", 10, 60, function() return S.autoQFps end, function(v) S.autoQFps = v end) sect(page, "حفظ الإعدادات") local br = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 34), BackgroundTransparency = 1, ZIndex = 5, }, page) new("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Center, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 10), }, br) local function bigBtn(txt, ord) local b = new("TextButton", { Size = UDim2.fromOffset(130, 30), BackgroundColor3 = WHITE, Font = Enum.Font.GothamBold, Text = txt, TextColor3 = BLACK, TextSize = 14, AutoButtonColor = false, LayoutOrder = ord, ZIndex = 6, }, br) new("UICorner", { CornerRadius = UDim.new(0, 9) }, b) return b end local saveB = bigBtn("حفظ الإعدادات", 1) saveB.Activated:Connect(function() local ok = saveS() saveB.Text = ok and "تم الحفظ ✓" or "غير مدعوم" task.delay(1.2, function() saveB.Text = "حفظ الإعدادات" end) end) local resetB = bigBtn("إعادة ضبط", 2) resetB.Activated:Connect(function() for k, v in pairs(DEF) do S[k] = v end shade.BackgroundTransparency = S.opacity / 100 applyScale(S.scale) applyStats() applyFx() refreshAll() saveS() end) sect(page, "إغلاق السكربت") local kr = new("Frame", { LayoutOrder = nextOrder(page), Size = UDim2.new(1, 0, 0, 36), BackgroundTransparency = 1, ZIndex = 5, }, page) local kb = new("TextButton", { AnchorPoint = Vector2.new(.5, .5), Position = UDim2.fromScale(.5, .5), Size = UDim2.fromOffset(230, 30), BackgroundColor3 = WHITE, Font = Enum.Font.GothamBold, TextColor3 = BLACK, TextSize = 14, AutoButtonColor = false, ZIndex = 6, Text = "", }, kr) new("UICorner", { CornerRadius = UDim.new(0, 9) }, kb) local armed = false local function rKill() kb.Text = armed and "اضغط مرة ثانية للتأكيد" or "إغلاق السكربت نهائياً" end rKill() kb.Activated:Connect(function() if not armed then armed = true rKill() task.delay(2.5, function() armed = false if kb.Parent then rKill() end end) return end shutdown() end) end --=============================================================== -- BUILD PAGES --=============================================================== local builders = { ["الحقوق"] = buildCredits, ["الرحمة"] = buildMercy, ["اللاعب"] = buildPlayerFull, ["المتعة"] = buildFun, ["المؤثرات الإضافية"] = buildFunExtra, ["المضادات"] = buildAnti, ["الجودة والمؤثرات"] = buildFx, ["السيرفرات"] = buildServers, ["AFK"] = buildAfk, ["الأدوات"] = buildTools, ["الإعدادات"] = buildSettings, } for _, name in ipairs(TABS) do local ok, err = pcall(builders[name], pages[name]) if not ok then warn("YWIF page error [" .. name .. "]: " .. tostring(err)) end end applyFx() if S.quality >= 1 then applyQuality(S.quality) end selectTab("الحقوق") setOpen(true) end local function runScript() task.wait(1.0) loadMenu() end button.Activated:Connect(function() if busy then return end busy = true leaving = true stopAudio() fadeOut() task.spawn(runScript) end)