Watch Untitled by VRTLAL and millions of other Roblox Studio videos on Medal. Tags: #robloxstudio
#I have made a laser but this is only for clients.
1 messages · Page 1 of 1 (latest)
if anythnig hits , it fireserver and the serverscript doe dmg.
i am wonderihng how to replicate vfx across all clients
So raycast, hitbox, and vfx on client
dmg on server
and how do i replicate the vfx to other people accurately?
i would recommend a physics based approach since physics are replicated to the client.
in terms of ray casting you could cast on both server and client or cast on the client and send info to the server.
for hitbox + vfx the physics based approach would come in. you could use some mover constraints and edit the properties of that constraint on the client and it should replicate to the server
@floral rune
i don't use a raycat anymore
but a part that extends
so hitbox would be in server or client?
Somepoeple tell me to make a hitbox client, and hits validation on server
you could do that or just have hitbox on server
client hitbox with server validation is easier but more prone to exploitation
its alr