Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I change the Acceleration of the ParticleEmitter with Script?

Asked by 7 years ago

Okay, I put

game.Workspace.Part.ParticleEmitter.Acceleration = (3,3,3)

It says = Workspace.Part.Script:1: ')' expected near ','

Please help!

0
Vector3.new(3,3,3) theCJarmy7 1293 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago
Edited 7 years ago

Use a vector3!

Easy enough. For things like Size, Position, Velocity, and so on, you need three numbers. We use three numbers with a Vector3. Your code should look like this,

game.Workspace.Part.ParticleEmitter.Acceleration = Vector3.new(3,3,3)

Hope I Helped!

Good Luck!

If I helped, please don't forget to click the "Accept Answer" button under my name next to my answer. Thank you.
Ad

Answer this question