Advertisement
drakon-firestone

Untitled

Oct 15th, 2023
613
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. -- animacja ataku peta chodzącego
  2. pet:SetPrimaryPartCFrame(pet.PrimaryPart.CFrame:Lerp(CFrame.new(position, lookAt) *
  3.                     CFrame.new(0, 1 + sin, 0) * CFrame.fromEulerAnglesXYZ(0,0,cos),0.1))
  4.  
  5.  
  6. -- animacja ataku peta latającego
  7. pet:SetPrimaryPartCFrame(pet.PrimaryPart.CFrame:Lerp(CFrame.new(position, lookAt) *
  8.                     CFrame.new(0, 3 + math.sin(time()*7)/2, 0) * CFrame.fromEulerAnglesXYZ(cos,0,0) ,0.1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement