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

Cant seem to get this to function no matter what, what should i do?

Asked by 6 years ago
game.Players.PlayerAdded:connect(function(player)
    player.CharacterAdded:connect(function(character)
        character.Humanoid.JumpPower = game.Players.LocalPlayer.leaderstats.Leap_Power + 50
    end)
end)

I have this in starter player scripts as a local script and it is still not acting the way it should.


I have been on here way too much today and will leave after this... thanks all

0
here is the thing, it doesn't recognize what you are doing on line 3, idk what you are trying to do either, if u want the jump power to increase say character.Humanoid.JumpPower = character.Humanoid.JumpPower + 50 greatneil80 2647 — 6y
0
trying to set it to the value of a leaderstat with an added amount itsdiplexx 9 — 6y
0
`character.Humanoid.JumpPower = player.leaderstats.Leap_Power + 50` ? T0XN 276 — 6y
0
Are you getting any errors in the output? T0XN 276 — 6y
View all comments (2 more)
0
no itsdiplexx 9 — 6y
0
To simplify this mess i am just trying to save a players Jumppower through a leaderstat value itsdiplexx 9 — 6y

Answer this question