12/26/2023 0 Comments How to make a group picture on roblox![]() If you don't want them to look all the same, you can define attributes in the placeholder and script them to be applied in the cloning operation. You now only need to modify the looks and behavior of the light in one place. So upon startup your lights will be placed where ever those parts are. Now create the following script in the MyLights folder: local lightsFolder = script.Parentįor i,v in pairs(lightsFolder:GetChildren()) do Create a model of the light you want and put it into that Assets folder when you're done modelling it (make sure to set a primary part for the model).Create a folder "Assets" in ServerStorage.Give the parts unique meaningful names, as you can access them through those names later on.Create a folder "MyLights" in workspace and put all those parts into that folder.Put a part at every place in the game where you want a light.Then I have a script that on startup will replace all those placeholder parts with a clone of the model that I want in their place. Instead of copying and pasting the model around, I just create simple placeholder parts where I want the models to be. A general approach I sometimes take when I need a particular complex model in many different places:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |