i dont know why this math.value isnt working, i want that when i click, will choose a random number between 1 and 6, but dont work
function onClicked()
if script.Parent.Parent.Parent.Parent.stats.BornZone.Value == "None" then
script.Parent.Parent.Parent.Parent.stats.BornZone.Value = math.random(1,2,3,4,5,6)
end
script.Parent.MouseButton1Click:connect(onClicked)

3 comments
It's a range, not an inclusive list. math.random(6), or math.random(1,6) both do the same.
math.random(1,6)
i did this, but still the same number every time i use, its always 6