local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/ionlyusegithubformcmods/1-Line-Scripts/main/Mobile%20Friendly%20Orion')))() local Window = OrionLib:MakeWindow({Name = "Skybox & Texture Editor", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"}) local SkyboxTab = Window:MakeTab({ Name = "Skybox", Icon = "rbxassetid://4483345998", PremiumOnly = false }) local skyboxId = "" SkyboxTab:AddTextbox({ Name = "Skybox ID", Default = "", TextDisappear = true, Callback = function(value) skyboxId = "rbxassetid://" .. value end }) SkyboxTab:AddButton({ Name = "Set Skybox", Callback = function() if skyboxId == "" then OrionLib:MakeNotification({ Name = "Error", Content = "Skybox ID is empty!", Image = "rbxassetid://4483345998", Time = 3 }) return end local lighting = game:GetService("Lighting") local skybox = Instance.new("Sky") skybox.Name = "CustomSkybox" skybox.Parent = lighting skybox.SkyboxBk = skyboxId skybox.SkyboxDn = skyboxId skybox.SkyboxFt = skyboxId skybox.SkyboxLf = skyboxId skybox.SkyboxRt = skyboxId skybox.SkyboxUp = skyboxId OrionLib:MakeNotification({ Name = "Success", Content = "Skybox has been set!", Image = "rbxassetid://4483345998", Time = 3 }) end }) local TextureTab = Window:MakeTab({ Name = "Textures", Icon = "rbxassetid://4483345998", PremiumOnly = false }) local textureId = "" TextureTab:AddTextbox({ Name = "Texture ID", Default = "", TextDisappear = true, Callback = function(value) textureId = "rbxassetid://" .. value end }) TextureTab:AddButton({ Name = "Apply Texture", Callback = function() if textureId == "" then OrionLib:MakeNotification({ Name = "Error", Content = "Texture ID is empty!", Image = "rbxassetid://4483345998", Time = 3 }) return end local function applyTextureToAllSides(part) if part:IsA("BasePart") then for _, child in ipairs(part:GetChildren()) do if child:IsA("Texture") then child:Destroy() end end for _, face in ipairs(Enum.NormalId:GetEnumItems()) do local texture = Instance.new("Texture") texture.Texture = textureId texture.Face = face texture.Parent = part end end end for _, part in ipairs(workspace:GetDescendants()) do applyTextureToAllSides(part) end workspace.DescendantAdded:Connect(function(descendant) applyTextureToAllSides(descendant) end) OrionLib:MakeNotification({ Name = "Success", Content = "Texture applied to all parts!", Image = "rbxassetid://4483345998", Time = 3 }) end }) OrionLib:Init()