Combination System

Hey, so basically I’m creating this combination system based on the clients input on the numbers, here’s how I want it to work.

You hover your mouse over a combination and then press Q to enter that combination, if you make that combination successful it’ll cast the rune (in this case this hasn’t been scripted in yet)

There’s a combination module that revolves around the 1. Rune Name and 2. Rune Combination.
image

Inside of this other picture is the client script showcasing it in general, although there’s a big issue

Inside of that image I need the whole combination to print alongside the rune name, except it does not do this.

Help would be great :+1: :heart:

image

The buttons are named, ‘1, 2 and 3’, therefore the combinations would be under the rune name inside of them module

It would be more convenient to access the combination through the module though?

It would, but the combinations are random :person_shrugging:
Therefore it would have to work alongside the module’s combinations as there could be 30+ combinations inside of the game

The combinations aren’t random? you’re defining them inside the module. The combination is v not v1.

image

Got it working other than the fact it will only do Speed rune?

Maybe like try showing your new code?

Sure

You’re clearing the combination table even when the correct key of a combination is pressed. This means that ‘Combination’ points to an empty table value.

Subsequent calls to table.find() in regards to that table all return nil (as a value cannot be found within a table that has no values).