|
| 17 Jan 2016 12:11 PM |
| I'm trying to make a huge statue where when you stab it, you damage it. Its health and maxhealth are both set to 100,000. When I open it up with f7, its health is 0. Why is this? It has both a Head and a Torso part. |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 12:12 PM |
| this might help http://wiki.roblox.com/index.php?title=Ordered_data_store |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 12:14 PM |
| um ordered datastores have nothing to do with what im trying to do sry |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 12:16 PM |
| check this out http://wiki.roblox.com/index.php?title=Ordered_data_store |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Jan 2016 12:19 PM |
| have a peek at this http://wiki.roblox.com/index.php?title=Ordered_data_store |
|
|
| Report Abuse |
|
|
Aethex
|
  |
| Joined: 16 Oct 2011 |
| Total Posts: 2193 |
|
|
| 17 Jan 2016 12:21 PM |
| The Head has to be welded to the Torso. |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 12:22 PM |
| after u weld it do this http://wiki.roblox.com/index.php?title=Ordered_data_store |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 12:25 PM |
electo idk wtf's wrong w/ u but bad troll
@aethex; Through its Surfaces? |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 12:25 PM |
| its not surfaces its this http://wiki.roblox.com/index.php?title=Ordered_data_store |
|
|
| Report Abuse |
|
|
Aethex
|
  |
| Joined: 16 Oct 2011 |
| Total Posts: 2193 |
|
|
| 17 Jan 2016 12:29 PM |
| That could work, but you're fine just using Welds or Motor6Ds with a script. |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 12:29 PM |
| or http://wiki.roblox.com/index.php?title=Ordered_data_store would work just fine |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 12:34 PM |
I fixed up the surfaces and the Head has a Weld in it called Headweld. The Torso has necessary Motor6D joints.
prntscr.com/9rbn4j
Does it matter that the stand it's on and the sword are in the model too? The grey plates around it aren't. Those hats and wings on it are Handles inside Hat objects so I think they should be safe. |
|
|
| Report Abuse |
|
|
Aethex
|
  |
| Joined: 16 Oct 2011 |
| Total Posts: 2193 |
|
|
| 17 Jan 2016 12:43 PM |
| So you're using Surface Welds? Make sure those extra parts aren't blocking the path between the Head and Torso. Otherwise, you can just use normal welds or Motor6Ds if you want. |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 12:46 PM |
I guess some of the hats look like they're in the way .-.
prntscr.com/9rbuoj |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 12:51 PM |
| Fixed but still 0 health.. |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 12:56 PM |
I swear I died laughing at this thread, I'm sorry but him posting the data store just hit me as funny.
Anyway make sure the head and torso have 2 compatible surfaces (Like welds and anything but non joinable, studs and intels, whatever)
And call this on the statue woirkspace.statue:makeJoints() |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 01:07 PM |
script.Parent:MakeJoints()
The first line of the health regen script inside the model ^ but the humanoid is probably already dead by then |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 01:08 PM |
| Did you try manually welding them together? |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 01:10 PM |
| Manually? I made the connecting surfaces welds. |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 01:12 PM |
| I mean creating a weld between them in studio. |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 01:17 PM |
The Head has a weld in it but I guess the problem is the Part1 property.'
prntscr.com/9rcda6
But how do I change that? |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2016 01:20 PM |
| That weld is for the hats you need to make your own weld for the torso and head. |
|
|
| Report Abuse |
|
|