and you have yet to see what I mean, this is hilarious
you don’t understand why I said those three do you?
Changed
let’s start off with Changed, so what is different?
well Changed runs whenever an instance changes, you can’t do that with my module because the trail instance isn’t the only thing changing properties and you can’t access the trail at all unless you know where it is, there are multiple things changing at once.
TrailAdded and TrailRemoved
why TrailAdded over ChildAdded and why TrailRemoved over ChildRemoved, well you can’t easily detect when this stuff happens, like I said less work for the scripter or anyone using this
these signals are here to make you have less code and making everything efficient and clean
I edited my message btw, I explain stuff
the default signals for the instances wouldn’t work well at all
also ChildAdded and ChildRemoved check if a child is added or removed from an instance and that is not the same as what TrailAdded and TrailRemoved do because they run when a trail is added to anything or removed from anything not a specific instance
I like this module, it does something with trails I didn’t even know was possible. Just being a little nitpicky here, but you use pcalls pretty excessively here:
It’s nothing really major, and the script still works and performs correctly which is what really matters. But for the sake of being neat, you can get rid of the pcalls and use this, which uses the :IsA method:
if typeof(Clone) == "Instance" then
if #Clone:GetChildren() ~= 0 then
Clone = Value:Clone()
Clone:ClearAllChildren()
elseif Clone:IsA("GuiLabel") then --The object has a "Text" property
Type = "Text"
elseif Clone:IsA("ValueBase") then --The object has a "Value" property
Type = "Value"
end
elseif typeof(tonumber(Clone)) == "number" then
Type = "Number"
end
Despite what other people said (@RealExoctic), even though some people can’t find a use for this, other people can (like me), and that doesn’t make it a bad resource.
as I said before I am getting back July 4th, however V2 will not be worked on because I’m going to try and get a huge update done for a game I’m working on
also both CrazTrail and MathModule will be given a new post and a new name when they get to their next version which will be worked on after that huge update