How do i make an ingame limited time stock system? (like flash sales)

i wanted to make an in game limited time stock system like those flash sales we usually see in the real world. i just dont know how to create those.

1 Like

datastores

when someone purchases the devproduct, you just minus 1 from the datastore key

usually check the value on client before prompting too, by using a RemoteFunction to get the value of the datastore key

And how about making the limited time? How do i remove it when the time is up?

You can also just do a simple condition on server, you can call the method “:Destroy” on the instance to make it non-accessible for all clients

And sorry forgot to mention this too, you can use the function “tick()”

Ok i will try that :+1: (character 30)