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.
1 | newmodel = game:GetService( "InsertService" ):LoadAsset(ModelAssetID) |
2 | newmodel:MoveTo(Vector 3. new( 0 , 0 , 0 )) |
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
1 | button = script.Parent.ClickDetector |
2 | spaWn = script.Parent.Parent.SpaWnPart |
3 |
4 | function SpaWnModel() |
5 | model = game.ServerStorage.Model:clone() |
6 | model.Parent = game.Workspace |
7 | model:MoveTo(spaWn.Position) |
8 |
9 | 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)