Line where code stops executing:
Line 35
-- v.Parent is a Player
local isParrying = getStateEvent:Fire(plr, v.Parent, "Parrying")
Function it's calling:
local getStateEvent = game.ReplicatedStorage:WaitForChild("GetStateEvent")
getStateEvent.Event:Connect(function(plr, enemy, stateKey)
local stateKey = enemy:GetAttribute(stateKey)
if stateKey == nil then
stateKey = false
end
return stateKey
end)
Script locations:
** You are now Level 9! **