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

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

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


local bv = Instance.new("BodyVelocity")
	bv.Parent = meteorclone
	bv.MaxForce = Vector3.new(math.huge, 0, math.huge)
	bv.P = 3000
	local speed = require(game.ServerStorage.EarthMoonModule)
	spawn(function()
		meteorclone.Anchored = false
		while wait() do
			local speed = require(game.ServerStorage.EarthMoonModule)
			bv.Velocity = meteorclone.CFrame.lookVector * 10
			if meteorclone == nil then
				break
			end
		end
	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.

1 comment

0

nvm i found the problem

1 answer

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

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