HOW THE ACTUAL FRICK DO I MAKE HITBOX
yeah ik its probably an event function, but should i use an already made part? what do i even do with the part? bc all the vids i see always end up being scattered on how they make their hitbox. I jus wanna make a raycast so it knows when another dude gets hit so I can make them take damage or give them like an impairment by adding a value to their player
#h i t b o x
19 messages · Page 1 of 1 (latest)
Ignore uis, cooldown, all the fkn variables tbh. the messer variable is the sword model
theres 0 errors in my output whatsoever because there shouldnt be. I just wanna know what to do next with this to make a raycast from the hitbox inside the sword's model
if you want good detection
use Workspace:GetPartBoundsInBox()
https://create.roblox.com/docs/reference/engine/classes/WorldRoot#GetPartBoundsInBox
^^^^^
okay, but i do still need to fireserver on any activated m1 right? so then it can go into a script for the hitbox
and also, should this hitbox script be inside of the model? or serverscriptservice
its not working because the model its supposed to track is inside of replicated storage and is put inside of a folder
and also because its used in a normal script it will not let me use local player, so i cant use raycast
i didnt rlly wanna use boundbox bc it makes you have to use just a simple box that doesnt move with the animation
unlike raycast where if you attack it usually would base your hits off of where the actual blade is
that uses activated from a tool doesnt it? that wont work bc my sword doesnt use a tool ;-;