Universal Script 📌
473 Views
1.1k Executions

Mango phonk

Universal Script 📌
elijahasdasd
elijahasdasdFirst script
8 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Mango phonk

View Raw
-- =============================================
-- CLEAN TARGET STRAFE CODE ONLY (DH121 Style + Fixed Y-Axis)
-- Copy and paste this into your script
-- =============================================

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local LocalPlayer = Players.LocalPlayer

-- ==================== STRAFE SETTINGS ====================
local StrafeSettings = {
    Enabled = false,
    Mode = "Orbit",          -- Orbit / Random / Side
    StrengthX = 10,          -- Speed (rotation)
    StrengthY = 8,           -- Vertical Bob Height (smooth & fixed)
    StrengthZ = 6,           -- Orbit Distance
    ManualTarget = nil,      -- Player you picked from dropdown
    StrafeAngle = 0,
    BobAngle = 0             -- Separate bob angle (this fixes the bug)
}

-- ==================== GET TARGET (Auto or Manual) ====================
local function GetStrafeTarget()
    if StrafeSettings.ManualTarget and StrafeSettings.ManualTarget.Character and StrafeSettings.ManualTarget.Character:FindFirstChild("HumanoidRootPart") then
        return StrafeSettings.ManualTarget
    end
    
    -- Auto closest fallback
    local closest = nil
    local shortest = math.huge
    
    for _, plr in ipairs(Players:GetPlayers()) do
        if plr ~= LocalPlayer and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
            local dist = (plr.Character.HumanoidRootPart.Position - workspace.CurrentCamera.CFrame.Position).Magnitude
            if dist < shortest then
                closest = plr
                shortest = dist
            end
        end


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!