How can i spawn objects within a hitbox?

add print statements. Up to what part does it break?

itā€™s not giving me any errors in the output relating to this script, odd

does it atleast clone the map?

dont put scripts in serverstorage unless its like, a piece of code you want run when changed to workspace,
put it in serverscriptservice :happy3: hope that helps

1 Like

it started to work againā€¦ weirdly enough
BUT i am getting this error
image
itā€™s because the button is a model, not a part or union
i tried a workaround:
image

but it didnā€™t do, what should i change?

OH RIGHT SORRY SORRY. I meant to say serverscriptservice. Thank you

1 Like

You put the max spawnblocks as 11 when the max value it should be is 3.

That variable should only be the max number of spawnparts.

Manually set the PrimaryPart of the model to a part inside the Button model.

Then instead of changing the position,

say Button:SetPrimaryPartCFrame(CFrame.new())

1 Like

i did this and edited the variable back to 3, but the spawnblocks are still there; not being replaced by the actual buttons

edit: the button appears under the map, but itā€™s only one