And the output returns
08:29:03.660 0.3 0.3 - Client - MiningControl:73
08:29:03.661 -1.6653345369377e-16 - Client - MiningControl:74
I’m stumped how if both numbers == 0.3, then why subtracting them isn’t equaling 0 and I get some extravagant random number?
Here’s how I set both those numbers
CentrePercentage = math.random(1, 9) / 10 -- Set CentrePercentage
local Location = 0
while true do
if Pause then
wait(0.25)
end
Location += Speed
BallPercentage = Location -- Set BallPercentage
end