Making an Npc that gives quest after accepting it

Hello developers, I need some help to make na NPC that give quest to player.

The quests that I wanted is just to search for items around that map that have random spawn places.

Then after the quest, player will talk to the NPC again and if they got all the items, they will get a reward.

Firstly, I already have a gui that works but it can’t give player options to choose yes or no and etc. so that is my first problem.

Second problem is that I don’t know how to script advanced things. I can kind of read scripts but not all of them.

I hope you can help. Have a great day and thank you so much.

This might help you?

Thank you but do you know how I could connect an NPC to this?

You could use a ClickDetector or ProximityPrompt:

https://developer.roblox.com/en-us/articles/proximity-prompts

I want the quest to start after the player talk to the NPC?

Something like dialogues?