This is the current script however it isn't working
while true do for i, v in pairs(script.Parent:GetDescendants()) do if v.Name == "DustParticles" then
if game.Lighting.ClockTime >= 6.2 and game.Lighting.ClockTime < 17.9 then
game.Workspace.ParticleEmitters.DustParticleEmitter.DustParticles.Transparency = 0
end
if game.Lighting.ClockTime >= 17.9 and game.Lighting.ClockTime < 18 then
game.Workspace.ParticleEmitters.DustParticleEmitter.DustParticles.Transparency = 0.355
end
if game.Lighting.ClockTime >= 18 then
game.Workspace.ParticleEmitters.DustParticleEmitter.DustParticles.Transparency = 0.755
end
end
end

3 comments
There is a special syntax for particle transparency
Which is?
^ NumberSequence. You can see how to use it here : https://developer.roblox.com/api-reference/property/ParticleEmitter/Transparency