Well, code sharing isnt allowed here so you can use this!
@Galactic-Studios Please mark a solution so this can close!