(LocalScript) (Line 68)
As you can see in the pictures its giving me an error and im not sure why ive went through the script twice and nothing seem to work does anyone know what the issue might be?
#Combat system issue on line 68
1 messages · Page 1 of 1 (latest)
Thankyou!
Always be like that i miss the most open things lol
No errors
And in my eyes it all looks good
Well what is supposed to happen here?
Knockback damage and height on the uptilt when holding space and the length the knockback is
Did that make sense?
Well what happens when this code runs?
Nothing at all the animation and all plays but this script dosent seem to work for some reason dosent give me any errors or anything
Maybe ive done some typos i havent noticed
I can record a short video of what happens if needed
Is that code supposed to run if the “Action = “nil””?
Yeah you can send one 👍
Oh no its not supposed to be m1 im pretty sure
At the top you check if it is equal to the string nil, might be a typo or if you meant to do that
The damage part works now anyways ima record the video rq
So as ive tried to do is if players are holding space down it should do a uptilt but that dosent work and the knockback i set to 10 i think it was isnt doing its thing either
Last hit supposed to do a bigger knockback aswell if you havent noticed by the code
Ok let’s start by debugging this
Lets give it a go atleast
Instead of giving the dummy knock back it happens to me aswell
Can you show me what you send through the data part in the remote?
Nvm it’s above
Oh sorry didnt notice y typed
** You are now Level 4! **
Its my first time dealing with a advanced system like this so i expected to run into issues
Ok put a print statement in all the if statements and see if any of them run
Ok that means it’s a issue with adding the velocity
So how would i fix it?
Instead of BodyVelocity you can also use ApplyImpulse
Pretty sure BodyVelocity is depricated
ill give it a shot
HRP:ApplyImpulse(Force: Vector3)
I don’t work with velocity stuff often so sorry if I make any mistakes
All good i dont mind really the fact your trying to help is enough!
Where do you see that?
Also make sure nothing is anchord on the dummy
Why is everyone named mark geniuses at coding lol a dude i work with is named mark aswell and is a genius
Looks like in the video it is anchored
Random but yeah lol
Oh yeah anchored the dummys
They won’t be affected by physics so I would unanchor them
Thats cuz i had to for making anims in blender
Ik forgot to unanchor em
Well that’s prob the problem 😆
Also sorry I have to go now since I’m not actually home rn, I could help later when I come back.
Eh
You can dm me if you have any problems
Id love that
Tryna avoid getting punched lol
Its like the ground thats dragging them tried putting em into the air
Hope you fix it but I will be back in a little while, dm me if you have anymore problems 👍