Hello, Please may I have some help with the script I am making? It is meant to give points to a player every time he/she jumps. Any help would be appreciated.
Here is the code:
local player = game.Players.LocalPlayer
local character = script.Parent
local humanoid = character:FindFirstChild("Humanoid")
function addPoints(points)
player:WaitForChild("leaderstats"):WaitForChild("Jump Power").Value = player:WaitForChild("leaderstats"):WaitForChild("Jump Power").Value + points
end
humanoid.Jumping:Connect(function(isActive)
addPoints(0.1, isActive)
end)
There is no console output.

3 comments
make 0.1 to 100.9801.1 = 0.1
Remove the "isActive" argument to addPoints().
ok