SAMB OPEN SOURCE
Key RequiredUniversal

SAMB OPEN SOURCE

Universal ScriptINRIINRI 488 views 30 executesUpdated Mar 20, 2026
Unrated
00
Lua Script•659 lines (21941 chars)
-- INRI - SAB MODDED

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

local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")

local Colors = {
    bg = Color3.fromRGB(22, 22, 26),
    bgTop = Color3.fromRGB(28, 28, 34),
    bgDark = Color3.fromRGB(16, 16, 20),
    line = Color3.fromRGB(45, 45, 52),
    lineBright = Color3.fromRGB(80, 80, 90),
    text = Color3.fromRGB(200, 200, 210),
    textDim = Color3.fromRGB(140, 140, 150),
    textDark = Color3.fromRGB(100, 100, 110),
    red = Color3.fromRGB(180, 60, 60),
    redHot = Color3.fromRGB(220, 80, 80),
    green = Color3.fromRGB(70, 160, 90),
    greenDim = Color3.fromRGB(50, 120, 70),
    accent = Color3.fromRGB(100, 120, 200),
    disabled = Color3.fromRGB(60, 60, 65),
    notifBg = Color3.fromRGB(30, 30, 35),
    notifBorder = Color3.fromRGB(100, 120, 200)
}

local gui = Instance.new("ScreenGui")
gui.Name = "inri_sab"
gui.ResetOnSpawn = false
gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
gui.Parent = PlayerGui

local notifFrame = Instance.new("Frame")
notifFrame.Name = "Notification"
notifFrame.Size = UDim2.new(0, 200, 0, 50)
notifFrame.Position = UDim2.new(1, -210, 1, 60)
notifFrame.BackgroundColor3 = Colors.notifBg
notifFrame.BorderColor3 = Colors.notifBorder
notifFrame.BorderSizePixel = 1
notifFrame.ZIndex = 100
notifFrame.Parent = gui

local notifCorner = Instance.new("UICorner")
notifCorner.CornerRadius = UDim.new(0, 4)
notifCorner.Parent = notifFrame

local notifText = Instance.new("TextLabel")
notifText.Name = "Text"
notifText.Size = UDim2.new(1, -10, 1, 0)
notifText.Position = UDim2.new(0, 5, 0, 0)
notifText.BackgroundTransparency = 1
notifText.Text = ""
notifText.TextColor3 = Colors.text
notifText.TextSize = 12
notifText.Font = Enum.Font.Code
notifText.TextWrapped = true
notifText.ZIndex = 101
notifText.Parent = notifFrame

local main = Instance.new("Frame")
main.Name = "main"
main.Size = UDim2.new(0, 290, 0, 200)
main.Position = UDim2.new(0.5, -145, 0.5, -100)
main.BackgroundColor3 = Colors.bg
main.BorderSizePixel = 0
main.Active = true
main.ClipsDescendants = true
main.Parent = gui

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 2)
corner.Parent = main

local border = Instance.new("UIStroke")
border.Color = Colors.line
border.Thickness = 1
border.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
border.Parent = main

local shadow = Instance.new("Frame")
shadow.Name = "shadow"
shadow.AnchorPoint = Vector2.new(0.5, 0.5)
shadow.Position = UDim2.new(0.5, 2, 0.5, 3)
shadow.Size = UDim2.new(1, 4, 1, 4)
shadow.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
shadow.BackgroundTransparency = 0.6
shadow.BorderSizePixel = 0
shadow.ZIndex = -1
shadow.Parent = main

local shadowCorner = Instance.new("UICorner")
shadowCorner.CornerRadius = UDim.new(0, 2)
shadowCorner.Parent = shadow

local titleBar = Instance.new("Frame")
titleBar.Name = "title"
titleBar.Size = UDim2.new(1, 0, 0, 26)
titleBar.BackgroundColor3 = Colors.bgTop
titleBar.BorderSizePixel = 0
titleBar.Active = true
titleBar.Parent = main

