Can someone explain to me how this works and what it does?
GetItemData = function(name)
return game.ReplicatedStorage.Database.Items[name]
end
I'm mainly confused on what the output of name would be, and how would it work when you're calling the function? Sorry if this question seems a little vague, i read about custom functions on the wiki but i just don't really get it, they don't really explain too deeply on it and just give 1 example
