# damagedevice.pickup(Agent not working

**URL:** <https://forums.unrealengine.com/t/damagedevice-pickup-agent-not-working/1683221>\
**Category:** Verse\
**Tags:** unreal-engine, unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [February 12, 2024, 5:06am UTC](https://forums.unrealengine.com/t/damagedevice-pickup-agent-not-working/1683221 "2024-02-12T05:06:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Burntoast422](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Burntoast422](https://forums.unrealengine.com/u/Burntoast422)\
**Post date:** [February 12, 2024, 5:06am UTC](https://forums.unrealengine.com/t/damagedevice-pickup-agent-not-working/1683221/1 "2024-02-12T05:06:01Z")

</div>

DamagePower(Agent:agent):void=  
loop:  
Sleep(increaserate)  
damagedevice.SetMagnitude(damage)  
damagedevice.Pickup(Agent)  
set damage += 0.1  
Print(Message1(Agent))
