What does this module do
this module will give a player a cool looking trail, it is very customizable and I am always looking for suggestions on what I could add or change
How to get the module
to get started with CrazTrail you need to get the module first
when you get the module you should see this in workspace
How to use the module
Inside the TrailHandler server script is what we need to look at
local CrazTrail = require(script.Parent)
game.Players.PlayerAdded:Connect(function(Player)
CrazTrail.new({
Player, --Player
20, --Height
10, --Width
20, --Length
0.2, --Trail Movement Speed
0.5 --Trail Color Wait Time
})
end)
the first argument is the player
the second argument is the trail height
the third argument is the trail width
the fourth argument is the trail length
the fifth argument is the trail movement speed
the sixth argument is the trail color wait time
Understanding the arguments
the first argument has to be a player that is obvious if you saw “How to use the module”
the second argument is about height, height will change the maximum height the trail can go up to
the third argument is about width, width will change how wide the trail can be
the fourth argument is about length, length will change how far back behind the player the spikes can form
the fifth argument about movement speed, movement speed will change how fast the trail spikes are formed. putting this at 0 will make it go the fastest and the higher it is, the longer you will have to wait for a new spike to form. This can be used to have more aggressive or less aggressive movements
the sixth argument about color wait time, color wait time will change how fast the trail changes colors. If the trail has 0 wait time that means it won’t wait and will change colors VERY rapidly. The higher the wait time the longer it takes to change colors.
How the module works
when you set this to a player a trail attachment will be put on an invisible part and the humanoidrootpart
the invisible part will move in random places while the trail is allowed to change colors with a fade effect
this causes basically no lag at all
the trail does NOT respawn if you die
you will need to set it up again with CrazTrail.new({})
I did this because it gives you more freedom on what you want to do
the number arguments work with anything that has a text or value property
the text and value properties have to be equal to a number
if you do the instance without saying “.Text” or “.Value” at the end then it will change the trail properties when those instances Text and Value properties change
if you end the instances with “.Text” or “.Value” then the trail properties won’t change because you just entered a number
again this can be used to the developers advantage to be more free with it
Tutorial
if you have any questions about the module please ask
here is the module - CrazTrail - Roblox
thanks for reading, doryu