This is what i got, The LocalScript says
local viewport = script.Parent:WaitForChild("ViewportFrame")
local camera = script.Parent:WaitForChild("Camera")
viewport.CurrentCamera = camera
local SKYBOX_IDS = {
Top = "rbxassetid://1213421526",
Bottom = "rbxassetid://1213421623",
Front = "rbxassetid://1213421704",
Back = "rbxassetid://1213421818",
Left = "rbxassetid://1213421902",
Right = "rbxassetid://1213421992",
}
local size = 500
local function createFace(name, id)
local part = Instance.new("Part")
part.Name = name
part.Size = Vector3.new(size, size, 1)
part.Anchored = true
part.CanCollide = false
part.Material = Enum.Material.SmoothPlastic
local decal = Instance.new("Decal")
decal.Face = Enum.NormalId.Front
decal.Texture = id
decal.Parent = part
return part
end
local top = createFace("Top", SKYBOX_IDS.Top)
top.CFrame = CFrame.new(0, size/2, 0) * CFrame.Angles(math.rad(-90),0,0)
local bottom = createFace("Bottom", SKYBOX_IDS.Bottom)
bottom.CFrame = CFrame.new(0, -size/2, 0) * CFrame.Angles(math.rad(90),0,0)
local front = createFace("Front", SKYBOX_IDS.Front)
front.CFrame = CFrame.new(0, 0, -size/2)
local back = createFace("Back", SKYBOX_IDS.Back)
back.CFrame = CFrame.new(0, 0, size/2) * CFrame.Angles(0, math.rad(180),0)
local left = createFace("Left", SKYBOX_IDS.Left)
left.CFrame = CFrame.new(-size/2, 0, 0) * CFrame.Angles(0, math.rad(90),0)
local right = createFace("Right", SKYBOX_IDS.Right)
right.CFrame = CFrame.new(size/2, 0, 0) * CFrame.Angles(0, math.rad(-90),0)
for _, face in pairs({top, bottom, front, back, left, right}) do
face.Parent = viewport
end
camera.CFrame = CFrame.new(0, 0, 0)