[REQUEST]Train derailment

Hey guys^^. I have a working train in my server and it´s working fine like in normal Gta. Now i want to make it possible to make the train derail if it would get hit for example by an stickybomb. Can someone help me with that how i could do it? Don´t really have an idea for it.