|
I only know how to create a morph where you turn into a ROBLOXIAN with a Humanoid, but how do I create a morph that you turn in it without a humanoid????????? |
|
|
-_-
function ontouch()
brick = Instance.new("Part")
etc...
end
script.Parent.Touched:connect(ontouch) |
|
|
Now because this is a model with about 5 bricks named Flower Pot, would it be like this?
function ontouch()
brick = Instance.new("Flower Pot")
end
script.Parent.Touched:connect(ontouch)
(Would it be like this? I can't find Morph/ect stuff on ROBLOX Wiki....) |
|
HadesDudeJoin Date: 2009-02-16 Post Count: 11982 |
I'm pretty sure you need a humanoid... |
|
|
Okay, then how do I do it? |
|
HadesDudeJoin Date: 2009-02-16 Post Count: 11982 |
Create a model and give it all things needed to live (a head, torso and humanoid) and then set your character/humanoid to the humanoid of the model.
|
|
|
Okay, I did this:
http://gyazo.com/b020683cf1051e15737a945fcccecebe
Now how to do the rest? |
|
HadesDudeJoin Date: 2009-02-16 Post Count: 11982 |
Try doing:
Workspace.Rutith.Humanoid = Workspace["Flower Pot"].Humanoid |
|
|
Wont work:
I made a script for it, and I put it inside the script.
-and-
I did this: http://gyazo.com/cfe7ea35143d7c0b8184e5ead521851f |
|
HadesDudeJoin Date: 2009-02-16 Post Count: 11982 |
I was able to do it by setting my character to the model
local me = game.Players.LocalPlayer
me.Character = Workspace["Flower Pot"] |
|
|
Do I put this in a local script or what? |
|
|
GoulstemJoin Date: 2012-07-04 Post Count: 7177 |
Lmfao.. 'brick = Instance.new("Flower pot")' xD |
|
|
|
HadesDudeJoin Date: 2009-02-16 Post Count: 11982 |
The one using LocalPlayer would need to be in a LocalScript (I forgot you're in an SB) and you'll need to change the CurrentCamera's subject to the Humanoid of the Flower Pot. |
|
|
Oh no, I need it to be in a game. The purpose of this is that when you click the flower pot, you MORPH into the flower pot. |
|
|
HadesDudeJoin Date: 2009-02-16 Post Count: 11982 |
Have a clickdectector copy over a localscript into the LocalPlayer's backpack then and inside of that localscript have the whole morphing thing happen. |
|
|
So this is the morph script?:
local me = game.Players.LocalPlayer
me.Character = Workspace["Flower Pot"] |
|
HadesDudeJoin Date: 2009-02-16 Post Count: 11982 |
That would set your character to the Flower Pot, but you'll also have to set your CurrentCamera's target to the Flower Pot's humanoid. Don't forget to use a localscript. |
|
LacrymaJoin Date: 2010-02-15 Post Count: 22696 |
lol |
|