The script:
repeat wait() until game.Players.LocalPlayer
local player = script.Parent.Parent
local mouse = player:GetMouse()
mouse.KeyDown:connect(function(key)
if key == "e" then
player.Character.Humanoid.Sit=true
local Player = game.Players.LocalPlayer
local Particle = Instance.new("ParticleEmitter")
Particle.Parent = Player.Character.HumanoidRootPart ---
Particle.Color = Color3.new(255, 255, 255) ---
Particle.LightEmission = 1 ---
Particle.LightInfluence = 1 ---
Particle.Size = 1 ---
Particle.Texture = "rbxassetid://012345"---
Particle.Transparency = 0 ---
Particle.ZOffset = 0
Particle.EmissionDirection = "Top"
Particle.Enabled = true
Particle.Lifetime = 0, 10 ---
Particle.Rate = 5 ---
Particle.Speed = 5 ---
end
end)
how do i make the particles stop after 1 second and they dont come back until you use the script again?
