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
