local UserInputService = game:GetService("UserInputService")
local animation = Instance.new("Animation", workspace)
animation.AnimationId = "rbxassetid://INSERTANIMATIONIDHERE"
UserInputService.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.E then
for i,v in pairs(workspace:GetDescendants()) do
if v.Name == "Humanoid" then
v:LoadAnimation(animation)
end
end
end
end)