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:
local humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid if humanoid.RigType == Enum.HumanoidRigType.R15 then print("R15") else print("R6") 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