does anyone have a script or know of a script to where if i was to make a tycoon dropper that has a clickable button for the starter dropper where i can swap out the dropped object for anything els as any custom meshes i will be making or can that not be done and only have the little square block that all tycoons has? thank you in advanced
I assume you are referring to when tycoon games implement “Upgraders” which change the part around?
Or do you mean changing the part that gets dropped originally?
If the latter, you could do that by putting all the options in a folder and setting an attribute reletive to which part to drop and then simply clone the part from the folder.
Or, if the first option, You could modify the current part by having invisible adjustments become visible/changing properties or replacing it entirely by spawning a new one and setting the position then deleting the old one. Alternatively, you could simply just use MeshParts and change the MeshId when you want to change the dropped part’s apperance.
so what i mean is that you know how tycoons they give a free dropper that uses a click detector to fire the block to drop is there a way to change that block to a custom mesh the other droppers such as upgrade droppers is easy to do i just want to know if i can swap out the starting dropper
Yes, you could add a new Instance within a mouseclick function, so like once the player clicks it creates a new meshpart. Then, set its parent to workspace and change its meshId.
local block = Instance.new("MeshPart")
block.MeshId = ""
block.Parent = workspace
thank you! i wasnt sure how if it could be done but i always knew that upgrade droppers it could been done that way. when i was messing with them before i know it wasnt done much but i couldnt find anything to point me in the right direction with that so thank you alot quickred.