Topic has been solved, so i’m deleting this for safety so nobody snatches up the code (it might be too late xd)
this code is kind of unclean…
anyway, i assume the error is this part:
customer.Parent = game.Workspace
customer.Humanoid:MoveTo(Vector3.new(-13.607, 3.939, -0.362))
- you have customer.Humanoid inside
the Humanoid variable:
local Humanoid = customer.Humanoid
- i don’t know if the animations play, but if they don’t then that’s probably because the humanoid doesn’t load in time, try adding a
:WaitForChild("Humanoid")in yourHumanoidvariable
that’s kind of all i was able to decipher, i suggest you comment the line where the error happens, and overall organise your code by commenting which part does what
i hope i fixed it
![]()
1 Like
Thank you! someone earlier helped me with a problem that was actually my fault, and that contained a humanoid variable i forgot to remove. (P.S It’s a half-working prototype, i’ll sweep up the code nice and tidy when it’s ready.)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.