if ItemFromStorage.ItemInfo.Category.Value == "General" then
-- general stuff
elseif ItemFromStorage.ItemInfo.Category.Value == "Ammo" then
-- ammo stuff
elseif ItemFromStorage.ItemInfo.Category.Value == "Apparel" then
-- apparel stuff
elseif ItemFromStorage.ItemInfo.Category.Value == "Weapons" then
-- weapon stuff
end
Thats the script ^
For some reason it just ignores everything, Anyone got any ideas?

4 comments
ItemFromStorage = Folder, ItemInfo = An int value, Category = String value
Maybe the value does not equal General Ammo Apparel or wepons
It does, I printed the value and it was equal to 'Weapons'
http://wiki.roblox.com/index.php?title=Lua_debugger