I want to have a dictionary inside my module script with the player and the dammage they have taken so I can run it through a for loop and make the player take damage at a specific time. Like this
module = {
MrGamerGod1000 = 200
}
what I tried to do is link the damage to the specific player by doing this:
module = {
player.Name = 200
}
The problem here is the game is thinking im trying to set the players name to 200 or something. Can someone tell me how I can link the player and the damage with a different method ?