How to add particles while starting to jump?

Hey Devs!

How to add particles while starting to jump?

Q: What do you want to achieve?
A: Particles on jumping in the studio.

Q:What is the issue?
A: I have no idea how to do it honestly. If that’s a dupe post then report it. The idea is, that i made a double jump, and i want first jump and second jump to look cool.

Q:What solutions have you tried so far?
A: Research. Im not good at scripting, though i couldn’t find anything.

Q: Should you laugh?
A: No.

Thanks!
Nowypro10

1 Like

With this event you can track the start of the jump:
https://developer.roblox.com/en-us/api-reference/event/UserInputService/JumpRequest

1 Like

LocalScript inside game.StarterPlayer.StarterCharacterScripts:

local Character = script.Parent 
local Humanoid = Character:FindFirstChildWhichIsA("Humanoid")
--the or is there in case the character is R6
local torso = Character:FindFirstChild("LowerTorso") or Character:FindFirstChild("Torso") 

local Particle = script:WaitForChild("ParticleEmitter") --your particle emitter
Particle.Rate = 0 
Particle.Parent = torso

local Debounce = false 
Humanoid:GetPropertyChangedSignal("Jump"):Connect(function()
	if Debounce then return end --avoid running the function twice per jump
	
	--run your particle code
	Particle:Emit(10) --simplified for the example
	
	--small debounce so its accurate
	Debounce = true 
	task.wait(.2) 
	Debounce = false 
end)

I tried to simplify it as much as possible.

2 Likes

Thank you for your help! I didn’t answer for long, sorry and thanks again.