How to make a quest system

I made a quest system before , but it’s has bad script so I’m here to look for tips to creating quest system and try to learn some new scripting trick or something

What type of quest system are you making? Is it the one where a quest is dependent on a previous quest or separate quests only?

Kill the boss, Take Damage, Deal Damage … EST