coolgoldboy166

reaper

Sep 18th, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.56 KB | None | 0 0
  1. -- fat --
  2. -- I'll Fucking kill you --
  3. -- [ Reaper ] --
  4. -- [ Reaper! ] --
  5. wait(2)
  6. LoudVolume = false
  7. Submerged = false
  8. Music = true
  9. script.Name = "Reaper"
  10. Player = game.Players.LocalPlayer
  11. c = game.Players.LocalPlayer.Character
  12. Head = c.Head
  13. c.Animate.Disabled = true
  14. anim = c.Humanoid.Animator anim.Parent = nil
  15. rage = false
  16. p = game.Players.LocalPlayer
  17. Music = false
  18. PhaseEnabled = true
  19. TeleportEnabled = true
  20. function chatfunc(text)
  21. local chat = coroutine.wrap(function()
  22. if c:FindFirstChild("TalkingBillBoard")~= nil then
  23. c:FindFirstChild("TalkingBillBoard"):destroy()
  24. end
  25. local naeeym2 = Instance.new("BillboardGui",c)
  26. naeeym2.Size = UDim2.new(0,100,0,40)
  27. naeeym2.StudsOffset = Vector3.new(0,3,0)
  28. naeeym2.Adornee = c.Head
  29. naeeym2.Name = "TalkingBillBoard"
  30. local tecks2 = Instance.new("TextLabel",naeeym2)
  31. tecks2.BackgroundTransparency = 1
  32. tecks2.BorderSizePixel = 0
  33. tecks2.Text = ""
  34. tecks2.Font = "Fantasy"
  35. tecks2.TextSize = 30
  36. tecks2.TextStrokeTransparency = 0
  37. tecks2.TextColor3 = Color3.new(0.5,0,0.5)
  38. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  39. tecks2.Size = UDim2.new(1,0,0.5,0)
  40. local tecks3 = Instance.new("TextLabel",naeeym2)
  41. tecks3.BackgroundTransparency = 1
  42. tecks3.BorderSizePixel = 0
  43. tecks3.Text = ""
  44. tecks3.Font = "Fantasy"
  45. tecks3.TextSize = 30
  46. tecks3.TextStrokeTransparency = 0
  47. tecks3.TextColor3 = Color3.new(0.5,0,0.5)
  48. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  49. tecks3.Size = UDim2.new(1,0,0.5,0)
  50. for i = 1,string.len(text),1 do
  51. tecks2.Text = string.sub(text,1,i)
  52. tecks3.Text = string.sub(text,1,i)
  53. swait()
  54. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  55. tecks2.Rotation = tecks2.Rotation - .8
  56. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  57. tecks2.TextTransparency = tecks2.TextTransparency + .04
  58. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  59. tecks3.Rotation = tecks2.Rotation + .8
  60. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  61. tecks3.TextTransparency = tecks2.TextTransparency + .04
  62. end
  63. naeeym2:Destroy()
  64. end)
  65. chat()
  66. end
  67. function onChatted(msg)
  68. chatfunc(msg)
  69. end
  70. local txt = Instance.new("BillboardGui", c)
  71. CV="Institutional white"
  72. txt.Adornee = c .Head
  73. txt.Name = "_status"
  74. txt.Size = UDim2.new(2, 0, 1.2, 0)
  75. txt.StudsOffset = Vector3.new(-9, 8, 0)
  76. local text = Instance.new("TextLabel", txt)
  77. text.Size = UDim2.new(10, 0, 7, 0)
  78. text.FontSize = "Size24"
  79. text.TextScaled = true
  80. text.TextTransparency = 0
  81. text.BackgroundTransparency = 1
  82. text.TextTransparency = 0
  83. text.TextStrokeTransparency = 0
  84. text.Font = "Bodoni"
  85. text.TextStrokeColor3 = Color3.new(0,0,0)
  86. text.TextColor3 = Color3.new(0.5,0,0.5)
  87. text.Text = "Reaper"
  88. v=Instance.new("Part")
  89. v.Name = "ColorBrick"
  90. v.Parent= Player.Character
  91. v.FormFactor="Symmetric"
  92. v.Anchored=true
  93. v.CanCollide=false
  94. v.BottomSurface="Smooth"
  95. v.TopSurface="Smooth"
  96. v.Size=Vector3.new(10,5,3)
  97. v.Transparency=1
  98. v.CFrame=c.Torso.CFrame
  99. v.BrickColor=BrickColor.new("Dark indigo")
  100. v.Transparency=1
  101. v.Shape="Block"
  102.  
  103.  
  104. local GUI = Instance.new("ScreenGui",Player.PlayerGui)
  105. local Frame = Instance.new("Frame",GUI)Frame.Size = UDim2.new(0.1,0,0.05,0) Frame.Position = UDim2.new(0.9,0,0.425,0)
  106. Frame.BackgroundTransparency = 0.5 Frame.BorderSizePixel = 0 Frame.BackgroundColor3 = Color3.new(85/255,40/255,113/255)
  107. local UltT = Instance.new("TextLabel",Frame)UltT.Size = UDim2.new(1,0,1,0)UltT.BackgroundTransparency = 1 UltT.Text = "100%"
  108. UltT.TextColor3 = Color3.new(1,1,1) UltT.TextScaled = true UltT.TextWrapped = true
  109.  
  110. local Frame2 = Instance.new("Frame",GUI)Frame2.Size = UDim2.new(0.1,0,0.05,0) Frame2.Position = UDim2.new(0.9,0,0.535,0)
  111. Frame2.BackgroundTransparency = 0.5 Frame2.BorderSizePixel = 0 Frame2.BackgroundColor3 = Color3.new(85/255,40/255,113/255)
  112. local AmmoT = Instance.new("TextLabel",Frame2)AmmoT.Size = UDim2.new(1,0,1,0)AmmoT.BackgroundTransparency = 1 AmmoT.Text = "100/100"
  113. AmmoT.TextColor3 = Color3.new(1,1,1) AmmoT.TextScaled = true AmmoT.TextWrapped = true
  114.  
  115. local Effects = {}
  116. attack = false
  117. local attacking = false
  118. vt = Vector3.new
  119. bc = BrickColor.new
  120. br = BrickColor.random
  121. it = Instance.new
  122. cf = CFrame.new
  123. euler = CFrame.fromEulerAnglesXYZ
  124. angles = CFrame.Angles
  125. matr = math.random
  126. mouse = Player:GetMouse()
  127.  
  128. c.Humanoid.WalkSpeed = 24 c.Humanoid.JumpPower = 50
  129.  
  130. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  131. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  132. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  133. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  134. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  135. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  136. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  137. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  138. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  139. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  140. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  141. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  142. RS = c.Torso:FindFirstChild("Right Shoulder")
  143. LS = c.Torso:FindFirstChild("Left Shoulder")
  144. RH = c.Torso:FindFirstChild("Right Hip")
  145. LH = c.Torso:FindFirstChild("Left Hip")
  146. RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
  147. N = c.Torso:FindFirstChild("Neck")
  148. cf = CFrame.new
  149. ang = CFrame.Angles
  150. rd = math.rad
  151. rd2 = math.random
  152.  
  153. c.Humanoid.JumpPower = 45
  154. function swait(num)
  155. if num==0 or num==nil then
  156. game:service'RunService'.Heartbeat:wait(0)
  157. else
  158. for i=0,num do
  159. game:service'RunService'.Heartbeat:wait(0)
  160. end
  161. end
  162. end
  163.  
  164. function lerpz(joint, prop, cfrmz, alp)
  165. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  166. end
  167. function resetlerp()
  168. RJ.C0 = RJC0
  169. RJ.C1 = RJC1
  170. N.C0 = NC0
  171. N.C1 = NC1
  172. RS.C0 = RSC0
  173. RS.C1 = RSC1
  174. LS.C0 = LSC0
  175. LS.C1 = LSC1
  176. RH.C0 = RHC0
  177. RH.C1 = RHC1
  178. LH.C0 = LHC0
  179. LH.C1 = LHC1
  180. end
  181.  
  182. UltCharge = 0
  183. Ammo = 100
  184. local vls = math.random(1,2)
  185. if vls == 1 then
  186. GS = Instance.new("Sound",c.HumanoidRootPart)GS.SoundId = "rbxassetid://612647950" GS.Volume = 35 GS:Play()
  187. else
  188. GS = Instance.new("Sound",c.HumanoidRootPart)GS.SoundId = "rbxassetid://612648243" GS.Volume = 35 GS:Play()
  189. end
  190. PS = Instance.new("Sound",c.HumanoidRootPart)PS.SoundId = "rbxassetid://882101831" PS.Volume = 3 PS:Play()
  191. --[[local Hood = Instance.new("Part",c)Hood.Size = Vector3.new(0.2,0.2,0.2)Hood.BrickColor = BrickColor.new("Really black")
  192. local HM = Instance.new("SpecialMesh",Hood)HM.MeshId = "rbxassetid://16952952" HM.Scale = Vector3.new(1.05,1.05,1.05)
  193. local HW = Instance.new("Weld",c.Head)HW.Part0 = c.Head HW.Part1 = Hood HW.C0 = CFrame.new(0,0.25,0)]]
  194. LeftGun = Instance.new("Part",game.Workspace)LeftGun.Size = Vector3.new(0.4,1.4,4)LeftGun.CanCollide = false LeftGun.Anchored = false LeftGun.Name = "HellfireGun" LeftGun.Archivable = false
  195. local LeftM = Instance.new("SpecialMesh",LeftGun)LeftM.MeshId = "rbxassetid://651422978" LeftM.TextureId = "rbxassetid://651423359" LeftM.Scale = Vector3.new(0.35,0.35,0.35)
  196. local LeftW = Instance.new("Weld",c["Left Arm"])LeftW.Part0 = c["Left Arm"] LeftW.Part1 = LeftGun LeftW.C0 = CFrame.new(0,-2,-0.25)*CFrame.Angles(math.rad(-90),0,0)
  197. local RightGun = Instance.new("Part",game.Workspace)RightGun.Size = Vector3.new(0.4,1.4,4)RightGun.CanCollide = false RightGun.Anchored = false RightGun.Name = "HellfireGun" RightGun.Archivable = false
  198. local RightM = Instance.new("SpecialMesh",RightGun)RightM.MeshId = "rbxassetid://651422978" RightM.TextureId = "rbxassetid://651423359" RightM.Scale = Vector3.new(0.35,0.35,0.35)
  199. local RightW = Instance.new("Weld",c["Right Arm"])RightW.Part0 = c["Right Arm"] RightW.Part1 = RightGun RightW.C0 = CFrame.new(0,-2,-0.25)*CFrame.Angles(math.rad(-90),0,0)
  200. local LeftEffect = Instance.new("Part",LeftGun)LeftEffect.Size = Vector3.new(0.2,0.2,0.2)LeftEffect.Transparency = 1 LeftEffect.CanCollide = false
  201. local LEFW = Instance.new("Weld",LeftGun)LEFW.Part0 = LeftGun LEFW.Part1 = LeftEffect LEFW.C0 = CFrame.new(0,0.4,-2.4)
  202. local RightEffect = Instance.new("Part",RightGun)RightEffect.Size = Vector3.new(0.2,0.2,0.2)RightEffect.Transparency = 1 RightEffect.CanCollide = false
  203. local REFW = Instance.new("Weld",RightGun)REFW.Part0 = RightGun REFW.Part1 = RightEffect REFW.C0 = CFrame.new(0,0.4,-2.4)
  204. local ExpColors = {ColorSequenceKeypoint.new(0, Color3.new(255/255,144/255,46/255)),ColorSequenceKeypoint.new(0.121, Color3.new(0/255,0/255,0/255)),ColorSequenceKeypoint.new(1, Color3.new(0/255,0/255,0/255))}
  205. local LeftExp = Instance.new("ParticleEmitter",LeftEffect) LeftExp.Texture = "rbxassetid://850216805"
  206. LeftExp.LightEmission = 0.85 LeftExp.Color = ColorSequence.new(ExpColors) LeftExp.Rate = 500 LeftExp.Rotation = NumberRange.new(-360,360)
  207. LeftExp.Lifetime = NumberRange.new(1) LeftExp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.0138,2,0),NumberSequenceKeypoint.new(1,4,0)})
  208. LeftExp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) LeftExp.Speed = NumberRange.new(2) LeftExp.SpreadAngle = Vector2.new(25,25) LeftExp.Name = "Explosion"
  209. LeftExp.VelocityInheritance = 0.5 LeftExp.ZOffset = 2 LeftExp.Enabled = false LeftExp.EmissionDirection = "Front"
  210. local RightExp = Instance.new("ParticleEmitter",RightEffect) RightExp.Texture = "rbxassetid://850216805"
  211. RightExp.LightEmission = 0.85 RightExp.Color = ColorSequence.new(ExpColors) RightExp.Rate = 500 RightExp.Rotation = NumberRange.new(-360,360)
  212. RightExp.Lifetime = NumberRange.new(1) RightExp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.0138,2,0),NumberSequenceKeypoint.new(1,4,0)})
  213. RightExp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) RightExp.Speed = NumberRange.new(2) RightExp.SpreadAngle = Vector2.new(25,25) RightExp.Name = "Explosion"
  214. RightExp.VelocityInheritance = 0.5 RightExp.ZOffset = 2 RightExp.Enabled = false RightExp.EmissionDirection = "Front"
  215.  
  216. function GunFade(Gun)
  217. Spawn(function()
  218. wait(3)
  219. for i = 1,50 do
  220. Gun.Transparency = Gun.Transparency + 1/50
  221. swait()
  222. end
  223. Gun:remove()
  224. end)
  225. end
  226.  
  227. function Reload()
  228. attack = true
  229. for i = 1,15 do
  230. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  231. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.1) -- Y, X, Z
  232. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(45), rd(125)), 0.1) -- Z, X, Y
  233. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  234. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(-45), rd(-125)), 0.1) -- Z, X, Y
  235. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  236. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  237. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  238. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  239. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  240. swait()
  241. end
  242. for i = 1,5 do
  243. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)-- Y, X, Z
  244. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.25) -- Y, X, Z
  245. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-65), rd(75)), 0.25) -- Z, X, Y
  246. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) -- Z, X, Y
  247. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(65), rd(-75)), 0.25) -- Z, X, Y
  248. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) -- Z, X, Y
  249. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.25)
  250. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  251. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.25)
  252. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  253. swait()
  254. end
  255. RightGun.Archivable = true LeftGun.Archivable = true
  256. local RD = RightGun:clone() RD.Parent = game.Workspace RD.CanCollide = true RD.Position = RightGun.Position RD.CFrame = RightGun.CFrame
  257. local LD = LeftGun:clone() LD.Parent = game.Workspace LD.CanCollide = true LD.Position = LeftGun.Position LD.CFrame = LeftGun.CFrame
  258. local BV = Instance.new("BodyVelocity",RD)BV.Velocity = c.HumanoidRootPart.CFrame.rightVector*15 BV.Velocity = BV.Velocity+c.HumanoidRootPart.CFrame.lookVector*25 BV.maxForce = Vector3.new(math.huge,math.huge,math.huge) game.Debris:AddItem(BV,0.05)
  259. local BV2 = Instance.new("BodyVelocity",LD)BV2.Velocity = c.HumanoidRootPart.CFrame.rightVector*-15 BV2.Velocity = BV2.Velocity+c.HumanoidRootPart.CFrame.lookVector*25 BV2.maxForce = Vector3.new(math.huge,math.huge,math.huge) game.Debris:AddItem(BV2,0.05)
  260. local hit = false local hit2 = false
  261. RD.Touched:connect(function(T)
  262. if hit == false and T.Parent ~= c and T.Name ~= "HellfireGun" then hit = true
  263. GS = Instance.new("Sound",RD)GS.SoundId = "rbxassetid://247874314" GS.Volume = 0.5 GS:Play()
  264. end
  265. end)
  266. LD.Touched:connect(function(T)
  267. if hit2 == false and T.Parent ~= c and T.Name ~= "HellfireGun" then hit2 = true
  268. GS = Instance.new("Sound",LD)GS.SoundId = "rbxassetid://247874314" GS.Volume = 0.5 GS:Play()
  269. end
  270. end)
  271. GunFade(RD) GunFade(LD)
  272. RightGun.Transparency = 1 LeftGun.Transparency = 1
  273. for i = 1,25 do
  274. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)-- Y, X, Z
  275. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.25) -- Y, X, Z
  276. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-65), rd(75)), 0.25) -- Z, X, Y
  277. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) -- Z, X, Y
  278. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(65), rd(-75)), 0.25) -- Z, X, Y
  279. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) -- Z, X, Y
  280. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.25)
  281. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  282. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.25)
  283. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  284. swait()
  285. end
  286. for i = 1,15 do
  287. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)-- Y, X, Z
  288. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.25) -- Y, X, Z
  289. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-65), rd(-25)), 0.25) -- Z, X, Y
  290. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) -- Z, X, Y
  291. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(65), rd(25)), 0.25) -- Z, X, Y
  292. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) -- Z, X, Y
  293. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.25)
  294. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  295. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.25)
  296. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  297. swait()
  298. end
  299. GS = Instance.new("Sound",c.HumanoidRootPart)GS.SoundId = "rbxassetid://882101831" GS.Volume = 3 GS:Play()
  300. RightGun.Transparency = 0 LeftGun.Transparency = 0 Ammo = 100 attack = false
  301. RightGun.Archivable = false LeftGun.Archivable = false
  302. end
  303. function ShotBullets(Gun)
  304. local ColorsArray = {ColorSequenceKeypoint.new(0, Color3.new(255/255,0/255,0/255)),ColorSequenceKeypoint.new(1, Color3.new(255/255,0/255,0/255))}
  305. for i = 1,15 do
  306. local Bul = Instance.new("Part",game.Workspace)Bul.Transparency = 1 Bul.Size = Vector3.new(0.2,0.2,0.2) Bul.CanCollide = false
  307. Bul.CFrame = CFrame.new(Gun.CFrame:toWorldSpace(CFrame.new(0,0,0)).p,mouse.hit.p)
  308. Bul.CFrame = Bul.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5)))
  309. local Atch1 = Instance.new("Attachment",Bul)Atch1.Position = Vector3.new(0,0.05,0)
  310. local Atch2 = Instance.new("Attachment",Bul)Atch2.Position = Vector3.new(0,-0.05,0)
  311. local Trail = Instance.new("Trail",Bul)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2
  312. Trail.Texture = "rbxassetid://22636887" Trail.Lifetime = 0.1 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  313. Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 1 Trail.Enabled = true Trail.MinLength = 1
  314. local BV = Instance.new("BodyVelocity",Bul)BV.maxForce = Vector3.new(math.huge,math.huge,math.huge) BV.Velocity = Bul.CFrame.lookVector*150
  315. game.Debris:AddItem(Bul,0.5) local hit = false
  316. local damage = 2.5
  317. Bul.Touched:connect(function(Hit)
  318. if hit == false then
  319. if Hit.Parent:findFirstChild("Humanoid")~= nil and Hit.Parent ~= c then hit = true
  320. Hit.Parent.Humanoid:TakeDamage(damage) UltCharge = UltCharge + 0.25
  321. end
  322. end
  323. end)
  324. Spawn(function()
  325. for i = 1,100 do
  326. if damage < 0.1 then break end
  327. damage = damage - 0.15
  328. swait()
  329. end
  330. damage = 0.05
  331. end)
  332. end
  333. end
  334.  
  335. ShotCoolDown = false
  336. Combo = 1
  337. mouse.Button1Down:connect(function()
  338. if c.Humanoid.Health <= 0 then return end
  339. if ShotCoolDown == true then return end
  340. if attack == true then return end
  341. if Ammo == 0 then
  342. local S = Instance.new("Sound",LeftEffect)S.SoundId = "rbxassetid://596722009" S.Volume = 0.5 S:Play() game.Debris:AddItem(S,1) S.PlaybackSpeed = 0.9
  343. else
  344. ShotCoolDown = true Ammo = Ammo - 1
  345. if Combo == 1 then Combo = 2 LeftExp.Enabled = true
  346. ShotBullets(LeftEffect)
  347. local S = Instance.new("Sound",LeftEffect)S.SoundId = "rbxassetid://181135016" S.Volume = 0.5 S:Play() game.Debris:AddItem(S,1) S.PlaybackSpeed = 0.9
  348. for i = 1,3 do
  349. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-125)), 0.35) -- Z, X, Y
  350. swait()
  351. end
  352. else Combo = 1 RightExp.Enabled = true
  353. ShotBullets(RightEffect)
  354. local S = Instance.new("Sound",RightEffect)S.SoundId = "rbxassetid://181135016" S.Volume = 0.5 S:Play() game.Debris:AddItem(S,1) S.PlaybackSpeed = 0.9
  355. for i = 1,3 do
  356. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(125)), 0.35) -- Z, X, Y
  357. swait()
  358. end
  359. end
  360. local S = Instance.new("Sound",RightEffect)S.SoundId = "rbxassetid://181135016" S.Volume = 0.5 S:Play() game.Debris:AddItem(S,1) S.PlaybackSpeed = 0.9
  361. LeftExp.Enabled = false
  362. RightExp.Enabled = false
  363. wait(0.35)
  364. ShotCoolDown = false
  365. end
  366. end)
  367.  
  368. function Phase()
  369. if PhaseEnabled == false then return end
  370. PhaseEnabled = false
  371. attack = true c.Humanoid.WalkSpeed = 48
  372. local PhaseColors = {ColorSequenceKeypoint.new(0, Color3.new(65/255,0/255,98/255)),ColorSequenceKeypoint.new(0.121, Color3.new(5/255,0/255,32/255)),ColorSequenceKeypoint.new(1, Color3.new(65/255,0/255,98/255))}
  373. for i,v in pairs(c:children()) do
  374. if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
  375. local PhaseEn = Instance.new("ParticleEmitter",v) PhaseEn.Texture = "rbxassetid://242102147"
  376. PhaseEn.LightEmission = 0 PhaseEn.Color = ColorSequence.new(PhaseColors) PhaseEn.Rate = 250 PhaseEn.Rotation = NumberRange.new(-360,360)
  377. PhaseEn.Lifetime = NumberRange.new(1) PhaseEn.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.0138,1,0),NumberSequenceKeypoint.new(1,0,0)})
  378. PhaseEn.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(1,1,0)}) PhaseEn.Speed = NumberRange.new(0) PhaseEn.SpreadAngle = Vector2.new(25,25) PhaseEn.Name = "DarkEnergy"
  379. PhaseEn.VelocityInheritance = 0.5 PhaseEn.ZOffset = 2 PhaseEn.Enabled = true PhaseEn.EmissionDirection = "Front" PhaseEn.Acceleration = Vector3.new(0,5,0)
  380. end
  381. end
  382. GS = Instance.new("Sound",c.HumanoidRootPart)GS.SoundId = "rbxassetid://834224978" GS.Volume = 3 GS:Play()
  383. local PrevHealth = c.Humanoid.Health
  384. local hp = c.Humanoid.HealthChanged:connect(function(Amnt)
  385. if Amnt < PrevHealth then
  386. c.Humanoid.Health = PrevHealth
  387. end
  388. end)
  389. for i = 1,150 do
  390. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.5) * ang(rd(-15), rd(0), rd(0)), 0.1)-- Y, X, Z
  391. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.1) -- Y, X, Z
  392. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(105)), 0.1) -- Z, X, Y
  393. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  394. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-105)), 0.1) -- Z, X, Y
  395. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  396. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(15)), 0.1)
  397. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  398. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-15)), 0.1)
  399. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  400. swait()
  401. end
  402. hp:disconnect()
  403. GS = Instance.new("Sound",c.HumanoidRootPart)GS.SoundId = "rbxassetid://834225054" GS.Volume = 3 GS:Play()
  404. for i,v in pairs(c:children()) do
  405. if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
  406. if v:findFirstChild("DarkEnergy")~= nil then
  407. v.DarkEnergy.Enabled = false game.Debris:AddItem(v.DarkEnergy,3)
  408. end
  409. end
  410. end
  411. Ammo = 100
  412. c.Humanoid.WalkSpeed = 24
  413. attack = false
  414. Spawn(function()
  415. wait(0)
  416. PhaseEnabled = true
  417. end)
  418. end
  419.  
  420. function Teleport()
  421. if TeleportEnabled == false then return end
  422. if (c.HumanoidRootPart.Position-mouse.hit.p).magnitude >= 10000000 then return end
  423. TeleportEnabled = false
  424. local vl = math.random(1,4)
  425. if vl == 1 then
  426. local GS = Instance.new("Sound",c.HumanoidRootPart)GS.SoundId = "rbxassetid://612647830" GS.Volume = 3 GS:Play()
  427. end
  428. attack = true c.HumanoidRootPart.Anchored = true c.Humanoid.WalkSpeed = 0 c.Humanoid.JumpPower = 0 local Pos = mouse.hit.p
  429. for i = 1,40 do
  430. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  431. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.1) -- Y, X, Z
  432. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(90), rd(125)), 0.1) -- Z, X, Y
  433. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  434. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(-90), rd(-125)), 0.1) -- Z, X, Y
  435. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  436. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  437. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  438. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  439. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  440. swait()
  441. end
  442. local PhaseColors = {ColorSequenceKeypoint.new(0, Color3.new(65/255,0/255,98/255)),ColorSequenceKeypoint.new(0.121, Color3.new(5/255,0/255,32/255)),ColorSequenceKeypoint.new(1, Color3.new(65/255,0/255,98/255))}
  443. for i,v in pairs(c:children()) do
  444. if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
  445. local PhaseEn = Instance.new("ParticleEmitter",v) PhaseEn.Texture = "rbxassetid://242102147"
  446. PhaseEn.LightEmission = 0 PhaseEn.Color = ColorSequence.new(PhaseColors) PhaseEn.Rate = 250 PhaseEn.Rotation = NumberRange.new(-360,360)
  447. PhaseEn.Lifetime = NumberRange.new(1) PhaseEn.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.0138,2,0),NumberSequenceKeypoint.new(1,0,0)})
  448. PhaseEn.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(1,1,0)}) PhaseEn.Speed = NumberRange.new(0) PhaseEn.SpreadAngle = Vector2.new(25,25) PhaseEn.Name = "DarkEnergy"
  449. PhaseEn.VelocityInheritance = 0.5 PhaseEn.ZOffset = 2 PhaseEn.Enabled = true PhaseEn.EmissionDirection = "Front" PhaseEn.Acceleration = Vector3.new(0,5,0)
  450. end
  451. end
  452. GS = Instance.new("Sound",c.HumanoidRootPart)GS.SoundId = "rbxassetid://834224978" GS.Volume = 3 GS:Play()
  453. for i = 1,50 do
  454. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.25*i) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  455. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.1) -- Y, X, Z
  456. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(90), rd(125)), 0.1) -- Z, X, Y
  457. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  458. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(-90), rd(-125)), 0.1) -- Z, X, Y
  459. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  460. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  461. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  462. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  463. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  464. swait()
  465. end
  466. c.HumanoidRootPart.CFrame = CFrame.new(Pos)
  467. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.new(0,2.5,0)
  468. GS = Instance.new("Sound",c.HumanoidRootPart)GS.SoundId = "rbxassetid://834225054" GS.Volume = 3 GS:Play()
  469. for i = 1,50 do
  470. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  471. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.1) -- Y, X, Z
  472. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(90), rd(125)), 0.1) -- Z, X, Y
  473. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  474. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(-90), rd(-125)), 0.1) -- Z, X, Y
  475. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  476. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  477. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  478. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  479. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  480. swait()
  481. end
  482. c.HumanoidRootPart.Anchored = false
  483. c.Humanoid.WalkSpeed = 24 c.Humanoid.JumpPower = 50
  484. local PrevHealth = c.Humanoid.Health
  485. for i,v in pairs(c:children()) do
  486. if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
  487. if v:findFirstChild("DarkEnergy")~= nil then
  488. v.DarkEnergy.Enabled = false game.Debris:AddItem(v.DarkEnergy,3)
  489. end
  490. end
  491. end
  492. attack = false
  493. Spawn(function()
  494. wait(10)
  495. TeleportEnabled = true
  496. end)
  497. end
  498.  
  499. function ShotDBullets(Gun)
  500. local ColorsArray = {ColorSequenceKeypoint.new(0, Color3.new(255/255,0/255,0/255)),ColorSequenceKeypoint.new(1, Color3.new(255/255,0/255,0/255))}
  501. for i = 1,15 do
  502. local Bul = Instance.new("Part",game.Workspace)Bul.Transparency = 1 Bul.Size = Vector3.new(2,2,2) Bul.CanCollide = false
  503. Bul.CFrame = Gun.CFrame*CFrame.Angles(math.rad(math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25)))
  504. local Atch1 = Instance.new("Attachment",Bul)Atch1.Position = Vector3.new(0,0.05,0)
  505. local Atch2 = Instance.new("Attachment",Bul)Atch2.Position = Vector3.new(0,-0.05,0)
  506. local Trail = Instance.new("Trail",Bul)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2
  507. Trail.Texture = "rbxassetid://22636887" Trail.Lifetime = 0.1 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  508. Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 1 Trail.Enabled = true Trail.MinLength = 1
  509. local BV = Instance.new("BodyVelocity",Bul)BV.maxForce = Vector3.new(math.huge,math.huge,math.huge) BV.Velocity = Bul.CFrame.lookVector*150
  510. game.Debris:AddItem(Bul,0.5)
  511. end
  512. for i,v in pairs(game.Workspace:children()) do
  513. if v:FindFirstChild("Humanoid")~= nil and v:findFirstChild("HumanoidRootPart")~= nil and v ~= c then
  514. if (v.HumanoidRootPart.Position-c.HumanoidRootPart.Position).magnitude <= 45 then
  515. v.Humanoid:TakeDamage(5)
  516. end
  517. end
  518. end
  519. end
  520.  
  521. function Fade(PP)
  522. Spawn(function()
  523. for i = 1,20 do
  524. PP.Transparency = PP.Transparency + 1/20
  525. swait()
  526. end
  527. PP:remove()
  528. end)
  529. end
  530. function DeathFire()
  531. Spawn(function()
  532. local m2 = Instance.new("Model",game.Workspace)
  533. for i,v in pairs(c:children()) do
  534. if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
  535. local clone = v:clone()clone.BrickColor = BrickColor.new("Really black") clone.Anchored = true clone.CanCollide = false
  536. if clone:findFirstChild("Mesh")~= nil then clone.Mesh.TextureId = "" end clone.Parent = m2 Fade(clone)
  537. elseif v.ClassName == "Accessory" then
  538. local clone = v.Handle:clone()clone.BrickColor = BrickColor.new("Really black") clone.Anchored = true clone.CanCollide = false
  539. if clone:findFirstChild("Mesh")~= nil then clone.Mesh.TextureId = "" end clone.Parent = m2 Fade(clone)
  540. end
  541. m2:BreakJoints()
  542. end
  543. RightExp.Enabled = true
  544. local S = Instance.new("Sound",RightEffect)S.SoundId = "rbxassetid://181135016" S.Volume = 0.5 S:Play() game.Debris:AddItem(S,1) S.PlaybackSpeed = 0.9
  545. LeftExp.Enabled = true
  546. local S2 = Instance.new("Sound",LeftEffect)S2.SoundId = "rbxassetid://181135016" S2.Volume = 0.5 S2:Play() game.Debris:AddItem(S2,1) S2.PlaybackSpeed = 0.9
  547. wait(0.1)
  548. RightExp.Enabled = false
  549. LeftExp.Enabled = false
  550. ShotDBullets(RightEffect)
  551. ShotDBullets(LeftEffect)
  552. end)
  553. end
  554.  
  555. function DeathBlossom()
  556. if UltCharge >= 0 then
  557. UltCharge = 0
  558. local SpinCharge = 1 c.HumanoidRootPart.Anchored = true
  559. local GS = Instance.new("Sound",c.HumanoidRootPart)GS.SoundId = "rbxassetid://506001681" GS.Volume = 9999 GS:Play()
  560. for i = 1,15 do
  561. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  562. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.1) -- Y, X, Z
  563. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(90), rd(125)), 0.1) -- Z, X, Y
  564. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  565. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(-90), rd(-125)), 0.1) -- Z, X, Y
  566. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  567. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  568. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  569. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  570. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  571. swait()
  572. end
  573. DeathFire()
  574. for i = 1,15 do
  575. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.Angles(0,math.rad(SpinCharge*5),0)
  576. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-45)), 0.1)-- Y, X, Z
  577. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Y, X, Z
  578. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(-90), rd(90)), 0.1) -- Z, X, Y
  579. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  580. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(90), rd(-90)), 0.1) -- Z, X, Y
  581. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  582. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  583. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  584. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  585. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  586. swait()
  587. end
  588. DeathFire()
  589. for i = 1,15 do
  590. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.Angles(0,math.rad(SpinCharge*5),0)
  591. lerpz(RJ, "C0", RJC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  592. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Y, X, Z
  593. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(90), rd(90)), 0.1) -- Z, X, Y
  594. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  595. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(-90), rd(-90)), 0.1) -- Z, X, Y
  596. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  597. lerpz(RH, "C0", RHC0 * cf(1, 1, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  598. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  599. lerpz(LH, "C0", LHC0 * cf(0, 1, 0) * ang(rd(-5), rd(0), rd(-45)), 0.1)
  600. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  601. swait()
  602. end
  603. DeathFire()
  604. for i = 1,15 do
  605. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.Angles(0,math.rad(SpinCharge*5),0)
  606. lerpz(RJ, "C0", RJC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(35)), 0.1)-- Y, X, Z
  607. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.1) -- Y, X, Z
  608. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(0), rd(90)), 0.1) -- Z, X, Y
  609. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  610. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(0), rd(90)), 0.35) -- Z, X, Y
  611. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  612. lerpz(RH, "C0", RHC0 * cf(1, 1, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  613. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  614. lerpz(LH, "C0", LHC0 * cf(0, 1, 0) * ang(rd(-5), rd(0), rd(-45)), 0.1)
  615. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  616. swait()
  617. end
  618. DeathFire()
  619. for i = 1,15 do
  620. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.Angles(0,math.rad(SpinCharge*5),0)
  621. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  622. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.1) -- Y, X, Z
  623. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(0), rd(90)), 0.1) -- Z, X, Y
  624. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  625. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(0), rd(-90)), 0.1) -- Z, X, Y
  626. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  627. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  628. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  629. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  630. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  631. swait()
  632. end
  633. DeathFire()
  634. for i = 1,15 do
  635. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.Angles(0,math.rad(SpinCharge*5),0)
  636. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-15)), 0.1)-- Y, X, Z
  637. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.1) -- Y, X, Z
  638. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(0), rd(-90)), 0.1) -- Z, X, Y
  639. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  640. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(0), rd(90)), 0.1) -- Z, X, Y
  641. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  642. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  643. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  644. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  645. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  646. swait()
  647. end
  648. DeathFire()
  649. for i = 1,15 do
  650. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.Angles(0,math.rad(SpinCharge*5),0)
  651. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  652. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(15)), 0.1) -- Y, X, Z
  653. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(-90), rd(90)), 0.1) -- Z, X, Y
  654. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  655. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(90), rd(-90)), 0.1) -- Z, X, Y
  656. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  657. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  658. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  659. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  660. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  661. swait()
  662. end
  663. DeathFire()
  664. for i = 1,15 do
  665. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.Angles(0,math.rad(SpinCharge*5),0)
  666. lerpz(RJ, "C0", RJC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  667. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.1) -- Y, X, Z
  668. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(0), rd(90)), 0.1) -- Z, X, Y
  669. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  670. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(0), rd(90)), 0.35) -- Z, X, Y
  671. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  672. lerpz(RH, "C0", RHC0 * cf(1, 1, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  673. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  674. lerpz(LH, "C0", LHC0 * cf(0, 1, 0) * ang(rd(-5), rd(0), rd(-45)), 0.1)
  675. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  676. swait()
  677. end
  678. DeathFire()
  679. for i = 1,15 do
  680. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.Angles(0,math.rad(SpinCharge*5),0)
  681. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  682. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-25)), 0.1) -- Y, X, Z
  683. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(-90), rd(90)), 0.1) -- Z, X, Y
  684. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  685. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(90), rd(-90)), 0.1) -- Z, X, Y
  686. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  687. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  688. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  689. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  690. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  691. swait()
  692. end
  693. DeathFire()
  694. for i = 1,15 do
  695. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.Angles(0,math.rad(SpinCharge*5),0)
  696. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  697. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.1) -- Y, X, Z
  698. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(0), rd(90)), 0.1) -- Z, X, Y
  699. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  700. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(0), rd(90)), 0.1) -- Z, X, Y
  701. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  702. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  703. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  704. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  705. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  706. swait()
  707. end
  708. DeathFire()
  709. for i = 1,15 do
  710. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.Angles(0,math.rad(SpinCharge*5),0)
  711. lerpz(RJ, "C0", RJC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  712. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.1) -- Y, X, Z
  713. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(90), rd(90)), 0.1) -- Z, X, Y
  714. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  715. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(-90), rd(-90)), 0.1) -- Z, X, Y
  716. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  717. lerpz(RH, "C0", RHC0 * cf(1, 1, 0) * ang(rd(-5), rd(0), rd(0)), 0.1)
  718. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  719. lerpz(LH, "C0", LHC0 * cf(0, 1, 0) * ang(rd(-5), rd(0), rd(-45)), 0.1)
  720. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  721. swait()
  722. end
  723. DeathFire()
  724. for i = 1,15 do
  725. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.Angles(0,math.rad(SpinCharge*5),0)
  726. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  727. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Y, X, Z
  728. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(90), rd(90)), 0.1) -- Z, X, Y
  729. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  730. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.75) * ang(rd(0), rd(-90), rd(-90)), 0.1) -- Z, X, Y
  731. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  732. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  733. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  734. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  735. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  736. swait()
  737. end
  738. c.HumanoidRootPart.Anchored = false
  739. attack = false
  740. Reload()
  741. end
  742. end
  743.  
  744. mouse.KeyDown:connect(function(key)
  745. if c.Humanoid.Health <= 0 then return end
  746. if attack == true then return end
  747. if key == "q" then
  748. Phase()
  749. end
  750. if key == "e" then
  751. DeathBlossom()
  752. end
  753. if key == "r" then
  754. Reload()
  755. end
  756. if key == "z" then
  757. Teleport()
  758. end
  759. end)
  760.  
  761. idletime = 0
  762. sine = 0
  763. game:GetService("RunService").RenderStepped:connect(function()
  764. if UltCharge >= 100 then
  765. UltCharge = 0
  766. UltT.Text = "100%"
  767. else
  768. UltT.Text = math.floor(UltCharge).."%"
  769. end
  770. AmmoT.Text = Ammo.."/100"
  771. if attack == false then
  772. if c.HumanoidRootPart.Velocity.Y > 0.25 then idletime = 0
  773. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  774. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.1) -- Y, X, Z
  775. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(75)), 0.1) -- Z, X, Y
  776. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  777. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-75)), 0.1) -- Z, X, Y
  778. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  779. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-25)), 0.1)
  780. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  781. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(25)), 0.1)
  782. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  783. elseif c.HumanoidRootPart.Velocity.Y < -0.25 then idletime = 0
  784. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)-- Y, X, Z
  785. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.1) -- Y, X, Z
  786. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(125)), 0.1) -- Z, X, Y
  787. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  788. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-125)), 0.1) -- Z, X, Y
  789. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1) -- Z, X, Y
  790. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(25)), 0.1)
  791. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  792. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-25)), 0.1)
  793. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  794. elseif (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 1 then idletime = 0
  795. sine = sine + 1
  796. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0+(math.cos(sine/3)*0.05)) * ang(rd(10), rd(0), rd(0)), 0.2)-- Y, X, Z
  797. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.2) -- Y, X, Z
  798. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(95+(math.cos(sine/3)*-2.5))), 0.2) -- Z, X, Y
  799. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) -- Z, X, Y
  800. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-(95+(math.cos(sine/3)*-2.5)))), 0.2) -- Z, X, Y
  801. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) -- Z, X, Y
  802. lerpz(RH, "C0", RHC0 * cf(0, 0.05+(math.cos(sine/3)*-0.05), 0) * ang(rd(0), rd(0), rd(-(15+math.cos(sine/6)*75))), 0.2)
  803. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  804. lerpz(LH, "C0", LHC0 * cf(0, 0.05+(math.cos(sine/3)*-0.05), 0) * ang(rd(0), rd(0), rd((15-math.cos(sine/6)*75))), 0.2)
  805. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  806. swait()
  807. else sine = sine + 1 idletime = idletime + 1
  808. if idletime >= 200 then
  809. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.1+(math.cos(sine/64)*-0.1)) * ang(rd(0), rd(0), rd(0)), 0.05)-- Y, X, Z
  810. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05) -- Y, X, Z
  811. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(25+(math.cos(sine/64)*-4))), 0.05) -- Z, X, Y
  812. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05) -- Z, X, Y
  813. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-(25+(math.cos(sine/64)*-4)))), 0.05) -- Z, X, Y
  814. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05) -- Z, X, Y
  815. lerpz(RH, "C0", RHC0 * cf(0, 0.1+(math.cos(sine/64)*0.1), 0) * ang(rd(-5), rd(0), rd(0)), 0.05)
  816. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05)
  817. lerpz(LH, "C0", LHC0 * cf(0, 0.1+(math.cos(sine/64)*0.1), 0) * ang(rd(-5), rd(0), rd(0)), 0.05)
  818. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05)
  819. else
  820. lerpz(RJ, "C0", RJC0 * cf(0, 0, (math.cos(sine/64)*-0.1)) * ang(rd(0), rd(0), rd(0)), 0.05)-- Y, X, Z
  821. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05) -- Y, X, Z
  822. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90+(math.cos(sine/64)*-4))), 0.05) -- Z, X, Y
  823. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05) -- Z, X, Y
  824. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-(90+(math.cos(sine/64)*-4)))), 0.05) -- Z, X, Y
  825. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05) -- Z, X, Y
  826. lerpz(RH, "C0", RHC0 * cf(0, 0.1+(math.cos(sine/64)*0.1), 0) * ang(rd(-5), rd(0), rd(0)), 0.05)
  827. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05)
  828. lerpz(LH, "C0", LHC0 * cf(0, 0.1+(math.cos(sine/64)*0.1), 0) * ang(rd(-5), rd(0), rd(0)), 0.05)
  829. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05)
  830. end
  831. swait()
  832. end
  833. --[[local ToMouse = (mouse.hit.p - Head.Position).unit
  834. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  835. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (c["Right Arm"].Size.X / 2)), ((Head.Size.Y / 2) - (c["Right Arm"].Size.Z / 2)), 0)))
  836. local ToMouseRightArm = ((mouse.hit.p - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  837. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  838. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  839. if tostring(LateralAngle) == "-1.#IND" then
  840. LateralAngle = 0
  841. end
  842. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  843. if LateralAngle > (math.pi / 2) then
  844. LateralAngle = (math.pi / 2)
  845. end
  846. if Cross.Y < 0 then
  847. LateralAngle = -LateralAngle
  848. end
  849. RS.C0 = CFrame.new(RS.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), 0)
  850. RS.C0 = RS.C0*CFrame.Angles(0,0,math.rad(90))
  851. local FromLeftArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (c["Left Arm"].Size.X / 2)), ((Head.Size.Y / 2) - (c["Left Arm"].Size.Z / 2)), 0)))
  852. local ToMouseLeftArm = ((mouse.hit.p - FromLeftArmPos) * Vector3.new(1 ,0, 1)).unit
  853. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  854. local LateralAngle = math.acos(ToMouseLeftArm:Dot(Look))
  855. if tostring(LateralAngle) == "-1.#IND" then
  856. LateralAngle = 0
  857. end
  858. local Cross = Head.CFrame.lookVector:Cross(ToMouseLeftArm)
  859. if LateralAngle > (math.pi * 2) then
  860. LateralAngle = (math.pi * 2)
  861. end
  862. if Cross.Y < 0 then
  863. LateralAngle = -LateralAngle
  864. end
  865. LS.C0 = CFrame.new(LS.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), 0)
  866. LS.C0 = LS.C0*CFrame.Angles(0,0,math.rad(90)) LS.C0 = LS.C0*CFrame.Angles(0,math.rad(180),0)]]
  867. end
  868. end)
Add Comment
Please, Sign In to add comment