local titleBorder = Instance.new("Frame")
titleBorder.Name = "border"
titleBorder.Size = UDim2.new(1, 0, 0, 1)
titleBorder.Position = UDim2.new(0, 0, 1, 0)
titleBorder.BackgroundColor3 = Colors.line
titleBorder.BorderSizePixel = 0
titleBorder.Parent = titleBar

local titleText = Instance.new("TextLabel")
titleText.Name = "text"
titleText.Size = UDim2.new(1, -35, 1, 0)
titleText.Position = UDim2.new(0, 8, 0, -1)
titleText.BackgroundTransparency = 1
titleText.Text = "INRI - MODDED GAMES"
titleText.TextColor3 = Colors.text
titleText.TextSize = 12
titleText.Font = Enum.Font.Code
titleText.TextXAlignment = Enum.TextXAlignment.Left
titleText.Parent = titleBar

local closeBtn = Instance.new("TextButton")
closeBtn.Name = "close"
closeBtn.Size = UDim2.new(0, 24, 0, 18)
closeBtn.Position = UDim2.new(1, -26, 0, 4)
closeBtn.BackgroundColor3 = Colors.bg
closeBtn.BorderColor3 = Colors.line
closeBtn.BorderSizePixel = 1
closeBtn.Text = "x"
closeBtn.TextColor3 = Colors.textDim
closeBtn.TextSize = 11
closeBtn.Font = Enum.Font.Code
closeBtn.AutoButtonColor = false
closeBtn.Parent = titleBar

local minBtn = Instance.new("TextButton")
minBtn.Name = "min"
minBtn.Size = UDim2.new(0, 24, 0, 18)
minBtn.Position = UDim2.new(1, -52, 0, 4)
minBtn.BackgroundColor3 = Colors.bg
minBtn.BorderColor3 = Colors.line
minBtn.BorderSizePixel = 1
minBtn.Text = "_"
minBtn.TextColor3 = Colors.textDim
minBtn.TextSize = 11
minBtn.Font = Enum.Font.Code
minBtn.AutoButtonColor = false
minBtn.Parent = titleBar

local content = Instance.new("Frame")
content.Name = "content"
content.Size = UDim2.new(1, -12, 1, -32)
content.Position = UDim2.new(0, 6, 0, 28)
content.BackgroundTransparency = 1
content.Parent = main

local scrollFrame = Instance.new("ScrollingFrame")
scrollFrame.Name = "scrollFrame"
scrollFrame.Size = UDim2.new(1, 0, 1, 0)
scrollFrame.BackgroundTransparency = 1
scrollFrame.BorderSizePixel = 0
scrollFrame.ScrollBarThickness = 6
scrollFrame.ScrollBarImageColor3 = Colors.line
scrollFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
scrollFrame.Parent = content

local btnContainer = Instance.new("Frame")
btnContainer.Name = "buttons"
btnContainer.Size = UDim2.new(1, 0, 0, 160)
btnContainer.BackgroundTransparency = 1
btnContainer.Parent = scrollFrame

local stealBtn = Instance.new("TextButton")
stealBtn.Name = "stealBrainrot"
stealBtn.Size = UDim2.new(1, 0, 0, 30)
stealBtn.BackgroundColor3 = Colors.bgDark
stealBtn.BorderColor3 = Colors.line
stealBtn.BorderSizePixel = 1
stealBtn.Text = "STEAL BRAINROT"
stealBtn.TextColor3 = Colors.text
stealBtn.TextSize = 11
stealBtn.Font = Enum.Font.Code
stealBtn.AutoButtonColor = false
stealBtn.Parent = btnContainer

local stealBestBtn = Instance.new("TextButton")
stealBestBtn.Name = "stealBest"
stealBestBtn.Size = UDim2.new(1, 0, 0, 30)
stealBestBtn.Position = UDim2.new(0, 0, 0, 36)
stealBestBtn.BackgroundColor3 = Colors.bgDark
stealBestBtn.BorderColor3 = Colors.line
stealBestBtn.BorderSizePixel = 1
stealBestBtn.Text = "STEAL BEST"
stealBestBtn.TextColor3 = Colors.text
stealBestBtn.TextSize = 11
stealBestBtn.Font = Enum.Font.Code
stealBestBtn.AutoButtonColor = false
stealBestBtn.Parent = btnContainer

