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

How do I award 5 Player Points to this player? (HELP)

This code/script shows a gui when you get your first kill. Now, how would I award Player Points(5) to this player?

local plr = game.Players.LocalPlayer

moved = false

while true do
	if moved == false and plr.leaderstats.Kills.Value >= 1 then
		moved = true
    	plr.PlayerGui.nicekills.MainFrame.Background.TextLabel:TweenPosition(UDim2.new(0, 0, 4, 0), "Out", "Bounce", 2.5)
		wait(7)
		plr.PlayerGui.nicekills.MainFrame.Background.TextLabel:TweenPosition(UDim2.new(0, 0, 10, 0), "Out", "Bounce", 2.5)
	end
	wait(1)
end

1 answer

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