So in the following code, the math.random() only prints out 5 every single time, so here's the code, and thank you for answering in advance.
game.Players.ChildAdded:connect(function(player)
local color = Instance.new("StringValue")
color.Name = "TorsoColor"
color.Parent = player
local b = math.random(1,5)
print(b)
if b == 1 then
color.Value = "Medium stone grey"
elseif b == 2 then
color.Value = "Dark Blue"
elseif b == 3 then
color.Value = "Maroon"
elseif b == 4 then
color.Value = "Earth green"
elseif b == 5 then
color.Value = "Brown"
end
end)
