connect one item to another (casting?)

I should have specified that its only a singular floor that is set off Ill provide some more images to hopefully make it more understandable





These are the specific items with Final_goodbye being just a box collision and Ground_end being a singular floor piece that is deleted all im trying to do is make it when final_goodbye ends it tells Ground_end to go through its line of code and end the game