Ok, so I made a script that generates smooth Roblox terrain, but it requires a random seed and I don't want to have the same map twice. So I'm getting my seed by
local diffnum = (tick()*10000)
local Seed = math.randomseed(diffnum)
This works, but the seed is so large that there is barely a difference between seeds.
Example =
->15622355456157
->15622355736583
What I want to do is remove the first 7 digits of the number so I get
->5456157
->5736583
Any help with this? Thanks.

1 comment
You can use some string manipulation and do something like tonumber(string.sub(tostring(diffnum),7)), which will get get the 7th character and on of diffnum and convert that returned string to a number again. Hopefully someone may produce a more extensive answer from this comment.