So, I have leaderstats, and I did in a server script is add the points in but it wouldnt work? It doesnt even output any errors?
Code:
dumbellEvent.OnServerEvent:Connect(function(plr) local leaderstats = plr.leaderstats if leaderstats then local damage = leaderstats.Damage if damage then damage.Value = damage.Value +0.1 print(damage.Value) end end end)
You are using an IntValue, which can only be an 'Integer'. (A Whole Number)
What you are looking for is a fraction (going by how you are trying to increment the value by .1)
To fix this, you can change the Integer value to a number value