Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Message that will detect if R15 is being used?

Asked by 6 years ago

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

Log in to vote
2
Answered by
ax_gold 360 Moderation Voter
6 years ago
Edited 6 years ago

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

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. jackalota 9 — 6y
0
My script just says if they have R6 or R15, it doesn't change the player to R15 or R6. ax_gold 360 — 6y
0
But when I insert it, nothing happens? jackalota 9 — 6y
0
Go to View > Output. When you run the game you should see something printed to the output. That is what their script does. starwars5251977 48 — 6y
View all comments (2 more)
0
he wants you to make his gui for him lol AttentionHog 70 — 6y
0
this is spoon feeding, you have to make a GUI yourself happy_gagarara12 13 — 3y
Ad

Answer this question