#pvp script not always working

1 messages · Page 1 of 1 (latest)

fiery kraken
#

anyone knows what's wrong with my script. looks like it's not working well and sometimes it doesn't hit the player:

#

it depends on the positions I am

lethal isle
#

have you tried shape casting?

fiery kraken
#

What's this?

lethal isle
#

raycasting with shapes

fiery kraken
#

Ohh

#

I never used that

#

Is there a tutorial or an easy fix to change from raycast to shape cast

lethal isle
#

not sure if this is the best tutorial never used shape casting before

fiery kraken
#

Okok ty

#

So shapecasting will fix my script?

lethal isle
#

if it's close combat without weapons i recommend spatial querying

fiery kraken
#

What's that hahah 😅

lethal isle
#

note, for more info go to roblox's docs and dev forum

fiery kraken
#

Yes

#

Ty again!

drifting spire
#

I mean if this is melee then use getpartsinbound

#

It's performance cheap and easy to do