What do you mean about Animation Priority i didnt understood very well and for the Max Force, i think so because its relative to the game world or something i saw it in a tutorial im not very good too at body velocity lol
This AnimationPriority:
dashAnim.Priority = Enum.AnimationPriority.Action4
(at line 5 of the script you gave at the first post)
Here are things that I think that can be because this âcaosâ is happening:
Body Velocity Max Force
You can change to this:
bv.MaxForce = Vector3.new(9999,9999,math.pi+9999 - 3)
Debris Delay Speed
I think it should be a little higher:
game.Debris:AddItem(bv,.5)
Also, sorry for late response. It took me so much time to respond with this entire topics I made.
Its okay, thanks for the tips! im gonna try them out
Which option do i use? The first one, or the second one?
You can test both of them. But make sure to save your old script. Because what I just said as what I think that is causing this can be incorrect
Its still glitchy but this time he doesnt even dash anymore lol
So you want him to use something that is Deprecated rather than something that is much better, and way faster?
Wait spawn was deprecated ?? i didnt even knew woah
Then forget what I said.
I think this is all because of Roblox Physics. This happen to me once. Try to make the character smaller. But if you donât want to, then itâs ok. Iâm sorry for wasting your time
Oh. I though Spawn() (uppercase) was the only one deprecated
Dont worry you didnt wasted my time, the most important part is that you tried. And i cant make the character smaller as i want him to be menacing
but it still works tho. Thats the good thing. But yes youâre right
Thank you! Have a great day/night
Thanks you for the help again and you too!
Do you think you can help me? I really need this to work but i have no idea how
Wait I found a solution! You can use CollisionGroups! It can Disable Collision to the walls!
Have you tried CollisionGroups? You can try them. You can set boosâs arms collide-disabled with the walls. Do you want a script?
sure but, will that stop him from dashing like that? he does it even when not touching the walls
i donât know why this conversation is long when itâs a simple matter of youâre not setting cooldowns. Now this script on its own would probably work but youâre maybe calling the task.spawn function multiple times. Try doing this :
local cooldown = false
task.spawn(function()
while true do
if cooldown then continue end
cooldown = true
dashAnim:Play()
dashAnim.Priority = Enum.AnimationPriority.Action4
game:GetService("SoundService").dash:Play()
local back = Vector3.new(0,0,-3)
local up = Vector3.new(0,-3,0)
local bv = Instance.new("BodyVelocity", hrp)
bv.Name = "Knockback"
bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
bv.Velocity = hrp.CFrame.LookVector * 45 + back + up
game.Debris:AddItem(bv,.25)
task.wait(math.random(8,25))
cooldown = false
end
end)
sorry i went to sleep but im gonna try that thanks