Skip to content

Instantly share code, notes, and snippets.

View DuyNgao2306's full-sized avatar

Crow DuyNgao2306

View GitHub Profile
-- [[ SMART MACRO - FIXED UI DETECTION ]] --
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local VirtualUser = game:GetService("VirtualUser")
local VirtualInputManager = game:GetService("VirtualInputManager") -- Dùng VIM để bấm UI tốt hơn
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
-- [[ SMART MACRO - OPTIMIZED VERSION ]] --
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local VirtualUser = game:GetService("VirtualUser")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
-- Xóa GUI cũ nếu tồn tại trong PlayerGui
-- [[ SMART MACRO UI - AUTO SAVE & DESTROY ]] --
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local VirtualUser = game:GetService("VirtualUser")
local CoreGui = game:GetService("CoreGui")
local LocalPlayer = Players.LocalPlayer
-- Xác định nơi đặt UI (Hỗ trợ cả Roblox Studio và Executor nếu có quyền)
-- [[ SMART MACRO UI - FIXED FOR ROBLOX STUDIO ]] --
-- Vị trí đặt: StarterPlayer -> StarterPlayerScripts (hoặc StarterGui)
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local VirtualUser = game:GetService("VirtualUser")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
local Mouse = LocalPlayer:GetMouse()
-- [[ SMART MACRO SYSTEM - ROBLOX STUDIO ]] --
-- Vị trí khuyến nghị: StarterPlayerScripts hoặc StarterGui
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local VirtualInputManager = game:GetService("VirtualInputManager")
local VirtualUser = game:GetService("VirtualUser")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
-- 1. TẢI THƯ VIỆN GIAO DIỆN (UI LIBRARY)
local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
-- 2. TẠO CỬA SỔ CHÍNH (WINDOW)
local Window = OrionLib:MakeWindow({
Name = "Vxeze Hub Clone (Bản Thử Nghiệm)",
HidePremium = false,
SaveConfig = false,
ConfigFolder = "OrionTest"
})
--// ANTI DUPLICATE
if getgenv().CrowUI_Loaded then return end
getgenv().CrowUI_Loaded = true
-- SERVICES
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")
local Stats = game:GetService("Stats")
local VirtualUser = game:GetService("VirtualUser")
--// ANTI DUPLICATE
if getgenv().CrowUI_Loaded then return end
getgenv().CrowUI_Loaded = true
-- SERVICES
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")
local Stats = game:GetService("Stats")
local VirtualUser = game:GetService("VirtualUser")
--// ANTI DUPLICATE
if getgenv().CrowUI_Loaded then return end
getgenv().CrowUI_Loaded = true
-- SERVICES
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")
local Stats = game:GetService("Stats")
local VirtualUser = game:GetService("VirtualUser")
-- ================= SWITCH =================
local function createSwitch(text,order)
local frame = Instance.new("Frame", scroll)
frame.Size = UDim2.new(0.9,0,0,35)
frame.LayoutOrder = order
frame.BackgroundColor3 = Color3.fromRGB(210,210,210)
Instance.new("UICorner", frame)
local label = Instance.new("TextLabel", frame)
label.Size = UDim2.new(0.6,0,1,0)