2024-10-12 20:18:11 +00:00
|
|
|
local ReplicatedStorage = game:GetService("ReplicatedStorage")
|
2024-08-29 16:56:50 +00:00
|
|
|
local RunService = game:GetService("RunService")
|
|
|
|
local UserInputService = game:GetService("UserInputService")
|
|
|
|
local jabby = require(ReplicatedStorage.Packages.jabby)
|
2024-12-26 05:15:41 +00:00
|
|
|
local std = ReplicatedStorage.std
|
|
|
|
local scheduler = require(std.scheduler)
|
|
|
|
local world = require(std.world)
|
2024-08-29 16:56:50 +00:00
|
|
|
|
|
|
|
local function start(modules)
|
2024-10-12 20:18:11 +00:00
|
|
|
for _, module in modules do
|
2024-12-26 05:15:41 +00:00
|
|
|
require(module)
|
2024-10-12 20:18:11 +00:00
|
|
|
end
|
2024-12-26 05:15:41 +00:00
|
|
|
local events = scheduler.COLLECT()
|
|
|
|
scheduler.BEGIN(events)
|
2024-10-12 20:18:11 +00:00
|
|
|
jabby.set_check_function(function(player)
|
|
|
|
return true
|
|
|
|
end)
|
|
|
|
if RunService:IsClient() then
|
2024-11-21 03:12:36 +00:00
|
|
|
local player = game:GetService("Players").LocalPlayer
|
|
|
|
local playergui = player:WaitForChild("PlayerGui")
|
2024-10-12 20:18:11 +00:00
|
|
|
local client = jabby.obtain_client()
|
|
|
|
UserInputService.InputBegan:Connect(function(input)
|
|
|
|
if input.KeyCode == Enum.KeyCode.F4 then
|
2024-11-21 03:12:36 +00:00
|
|
|
local home = playergui:FindFirstChild("Home")
|
|
|
|
if home then
|
|
|
|
home:Destroy()
|
2024-10-12 20:18:11 +00:00
|
|
|
end
|
2024-11-21 03:12:36 +00:00
|
|
|
client.spawn_app(client.apps.home)
|
2024-10-12 20:18:11 +00:00
|
|
|
end
|
|
|
|
end)
|
2024-08-29 16:56:50 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
return start
|