Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Player Point NOT awarded on Level up. Why not? [1 Answer = Question, UNSOLVED]

I have this script here that when you level up, it SHOULD award a Playerpoint. There is about 300K playerpoints available in this game, why won;t it award any?

	if xp.Value > 69 then
		xp.Value = xp.Value - 70
		xp.Value = xp.Value + (xp.Value * 2)
		levels.Value = levels.Value + 1
			local pps = game:GetService("PointsService")
				if pps:GetAwardablePoints() >= 1 then
				pps:AwardPoints(g.userId, 1)
			end
	end
  • Michael

2 comments

0

Note: This isn't the full script, but just a major part of it!

0

I don't see any errors in this script. You will have to recheck other parts of your script with print() to find out where it goes wrong. Otherwise post more code.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.