generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Another problem with R15 packages (not a repost)

Previous Thread :: Next Thread 
Creatryx is not online. Creatryx
Joined: 28 Jan 2011
Total Posts: 450
27 May 2017 08:58 PM
So I posted earlier about how to change the package of character using r15, and I got two replies. Neither worked, but I was able to modify the first one to sorta work. The problem now is that after switching to the package I want, the player is buggy in some respects. The first problem is that when jumping, the player doesn't jump, and their legs fall through the ground a bit, and it takes a few seconds to fix (if it does at all). The second is that if the character is tripped, they can't get back up. Sometimes while walking, the character just falls through the ground a bit as if they tried to jump, at random. While stuck in the ground, the character sometimes does the fall animation, if it's of any help. Below is my script.

function r15(char)
local badPackage = char
local goodPackage = game.ServerStorage.Ref
local copy = goodPackage:clone()

for _,part in next,badPackage:getChildren() do
if part:IsA("BasePart") or part:IsA("MeshPart") or part:IsA("Accessory") and part:findFirstChild("tag")==nil then
part:destroy()
end
end

for _,part in next,copy:getChildren() do
if part:IsA("BasePart") or part:IsA("MeshPart") then
local tag=Instance.new("BoolValue")
tag.Name="tag"
tag.Parent=part
part.Parent = char
end
end
copy:destroy()
end

Report Abuse
BlueWizard12345 is not online. BlueWizard12345
Joined: 31 Mar 2012
Total Posts: 906
27 May 2017 09:13 PM
This might help:

wiki.roblox.com/index.php?title=R15_Compatibility_Guide
Report Abuse
Creatryx is not online. Creatryx
Joined: 28 Jan 2011
Total Posts: 450
27 May 2017 09:28 PM
I tried that. The script they gave kills the character immediately.
Report Abuse
Creatryx is not online. Creatryx
Joined: 28 Jan 2011
Total Posts: 450
27 May 2017 10:44 PM
bump
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
27 May 2017 11:39 PM
try also deleting the humanoid
then clone the model of the other package
and bring all its parts and humanoid into the character
then just use a local script to fix the camera by setting the subject back on the humanoid or humanoid root part or model
Report Abuse
2Lit_Dev is not online. 2Lit_Dev
Joined: 22 May 2014
Total Posts: 68
28 Oct 2017 07:59 AM
Use ROBLOX's Rig creator to create a mesh, then rename it from "Dummy" to "StarterCharacter" and then place it inside the StarterPlayer folder


~~2Lit_Dev
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image