been working on a combat system, but im fairly new to studio so im not sure what's the best way to replicate vfx and sfx across the server. for instance if i punch, should i just play the animation locally and have the server play the sound/vfx? or should i manually fire all the clients to use some sort of local vfx script and have them play it themselves?
#How should i replicate vfx and sfx
1 messages · Page 1 of 1 (latest)
I would do vfx and sfx through server
Well you can do vfx and sfx on the server. But normaly it is recommended to do them on the client.
Even animations?
Ive was trying to see if it was worth it to make a remote event or function system where the server just fires vfx to clients so it doesn’t have to
You can do animations on the server but I would strongly recommend doing them on the client. Makes them feel more responsive
You can do that. But if there would be a way to check if there should be vfx somewhere by just relying on the client and without use of a remote event then that would be even better
just fire remote to each client with data
VFX:FireAllClients("VFX", {skillId = 45, pos})
each client executes VFX module
with that data
do you even know how to script