Skip to content

AchievementsService

Service for managing achievements

Inherits: Instance

Properties

  • UseAchievementSound: boolean
  • NotifyAchievements: boolean

Methods

AwardAsync(userID: number, achievementID: number) → nil

Award achievement to the user asynchronously.

HasAchievementAsync(userID: number, achievementID: number) → boolean

Check if player of ID has the achievement, asynchronously.

Events

  • GotAchievement: Fires when the local player got an achievement