So I have a dance pack, but it only works with R16. I want it so in my scripts, if someone has R15 enabled, it will prop a message. Mostly telling them to read the configuration.'
Thanks
Use Humanoid.RigType
. Here's an example:
1 | local humanoid = game:GetService( "Players" ).LocalPlayer.Character.Humanoid |
2 |
3 | if humanoid.RigType = = Enum.HumanoidRigType.R 15 then |
4 | print ( "R15" ) |
5 | else |
6 | print ( "R6" ) |
7 | end |
More info on humanoid.RigType:
http://wiki.roblox.com/index.php?title=API:Class/Humanoid/RigType
http://wiki.roblox.com/index.php?title=API:Enum/HumanoidRigType