error: attempt to index local 'Humanoid' (a nil value)
script.Parent.Handle.Remotes.Detain.OnServerEvent:Connect(function(Suspect)
local Humanoid = Suspect:FindFirstChild("Humanoid")
local Animation = Humanoid:LoadAnimation(script.Parent.Handle.Animations.Detained)
Animation:Play()
end)

1 comment
Suspect is the player btw