@Singtaa: Please consider leaving a review on the Asset Store if you enjoy using OneJS. It really helps us a lot! And, I promise it'll take less time than debugging your last script.😊 Oh also, OneJS V2 is now out of preview!
VERSION
Doc Menu

The Fortnite UI Sample has been updated for OneJS V2 and is available as a npm package. Refer to the video guide above for a quick Getting Started.

The Gist

  • npm install fortnite-sample
  • Setup SampleCharacter in scene
  • Test the <FortniteSample /> preact comp like below:
TSX
import { h, render } from "preact"
import { FortniteSample } from "fortnite-sample"

const App = () => {
    return <FortniteSample />
}

render(<App />, document.body)