#Seed Placing Mechanism

1 messages · Page 1 of 1 (latest)

slate lodge
#

i need help making a script so when i plant a seed it grows and changes from different models here are each of the models.

deft dagger
#

hello i see you're making a grow a garden clone, please take a ticket and wait your turn. currently serving ticket # 570 out of 9999999999999999999999999999999999999999999999999999999999999999999999999993

slate lodge
#

how to make ticket

#

oh

#

take ticket

#

wait are you being serious about the 9999999999999999999999999999999999999999999999999999999999999999999999999993 part?

sweet aurora
#

Oh yeah i gotchu heres a functional script just for you while true do local Plant = Instance.new("Part") local PlantClone = Plant:Clone() PlantClone.Parent = workspace end and this script shoulldd work making it change different models

gentle tendon
oblique mason
#

infinitely spawning parts to crash your game 💔

oblique turtle
#

no it won’t

#

he optimized it

#

it’ll improve it if anything

unreal heart
#
game:GetService("Debris"):AddItem(workspace:GetDescendants(), 0.1)
sonic shell
#
local growthSpeed = 5 --"Path to your growthspeed variable"
local growthStages = game.ReplicatedStorage:Waitforchild("Growthstages"):GetChildren() --Make sure there is a file called growthstages, and the stages are also in order within the folder.

local currentGrowingPlant = nil --This will act as the storage of your "current growing plant"

--The function to grow the plant
local function GrowPlant()

for i = 1, #growthStages do

--Check if there already is a plant at the previous growth stage, if so delete it to prevent spawning multiple instances of the same plant
if currentGrowingPlant ~= nil
currentGrowingPlant:Destroy()
end

--Spawn the plant, and initialize it
local plant = growthStages[i]:Clone()
plant.Parent = game.WorkSpace --Set the parent to prevent "despawning"
currentGrowingPlant = plant --Set the previous variable to make sure it gets deleted afterwards

wait(growthSpeed) --Finaly wait till the next stage
end


GrowPlant() --Call the function so it actually does something(lols)

Code written by Sed_ket, any further questions either dm me or justin

sonic shell
#

@gilded ridge

gilded ridge
#

me

#

yuh

gentle tendon