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
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
This discussion is preserved as it was. New answers, comments, and votes are closed.
6 comments
Didn't work. Im not sure what you are trying to show in your script. I put it in and it didn't force them to switch or R6 or have a popup saying to.
My script just says if they have R6 or R15, it doesn't change the player to R15 or R6.
But when I insert it, nothing happens?
Go to View > Output. When you run the game you should see something printed to the output. That is what their script does.
he wants you to make his gui for him lol
this is spoon feeding, you have to make a GUI yourself