I am making a game and what i want to happen is when a player starts to walk forward a cloud particle starts to appear behind them and follow them like a trail expect on the floor and when they stop walking the could disappears
I decided to give this idea a go, though generally you should attempt to do your idea and ask about problems that you face, or ask specifically what you need to do to accomplish it. This would be in the ServerScriptService. This uses the default particle, which is a sparkle; you might want to change that for your purposes. You can also change the settings of the particle emitter.
01 | game.Players.PlayerAdded:Connect( function (plyr) --when a player is added |
02 | plyr.CharacterAdded:Connect( function (char) --when the player's character is added. |
03 | local root = char:WaitForChild( "HumanoidRootPart" ) |
04 |
05 | --This creates the part that emits the clouds |
06 | local partiemit = Instance.new( "Part" ) |
07 | partiemit.Name = "ParticleArea" |
08 | partiemit.Size = Vector 3. new( 1 , 1 , 1 ) |
09 | partiemit.Transparency = 1 |
10 | partiemit.CanCollide = false |
11 | partiemit.Anchored = false |
12 | partiemit.Parent = char |
13 |
14 | --This welds the particle part to the character, meaning it will follow the player |
15 | local weld = Instance.new( "Weld" ) |
Use particle emitter, and a script the checks when the walkspeed value changes
You need to define the player speed. if the player's speed is 16 or more then put the particle effect inside the character
With all respects...if you dont know how to do this then you cant make one, you cant just trust on ppl to give you exact script, if you really want to make a game then add efforts onto, it not just by free models. plus scriptingHelpers was to get help not to request someone a system. You will need to learn stuff to make a game if you want it to be sucessfull. if you keep doing this then you will NEVER be in the front page, if you want to do this without any work at all then thats impossible, if you want to only put a bit of weight onto your shoulders then hire ppl.