Hi Mohamed
As Jagan pointed out, you can achieve this using T510S. You can use the "Conditions Time" section to specify the last 8 hours of the shift. Based on that an overtime wage type can be generated for those 8 hours and then you can multiply it with your payment rate.
You can understand the T510S wage type generation in the below document: