Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is Math.randomseed(x) local to the given script?

Asked by 6 years ago

If I set one script to do math.randomseed(x) and the other to do math.random(), will the second script be affected by the randomseed?

1 answer

Log in to vote
0
Answered by 6 years ago

No, it is not. Math.randomseed() sets the global seed for all instances of math.random to use.

0
How do I made it local? I've heard of Random before but idk dominoplayer6 -15 — 6y
Ad

Answer this question