Skip to content

2024r176 Ex1 to 2024r176 Ex2

  1. Breaking Changes
  2. Bug Fixes
  3. New Features

  • Description: The IsLocal global was causing a lot of confusion. So it was renamed to IsWornByMe
  • Usage:
    if RunningInAvatar then
    print('This script is running on an Avatar!')
    if IsWornByMe then
    print('And is being worn by me!!!')
    end
    end
  • Fixed the global variable IsSpawnedByMe, it should now work properly on props
  • AvatarAPI.LocalAvatar is now available globally as a way to get a reference to the Local Player worn Avatar instance
  • Wearer is now available as Avatar property. It returns the Player of the Avatar’s wearer
  • IsFriendsWith(string userId) method is now available on PlayerAPI
  • IsFlying property is now available on LocalPlayer
  • SetPosition and SetRotation methods are now available on LocalPlayer
  • TeleportPlayerTo method with a Quaternion rotation target is now available on LocalPlayer