local library = loadstring(game:HttpGet("https://[Log in to view URL]"))()
local venyx = library.new("GH GalaxyHub Test", 5013109572)
-- themes
local themes = {
Background = Color3.fromRGB(23, 23, 23),
Glow = Color3.fromRGB(148, 0, 211),
Accent = Color3.fromRGB(10, 10, 10),
LightContrast = Color3.fromRGB(51, 51, 51),
DarkContrast = Color3.fromRGB(14, 14, 14),
TextColor = Color3.fromRGB(148, 0, 211)
}
-- first page
local page = venyx:addPage("Test", 5012544693)
local section1 = page:addSection("Section 1")
local section2 = page:addSection("Section 2")
section1:addToggle("Toggle", nil, function(value)
print("Toggled", value)
end)
section1:addButton("AutoParry", function()
-- Code
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local VirtualInput = game:GetService("VirtualInputManager")
getgenv().config = {
dist = 44,
possible_speed = 3.5 or 1/0,
use_what = "Remote" :: "Remote" | "Keyboard"
}
setmetatable({
character = Players.LocalPlayer.Character,
find_ball = function(self)
for In, Ba in workspace.Balls:GetChildren() do
local checkLight = Ba:FindFirstChild("Highlight")
local isBasepart = Ba:IsA("BasePart")
if isBasepart and checkLight then
if not self.character:FindFirstChild("Highlight", true) then return end
if (Ba.Position - self.character.HumanoidRootPart.Position).Magnitude <= getgenv().config.dist then
({
["Remote"] = function()
local containers = {}
for Index, Player in workspace.Alive:GetChildren() do
local characterToPlayer = Players:GetPlayerFromCharacter(Player)
containers[characterToPlayer.UserId] = characterToPlayer.Character.HumanoidRootPart.Position
end
ReplicatedStorage.Remotes.ParryAttempt:FireServer(
getgenv().possible_speed,
Players:GetPlayers()[math.random(1,#Players:GetPlayers())].Character.HumanoidRootPart.CFrame,
containers,
table.foreach(workspace.Balls:GetChildren(), function(index, val)
local cool = {}
table.insert(cool, tonumber(val.Name)) -- dupes 1; client :: ?
table.insert(cool, tonumber(val.Name)) -- dupes 2; server :: ?
return cool
end)
)
end,
["Keyboard"] = function()
VirtualInput:SendKeyEvent(true, "F", false, game)
end,
})[getgenv().config.use_what]()
end
end
end
end,
machine_execute = function(self)
RunService.Heartbeat:Connect(function()
self.find_ball(self)
end)
Players.LocalPlayer.CharacterAdded:Connect(function(Character)
self.character = Character
end)
end
}, {
__call = function(self)
self.machine_execute(self)
end
end)
section1:addTextbox("Connect", "Default", function(value, focusLost)
print("Input", value)
if focusLost then
venyx:Notify("Connected to ur divice ", value)
end
end)
section2:addColorPicker("ColorPicker", Color3.fromRGB(50, 50, 50))
section2:addColorPicker("ColorPicker2")
section2:addSlider("Slider", 0, -100, 100, function(value)
print("Dragged", value)
end)
section2:addButton("Button")
-- second page
local theme = venyx:addPage("Theme", 5012544693)
local colors = theme:addSection("Colors")
for theme, color in pairs(themes) do -- all in one theme changer, i know, im cool
colors:addColorPicker(theme, color, function(color3)
venyx:setTheme(theme, color3)
end)
end
-- load
venyx:SelectPage(venyx.pages[1], true)
To embed this project on your website, copy the following code and paste it into your website's HTML: