in my game main thing to do is cuting tree when player cut tree automatic unanhor but if i enable filtering trees won't unanhor why ? i need help filtering enabled is important

12 comments

0

just tell

0

Can you show us the script for it? We don’t know how the tree unanchors without the script.

0

wait

0

hits = script.Parent.Hits b=script.Parent:clone() qwerty=false function OnChange() if qwerty==false then if hits.Value<=0 then hits.Value=0 qwerty=true c=script.Parent:GetChildren() for i=1, #c do if c[i].Name=="Tree" then c[i].Anchored=false local number = math.random(1, 2) if number == 1 then c[i].Velocity = c[i].CFrame.lookVector * math.random(-20, -10) end if number == 2 then c[i].Velocity = c

0

please help me

0

put it in code block

0

hmm i try

0

doesnt work

0

i put this script in every part and nothing

0

click the lua sign then add the code between the ~~~~~~~ ~~~~~~~ those things.

0

edit your main post and put the code between block. click the lua sign.