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)
Your "Suspect" variable is probably a variable for a player in the "Players" services. To fix that, you need to find the player in the workspace:
local Humanoid = game.Workspace:FindFirstChild(Suspect):FindFirstChild("Humanoid")
I hope this worked for you. -- Toby