NFT that yield ERC20 tokens to owners each day

Hi guys, i want to create a smart contract that have a supply of x NFT what people can mint and every 24 hours the NFT holders get x amount of ERC20 tokens. Like Cyberkongz contract but without the breeding and other extra functions.
Thanks for the help!

Please post more details. What exactly is your question? The way you posted it is very generic.

Post the address of the contract you are basing on.