local player = game.Players.LocalPlayer local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local Title = Instance.new("TextLabel") local FlingBtn = Instance.new("TextButton") local PowerInput = Instance.new("TextBox") local CloseBtn = Instance.new("TextButton") local OpenBtn = Instance.new("TextButton") local Signature = Instance.new("TextLabel") -- إعدادات الواجهة (ScreenGui) ScreenGui.Parent = game.CoreGui ScreenGui.ResetOnSpawn = false -- زر الفتح (يظهر عند إخفاء القائمة) OpenBtn.Name = "OpenBtn" OpenBtn.Parent = ScreenGui OpenBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 150) OpenBtn.Position = UDim2.new(0, 10, 0.5, 0) OpenBtn.Size = UDim2.new(0, 60, 0, 30) OpenBtn.Text = "OPEN" OpenBtn.Visible = false Instance.new("UICorner", OpenBtn) -- القائمة الرئيسية MainFrame.Name = "MainFrame" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15) MainFrame.BackgroundTransparency = 0.1 MainFrame.Position = UDim2.new(0.3, 0, 0.3, 0) MainFrame.Size = UDim2.new(0, 200, 0, 240) MainFrame.Active = true MainFrame.Draggable = true Instance.new("UICorner", MainFrame) -- العنوان Title.Parent = MainFrame Title.Size = UDim2.new(1, 0, 0, 40) Title.Text = "TAS AUTO LAY-FLING" Title.TextColor3 = Color3.new(1, 1, 1) Title.BackgroundTransparency = 1 Title.Font = Enum.Font.SourceSansBold -- زر الـ Fling (On/Off) - يقوم بعمل الـ Lay والـ Fling معاً FlingBtn.Parent = MainFrame FlingBtn.Position = UDim2.new(0.1, 0, 0.25, 0) FlingBtn.Size = UDim2.new(0.8, 0, 0, 45) FlingBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0) FlingBtn.Text = "AUTO FLING: OFF" FlingBtn.TextColor3 = Color3.new(1, 1, 1) FlingBtn.Font = Enum.Font.SourceSansBold Instance.new("UICorner", FlingBtn) -- إدخال القوة (Power) PowerInput.Parent = MainFrame PowerInput.Position = UDim2.new(0.1, 0, 0.52, 0) PowerInput.Size = UDim2.new(0.8, 0, 0, 35) PowerInput.BackgroundColor3 = Color3.fromRGB(40, 40, 40) PowerInput.Text = "60" PowerInput.TextColor3 = Color3.new(1, 1, 0) PowerInput.PlaceholderText = "Power..." Instance.new("UICorner", PowerInput) -- زر الإخفاء (Hide) CloseBtn.Parent = MainFrame CloseBtn.Position = UDim2.new(0.1, 0, 0.72, 0) CloseBtn.Size = UDim2.new(0.8, 0, 0, 25) CloseBtn.Text = "HIDE MENU" CloseBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60) CloseBtn.TextColor3 = Color3.new(1, 1, 1) Instance.new("UICorner", CloseBtn) -- التوقيع Signature.Parent = MainFrame Signature.Size = UDim2.new(1, 0, 0, 30) Signature.Position = UDim2.new(0, 0, 0.85, 0) Signature.Text = "by a7med" Signature.TextColor3 = Color3.fromRGB(180, 180, 180) Signature.BackgroundTransparency = 1 Signature.TextSize = 14 Signature.Font = Enum.Font.Code --- المنطق البرمجي (Script Logic) --- local isRunning = false FlingBtn.MouseButton1Click:Connect(function() isRunning = not isRunning local character = player.Character local humanoid = character and character:findFirstChildOfClass("Humanoid") if isRunning then FlingBtn.Text = "AUTO FLING: ON" FlingBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 0) if humanoid then humanoid.PlatformStand = true end -- تفعيل الـ Lay فوراً else FlingBtn.Text = "AUTO FLING: OFF" FlingBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0) if humanoid then humanoid.PlatformStand = false end -- إلغاء الـ Lay فوراً end end) -- حلقة التكرار للدفع المستمر game:GetService("RunService").Heartbeat:Connect(function() if isRunning then local character = player.Character local rootPart = character and character:findFirstChild("HumanoidRootPart") local humanoid = character and character:findFirstChildOfClass("Humanoid") local power = tonumber(PowerInput.Text) or 60 if rootPart and humanoid then -- التأكد من بقاء الشخصية في حالة Lay أثناء التشغيل humanoid.PlatformStand = true -- دفع مستمر للأعلى rootPart.Velocity = Vector3.new(0, power, 0) end end end) -- وظائف إظهار وإخفاء الواجهة CloseBtn.MouseButton1Click:Connect(function() MainFrame.Visible = false OpenBtn.Visible = true end) OpenBtn.MouseButton1Click:Connect(function() MainFrame.Visible = true OpenBtn.Visible = false end)