How do you make a particle emitter for parts?
Asked by
4 years ago Edited 4 years ago
Hello, I am stuck on finding a way to make a part generate from an area then go to a certain point then destroy. Kind of like a particle emitter accept it's with parts and the part is always spawning moving to and destroying at the same spot. This would be going on forever
Here is what I've sort of come up with so far.
02 | local TweenService = game:GetService( "TweenService" ) |
05 | local part = Instance.new( "Part" ) |
06 | part.Position = Vector 3. new( 0 , 10 , 0 ) |
07 | part.Color = Color 3. new( 1 , 0 , 0 ) |
09 | part.Parent = game.Workspace |
15 | goal.Position = Vector 3. new( 10 , 10 , 0 ) |
16 | goal.Color = Color 3. new( 0 , 1 , 0 ) |
18 | local tweenInfo = TweenInfo.new( 5 ) |
20 | local tween = TweenService:Create(part, tweenInfo, goal) |