Hello. I’m currently working on an M1 system and I was going to utilize the “ChildAdded” and “ChildRemoved” function to basically add a string/bool value to a player and have that handle stun all together but to make it more exploit proof I wanted to make it an attribute. I wanted to know if something like “AttributeChanged” could work the same way. I know some people may be thinking that “Well roblox has been taking a lot of steps towards anti-exploit”, though you are right, I refuse to trust roblox with anymore than my driver’s license. Not going to bet my game on their dumb mistakes.
So, if anybody can tell me of a “ChildAdded/Removed” equivilant, that’d mean the world to me and make myself a little bit easier. I’m a solo dev who’s self taught in all aspects so little bits of help like this even if it’s one sentence go a LONG way. Even if you don’t reply, thanks for reading all of this reagrdless. Have a good day/night, and stay safe.
That’s not going to make it any more exploit proof than it is with your current setup. It is going to improve performance though because attributes are more efficient than values.
Have you checked the documentation? It has everything you need.
Go figure why did I think I’d be any better off LOL. And yes, I’d reading the documentation as we speak, and there’s “AttributeChanged” but could I basically just give everybody a “Stunned” bool value and whenever it gets flicked on, it then changes… Ok so as I’m writing this I’m realizing how simple that’d be to do and how stupid I am, turns out I am my own obstacle. Thank you all the same though, and I apoligize for my inability to think.