Script not working for spawned objects, inconsistant spawning need help pls, more photo in comments

the spawned ground objects wont recognise my grounded bool variable, making my dino unable to jump.

Also the spawner spawns irregularly, despite the collision detector being at the exact spot needed for two ground objects to connect seemlessly