Download

crit damage ,how to do

crit damage ,how to do

This is not answerhub. Ask proper questions, provide a code example what you already tried.
Use a float to determine the probability of a critical hit. Then multiply your standard damage by some multiplier for the critical damage.

Is a zombie plague going around?
I’ve been here for roughly a month and every time I visit the questions get more basic and lazy.

This question is so lacking in context that it’s impossible to determine how even to help.
Is crit damage supposed to be something like a headshot?
Is it supposed to be random chance?
Is it supposed to be pseudo-random?
Or is OP talking about a damage buff ability?