|
| 26 Jul 2012 06:25 PM |
| Have you ever played one of those games where when you die, you don't fall apart, but you fall like if you have joints like a rag doll? How do I do this? |
|
|
| Report Abuse |
|
|
|
| 26 Jul 2012 06:27 PM |
Heheh, looks like my game has something yours doesn't >:3
Just look one up, nobodys going to give you a script, but heres the gyst (did I spell that right) of it.
Check if player died if player did die then insert weld on body parts ends
thats how you would do it basically, I think you know how to script well enough to make that |
|
|
| Report Abuse |
|
|
|
| 26 Jul 2012 06:35 PM |
I never asked for a script :P
What I need to know if there is a function for if the player died. |
|
|
| Report Abuse |
|
|
|
| 26 Jul 2012 06:36 PM |
Yes there is.
I believe it's Humanoid.Died:connect()
Also, just search free models, you'll find a few.
☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance. |
|
|
| Report Abuse |
|
|
|
| 26 Jul 2012 06:37 PM |
Game.Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) Character.Humanoid.Died:connect(function() --Code end) end) end)
† KMXD † |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 26 Jul 2012 06:38 PM |
| Yes, you can check player.Character.Humanoid:Died(). Look on the wikipedia for a list of humanoid events. |
|
|
| Report Abuse |
|
|
|
| 26 Jul 2012 06:44 PM |
| I keep looking in free models to see if theres one good enough to learn from, but I looked at the first one, it consisted of 2 scripts, and it looked highly inefficient. I looked at the rest and they were copied versions of the first. Is there any way I can do this in 1 script, and efficiently without separately jointing each body part? |
|
|
| Report Abuse |
|
|
|
| 26 Jul 2012 06:49 PM |
| Not really, thats the only way I know of, so I am no longer help to you. |
|
|
| Report Abuse |
|
|
|
| 26 Jul 2012 07:27 PM |
So I have to do each body part individually -_-
Bump. |
|
|
| Report Abuse |
|
|