--Randomizing a math.random
math.randomseed(os.time())
--the inventory and skin
local skin_gun = math.random(1,3)
local A = math.random(1,3)
local inventory = {"Shotgun", "Pistol", "Rifle"}
--the skin
local skin = {"Red", "Blue", "Purple"}
for P = 1, #inventory do
end
for Skin2 = 1, #skin do
end
if A == 1 then
print("You have "..inventory[A] ..Skin2)
elseif A == 2 then
print("You have "..inventory[A] ..Skin2)
else
print ("You have "..inventory[A] ..Skin2)
end
To embed this project on your website, copy the following code and paste it into your website's HTML: