
Key RequiredUniversal

local player = game.Players.LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Name = "F3XMiniGui"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
local mainFrame = Instance.new("Frame")
mainFrame.Name = "MainFrame"
mainFrame.Size = UDim2.new(0, 280, 0, 320)
mainFrame.Position = UDim2.new(0.5, -140, 0.5, -160)
mainFrame.BackgroundColor3 = Color3.fromRGB(20, 0, 0)
mainFrame.BackgroundTransparency = 0.1
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Parent = gui
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 10)
corner.Parent = mainFrame
local gradient = Instance.new("UIGradient")
gradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(60, 0, 0)),
ColorSequenceKeypoint.new(0.5, Color3.fromRGB(15, 0, 0)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(60, 0, 0))
})
gradient.Parent = mainFrame
local titleBar = Instance.new("Frame")
titleBar.Size = UDim2.new(1, 0, 0, 35)
titleBar.BackgroundColor3 = Color3.fromRGB(40, 0, 0)
titleBar.BackgroundTransparency = 0.2
titleBar.BorderSizePixel = 0
titleBar.Parent = mainFrame
local titleCorner = Instance.new("UICorner")
titleCorner.CornerRadius = UDim.new(0, 10)
titleCorner.Parent = titleBar
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -40, 1, 0)
title.Position = UDim2.new(0, 15, 0, 0)
title.BackgroundTransparency = 1
title.Text = "F3X MINI GUI"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextSize = 18
title.Font = Enum.Font.GothamBold
title.TextXAlignment = Enum.TextXAlignment.Left
title.Parent = titleBar
local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 35, 1, 0)
closeBtn.Position = UDim2.new(1, -35, 0, 0)
closeBtn.BackgroundColor3 = Color3.fromRGB(60, 0, 0)
closeBtn.BackgroundTransparency = 0.3
closeBtn.Text = "X"
closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
closeBtn.TextSize = 18
closeBtn.Font = Enum.Font.GothamBold
closeBtn.BorderSizePixel = 0
closeBtn.Parent = titleBar
local closeCorner = Instance.new("UICorner")
closeCorner.CornerRadius = UDim.new(0, 10)
closeCorner.Parent = closeBtn
closeBtn.MouseButton1Click:Connect(function()
gui:Destroy()
end)
local buttonsContainer = Instance.new("Frame")
buttonsContainer.Size = UDim2.new(1, -20, 1, -55)
buttonsContainer.Position = UDim2.new(0, 10, 0, 45)
buttonsContainer.BackgroundTransparency = 1
buttonsContainer.Parent = mainFrame
local function findF3XTool()
if player.Character then
for _, v in ipairs(player.Character:GetDescendants()) do
if v.Name == "SyncAPI" then
return v.Parent
end
end
end
for _, v in ipairs(player.Backpack:GetChildren()) do
if v:FindFirstChild("SyncAPI") then
return v
end
end
for _, v in ipairs(player:GetDescendants()) do
if v.Name == "SyncAPI" then
return v.Parent
end
end
for _, v in ipairs(game:GetService("ReplicatedStorage"):GetDescendants()) do
if v.Name == "SyncAPI" then
return v.Parent
end
end
return nil
end
local function getRemote()
local tool = findF3XTool()
if tool and tool:FindFirstChild("SyncAPI") and tool.SyncAPI:FindFirstChild("ServerEndpoint") then
return tool.SyncAPI.ServerEndpoint
end
return nil
end
local function notify(title, text)
game.StarterGui:SetCore("SendNotification", {
Title = title,
Text = text,
Duration = 3
})
end
local giveF3XBtn = Instance.new("TextButton")
giveF3XBtn.Size = UDim2.new(1, 0, 0, 50)
giveF3XBtn.Position = UDim2.new(0, 0, 0, 0)
giveF3XBtn.BackgroundColor3 = Color3.fromRGB(30, 0, 0)
giveF3XBtn.BackgroundTransparency = 0.2
giveF3XBtn.Text = "GIVE F3X"
giveF3XBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
giveF3XBtn.TextSize = 18
giveF3XBtn.Font = Enum.Font.GothamBold
giveF3XBtn.BorderSizePixel = 0
giveF3XBtn.Parent = buttonsContainer
local btnCorner1 = Instance.new("UICorner")
btnCorner1.CornerRadius = UDim.new(0, 8)
btnCorner1.Parent = giveF3XBtn
giveF3XBtn.MouseButton1Click:Connect(function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local hdClient = ReplicatedStorage:FindFirstChild("HDAdminClient") or ReplicatedStorage:FindFirstChild("HDAdminHDClient")
if hdClient then
local requestCommand = hdClient:FindFirstChild("Signals") and hdClient.Signals:FindFirstChild("RequestCommand")
if requestCommand then
pcall(function()
requestCommand:InvokeServer(";BuildingTools")
notify("F3X", "F3X выдан!")
end)
return
end
end
pcall(function()
game:GetService("ReplicatedStorage"):FindFirstChild("HDAdminClient", true).Signals.RequestCommand:InvokeServer(";btools me")
notify("F3X", "F3X выдан!")
end)
end)
local skyBtn = Instance.new("TextButton")
skyBtn.Size = UDim2.new(1, 0, 0, 50)
skyBtn.Position = UDim2.new(0, 0, 0, 60)
skyBtn.BackgroundColor3 = Color3.fromRGB(30, 0, 0)
skyBtn.BackgroundTransparency = 0.2
skyBtn.Text = "SKY"
skyBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
skyBtn.TextSize = 18
skyBtn.Font = Enum.Font.GothamBold
skyBtn.BorderSizePixel = 0
skyBtn.Parent = buttonsContainer
local btnCorner2 = Instance.new("UICorner")
btnCorner2.CornerRadius = UDim.new(0, 8)
btnCorner2.Parent = skyBtn
skyBtn.MouseButton1Click:Connect(function()
local tool = findF3XTool()
if not tool then
notify("Ошибка", "F3X не найден!")
return
end
local remote = getRemote()
if not remote then
notify("Ошибка", "Remote не найден!")
return
end
local char = player.Character
if not char then return end
local hrp = char:FindFirstChild("HumanoidRootPart")
if not hrp then return end
local cf = hrp.CFrame
local skyId = "117229502455310"
local function _(args)
remote:InvokeServer(unpack(args))
end
local function CreatePart(cfPos, parent)
_( {"CreatePart", "Normal", cfPos, parent} )
end
local function SetAnchor(boolean, part)
_( {"SyncAnchor", { [1] = { ["Part"] = part, ["Anchored"] = boolean } } } )
end
local function AddMesh(part)
_( {"CreateMeshes", { [1] = { ["Part"] = part } } } )
end
local function SetMesh(part, meshid)
_( {"SyncMesh", { [1] = { ["Part"] = part, ["MeshId"] = "rbxassetid://" .. meshid } } } )
end
local function SetTexture(part, texid)
_( {"SyncMesh", { [1] = { ["Part"] = part, ["TextureId"] = "rbxassetid://" .. texid } } } )
end
local function MeshResize(part, size)
_( {"SyncMesh", { [1] = { ["Part"] = part, ["Scale"] = size } } } )
end
local function SetName(part, stringg)
_( {"SetName", { [1] = part }, stringg} )
end
local function SetLocked(part, boolean)
_( {"SetLocked", { [1] = part }, boolean} )
end
local function SetCollision(part, boolean)
_( {"SyncCollision", { [1] = { ["Part"] = part, ["CanCollide"] = boolean } } } )
end
pcall(function()
CreatePart(CFrame.new(cf.Position + Vector3.new(0, 8, 0)), workspace)
task.wait(0.2)
for _, v in ipairs(workspace:GetDescendants()) do
if v:IsA("BasePart") and (v.Position - (cf.Position + Vector3.new(0, 8, 0))).Magnitude < 1 then
SetName(v, "SkySphere")
SetAnchor(true, v)
AddMesh(v)
SetMesh(v, "86352529980075")
SetTexture(v, skyId)
MeshResize(v, Vector3.new(5000, 5000, 5000))
SetLocked(v, true)
SetCollision(v, false)
break
end
end
notify("SKY", "Небо изменено!")
end)
end)
local decalBtn = Instance.new("TextButton")
decalBtn.Size = UDim2.new(1, 0, 0, 50)
decalBtn.Position = UDim2.new(0, 0, 0, 120)
decalBtn.BackgroundColor3 = Color3.fromRGB(30, 0, 0)
decalBtn.BackgroundTransparency = 0.2
decalBtn.Text = "DECAL SPAM"
decalBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
decalBtn.TextSize = 18
decalBtn.Font = Enum.Font.GothamBold
decalBtn.BorderSizePixel = 0
decalBtn.Parent = buttonsContainer
local btnCorner3 = Instance.new("UICorner")
btnCorner3.CornerRadius = UDim.new(0, 8)
btnCorner3.Parent = decalBtn
decalBtn.MouseButton1Click:Connect(function()
local tool = findF3XTool()
if not tool then
notify("Ошибка", "F3X не найден!")
return
end
local remote = getRemote()
if not remote then
notify("Ошибка", "Remote не найден!")
return
end
local decalId = "92878790024545"
local function _(args)
remote:InvokeServer(unpack(args))
end
local function SetLocked(part, boolean)
_( {"SetLocked", { [1] = part }, boolean} )
end
local function SpawnDecal(part, side)
_( {"CreateTextures", { [1] = { ["Part"] = part, ["Face"] = side, ["TextureType"] = "Decal" } } } )
end
local function AddDecal(part, asset, side)
_( {"SyncTexture", { [1] = { ["Part"] = part, ["Face"] = side, ["TextureType"] = "Decal", ["Texture"] = "rbxassetid://" .. asset } } } )
end
pcall(function()
for _, v in ipairs(workspace:GetDescendants()) do
if v:IsA("BasePart") then
task.spawn(function()
pcall(function()
SetLocked(v, false)
SpawnDecal(v, Enum.NormalId.Front)
AddDecal(v, decalId, Enum.NormalId.Front)
SpawnDecal(v, Enum.NormalId.Back)
AddDecal(v, decalId, Enum.NormalId.Back)
SpawnDecal(v, Enum.NormalId.Right)
AddDecal(v, decalId, Enum.NormalId.Right)
SpawnDecal(v, Enum.NormalId.Left)
AddDecal(v, decalId, Enum.NormalId.Left)
SpawnDecal(v, Enum.NormalId.Bottom)
AddDecal(v, decalId, Enum.NormalId.Bottom)
SpawnDecal(v, Enum.NormalId.Top)
AddDecal(v, decalId, Enum.NormalId.Top)
end)
end)
end
end
notify("DECAL", "Декали наложены!")
end)
end)
local discoBtn = Instance.new("TextButton")
discoBtn.Size = UDim2.new(1, 0, 0, 50)
discoBtn.Position = UDim2.new(0, 0, 0, 180)
discoBtn.BackgroundColor3 = Color3.fromRGB(30, 0, 0)
discoBtn.BackgroundTransparency = 0.2
discoBtn.Text = "DISCO"
discoBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
discoBtn.TextSize = 18
discoBtn.Font = Enum.Font.GothamBold
discoBtn.BorderSizePixel = 0
discoBtn.Parent = buttonsContainer
local btnCorner4 = Instance.new("UICorner")
btnCorner4.CornerRadius = UDim.new(0, 8)
btnCorner4.Parent = discoBtn
local discoActive = false
local discoCoroutine = nil
discoBtn.MouseButton1Click:Connect(function()
local tool = findF3XTool()
if not tool then
notify("Ошибка", "F3X не найден!")
return
end
local remote = getRemote()
if not remote then
notify("Ошибка", "Remote не найден!")
return
end
local function _(args)
remote:InvokeServer(unpack(args))
end
local function SetColor(part, color)
_( {"SyncColor", { [1] = { ["Part"] = part, ["Color"] = color, ["UnionColoring"] = false } } } )
end
if discoActive then
discoActive = false
if discoCoroutine then
task.cancel(discoCoroutine)
end
discoBtn.BackgroundColor3 = Color3.fromRGB(30, 0, 0)
discoBtn.Text = "DISCO"
notify("DISCO", "Выключена!")
return
end
discoActive = true
discoBtn.BackgroundColor3 = Color3.fromRGB(80, 0, 0)
discoBtn.Text = "DISCO (ON)"
local colors = {
Color3.fromRGB(255, 0, 0),
Color3.fromRGB(0, 255, 0),
Color3.fromRGB(0, 0, 255),
Color3.fromRGB(255, 255, 0),
Color3.fromRGB(255, 0, 255),
Color3.fromRGB(0, 255, 255),
Color3.fromRGB(255, 128, 0),
Color3.fromRGB(128, 0, 255),
}
local colorIndex = 1
discoCoroutine = task.spawn(function()
while discoActive do
local currentColor = colors[colorIndex]
colorIndex = (colorIndex % #colors) + 1
pcall(function()
for _, v in ipairs(workspace:GetDescendants()) do
if v:IsA("BasePart") or v:IsA("UnionOperation") then
task.spawn(function()
pcall(function()
SetColor(v, currentColor)
end)
end)
end
end
end)
task.wait(0.15)
end
end)
notify("DISCO", "Включена!")
end)
local function animateGradient()
local rotation = 0
while gui.Parent do
rotation = rotation + 1
gradient.Rotation = rotation
task.wait(0.05)
end
end
task.spawn(animateGradient)No comments yet for this script.



