# Safe Spot Exploit (Bug?)

**URL:** <https://discourse.codecombat.com/t/safe-spot-exploit-bug/36008>\
**Category:** Bugs\
**Created:** [September 2, 2023, 5:56am UTC](https://discourse.codecombat.com/t/safe-spot-exploit-bug/36008 "2023-09-02T05:56:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roboham](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/roboham/32/22883_2.png) [@Roboham](https://discourse.codecombat.com/u/Roboham)\
**Post date:** [September 2, 2023, 5:56am UTC](https://discourse.codecombat.com/t/safe-spot-exploit-bug/36008/1 "2023-09-02T05:56:04Z")

</div>

This Code needs a few submits to get a random seed:  
And you’ll need a wizard for this:

```python
hero.moveXY(39, 46)
rbs = hero.findByType("robobomb")
rb = hero.findNearest(rbs)
hero.cast("swap", rb)
hero.moveXY(40, 57)

```

The hero will die for a few times but then 1 random seed it will succeed

---

<div class="post-metadata">

**Author:** ![Roboham](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/roboham/32/22883_2.png) [@Roboham](https://discourse.codecombat.com/u/Roboham)\
**Post date:** [September 2, 2023, 5:57am UTC](https://discourse.codecombat.com/t/safe-spot-exploit-bug/36008/2 "2023-09-02T05:57:00Z")

</div>

I think it’s a big problem

CodeCombat should ban this swap spell in this level LOL

---

<div class="post-metadata">

**Author:** ![JustALuke](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/justaluke/32/43608_2.png) [@JustALuke](https://discourse.codecombat.com/u/JustALuke)\
**Post date:** [September 2, 2023, 2:02pm UTC](https://discourse.codecombat.com/t/safe-spot-exploit-bug/36008/3 "2023-09-02T14:02:09Z")

</div>

There’s a lot of levels that you can just cheese with spells or heroes.
