#ROBLOX_ZombieAi Hitboxes

1 messages · Page 1 of 1 (latest)

ruby estuary
#

My game that I am making is a combat game against zombies or pvp in the pvp mode. My issue here is with zombies. I'm using the ROBLOX_ZombiaAi found in the drooling zombie.

As you can see in the video, the zombie is hitting my sword (found in game.Workspace.Characters.(myusermodel).SwordName) and treating it like a valid part to deal damage to. I don't know what's the issue, as the roblox ai script checks if its hit a limb (not accessory or part).

old remnant
#

have you tried making your own zombie AI?

ruby estuary
#

no. im not making a whole ai for a test for weapons.

#
if other.Name == "HumanoidRootPart" or other.Name == "Head" or other.Name == "Left Arm" or other.Name == "Right Arm" or other.Name == "Left Leg" or other.Name == "Right Leg" or other.Name == "Torso" then
                    isBodyPart = true
                else
                    isBodyPart = false
                end
#

this is what im on about

#

why is a part in the character that isnt a body part being quieried as a collision

#

roblox's demonstration scripts work fine enough, apart from this

#

tools dont have collisions, but they arent in the players model

ruby estuary
#

ive js given up, ill fix it later.
-# when i cba

worldly gust
#

roblox zombie ai is easy

verbal siloBOT
#

studio** You are now Level 4! **studio

worldly gust
#

i made zombies throw bombs for fun

#

these youngins these days...

ruby estuary
#

this is about their hotboxes, not about adding new features to them

steady pendant
#

when equipped

#

i recommend disabling

#

CanQuery

#

or CanTouch

#

for the weapon

#

as a work-around