
math.random sync?
Moderator: Moderators
math.random sync?
I have a Suspicion. So, can anyone tell me whether math.random will sync when invoked within a gadget's synced context? 

Re: math.random sync?
You have to go out of your way to desync.
Code: Select all
local desyncedstring = ''
for i=1,5 do
local t = {} for i = 10,99 do t[{}]=i end
local _,digits = next(t)
desyncedstring = desyncedstring .. digits
end