Ad
Log in to vote
0

Help with this orb effect?

Asked by
Seenit 80
7 years ago

I'm trying to make an orb effect like the ones in Windwaker that appear inside the deku tree. Here's what I got but it sorta breaks

wait(10)
scale = 0.02 
distance = 55 
g = script.Parent

local debounce = true

while wait() do
  for q = 1, (distance/scale) do
     g.CFrame=g.CFrame+Vector3.new(0,scale,0)
     g.Transparency=g.Transparency +0.05
    end
   wait()
  end

Answer this question