[OPEN SOURCE] TAG Attribute module!

Hey! Developers do you want your combat or your more flexible? tag attribute module is for you , its help you to control your script for example : You want your combat punch while not Blocking ? or You want a swing a sword and check the enemy is blocking this module is good for that stuff. This module is friendly with newbie scripters
Tutorials:
Require module

local module = require(your module path)

now you can use many function:

--create a Attribute
module.new(ins:Instance,  name:string,value) -- you can leave the value prameter nil

find an Attribute

module.find(ins: Instance ,  name : string) -- true : have an Attribute or false don't have an Attribute

remove an Attribute

module.remove(ins : Instance , name : string)

feature:
Ban attribute list

--  create ban list table
local banList = {
"AMOGUS" , "CRINGEMONKE" , "yourvalue_withoutspace"
}
--create ban object
local ban_obj = module.createBan(banList) -- will return a object

function:

--check banned Attribute list
ban_obj:checkBannedAttribute(ins : Instance) -- return  true : have an ban in banned list or false = dont have an banned Attribute in a banList
--add ban
ban_obj:addBan(... -- all your value for ex : "cat" , "dog" , "dolphin")
--remove ban
ban_obj:removeBan(ins :Instance)

heres the module:

have fun,
TF_Killer

3 Likes