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

Used to work before, but not now?

Asked by
Ete999 0
9 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
local b = Instance.new('BodyVelocity')
wait(0.3)
b.maxForce = Vector3.new(9999999998, 9999999998, 9999999998)
b.velocity = Vector3.new(0, 0, 0)
b.Parent = Workspace.V2
wait(20)
b.maxForce = Vector3.new(9999999998, 9999999998, 9999999998)
b.velocity = Vector3.new(0, 0.2, 0)
b.Parent = Workspace.V2

I have tried everything, but this script Refuses to work, The Brick Is named V2, and i have used this in several games in the past, but it refuses to work now. Any Solutions?

Problem: Bodyvelocity does not appear.

1
What exactly doesn't work about it? adark 5487 — 9y
0
The Body Velocity does not appear. Ete999 0 — 9y
0
It could be that the part is not loaded at the time the script runs. Perci1 4988 — 9y

1 answer

Log in to vote
0
Answered by
Scubadoo2 115
9 years ago

I'm not sure if this is right, but there can be two things wrong.

1: I tried the script and there was a... "blue line" underneath each Workspace saying that "Workspace is deprecated. use workspace instead." That MIGHT be stopping it, but I don't think it would.

2: Even with a wait(0.3), the Part still might not have loaded. Instead use workspace:WaitForChild("V2") so that it yields until the Part is found, or assign it to a variable is there is another reason why wait(0.3) is there.

Please tell me if this worked.

Ad

Answer this question