I am trying to make a Demon Step on roblox, and I have an issue, when I perform the action, I stay floating in the air and going forward, instead of getting affected by gravity but still moving forward, here is the code I used
local function thread1()
if canMove == true then
repeat
BV3.MaxForce = Vector3.new(1,1,1) * math.huge
BV3.Velocity = char.HumanoidRootPart.CFrame.LookVector * 42
wait()
game:GetService("RunService").Heartbeat:Wait()
until canMove == false
end
end
local Gravity = workspace.Gravity
local Part = char.HumanoidRootPart:GetMass()
local result = Part * Gravity
BV3.MaxForce = Vector3.new(result)
BV3.Velocity = char.HumanoidRootPart.CFrame.LookVector * 42
local Gravity = workspace.Gravity
local Part = char.HumanoidRootPart:GetMass()
local result = Part * Gravity
BV3.MaxForce = result
BV3.Velocity = char.HumanoidRootPart.CFrame.LookVector * 42
(Keeping in mind I am not 100% exact that this will work or not)
local Gravity = workspace.Gravity
local Part = char.HumanoidRootPart:GetMass()
local result = Part * Gravity
BV3.MaxForce = Vector3.new(result, result, result)
BV3.Velocity = char.HumanoidRootPart.CFrame.LookVector * 42