#Can anyone help me?

1 messages · Page 1 of 1 (latest)

nocturne lodge
#

Sooo im currently creating a ragdoll on died script, which i got my ragdoll done already in another modul script. But how do i make it where when the player dies, the dead ragdoll/player will be cloned, so when they respawn, the body remains there. kind of like a corpse script. I will put a picture of my ragdoll activation script, but i dont know if i do need the module script to do this aswell

nocturne lodge
#

How will I clone this without messing everything up?

#

After death

night magnet
#

Do you want it to be anchored?

nocturne lodge
#

is it less buggier?

night magnet
#

Cuz if not i think you can just clone the limbs right before respawning

night magnet
nocturne lodge
#

All the other recommendations I got told me to clone it using that function command

#

But idk where to put it

night magnet
#

Just clone after the ragdoll

#

You might want to hide the player character though

nocturne lodge
#

Last time I did that it like stood still

night magnet
#

Just make sure the player only sees 1

night magnet
nocturne lodge
#

So I can do wait?

night magnet
#

To let the ragdoll settle

night magnet
#

That way i dont have to hide the body or anything

nocturne lodge
#

Wouldn't that like glitch tho

#

If I clone at the start

night magnet
#

But you’d have to make a custom respawn for that

nocturne lodge
#

Yeah

night magnet
#

You could make respawn time inf and use loadcharacter

nocturne lodge
#

So what command hides the players body?

night magnet
#

For consistent respawns

nocturne lodge
#

I'm alottle new at all the coding stuff

#

I didn't copy this code tho

#

So dw

night magnet
nocturne lodge
#

Ok

night magnet
#

Char:Getchildren

#

And if i:IsA(“Part”)

nocturne lodge
#

Then I clone?

warm chasmBOT
#

studio** You are now Level 1! **studio

night magnet
#

And set transparency to 1

nocturne lodge
#

Ok

night magnet
nocturne lodge
#

So this will make sure it wont like double

#

Liek 2 ragdolls

night magnet
#

Mhm

nocturne lodge
#

Ohh ok

night magnet
#

If u want it unanchored then u need the ballsocket on rhe clone too

#

Also id recommend making some folder to put the corpses in

#

That way its more organised

nocturne lodge
#

So if I want to clone it do I just do the function clone then the chsr?

#

Like for set ragdoll

#

Also yes I did make a folder

#

I was going to do that once I did the coding stuff

night magnet
#

Uhm

nocturne lodge
#

So like, after module.setragdoll, is that where I can do the clone command on the character

night magnet
#

Uh

#

You need to let the ragdoll settle

nocturne lodge
#

So wait like 2 seconds?

night magnet
#

So the char can fall over n stuff ykniw

night magnet
nocturne lodge
#

Wdym by that?

#

Like how would I put it

#

If it was inside the script

night magnet
#

Uh

#

Ragdoll -> wait respawn time -> clone and respawn

warm chasmBOT
#

studio** You are now Level 13! **studio

nocturne lodge
#

Ok let me try

#

So would putting it before make it easier

night magnet
#

Wym?

nocturne lodge
#

Cuz I also want my ragdoll on death script to work

night magnet
#

Just do it and show me the script of you have any problems

nocturne lodge
#

Like under the local module, mabye under the module.setragdoll

night magnet
#

For that you shoold learn the differences between localscript and script

night magnet
nocturne lodge
#

Isn't local just client run?

night magnet
#

Thats your customizability in your systems

nocturne lodge
#

Oh ok

night magnet
night magnet
nocturne lodge
#

So im doing just a normal script

#

I'm not using local

#

Cuz I want it on all the fellas

night magnet
#

Alr

nocturne lodge
#

Like I said im kinda new

#

So

#

I only know few commands lol

#

So should I just put it under local module?

#

Ok I got it set up

warm chasmBOT
#

studio** You are now Level 2! **studio

nocturne lodge
#

Ima test once I put this thing in

#

Ima research on how to do a custom respawn

#

Cuz like yiu said I need to hide th bodies