-- this code is awful so dont mind it plz
local players = game:GetService("Players");
local run_service = game:GetService("RunService");
local user_input_service = game:GetService("UserInputService");
local tween_service = game:GetService("TweenService");
local core_gui = game:GetService("CoreGui");
local loader = [Link]("ScreenGui", core_gui);
local games = {
{ name = "Rivals", link =
"[Link] },
{ name = "Phantom Forces", link =
"[Link]
{ name = "Phantom Forces Test Place", link =
"[Link] },
{ name = "Bad Business", link =
"[Link]
},
{ name = "Universal", link =
"[Link]
{ name = "Scorched Earth"},
};
local custom_callbacks = {
["Scorched Earth"] = function()
local teleport_service = game:GetService("TeleportService");
local players = game:GetService("Players");
if ([Link] == 4785126950) then
[Link](messagebox, "Run the scorched earth script inside of
another game, like 'a literal baseplate'. Homohack will teleport you", "homohack",
0);
game:Shutdown();
return;
end
if ([Link](getfflag("DebugRunParallelLuaOnMainThread")) ~= "true"
) then
setfflag("DebugRunParallelLuaOnMainThread", "True");
end
[Link](messagebox, "joining scorched earth..", "homohack", 0);
teleport_service:Teleport(13794093709, [Link]);
queue_on_teleport([[
[Link](4);
loadstring(game:HttpGet("[Link]
homohack/refs/heads/main/scorched_earth.lua"))();
]])
end,
};
local holder_stroke = [Link]("UIStroke");
holder_stroke.Color = [Link](24, 24, 24);
holder_stroke.ApplyStrokeMode = [Link];
-- ui
do
local dragging = false;
local mouse_start = nil;
local frame_start = nil;
local main = [Link]("Frame", loader); do
main.BackgroundColor3 = [Link](12, 12, 12);
main.BorderColor3 = [Link](0, 0, 0);
[Link] = 0;
[Link] = [Link](0.427201211, 0, 0.393133998, 0);
[Link] = [Link](0.145, 0, 0.267, 0, 0);
end
local title = [Link]("TextLabel", main); do
title.BackgroundColor3 = [Link](13, 13, 13);
title.BorderColor3 = [Link](0, 0, 0);
[Link] = 0;
[Link] = [Link](0.0361463465, 0, 0.0199999996, 0);
[Link] = [Link](0.926784515, 0, 0.112490386, 0);
[Link] = [Link];
[Link] = "homohack";
title.TextColor3 = [Link](255, 255, 255);
[Link] = 0.000;
[Link] = true;
[Link] = 18;
[Link]:Connect(function(input)
if ([Link] == [Link].MouseButton1 or
[Link] == [Link]) then
dragging = true;
mouse_start = user_input_service:GetMouseLocation();
frame_start = [Link];
end
end)
user_input_service.InputChanged:Connect(function(input)
if (dragging and [Link] ==
[Link]) then
local delta = user_input_service:GetMouseLocation() -
mouse_start;
tween_service:Create(main, [Link](0.1), {Position =
[Link](frame_start.[Link], frame_start.[Link] + delta.X, frame_start.[Link],
frame_start.[Link] + delta.Y)}):Play();
end
end)
user_input_service.InputEnded:Connect(function(input)
if (dragging) then
dragging = false;
end
end)
end
local ui_stroke = [Link]("UIStroke", main); do
ui_stroke.Thickness = 2;
ui_stroke.Color = [Link](255, 255, 255);
end
local ui_gradient = [Link]("UIGradient", ui_stroke); do
ui_gradient.Color = [Link]({
[Link](0, [Link](255, 70, 73)),
[Link](1, [Link](0, 0, 0))
});
end
local ui_corner = [Link]("UICorner", title); do
ui_corner.CornerRadius = [Link](0, 2);
end
local holder = [Link]("Frame", main); do
holder.BackgroundColor3 = [Link](13, 13, 13);
holder.BorderColor3 = [Link](0, 0, 0);
[Link] = 0;
[Link] = [Link](0.0361457169, 0, 0.167407826, 0);
[Link] = [Link](0.926784515, 0, 0.781875908, 0);
end
local stroke = holder_stroke:Clone(); do
[Link] = holder;
end
local ui_corner_2 = [Link]("UICorner", holder); do
ui_corner_2.CornerRadius = [Link](0, 4);
end
local scrolling_frame = [Link]("ScrollingFrame", holder); do
scrolling_frame.Active = true;
scrolling_frame.BackgroundColor3 = [Link](255, 255, 255);
scrolling_frame.BackgroundTransparency = 1.000;
scrolling_frame.BorderColor3 = [Link](0, 0, 0);
scrolling_frame.BorderSizePixel = 0;
scrolling_frame.Position = [Link](0, 0, 3.04931473e-06, 0);
scrolling_frame.Size = [Link](1, 0, 0.999999821, 0);
scrolling_frame.CanvasSize = [Link](0, 0, 5, 0);
end
local ui_padding = [Link]("UIPadding", scrolling_frame); do
ui_padding.PaddingTop = [Link](0, 10);
end
local ui_grid_layout = [Link]("UIGridLayout", scrolling_frame); do
ui_grid_layout.HorizontalAlignment = [Link];
ui_grid_layout.SortOrder = [Link];
ui_grid_layout.CellPadding = [Link](0, 10, 0, 10);
ui_grid_layout.CellSize = [Link](0, 165, 0, 25);
end
local heartbeat = nil;
for _, supported_game in games do
local name = supported_game.name;
local text_button = [Link]("TextButton", scrolling_frame); do
text_button.MouseButton1Click:Connect(function()
local custom_callback = custom_callbacks[name];
if (not custom_callback) then
loader:Destroy();
return loadstring(game:HttpGet(supported_game.link))
();
end
heartbeat:Disconnect();
custom_callback();
end);
text_button.Text = `load {supported_game.name}`;
text_button.BackgroundColor3 = [Link](14, 14, 14);
text_button.BorderColor3 = [Link](0, 0, 0);
text_button.BorderSizePixel = 0;
text_button.Size = [Link](0.14958863, 0, 0.0553709865, 0);
text_button.Font = [Link];
text_button.TextColor3 = [Link](255, 255, 255);
text_button.TextSize = 12.000;
text_button.TextWrapped = true;
end
local stroke = holder_stroke:Clone(); do
[Link] = text_button;
end
local ui_corner_3 = [Link]("UICorner", text_button); do
ui_corner_3.CornerRadius = [Link](0, 4);
end
end
heartbeat = run_service.Heartbeat:Connect(function()
ui_gradient.Rotation += 4;
end)
end