#[solved] client tracer won't fade
1 messages · Page 1 of 1 (latest)
mb
this is the client code for setting up the tracer
this is the server code for setting up the tracer
i dont see anything that actually uses fadetime in either of those snippets
and this is the tracer
ignore the bindable event its not important
the script is what activates the fading
your tracers are not fading because you appear to have no code which does this
the script in the tracer part does though
both the client and server create tracer scripts use that same tracer
show it
you can tween the transparency directly
and tween.completed:connect( part:destroy()
ok well how would i put this into its own thread
make sure to check your output window for errors
ye your code is working
it's clearly visibly working in the recording
i have 2 tracers
one that appears only on the client
and one that appears on the server (for everyone)
the one that is on the server is fading
the one that is on the client isnt
what's not working is the one that's supposed to remove the client tracers. a few reasons for that. first, since these clones only exist on the client and they have a server script which handles the fading, the fade will never happen. that's the first part. the second part is even if you did have a localscript, those dont run in workspace so you'd need to do something different there. and looking at the script you do have, it's checking workspace.game.effects.tracers but your client ones are in workspace.game.clientEffects.tracers, so that's another thing
tbh you dont even need that script in the clone
just put the tween in these scripts
oh yeah youre right
anyway putting them in effects doesnt work
i see
ill find the solution
tween:create(tracer, {transparency=1}).completed:connect(tracer:destroy()) etc it's like 2 lines, you don't need to muck around with numbervalues and tweening the numbervalue and a bunch of while loops and waits and cloning scripts and that whole disaster. can be done much simpler.
damn
new to all this tweening stuff, probably shouldnt have followed the first tutorial i saw
