I was wondering how I could use a variable in the name of a dictionary. I will give an example.
local name = player.Name
weaponType = {
["Penguin22305"] = Hammer
}
print(weaponType.name) <----- here the script thinks that "name" is in the dictionary when I actually
-----want to reference the variable "name". How could I do this?