So I'm trying to use math.random() to generate a different random number for each player when they load into the game
wait(5) math.randomseed(game:GetService("RunService").Stepped:wait()) rando = math.random(0,100) if rando > 50 then script.Parent.Value = "Thing1" elseif rando < 50 then script.Parent.Value = "Thing2" end
I put this inside a script inside a string value. I am trying to generate a 1/2 chance. However just about all players get the same value everytime. I think it has to do with the seed since its the same seed for every player, since all the random numbers are generated at once. I tried using tick(), but since a random number is generated for each player at the same time, each seed is the same. Any ideas?