R6 Players can play in R15 game only

Hey! So I’d love to keep my players in R15 only. We got it enabled for R15 in the game settings, but it still allows players to use R6…
Pretty sure the problem will be the fact we got our own create character function. I think it has something to do with these lines:

    local Character
    
    if RunService:IsStudio() then
        Character = Players:CreateHumanoidModelFromUserId(1815324643)
    else
        Character = Players:CreateHumanoidModelFromUserId(Player.UserId)
    end

. CreateHumanoidModelFromUserId maybe does not care about the rig type and takes their default rig type? Not sure. If anyone could help to figure out how to make it R15 only, please do it! :smiley:

1 Like

Yeah, I believe this takes the user’s actual rig setting into account rather than your game’s setting. Maybe GetHumanoidDescriptionFromUserId would work better for you.

1 Like

if u have custom r15 animations then just select standard instead of player choice

1 Like

Thanks so much man, now it works!

1 Like

I never talked about animations, but about the rig type?

2 Likes

no bcuz if u set to standard for r15, it gives some goofy r15 npc anims for everyone

1 Like

But… You can clearly see on the screenshot we use player’s choice?

1 Like

screenshot of script??


`

is there another image

1 Like

Yes, there is lol. The script is not a screenshot tho

1 Like

2 Likes

oh it didnt load for me ok

letter limit

1 Like