How exactly do I script a part so that after 10 seconds BodyVelocity changes to 0,-8,0? I'm scripting one of those sky lanterns as of now.
Here's a script I made for the fire and light in the sky lantern, so that after 10 seconds they both disappear.
light = script.Parent.PointLight fire = script.Parent.Fire wait(10) light.Enabled = false fire.Enabled = false
I want to do that with BodyVelocity, but not stop it. I want it to change.
Keep in mind this is the first time I've scripted something on my own. (By the way, I know I need to add more; or change it completely)
bodyvelocity = script.Lantern.BodyVelocity wait(10)
Thanks!
Put this script whenever you want the velocity to change
bodyvelocity.Velocity = Vector3.new(0, -8, 0)