Advertisement
doobbyyus

arrrr

Mar 20th, 2019
563
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. local dir = (plChar.HumanoidRootPart.Position - npc.HumanoidRootPart.Position).Unit
  2.  
  3. dir = Vector3.new(1, 0, 1) * dir
  4.  
  5. bg.CFrame = CFrame.new(npc.HumanoidRootPart.Position, npc.HumanoidRootPart.Position + dir)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement