Hi Guys, I Have Script To Jump, Dont Ask Me Why, Just Look!
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid and humanoid.FloorMaterial ~= Enum.Material.Air then
local primaryPart = character.PrimaryPart
local lookVector = primaryPart.CFrame.LookVector
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(0, 40, 0)
bodyVelocity.MaxForce = lookVector * 50 + Vector3.new(4000 , 6000, 4000)
bodyVelocity.P = 1250
bodyVelocity.Parent = character.PrimaryPart
game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
end
But My Character Moving Not Well As I Want, How I Can Improve My Code?