‘Title’
jutsuReceiver.OnServerEvent:Connect(function(player, handSigns, mouse)
if handSigns == "X" and game.ServerStorage.JutsusLearned[player.Name]:FindFirstChild("Shadow Clone") then
ShadowClone(player, numberOfClones, despawnTime)
end
end)
‘Title’
jutsuReceiver.OnServerEvent:Connect(function(player, handSigns, mouse)
if handSigns == "X" and game.ServerStorage.JutsusLearned[player.Name]:FindFirstChild("Shadow Clone") then
ShadowClone(player, numberOfClones, despawnTime)
end
end)
Firstly, what argument is returning nil. Secondly, what bit of code is calling the remoteevent?
the player, it only works sometimes
if Input.UserInputType == Enum.UserInputType.MouseButton1 and #handSealsUsed > 0 then
local tableConv = table.concat(handSealsUsed,"")
game.ReplicatedStorage.JutsuReceiver:FireServer(tableConv, mouse)
for index,_ in pairs(handSealsUsed) do
handSealsUsed[index] = nil
end
end