|
| 07 Apr 2013 11:43 AM |
I made a morph, successfully, as it did not fall apart, all welded where needed and everything. I grouped it, made a button brick, inserted a script inside, yet when I test it in the Build mode, the button morphs me INSIDE the morph. I cannot move, my humanoid GUI is missing, and so is my health, thus I die quickly and respawn. Here's the script (note: the Morph is named Overseer.)
button = script.Parent Overseer = button.Parent:findFirstChild("Overseer") clone = Overseer:clone() -- saved if Overseer == nil then print("WHERE DID IT GOOOOOOO?!??!") end
function touched(hit) if hit.Parent == nil then return end newClone = clone:Clone() newClone.Parent = workspace newClone:MakeJoints() game.Players[hit.Parent.Name].Character = newClone end
button.Touched:connect(touched)
Find mistakes and report to me, please. |
|
|
| Report Abuse |
|
|
tyzone
|
  |
| Joined: 16 Aug 2008 |
| Total Posts: 1726 |
|
|
| 07 Apr 2013 11:46 AM |
Is the clone unanchored ? That could be one of the first problems. Then, do you have a part named "Torso", and are "Head" and "Torso" welded properly ? If not, you'll always die. I don't have anything else in mind for now. |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2013 11:49 AM |
Well, yes, I have all the parts welded properly, I guess. Just to make sure, which parts have to be welded to what?
And I think the clone is anchored. I shall unanchor it now and test. |
|
|
| Report Abuse |
|
|
tyzone
|
  |
| Joined: 16 Aug 2008 |
| Total Posts: 1726 |
|
|
| 07 Apr 2013 11:53 AM |
I think the only welding requirement for your body to sustain life is Head-Torso. The rest doesn't really matter. I'm pretty sure you already had an arm or a leg blown off on a game, and see, you could still live. But I don't think you had many opportunities to walk around when your head/torso was.
I think you cannot properly weld anchored bricks. This would mean that the morph, from the very start, wasn't properly welded at all, and it could explain the whole problem. Best case scenario would be that, once you unanchor it, the welding works properly and you can live as a morph for the rest of your life. Worst case scenario would be that the weld never worked, and you would have to work on it again. |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2013 11:59 AM |
| Tested it, the head and torso remains welded together, yet the limbs fall apart. I shall now redo the arm and leg welding, and report if I succeeded. |
|
|
| Report Abuse |
|
|
tyzone
|
  |
| Joined: 16 Aug 2008 |
| Total Posts: 1726 |
|
|
| 07 Apr 2013 12:00 PM |
| But did you die when you became the morph ? |
|
|
| Report Abuse |
|
|
FIRECAKE
|
  |
| Joined: 28 Feb 2009 |
| Total Posts: 25167 |
|
|
| 07 Apr 2013 12:04 PM |
it's :makeJoints() not :MakeJoints()
⊂=-҉Ξ҉-=⊃ Verb conjugator, plus herb inhalator ⊂=-҉Ξ҉-=⊃ |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2013 12:11 PM |
Alright, I have changed the :MakeJoints() into :makeJoints(), and redone the welding, yet now when I unanchor the model and go morph inside it, the model falls apart, I turn into a humanoidless anchored model, and cannot move.
Any ideas? |
|
|
| Report Abuse |
|
|
FIRECAKE
|
  |
| Joined: 28 Feb 2009 |
| Total Posts: 25167 |
|
|
| 07 Apr 2013 12:13 PM |
i don't really work with morphs that much
try looking through some free models and seeing where their code differs from yours
⊂=-҉Ξ҉-=⊃ Verb conjugator, plus herb inhalator ⊂=-҉Ξ҉-=⊃ |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2013 12:15 PM |
| @FIRECAKE :MakeJoints() works too. |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2013 12:24 PM |
Guess I shall simply redo the morph using a free model as a base for it. OH WELL. Thanks for your time and help, though, people. |
|
|
| Report Abuse |
|
|