
Key RequiredUniversal

-- 0nkidd F3X Destroy GUI
-- Created by 0nkidd
-- Background: rbxthumb://type=Asset&id=131917032785234&w=420&h=420
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
-- ICON GUI (Açılıp kapanacak)
local iconGui = Instance.new("ScreenGui")
iconGui.Name = "0NDIcon"
iconGui.ResetOnSpawn = false
iconGui.Parent = playerGui
local iconButton = Instance.new("TextButton")
iconButton.Name = "0NDButton"
iconButton.Size = UDim2.new(0, 60, 0, 60)
iconButton.Position = UDim2.new(0, 10, 0, 10)
iconButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
iconButton.BorderSizePixel = 2
iconButton.BorderColor3 = Color3.fromRGB(255, 255, 0)
iconButton.Text = "0ND"
iconButton.TextColor3 = Color3.fromRGB(255, 255, 0)
iconButton.TextScaled = true
iconButton.Font = Enum.Font.Arial
iconButton.TextSize = 14
iconButton.ZIndex = 10
iconButton.Parent = iconGui
local iconCorner = Instance.new("UICorner")
iconCorner.CornerRadius = UDim.new(0, 8)
iconCorner.Parent = iconButton
-- ANA GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "0nkiddGUI"
screenGui.ResetOnSpawn = false
screenGui.Enabled = false
screenGui.Parent = playerGui
-- ANA FRAME
local mainFrame = Instance.new("Frame")
mainFrame.Name = "MainFrame"
mainFrame.Size = UDim2.new(0, 500, 0, 500)
mainFrame.Position = UDim2.new(0.5, -250, 0.5, -250)
mainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
mainFrame.BorderSizePixel = 0
mainFrame.Parent = screenGui
-- ARKA PLAN
local background = Instance.new("ImageLabel")
background.Name = "Background"
background.Size = UDim2.new(1, 0, 1, 0)
background.BackgroundTransparency = 1
background.Image = "rbxassetid://131917032785234"
background.ScaleType = Enum.ScaleType.Crop
background.Parent = mainFrame
-- GÖLGE EFEKTİ
local backgroundOverlay = Instance.new("Frame")
backgroundOverlay.Name = "Overlay"
backgroundOverlay.Size = UDim2.new(1, 0, 1, 0)
backgroundOverlay.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
backgroundOverlay.BackgroundTransparency = 0.7
backgroundOverlay.Parent = mainFrame
-- KÖŞE YUVARLAMA
local mainCorner = Instance.new("UICorner")
mainCorner.CornerRadius = UDim.new(0, 12)
mainCorner.Parent = mainFrame
-- DIŞ ÇERÇEVE
local outerBorder = Instance.new("Frame")
outerBorder.Name = "OuterBorder"
outerBorder.Size = UDim2.new(1, 6, 1, 6)
outerBorder.Position = UDim2.new(0, -3, 0, -3)
outerBorder.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
outerBorder.BorderSizePixel = 0
outerBorder.ZIndex = 0
outerBorder.Parent = mainFrame
local outerCorner = Instance.new("UICorner")
outerCorner.CornerRadius = UDim.new(0, 14)
outerCorner.Parent = outerBorder
-- BAŞLIK ÇUBUĞU
local titleBar = Instance.new("Frame")
titleBar.Name = "TitleBar"
titleBar.Size = UDim2.new(1, 0, 0, 50)
titleBar.Position = UDim2.new(0, 0, 0, 0)
titleBar.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
titleBar.BackgroundTransparency = 0.3
titleBar.BorderSizePixel = 0
titleBar.ZIndex = 3
titleBar.Parent = mainFrame
local titleAccent = Instance.new("Frame")
titleAccent.Name = "TitleAccent"
titleAccent.Size = UDim2.new(1, 0, 0, 4)
titleAccent.Position = UDim2.new(0, 0, 0, 0)
titleAccent.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
titleAccent.BorderSizePixel = 0
titleAccent.ZIndex = 3
titleAccent.Parent = titleBar
local titleLabel = Instance.new("TextLabel")
titleLabel.Name = "TitleLabel"
titleLabel.Size = UDim2.new(1, -100, 1, 0)
titleLabel.Position = UDim2.new(0, 10, 0, 0)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "0nkidd F3X DESTROY GUI"
titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
titleLabel.TextScaled = true
titleLabel.Font = Enum.Font.GothamBold
titleLabel.TextSize = 18
titleLabel.ZIndex = 3
titleLabel.Parent = titleBar
local closeButton = Instance.new("TextButton")
closeButton.Name = "CloseButton"
closeButton.Size = UDim2.new(0, 80, 0, 30)
closeButton.Position = UDim2.new(1, -90, 0.5, -15)
closeButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
closeButton.BorderSizePixel = 0
closeButton.Text = "KAPAT"
closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
closeButton.TextScaled = true
closeButton.Font = Enum.Font.Gotham
closeButton.TextSize = 12
closeButton.ZIndex = 3
closeButton.Parent = titleBar
local closeCorner = Instance.new("UICorner")
closeCorner.CornerRadius = UDim.new(0, 6)
closeCorner.Parent = closeButton
-- İÇERİK ALANI
local contentFrame = Instance.new("Frame")
contentFrame.Name = "ContentFrame"
contentFrame.Size = UDim2.new(1, -20, 1, -70)
contentFrame.Position = UDim2.new(0, 10, 0, 60)
contentFrame.BackgroundTransparency = 1
contentFrame.Parent = mainFrame
-- TAB BUTONLARI
local tabsFrame = Instance.new("Frame")
tabsFrame.Name = "TabsFrame"
tabsFrame.Size = UDim2.new(1, 0, 0, 40)
tabsFrame.BackgroundTransparency = 1
tabsFrame.Parent = contentFrame
local f3xTab = Instance.new("TextButton")
f3xTab.Name = "F3XTab"
f3xTab.Size = UDim2.new(0.5, -5, 1, 0)
f3xTab.Position = UDim2.new(0, 0, 0, 0)
f3xTab.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
f3xTab.BorderSizePixel = 0
f3xTab.Text = "F3X TOOLS"
f3xTab.TextColor3 = Color3.fromRGB(0, 0, 0)
f3xTab.TextScaled = true
f3xTab.Font = Enum.Font.GothamBold
f3xTab.TextSize = 14
f3xTab.Parent = tabsFrame
local musicTab = Instance.new("TextButton")
musicTab.Name = "MusicTab"
musicTab.Size = UDim2.new(0.5, -5, 1, 0)
musicTab.Position = UDim2.new(0.5, 5, 0, 0)
musicTab.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
musicTab.BorderSizePixel = 0
musicTab.Text = "MUSIC"
musicTab.TextColor3 = Color3.fromRGB(255, 255, 255)
musicTab.TextScaled = true
musicTab.Font = Enum.Font.GothamBold
musicTab.TextSize = 14
musicTab.Parent = tabsFrame
local tabCorner = Instance.new("UICorner")
tabCorner.CornerRadius = UDim.new(0, 8)
tabCorner.Parent = f3xTab
tabCorner:Clone().Parent = musicTab
-- SCROLLING FRAMES
local f3xScroll = Instance.new("ScrollingFrame")
f3xScroll.Name = "F3XScroll"
f3xScroll.Size = UDim2.new(1, 0, 1, -40)
f3xScroll.Position = UDim2.new(0, 0, 0, 40)
f3xScroll.BackgroundTransparency = 1
f3xScroll.BorderSizePixel = 0
f3xScroll.ScrollBarThickness = 8
f3xScroll.ScrollBarImageColor3 = Color3.fromRGB(255, 255, 0)
f3xScroll.Visible = true
f3xScroll.Parent = contentFrame
local musicScroll = Instance.new("ScrollingFrame")
musicScroll.Name = "MusicScroll"
musicScroll.Size = UDim2.new(1, 0, 1, -40)
musicScroll.Position = UDim2.new(0, 0, 0, 40)
musicScroll.BackgroundTransparency = 1
musicScroll.BorderSizePixel = 0
musicScroll.ScrollBarThickness = 8
musicScroll.ScrollBarImageColor3 = Color3.fromRGB(255, 255, 0)
musicScroll.Visible = false
musicScroll.Parent = contentFrame
-- BUTON LAYOUTLARI
local f3xLayout = Instance.new("UIGridLayout")
f3xLayout.CellSize = UDim2.new(0.5, -10, 0, 45)
f3xLayout.CellPadding = UDim2.new(0, 5, 0, 5)
f3xLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
f3xLayout.SortOrder = Enum.SortOrder.LayoutOrder
f3xLayout.Parent = f3xScroll
local musicLayout = Instance.new("UIGridLayout")
musicLayout.CellSize = UDim2.new(1, -10, 0, 45)
musicLayout.CellPadding = UDim2.new(0, 5, 0, 5)
musicLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
musicLayout.SortOrder = Enum.SortOrder.LayoutOrder
musicLayout.Parent = musicScroll
-- BUTON OLUŞTURMA FONKSİYONU
local function createButton(parent, text, callback)
local button = Instance.new("TextButton")
button.Name = text
button.Size = UDim2.new(1, 0, 0, 45)
button.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
button.BackgroundTransparency = 0.2
button.BorderSizePixel = 0
button.Text = text
button.TextColor3 = Color3.fromRGB(255, 255, 255)
button.TextScaled = true
button.Font = Enum.Font.Gotham
button.TextSize = 14
button.Parent = parent
local buttonCorner = Instance.new("UICorner")
buttonCorner.CornerRadius = UDim.new(0, 8)
buttonCorner.Parent = button
local buttonBorder = Instance.new("Frame")
buttonBorder.Name = "Border"
buttonBorder.Size = UDim2.new(1, 2, 1, 2)
buttonBorder.Position = UDim2.new(0, -1, 0, -1)
buttonBorder.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
buttonBorder.BorderSizePixel = 0
buttonBorder.ZIndex = -1
buttonBorder.Parent = button
local borderCorner = Instance.new("UICorner")
borderCorner.CornerRadius = UDim.new(0, 9)
borderCorner.Parent = buttonBorder
-- Hover efekti
button.MouseEnter:Connect(function()
button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
buttonBorder.BackgroundColor3 = Color3.fromRGB(255, 255, 100)
end)
button.MouseLeave:Connect(function()
button.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
buttonBorder.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
end)
if callback then
button.MouseButton1Click:Connect(callback)
end
return button
end
-- F3X FONKSİYONLARI
local function getF3XTool()
local player = game.Players.LocalPlayer
local char = player.Character
local backpack = player.Backpack
for _, v in ipairs(backpack:GetChildren()) do
if v:FindFirstChild("SyncAPI") then
return v
end
end
for _, v in ipairs(char:GetChildren()) do
if v:FindFirstChild("SyncAPI") then
return v
end
end
return nil
end
local function executeF3XCommand(command, args)
local f3x = getF3XTool()
if f3x then
local syncAPI = f3x.SyncAPI
local serverEndpoint = syncAPI.ServerEndpoint
serverEndpoint:InvokeServer(command, args)
else
warn("F3X tool bulunamadı!")
end
end
-- SKYBOX FONKSİYONU (DÜZGÜN ÇALIŞAN)
local function createSkybox(skyboxId)
local f3x = getF3XTool()
if not f3x then
warn("F3X tool bulunamadı!")
return
end
local syncAPI = f3x.SyncAPI
local serverEndpoint = syncAPI.ServerEndpoint
local player = game.Players.LocalPlayer
local char = player.Character
if not char then return end
local hrp = char:FindFirstChild("HumanoidRootPart")
if not hrp then return end
-- Sky part oluştur
local position = hrp.CFrame.Position + Vector3.new(0, 10, 0)
local skyPart = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(position), workspace)
-- Mesh ekle
serverEndpoint:InvokeServer("CreateMeshes", {
{["Part"] = skyPart}
})
-- Mesh ayarları
serverEndpoint:InvokeServer("SyncMesh", {
{["Part"] = skyPart, ["MeshId"] = "rbxassetid://111891702759441"}
})
-- Texture ayarla (SENİN ID'N İLE)
serverEndpoint:InvokeServer("SyncMesh", {
{["Part"] = skyPart, ["TextureId"] = "rbxassetid://131917032785234"}
})
-- Boyut ayarla
serverEndpoint:InvokeServer("SyncMesh", {
{["Part"] = skyPart, ["Scale"] = Vector3.new(10000, 10000, 10000)}
})
-- Kilitle
serverEndpoint:InvokeServer("SetLocked", {skyPart}, true)
-- İsim ver
serverEndpoint:InvokeServer("SetName", {skyPart}, "0nkiddSky")
end
-- DECAL SPAM FONKSİYONU (DÜZGÜN ÇALIŞAN)
local function decalSpam(decalId)
local f3x = getF3XTool()
if not f3x then return end
local syncAPI = f3x.SyncAPI
local serverEndpoint = syncAPI.ServerEndpoint
for _, v in ipairs(workspace:GetDescendants()) do
if v:IsA("BasePart") or v:IsA("UnionOperation") then
spawn(function()
-- Tüm yüzeylere decal ekle
local faces = {
Enum.NormalId.Front,
Enum.NormalId.Back,
Enum.NormalId.Left,
Enum.NormalId.Right,
Enum.NormalId.Top,
Enum.NormalId.Bottom
}
for _, face in ipairs(faces) do
-- Decal oluştur
serverEndpoint:InvokeServer("CreateTextures", {
{
["Part"] = v,
["Face"] = face,
["TextureType"] = "Decal"
}
})
-- Decal texture ayarla (SENİN ID'N İLE)
serverEndpoint:InvokeServer("SyncTexture", {
{
["Part"] = v,
["Face"] = face,
["TextureType"] = "Decal",
["Texture"] = "rbxassetid://131917032785234"
}
})
end
end)
end
end
end
-- F3X BUTONLARI
createButton(f3xScroll, "Skybox 1", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";btools")
RequestCommand:InvokeServer(";fogcolor black")
wait(0.5)
createSkybox("131917032785234")
end)
createButton(f3xScroll, "Skybox 2", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";btools")
RequestCommand:InvokeServer(";fogcolor black")
wait(0.5)
createSkybox("131917032785234")
end)
createButton(f3xScroll, "Decal All", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";btools")
wait(0.5)
decalSpam("131917032785234")
end)
createButton(f3xScroll, "Skeleton Sky", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";btools")
RequestCommand:InvokeServer(";fogcolor black")
-- Skeleton sky kodu buraya
end)
createButton(f3xScroll, "ForceField", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";ff")
end)
createButton(f3xScroll, "Bring All", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";bring all")
end)
createButton(f3xScroll, "Kill All", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";kill all")
end)
createButton(f3xScroll, "Delete All", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";btools")
wait(0.3)
local f3x = getF3XTool()
if f3x then
local syncAPI = f3x.SyncAPI
local serverEndpoint = syncAPI.ServerEndpoint
for _, v in ipairs(workspace:GetDescendants()) do
if v:IsA("BasePart") or v:IsA("UnionOperation") then
spawn(function()
serverEndpoint:InvokeServer("Remove", {v})
end)
end
end
end
end)
createButton(f3xScroll, "Shutdown", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";shutdown 0nkidd destroyed this server!")
end)
createButton(f3xScroll, "R6 All", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";r6 all")
end)
createButton(f3xScroll, "Infinite Yield", function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
end)
-- YENİ EKLENEN DESTROY VE BASE BUTONLARI --
createButton(f3xScroll, "DESTROY FOR EMERGENCY", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
-- Önce her şeyi temizle
RequestCommand:InvokeServer(";btools me")
RequestCommand:InvokeServer(";fogcolor black")
RequestCommand:InvokeServer(";time 0")
wait(1)
local f3x = getF3XTool()
if not f3x then
warn("F3X tool bulunamadı!")
return
end
local syncAPI = f3x.SyncAPI
local serverEndpoint = syncAPI.ServerEndpoint
-- TÜM PARTLARI SİL
for _, v in ipairs(workspace:GetDescendants()) do
if v:IsA("BasePart") or v:IsA("UnionOperation") or v:IsA("Model") then
spawn(function()
pcall(function()
serverEndpoint:InvokeServer("Remove", {v})
end)
end)
end
end
wait(2)
-- YENİ BASEPLATE OLUŞTUR
local baseplate = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 0, 0), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = baseplate, ["CFrame"] = CFrame.new(0, 0, 0), ["Size"] = Vector3.new(500, 5, 500)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = baseplate, ["Color"] = Color3.fromRGB(100, 100, 100), ["UnionColoring"] = false}
})
serverEndpoint:InvokeServer("SetLocked", {baseplate}, true)
serverEndpoint:InvokeServer("SetName", {baseplate}, "Baseplate")
-- EV İNŞA ETME FONKSİYONU
local function createHouse()
-- Zemin
local floor = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 2.5, 0), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = floor, ["CFrame"] = CFrame.new(0, 2.5, 0), ["Size"] = Vector3.new(30, 1, 30)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = floor, ["Color"] = Color3.fromRGB(200, 200, 200), ["UnionColoring"] = false}
})
-- Duvarlar
local wallPositions = {
{pos = CFrame.new(0, 5, 15), size = Vector3.new(30, 10, 1)}, -- Arka duvar
{pos = CFrame.new(0, 5, -15), size = Vector3.new(30, 10, 1)}, -- Ön duvar
{pos = CFrame.new(15, 5, 0), size = Vector3.new(1, 10, 30)}, -- Sağ duvar
{pos = CFrame.new(-15, 5, 0), size = Vector3.new(1, 10, 30)} -- Sol duvar
}
for _, wall in ipairs(wallPositions) do
local wallPart = serverEndpoint:InvokeServer("CreatePart", "Normal", wall.pos, workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = wallPart, ["CFrame"] = wall.pos, ["Size"] = wall.size}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = wallPart, ["Color"] = Color3.fromRGB(150, 150, 150), ["UnionColoring"] = false}
})
end
-- KAPISI OLAN ÖN DUVAR (Disable Collision)
local frontWall = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 5, -15), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = frontWall, ["CFrame"] = CFrame.new(0, 5, -15), ["Size"] = Vector3.new(30, 10, 1)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = frontWall, ["Color"] = Color3.fromRGB(150, 150, 150), ["UnionColoring"] = false}
})
-- KAPI (Disable Collision)
local door = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 3, -14.5), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = door, ["CFrame"] = CFrame.new(0, 3, -14.5), ["Size"] = Vector3.new(6, 6, 1)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = door, ["Color"] = Color3.fromRGB(100, 50, 0), ["UnionColoring"] = false}
})
serverEndpoint:InvokeServer("SyncCollision", {
{["Part"] = door, ["CanCollide"] = false} -- DISABLE COLLISION
})
-- ÇATI
local roof = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 10, 0), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = roof, ["CFrame"] = CFrame.new(0, 10, 0), ["Size"] = Vector3.new(32, 1, 32)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = roof, ["Color"] = Color3.fromRGB(80, 40, 0), ["UnionColoring"] = false}
})
-- İÇ DEKORASYON
-- MASA
local table = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 3.5, 5), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = table, ["CFrame"] = CFrame.new(0, 3.5, 5), ["Size"] = Vector3.new(8, 1, 4)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = table, ["Color"] = Color3.fromRGB(139, 69, 19), ["UnionColoring"] = false}
})
-- SANDALYELER
local chairPositions = {
CFrame.new(3, 2.5, 5),
CFrame.new(-3, 2.5, 5),
CFrame.new(0, 2.5, 7)
}
for _, chairPos in ipairs(chairPositions) do
local chair = serverEndpoint:InvokeServer("CreatePart", "Normal", chairPos, workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = chair, ["CFrame"] = chairPos, ["Size"] = Vector3.new(2, 3, 2)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = chair, ["Color"] = Color3.fromRGB(100, 50, 0), ["UnionColoring"] = false}
})
end
-- YATAK
local bed = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(-10, 2.5, 0), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = bed, ["CFrame"] = CFrame.new(-10, 2.5, 0), ["Size"] = Vector3.new(6, 2, 8)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = bed, ["Color"] = Color3.fromRGB(200, 0, 0), ["UnionColoring"] = false}
})
-- DOLAP
local closet = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(10, 4, 0), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = closet, ["CFrame"] = CFrame.new(10, 4, 0), ["Size"] = Vector3.new(4, 8, 3)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = closet, ["Color"] = Color3.fromRGB(50, 50, 150), ["UnionColoring"] = false}
})
-- IŞIKLAR
local light = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 9, 0), workspace)
serverEndpoint:InvokeServer("CreateLights", {
{["Part"] = light, ["LightType"] = "PointLight"}
})
serverEndpoint:InvokeServer("SyncLighting", {
{["Part"] = light, ["LightType"] = "PointLight", ["Brightness"] = 5, ["Color"] = Color3.new(1, 1, 1)}
})
serverEndpoint:InvokeServer("SyncMaterial", {
{["Part"] = light, ["Transparency"] = 1}
})
serverEndpoint:InvokeServer("SyncCollision", {
{["Part"] = light, ["CanCollide"] = false}
})
-- SPAWN NOKTASI (Evin içi)
local spawnPoint = serverEndpoint:InvokeServer("CreatePart", "Spawn", CFrame.new(0, 3, 0), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = spawnPoint, ["CFrame"] = CFrame.new(0, 3, 0), ["Size"] = Vector3.new(4, 1, 4)}
})
serverEndpoint:InvokeServer("SyncMaterial", {
{["Part"] = spawnPoint, ["Transparency"] = 1}
})
serverEndpoint:InvokeServer("SyncCollision", {
{["Part"] = spawnPoint, ["CanCollide"] = false}
})
-- Herkesi eve ışınla
RequestCommand:InvokeServer(";res all")
wait(1)
RequestCommand:InvokeServer(";teleport all 0 3 0")
end
-- EVİ İNŞA ET
createHouse()
-- 5 SANİYE BEKLE
wait(5)
-- HER ŞEYİ YAK VE DECAL SPAM YAP
RequestCommand:InvokeServer(";fire all")
RequestCommand:InvokeServer(";sparkles all")
-- SKYBOX OLUŞTUR (YANAN GÖKYÜZÜ)
local skyPosition = CFrame.new(0, 50, 0)
local skyPart = serverEndpoint:InvokeServer("CreatePart", "Normal", skyPosition, workspace)
serverEndpoint:InvokeServer("CreateMeshes", {
{["Part"] = skyPart}
})
serverEndpoint:InvokeServer("SyncMesh", {
{["Part"] = skyPart, ["MeshId"] = "rbxassetid://111891702759441"}
})
serverEndpoint:InvokeServer("SyncMesh", {
{["Part"] = skyPart, ["TextureId"] = "rbxassetid://87576922929783"} -- YANAN SKYBOX
})
serverEndpoint:InvokeServer("SyncMesh", {
{["Part"] = skyPart, ["Scale"] = Vector3.new(10000, 10000, 10000)}
})
serverEndpoint:InvokeServer("SetLocked", {skyPart}, true)
serverEndpoint:InvokeServer("SetName", {skyPart}, "BurningSky")
-- TÜM PARTLARA ATEŞ EKLE
for _, v in ipairs(workspace:GetDescendants()) do
if v:IsA("BasePart") or v:IsA("UnionOperation") then
spawn(function()
pcall(function()
-- Ateş ekle
serverEndpoint:InvokeServer("CreateDecorations", {
{["Part"] = v, ["DecorationType"] = "Fire"}
})
serverEndpoint:InvokeServer("SyncDecorate", {
{["Part"] = v, ["DecorationType"] = "Fire", ["Size"] = 10, ["Heat"] = 25}
})
-- Kıvılcım ekle
serverEndpoint:InvokeServer("CreateDecorations", {
{["Part"] = v, ["DecorationType"] = "Sparkles"}
})
-- DECAL SPAM (YENİ ID İLE)
local faces = {
Enum.NormalId.Front, Enum.NormalId.Back,
Enum.NormalId.Left, Enum.NormalId.Right,
Enum.NormalId.Top, Enum.NormalId.Bottom
}
for _, face in ipairs(faces) do
serverEndpoint:InvokeServer("CreateTextures", {
{
["Part"] = v,
["Face"] = face,
["TextureType"] = "Decal"
}
})
serverEndpoint:InvokeServer("SyncTexture", {
{
["Part"] = v,
["Face"] = face,
["TextureType"] = "Decal",
["Texture"] = "rbxassetid://87576922929783" -- YENİ DECAL ID
}
})
end
end)
end)
end
end
-- EFEKTLER
RequestCommand:InvokeServer(";fogcolor red")
RequestCommand:InvokeServer(";fog 100 100")
RequestCommand:InvokeServer(";ambient red")
RequestCommand:InvokeServer(";music 9114824223") -- Dramatik müzik
RequestCommand:InvokeServer(";volume inf")
-- MESAJ
RequestCommand:InvokeServer(";sm EMERGENCY DESTROY ACTIVATED BY 0NKIDD")
RequestCommand:InvokeServer(";sh EVERYTHING IS BURNING!")
end)
createButton(f3xScroll, "0nkidd Base", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
-- Önce her şeyi temizle
RequestCommand:InvokeServer(";btools me")
RequestCommand:InvokeServer(";fogcolor black")
RequestCommand:InvokeServer(";time 12")
wait(1)
local f3x = getF3XTool()
if not f3x then
warn("F3X tool bulunamadı!")
return
end
local syncAPI = f3x.SyncAPI
local serverEndpoint = syncAPI.ServerEndpoint
-- TÜM PARTLARI SİL
for _, v in ipairs(workspace:GetDescendants()) do
if v:IsA("BasePart") or v:IsA("UnionOperation") or v:IsA("Model") then
spawn(function()
pcall(function()
serverEndpoint:InvokeServer("Remove", {v})
end)
end)
end
end
wait(2)
-- BASEPLATE OLUŞTUR
local baseplate = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 0, 0), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = baseplate, ["CFrame"] = CFrame.new(0, 0, 0), ["Size"] = Vector3.new(300, 5, 300)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = baseplate, ["Color"] = Color3.fromRGB(0, 0, 0), ["UnionColoring"] = false}
})
serverEndpoint:InvokeServer("SetLocked", {baseplate}, true)
serverEndpoint:InvokeServer("SetName", {baseplate}, "0nkiddBaseplate")
-- SKYBOX OLUŞTUR
local skyPosition = CFrame.new(0, 50, 0)
local skyPart = serverEndpoint:InvokeServer("CreatePart", "Normal", skyPosition, workspace)
serverEndpoint:InvokeServer("CreateMeshes", {
{["Part"] = skyPart}
})
serverEndpoint:InvokeServer("SyncMesh", {
{["Part"] = skyPart, ["MeshId"] = "rbxassetid://111891702759441"}
})
serverEndpoint:InvokeServer("SyncMesh", {
{["Part"] = skyPart, ["TextureId"] = "rbxassetid://131917032785234"} -- SENİN SKYBOX ID'N
})
serverEndpoint:InvokeServer("SyncMesh", {
{["Part"] = skyPart, ["Scale"] = Vector3.new(10000, 10000, 10000)}
})
serverEndpoint:InvokeServer("SetLocked", {skyPart}, true)
serverEndpoint:InvokeServer("SetName", {skyPart}, "0nkiddSky")
-- ASKERİ ÜS İNŞA ETME FONKSİYONU
local function createMilitaryBase()
-- SAFE ROOM
-- Safe Room Zemin
local safeRoomFloor = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 2.5, 0), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = safeRoomFloor, ["CFrame"] = CFrame.new(0, 2.5, 0), ["Size"] = Vector3.new(20, 1, 20)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = safeRoomFloor, ["Color"] = Color3.fromRGB(0, 0, 0), ["UnionColoring"] = false}
})
-- Safe Room Duvarlar (Siyah)
local safeRoomWalls = {
{pos = CFrame.new(0, 5, 10), size = Vector3.new(20, 10, 1)}, -- Arka duvar
{pos = CFrame.new(0, 5, -10), size = Vector3.new(20, 10, 1)}, -- Ön duvar (kapılı)
{pos = CFrame.new(10, 5, 0), size = Vector3.new(1, 10, 20)}, -- Sağ duvar
{pos = CFrame.new(-10, 5, 0), size = Vector3.new(1, 10, 20)} -- Sol duvar
}
for _, wall in ipairs(safeRoomWalls) do
local wallPart = serverEndpoint:InvokeServer("CreatePart", "Normal", wall.pos, workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = wallPart, ["CFrame"] = wall.pos, ["Size"] = wall.size}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = wallPart, ["Color"] = Color3.fromRGB(0, 0, 0), ["UnionColoring"] = false}
})
end
-- Safe Room Kapısı (Disable Collision)
local safeRoomDoor = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 3, -9.5), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = safeRoomDoor, ["CFrame"] = CFrame.new(0, 3, -9.5), ["Size"] = Vector3.new(4, 6, 1)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = safeRoomDoor, ["Color"] = Color3.fromRGB(50, 50, 50), ["UnionColoring"] = false}
})
serverEndpoint:InvokeServer("SyncCollision", {
{["Part"] = safeRoomDoor, ["CanCollide"] = false}
})
-- Kapı Üstü Yazı: SAFE ROOM
local safeRoomSign = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 8, -9.6), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = safeRoomSign, ["CFrame"] = CFrame.new(0, 8, -9.6), ["Size"] = Vector3.new(6, 1, 0.2)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = safeRoomSign, ["Color"] = Color3.fromRGB(255, 255, 255), ["UnionColoring"] = false}
})
-- Safe Room Masa
local safeRoomTable = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 3, 5), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = safeRoomTable, ["CFrame"] = CFrame.new(0, 3, 5), ["Size"] = Vector3.new(6, 1, 3)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = safeRoomTable, ["Color"] = Color3.fromRGB(30, 30, 30), ["UnionColoring"] = false}
})
-- Masa Üstü Paper
local paper = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 3.6, 5), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = paper, ["CFrame"] = CFrame.new(0, 3.6, 5), ["Size"] = Vector3.new(4, 0.1, 2)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = paper, ["Color"] = Color3.fromRGB(255, 255, 255), ["UnionColoring"] = false}
})
-- KORİDOR
-- Koridor Zemin
local corridorFloor = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 2.5, -20), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = corridorFloor, ["CFrame"] = CFrame.new(0, 2.5, -20), ["Size"] = Vector3.new(10, 1, 20)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = corridorFloor, ["Color"] = Color3.fromRGB(20, 20, 20), ["UnionColoring"] = false}
})
-- Koridor Duvarlar
local corridorWalls = {
{pos = CFrame.new(5, 5, -20), size = Vector3.new(1, 10, 20)}, -- Sağ duvar
{pos = CFrame.new(-5, 5, -20), size = Vector3.new(1, 10, 20)} -- Sol duvar
}
for _, wall in ipairs(corridorWalls) do
local wallPart = serverEndpoint:InvokeServer("CreatePart", "Normal", wall.pos, workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = wallPart, ["CFrame"] = wall.pos, ["Size"] = wall.size}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = wallPart, ["Color"] = Color3.fromRGB(30, 30, 30), ["UnionColoring"] = false}
})
end
-- YEMEKHANE
-- Yemekhane Zemin
local cafeteriaFloor = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 2.5, -45), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = cafeteriaFloor, ["CFrame"] = CFrame.new(0, 2.5, -45), ["Size"] = Vector3.new(30, 1, 25)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = cafeteriaFloor, ["Color"] = Color3.fromRGB(25, 25, 25), ["UnionColoring"] = false}
})
-- Yemekhane Duvarlar
local cafeteriaWalls = {
{pos = CFrame.new(0, 5, -32.5), size = Vector3.new(30, 10, 1)}, -- Giriş duvarı
{pos = CFrame.new(0, 5, -57.5), size = Vector3.new(30, 10, 1)}, -- Arka duvar
{pos = CFrame.new(15, 5, -45), size = Vector3.new(1, 10, 25)}, -- Sağ duvar
{pos = CFrame.new(-15, 5, -45), size = Vector3.new(1, 10, 25)} -- Sol duvar
}
for _, wall in ipairs(cafeteriaWalls) do
local wallPart = serverEndpoint:InvokeServer("CreatePart", "Normal", wall.pos, workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = wallPart, ["CFrame"] = wall.pos, ["Size"] = wall.size}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = wallPart, ["Color"] = Color3.fromRGB(35, 35, 35), ["UnionColoring"] = false}
})
end
-- Yemekhane Giriş Kapısı (Disable Collision)
local cafeteriaDoor = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 3, -32.4), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = cafeteriaDoor, ["CFrame"] = CFrame.new(0, 3, -32.4), ["Size"] = Vector3.new(4, 6, 1)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = cafeteriaDoor, ["Color"] = Color3.fromRGB(60, 60, 60), ["UnionColoring"] = false}
})
serverEndpoint:InvokeServer("SyncCollision", {
{["Part"] = cafeteriaDoor, ["CanCollide"] = false}
})
-- KOLONLAR
local columnPositions = {
CFrame.new(10, 5, -40),
CFrame.new(-10, 5, -40),
CFrame.new(10, 5, -50),
CFrame.new(-10, 5, -50)
}
for _, pos in ipairs(columnPositions) do
local column = serverEndpoint:InvokeServer("CreatePart", "Normal", pos, workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = column, ["CFrame"] = pos, ["Size"] = Vector3.new(2, 10, 2)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = column, ["Color"] = Color3.fromRGB(40, 40, 40), ["UnionColoring"] = false}
})
end
-- MASALAR (4 sandalyeli)
local tablePositions = {
{pos = CFrame.new(8, 3, -40), chairs = {
CFrame.new(10, 2.5, -40),
CFrame.new(6, 2.5, -40),
CFrame.new(8, 2.5, -42),
CFrame.new(8, 2.5, -38)
}},
{pos = CFrame.new(-8, 3, -40), chairs = {
CFrame.new(-10, 2.5, -40),
CFrame.new(-6, 2.5, -40),
CFrame.new(-8, 2.5, -42),
CFrame.new(-8, 2.5, -38)
}},
{pos = CFrame.new(8, 3, -50), chairs = {
CFrame.new(10, 2.5, -50),
CFrame.new(6, 2.5, -50),
CFrame.new(8, 2.5, -52),
CFrame.new(8, 2.5, -48)
}},
{pos = CFrame.new(-8, 3, -50), chairs = {
CFrame.new(-10, 2.5, -50),
CFrame.new(-6, 2.5, -50),
CFrame.new(-8, 2.5, -52),
CFrame.new(-8, 2.5, -48)
}}
}
for _, tableData in ipairs(tablePositions) do
-- Masa
local tablePart = serverEndpoint:InvokeServer("CreatePart", "Normal", tableData.pos, workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = tablePart, ["CFrame"] = tableData.pos, ["Size"] = Vector3.new(4, 1, 4)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = tablePart, ["Color"] = Color3.fromRGB(50, 50, 50), ["UnionColoring"] = false}
})
-- Sandalyeler
for _, chairPos in ipairs(tableData.chairs) do
local chair = serverEndpoint:InvokeServer("CreatePart", "Normal", chairPos, workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = chair, ["CFrame"] = chairPos, ["Size"] = Vector3.new(1.5, 3, 1.5)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = chair, ["Color"] = Color3.fromRGB(60, 60, 60), ["UnionColoring"] = false}
})
end
end
-- KITCHEN
-- Kitchen Zemin
local kitchenFloor = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(20, 2.5, -45), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = kitchenFloor, ["CFrame"] = CFrame.new(20, 2.5, -45), ["Size"] = Vector3.new(15, 1, 15)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = kitchenFloor, ["Color"] = Color3.fromRGB(25, 25, 25), ["UnionColoring"] = false}
})
-- Kitchen Duvarlar
local kitchenWalls = {
{pos = CFrame.new(20, 5, -37.5), size = Vector3.new(15, 10, 1)}, -- Giriş duvarı
{pos = CFrame.new(20, 5, -52.5), size = Vector3.new(15, 10, 1)}, -- Arka duvar
{pos = CFrame.new(27.5, 5, -45), size = Vector3.new(1, 10, 15)}, -- Sağ duvar
{pos = CFrame.new(12.5, 5, -45), size = Vector3.new(1, 10, 15)} -- Sol duvar
}
for _, wall in ipairs(kitchenWalls) do
local wallPart = serverEndpoint:InvokeServer("CreatePart", "Normal", wall.pos, workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = wallPart, ["CFrame"] = wall.pos, ["Size"] = wall.size}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = wallPart, ["Color"] = Color3.fromRGB(35, 35, 35), ["UnionColoring"] = false}
})
end
-- Kitchen Giriş Kapısı (Disable Collision)
local kitchenDoor = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(20, 3, -37.4), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = kitchenDoor, ["CFrame"] = CFrame.new(20, 3, -37.4), ["Size"] = Vector3.new(3, 6, 1)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = kitchenDoor, ["Color"] = Color3.fromRGB(60, 60, 60), ["UnionColoring"] = false}
})
serverEndpoint:InvokeServer("SyncCollision", {
{["Part"] = kitchenDoor, ["CanCollide"] = false}
})
-- BUZDOLABI
local fridge = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(22, 4, -48), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = fridge, ["CFrame"] = CFrame.new(22, 4, -48), ["Size"] = Vector3.new(3, 6, 2)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = fridge, ["Color"] = Color3.fromRGB(200, 200, 200), ["UnionColoring"] = false}
})
-- DOLAPLAR (4 adet)
local cabinetPositions = {
CFrame.new(17, 4, -48),
CFrame.new(17, 4, -42),
CFrame.new(23, 4, -42),
CFrame.new(26, 4, -45)
}
for _, pos in ipairs(cabinetPositions) do
local cabinet = serverEndpoint:InvokeServer("CreatePart", "Normal", pos, workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = cabinet, ["CFrame"] = pos, ["Size"] = Vector3.new(2, 6, 2)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = cabinet, ["Color"] = Color3.fromRGB(80, 80, 80), ["UnionColoring"] = false}
})
end
-- YEMEK HAZIRLAMA MASASI
local prepTable = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(20, 3, -42), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = prepTable, ["CFrame"] = CFrame.new(20, 3, -42), ["Size"] = Vector3.new(6, 2, 3)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = prepTable, ["Color"] = Color3.fromRGB(70, 70, 70), ["UnionColoring"] = false}
})
-- ÇATAL-BIÇAK-KAŞIK
local utensils = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(20, 3.6, -42), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = utensils, ["CFrame"] = CFrame.new(20, 3.6, -42), ["Size"] = Vector3.new(4, 0.2, 2)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = utensils, ["Color"] = Color3.fromRGB(150, 150, 150), ["UnionColoring"] = false}
})
-- EXIT KAPISI
local exitDoor = serverEndpoint:InvokeServer("CreatePart", "Normal", CFrame.new(0, 3, -57.4), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = exitDoor, ["CFrame"] = CFrame.new(0, 3, -57.4), ["Size"] = Vector3.new(4, 6, 1)}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = exitDoor, ["Color"] = Color3.fromRGB(80, 80, 80), ["UnionColoring"] = false}
})
serverEndpoint:InvokeServer("SyncCollision", {
{["Part"] = exitDoor, ["CanCollide"] = false}
})
-- ÇİTLER (Base etrafında)
local fencePositions = {
{pos = CFrame.new(0, 2, -80), size = Vector3.new(100, 4, 2)}, -- Arka çit
{pos = CFrame.new(0, 2, 20), size = Vector3.new(100, 4, 2)}, -- Ön çit
{pos = CFrame.new(50, 2, -30), size = Vector3.new(2, 4, 100)}, -- Sağ çit
{pos = CFrame.new(-50, 2, -30), size = Vector3.new(2, 4, 100)} -- Sol çit
}
for _, fence in ipairs(fencePositions) do
local fencePart = serverEndpoint:InvokeServer("CreatePart", "Normal", fence.pos, workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = fencePart, ["CFrame"] = fence.pos, ["Size"] = fence.size}
})
serverEndpoint:InvokeServer("SyncColor", {
{["Part"] = fencePart, ["Color"] = Color3.fromRGB(50, 50, 50), ["UnionColoring"] = false}
})
end
-- IŞIKLANDIRMA
local lightPositions = {
CFrame.new(0, 9, 0), -- Safe Room
CFrame.new(0, 9, -20), -- Koridor
CFrame.new(0, 9, -45), -- Yemekhane
CFrame.new(20, 9, -45) -- Kitchen
}
for _, pos in ipairs(lightPositions) do
local light = serverEndpoint:InvokeServer("CreatePart", "Normal", pos, workspace)
serverEndpoint:InvokeServer("CreateLights", {
{["Part"] = light, ["LightType"] = "PointLight"}
})
serverEndpoint:InvokeServer("SyncLighting", {
{["Part"] = light, ["LightType"] = "PointLight", ["Brightness"] = 3, ["Color"] = Color3.new(1, 1, 1)}
})
serverEndpoint:InvokeServer("SyncMaterial", {
{["Part"] = light, ["Transparency"] = 1}
})
serverEndpoint:InvokeServer("SyncCollision", {
{["Part"] = light, ["CanCollide"] = false}
})
end
-- SPAWN NOKTASI (Safe Room içinde)
local spawnPoint = serverEndpoint:InvokeServer("CreatePart", "Spawn", CFrame.new(0, 3, 0), workspace)
serverEndpoint:InvokeServer("SyncResize", {
{["Part"] = spawnPoint, ["CFrame"] = CFrame.new(0, 3, 0), ["Size"] = Vector3.new(4, 1, 4)}
})
serverEndpoint:InvokeServer("SyncMaterial", {
{["Part"] = spawnPoint, ["Transparency"] = 1}
})
serverEndpoint:InvokeServer("SyncCollision", {
{["Part"] = spawnPoint, ["CanCollide"] = false}
})
-- Herkesi Safe Room'a ışınla
RequestCommand:InvokeServer(";res all")
wait(1)
RequestCommand:InvokeServer(";teleport all 0 3 0")
end
-- ASKERİ ÜSÜ İNŞA ET
createMilitaryBase()
-- MESAJ
RequestCommand:InvokeServer(";sm 0NKIDD MILITARY BASE CREATED!")
RequestCommand:InvokeServer(";sh WELCOME TO 0NKIDD BASE")
end)
-- MUSIC BUTONLARI
createButton(musicScroll, "0nkidd Theme", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";music 1839246711")
RequestCommand:InvokeServer(";volume inf")
end)
createButton(musicScroll, "Tubers Moan", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";music 6129291390")
RequestCommand:InvokeServer(";volume inf")
end)
createButton(musicScroll, "Stop Music", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";unmusic")
end)
createButton(musicScroll, "Crab Rave", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";music 5410086218")
RequestCommand:InvokeServer(";volume inf")
end)
createButton(musicScroll, "Phonk", function()
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent
RequestCommand:InvokeServer(";music 5356466111")
RequestCommand:InvokeServer(";volume inf")
end)
-- CANVAS BOYUTLARINI AYARLA
local function updateCanvasSizes()
f3xScroll.CanvasSize = UDim2.new(0, 0, 0, f3xLayout.AbsoluteContentSize.Y + 20)
musicScroll.CanvasSize = UDim2.new(0, 0, 0, musicLayout.AbsoluteContentSize.Y + 20)
end
f3xLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(updateCanvasSizes)
musicLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(updateCanvasSizes)
-- TAB DEĞİŞTİRME
f3xTab.MouseButton1Click:Connect(function()
f3xScroll.Visible = true
musicScroll.Visible = false
f3xTab.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
f3xTab.TextColor3 = Color3.fromRGB(0, 0, 0)
musicTab.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
musicTab.TextColor3 = Color3.fromRGB(255, 255, 255)
end)
musicTab.MouseButton1Click:Connect(function()
f3xScroll.Visible = false
musicScroll.Visible = true
musicTab.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
musicTab.TextColor3 = Color3.fromRGB(0, 0, 0)
f3xTab.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
f3xTab.TextColor3 = Color3.fromRGB(255, 255, 255)
end)
-- ICON TIKLAMA
iconButton.MouseButton1Click:Connect(function()
screenGui.Enabled = not screenGui.Enabled
end)
-- KAPAT BUTONU
closeButton.MouseButton1Click:Connect(function()
screenGui.Enabled = false
end)
-- SÜRÜKLEME FONKSİYONU
local dragging = false
local dragInput, dragStart, startPos
local function update(input)
local delta = input.Position - dragStart
mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
titleBar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPos = mainFrame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
titleBar.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then
dragInput = input
end
end)
game:GetService("UserInputService").InputChanged:Connect(function(input)
if input == dragInput and dragging then
update(input)
end
end)
-- BAŞLANGIÇ AYARLARI
updateCanvasSizes()



Tottaly not chatgpt rel, skiddy *