TAFX
Key RequiredUniversal

TAFX

Universal Scripty354028y354028 326 views 645 executesUpdated Mar 25, 2026
5.0/ 5(1 votes)
10100% Positive
Lua Script•146 lines (6851 chars)
-- [[ TAFX HUB V34 - ABSOLUTE FRIEND PROTECTION ]] --
-- Fix: Arkadaş listesi önbelleğe alınır, hata payı sıfıra indirildi.

repeat task.wait() until game:IsLoaded()

local Players = game:GetService("Players")
local lp = Players.LocalPlayer
local tps = game:GetService("TeleportService")
local vu = game:GetService("VirtualUser")
local hs = game:GetService("HttpService")
local cg = game:GetService("CoreGui")

if cg:FindFirstChild("TAFX_V34") then cg.TAFX_V34:Destroy() end

-- [[ AYARLAR ]] --
_G.AutoPunch = true
_G.TeleportKill = true
_G.FriendSafety = true
local FriendList = {}

-- [[ ARKADAŞ LİSTESİNİ ÇEK (KESİN ÇÖZÜM) ]] --
local function UpdateFriends()
    FriendList = {}
    pcall(function()
        for _, player in pairs(Players:GetPlayers()) do
            if lp:IsFriendsWith(player.UserId) then
                FriendList[player.Name] = true
            end
        end
    end)
end
UpdateFriends()
Players.PlayerAdded:Connect(function(p) 
    if lp:IsFriendsWith(p.UserId) then FriendList[p.Name] = true end 
end)

