#bullets being inconsistent

1 messages · Page 1 of 1 (latest)

modest sierra
#

.touched being very unreliable, i've since changed it to runservice just to have it create hitboxes even after bullet deletion. (i tried printing bullet and it prints the instance despite the instance not being in the game)

ivory schoonerBOT
#

studio** You are now Level 12! **studio

modest sierra
#

this is the runservice i used

#

what

#

im using projectiles

#

and even then it wouldnt fix the issue

#

i have a perfectly fine hitbox system

#

just that it keeps triggering it

#

the problem is the trigger not the mechanism

#

you're proposing a mechanism

#

the bullets are projectiles

#

but i do understand what you mean

#

make a short raycast and whatever

#

(and that only works if the bullets are thin, i'd like to make a reliable solution for future projectiles)

#

touched was my 1st tirgger

#

but it was unreliable

#

so i switched to runservicve

#

and now its doing what its doing now

#

check video if u dont know what im tlaking about

#

tried both with and without

#

both unreliable

#

frankly i dont see what the problem is if i used get parts in part

#

what??

#

if the raycast hit the player at 1st

#

but then the player moves before the bullet hits them

#

then it would still count

#

thats kind of the point of using projectiles instead of hitscan..

wraith patrol
#

use raycast bro

modest sierra
#

bro i already have hitboxes

#

the hitboxes are perfectly fine leave them alone 😭

wraith patrol
#

raycasttttt

modest sierra
#

bro fym raycast 😭

wraith patrol
#

.

#

u got the solution here

modest sierra
#

the guy moves closer

#

walks torwards the player

#

the thing doesnt check

#

cuz it only checks for the old distance

#

new distance is closer/farther

#

???

#

the bullet LANDS on the WALL

#

and when it LANDS on the WALL THATS when you want me to check?

#

how would that even work bro 😭

#

?

ocean saffron
modest sierra
#

it keeps making hitboxes

#

i want that to stop

ocean saffron
#

this is stupid btw

modest sierra
#

EXACTLY

#

LEAVE MY HITBOXES ALONE

ocean saffron
modest sierra
#

if u want to see more tell me which part

#

resent for convinience

#

ignore the third one that one is changed to the 4th one

proven citrus
modest sierra
ocean saffron
proven citrus
#

did i catch that right? thonkoof

modest sierra
ocean saffron
#

can u show the hbmod.Create() function

modest sierra
#

err

#

ok hold on

#

ok my hbmod is very unorganised

proven citrus
modest sierra
#

give me a sec while i compact things abit

ocean saffron
ivory schoonerBOT
#

studio** You are now Level 5! **studio

modest sierra
#

and im not quite sure what you mean by destroy after task.wait

#

thats the amount of time the bullet travels to its destination, i wouldnt want it to get deleted before it hits something

proven citrus
modest sierra
#

but it mind as well be able to hit multiple things if it happens to hit 2 things at once

#

cuz of well hitboxes

modest sierra
proven citrus
modest sierra
#

uhm

#

thats not exactly the problem

#

the problem is the hitboxes keep generating despite after the bullet gets deleted

proven citrus
#

hbmod.Create every Stepped with no way to stop it will do that to ya fingerguns

modest sierra
#

the thing that threw me off was the fact that it still ran despite the if statement

proven citrus
#

such are upvalues

#

maybe you have a local bullet in the wrong place 🤷

raven bear
#

yeah

modest sierra
#

"yeah" 💀😭

raven bear
#

what

#

just agreeing with him

modest sierra
#

are you high 😭