What do you want to achieve? Keep it simple and clear!
I want player to move forward a bit when swinging a sword
What is the issue? Include screenshots / videos if possible!
I don’t know how to do it. I think I know that I have to use a body movers but I don’t know which one to use or how to use them
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried looking at some articles and searching for tutorials but still have no idea
Here is a reference for what I mean
(In the video when he swing the sword his body will move forward a bit)
November 6, 2021, 11:44am
What I’d recommend is using a BodyVelocity and setting the Velocity to around 5-10 studs in front of the player then Destroy it nearly instantly.
November 6, 2021, 11:45am
Just make a swinging animation and play it. Also you making Genshin on Roblox?
use body velocity and change the velocity to
November 6, 2021, 11:54am
part.CFrame:ToWorldSpace(CFrame.new(0,0,-5))--if it is backwards use 5
November 6, 2021, 11:56am
local player = game.Players.LocalPlayer
local char = player.CharacterAdded:Wait()
local root = char:WaitForChild("HumanoidRootPart")
local hum = char:WaitForChild("Humanoid")
local strength = 750
while wait(2) do
local state = hum:GetState()
root:ApplyImpulse(root.CFrame.LookVector * strength)
I think this looks good
Because changing the cframe directly will literally teleport you and op wanted to use some body mover.
Would work better in this instance.