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

How do I easily remove R15 packages?

Asked by
trecept 367 Moderation Voter
5 years ago

I've been searching for a long time and only found a very tricky method that works only 50% of the time. I need a script that can remove a package from an R15 character while they are playing, but I'm totally unsure on how to do this. Can anyone help? Thanks

0
You can turn it off in the game settings. VirtualButReal 0 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

Sorry if this answer is a waste of time, everything I'm about to say is new to me and I haven't put much testing into seeing if this answer will work.

Recently Roblox added a HumanoidDescription instance which allows developers to more easily manipulate the appearance of characters, or so we've been told. The link on the wiki on how to use this update is provided here.

My guess is that using the body parts and passing each part to be a 0 (besides face), you'll have reset the body into the normal blocky character

I would say theoretically, this will be done by doing the below:

-- This must be a server script!
Humanoid -- let's pretend this is already assigned
HumDesc = Instance.new("HumanoidDescription")

if Humanoid then
    HumDesc.Head = 0
    HumDesc.RightArm = 0
        --... You probably get the point

    Humanoid:ApplyDescription(HumDesc) -- Need to pass our newly modified description
    -- Be aware that creating a new HumanoidDescription may default all body colors to black, it may be best to grab the default and modify that to preserve body colors
end

Hope this helped, if you've tested this and achieved no results, please comment and I'll remove my answer.

0
This is all based on the premise that each part's number is associated with a package ID alphawolvess 1784 — 5y
Ad

Answer this question