Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Message that will detect if R15 is being used?

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

1 answer

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

6 comments

0

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.

0

My script just says if they have R6 or R15, it doesn't change the player to R15 or R6.

0

But when I insert it, nothing happens?

0

Go to View > Output. When you run the game you should see something printed to the output. That is what their script does.

0

he wants you to make his gui for him lol

0

this is spoon feeding, you have to make a GUI yourself

This discussion is preserved as it was. New answers, comments, and votes are closed.