1/6/2023 0 Comments Create a gun v3 8![]() Return a * startInterp + b * finishInterp, a * startInterp + b * finishInterp, a * startInterp + b * finishInterp, a * startInterp + b * finishInterp StartInterp = SIN((t - 1) * theta) * invSinTheta StartInterp = SIN((1 - t) * theta) * invSinThetaįinishInterp = SIN(t * theta) * invSinTheta Local cosTheta = a * b + a * b + a * b + a * b Return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) Local wx, wy, wz = w * xs, w * ys, w * zs Local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recipįunction QuaternionToCFrame(px, py, pz, x, y, z, w) Return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) Game:GetService("RunService").Heartbeat:connect(function(s, p)įunction Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) Local ANIMATE = Character:FindFirstChild("Animate")ĪrtificialHB = Instance.new("BindableEvent", script) Local WEAPONGUI = IT("ScreenGui", PlayerGui) ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" Local ROBLOXIDLEANIMATION = IT("Animation") RAW Paste Data script.Name = "Banisher Gun V3 / 1"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |