Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a Transformer?

Asked by
apaek0 0
10 years ago

Please include the code which you are trying to use, so the community will be better-equipped to help you with your problem.

How would I make an Object transform into another? Eg: You have a starter tool called "Egg" And once clicked it on the ground. After around 10 seconds, It transforms/Changes into a Custom made Animal/creature/animation?

I can get the Egg Once clicked on the ground but I cant get it to transform?

Check Here for what I have done and see if you can do anything about it?

http://www.roblox.com/Transform-item?id=153517508 This is what I Have made so far.

Thanks, Apaek0.

1 answer

Log in to vote
0
Answered by
Asleum 135
10 years ago

Basically, you want to remove your model and replace it immediately with another one. Let's say that your egg is a model placed inside workspace and called "Egg", and the thing you want to replace it with is stored in game.ServerStorage and is called "Creature". Here is how to do it :


OldModel = game.Workspace.Egg --Reference to the model that's going to be "transformed" NewModel = game.ServerStorage.Creature:clone() --Clones the new model NewModel.Parent = game.Workspace --Put it into game.Workspace NewModel:MoveTo(OldModel:GetModelCFrame().p) --Move it where the first model is OldModel:remove() --Remove the first model
Ad

Answer this question