#problem with scripts, character turns to the right when such task is not set
1 messages · Page 1 of 1 (latest)
what's the problem here? like the camera flick to the right when going to the green guy?
if that's the problem then it was because you only set the targetCFrame 's postion (gotogreenblockclient)
the orientation isnt set, so by default the lookvector would just be facing the red guy
I don't understand how to fix this
the problem is this line
i think this solve the problem:
local targetCFrame = CFrame.LookAlong(targetPosition, rootPart.CFrame.LookVector, Vector3.yAxis)
it didn't help, now the script doesn't work at all
send me the stuff in output tab
my bad, it's :LookAlong, not .LookAlong
** You are now Level 1! **