I’m try to make an energy system for my fnaf game(FIVE NIGHTS AT GIMKIT (V.01))

I have the energy displayed and it counts down, I just need to find a way to teleport you to the jump scare place. I’ve tried using item managers to gain an item every time your energy goes down. I’m trying using the Checker right now. It would also be help full if I could find a way for energy to go down faster when using lights and doors.

When do you need to get teleported?

If you are using a button:

Button Pressed ---> Grant Item

Just use an item granter that grants negative energy
(ex. -40, -100 etc.)

When you run out of power

I’m not familiar with FNAF’s gameplay. Are you looking for a system like this?

1 Like

I already have the power going down, I just heed to know how to get to the point where I can end the game

I need the power to deplete fast and get teleported once you run out of power

Make a lifecycle (game starts)
Then place a repeater that never ends.
Then place a checker that checks for item amount(energy)(equal to 0).

Event Occurs ---> Start Repeater
Repeater Runs Task ---> Check
Check Passes ---> Teleport

And use the movement meter that is on on game start.

Ok I’ll try it! How do I make a repeater that never ends though. I know how to make a infinite trigger system

You can use an Item Inventory Manager to detect when you run out of energy. If you want to deplete energy faster, either use different item granters with different values or repeat your depletion system at a faster rate.

I tried that, and there’s no way to teleport with the manager, even with channels

How would I need that??? It would kind of ruin the free roam unless I make an infinite grant system

Ohh, I did not know that. Sorry!

1 Like

So my system is you lose energy and gain cash and you can get prizes at the end for so much cash, and it makes players want to play longer and try to collect all the prizes which makes them want to come back more, which means you get more plays! Pretty smart, huh?

To not free roam. lol

Alright here’s what I’d do to teleport to the jumpscare section:

  1. Set these blocks in a Inventory Item Manager

  2. Place a Trigger and make it trigger when it receives the No Energy message

  3. Wire the Trigger to a teleporter or a Camera View device depending on how you want your jumpscare to look

And if I didn’t mess up and I correctly understand your energy system, I think this should work as intended.

4 Likes

I did not understand what you were asking for @Gearfax1 ! I was so confused.

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.