Skip to content
RoRoScripts
FSB Hub  survival Script preview
Unknown

FSB Hub survival Script

Script
ColonyFast_Skullbeats
Views
3.7K
Likes
0
Dislikes
0
Added
Script
--Pls Like And Follow

getgenv().dupe = true

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")

local eventsFolder = ReplicatedStorage:WaitForChild("Events")
local skipEvent = eventsFolder:WaitForChild("SkipDay")

local function fireSkip()
    skipEvent:FireServer()
end

local function startDupeLoop()
    while getgenv().dupe do
        fireSkip()
        task.wait(0.01)
    end
end

local function initializeDupe()
    task.spawn(function()
        startDupeLoop()
    end)
end

local function verifyEnvironment()
    if typeof(getgenv) ~= "function" then
        getgenv = getrenv
    end
    return true
end

local function verifyReplicatedStorage()
    return ReplicatedStorage ~= nil and skipEvent ~= nil
end

local function startIfReady()
    if verifyEnvironment() and verifyReplicatedStorage() then
        initializeDupe()
    else
        task.spawn(function()
            repeat
                task.wait(0.5)
            until verifyEnvironment() and verifyReplicatedStorage()
            initializeDupe()
        end)
    end
end

startIfReady()

Features

  • Game Name:Colony Survival (Roblox Game)