Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a Transformer?

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

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

This discussion is preserved as it was. New answers, comments, and votes are closed.