Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Used to work before, but not now?

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.

3 comments

1

What exactly doesn't work about it?

0

The Body Velocity does not appear.

0

It could be that the part is not loaded at the time the script runs.

1 answer

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.