I need help with coding read down below

i have a code with function and stuff like that and its really long how do i put that into my gimkit minigame it has admin commands and stuff like that

edit:

Gimkit Fishtopia
<div id="ui">
  <div id="playerInfo">
    <h2 id="playerName">Player</h2>
    <p>Money: $<span id="playerMoney">100</span></p>
    <p>Level: <span id="playerLevel">1</span></p>
  </div>

  <div id="shop">
    <h3>Shop</h3>
    <div id="shopItems"></div>
  </div>

  <div id="stats">
    <h3>Fish Caught: <span id="fishCount">0</span></h3>
    <h3>Total Score: <span id="totalScore">0</span></h3>
  </div>

  <div id="adminPanel">
    <h3>Admin Commands</h3>
    <input type="text" id="adminInput" placeholder="Admin command...">
    <button id="adminSubmit">Execute</button>
    <div id="adminOutput"></div>
  </div>
</div>

edit: 3 ill try my best to do it thank you all

Welcome to the forums @asdasasdsad!

Can you give us more information on what you need help with?

2 Likes

Well what is the code first of all? Or you don’t know where the block code is?


Forgot to mention, welcome to the forums @asdasasdsad!

I get notifications fast and reply as soon as I can.

Same lol

2 Likes

Elaborate. Could you tell us more about said function?

JINX!!! jkjk

real…if im not doing hmwk at that time lol

2 Likes

So this is a chunk of the code

Gimkit Fishtopia
<div id="ui">
  <div id="playerInfo">
    <h2 id="playerName">Player</h2>
    <p>Money: $<span id="playerMoney">100</span></p>
    <p>Level: <span id="playerLevel">1</span></p>
  </div>

  <div id="shop">
    <h3>Shop</h3>
    <div id="shopItems"></div>
  </div>

  <div id="stats">
    <h3>Fish Caught: <span id="fishCount">0</span></h3>
    <h3>Total Score: <span id="totalScore">0</span></h3>
  </div>

  <div id="adminPanel">
    <h3>Admin Commands</h3>
    <input type="text" id="adminInput" placeholder="Admin command...">
    <button id="adminSubmit">Execute</button>
    <div id="adminOutput"></div>
  </div>
</div>
1 Like

well you cant put direct text code into the game but you can use block code to replicate this

mis click its not solved but its extremly long its over 100 lines of code

ok, so this is the uh text/overlay device and uses block code to change the text to

Money: {playerMoney}
Level: {playerLevel}

playerMoney and playerLevel are both properties

and…nvm

Every device in gimkit that lets you use code has a max of 75 blocks

@Boss_1s

2 Likes

I mean if you want to recreate fishtopia you can check out these guides:

also @asdasasdsad pls don’t mark your own post as the solution, it is usually frowned upon (unless you truly answered your own question). mark the post that helped you the most instead. Thanks, and have a nice day/night!~~

@Colton the code their giving is from fishtopia, and since they mentioned attempting to import it into their map I assumed that they wanted to make fishtopia in gkc. If you’re talking about the post before that i kinda hit reply at the same time he said misclick…?

3 Likes

This isn’t code that can be replicated with blocks.

An admin panel isn’t something that exists in gimkit. The code also refers to a lot of functions and assets that are outside of this block. I actually have no idea where you got this code from, but it’s not something that could be used as a reference within Gimkit creative.

We actually have no idea what this is. playerLevel isn’t something that exists in fishtopia. It could be for the leaderboard, or it could be for the theoretical admin panel OP wants to make. We really aren’t given much information to decipher what any of this block is supposed to mean.