atl trenches
Key RequiredUniversal

atl trenches

Universal Scriptmauri234567mauri234567 595 views 460 executesUpdated Oct 4, 2026
Unrated
00
Lua Script•82 lines (2205 chars)
local Players = game:GetService("Players")

-- CHANGE THIS to your Roblox UserId
local ADMINS = {
    [123456789] = true,
}

local function isAdmin(player)
    return ADMINS[player.UserId] == true
end

local function findPlayer(name)
    name = string.lower(name or "")

    for _, player in ipairs(Players:GetPlayers()) do
        if string.sub(string.lower(player.Name), 1, #name) == name then
            return player
        end
    end
end

local function giveMoney(player, amount)
    local leaderstats = player:FindFirstChild("leaderstats")
    local money = leaderstats and leaderstats:FindFirstChild("Money")

    if money and money:IsA("IntValue") then
        money.Value = amount
    end
end

local function teleportTo(player, target)
    if player.Character and target.Character then
        local root = player.Character:FindFirstChild("HumanoidRootPart")
        local targetRoot = target.Character:FindFirstChild("HumanoidRootPart")

        if root and targetRoot then
            root.CFrame = targetRoot.CFrame + Vector3.new(0, 3, 0)
        end
    end
end

Players.PlayerAdded:Connect(function(player)
    player.Chatted:Connect(function(message)
        if not isAdmin(player) then
            return
        end

        local args = string.split(message, " ")
        local command = string.lower(args[1])

        -- /tp PlayerName
        if command == "/tp" then
            local target = findPlayer(args[2])

            if target then
                teleportTo(player, target)
            end

        -- /money 999999
        elseif command == "/money" then
            local amount = tonumber(args[2])

            if amount then
                amount = math.clamp(amount, 0, 2147483647)
                giveMoney(player, amount)
            end
        end
    end)
end)
[123456789] = true,
local function addESP(character, color)
    if character:FindFirstChild("AdminESP") then
        return
    end

    local highlight = Instance.new("Highlight")
    highlight.Name = "AdminESP"
    highlight.FillColor = color or Color3.fromRGB(255, 60, 60)
    highlight.OutlineColor = Color3.new(1, 1, 1)
    highlight.FillTransparency = 0.5
    highlight.Parent = character
end

Features & Information

esp amd inf moneyu

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts