In something I was watching a hero whilst on his way to work heard a lady have
their purse stolen and he said

> 遅刻するとやばいんだけどな

Before he ran off to help her.

I can understand what the first part means, but I don't see what the but
means. But what, exactly?
CC BY-SA 3.0
2016-05-29T22:19:37.543
34484
2016-05-30T00:04:10.910
14586
question
meaning
What does 遅刻するとやばいんだけどな mean?
Let's break the sentence down:

遅刻する = to be late;

と = conjunction that in this case can be translated with "and" (in the sense
of cause/effect);

やばい = depending on the context, means either something like "awful",
"terrible", "risky" etc, or quite the opposite "terrific", "amazing", etc. In
this case is easy to guess which meaning it has though.

んだ = colloquial for のです. Here can be translated simply with "is/is going to
be" (referred to what comes before that). You can find a lot of references
about the んです/のです if you search a bit.

けど = "but","although". In this case probably can be just translated as
"though".

な = is a sentence ending (I think mainly used by men) to indicate
emphasis/emotion.

So you can translate your sentence as: _It's gonna be terrible if I'll be late
though_.

Given the context it seems to me that the hero wants to help the lady but ad
the same time complains (with himself?) that it will be bad if (because of
that) he will be late for work (maybe there is something particularly
important that day at work?). If this is correct, a more free translation
could also be " _Oh man, it's gonna be terrible if I'll be late though..._.

In particular, about けど, you can also look at
[this](https://japanese.stackexchange.com/questions/2086/%E3%81%91%E3%81%A9-at-
the-end-of-the-sentence) question.
CC BY-SA 3.0
2016-05-29T23:27:00.550
34485
2016-05-30T00:04:10.910
2017-04-13T12:43:44.740
-1
14205
34484
answer