Growing Island plants

Hello every one! Hopefully you all have a nice day. I have a problem with a game i’m making called ‘Island simulator’. It’s a very basic game were you need to click on a button to grow you’r island and thats it for now. Here is a video:

robloxapp-20220526-1428161.wmv (1.3 MB)

Now, I want to make a cool detail so i was trying to spawn plants on the map when the island is big enough:

Can Someone help me please because i don’t know how to fix it.

You can’t compare an entire Vector3 like that.

Compare it one component at a time, like

local size = script.Parent.Size
if size.X >= 1 and size.Y >= 2 and size.Z >= 3 then
1 Like

Ohhh allright I will try, thanks!