How to waste energy on gadget sho*t?

Hello! Only my second “topic”.
I would really enjoy and appreciate the help :slight_smile:
I really just am making a simple back and forth sht game and I need help wasting user energy from shoting, yes, I already have grant energy on question answer and waste energy when moving, so any good info can help, thanks!

2 Likes

a lifecycle should be able to listen to when a player fires a gadget, try hooking that up to your current waste energy when moving system.

1 Like

Hi boss! Could there be a bit more info sorry I have ADHD and am worried about how this sounds bc it seems hard even tho its prob not, what do I connect up to the moving system? Thanks so much for responding so quickly btw I appreciate it

2 Likes

Grab a Lifecycle, set it on [Player fires gadget], then get an Item Granter, select [Energy] as the item you want to grant, input a negative number. (for example, -25)

Wire them as follows:

Lifecycle (event occurs) → Item Granter (grant item)

6 Likes

Thank you that worked. Also thanks boss!

1 Like

Ok so if you’re using wires, just wire the lifecycle to the item granter that takes away energy. for channels, put in the channel name in the life cycle that matches the one in the item granter, and you should be good to go!

Dang it yoyo y are you so fast :frowning:

2 Likes

okay thanks! Also one more thing. how do I make it so they cant sh*ot unless they have energy, and not just take away energy

1 Like

Use a checker to check if they have greater than 0 energy, if the check fails, dont grant them any shards (ammo) until they answer a question from the questioner

and you could repeatedly check thier energy by making a trigger loop (Wire Repeaters vs Trigger Loops)

2 Likes

Thank you I will try this now!

2 Likes


What’s this, sry for still going but its confusin

1 Like

it’s the y in if x>y, put 0

1 Like

so I just put 0 right?..

2 Likes

Yep! and if it dosent work, just let me know

1 Like

okay so what do I wire also thx so much for wasting ur time that u could be doing something important on to help me!!! :slight_smile:

1 Like

Eh, its just homework and Scratch. I procrastinate, no one cares cause i get it done at some point anyhow.

All off-topicness aside, I have a quick question: do players automatically get ammo by clicking the reload button, or do they get granted ammo with a game overlay? if its the former, you’re gonna have to change it to the latter, which is not that hard, it just uses more memory.

2 Likes

They do get auto ammo rn but Idk how to change that… ive only been using creative for like 2 weeks


This is it so far

1 Like

ok follow the instructions on this post: How can I make player HAVE to press a button to refill ammo? - #4 by Here_to_help

i will be back

1 Like

kk thanks u so much :slight_smile:

2 Likes

Once ur back pls lemme know, I read the solution on that last one and its very confusing :sob:

2 Likes

wdym?
also i suggest you unmark the solution if you don’t think this is working out (yet), no offense yoyo

1 Like