So try
+ Every tick
-> Set bullet speed to min(distance(x, y, Sprite.X, Sprite.Y)/2, 100)
Where 100 is the max speed
The expression min(a, b) returns the lowest value of the two, so if distance() gets higher than 100, it gets ignored and the game will use the value of 100 instead