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

Is there a script that can spawn models?

When you click a button/part, it should activate a script. So when it's clicked, a model should appear/spawn in a specific spot. Is there a script that does that?

EDIT:

I don't know much about scripting, I know there is ClickDetector, but is there a script something less complicated? Also, another script that can remove the spawned model.

3 answers

u can; Make a Model Inside put a Part called SpaWnPart Inside the Model as Well put a Part called Button insert a model called 'Model' into ServerStorage Insert a Script into the Button along With a ClickDetector

button = script.Parent.ClickDetector
spaWn = script.Parent.Parent.SpaWnPart

function SpaWnModel()
	model = game.ServerStorage.Model:clone()
	model.Parent = game.Workspace
	model:MoveTo(spaWn.Position)

button.Clicked:connect(SpaWnModel)

anything Wrong, Ask me, but if this does Help, make sure u Click the 'AnsWered' button here cos I hate it When I put my Time into Helping someone and they don't even thank me or anything...

KAAK82

I Dont Understand What I Want Is To Stand On A Button And A Model Appears (On My Server I Want A Segway To Spawn) So I Followed What You Did But I Cant Get it To Work Please Help (I Am New To Building Servers)

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