How can I include real-world constellations into my Roblox game and make it more innovative than a sky texture?

I also only want them to be visible at night and to flicker whilst slowly moving across the sky
i tried using beams and particles but they both looked pretty bad i want something i can code. that isn’t
anything related to sky textures. any ideas I’m willing to take anything into account.
WC

One idea for creating flickering stars in Roblox Lua script is to use a combination of scripting and manipulating the lighting in the game. Here’s an example script to get you started:

-- Create a function to randomly generate the position and brightness of a star
local function createStar()
    local star = Instance.new("Part")
    star.Name = "Star"
    star.Shape = Enum.PartType.Ball
    star.Size = Vector3.new(0.5, 0.5, 0.5)
    star.BrickColor = BrickColor.new("White")
    star.Material = Enum.Material.SmoothPlastic
    star.Transparency = 1
    star.Anchored = true
    star.CanCollide = false
    star.CFrame = CFrame.new(
        math.random(-100, 100), -- random x position
        math.random(-20, 20), -- random y position
        math.random(-100, 100) -- random z position
    )
    star.Brightness = math.random(1, 5) -- random brightness
    star.Parent = workspace
    return star
end

-- Create a loop to continuously generate and update stars
while true do
    wait(0.5) -- wait half a second before generating a new star
    local star = createStar()
    while star.Parent do -- loop while the star is still in the game
        wait(0.1) -- wait a tenth of a second before updating the star
        star.Transparency = math.random(5, 50) / 100 -- randomly set transparency
        star.CFrame = star.CFrame * CFrame.Angles(
            math.rad(math.random(-10, 10)), -- random x rotation
            math.rad(math.random(-10, 10)), -- random y rotation
            math.rad(math.random(-10, 10)) -- random z rotation
        )
        star.Brightness = math.random(1, 5) -- randomly set brightness
    end
end

This script creates a function called createStar which generates a new Part instance representing a star. The star is positioned randomly within a certain range and given a random brightness. The script then creates a loop that continuously generates and updates stars.

Within the loop, the script waits half a second before generating a new star, then loops while the star is still in the game. During each iteration of the loop, the script waits a tenth of a second before updating the star. It randomly sets the transparency of the star to create a flickering effect, rotates the star randomly to simulate movement, and randomly adjusts the brightness of the star.

You can modify the script to suit your needs, such as adjusting the positioning range, rotation range, and brightness range of the stars. You can also add more complex movement or animation effects to the stars if you wish.