55167233gf
(DJ_Galaxy)
#1
hi!
I make a game, the script should award some points from players when the player joined the game!
But, idk why the script not working!
Output error:
ServerScriptService.Script:3: attempt to call a RBXScriptSignal value
My script:
game.Players.PlayerAdded:Connect(function(plr)
wait(3)
game.PointsService.PointsAwarded(plr.UserId, 50)
end)
The correct function is PointsService | Documentation - Roblox Creator Hub
.PointsAwarded is an event which triggers when point is awarded.
game.Players.PlayerAdded:Connect(function(plr)
wait(3)
game:GetService("PointsService"):AwardPoints(plr.UserId, 50)
end)
1 Like
KJry_s
(MalleoZephyris)
#3
If you want to give the player points use
game.PointsService:AwardPoints
1 Like