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 » Scripting Helpers
Home Search
 

Re: Ragdoll script.

Previous Thread :: Next Thread 
sdfgw is not online. sdfgw
Top 50 Poster
Joined: 08 Jan 2009
Total Posts: 41681
13 Oct 2011 10:38 AM
How would I go about making this? I'm not sure if there's a type of joint that allows easy hinging.
Report Abuse
RoySkillz is not online. RoySkillz
Joined: 26 May 2011
Total Posts: 5967
13 Oct 2011 11:40 AM
ask BCGames
Report Abuse
sdfgw is not online. sdfgw
Top 50 Poster
Joined: 08 Jan 2009
Total Posts: 41681
13 Oct 2011 11:59 AM
y
Report Abuse
AntiBoomz0r is online. AntiBoomz0r
Joined: 02 Oct 2009
Total Posts: 1345
13 Oct 2011 02:08 PM
Instance.new("Glue")?
Report Abuse
BenBonez is not online. BenBonez
Joined: 29 Aug 2008
Total Posts: 19362
13 Oct 2011 02:24 PM
hi sdfgw

Yeah, I just looked at a ragdoll script and it uses Glues.

Here is a part I cut out:

if x[i].Name=="Head" then
local zem=x[i]:Clone()
zem.Parent=mode
zem.Name="notahead"
local Neck = Instance.new("Weld")
Neck.Name = "Neck"
Neck.Part0 = zam
Neck.Part1 = zem
Neck.C0 = CFrame.new(0, 1.5, 0)
Neck.C1 = CFrame.new()
Neck.Parent = zam
end
Report Abuse
crazypotato4 is not online. crazypotato4
Joined: 22 Feb 2010
Total Posts: 20000
13 Oct 2011 02:26 PM
"it uses Glues"

"local Neck = Instance.new("Weld")"

i think you cut out the wrong part, the limbs are what use glue, not the neck
Report Abuse
BenBonez is not online. BenBonez
Joined: 29 Aug 2008
Total Posts: 19362
13 Oct 2011 02:29 PM
@crazypotato4

I didn't notice that, thanks! l0l

if x[i].Name=="Right Arm" then
local Limb=x[i]:Clone()
Limb.Parent=mode
Limb.CFrame = zam.CFrame * CFrame.new(1.5, 0, 0)
local Joint = Instance.new("Glue")
Joint.Name = "RightShoulder"
Joint.Part0 = zam
Joint.Part1 = Limb
Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
Joint.Parent = zam

local B = Instance.new("Part")
B.TopSurface = 0
B.BottomSurface = 0
B.formFactor = "Symmetric"
B.Size = Vector3.new(1, 1, 1)
B.Transparency = 1
B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
B.Parent = mode
local W = Instance.new("Weld")
W.Part0 = Limb
W.Part1 = B
W.C0 = CFrame.new(0, -0.5, 0)
W.Parent = Limb

end
Report Abuse
sdfgw is not online. sdfgw
Top 50 Poster
Joined: 08 Jan 2009
Total Posts: 41681
16 Oct 2011 06:11 AM
imma bump dis because I can't get that to do anything
Report Abuse
eJorge is not online. eJorge
Joined: 09 Jun 2011
Total Posts: 5966
16 Oct 2011 06:56 AM
Sorry about this dumb question... But what is a ragdoll script? That script that makes an humanoid die without breaking joints?
Report Abuse
sdfgw is not online. sdfgw
Top 50 Poster
Joined: 08 Jan 2009
Total Posts: 41681
16 Oct 2011 06:58 AM
well, generally it RE-makes the joints after the character dies.

But it's moot now, I managed to get the Glue working. I'm having to experiment with the CFrames though :l
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
16 Oct 2011 07:05 AM
I've got the CFrames of a default humanoid in one of m "scratch NPCs" (in my models). You can just take the code and create a function to call it on the humanoid when the Died event fires.
Report Abuse
pighead10 is not online. pighead10
Joined: 03 May 2009
Total Posts: 10341
16 Oct 2011 07:14 AM
GUI CONVERTER

NO I'M NOT STALKING YOU

btw you need to use glues with weirdly confusing cframes
Report Abuse
sdfgw is not online. sdfgw
Top 50 Poster
Joined: 08 Jan 2009
Total Posts: 41681
16 Oct 2011 07:21 AM
yay for not checking thread

MNN, I think I got it working but play solo is lagging so much I respawn before I can see if it's worked -.-

pighead10, stop begging me for scripts, it's just annoying me now
Report Abuse
pighead10 is not online. pighead10
Joined: 03 May 2009
Total Posts: 10341
16 Oct 2011 07:47 AM
the point is to annoy you so much you give in btw
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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