You have some things to change there:
-
Random float in range, from and to are the same, so it will be always 5.
-
5 is actually a very small value for a location (it is almost 5 cms I think), try to spawn your actor in editor, then move it +5 in any axis, you probably will note no difference at all. try something bigger, like -500 to 500.
-
Collision handling override, be sure is set to “Always spawn, ignore collision”
-
TransformLocation method I think is used to change from local space to world space, use “PLUS” instead, otherwise will spawn in 0-0-0 of the map.