It's cause you use Wait 0.02 with a function parameter/local variable.
At the moment your create triggers the function has been already over and the function param isn?t given any more. The only ways I know are to use global or instance variables.
Eg. grand Starry 2 instance variables(functionX, functionY)
+ repeat 7 times
-- create object starry
-- set Stary.functionX to Funtion.Param(0)
-- set Stary.functionY to Funtion.Param(1)
-- Wait 0,02*loopindex
-- Set position starry(starry.functionX, starry.functionY)