-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local CoreGui = game:GetService("CoreGui") local LocalPlayer = Players.LocalPlayer -- تحديد مكان حفظ الواجهة بشكل آمن جداً لمنع الاختفاء local TargetParent if gethui then TargetParent = gethui() else local success = pcall(function() local _ = CoreGui.Name end) if success then TargetParent = CoreGui else TargetParent = LocalPlayer:WaitForChild("PlayerGui") end end --------------------------------------------------------- -- [ المتغيرات الأساسية ] --------------------------------------------------------- local SpeedEnabled = false local AutoFireEnabled = false local HipHeightEnabled = false local EspEnabled = false local DEFAULT_SPEED = 16 -- السرعة الطبيعية للاعب local DEFAULT_HIPHEIGHT = 2 -- الارتفاع الطبيعي للاعب local SpeedValue = 50 -- قيمة السرعة المخصصة local HipHeightValue = 10 -- قيمة الارتفاع المخصصة local SpeedKeybind = Enum.KeyCode.V -- زر اختصار السرعة local AutoFireKeybind = Enum.KeyCode.B -- زر اختصار الإطلاق التلقائي local HipHeightKeybind = Enum.KeyCode.H-- زر اختصار الارتفاع local EspKeybind = Enum.KeyCode.X -- زر اختصار الـ ESP local MAX_DISTANCE = 9999999999999999999999 -- نطاق الإطلاق local FIRE_DELAY = 0.05 -- التأخير بين الطلقات بالثواني (تم تصحيح الخطأ) -- التأكد من وجود الريموت الخاص بالإطلاق local Events = ReplicatedStorage:FindFirstChild("Events") local FireRemote = Events and Events:FindFirstChild("FireRemote") or ReplicatedStorage:FindFirstChild("FireRemote", true) --------------------------------------------------------- -- [ إنشاء الواجهة GUI ] --------------------------------------------------------- if TargetParent:FindFirstChild("CustomSpeedAndAimbotGui") then TargetParent.CustomSpeedAndAimbotGui:Destroy() end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "CustomSpeedAndAimbotGui" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = TargetParent local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 290, 0, 360) MainFrame.Position = UDim2.new(0.5, -145, 0.25, 0) MainFrame.BackgroundColor3 = Color3.fromRGB(18, 18, 24) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ScreenGui local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0, 12) UICorner.Parent = MainFrame local UIStroke = Instance.new("UIStroke") UIStroke.Color = Color3.fromRGB(45, 45, 60) UIStroke.Thickness = 1.5 UIStroke.Parent = MainFrame local Title = Instance.new("TextLabel") Title.Name = "Title" Title.Size = UDim2.new(1, 0, 0, 35) Title.BackgroundTransparency = 1 Title.Text = "WalkSpeed, ESP & Auto Fire" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 14 Title.Font = Enum.Font.GothamBold Title.Parent = MainFrame local SpeedBtn = Instance.new("TextButton") SpeedBtn.Name = "SpeedBtn" SpeedBtn.Size = UDim2.new(0.9, 0, 0, 35) SpeedBtn.Position = UDim2.new(0.05, 0, 0.11, 0) SpeedBtn.BackgroundColor3 = Color3.fromRGB(210, 45, 45) SpeedBtn.Text = "Speed : OFF [V]" SpeedBtn.TextColor3 = Color3.fromRGB(255, 255, 255) SpeedBtn.TextSize = 13 SpeedBtn.Font = Enum.Font.GothamBold SpeedBtn.Parent = MainFrame local SpeedCorner = Instance.new("UICorner") SpeedCorner.CornerRadius = UDim.new(0, 8) SpeedCorner.Parent = SpeedBtn local HipBtn = Instance.new("TextButton") HipBtn.Name = "HipBtn" HipBtn.Size = UDim2.new(0.9, 0, 0, 35) HipBtn.Position = UDim2.new(0.05, 0, 0.23, 0) HipBtn.BackgroundColor3 = Color3.fromRGB(210, 45, 45) HipBtn.Text = "HipHeight : OFF [H]" HipBtn.TextColor3 = Color3.fromRGB(255, 255, 255) HipBtn.TextSize = 13 HipBtn.Font = Enum.Font.GothamBold HipBtn.Parent = MainFrame local HipCorner = Instance.new("UICorner") HipCorner.CornerRadius = UDim.new(0, 8) HipCorner.Parent = HipBtn local AutoFireBtn = Instance.new("TextButton") AutoFireBtn.Name = "AutoFireBtn" AutoFireBtn.Size = UDim2.new(0.9, 0, 0, 35) AutoFireBtn.Position = UDim2.new(0.05, 0, 0.35, 0) AutoFireBtn.BackgroundColor3 = Color3.fromRGB(210, 45, 45) AutoFireBtn.Text = "Auto Fire : OFF [B]" AutoFireBtn.TextColor3 = Color3.fromRGB(255, 255, 255) AutoFireBtn.TextSize = 13 AutoFireBtn.Font = Enum.Font.GothamBold AutoFireBtn.Parent = MainFrame local FireCorner = Instance.new("UICorner") FireCorner.CornerRadius = UDim.new(0, 8) FireCorner.Parent = AutoFireBtn local EspBtn = Instance.new("TextButton") EspBtn.Name = "EspBtn" EspBtn.Size = UDim2.new(0.9, 0, 0, 35) EspBtn.Position = UDim2.new(0.05, 0, 0.47, 0) EspBtn.BackgroundColor3 = Color3.fromRGB(210, 45, 45) EspBtn.Text = "ESP All : OFF [X]" EspBtn.TextColor3 = Color3.fromRGB(255, 255, 255) EspBtn.TextSize = 13 EspBtn.Font = Enum.Font.GothamBold EspBtn.Parent = MainFrame local EspCorner = Instance.new("UICorner") EspCorner.CornerRadius = UDim.new(0, 8) EspCorner.Parent = EspBtn local SpeedInput = Instance.new("TextBox") SpeedInput.Name = "SpeedInput" SpeedInput.Size = UDim2.new(0.43, 0, 0, 35) SpeedInput.Position = UDim2.new(0.05, 0, 0.61, 0) SpeedInput.BackgroundColor3 = Color3.fromRGB(28, 28, 38) SpeedInput.Text = "Spd: " .. tostring(SpeedValue) SpeedInput.TextColor3 = Color3.fromRGB(200, 200, 220) SpeedInput.TextSize = 12 SpeedInput.Font = Enum.Font.GothamMedium SpeedInput.ClearTextOnFocus = false SpeedInput.Parent = MainFrame local SpeedInputCorner = Instance.new("UICorner") SpeedInputCorner.CornerRadius = UDim.new(0, 8) SpeedInputCorner.Parent = SpeedInput local SpeedInputStroke = Instance.new("UIStroke") SpeedInputStroke.Color = Color3.fromRGB(40, 40, 55) SpeedInputStroke.Thickness = 1 SpeedInputStroke.Parent = SpeedInput local HipInput = Instance.new("TextBox") HipInput.Name = "HipInput" HipInput.Size = UDim2.new(0.43, 0, 0, 35) HipInput.Position = UDim2.new(0.52, 0, 0.61, 0) HipInput.BackgroundColor3 = Color3.fromRGB(28, 28, 38) HipInput.Text = "Hip: " .. tostring(HipHeightValue) HipInput.TextColor3 = Color3.fromRGB(200, 200, 220) HipInput.TextSize = 12 HipInput.Font = Enum.Font.GothamMedium HipInput.ClearTextOnFocus = false HipInput.Parent = MainFrame local HipInputCorner = Instance.new("UICorner") HipInputCorner.CornerRadius = UDim.new(0, 8) HipInputCorner.Parent = HipInput local HipInputStroke = Instance.new("UIStroke") HipInputStroke.Color = Color3.fromRGB(40, 40, 55) HipInputStroke.Thickness = 1 HipInputStroke.Parent = HipInput local CreditsLabel = Instance.new("TextLabel") CreditsLabel.Name = "Credits" CreditsLabel.Size = UDim2.new(1, 0, 0, 25) CreditsLabel.Position = UDim2.new(0, 0, 0.90, 0) CreditsLabel.BackgroundTransparency = 1 CreditsLabel.Text = "by 7s31 and gemini" CreditsLabel.TextColor3 = Color3.fromRGB(120, 120, 140) CreditsLabel.TextSize = 12 CreditsLabel.Font = Enum.Font.Gotham CreditsLabel.Parent = MainFrame --------------------------------------------------------- -- [ منطق الـ ESP المدمج (Players & NPCs) ] --------------------------------------------------------- local function applyEspToModel(model, isPlayer) if not model or model == LocalPlayer.Character then return end if model:FindFirstChild("CustomESP") then return end local highlight = Instance.new("Highlight") highlight.Name = "CustomESP" highlight.Adornee = model highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop if isPlayer then highlight.FillColor = Color3.fromRGB(0, 255, 120) highlight.OutlineColor = Color3.fromRGB(255, 255, 255) else highlight.FillColor = Color3.fromRGB(255, 200, 0) highlight.OutlineColor = Color3.fromRGB(255, 255, 255) end highlight.FillTransparency = 0.5 highlight.OutlineTransparency = 0 highlight.Parent = model end local function removeEspFromModel(model) if model and model:FindFirstChild("CustomESP") then model.CustomESP:Destroy() end end local function updateEsp() for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character then if EspEnabled then applyEspToModel(player.Character, true) else removeEspFromModel(player.Character) end end end local liveFolder = workspace:FindFirstChild("Live") or workspace for _, model in ipairs(liveFolder:GetChildren()) do if model:IsA("Model") and model:FindFirstChildOfClass("Humanoid") and model ~= LocalPlayer.Character then if not Players:GetPlayerFromCharacter(model) then if EspEnabled then applyEspToModel(model, false) else removeEspFromModel(model) end end end end end --------------------------------------------------------- -- [ التفاعل مع الأزرار والإنترفيس ] --------------------------------------------------------- local function updateWalkSpeed() local char = LocalPlayer.Character if not char then return end local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.WalkSpeed = SpeedEnabled and SpeedValue or DEFAULT_SPEED end end local function updateHipHeight() local char = LocalPlayer.Character if not char then return end local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.HipHeight = HipHeightEnabled and HipHeightValue or DEFAULT_HIPHEIGHT end end local function toggleSpeed() SpeedEnabled = not SpeedEnabled SpeedBtn.Text = SpeedEnabled and "Speed : ON [V]" or "Speed : OFF [V]" local targetColor = SpeedEnabled and Color3.fromRGB(40, 170, 80) or Color3.fromRGB(210, 45, 45) TweenService:Create(SpeedBtn, TweenInfo.new(0.2), {BackgroundColor3 = targetColor}):Play() updateWalkSpeed() end local function toggleHipHeight() HipHeightEnabled = not HipHeightEnabled HipBtn.Text = HipHeightEnabled and "HipHeight : ON [H]" or "HipHeight : OFF [H]" local targetColor = HipHeightEnabled and Color3.fromRGB(40, 170, 80) or Color3.fromRGB(210, 45, 45) TweenService:Create(HipBtn, TweenInfo.new(0.2), {BackgroundColor3 = targetColor}):Play() updateHipHeight() end local function toggleAutoFire() AutoFireEnabled = not AutoFireEnabled AutoFireBtn.Text = AutoFireEnabled and "Auto Fire : ON [B]" or "Auto Fire : OFF [B]" local targetColor = AutoFireEnabled and Color3.fromRGB(40, 170, 80) or Color3.fromRGB(210, 45, 45) TweenService:Create(AutoFireBtn, TweenInfo.new(0.2), {BackgroundColor3 = targetColor}):Play() end local function toggleEsp() EspEnabled = not EspEnabled EspBtn.Text = EspEnabled and "ESP All : ON [X]" or "ESP All : OFF [X]" local targetColor = EspEnabled and Color3.fromRGB(40, 170, 80) or Color3.fromRGB(210, 45, 45) TweenService:Create(EspBtn, TweenInfo.new(0.2), {BackgroundColor3 = targetColor}):Play() updateEsp() end SpeedBtn.MouseButton1Click:Connect(toggleSpeed) HipBtn.MouseButton1Click:Connect(toggleHipHeight) AutoFireBtn.MouseButton1Click:Connect(toggleAutoFire) EspBtn.MouseButton1Click:Connect(toggleEsp) UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == SpeedKeybind then toggleSpeed() elseif input.KeyCode == HipHeightKeybind then toggleHipHeight() elseif input.KeyCode == AutoFireKeybind then toggleAutoFire() elseif input.KeyCode == EspKeybind then toggleEsp() end end) SpeedInput.FocusLost:Connect(function() local extracted = SpeedInput.Text:gsub("[^%d%.%-]", "") local num = tonumber(extracted) if num then SpeedValue = num end SpeedInput.Text = "Spd: " .. tostring(SpeedValue) if SpeedEnabled then updateWalkSpeed() end end) SpeedInput.Focused:Connect(function() SpeedInput.Text = tostring(SpeedValue) end) HipInput.FocusLost:Connect(function() local extracted = HipInput.Text:gsub("[^%d%.%-]", "") local num = tonumber(extracted) if num then HipHeightValue = num end HipInput.Text = "Hip: " .. tostring(HipHeightValue) if HipHeightEnabled then updateHipHeight() end end) HipInput.Focused:Connect(function() HipInput.Text = tostring(HipHeightValue) end) --------------------------------------------------------- -- [ تطبيق التعديلات والـ ESP ] --------------------------------------------------------- LocalPlayer.CharacterAdded:Connect(function(char) local humanoid = char:WaitForChild("Humanoid", 5) if humanoid then task.wait(0.3) if SpeedEnabled then humanoid.WalkSpeed = SpeedValue end if HipHeightEnabled then humanoid.HipHeight = HipHeightValue end end end) RunService.Stepped:Connect(function() local char = LocalPlayer.Character if char then local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then if SpeedEnabled and humanoid.WalkSpeed ~= SpeedValue then humanoid.WalkSpeed = SpeedValue end if HipHeightEnabled and humanoid.HipHeight ~= HipHeightValue then humanoid.HipHeight = HipHeightValue end end end end) -- حلقة الـ ESP المنفصلة لتجنب انخفاض الفريمات (Lag) task.spawn(function() while true do task.wait(0.5) if EspEnabled then pcall(updateEsp) end end end) --------------------------------------------------------- -- [ منطق الإطلاق التلقائي ] --------------------------------------------------------- local function getEquippedTool() local char = LocalPlayer.Character if not char then return nil end return char:FindFirstChildOfClass("Tool") end local function getClosestTarget() local char = LocalPlayer.Character if not char then return nil, nil end local root = char:FindFirstChild("HumanoidRootPart") or char:FindFirstChild("Head") if not root then return nil, nil end local myPos = root.Position local closestHead = nil local shortestDistance = MAX_DISTANCE for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character then local hum = player.Character:FindFirstChildOfClass("Humanoid") local head = player.Character:FindFirstChild("Head") if hum and hum.Health > 0 and head then local dist = (head.Position - myPos).Magnitude if dist < shortestDistance then shortestDistance = dist closestHead = head end end end end local liveFolder = workspace:FindFirstChild("Live") or workspace for _, model in ipairs(liveFolder:GetChildren()) do if model ~= char and model:IsA("Model") and not Players:GetPlayerFromCharacter(model) then local hum = model:FindFirstChildOfClass("Humanoid") local head = model:FindFirstChild("Head") if hum and hum.Health > 0 and head then local dist = (head.Position - myPos).Magnitude if dist < shortestDistance then shortestDistance = dist closestHead = head end end end end return closestHead, myPos end local function shoot() if not AutoFireEnabled then return end local currentTool = getEquippedTool() if not currentTool then return end local targetHead, myPos = getClosestTarget() if targetHead and myPos then local targetPos = targetHead.Position local toolRemote = currentTool:FindFirstChildOfClass("RemoteEvent") or currentTool:FindFirstChildOfClass("RemoteFunction") local args = { [1] = { ["Direction"] = (targetPos - myPos).Unit, ["Origin"] = myPos, ["WeaponName"] = currentTool.Name, ["PredictedHit"] = targetPos, ["Hits"] = { [1] = { ["Instance"] = targetHead, ["Position"] = targetPos } } } } if toolRemote then if toolRemote:IsA("RemoteEvent") then toolRemote:FireServer(unpack(args)) elseif toolRemote:IsA("RemoteFunction") then toolRemote:InvokeServer(unpack(args)) end elseif FireRemote then FireRemote:FireServer(unpack(args)) else currentTool:Activate() end end end -- حلقة الإطلاق task.spawn(function() while true do task.wait(FIRE_DELAY) if AutoFireEnabled then pcall(shoot) end end end)