they look like elderberries but they are about 3 times the size they grow on a tree that has thorns they are a sweet smell about the size of small blueberries thanks guys i could use your help
Well....around here the only thing that grows wild (it is an invasive species) that has berries this time of year that look similar to small blueberries and has thorns is the common buckthorn Rhamnus cathartica but I would not call them sweet smelling. There are others like the alternate-leaf dogwood Cornus alternifolia that get blue berries that are similar looking to elderberries but they don't have thorns.
A picture of what you are trying to ID would help immensely.
Here is a link that might be useful: Cornus alternifolia
ni thats not them the tree is about 20 feet tall the berries have a star shape on the bottom, the blanhes break off easy like a palm tree idk
I wonder if it is Aralia spinosa, Devil's walking stick.
thats it thank are the berries edible it say that the leaves can be cooked down not that i want to
I don't know if the berries are edible.
According to the Plants For A Future Database, no. Only the young leaves are noted as being edible. See link.
Here is a link that might be useful: PFAF - Aralia spinosa