You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Im trying to make my dash ability go on the right direction
-
**What is the issue?**it goes to the negative direction( Im guessing)
-
What solutions have you tried so far? I tried discord to get help but couldnt fix
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
if isAlive == true and isDashing == true and isLanded == true then
local part,position = RayModule.Ray(HumanoidRootPart.Position, HumanoidRootPart.CFrame.LookVector * 2 + HumanoidRootPart.CFrame.YVector * - 4, Player.Character)
if not part then
print("Long Jumping")
LongJumpAnimation:Play()
print(Humanoid.MoveDirection)
if Humanoid.MoveDirection:Dot(HumanoidRootPart.CFrame.LookVector) >= .5 then
print("yes")
Torso.Velocity = HumanoidRootPart.AssemblyLinearVelocity * Humanoid.MoveDirection * Settings.LongJumpDistance.Value + Vector3.new(0,Settings.LongJumpHeight.Value,0)
else
print("no")
Torso.Velocity = HumanoidRootPart.AssemblyLinearVelocity * -Humanoid.MoveDirection * Settings.LongJumpDistance.Value + Vector3.new(0,Settings.LongJumpHeight.Value,0)
end
end
-- other fucntions
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.