Hello, as the title suggests, I want to create a remote that handles replication, but I am very confused about how I can do this. I’m working on a combat game that would have multiple different characters and move sets, and I am confused about where I locate them and how I can call them without errors. Tips and suggestions will be a massive help, thanks in advance!
1 Like
Maybe I can help. But can you go into greater description of what you’re trying to do.
1 Like
example:
local remoteEvent = --location
remoteEvent.OnClientEvent:Connect(function(particle, property, value)
if particle then
particle[property] = value
end
end
1 Like
I’m making a combat game that has multiple characters and movesets people can use. Those movesets will have their vfx inside their modules. I don’t know whether I put all the scripts for all the movesets into repStorage and require it with the remote. I’m really confused about this.
1 Like
Ik how to use a remote and all that, I am just confused about this sort of replication
1 Like
Here is what im thinking of:
local RE: RemoteEvent
RE.OnClientEvent:Connect(function(...)
local Data = unpack((...))
require(Data[3][Data["FunctionName"]())--requires module or something
end)
I’m mainly confused on how I can style the code in a way that only the vfx will play and none of the actual components like effects that should happen to only one client or replicate more hitboxes.