Ok, so, I ran a small bit of code I made, and what it does is it picks a random number and if the random number is 5, it will tell you. I made it so every frame it would pick a random number between 1 and 30,000, as this is the cursed orb spawn rate. Once it picks 5, it will tell me how long in seconds it would take to spawn. Here's the code if you wanna try it yourself.
The code has no indentation because i cant type in a code box lol
local RS = game:GetService("RunService")
local beginningTime = 0
local numTime = 10
RS.RenderStepped:Connect(function()
local number = math.random(1,30000)
beginningTime = beginningTime + numTime
print("Trying to spawn a Cursed Orb")
if number == 5 then
print("it would take "..beginningTime.." seconds to spawn.")
print(number)
warn("theoretically a cursed orb would have spawned by now.")
wait(math.huge)
end
end)
--run this in command line
EDIT: fixed up some errors
EDIT 2: comment below if there are any errors or something doesn't seem right, i want this to WORK
EDIT 3: Remember to use the COMMAND BAR to run this code, it will not work as a normal script. If you don't know how to use a command bar, google it
EDIT 4: forgot to mention that you have to have the output enabled, because if you don't you won't be able to see anything
EDIT 5: if you wanna try out other items other then(than? idrk) cursed orb, then turn the "numTime" variable to how long the interval is(lets say if we wanted to do death note you would change it to 60 because the interval is 60). then, you change the second number on the math.random() line(in case the 30000) to the rarity of the item(for deathnote it would be 4250). if something doesn't seem right or something doesn't work, tell me in the comments lol
EDIT 6: fixed concatenation error