Take Off Attachment

Hello,

So basically I have an attachment and it works perfectly I can get it on the model and what not, but I’m having trouble taking the attachment off. What I want to be able to do something like:

if the attachment is on then
take the attachment off.

Sort of like ply:HasWeapon but like… ply:HasEntity

Any solutions?

You might want to post the code you use to create the attachment, we can’t help you otherwise.

The code is rather complicated and messy but to simplify it:

I just need a way to remove an entity that is attached with SetParent

Entity:Remove(), duh?