x = 0
ground = function()
if (x == 330) then
height = -1
else
if (x < 10) then
height = 800
else
if (x < 30) then
height = -100 * math.tan(0.08 * (x - 10) + 1.77) + 75
else
height = 60
end
end
end
x = x + 1
end
grass = function()
height = math.random(2, 7)
end
Sunny-300