local tpBtn = Instance.new("TextButton")
tpBtn.Name = "tpForward"
tpBtn.Size = UDim2.new(1, 0, 0, 30)
tpBtn.Position = UDim2.new(0, 0, 0, 72)
tpBtn.BackgroundColor3 = Colors.bgDark
tpBtn.BorderColor3 = Colors.line
tpBtn.BorderSizePixel = 1
tpBtn.Text = "TP FORWARD"
tpBtn.TextColor3 = Colors.text
tpBtn.TextSize = 11
tpBtn.Font = Enum.Font.Code
tpBtn.AutoButtonColor = false
tpBtn.Parent = btnContainer

local kickToggle = Instance.new("TextButton")
kickToggle.Name = "kickToggle"
kickToggle.Size = UDim2.new(1, 0, 0, 30)
kickToggle.Position = UDim2.new(0, 0, 0, 108)
kickToggle.BackgroundColor3 = Colors.bgDark
kickToggle.BorderColor3 = Colors.line
kickToggle.BorderSizePixel = 1
kickToggle.Text = "KICK ON CLAIM [OFF]"
kickToggle.TextColor3 = Colors.text
kickToggle.TextSize = 11
kickToggle.Font = Enum.Font.Code
kickToggle.AutoButtonColor = false
kickToggle.Parent = btnContainer

local consoleLine = Instance.new("TextLabel")
consoleLine.Name = "console"
consoleLine.Size = UDim2.new(1, 0, 0, 14)
consoleLine.Position = UDim2.new(0, 0, 1, -14)
consoleLine.BackgroundTransparency = 1
consoleLine.Text = "> ready"
consoleLine.TextColor3 = Colors.textDark
consoleLine.TextSize = 9
consoleLine.Font = Enum.Font.Code
consoleLine.TextXAlignment = Enum.TextXAlignment.Left
consoleLine.Parent = content

scrollFrame.CanvasSize = UDim2.new(0, 0, 0, btnContainer.AbsoluteSize.Y)

btnContainer:GetPropertyChangedSignal("AbsoluteSize"):Connect(function()
    scrollFrame.CanvasSize = UDim2.new(0, 0, 0, btnContainer.AbsoluteSize.Y)
end)

local function showNotification(text)
    notifText.Text = text:upper()
    TweenService:Create(notifFrame, TweenInfo.new(0.3, Enum.EasingStyle.Quad), {
        Position = UDim2.new(1, -210, 1, -60)
    }):Play()
end

local function hideNotification()
    TweenService:Create(notifFrame, TweenInfo.new(0.3, Enum.EasingStyle.Quad), {
        Position = UDim2.new(1, -210, 1, 60)
    }):Play()
end

closeBtn.MouseEnter:Connect(function()
    closeBtn.BackgroundColor3 = Colors.red
    closeBtn.TextColor3 = Colors.text
end)
closeBtn.MouseLeave:Connect(function()
    closeBtn.BackgroundColor3 = Colors.bg
    closeBtn.TextColor3 = Colors.textDim
end)

minBtn.MouseEnter:Connect(function()
    minBtn.BackgroundColor3 = Colors.line
    minBtn.TextColor3 = Colors.text
end)
minBtn.MouseLeave:Connect(function()
    minBtn.BackgroundColor3 = Colors.bg
    minBtn.TextColor3 = Colors.textDim
end)

stealBtn.MouseEnter:Connect(function()
    stealBtn.BackgroundColor3 = Colors.line
    stealBtn.BorderColor3 = Colors.lineBright
end)
stealBtn.MouseLeave:Connect(function()
    stealBtn.BackgroundColor3 = Colors.bgDark
    stealBtn.BorderColor3 = Colors.line
end)

stealBestBtn.MouseEnter:Connect(function()
    stealBestBtn.BackgroundColor3 = Colors.line
    stealBestBtn.BorderColor3 = Colors.lineBright
end)
stealBestBtn.MouseLeave:Connect(function()
    stealBestBtn.BackgroundColor3 = Colors.bgDark
    stealBestBtn.BorderColor3 = Colors.line
end)

tpBtn.MouseEnter:Connect(function()
    tpBtn.BackgroundColor3 = Colors.line
    tpBtn.BorderColor3 = Colors.lineBright
end)
tpBtn.MouseLeave:Connect(function()
    tpBtn.BackgroundColor3 = Colors.bgDark
    tpBtn.BorderColor3 = Colors.line
end)

kickToggle.MouseEnter:Connect(function()
    kickToggle.BackgroundColor3 = Colors.line
    kickToggle.BorderColor3 = Colors.lineBright
end)
kickToggle.MouseLeave:Connect(function()
    kickToggle.BackgroundColor3 = Colors.bgDark
    kickToggle.BorderColor3 = Colors.line
end)

local dragging = false
local dragStart = nil
local startPos = nil

local function getViewport()
    return workspace.CurrentCamera.ViewportSize
end

local function clampPosition(pos, size)
    local viewport = getViewport()
    local x = math.clamp(pos.X.Offset, 0, math.max(0, viewport.X - size.X.Offset))
    local y = math.clamp(pos.Y.Offset, 0, math.max(0, viewport.Y - size.Y.Offset))
    return UDim2.new(0, x, 0, y)
end

titleBar.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        dragging = true
        dragStart = input.Position
        local absPos = main.AbsolutePosition
        startPos = UDim2.new(0, absPos.X, 0, absPos.Y)
    end
end)

titleBar.InputChanged:Connect(function(input)
    if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
        local delta = input.Position - dragStart
        local newPos = UDim2.new(0, startPos.X.Offset + delta.X, 0, startPos.Y.Offset + delta.Y)
        main.Position = clampPosition(newPos, main.Size)
    end
end)

UserInputService.InputEnded:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        dragging = false
    end
end)

workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):Connect(function()
    main.Position = clampPosition(main.Position, main.Size)
end)

closeBtn.MouseButton1Click:Connect(function()
    gui:Destroy()
end)

local minimized = false
minBtn.MouseButton1Click:Connect(function()
    minimized = not minimized
    if minimized then
        main.Size = UDim2.new(0, 290, 0, 26)
        content.Visible = false
        shadow.Visible = false
    else
        main.Size = UDim2.new(0, 290, 0, 200)
        content.Visible = true
        shadow.Visible = true
    end
    task.wait()
    main.Position = clampPosition(main.Position, main.Size)
end)

local YourTycoon = nil
local StealActive = false
local StealBestActive = false
local KickOnClaim = false
local DeliveryHitbox = nil

kickToggle.MouseButton1Click:Connect(function()
    KickOnClaim = not KickOnClaim
    if KickOnClaim then
        kickToggle.Text = "KICK ON CLAIM [ON]"
        kickToggle.TextColor3 = Colors.green
        showNotification("KICK ON")
    else
        kickToggle.Text = "KICK ON CLAIM [OFF]"
        kickToggle.TextColor3 = Colors.text
        showNotification("KICK OFF")
    end
    task.wait(1)
    hideNotification()
end)

spawn(function()
    while true do
        task.wait(0.5)
        if KickOnClaim and DeliveryHitbox then
            pcall(function()
                local character = LocalPlayer.Character
                if character then
                    local hrp = character:FindFirstChild('HumanoidRootPart')
                    if hrp and (hrp.Position - DeliveryHitbox.Position).Magnitude < 15 then
                        showNotification("SUCCESS CLAIM")
                        task.wait(0.5)
                        LocalPlayer:Kick("SUCCESS CLAIM")
                    end
                end
            end)
        end
    end
end)

local function findPlayerTycoon()
    for _, plot in pairs(workspace.Plots:GetDescendants()) do
        if plot.Name == 'YourBase' and plot.Enabled == true then
            YourTycoon = plot.Parent.Parent
            for _, child in pairs(YourTycoon:GetChildren()) do
                if child.Name == 'DeliveryHitbox' then
                    DeliveryHitbox = child
                    break
                end
            end
            if not DeliveryHitbox then
                for _, child in pairs(YourTycoon:GetDescendants()) do
                    if child.Name == 'DeliveryHitbox' then
                        DeliveryHitbox = child
                        break
                    end
                end
            end
            return YourTycoon
        end
    end
    YourTycoon = nil
    DeliveryHitbox = nil
    return nil
end

local function textToNumber(text)
    if not text then return nil end
    local cleanText = text:upper():gsub('[$,\u{e0}\u{b8}\u{bf}%s]', '')
    local number = tonumber(cleanText:match('%d+%.?%d*'))
    if not number then return nil end
    if cleanText:find('K') then
        return number * 1000
    elseif cleanText:find('M') then
        return number * 1000000
    elseif cleanText:find('B') then
        return number * 1000000000
    end
    return number
end

local function stealBestAnimal()
    if StealBestActive then return end
    StealBestActive = true
    
    spawn(function()
        local player = game.Players.LocalPlayer
        local character = player.Character or player.CharacterAdded:Wait()
        local humanoidRootPart = character:WaitForChild('HumanoidRootPart')
        
        showNotification("STEALING BEST")
        
        pcall(function()
            local highestPrice = -math.huge
            local bestAnimalCFrame = nil
            local bestAnimalPrompt = nil
            
            findPlayerTycoon()
            
            for _, descendant in pairs(workspace.Plots:GetDescendants()) do
                if descendant:IsA('TextLabel') and descendant.Name == 'Price' and descendant.Parent and descendant.Parent.Name == 'AnimalOverhead' then
                    local success, isNotOwned = pcall(function()
                        local plotSign = descendant.Parent.Parent.Parent.Parent.Parent.Parent.Parent
                        if plotSign and plotSign.PlotSign then
                            return plotSign.PlotSign.YourBase.Enabled == false
                        end
                        return true
                    end)
                    
                    if success and isNotOwned then
                        local price = textToNumber(descendant.Text)
                        
                        if price and price > highestPrice then
                            highestPrice = price
                            bestAnimalCFrame = descendant.Parent.Parent.Parent.CFrame
                            bestAnimalPrompt = descendant.Parent.Parent.Parent:FindFirstChild('PromptAttachment')
                            if bestAnimalPrompt then
                                bestAnimalPrompt = bestAnimalPrompt:FindFirstChild('ProximityPrompt')
                            end
                            if not bestAnimalPrompt then
                                bestAnimalPrompt = descendant.Parent.Parent.Parent:FindFirstChild('ProximityPrompt')
                            end
                        end
                    end
                end
            end
            
            if bestAnimalCFrame and bestAnimalPrompt then
                humanoidRootPart.CFrame = bestAnimalCFrame + Vector3.new(0, 3, 0)
                task.wait(0.15)
                fireproximityprompt(bestAnimalPrompt)
                showNotification("STOLE BEST")
                task.wait(0.15)
            else
                showNotification("NONE FOUND")
                task.wait(1)
                hideNotification()
                StealBestActive = false
                return
            end
            
            if DeliveryHitbox then
                humanoidRootPart.CFrame = DeliveryHitbox.CFrame + Vector3.new(0, 3, 0)
                task.wait(0.15)
                firetouchinterest(humanoidRootPart, DeliveryHitbox, 0)
                task.wait(0.1)
                firetouchinterest(humanoidRootPart, DeliveryHitbox, 1)
            end
        end)
        
        task.wait(2)
        hideNotification()
        StealBestActive = false
    end)
end

