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

how to make my BodyVelocity work, pls help?I was trying to fix it for a while but cant?

Asked by 2 years ago
Edited 2 years ago

Here is my script i dont know why its not working so could anyone help me? i really need help asap.

01local bv = Instance.new("BodyVelocity")
02    bv.Parent = meteorclone
03    bv.MaxForce = Vector3.new(math.huge, 0, math.huge)
04    bv.P = 3000
05    local speed = require(game.ServerStorage.EarthMoonModule)
06    spawn(function()
07        meteorclone.Anchored = false
08        while wait() do
09            local speed = require(game.ServerStorage.EarthMoonModule)
10            bv.Velocity = meteorclone.CFrame.lookVector * 10
11            if meteorclone == nil then
12                break
13            end
14        end
15    end)

here is the script and idk why its not working, pls help me asap.Help me please , i was trying to fix it for a while but i cant find the problem, please help me.

0
nvm i found the problem xbloodyguyx 10 — 2y

1 answer

Log in to vote
0
Answered by 2 years ago

Nvm i found the out the problem , i did the maxforce 0 to the Y axes, and the lookvector was the Y axes lol

Ad

Answer this question