Roblox Interview Question

code a bouncing diagonal in a graph