#Bullets dosent kill monster
1 messages · Page 1 of 1 (latest)
What solutions have you tried
gun script
i tried by
making the bullets command that if it touches smth called a humoid root part then it reduces health
i checked the print output and it shows that the humanoid root part is getting damaged but it dosent die but it dies to the classic sword
english is not my main language so pardon
and making the humanoid root part command that if it touches smth called a bullet then it reduces damge
i mean reducdes health
idk if you miss spelled but, only the Humanoid gets damaged, not the HumanoidRootPart, since it's a BasePart
I'll read the code
ok
server
i don't think
ah, ok
i don't recommend creating parts and detecting if they get touched
this is pretty unoptimized
** You are now Level 10! **
consumes a lot of memory
instead, use raycasts and simulate the bullets on the client
mhm.
raycast is pretty easy to use and 100% more optimal
do you want me to help you apply it?
if u want to then sure
have you ever used raycasts before?
no but i can learn it myself
or try
i main in animating but i tried to learn scripting as well and floppy
ty
pluh
I'll remember that
i need to sleep
Oh