You removed the tool:Destroy()
line?
Why “effect ended” is not printing? you waited the 3 seconds wait?
Btw, remove the other Drink for debugging, its showing Script exist twice, both are exactly the same script? just remove it for debugging
You removed the tool:Destroy()
line?
Why “effect ended” is not printing? you waited the 3 seconds wait?
Btw, remove the other Drink for debugging, its showing Script exist twice, both are exactly the same script? just remove it for debugging
First, we need to make sure the “effect ended” print happens, you are not waiting in the console enough, the print should happen 5 seconds after the drink activated, decrease to task.wait(1) and wait for the print, its pretty weird you are not getting that print…
Nah, I think im wrong… im not putting enough attention… Im not even rending my own prints… forget what I said…
The issue is the animation… cause “Drinking Done” print never happens. It ,means that Animation.Ended:Wait()
never ends, still waiting.
remove Animation.Ended:Wait() too
also, the animation is not looped.
here:
Finally we got all prints. Now enable Animation.Stopped:Wait()
line, and test again. Stopped not Ended
It dosent work with Animation.Stopped:Wait() also
Theres something wrong with the animation, its never firing the Ended or Stopped event. Does the animation plays at least?
Create a very basic quick animation, upload it and change the animation ID in the tool animation instance, test with and without Stopped or Ended event
No, the animation does not play? (it worked when i removed the ended and stopped event? and in studio the animation works but not in game???)
Create a new animation, publish it, and do a test. If it works with the new animation, the issue was that.
If still not working, you dont have any other scripts that are controlling animation tracks of character? or could be a bug with the current Avatar system that roblox is dealing with right now?
You got all the prints, the script seems to work, if you dont see a change in WalkSpeed, probably you have other scripts changing the WalkSpeed, same for Health.
If you dont want to create a new animation, just use this, publish the animation and use the ID
DrinkAnim.rbxm (51.8 KB)
Can you do it again? its not roblox studio file.
its for you to import it in your place, not to double click and open it. Just right click workspace and “Insert From File”, choose that file
Ok thanks. I almost thought it was R6. And it only works in studio… why?
Also everything works except the animation?
Honestly this is a pretty long TroubleShooting xD
I better test it myself, Im gonna use the anim I sent, the script I sent, publish the place and test in real game, if this doesnt work its an issue on roblox side, probably the issue related with current roblox.status