-- [[ ANA HUB ]] --
local function StartHub()
    local UI = Instance.new("ScreenGui", cg); UI.Name = "TAFX_V34"
    
    -- SOL ÜST PANEL (Kills & Hop)
    local StatFrame = Instance.new("Frame", UI)
    StatFrame.Size = UDim2.new(0, 150, 0, 80); StatFrame.Position = UDim2.new(0, 15, 0, 15)
    StatFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15); StatFrame.BorderSizePixel = 0
    Instance.new("UICorner", StatFrame); Instance.new("UIStroke", StatFrame).Color = Color3.fromRGB(0, 200, 255)

    local KillLabel = Instance.new("TextLabel", StatFrame)
    KillLabel.Size = UDim2.new(1, 0, 0, 40); KillLabel.Text = "KILLS: 0"; KillLabel.TextColor3 = Color3.new(1, 1, 1)
    KillLabel.BackgroundTransparency = 1; KillLabel.Font = Enum.Font.GothamBold; KillLabel.TextSize = 16

    local HopBtn = Instance.new("TextButton", StatFrame)
    HopBtn.Size = UDim2.new(0.9, 0, 0, 30); HopBtn.Position = UDim2.new(0.05, 0, 0.5, 5)
    HopBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30); HopBtn.Text = "SERVER HOP"; HopBtn.TextColor3 = Color3.fromRGB(0, 200, 255)
    HopBtn.Font = Enum.Font.GothamBold; HopBtn.TextSize = 12; Instance.new("UICorner", HopBtn)
    HopBtn.MouseButton1Click:Connect(function()
        local s, l = pcall(function() return hs:JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/"..game.PlaceId.."/servers/Public?sortOrder=Desc&limit=100")) end)
        if s then for _, v in pairs(l.data) do if v.playing < v.maxPlayers and v.id ~= game.JobId then tps:TeleportToPlaceInstance(game.PlaceId, v.id) break end end end
    end)

    -- RAINBOW LOGO (TAFX)
    local Logo = Instance.new("TextButton", UI)
    Logo.Size = UDim2.new(0, 75, 0, 75); Logo.Position = UDim2.new(0, 15, 0.5, -37)
    Logo.BackgroundColor3 = Color3.fromRGB(10, 10, 10); Logo.Text = "TAFX"; Logo.Font = Enum.Font.GothamBold; Logo.TextSize = 22; Logo.Visible = false; Instance.new("UICorner", Logo, {CornerRadius = UDim.new(1,0)})
    task.spawn(function()
        local h = 0
        while task.wait(0.01) do
            h = h + 1/255
            if h > 1 then h = 0 end
            Logo.TextColor3 = Color3.fromHSV(h, 1, 1)
        end
    end)

    -- ANA PANEL
    local Main = Instance.new("Frame", UI)
    Main.Size = UDim2.new(0, 220, 0, 260); Main.Position = UDim2.new(0.5, -110, 0.5, -130); Main.BackgroundColor3 = Color3.fromRGB(15, 15, 15); Main.Active = true; Main.Draggable = true
    Instance.new("UICorner", Main); Instance.new("UIStroke", Main).Color = Color3.fromRGB(0, 200, 255)

    local MiniBtn = Instance.new("TextButton", Main)
    MiniBtn.Size = UDim2.new(0, 30, 0, 30); MiniBtn.Position = UDim2.new(1, -35, 0, 5); MiniBtn.Text = "_"; MiniBtn.TextColor3 = Color3.new(1,1,1); MiniBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30); Instance.new("UICorner", MiniBtn)
    MiniBtn.MouseButton1Click:Connect(function() Main.Visible = false; Logo.Visible = true end)
    Logo.MouseButton1Click:Connect(function() Main.Visible = true; Logo.Visible = false end)

    local function AddToggle(txt, pos, var)
        local b = Instance.new("TextButton", Main)
        b.Size = UDim2.new(0.9, 0, 0, 40); b.Position = UDim2.new(0.05, 0, 0, pos); b.BackgroundColor3 = Color3.fromRGB(25, 25, 25); b.TextColor3 = Color3.fromRGB(0, 200, 255); b.Text = txt .. ": ON"; b.Font = Enum.Font.GothamSemibold; Instance.new("UICorner", b)
        b.MouseButton1Click:Connect(function() _G[var] = not _G[var] b.Text = txt .. ": " .. (_G[var] and "ON" or "OFF") b.BackgroundColor3 = _G[var] and Color3.fromRGB(0, 100, 200) or Color3.fromRGB(25, 25, 25) b.TextColor3 = _G[var] and Color3.new(1,1,1) or Color3.fromRGB(0, 200, 255) end)
    end

    AddToggle("AUTO PUNCH", 60, "AutoPunch")
    AddToggle("TELEPORT KILL", 110, "TeleportKill")
    AddToggle("FRIEND PROTECT", 160, "FriendSafety")

    -- --- MOTORLAR ---
    
    -- Kill Güncelleme
    task.spawn(function()
        while task.wait(0.5) do
            pcall(function()
                local s = lp:FindFirstChild("leaderstats")
                local k = s and (s:FindFirstChild("Kills") or s:FindFirstChild("Bounty"))
                KillLabel.Text = "KILLS: " .. (k and k.Value or 0)
            end)
        end
    end)

    -- Punch Motoru
    task.spawn(function()
        while true do
            if _G.AutoPunch then
                lp.muscleEvent:FireServer("punch", "leftHand")
                lp.muscleEvent:FireServer("punch", "rightHand")
            end
            task.wait(0.001)
        end
    end)

    -- Gelişmiş Işınlanma Motoru (Arkadaş Fix)
    task.spawn(function()
        while true do
            if _G.TeleportKill then
                for _, p in pairs(Players:GetPlayers()) do
                    if p ~= lp and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
                        -- ARKADAŞ KONTROLÜ (Kesin çözüm için Tablo kullanıyoruz)
                        if _G.FriendSafety and FriendList[p.Name] then 
                            continue 
                        end

                        if p.Character:FindFirstChild("Humanoid") and p.Character.Humanoid.Health > 0 then
                            local root = lp.Character:FindFirstChild("HumanoidRootPart")
                            if root then
                                root.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 2.2)
                                lp.muscleEvent:FireServer("punch", p.Name)
                                task.wait(0.14) -- Akıcılık ve donma koruması
                            end
                        end
                    end
                    if not _G.TeleportKill then break end
                end
            end
            task.wait(0.4)
        end
    end)
end

StartHub()
lp.Idled:Connect(function() vu:CaptureController(); vu:ClickButton2(Vector2.new()) end)

Features & Information

AUTO KİLL

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts