[📹CAMERA] Shoot Wall Simulator
16.8k Views
25 Executions

Sim AutoRebirth

Shoot Wall Simulator
Rhysical
RhysicalFirst script
3 years ago
Please login to perform these actions:

Sim AutoRebirth is a Shoot Wall Simulator script for Roblox, uploaded to ScriptBlox on Sep 6, 2023.

Does it work?

No reports yet

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

Also noticed:

Description

it is auto rebirth it only goes up to Trillion cus idk what is after that if u want to add to it yourself go ahead but make sure that the value for the number is correct e.g. B = Billion = 1,000,000,000

View Raw
-- Function to process the value and perform the comparison
local function processValue(value)
    -- Split the string at "/"
    local parts = {}
    for part in string.gmatch(value, "[^/]+") do
        table.insert(parts, part)
    end

    -- Remove " Ammo" from the second variable
    parts[2] = string.gsub(parts[2], " Ammo", "")

    -- Extract the number and letter(s)
    local num1, letter1 = string.match(parts[1], "([%d.]+)([MBT]?)")
    local num2, letter2 = string.match(parts[2], "([%d.]+)([MBT]?)")

    -- Function to convert the letter to a multiplier
    local function getMultiplier(letter)
        if letter == "M" then
            return 1000000
        elseif letter == "B" then
            return 1000000000
        elseif letter == "T" then
            return 1000000000000
        else
            return 1 -- Default to 1 if no valid letter is found
        end
    end

    -- Convert the numbers
    num1 = tonumber(num1) * getMultiplier(letter1)
    num2 = tonumber(num2) * getMultiplier(letter2)

    -- Compare the two numbers
    if num1 >= num2 then
        print("\nNumber one is equal to or greater than number two")
        print("num1:"..num1.."| num2:"..num2)
        game:GetService("ReplicatedStorage"):WaitForChild("RebirthSystem"):WaitForChild("Remotes"):WaitForChild("Rebirth"):FireServer()
    else
        print("\n	Number one is smaller than number two")
        print("n1:"..num1.."| n2:"..num2)


Comments

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

Tags

More Shoot Wall Simulator scripts

See all
Forsaken
3.9k
7.9k
Bumped 28 minutes ago
Key System
BEAR (Alpha)
26.0k
4.7k
Bumped 30 minutes ago
DOORS 🍬🍭
1.3k
156
Bumped 37 minutes ago
RoChess!
4.4k
15.5k
Bumped 53 minutes ago