Hi there! I am making a game with an egg hatching system, but I don't know how to turn this module script I made into a random rarity / weight choosing system. Can someone explain how to do this, and / or insert a script and explain the piece of script to me so I know what to script into my script and / or change it it fit your script? The script is a module script in the replicated storage.
Thanks For Your Time!
local module = {
["Tier1"] = {
["Cost"] = 25,
["Currency"] = "Coins"
["Pets"] = {-- {Rarity,Damage,Health}
["Duck"] = {40,1,15},
["Blue Duck"] = {20,2,40},
["Red Duck"] = {20,4,20},
["Purple Duck"] = {10,4,35},
["Green Duck"] = {10,3,50}
}
}
}
return module

2 comments
LOL THAT IS UNBALANCED
No its not :>