ai utg sounds open souce
Key Required

ai utg sounds open souce

untitled tag gameJas_20Jas_20 2.3K views 1.9K executesUpdated Dec 22, 2025
Unrated
00
Lua Script•147 lines (5080 chars)
-- ANKLE BREAKER ULTIMATE++ (NO UI VERSION)
-- 6 Different sound variations with punch sounds and cooldown

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer

-- Sound IDs
local ids = {
127690609178167,114739399228816,131803555321436,3932504231,131275645840932,
6729922069,106354935763972,98315574299152,133121383417599,123310283306726,
17887086888,116664883827057,140099088033128,116630605163027,4503031546,
94232267804503,138795574409823,133364079620766,8819872349,8974932300,
99936497230394,88275213286914,122584207374799,101037153860340,8643750815,
7358219350,200289834,128034206482778,7772283448,6555005549,80366980742981,
139694892021582,7553397015
}

local currentSound = nil
local canPlayNew = true
local lastTriggerTime = 0
local TRIGGER_COOLDOWN = 4

local function playRandomSound()
    if not canPlayNew then return end

    -- 40% chance to play 2 sounds at once
    local playDouble = math.random(1, 10) <= 4

    if playDouble then
        local id1 = ids[math.random(#ids)]
        local sound1 = Instance.new("Sound")
        sound1.SoundId = "rbxassetid://" .. id1
        sound1.Volume = 5
        sound1.PlaybackSpeed = 1
        sound1.RollOffMaxDistance = 80
        sound1.EmitterSize = 30
        sound1.Parent = workspace.CurrentCamera or (player.Character and player.Character:FindFirstChild("Head"))
        sound1:Play()

        task.delay(0.1, function()
            local id2 = ids[math.random(#ids)]
            local sound2 = Instance.new("Sound")
            sound2.SoundId = "rbxassetid://" .. id2
            sound2.Volume = 4.5
            sound2.PlaybackSpeed = 1.05
            sound2.RollOffMaxDistance = 80
            sound2.EmitterSize = 30
            sound2.Parent = workspace.CurrentCamera or (player.Character and player.Character:FindFirstChild("Head"))
            sound2:Play()

            sound2.Ended:Connect(function()
                sound2:Destroy()
            end)
        end)

        canPlayNew = false
        sound1.Ended:Connect(function()
            sound1:Destroy()
            currentSound = nil
            canPlayNew = true
        end)
    else
        local id = ids[math.random(#ids)]
        currentSound = Instance.new("Sound")
        currentSound.SoundId = "rbxassetid://" .. id
        currentSound.Volume = 6
        currentSound.PlaybackSpeed = 1
        currentSound.RollOffMaxDistance = 80
        currentSound.EmitterSize = 30
        currentSound.Parent = workspace.CurrentCamera or (player.Character and player.Character:FindFirstChild("Head"))
        currentSound:Play()

        canPlayNew = false
        currentSound.Ended:Connect(function()
            currentSound:Destroy()
            currentSound = nil
            canPlayNew = true
        end)
    end
end

-- Detection
local params = RaycastParams.new()
params.FilterType = Enum.RaycastFilterType.Exclude

-- Monitor player death sounds only, no UI
local function onCharacterAdded(char)
    local humanoid = char:WaitForChild("Humanoid", 5)
    if humanoid then
        humanoid.Died:Connect(function()
            -- Play death sounds only, no GUI
            local deathSound1 = Instance.new("Sound")
            deathSound1.SoundId = "rbxassetid://12856925315"
            deathSound1.Volume = 10
            deathSound1.Parent = workspace.CurrentCamera or workspace
            deathSound1:Play()

            local deathSound2 = Instance.new("Sound")
            deathSound2.SoundId = "rbxassetid://79021206816352"
            deathSound2.Volume = 10
            deathSound2.Parent = workspace.CurrentCamera or workspace
            deathSound2:Play()

            task.delay(5, function()
                if deathSound1 then deathSound1:Destroy() end
                if deathSound2 then deathSound2:Destroy() end
            end)
        end)
    end
end

local player = Players.LocalPlayer
if player.Character then
    onCharacterAdded(player.Character)
end
player.CharacterAdded:Connect(onCharacterAdded)

RunService.RenderStepped:Connect(function()
    if not player.Character or not player.Character:FindFirstChild("HumanoidRootPart") then return end
    local hrp = player.Character.HumanoidRootPart

    if hrp.Velocity.Magnitude < 2 then return end

    if tick() - lastTriggerTime < TRIGGER_COOLDOWN then return end

    params.FilterDescendantsInstances = {player.Character}
    local pos = hrp.Position + Vector3.new(0, 1, 0)

    for i = -5, 5 do
        local angle = math.rad(i * 12)
        local offset = CFrame.Angles(0, angle, 0)
        local rayDir = (hrp.CFrame * offset).LookVector * 18

        local hit = workspace:Raycast(pos, rayDir, params)
        if hit then
            local char = hit.Instance:FindFirstAncestorWhichIsA("Model")
            if char and char:FindFirstChild("Humanoid") and char ~= player.Character then
                playRandomSound()
                lastTriggerTime = tick()
                return
            end
        end
    end
end)

print("💀🔥 ANKLE BREAKER ULTIMATE++ LOADED (NO UI) 💀🔥")

Features & Information

JUST WHEN U WALK SOMEONE BY IT WILL PLAY A SOUND
#utg#un*led tag game

Community Comments (0)

No comments yet for this script.

More Scripts for untitled tag game