#ParticleEmitter is not emitting nothing 😭

1 messages · Page 1 of 1 (latest)

icy grove
#

Hi, i just know a bit how to read lua code, and i try to made a very dumb pet sim game to play it with friends, so i used AI and some code i found to make almost all, but i just cannot do a script than when a coin breaks it drops particle, i try to a code than copys a part wich has a particle emitter, but it just dont work, what can i do? is the first game i actually try to do, so sorry if its a dumb question (I know stealing code is bad but this is just a silly game i want to play with friends)

analog timber
#

sounds like a silly waste of our time!

icy grove
meager pecanBOT
#

studio** You are now Level 1! **studio

analog timber
icy grove
agile hamlet
#

and, i recommed instead of making the emitter from scratch using scripting, make an already exist]ing one and clone it to the toilet effect part

#

to garuantee its not a problem with the values of the particle emitter

#

gl!

arctic jasper
#

lmao

#

no way they made such a mistake

quick flower
#

nvm bruh i missed smth again

#

sry ignore me

icy grove
arctic jasper
quick flower
# icy grove i read that message u send i was thinking how much dumb i am

yes this is a common problem @icy grove its bc there is a slight delay to the particle emitter, the exact time i dont know, but i have come across this problem several times. What I did before was emit the particles BEFORE the "coin break" to sync it, however this is unstable and unreliable

icy grove
icy grove
arctic jasper
#

as what type of script?

#

sorry just making sure

icy grove
#

Script

icy grove
arctic jasper
icy grove
quick flower
icy grove
#

i dont wanna expend days in making just a particle, cuz i wanna make the game soon

icy grove
quick flower
icy grove
#

and when i start trying the particles, it turns fun into pain 😭

icy grove
#

im not trying to make a viral game or smth

icy grove
quick flower
#
for i, v in ipairs(skibidiModel:GetChildren())
  while v.Transparency < 1.01 then
    v.Transparency += 0.01
    v.Size += Vector3.new(0.1,0.1,0.1) --you can adjust this to smaller or larger if you want
    task.wait(0.01)
  end
end
agile hamlet
quick flower
#

@icy grove

icy grove
agile hamlet
quick flower
icy grove
icy grove
quick flower
icy grove
meager pecanBOT
#

studio** You are now Level 2! **studio

agile hamlet
#

make particle emitters

#

like, the object

quick flower
agile hamlet
#

store it somehwere like replicated storage

#

use Clone() to clone the object

#

for example

icy grove
# agile hamlet make particle emitters

yeah i know, but i tryied to make a invisible part with particleemitter inside than when i break a breakable, the part apears for a second and drop some particles

icy grove
agile hamlet
quick flower
# icy grove I deleted it for error ig, thanks

yes, it can error bc the script runs slightly longer than the destroy meaning it will be running on nil, and therefore think something is wrong
put a return after the Destroy, everything works

icy grove
quick flower
agile hamlet
icy grove
#

but thanks

agile hamlet
#

np, gl on your game

buoyant wren
quick flower