There are a few telltale signs that you're dealing with a scam text, including:
Spelling or grammatical errors
Excessive use of exclamation points
Unexpected requests for money in return for delivery of a package
Pushy or urgent requests
Misspelled or slightly altered website addresses (e.g., fedx.com, fed-ex.com)