local function stealBrainrot()
    if StealActive then return end
    StealActive = true
    
    spawn(function()
        local player = game.Players.LocalPlayer
        local character = player.Character or player.CharacterAdded:Wait()
        local humanoidRootPart = character:WaitForChild('HumanoidRootPart')
        
        showNotification("STEALING")
        
        pcall(function()
            local animals = {}
            
            findPlayerTycoon()
            
            for _, descendant in pairs(workspace.Plots:GetDescendants()) do
                if descendant:IsA('TextLabel') and descendant.Name == 'Price' and descendant.Parent and descendant.Parent.Name == 'AnimalOverhead' then
                    local success, isNotOwned = pcall(function()
                        local plotSign = descendant.Parent.Parent.Parent.Parent.Parent.Parent.Parent
                        if plotSign and plotSign.PlotSign then
                            return plotSign.PlotSign.YourBase.Enabled == false
                        end
                        return true
                    end)
                    
                    if success and isNotOwned then
                        local animalPart = descendant.Parent.Parent.Parent
                        table.insert(animals, {
                            part = animalPart,
                            cframe = animalPart.CFrame,
                            prompt = animalPart:FindFirstChild('PromptAttachment')
                        })
                    end
                end
            end
            
            if #animals > 0 then
                local randomAnimal = animals[math.random(1, #animals)]
                local animalPrompt = randomAnimal.prompt
                if animalPrompt then
                    animalPrompt = animalPrompt:FindFirstChild('ProximityPrompt')
                end
                if not animalPrompt then
                    animalPrompt = randomAnimal.part:FindFirstChild('ProximityPrompt')
                end
                
                if animalPrompt then
                    humanoidRootPart.CFrame = randomAnimal.cframe + Vector3.new(0, 3, 0)
                    task.wait(0.15)
                    fireproximityprompt(animalPrompt)
                    showNotification("STOLE")
                    task.wait(0.15)
                end
            else
                showNotification("NONE FOUND")
                task.wait(1)
                hideNotification()
                StealActive = false
                return
            end
            
            if DeliveryHitbox then
                humanoidRootPart.CFrame = DeliveryHitbox.CFrame + Vector3.new(0, 3, 0)
                task.wait(0.15)
                firetouchinterest(humanoidRootPart, DeliveryHitbox, 0)
                task.wait(0.1)
                firetouchinterest(humanoidRootPart, DeliveryHitbox, 1)
            end
        end)
        
        task.wait(2)
        hideNotification()
        StealActive = false
    end)
end

local tpActive = false

local function tpForward()
    if tpActive then return end
    tpActive = true
    
    local player = game.Players.LocalPlayer
    local character = player.Character
    if not character then 
        tpActive = false
        return 
    end
    
    local hrp = character:FindFirstChild("HumanoidRootPart")
    if not hrp then 
        tpActive = false
        return 
    end
    
    showNotification("TP FORWARD")
    
    local currentPos = hrp.CFrame
    local forwardVector = currentPos.LookVector * 15
    hrp.CFrame = currentPos + forwardVector
    
    task.wait(0.5)
    hideNotification()
    tpActive = false
end

stealBtn.MouseButton1Click:Connect(stealBrainrot)
stealBestBtn.MouseButton1Click:Connect(stealBestAnimal)
tpBtn.MouseButton1Click:Connect(tpForward)

if UserInputService.TouchEnabled then
    main.Size = UDim2.new(0, 300, 0, 210)
    stealBtn.Size = UDim2.new(1, 0, 0, 34)
    stealBestBtn.Size = UDim2.new(1, 0, 0, 34)
    stealBestBtn.Position = UDim2.new(0, 0, 0, 40)
    tpBtn.Size = UDim2.new(1, 0, 0, 34)
    tpBtn.Position = UDim2.new(0, 0, 0, 80)
    kickToggle.Size = UDim2.new(1, 0, 0, 34)
    kickToggle.Position = UDim2.new(0, 0, 0, 120)
    btnContainer.Size = UDim2.new(1, 0, 0, 180)
    scrollFrame.CanvasSize = UDim2.new(0, 0, 0, 180)
end

findPlayerTycoon()

Features & Information

IMPORTANT ⬇︎ READ: https://pastebin.com/raw/1dfeYExt
#Modded#SAMB

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts