#reading code from the default roblox sword, confused
1 messages · Page 1 of 1 (latest)
places a tag in the humanoid, tho it doesn't use the current tag system
no clue what the tag does from lack of context
Likely who is the owner of the sword so they don’t get damaged by their own sword, very old code
Sword only attack other people well take damage by default
This is an old-school mechanism used to identify who kills a player/NPC
It's inefficient and lacking in context. Scales poorly
A modern-day system outsources to an API: https://github.com/Ziffixture/Roblox/blob/main/KillsService.lua
This is an example of a system you'd use in an FPS game
so i should find a different method?
cuz im js tryna make a lil steal time game to learn how to code
If you're not able to fully grasp the example I sent, then go with the legacy mechanism
For a low-quality Roblox game, it's fine
word appreciate it
Oh interesting