I’m trying to insert a particle into a UpperTorso, which works well, its changing the particleEmitter.Color that is weird. At first, I tried Color3.new() and it didn’t work with an error stating that I need to use ColorSequence, so I tried that and nope, now nothing works!
Please, help, I need it! This is probably the most advanced thing I’ve ever made, out of everything, even though its only 1 line lol
Code (everything works great if its inside of StarterCharacterScripts except the color part):
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
if not character or not character.Parent then
print("No character found.")
else
local particles = Instance.new("ParticleEmitter")
particles.Color=ColorSequenceKeypoint.new(7,Color3.new(0, 1, 0.498039))
particles.Parent=character.UpperTorso
end