Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Mass error when player jumps??

Asked by
Hexcede 52
9 years ago

EDIT: Dear Robloxians, I have this code:

-- h is all of the parts of the players on a model. h[i] is a part of the player (yes I have a for loop.)
mass = h[i]:GetMass()-- equals 14.1
if mass > (14.2 * 2) then
    -- mass of 2 players stuff (hidden for reasons.)
end

my problem is that the mass is 5242888 when the player jumps. Why does this happen? Please help me figure this out! Sincerely, crazycittykat

0
There has to be some crazy messup in your code, because when I did this, I got a total mass of 14.1 on a regular Player's character. Go through your code and make sure that there's no crazy multiplication or something happening somewhere. dyler3 1510 — 9y
0
If you want help, I need more information. You can PM if you're shy about showing code and I will respond with information on what I need to know. alphawolvess 1784 — 9y
0
Thank you for suggestions and help I fugured out the problem with the mass being 29, I forgot to take out the hats mass but now it is 14.1. My problem with jumping exists still though. Hexcede 52 — 9y

Answer this question