local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local HttpService = game:GetService("HttpService") local StarterGui = game:GetService("StarterGui") local RunService = game:GetService("RunService") local Workspace = game:GetService("Workspace") local player = Players.LocalPlayer HttpService.HttpEnabled = true local gui = Instance.new("ScreenGui") gui.Name = "samuelpOwer_f3x_gui" gui.Parent = player:WaitForChild("PlayerGui") gui.ResetOnSpawn = false local main = Instance.new("Frame") main.Parent = gui main.Size = UDim2.new(0, 420, 0, 500) main.Position = UDim2.new(0.5, -210, 0.5, -250) main.BackgroundTransparency = 1 main.BorderSizePixel = 0 main.Active = true main.Draggable = true local bg = Instance.new("ImageLabel") bg.Parent = main bg.Size = UDim2.new(1,0,1,0) bg.Image = "rbxassetid://134059218571323" bg.ScaleType = Enum.ScaleType.Crop bg.BackgroundTransparency = 1 bg.ZIndex = 0 local overlay = Instance.new("Frame") overlay.Parent = main overlay.Size = UDim2.new(1,0,1,0) overlay.BackgroundColor3 = Color3.fromRGB(0,0,0) overlay.BackgroundTransparency = 0.4 overlay.BorderSizePixel = 0 overlay.ZIndex = 1 local stroke = Instance.new("UIStroke", main) stroke.Thickness = 2 stroke.Color = Color3.fromRGB(0,0,0) local header = Instance.new("Frame") header.Parent = main header.Size = UDim2.new(1,0,0,70) header.BackgroundColor3 = Color3.fromRGB(255,220,0) header.BorderSizePixel = 0 header.ZIndex = 2 local title = Instance.new("TextLabel") title.Parent = header title.Size = UDim2.new(1,0,1,0) title.BackgroundTransparency = 1 title.Text = "samuelpOwer f3x gui" title.TextColor3 = Color3.fromRGB(0,0,0) title.Font = Enum.Font.GothamBold title.TextSize = 20 title.ZIndex = 3 local topButtonRow = Instance.new("Frame") topButtonRow.Parent = main topButtonRow.Position = UDim2.new(0,0,0,80) topButtonRow.Size = UDim2.new(1,0,0,30) topButtonRow.BackgroundTransparency = 1 topButtonRow.ZIndex = 3 local function createTopButton(text, x) local b = Instance.new("TextButton") b.Parent = topButtonRow b.Size = UDim2.new(0,120,0,30) b.Position = UDim2.new(0,x,0,0) b.Text = text b.BackgroundColor3 = Color3.fromRGB(20,20,20) b.BackgroundTransparency = 0.2 b.TextColor3 = Color3.fromRGB(255,255,255) b.Font = Enum.Font.Gotham b.TextSize = 16 b.BorderSizePixel = 0 b.ZIndex = 3 local s = Instance.new("UIStroke", b) s.Color = Color3.fromRGB(255,220,0) s.Thickness = 1 return b end local r6_btn = createTopButton("r6", 20) local btools_top = createTopButton("btools", 300) local function createButton(text, x, y) local b = Instance.new("TextButton") b.Parent = main b.Size = UDim2.new(0,120,0,40) b.Position = UDim2.new(0,x,0,y) b.Text = text b.BackgroundColor3 = Color3.fromRGB(20,20,20) b.BackgroundTransparency = 0.2 b.TextColor3 = Color3.fromRGB(255,255,255) b.Font = Enum.Font.GothamBold b.TextSize = 14 b.BorderSizePixel = 0 b.ZIndex = 3 local s = Instance.new("UIStroke", b) s.Color = Color3.fromRGB(255,220,0) s.Thickness = 1 return b end local theme = createButton("theme", 20, 130) local skybox = createButton("skybox", 160, 130) local troll = createButton("troll", 300, 130) local realm_f3x = createButton("realm f3x", 20, 180) local tp_realm = createButton("tp realm", 160, 180) local decal = createButton("decal", 300, 180) local Allah = createButton("Allah", 20, 230) local title_btn = createButton("title", 160, 230) local char_all = createButton("char all", 300, 230) local float_pad = createButton("float pad", 20, 280) local rc7_cloud = createButton("rc7 cloud", 160, 280) local unanchor = createButton("unanchor", 300, 280) r6_btn.MouseButton1Click:Connect(function() pcall(function() local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent RequestCommand:InvokeServer(";r6 me") end) end) btools_top.MouseButton1Click:Connect(function() pcall(function() local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent RequestCommand:InvokeServer(";btools me") end) end) theme.MouseButton1Click:Connect(function() pcall(function() local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent RequestCommand:InvokeServer(";music 87175996903523 ;volume inf") end) end) skybox.MouseButton1Click:Connect(function() pcall(function() local player = game.Players.LocalPlayer local char = player.Character local tool for i,v in player:GetDescendants() do if v.Name == "SyncAPI" then tool = v.Parent end end for i,v in game.ReplicatedStorage:GetDescendants() do if v.Name == "SyncAPI" then tool = v.Parent end end --craaa remote = tool.SyncAPI.ServerEndpoint function _(args) remote:InvokeServer(unpack(args)) end function SetCollision(part,boolean) local args = { [1] = "SyncCollision", [2] = { [1] = { ["Part"] = part, ["CanCollide"] = boolean } } } _(args) end function SetAnchor(boolean,part) local args = { [1] = "SyncAnchor", [2] = { [1] = { ["Part"] = part, ["Anchored"] = boolean } } } _(args) end function CreatePart(cf,parent) local args = { [1] = "CreatePart", [2] = "Normal", [3] = cf, [4] = parent } _(args) end function DestroyPart(part) local args = { [1] = "Remove", [2] = { [1] = part } } _(args) end function MovePart(part,cf) local args = { [1] = "SyncMove", [2] = { [1] = { ["Part"] = part, ["CFrame"] = cf } } } _(args) end function Resize(part,size,cf) local args = { [1] = "SyncResize", [2] = { [1] = { ["Part"] = part, ["CFrame"] = cf, ["Size"] = size } } } _(args) end function AddMesh(part) local args = { [1] = "CreateMeshes", [2] = { [1] = { ["Part"] = part } } } _(args) end function SetMesh(part,meshid) local args = { [1] = "SyncMesh", [2] = { [1] = { ["Part"] = part, ["MeshId"] = "rbxassetid://"..meshid } } } _(args) end function SetTexture(part, texid) local args = { [1] = "SyncMesh", [2] = { [1] = { ["Part"] = part, ["TextureId"] = "rbxassetid://"..texid } } } _(args) end function SetName(part, stringg) local args = { [1] = "SetName", [2] = { [1] = part }, [3] = stringg } _(args) end function MeshResize(part,size) local args = { [1] = "SyncMesh", [2] = { [1] = { ["Part"] = part, ["Scale"] = size } } } _(args) end function Weld(part1, part2,lead) local args = { [1] = "CreateWelds", [2] = { [1] = part1, [2] = part2 }, [3] = lead } _(args) end function SetLocked(part,boolean) local args = { [1] = "SetLocked", [2] = { [1] = part }, [3] = boolean } _(args) end function SetTrans(part,int) local args = { [1] = "SyncMaterial", [2] = { [1] = { ["Part"] = part, ["Transparency"] = int } } } _(args) end function CreateSpotlight(part) local args = { [1] = "CreateLights", [2] = { [1] = { ["Part"] = part, ["LightType"] = "SpotLight" } } } _(args) end function SyncLighting(part,brightness) local args = { [1] = "SyncLighting", [2] = { [1] = { ["Part"] = part, ["LightType"] = "SpotLight", ["Brightness"] = brightness } } } _(args) end function Color(part,color) local args = { [1] = "SyncColor", [2] = { [1] = { ["Part"] = part, ["Color"] = color --[[Color3]], ["UnionColoring"] = false } } } _(args) end function SpawnDecal(part,side) local args = { [1] = "CreateTextures", [2] = { [1] = { ["Part"] = part, ["Face"] = side, ["TextureType"] = "Decal" } } } _(args) end function AddDecal(part,asset,side) local args = { [1] = "SyncTexture", [2] = { [1] = { ["Part"] = part, ["Face"] = side, ["TextureType"] = "Decal", ["Texture"] = "rbxassetid://".. asset } } } _(args) end function Sky(id) e = char.HumanoidRootPart.CFrame.x f = char.HumanoidRootPart.CFrame.y g = char.HumanoidRootPart.CFrame.z CreatePart(CFrame.new(math.floor(e),math.floor(f),math.floor(g)) + Vector3.new(0,6,0),workspace) for i,v in game.Workspace:GetDescendants() do if v:IsA("BasePart") and v.CFrame.x == math.floor(e) and v.CFrame.z == math.floor(g) then --spawn(function() SetName(v,"Sky") AddMesh(v) --end) --spawn(function() SetMesh(v,"111891702759441") SetTexture(v,id) --end) MeshResize(v,Vector3.new(9000,9000,9000)) SetLocked(v,true) end end end Sky("115323567713634") end) end) decal.MouseButton1Click:Connect(function() pcall(function() local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local tool local function findSyncAPITool() for _, v in pairs(player:GetDescendants()) do if v.Name == "SyncAPI" then return v.Parent end end for _, v in pairs(ReplicatedStorage:GetDescendants()) do if v.Name == "SyncAPI" then return v.Parent end end end tool = findSyncAPITool() if not tool then warn("SyncAPI tool not found!") return end local remote = tool.SyncAPI.ServerEndpoint local function invoke(args) remote:InvokeServer(unpack(args)) end local function SetCollision(part, boolean) invoke({ "SyncCollision", { { Part = part, CanCollide = boolean } } }) end local function SetAnchor(part, boolean) invoke({ "SyncAnchor", { { Part = part, Anchored = boolean } } }) end local function CreatePart(cf, parent) invoke({ "CreatePart", "Normal", cf, parent }) end local function DestroyPart(part) invoke({ "Remove", { part } }) end local function MovePart(part, cf) invoke({ "SyncMove", { { Part = part, CFrame = cf } } }) end local function Resize(part, size, cf) invoke({ "SyncResize", { { Part = part, Size = size, CFrame = cf } } }) end local function AddMesh(part) invoke({ "CreateMeshes", { { Part = part } } }) end local function SetMesh(part, meshId) invoke({ "SyncMesh", { { Part = part, MeshId = "rbxassetid://" .. meshId } } }) end local function SetTexture(part, texId) invoke({ "SyncMesh", { { Part = part, TextureId = "rbxassetid://" .. texId } } }) end local function SetName(part, name) invoke({ "SetName", { part }, name }) end local function MeshResize(part, size) invoke({ "SyncMesh", { { Part = part, Scale = size } } }) end local function Weld(part1, part2, lead) invoke({ "CreateWelds", { part1, part2 }, lead }) end local function SetLocked(part, boolean) invoke({ "SetLocked", { part }, boolean }) end local function SetTransparency(part, transparency) invoke({ "SyncMaterial", { { Part = part, Transparency = transparency } } }) end local function CreateSpotlight(part) invoke({ "CreateLights", { { Part = part, LightType = "SpotLight" } } }) end local function SyncLighting(part, brightness) invoke({ "SyncLighting", { { Part = part, LightType = "SpotLight", Brightness = brightness } } }) end local function SetColor(part, color) invoke({ "SyncColor", { { Part = part, Color = color, UnionColoring = false } } }) end local function SpawnDecal(part, face) invoke({ "CreateTextures", { { Part = part, Face = face, TextureType = "Decal" } } }) end local function AddDecal(part, assetId, face) invoke({ "SyncTexture", { { Part = part, Face = face, TextureType = "Decal", Texture = "rbxassetid://" .. assetId } } }) end local function SpamDecal(assetId) for _, v in pairs(workspace:GetDescendants()) do if v:IsA("BasePart") then spawn(function() SetLocked(v, false) for _, face in pairs(Enum.NormalId:GetEnumItems()) do SpawnDecal(v, face) AddDecal(v, assetId, face) end end) end end end SpamDecal("101405389277595") end) end) Allah.MouseButton1Click:Connect(function() pcall(function() local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent RequestCommand:InvokeServer(";music 135009652401688 ;volume inf ") end) end) tp_realm.MouseButton1Click:Connect(function() pcall(function() local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent RequestCommand:InvokeServer(";forceplace others 72853337350583") end) end) title_btn.MouseButton1Click:Connect(function() pcall(function() local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent RequestCommand:InvokeServer(";titley me samuelpOwer") end) end) char_all.MouseButton1Click:Connect(function() pcall(function() local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent RequestCommand:InvokeServer(";char all samuel2023XD10") end) end) unanchor.MouseButton1Click:Connect(function() pcall(function() local player = game.Players.LocalPlayer local char = player.Character local tool for i,v in player:GetDescendants() do if v.Name == "SyncAPI" then tool = v.Parent end end for i,v in game.ReplicatedStorage:GetDescendants() do if v.Name == "SyncAPI" then tool = v.Parent end end --craaa remote = tool.SyncAPI.ServerEndpoint function _(args) remote:InvokeServer(unpack(args)) end function SetCollision(part,boolean) local args = { [1] = "SyncCollision", [2] = { [1] = { ["Part"] = part, ["CanCollide"] = boolean } } } _(args) end function SetAnchor(boolean,part) local args = { [1] = "SyncAnchor", [2] = { [1] = { ["Part"] = part, ["Anchored"] = boolean } } } _(args) end function CreatePart(cf,parent) local args = { [1] = "CreatePart", [2] = "Normal", [3] = cf, [4] = parent } _(args) end function DestroyPart(part) local args = { [1] = "Remove", [2] = { [1] = part } } _(args) end function MovePart(part,cf) local args = { [1] = "SyncMove", [2] = { [1] = { ["Part"] = part, ["CFrame"] = cf } } } _(args) end function Resize(part,size,cf) local args = { [1] = "SyncResize", [2] = { [1] = { ["Part"] = part, ["CFrame"] = cf, ["Size"] = size } } } _(args) end function AddMesh(part) local args = { [1] = "CreateMeshes", [2] = { [1] = { ["Part"] = part } } } _(args) end function SetMesh(part,meshid) local args = { [1] = "SyncMesh", [2] = { [1] = { ["Part"] = part, ["MeshId"] = "rbxassetid://"..meshid } } } _(args) end function SetTexture(part, texid) local args = { [1] = "SyncMesh", [2] = { [1] = { ["Part"] = part, ["TextureId"] = "rbxassetid://"..texid } } } _(args) end function SetName(part, stringg) local args = { [1] = "SetName", [2] = { [1] = workspace.Part }, [3] = stringg } _(args) end function MeshResize(part,size) local args = { [1] = "SyncMesh", [2] = { [1] = { ["Part"] = part, ["Scale"] = size } } } _(args) end function Weld(part1, part2,lead) local args = { [1] = "CreateWelds", [2] = { [1] = part1, [2] = part2 }, [3] = lead } _(args) end function SetLocked(part,boolean) local args = { [1] = "SetLocked", [2] = { [1] = part }, [3] = boolean } _(args) end function SetTrans(part,int) local args = { [1] = "SyncMaterial", [2] = { [1] = { ["Part"] = part, ["Transparency"] = int } } } _(args) end function CreateSpotlight(part) local args = { [1] = "CreateLights", [2] = { [1] = { ["Part"] = part, ["LightType"] = "SpotLight" } } } _(args) end function SyncLighting(part,brightness) local args = { [1] = "SyncLighting", [2] = { [1] = { ["Part"] = part, ["LightType"] = "SpotLight", ["Brightness"] = brightness } } } _(args) end function Unanchor() for i,v in game.Workspace:GetDescendants() do spawn(function() SetLocked(v,false) SetAnchor(false,v) end) end end Unanchor() end) end) float_pad.MouseButton1Click:Connect(function() pcall(function() local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local tool for _, obj in player:GetDescendants() do if obj.Name == "SyncAPI" then tool = obj.Parent end end for _, obj in game.ReplicatedStorage:GetDescendants() do if obj.Name == "SyncAPI" then tool = obj.Parent end end local SyncAPI = tool.SyncAPI local part local baseOffsetY = -4.5 local currentOffsetY = baseOffsetY local lowerAmount = -0.8 local timer = 0 local lowerInterval = 1 local velocityThreshold = 2 local function _(args) SyncAPI:Invoke(unpack(args)) end local function CreatePart(cf, parent) _( {"CreatePart","Normal",cf,parent} ) end local function SetAnchor(p, anchored) _( {"SyncAnchor",{{Part=p,Anchored=anchored}}} ) end local function AddMesh(p) _( {"CreateMeshes",{{Part=p}}} ) end local function SetMesh(p, meshId) _( {"SyncMesh",{{Part=p,MeshId="rbxassetid://" .. meshId}}} ) end local function ResizeMesh(p, size) _( {"SyncMesh",{{Part=p,Scale=size}}} ) end local function SetColor(p, color) _( {"SyncColor",{{Part=p,Color=color}}} ) end local function SetTransparency(p, value) _( {"SyncTransparency",{{Part=p,Transparency=value}}} ) end local function SyncRotate(cf) if not part or not part.Parent then return end _( {"SyncRotate",{{Part=part,CFrame=cf}}} ) end local function Platform() local hrp = character:FindFirstChild("HumanoidRootPart") if not hrp then return end local humanoid = character:FindFirstChild("Humanoid") if not humanoid then return end local startCF = hrp.CFrame + Vector3.new(0, baseOffsetY, 0) CreatePart(startCF, workspace) for _, obj in workspace:GetDescendants() do if obj:IsA("BasePart") and (obj.Position - startCF.Position).Magnitude < 0.1 then part = obj part.Name = "Floating" SetAnchor(part, true) AddMesh(part) SetMesh(part, "746995673") ResizeMesh(part, Vector3.new(7, 1, 7)) SetColor(part, Color3.fromRGB(128, 0, 128)) SetTransparency(part, 0.1) local connection connection = RunService.Heartbeat:Connect(function(dt) if not part or not part.Parent or not hrp or not humanoid then if connection then connection:Disconnect() end return end local isInAir = (humanoid.FloorMaterial == Enum.Material.Air) local isStopped = (hrp.Velocity.Magnitude < velocityThreshold) if isInAir and isStopped then timer = timer + dt if timer >= lowerInterval then timer = 0 currentOffsetY = currentOffsetY + lowerAmount end else timer = 0 currentOffsetY = baseOffsetY end local cf = hrp.CFrame * CFrame.new(0, currentOffsetY, 0) SyncRotate(cf) part.CFrame = cf end) break end end end Platform() local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local char = player.Character or player.CharacterAdded:Wait() local tool for _,v in player:GetDescendants() do if v.Name == "SyncAPI" then tool = v.Parent end end for _,v in game.ReplicatedStorage:GetDescendants() do if v.Name == "SyncAPI" then tool = v.Parent end end local remote = tool.SyncAPI.ServerEndpoint local function _(args) remote:InvokeServer(unpack(args)) end function CreatePart(cf,parent) _( {"CreatePart","Normal",cf,parent} ) end function SetAnchor(b,p) _( {"SyncAnchor",{{Part=p,Anchored=b}}} ) end function SetCollision(p,b) _( {"SyncCollision",{{Part=p,CanCollide=b}}} ) end function Resize(p,s,cf) _( {"SyncResize",{{Part=p,Size=s,CFrame=cf}}} ) end function MovePart(p,cf) _( {"SyncMove",{{Part=p,CFrame=cf}}} ) end function SetTransparency(p,t) _( {"SyncMaterial",{{Part=p,Transparency=t}}} ) end function DestroyPart(p) _( {"Remove",{p}} ) end local platform local baseOffsetY = -4.5 local currentOffsetY = baseOffsetY local lowerAmount = -0.8 local timer = 0 local lowerInterval = 1 local velocityThreshold = 2 local function CreateInvisiblePlatform() local hrp = char:WaitForChild("HumanoidRootPart") local humanoid = char:WaitForChild("Humanoid") local startCF = hrp.CFrame * CFrame.new(0, baseOffsetY, 0) CreatePart(startCF, workspace) task.wait(0.5) for _,v in workspace:GetChildren() do if v:IsA("BasePart") and (v.Position - startCF.Position).Magnitude < 5 then platform = v SetAnchor(true, platform) SetCollision(platform, true) Resize(platform, Vector3.new(16, 1, 16), platform.CFrame) SetTransparency(platform, 1) break end end end RunService.Heartbeat:Connect(function(dt) if not platform or not platform.Parent then return end local hrp = char:FindFirstChild("HumanoidRootPart") local humanoid = char:FindFirstChild("Humanoid") if not hrp or not humanoid then return end local isInAir = (humanoid.FloorMaterial == Enum.Material.Air) local isStopped = (hrp.Velocity.Magnitude < velocityThreshold) if isInAir and isStopped then timer = timer + dt if timer >= lowerInterval then timer = 0 currentOffsetY = currentOffsetY + lowerAmount end else timer = 0 currentOffsetY = baseOffsetY end local targetCF = hrp.CFrame * CFrame.new(0, currentOffsetY, 0) MovePart(platform, targetCF) end) CreateInvisiblePlatform() player.CharacterAdded:Connect(function(newChar) char = newChar if platform then DestroyPart(platform) end timer = 0 currentOffsetY = baseOffsetY task.wait(3) CreateInvisiblePlatform() end) end) end) troll.MouseButton1Click:Connect(function() pcall(function() local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent RequestCommand:InvokeServer(";char all youbeentrolled ;music 111117398425624 ;volume inf ;disco ;servermessage trxlled lel ;title all team samuelpOwer") end) end) realm_f3x.MouseButton1Click:Connect(function() pcall(function() local ReplicatedStorage = game:GetService("ReplicatedStorage") local rq = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent local player = game.Players.LocalPlayer local char = player.Character or player.CharacterAdded:Wait() local backpack = player.Backpack local function getf3x() 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 f3x = getf3x() if not f3x then warn("you dont have f3x skid") return end local syncapi = f3x.SyncAPI local serverendpoint = syncapi.ServerEndpoint local function _(args) serverendpoint:InvokeServer(unpack(args)) end local function DestroyPart(part) _({"Remove", {part}}) end local function unanchorall() for _, v in ipairs(workspace:GetDescendants()) do if v:IsA("BasePart") or v:IsA("UnionOperation") then spawn(function() DestroyPart(v) end) end end end local function realm() rq:InvokeServer(";punish all") unanchorall() task.wait(1) local model_id = "135686346466871" local imported_model = game:GetObjects("rbxassetid://" .. model_id)[1] imported_model.Parent = game.Lighting for _, v in next, imported_model:GetDescendants() do pcall(function() v.Anchored = true end) end local plr = game:GetService("Players").LocalPlayer local f3x_name = "Building Tools" local destination = workspace coroutine.wrap(function() task.wait(10) imported_model.Parent = nil end)() function f3xbuildpart(part, cframe, destination, size, transparency, colour, material, collision, fake_part) local allPartsData = {} table.insert(allPartsData, { Type = fake_part:IsA("WedgePart") and "Wedge" or fake_part:IsA("Seat") and "Seat" or fake_part:IsA("VehicleSeat") and "VehicleSeat" or fake_part:IsA("TrussPart") and "Truss" or fake_part:IsA("SpawnLocation") and "Spawn" or fake_part.Shape == Enum.PartType.Block and "Normal" or fake_part.Shape == Enum.PartType.Ball and "Ball" or fake_part.Shape == Enum.PartType.Cylinder and "Cylinder", CFrame = fake_part.CFrame, Size = fake_part.Size, Transparency = fake_part.Transparency, Color = fake_part.Color, Material = fake_part.Material, Collision = fake_part.CanCollide, Ref = fake_part, }) local sync = plr.Backpack:FindFirstChild(f3x_name).SyncAPI.ServerEndpoint local partMap = {} for _, data in ipairs(allPartsData) do local created = sync:InvokeServer("CreatePart", data.Type, data.CFrame, destination) partMap[data.Ref] = created end for _, data in ipairs(allPartsData) do local created = partMap[data.Ref] if not created then continue end spawn(function() if data.Size ~= Vector3.new(4,1,2) then sync:InvokeServer("SyncResize", { { Part = created, CFrame = created.CFrame, Size = data.Size } }) end if data.Transparency ~= 0 then sync:InvokeServer("SyncMaterial", { { Part = created, Transparency = data.Transparency } }) end if data.Color ~= BrickColor.new("Medium stone grey").Color then sync:InvokeServer("SyncColor", { { Part = created, Color = data.Color, UnionColoring = true } }) end if data.Material ~= "Plastic" then sync:InvokeServer("SyncMaterial", { { Part = created, Material = data.Material } }) end if data.Collision ~= true then sync:InvokeServer("SyncCollision", { { Part = created, CanCollide = data.Collision } }) end local ref = data.Ref local texture = ref:FindFirstChildOfClass("Texture") if texture then sync:InvokeServer("CreateTextures", { { Part = created, Face = texture.Face, TextureType = "Texture" } }) sync:InvokeServer("SyncTexture", { { Part = created, Face = texture.Face, TextureType = "Texture", StudsPerTileU = texture.StudsPerTileU, StudsPerTileV = texture.StudsPerTileV, Texture = texture.Texture, Transparency = texture.Transparency } }) end local decal = ref:FindFirstChildOfClass("Decal") if decal then sync:InvokeServer("CreateTextures", { { Part = created, Face = decal.Face, TextureType = "Decal" } }) sync:InvokeServer("SyncTexture", { { Part = created, Face = decal.Face, TextureType = "Decal", Texture = decal.Texture, Transparency = decal.Transparency } }) end local mesh = ref:FindFirstChildOfClass("SpecialMesh") if mesh then sync:InvokeServer("CreateMeshes", { { Part = created } }) sync:InvokeServer("SyncMesh", { { Part = created, MeshId = mesh.MeshId, TextureId = mesh.TextureId, Scale = mesh.Scale } }) end local light1 = ref:FindFirstChildOfClass("SpotLight") if light1 then sync:InvokeServer("CreateLights", { { Part = created, LightType = "SpotLight" } }) sync:InvokeServer("SyncLighting", { { Part = created, LightType = "SpotLight", Color = light1.Color, Range = light1.Range, Face = light1.Face, Angle = light1.Angle, Shadows = light1.Shadows } }) end local light2 = ref:FindFirstChildOfClass("PointLight") if light2 then sync:InvokeServer("CreateLights", { { Part = created, LightType = "PointLight" } }) sync:InvokeServer("SyncLighting", { { Part = created, LightType = "PointLight", Color = light2.Color, Range = light2.Range, Shadows = light2.Shadows } }) end end) end end for _, part in next, imported_model:GetDescendants() do if part:IsA("Part") then if part.Shape == Enum.PartType.Block then task.spawn(function() f3xbuildpart("Normal", part.CFrame, destination, part.Size, part.Transparency, part.Color, part.Material, part.CanCollide, part) end) elseif part.Shape == Enum.PartType.Ball then task.spawn(function() f3xbuildpart("Ball", part.CFrame, destination, part.Size, part.Transparency, part.Color, part.Material, part.CanCollide, part) end) elseif part.Shape == Enum.PartType.Cylinder then task.spawn(function() f3xbuildpart("Cylinder", part.CFrame, destination, part.Size, part.Transparency, part.Color, part.Material, part.CanCollide, part) end) end elseif part:IsA("WedgePart") then task.spawn(function() f3xbuildpart("Wedge", part.CFrame, destination, part.Size, part.Transparency, part.Color, part.Material, part.CanCollide, part) end) elseif part:IsA("Seat") then task.spawn(function() f3xbuildpart("Seat", part.CFrame, destination, part.Size, part.Transparency, part.Color, part.Material, part.CanCollide, part) end) elseif part:IsA("TrussPart") then task.spawn(function() f3xbuildpart("Truss", part.CFrame, destination, part.Size, part.Transparency, part.Color, part.Material, part.CanCollide, part) end) elseif part:IsA("VehicleSeat") then task.spawn(function() f3xbuildpart("VehicleSeat", part.CFrame, destination, part.Size, part.Transparency, part.Color, part.Material, part.CanCollide, part) end) elseif part:IsA("SpawnLocation") then task.spawn(function() f3xbuildpart("Spawn", part.CFrame, destination, part.Size, part.Transparency, part.Color, part.Material, part.CanCollide, part) end) end end print("Finished build.") task.wait(5) end realm() task.wait(15) rq:InvokeServer(";respawn all") end) end)