Here's the link on what the bug looks like
i tried fixing it,but it made things worse so i need HELP!
Here's the link on what the bug looks like
i tried fixing it,but it made things worse so i need HELP!
I don't recommend using LookVector as it's values are relatively low, I instead would use;
local delta = player.Character.HumanoidRootPart.Position - Hit.Parent.HumanoidRootPart.Position
local bv = Instance.new("BodyVelocity")
bv.Parent = Hit.Parent.HumanoidRootPart --You can use any body part here, I just prefer rootpart
bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
bv.Velocity = delta.magnitude* knockback_strength_here --put your desired knockback here
game.Debris:AddItem(bv, 0.05) --Debris removes instances after x amount of time
Hope it helps!
Oh well the bug is still here but i learned something new from this :)
This discussion is preserved as it was. New answers, comments, and votes are closed.
6 comments
pls provide code / demo place.
You can see the code in the video
I don't want to decipher and retype code from an image. Post the code in plain text
Im just going to make it into a model I'll send a link
Here's a demo place https://www.roblox.com/games/4695574001/Joe-Demo-Place-BUGS im not going to make a model anymore
Thats not code