I am making a screensaver (Yes, I know) and I need it to travel to a random position every five seconds. The problem is, math.random doesn't do decimals, making the script useless.
while true do
math.randomseed(tick())
local ab = math.random(0,7)
local ac = math.random(0,5)
script.Parent:TweenPosition(UDim2.new(0.ab, 0,0.ac, 0), "InOut", "Quad", 5)
wait(5)
end
