Just add these 2 global variables,
Set its default values to 0.
Make an invisible object and make him collide with it when he reaches the yellow box. Let's call it pointgiver.
On Collision | Destroy pointgiver Object, Set "group" active, add 25 to points
On every tick | set text to temp_points
Now you need a group with this event.
Every 0.5s |
Sub Event - temp_points < points | add 1 to temp_points, Play "pointincrease" sound.
Else - temp_points = points | Play "pointequal" sound. | Set "group" inactive