#Im trying to make a kind of growing system for trees, but i cant seem to get it right

1 messages · Page 1 of 1 (latest)

distant glade
#

The script here is for the wood on the tree

This is the one for the leaves

#

What i think it is it might be a collision problem cause i wanted it to not go downwards but only upwards

distant glade
#

i think i have to change the wood to 2, 8 ,2 for the new heights

#

but the tree still manages to expand downwards i wanna make it go up only

arctic hawk
#

local goalSize = Vector3.new(2, 8, 2)
local heightDiff = goalSize.Y - originalSize.Y

local newPosition = originalPosition + Vector3.new(0, heightDiff / 2, 0)

#

Try this

#

i might just be stupid tho

#

i dont know

arctic hawk
distant glade
hidden wraithBOT
#

studio** You are now Level 1! **studio

distant glade
#

cause the tree is turning upside down

#

lmao

#

It goes through the leaves

arctic hawk
#

ah didnt see they were 2 different scripts

distant glade
#

i think its the same thing

#

but then it glitches between both objects at the top of the tree

distant glade
#

like grow a garden does it

#

by switching it by states

#

every % it changes size instead of a smooth transition

#

using tween

arctic hawk
#

im not really familiar with something like this, id recommend looking up a tutorial or atleast learning the basics before you take on smthing like this

rugged horizon
#

i think you need multiple grow stages and twee bethween them slowly or just ine tween if it is just a straight tree no extra instances added when older

arctic hawk
#

that would make sense, but i assume hes trying to add variety

rugged horizon
#

what do you mean by a variety multiple trees or adding instances when growing older

distant glade
#

like instant change

rugged horizon
#

you want me to script that real quik for you ?

distant glade
rugged horizon
#

if u need explaination tell me

#

1 should work i think

distant glade
rugged horizon
#

ok wait 5/10 min

distant glade
#

or

rugged horizon
#

no repstorage folder

#

is it fine if i just make a realy simple model so you have at least theory

distant glade
arctic hawk
#

are you new to scripting?

#

i assume so right

distant glade
hidden wraithBOT
#

studio** You are now Level 2! **studio

distant glade
#

It makes me learn it easier

arctic hawk
iron onyx
#

im assuming since you used ai that fixing the code is a lost cause, you should perhaps seperate growth into stages and have those stages marked in replicatedstorage//serverstorage; as the stage increments just replace the model

distant glade
#

got it

rugged horizon
#

actualy instead of what you thought a model you need a folder with all stages to tween to you can make more stages to have more detail so use a folder like this but in rep storage let me do the scripting real quik now

iron onyx
rugged horizon
#

that is just to have both parts in a part instead of multiple if you made it on blender you probably wont need it since it is an object instead of multiple parts to build sculpture

distant glade
rugged horizon
#

me too XD but i try to force through even if i dont understand anything for now

#

you need a planting system too or just the growing one?

distant glade
rugged horizon
#

ok il take some time because i dont realy know how but im gonna learn it i guess it is some type of tool system with a part serving as plant area

hidden wraithBOT
#

studio** You are now Level 4! **studio

distant glade
#

maybe?

#

since your available for free

rugged horizon
#

yes sure it isn't free you pay me in experience since im new i started scripting only 5 days ago

rugged horizon
#

i realy need some kind of real job experience where i need to link multiple elements wich each other to make a complex system

#

like i win on ground experience by doing this

#

i dont know if you get what i mean

distant glade
distant glade
rugged horizon
#

yes

rugged horizon
distant glade
#

like if it gets players you get robux and you get a share of it?

rugged horizon
#

o i mean it learns me how to work on a game instead of just coding appart systems i dont realy get anything physical or digital

hidden wraithBOT
#

studio** You are now Level 3! **studio