My food doesnt return to the correct position after the eating animation is played, help?
Whenever I play the eating animation, the food doesn't return to the proper position it was in before the animation played.
This is the eating animation:
01 | local Tool = script.Parent; |
14 | Tool.GripForward = Vector 3. new(-. 981 , . 196 , 0 ) |
15 | Tool.GripPos = Vector 3. new(-. 5 , - 0.6 , - 1.5 ) |
16 | Tool.GripRight = Vector 3. new( 0 , - 0 , - 1 ) |
17 | Tool.GripUp = Vector 3. new( 0.196 , . 981 , 0 ) |
20 | Tool.Handle.DrinkSound:Play() |
24 | local h = Tool.Parent:FindFirstChild( "Humanoid" ) |
26 | if (h.MaxHealth > h.Health + 1.6 ) then |
27 | h.Health = h.Health + 1.6 |
29 | h.Health = h.MaxHealth |
33 | Tool.GripForward = Vector 3. new(- 1 , 0 , 0 ) |
34 | Tool.GripPos = Vector 3. new(-. 5 , -. 1 , 0 ) |
35 | Tool.GripRight = Vector 3. new( 0 , 0 , 1 ) |
36 | Tool.GripUp = Vector 3. new( 0 , 1 , 0 ) |
44 | Tool.Handle.OpenSound:play() |
47 | script.Parent.Activated:connect(onActivated) |
48 | script.Parent.Equipped:connect(onEquipped) |