#why does my script don't remove the prev after an value has been triggered?
1 messages · Page 1 of 1 (latest)
Bro you gave so much information for someone to help you
It's a lot
never give this much information
again
Paste it
aight wait
my PC is booting up
just the end
the ai is so broken that you have to calculate when he is coming
dawg 😭
plus the prev which is the movement does NOT remove when you activate an value
uhm sorry but
I used all of my knowledge
into that
no way the ai uses repeat
fr
I just scripted it all
actually I made that script before I even used ai
but anyways
Ii don't know why it doesn't remove the prev
which is the next movement
and why hes unpredictable
cause he kills you out of nowhere
wait whats wrong with it
because as i said the remove doesnt work
i tried the thing twice
It doesn't work because you remove it and then don't put anything to prev
so game sees like nil:Destroy()
wait
not sure if that's the issue but
let me send you a part
nvm
not adding local to the start doesn't break the code
so thats the main issue?
just use local prev at the start and then don't use local again
I think so but I'm not a professional about Luau
isnt local for a variable
local x = 1
if blah blah then
local x = 2
end
no need to do this
Even if the problem is not this you should call someone who can solve better than me
I'm not that good at solving
do you like know someone