I have a problem that when I reset the controls they still disabled, I think if you help me with this first it will be easier to help me with the other error
Bruh, i think i can just disable the reset button while the script is running
anyway i would like to know how to resolve without removing the reset button
You can use the Humanoid.Died
event and then enable the controls agian I think.
I tried and it works, but at the end of the script at the right time if I reset that error and the controls are disabled, if I reset at any other time everything is normal
if you canāt help me please ask a friend of yours to help me, because i already created 1 post on this subject i canāt create another one if i create another i will be reported
Sorry but I canāt help you, I also donāt have any friends that could help you with this problem. I suggest maybe rewriting the script, thatās my last advice because Iām truly clueless.
ok my last resort is to disable the reset button
it didnāt work, what am I going to do now ā¦
I thought where the error is coming from is that part of the code, but the controls disabled after the reset I still donāt know how to solve
local function playAnimationFromServer(character, animation)
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
local animator = humanoid:FindFirstChildOfClass("Animator")
if animator then
local animationTrack = animator:LoadAnimation(animation)
animationTrack:Play()
return animationTrack
end
end
end
playAnimationFromServer(Char, script.ScriptL.Pular)
Nevermind this is not the code that is causing error
very nice, how did you do it?
ā¦
very simple i just use anchor in the HumanoidRootPart and i changed the animation to Humanoid:LoadAnimation()
and removed the controls
of course that error still happens but nothing that interferes with the game
Well then just ignore it.
I guess no one will complain about that later.