Roblox Forum banner
1 - 2 of 2 Posts

·
Registered
Joined
·
2 Posts
Discussion Starter · #1 ·
So I am making a Murder Mystery game and I am making an inventory system. However, I keep getting this error when I load the data.

This is the code

if v:IsA("Tool") then
playerData["Inventory"][v.Name] = {
["Owned"] = data["Inventory"][v.Name]["Owned"], -- ERROR BREAKPOINT
["Mesh"] = data["Inventory"][v.Name]["Mesh"],
["Texture"] = data["Inventory"][v.Name]["Texture"],
["Gun"] = data["Inventory"][v.Name]["Gun"]
}
end
end
 
1 - 2 of 2 Posts
Top