Sadly, you have to modify the script for IY or Dex to run on Roblox Studio.
It also doesn’t help that v3.5 - 3.7.2 has broken wrapping, meaning that even interacting with instances inside of xAPI is extremely buggy.
v4.0+ has no wrapping so that it actually does stuff instead of pretending to do stuff. This also means however that things like game.CoreGui
cannot be controlled.