Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- animacja ataku peta chodzącego
- pet:SetPrimaryPartCFrame(pet.PrimaryPart.CFrame:Lerp(CFrame.new(position, lookAt) *
- CFrame.new(0, 1 + sin, 0) * CFrame.fromEulerAnglesXYZ(0,0,cos),0.1))
- -- animacja ataku peta latającego
- pet:SetPrimaryPartCFrame(pet.PrimaryPart.CFrame:Lerp(CFrame.new(position, lookAt) *
- 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