#hey yall! I have a simple question, how would you go around making a counter ability?
30 messages · Page 1 of 1 (latest)
hey yall! I have a simple question, how would you go around making a counter ability?
also if anyone answers this please ping me so I notice the answer
um, I already know this, what I meant is like, how? the issue is that in the server script, there is an apply damage code, would I have to put the detection for the player counter before as: if data.Action = "Counter" then etc?
oh, damage module? Brave of you to assume that I am advanced enough to have used that
** You are now Level 3! **
I just kinda, placed the damage code in the server script
if I would make a take damage module script, would I be able to make it so each time I call this module script the damage would be depending on the move that caused the damage? like a variable?
like can I make the damage taken in the module script a variable then when I call the module script, I change that variable to suit the ability/attack used?
I don't wanna annoy you further, but please send me a link that explains what tables are, I am very brand new on Luaa, but I have other coding knowledge
so it's fine if the link you send is not so beginner friendly
these values would be the default
but when I call the module script, I can change them
right?
OHH
I am such an idiot, pardon, well then! I believe this is all I needed to know, Going to have to rework some of my code but overall I think it will be worth it! Thanks a lot!
this is what I have right now, I am just not using modules since I didn't know muchabout them, just to let you know I worked with lua for like 1 week, I still have a long way ahead of me
Na u know u can just use 2 Modules to have everything
It’s more true than u think
I use only 2 Modules to Handle my Clicker Game that has over 300 TextButtons to each Stat, 60 Pets, A Upgrade System, Ascend system and much more
bitch that’s a fucking clicker game, not a combat game
It’s the same thing no matter what
no it’s not
your main handler should be a server script, that calls on modules
I don't know much but I, well no, I actually know much, a combat game is not the same as a clicker game
it techinally is since u have a Event to Do things like```lua
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
What?
since u can use Mouse from Player to Play a Event so its techinally like a ClickerGame