connect one item to another (casting?)

ok so to explain what im doing basically is going to a specific spot that plays an audio then when that audio is done It sends a command sort of thing to the floor and deletes it then ends games iif that makes more sense. so im trying to figure out how to make it delete floor then quit game (end game) from it starting from a object that is different and play its own audio then send to the object that it deletes itself.