So, I'm creating a Kamehameha wave, and when the beam is triggered to fire, both sides of the part expand. How do I fix this?
script.Parent.Charge:Play()
for i = 0.57, 2.16, 0.03 do
script.Parent.Size = Vector3.new(i,i,i)
wait(0.1)
end
beam = Instance.new("Part", script.Parent.Parent)
beam.Name = "Beam"
beam.Material = "Neon"
beam.BrickColor = BrickColor.new(9,137,207)
beam.Size = Vector3.new(0.99,1.77,2)
beam.Shape = "Cylinder"
beam.Anchored = true
beam.Position = script.Parent.Position + Vector3.new(-0.825, 0.040, 0.022)
script.Parent.Fire:Play()
for i = 0.24, 18.5, 1.2 do
beam.Size = Vector3.new(i,1.77,2)
wait(0.05)
end

2 comments
this would only extend one side correct?
technically, both side are extending, you are just moving it to contract it and to simulate a different anchor point, so yes