This repository was archived by the owner on Nov 10, 2023. It is now read-only.
Releases: Rythian2277/Luanoid
Releases · Rythian2277/Luanoid
Release list
v2.0
For more details see the new documentation page.
Fixes
GetNetworkOwner()will now properly runGetAttribute()on the Luanoid character model instead of RootPart. This fixes the Luanoid restoring the NetworkOwner to the player specified throughSetNetworkOwner()which is often overwritten by Roblox's automatic network ownership.- The default setting for
AutoRotateis now back totrue. - Improved falling state by adding raycasts at the corners of the RootPart.
- Dramatically reduced the bouncing effect from when the physics engine is lagging.
Changes
- Added
TakeDamage(number)using this method will preventHealthgoing into negative values compared to directly writing to the property. - Added
MaxSlopeAnglethis property describes the maximum slope the Luanoid can stand on without sliding down. - Added more events
- HealthChanged
- Died
- FreeFalling
- Jumping
- Added
Jumpboolean property. This change removes theJump()method to match Humanoids. - Arguments for creating Luanoids changed from
Luanoid(table|Model)toLuanoid(table?, model?). This change is to allow specifying both custom properties and an existing character model simultaneously. - These properties are now replicated from server to client. Due to these properties being internally replicated as attributes it is now possible to edit these properties through calling
SetAttribute()on the Luanoid's character model without the need of a reference to the Luanoid object.Vector3MoveDirectionVector3LookDirectionnumberHealthnumberMaxHealthnumberWalkSpeednumberJumpPowernumberHipHeightnumberMaxSlopeAnglebooleanAutoRotatebooleanJump