Hello there!
I have begun to work on a team and will be making a case system for the game. I would like to tell you about the game however, it is top secret and it would be unfair if I leaked the game without consent of the owner.
Anyway, I am making a case system right now and I would like to know if you have any ideas on how to plan it out. I also have no idea how I would make the rolling bit as I’m not that advanced with the TweenService so please can you give me a hint as to do that.
Here is the code that I have written so far as a base:
local m = {}
m.Cases = {
Test = {
Items = {
"Molten";
"Nightfall";
"Sunset";
"Blue";
"Cyan";
"Green";
};
Rarities = {
{name = "Rare";
rarity = 0.15
};
{name = "Common";
rarity = 0.85;
}
};
Price = {500
}
}
}
m.Knives = {
Molten = {
name = "Molten";
iamgeID = "6328216082";
rarity = "Rare" ;
crafting = true;
trading = true;
};
Midas = {
name = "Midas";
iamgeID = "6328216760";
rarity = "Rare" ;
crafting = true;
trading = true;
};
Nightfall = {
name = "Nightfall";
iamgeID = "6328218954";
rarity = "Rare" ;
crafting = true;
trading = true;
};
No_Name = {
name = "No_Name";
iamgeID = "6328160689";
rarity = "Rare" ;
crafting = true;
trading = true;
};
Anonymous = {
name = "Anonymous";
iamgeID = "6328222011";
rarity = "Rare" ;
crafting = true;
trading = true;
};
Sunset = {
name = "Sunset";
iamgeID = "6328223985";
rarity = "Rare" ;
crafting = true;
trading = true;
};
Pastel = {
name = "Pastel";
iamgeID = "6328225902";
rarity = "Rare" ;
crafting = true;
trading = true;
};
Pitch_Black = {
name = "Pitch Black";
iamgeID = "6328179525";
rarity = "Common" ;
crafting = true;
trading = true;
};
Yellow = {
name = "Yellow";
iamgeID = "6328180235";
rarity = "Common" ;
crafting = true;
trading = true;
};
Cyan = {
name = "Cyan";
iamgeID = "6328182883";
rarity = "Common" ;
crafting = true;
trading = true;
};
Orange = {
name = "Orange";
iamgeID = "6328183446";
rarity = "Common" ;
crafting = true;
trading = true;
};
Blue = {
name = "Blue";
iamgeID = "6328180988";
rarity = "Common" ;
crafting = true;
trading = true;
};
Green = {
name = "Green";
iamgeID = "6328181631";
rarity = "Common" ;
crafting = true;
trading = true;
}
}
return m
Let me know if there are any edits that I need to make to the code that I have so far.
Thanks for the help if you decide to give it,
Luke.