And? You can already customize trails as your heart pleases, how is this a “way to have a more custom trail”
as of right now the module doesn’t let you change the trail instance’s settings, next version will allow that which means it will let you customize the already existing trails including the customizations my module adds onto it
trust me just wait for the next version, I’ll even have trail types where you can changes how the trail moves and works
V1 is nothing compared to what V2 will have
so in terms of customization this thing will be amazing
besides like I said V2 is also going to include signals or RBXScriptSignals that trail instances don’t even have at all
even V1 is still really customizable
Aand what are those signals going to bring? I see no actual use case for signals in Trails
let me name some rq
Touched, TrailAdded, TrailRemoved, Changed, and many more
like I said I am going to make this very useful
3/4 events that you mentioned already exist so why bother
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 still see no use cases for those specific events, if anything they already exist in the normal Trail instance
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
You can literally just do this??
Instance.ChildAdded:Connect(function(Child)
if Child == [path.to.trail] then
-- Do stuff
end
end)
Same goes for ChildRemoved
you are such a dense person aren’t you…
it’s annoying when people don’t think about what other people are actually talking about
also yes ik DescendantAdded and DescendantRemoving are a thing but that is still unnecessary code
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.
I didn’t use this because I didn’t know ValueBase was a thing, tysm
this has to be in a PCall because if you don’t enter an instance it will error
I made fixes on V2 already tho(coming out in july)
those two functions that check the numbers are improved into one function and have less code
Before this you check if the Clone
variable is an Instance
yea that was my exact solution to the problem, thanks for the help tho
love the feedback
thats not even possible as far as i know but DORYU is trying to make it possible
It is very possible, and it’s not hard to do it.
is it currently possible to make it one color only? i am trying to make an ice floor effect
not yet, that will be a V2 feature
I was supposed to release V2 a while ago but I’m on vacation until July 4th sorry