I’m trying to create a quest system for my game and I want to set up a system where a player gets rewarded points for completing a quest. I want my code to be able to give points to the player when they step on all of the clouds, and then a separate code that changes the big red “X” in the quest log to a big green check mark. I’m also hoping this saves so if they complete the quest and rejoin the game at another time, they still have that quest completed and their points.
I’m not, and that should be assumed by you or anybody else who is replying. I am asking what functions to use for these systems.
You can create a value and then update it for each cloud the player touches. If there’s like, for example, 5 clouds and the value is equal to 5, then you give the player the points. You can use .Changed event.
then a separate code that changes the big red “X” in the quest log to a big green check mark.
As soon as you give the points to the player, you can fire a RemoteEvent to the client, and handle the gui there.
I’m also hoping this saves so if they complete the quest…
You can also create a BoolValue for each quest and then make the value true, once the player finishes it. Once you did this, save the value with DataStore
Sorry for my bad english. Hope you understand.