local gui = script.Parent
gui:WaitForChild("StartButton").MouseButton1Down:Connect(function()
local children = g("ReplicatedStorage"):WaitForChild("Questions"):GetChildren()
if #children > 0 then
local num = math.random(1, #children) ------
print(children[num].Value)
children[num]:Destroy()
else
print("end")
end
end)
I'm using math.random on line 6 to get a random stringvalue, but it almost always returns the first one.. How do I get a truly random one?

2 comments
what he will use in base to get the random number?
there is no 'true random' but math.randomseed(tick()) should help