So the bindable event return the argument outside the bracket and I don’t know how to get the argument that it’s returning?
script.Parent.Triggered:Connect(function(playerWhoTriggered)
local plrName = playerWhoTriggered.Name
if not inCombat then
inCombat = true
combatRequest:Fire(plrName)
local combatEndedPlayer
repeat
combatRequest.Event:Wait(returnedArgument)
combatEndedPlayer = returnedArgument
print(returnedArgument .. "=" .. plrName .. "?")
until combatEndedPlayer == plrName
inCombat = false
end
end)