Advertisement
RandoMVSBs

Untitled

Jan 21st, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 143.60 KB | None | 0 0
  1.  
  2.  
  3. --//====================================================\\--
  4. --|| CREATED BY SHACKLUSTER
  5. --\\====================================================//--
  6. local Player_Size = 1
  7. script:ClearAllChildren()
  8. wait(0.2)
  9.  
  10. Player = game:GetService("Players").LocalPlayer
  11. PlayerGui = Player.PlayerGui
  12. Cam = workspace.CurrentCamera
  13. Backpack = Player.Backpack
  14. Character = Player.Character
  15. Humanoid = Character.Humanoid
  16. Mouse = Player:GetMouse()
  17. RootPart = Character["HumanoidRootPart"]
  18. Torso = Character["Torso"]
  19. Head = Character["Head"]
  20. RightArm = Character["Right Arm"]
  21. LeftArm = Character["Left Arm"]
  22. RightLeg = Character["Right Leg"]
  23. LeftLeg = Character["Left Leg"]
  24. RootJoint = RootPart["RootJoint"]
  25. Neck = Torso["Neck"]
  26. RightShoulder = Torso["Right Shoulder"]
  27. LeftShoulder = Torso["Left Shoulder"]
  28. RightHip = Torso["Right Hip"]
  29. LeftHip = Torso["Left Hip"]
  30. local TIME = 0
  31. local sick = Instance.new("Sound",Torso)
  32.  
  33. IT = Instance.new
  34. CF = CFrame.new
  35. VT = Vector3.new
  36. RAD = math.rad
  37. C3 = Color3.new
  38. UD2 = UDim2.new
  39. BRICKC = BrickColor.new
  40. ANGLES = CFrame.Angles
  41. EULER = CFrame.fromEulerAnglesXYZ
  42. COS = math.cos
  43. ACOS = math.acos
  44. SIN = math.sin
  45. ASIN = math.asin
  46. ABS = math.abs
  47. MRANDOM = math.random
  48. FLOOR = math.floor
  49.  
  50. local naeeym2 = Instance.new("BillboardGui",Character)
  51. naeeym2.AlwaysOnTop = true
  52. naeeym2.Size = UDim2.new(7,35,3,15)
  53. naeeym2.StudsOffset = Vector3.new(0,2,0)
  54. naeeym2.MaxDistance = 75
  55. naeeym2.Adornee = Character.Head
  56. naeeym2.Name = "Name2"
  57. local tecks2 = Instance.new("TextLabel",naeeym2)
  58. tecks2.BackgroundTransparency = 1
  59. tecks2.TextScaled = true
  60. tecks2.BorderSizePixel = 0
  61. tecks2.Text = "Voided"
  62. tecks2.Font = "ArialBold"
  63. tecks2.TextSize = 30
  64. tecks2.TextStrokeTransparency = 0
  65. tecks2.TextColor3 = Color3.fromRGB(.5,0,.5)
  66. tecks2.TextStrokeColor3 = Color3.fromRGB(.5,0,.5)
  67. tecks2.Size = UDim2.new(1,0,0.5,0)
  68. tecks2.Parent = naeeym2
  69. --//=================================\\
  70. --|| USEFUL VALUES
  71. --\\=================================//
  72.  
  73. Animation_Speed = 3
  74. local FORCERESET = false
  75. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  76. local Speed = 16
  77. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  78. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  79. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  80. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  81. local DAMAGEMULTIPLIER = 1
  82. local ANIM = "Idle"
  83. local ATTACK = false
  84. local EQUIPPED = false
  85. local HOLD = false
  86. local COMBO = 1
  87. local Rooted = false
  88. local SINE = 0
  89. local KEYHOLD = false
  90. local CHANGE = 2 / Animation_Speed
  91. local WALKINGANIM = false
  92. local VALUE1 = false
  93. local VALUE2 = false
  94. local LEFTWINGS = {}
  95. local RIGHTWINGS = {}
  96. local ROBLOXIDLEANIMATION = IT("Animation")
  97. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  98. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  99. --ROBLOXIDLEANIMATION.Parent = Humanoid
  100. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  101. WEAPONGUI.Name = "BanishV3Gui"
  102. local Weapon = IT("Model")
  103. Weapon.Name = "Adds"
  104. local Effects = IT("Folder", Weapon)
  105. Effects.Name = "Effects"
  106. local ANIMATOR = Humanoid.Animator
  107. local ANIMATE = Character:FindFirstChild("Animate")
  108. local UNANCHOR = true
  109. local TOBANISH = {}
  110. script.Parent = PlayerGui
  111.  
  112. --//=================================\\
  113. --\\=================================//
  114.  
  115.  
  116. --//=================================\\
  117. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  118. --\\=================================//
  119.  
  120. ArtificialHB = Instance.new("BindableEvent", script)
  121. ArtificialHB.Name = "ArtificialHB"
  122.  
  123. script:WaitForChild("ArtificialHB")
  124.  
  125. frame = Frame_Speed
  126. tf = 0
  127. allowframeloss = false
  128. tossremainder = false
  129. lastframe = tick()
  130. script.ArtificialHB:Fire()
  131.  
  132. game:GetService("RunService").Heartbeat:connect(function(s, p)
  133. tf = tf + s
  134. if tf >= frame then
  135. if allowframeloss then
  136. script.ArtificialHB:Fire()
  137. lastframe = tick()
  138. else
  139. for i = 1, math.floor(tf / frame) do
  140. script.ArtificialHB:Fire()
  141. end
  142. lastframe = tick()
  143. end
  144. if tossremainder then
  145. tf = 0
  146. else
  147. tf = tf - frame * math.floor(tf / frame)
  148. end
  149. end
  150. end)
  151.  
  152. --//=================================\\
  153. --\\=================================//
  154.  
  155. --//=================================\\
  156. --|| SOME FUNCTIONS
  157. --\\=================================//
  158. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  159. function Lightning(Table)
  160. local Color = Table.Color or C3(1,1,1)
  161. local StartPos = Table.Start or Torso.Position
  162. local EndPos = Table.End or Mouse.Hit.p
  163. local SegmentLength = Table.SegmentL or 2
  164. local Thickness = Table.Thickness or 0.1
  165. local Dissapear = Table.DoesFade or false
  166. local Parent = Table.Ignore or Character
  167. local MaxDist = Table.MaxDist or 400
  168. local Branches = Table.Branches or false
  169. local Thicken = Table.Thicken or false
  170. local FadeTime = Table.FadeTime or 15
  171. local FadeIn = Table.FadeIn or false
  172. local Material = Table.Material or "Neon"
  173. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  174. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  175. local LIGHTNINGMODEL = IT("Model",Effects)
  176. LIGHTNINGMODEL.Name = "Lightning"
  177. local LastBolt = nil
  178. for E = 1, DISTANCE do
  179. local ExtraSize = 0
  180. if Thicken == true then
  181. ExtraSize = (DISTANCE-E)/15
  182. end
  183. local TRANSPARENCY = 0
  184. if FadeIn == true then
  185. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  186. if TRANSPARENCY < 0 then
  187. TRANSPARENCY = 0
  188. end
  189. end
  190. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  191. PART.Color = Color
  192. MakeForm(PART,"Cyl")
  193. if LastBolt == nil then
  194. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  195. else
  196. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  197. end
  198. LastBolt = PART
  199. if Branches == true and E < (DISTANCE-5) then
  200. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  201. if CHOICE == 1 then
  202. local LASTBRANCH = nil
  203. for i = 1, MRANDOM(2,5) do
  204. local ExtraSize2 = 0
  205. if Thicken == true then
  206. ExtraSize = ((DISTANCE-E)/25)/i
  207. end
  208. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  209. PART.Color = Color
  210. MakeForm(PART,"Cyl")
  211. if LASTBRANCH == nil then
  212. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  213. else
  214. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  215. end
  216. LASTBRANCH = PART
  217. end
  218. end
  219. end
  220. end
  221. if Dissapear == true then
  222. coroutine.resume(coroutine.create(function()
  223. for i = 1, FadeTime do
  224. Swait()
  225. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  226. if c.ClassName == "Part" then
  227. c.Transparency = c.Transparency + (i/FadeTime)/10
  228. end
  229. end
  230. end
  231. LIGHTNINGMODEL:remove()
  232. end))
  233. elseif Dissapear == false then
  234. Debris:AddItem(LIGHTNINGMODEL,0.1)
  235. end
  236. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  237. end
  238.  
  239. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 9999, Branches = false})
  240. function Lightning(Table)
  241. local Color = Table.Color or C3(1,1,1)
  242. local StartPos = Table.Start or Torso.Position
  243. local EndPos = Table.End or Mouse.Hit.p
  244. local SegmentLength = Table.SegmentL or 2
  245. local Thickness = Table.Thickness or 0.1
  246. local Dissapear = Table.DoesFade or false
  247. local Parent = Table.Ignore or Character
  248. local MaxDist = Table.MaxDist or 400
  249. local Branches = Table.Branches or false
  250. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  251. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  252. local LIGHTNINGMODEL = IT("Model",Effects)
  253. LIGHTNINGMODEL.Name = "Lightning"
  254. local LastBolt = nil
  255. for E = 1, DISTANCE do
  256. local ExtraSize = (DISTANCE-E)/15
  257. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  258. PART.Color = Color
  259. MakeForm(PART,"Cyl")
  260. if LastBolt == nil then
  261. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  262. else
  263. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  264. end
  265. LastBolt = PART
  266. if Branches == true then
  267. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  268. if CHOICE == 1 then
  269. local LASTBRANCH = nil
  270. for i = 1, MRANDOM(2,5) do
  271. local ExtraSize2 = ((DISTANCE-E)/25)/i
  272. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  273. PART.Color = Color
  274. MakeForm(PART,"Cyl")
  275. if LASTBRANCH == nil then
  276. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  277. else
  278. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  279. end
  280. LASTBRANCH = PART
  281. end
  282. end
  283. end
  284. end
  285. if Dissapear == true then
  286. coroutine.resume(coroutine.create(function()
  287. for i = 1, 10 do
  288. Swait()
  289. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  290. if c.ClassName == "Part" then
  291. c.Transparency = i/10
  292. end
  293. end
  294. end
  295. LIGHTNINGMODEL:remove()
  296. end))
  297. elseif Dissapear == false then
  298. Debris:AddItem(LIGHTNINGMODEL,0.1)
  299. end
  300. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  301. end
  302.  
  303. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 9999, Branches = false})
  304. function Lightning(Table)
  305. local Color = Table.Color or C3(1,1,1)
  306. local StartPos = Table.Start or Torso.Position
  307. local EndPos = Table.End or Mouse.Hit.p
  308. local SegmentLength = Table.SegmentL or 2
  309. local Thickness = Table.Thickness or 0.1
  310. local Dissapear = Table.DoesFade or false
  311. local Parent = Table.Ignore or Character
  312. local MaxDist = Table.MaxDist or 400
  313. local Branches = Table.Branches or false
  314. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  315. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  316. local LIGHTNINGMODEL = IT("Model",Effects)
  317. LIGHTNINGMODEL.Name = "Lightning"
  318. local LastBolt = nil
  319. for E = 1, DISTANCE do
  320. local ExtraSize = (DISTANCE-E)/15
  321. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  322. PART.Color = Color
  323. MakeForm(PART,"Cyl")
  324. if LastBolt == nil then
  325. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  326. else
  327. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  328. end
  329. LastBolt = PART
  330. if Branches == true then
  331. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  332. if CHOICE == 1 then
  333. local LASTBRANCH = nil
  334. for i = 1, MRANDOM(2,5) do
  335. local ExtraSize2 = ((DISTANCE-E)/25)/i
  336. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  337. PART.Color = Color
  338. MakeForm(PART,"Cyl")
  339. if LASTBRANCH == nil then
  340. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  341. else
  342. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  343. end
  344. LASTBRANCH = PART
  345. end
  346. end
  347. end
  348. end
  349. if Dissapear == true then
  350. coroutine.resume(coroutine.create(function()
  351. for i = 1, 10 do
  352. Swait()
  353. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  354. if c.ClassName == "Part" then
  355. c.Transparency = i/10
  356. end
  357. end
  358. end
  359. LIGHTNINGMODEL:remove()
  360. end))
  361. elseif Dissapear == false then
  362. Debris:AddItem(LIGHTNINGMODEL,0.1)
  363. end
  364. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  365. end
  366.  
  367. BaseLightning = IT("Part")
  368. BaseLightning.Anchored = true
  369. BaseLightning.CanCollide = false
  370. BaseLightning.Material = "Neon"
  371. local LightningBolts = {}
  372. function Zap(Table)
  373. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  374. local Duration = Table.Duration or 2
  375. local Offset = Table.Offset or 2
  376. local Individualize = Table.Individualize or false
  377. local MaxRange = Table.MaxRange or 200
  378. local SegmentLength = Table.SegmentLength or 5
  379. local Transparency = Table.Transparency or 0
  380. local Ignore = Table.Ignore or {}
  381. local SIZE = Table.SIZE or 0.3
  382. if not (StartPos and TargetPos) or not Character then
  383. return
  384. end
  385. local LightningModel = IT("Folder", Effects)
  386. LightningModel.Name = "ZAPP"
  387. for i, v in pairs({Character, LightningModel}) do
  388. table.insert(Ignore, v)
  389. end
  390. local LastPos = StartPos
  391. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  392. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  393. local RayLength = (StartPos - RayPos).Magnitude
  394. local Struck = false
  395. local TotalSegments = math.ceil(RayLength / SegmentLength)
  396. Direction = CFrame.new(StartPos, RayPos).lookVector
  397. local LightningBolt = IT("Model", Effects)
  398. LightningBolt.Name = "Lightning"
  399. LastBolt = LightningBolt
  400. Debris:AddItem(LightningBolt, Duration)
  401. LightningBolt.Parent = LightningModel
  402. for i = 1, TotalSegments do
  403. if not Struck then
  404. local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  405. local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  406. local SegmentVec = NewPos - LastPos
  407. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  408. local RayVec = LastPos - RayPos
  409. local LightningPart = BaseLightning:Clone()
  410. LightningPart.BrickColor = BrickColor.new(Color)
  411. LightningPart.Transparency = Transparency
  412. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  413. LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  414. local CylinderMesh = IT("CylinderMesh", LightningPart)
  415. local OrigCF = LightningPart.CFrame
  416. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  417. LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  418. LightningPart.Parent = LightningBolt
  419. LastPos = NewPos
  420. end
  421. end
  422. return {
  423. RayHit = RayHit,
  424. RayPos = RayPos,
  425. RayNormal = RayNormal,
  426. LightningModel = LightningModel
  427. }
  428. end
  429.  
  430. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  431. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  432. end
  433.  
  434. function PositiveAngle(NUMBER)
  435. if NUMBER >= 0 then
  436. NUMBER = 0
  437. end
  438. return NUMBER
  439. end
  440.  
  441. function NegativeAngle(NUMBER)
  442. if NUMBER <= 0 then
  443. NUMBER = 0
  444. end
  445. return NUMBER
  446. end
  447.  
  448. function Swait(NUMBER)
  449. if NUMBER == 0 or NUMBER == nil then
  450. ArtificialHB.Event:wait()
  451. else
  452. for i = 1, NUMBER do
  453. ArtificialHB.Event:wait()
  454. end
  455. end
  456. end
  457.  
  458. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  459. local NEWMESH = IT(MESH)
  460. if MESH == "SpecialMesh" then
  461. NEWMESH.MeshType = MESHTYPE
  462. if MESHID ~= "nil" and MESHID ~= "" then
  463. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  464. end
  465. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  466. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  467. end
  468. end
  469. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  470. NEWMESH.Scale = SCALE
  471. NEWMESH.Parent = PARENT
  472. return NEWMESH
  473. end
  474.  
  475. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  476. local NEWPART = IT("Part")
  477. NEWPART.formFactor = FORMFACTOR
  478. NEWPART.Reflectance = REFLECTANCE
  479. NEWPART.Transparency = TRANSPARENCY
  480. NEWPART.CanCollide = false
  481. NEWPART.Locked = true
  482. NEWPART.Anchored = true
  483. if ANCHOR == false then
  484. NEWPART.Anchored = false
  485. end
  486. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  487. NEWPART.Name = NAME
  488. NEWPART.Size = SIZE
  489. NEWPART.Position = Torso.Position
  490. NEWPART.Material = MATERIAL
  491. NEWPART:BreakJoints()
  492. NEWPART.Parent = PARENT
  493. return NEWPART
  494. end
  495.  
  496. local function weldBetween(a, b)
  497. local weldd = Instance.new("ManualWeld")
  498. weldd.Part0 = a
  499. weldd.Part1 = b
  500. weldd.C0 = CFrame.new()
  501. weldd.C1 = b.CFrame:inverse() * a.CFrame
  502. weldd.Parent = a
  503. return weldd
  504. end
  505.  
  506.  
  507. function QuaternionFromCFrame(cf)
  508. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  509. local trace = m00 + m11 + m22
  510. if trace > 0 then
  511. local s = math.sqrt(1 + trace)
  512. local recip = 0.5 / s
  513. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  514. else
  515. local i = 0
  516. if m11 > m00 then
  517. i = 1
  518. end
  519. if m22 > (i == 0 and m00 or m11) then
  520. i = 2
  521. end
  522. if i == 0 then
  523. local s = math.sqrt(m00 - m11 - m22 + 1)
  524. local recip = 0.5 / s
  525. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  526. elseif i == 1 then
  527. local s = math.sqrt(m11 - m22 - m00 + 1)
  528. local recip = 0.5 / s
  529. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  530. elseif i == 2 then
  531. local s = math.sqrt(m22 - m00 - m11 + 1)
  532. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  533. end
  534. end
  535. end
  536.  
  537. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  538. local xs, ys, zs = x + x, y + y, z + z
  539. local wx, wy, wz = w * xs, w * ys, w * zs
  540. local xx = x * xs
  541. local xy = x * ys
  542. local xz = x * zs
  543. local yy = y * ys
  544. local yz = y * zs
  545. local zz = z * zs
  546. 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))
  547. end
  548.  
  549. function QuaternionSlerp(a, b, t)
  550. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  551. local startInterp, finishInterp;
  552. if cosTheta >= 0.0001 then
  553. if (1 - cosTheta) > 0.0001 then
  554. local theta = ACOS(cosTheta)
  555. local invSinTheta = 1 / SIN(theta)
  556. startInterp = SIN((1 - t) * theta) * invSinTheta
  557. finishInterp = SIN(t * theta) * invSinTheta
  558. else
  559. startInterp = 1 - t
  560. finishInterp = t
  561. end
  562. else
  563. if (1 + cosTheta) > 0.0001 then
  564. local theta = ACOS(-cosTheta)
  565. local invSinTheta = 1 / SIN(theta)
  566. startInterp = SIN((t - 1) * theta) * invSinTheta
  567. finishInterp = SIN(t * theta) * invSinTheta
  568. else
  569. startInterp = t - 1
  570. finishInterp = t
  571. end
  572. end
  573. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  574. end
  575.  
  576. function Clerp(a, b, t)
  577. local qa = {QuaternionFromCFrame(a)}
  578. local qb = {QuaternionFromCFrame(b)}
  579. local ax, ay, az = a.x, a.y, a.z
  580. local bx, by, bz = b.x, b.y, b.z
  581. local _t = 1 - t
  582. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  583. end
  584.  
  585. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  586. local frame = IT("Frame")
  587. frame.BackgroundTransparency = TRANSPARENCY
  588. frame.BorderSizePixel = BORDERSIZEPIXEL
  589. frame.Position = POSITION
  590. frame.Size = SIZE
  591. frame.BackgroundColor3 = COLOR
  592. frame.BorderColor3 = BORDERCOLOR
  593. frame.Name = NAME
  594. frame.Parent = PARENT
  595. return frame
  596. end
  597.  
  598. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  599. local label = IT("TextLabel")
  600. label.BackgroundTransparency = 1
  601. label.Size = UD2(1, 0, 1, 0)
  602. label.Position = UD2(0, 0, 0, 0)
  603. label.TextColor3 = TEXTCOLOR
  604. label.TextStrokeTransparency = STROKETRANSPARENCY
  605. label.TextTransparency = TRANSPARENCY
  606. label.FontSize = TEXTFONTSIZE
  607. label.Font = TEXTFONT
  608. label.BorderSizePixel = BORDERSIZEPIXEL
  609. label.TextScaled = false
  610. label.Text = TEXT
  611. label.Name = NAME
  612. label.Parent = PARENT
  613. return label
  614. end
  615.  
  616. function NoOutlines(PART)
  617. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  618. end
  619.  
  620. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  621. local NEWWELD = IT(TYPE)
  622. NEWWELD.Part0 = PART0
  623. NEWWELD.Part1 = PART1
  624. NEWWELD.C0 = C0
  625. NEWWELD.C1 = C1
  626. NEWWELD.Parent = PARENT
  627. return NEWWELD
  628. end
  629.  
  630. local S = IT("Sound")
  631. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  632. local NEWSOUND = nil
  633. coroutine.resume(coroutine.create(function()
  634. NEWSOUND = S:Clone()
  635. NEWSOUND.Parent = PARENT
  636. NEWSOUND.Volume = VOLUME
  637. NEWSOUND.Pitch = PITCH
  638. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  639. NEWSOUND:play()
  640. if DOESLOOP == true then
  641. NEWSOUND.Looped = true
  642. else
  643. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  644. NEWSOUND:remove()
  645. end
  646. end))
  647. return NEWSOUND
  648. end
  649.  
  650. function CFrameFromTopBack(at, top, back)
  651. local right = top:Cross(back)
  652. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  653. end
  654.  
  655. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  656. function WACKYEFFECT(Table)
  657. local TYPE = (Table.EffectType or "Sphere")
  658. local SIZE = (Table.Size or VT(1,1,1))
  659. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  660. local TRANSPARENCY = (Table.Transparency or 0)
  661. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  662. local CFRAME = (Table.CFrame or Torso.CFrame)
  663. local MOVEDIRECTION = (Table.MoveToPos or nil)
  664. local ROTATION1 = (Table.RotationX or 0)
  665. local ROTATION2 = (Table.RotationY or 0)
  666. local ROTATION3 = (Table.RotationZ or 0)
  667. local MATERIAL = (Table.Material or "Neon")
  668. local COLOR = (Table.Color or C3(1,1,1))
  669. local TIME = (Table.Time or 45)
  670. local SOUNDID = (Table.SoundID or nil)
  671. local SOUNDPITCH = (Table.SoundPitch or nil)
  672. local SOUNDVOLUME = (Table.SoundVolume or nil)
  673. coroutine.resume(coroutine.create(function()
  674. local PLAYSSOUND = false
  675. local SOUND = nil
  676. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  677. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  678. PLAYSSOUND = true
  679. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  680. end
  681. EFFECT.Color = COLOR
  682. local MSH = nil
  683. if TYPE == "Sphere" then
  684. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  685. elseif TYPE == "Block" then
  686. MSH = IT("BlockMesh",EFFECT)
  687. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  688. elseif TYPE == "Wave" then
  689. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  690. elseif TYPE == "Ring" then
  691. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  692. elseif TYPE == "Slash" then
  693. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  694. elseif TYPE == "Round Slash" then
  695. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  696. elseif TYPE == "Swirl" then
  697. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  698. elseif TYPE == "Skull" then
  699. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  700. elseif TYPE == "Crystal" then
  701. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  702. end
  703. if MSH ~= nil then
  704. local MOVESPEED = nil
  705. if MOVEDIRECTION ~= nil then
  706. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  707. end
  708. local GROWTH = SIZE - ENDSIZE
  709. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  710. if TYPE == "Block" then
  711. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  712. else
  713. EFFECT.CFrame = CFRAME
  714. end
  715. for LOOP = 1, TIME+1 do
  716. Swait()
  717. MSH.Scale = MSH.Scale - GROWTH/TIME
  718. if TYPE == "Wave" then
  719. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  720. end
  721. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  722. if TYPE == "Block" then
  723. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  724. else
  725. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  726. end
  727. if MOVEDIRECTION ~= nil then
  728. local ORI = EFFECT.Orientation
  729. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  730. EFFECT.Orientation = ORI
  731. end
  732. end
  733. if PLAYSSOUND == false then
  734. EFFECT:remove()
  735. else
  736. SOUND.Stopped:Connect(function()
  737. EFFECT:remove()
  738. end)
  739. end
  740. else
  741. if PLAYSSOUND == false then
  742. EFFECT:remove()
  743. else
  744. repeat Swait() until SOUND.Playing == false
  745. EFFECT:remove()
  746. end
  747. end
  748. end))
  749. end
  750.  
  751. function MakeForm(PART,TYPE)
  752. if TYPE == "Cyl" then
  753. local MSH = IT("CylinderMesh",PART)
  754. elseif TYPE == "Ball" then
  755. local MSH = IT("SpecialMesh",PART)
  756. MSH.MeshType = "Sphere"
  757. elseif TYPE == "Wedge" then
  758. local MSH = IT("SpecialMesh",PART)
  759. MSH.MeshType = "Wedge"
  760. end
  761. end
  762.  
  763. function SpawnTrail(FROM,TO,BIG)
  764. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Royal purple", "Trail", VT(0,0,0))
  765. MakeForm(TRAIL,"Cyl")
  766. local DIST = (FROM - TO).Magnitude
  767. if BIG == true then
  768. TRAIL.Size = VT(0.5,DIST,0.5)
  769. else
  770. TRAIL.Size = VT(0.25,DIST,0.25)
  771. end
  772. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  773. coroutine.resume(coroutine.create(function()
  774. for i = 1, 5 do
  775. Swait()
  776. TRAIL.Transparency = TRAIL.Transparency + 0.1
  777. end
  778. TRAIL:remove()
  779. end))
  780. end
  781.  
  782. Debris = game:GetService("Debris")
  783.  
  784. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  785. local DIRECTION = CF(StartPos,EndPos).lookVector
  786. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  787. end
  788.  
  789. function turnto(position)
  790. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  791. end
  792. local asd = Instance.new("ParticleEmitter")
  793. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  794. asd.LightEmission = .1
  795. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  796. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  797. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  798. asd.Transparency = bbb
  799. asd.Size = aaa
  800. asd.ZOffset = .9
  801. asd.Acceleration = Vector3.new(0, -15, 0)
  802. asd.LockedToPart = false
  803. asd.EmissionDirection = "Back"
  804. asd.Lifetime = NumberRange.new(1, 2)
  805. asd.Rotation = NumberRange.new(-100, 100)
  806. asd.RotSpeed = NumberRange.new(-100, 100)
  807. asd.Speed = NumberRange.new(10)
  808. asd.Enabled = false
  809. asd.VelocitySpread = 999
  810.  
  811. function getbloody(victim,amount)
  812. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  813. PART.CFrame = victim.CFrame
  814. local HITPLAYERSOUNDS = {"356551938","264486467"}
  815. Debris:AddItem(PART,5)
  816. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  817. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  818. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  819. local prtcl = asd:Clone()
  820. prtcl.Parent = PART
  821. prtcl:Emit(amount*10)
  822. end
  823.  
  824. local Particle = IT("ParticleEmitter",nil)
  825. Particle.Enabled = false
  826. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  827. Particle.LightEmission = 0.5
  828. Particle.Rate = 150
  829. Particle.ZOffset = 1
  830. Particle.Rotation = NumberRange.new(-180, 180)
  831. Particle.RotSpeed = NumberRange.new(-180, 180)
  832. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  833. Particle.Color = ColorSequence.new(C3(.5,0,.5),C3(.5,0,.5))
  834.  
  835. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  836. function ParticleEmitter(Table)
  837. local PRTCL = Particle:Clone()
  838. local Speed = Table.Speed or 5
  839. local Drag = Table.Drag or 0
  840. local Size1 = Table.Size1 or 1
  841. local Size2 = Table.Size2 or 5
  842. local Lifetime1 = Table.Lifetime1 or 1
  843. local Lifetime2 = Table.Lifetime2 or 1.5
  844. local Parent = Table.Parent or Torso
  845. local Emit = Table.Emit or 100
  846. local Offset = Table.Offset or 360
  847. local Acel = Table.Acel or VT(0,0,0)
  848. local Enabled = Table.Enabled or false
  849. PRTCL.Parent = Parent
  850. PRTCL.Size = NumberSequence.new(Size1,Size2)
  851. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  852. PRTCL.Speed = NumberRange.new(Speed)
  853. PRTCL.VelocitySpread = Offset
  854. PRTCL.Drag = Drag
  855. PRTCL.Acceleration = Acel
  856. if Enabled == false then
  857. PRTCL:Emit(Emit)
  858. Debris:AddItem(PRTCL,Lifetime2)
  859. else
  860. PRTCL.Enabled = true
  861. end
  862. return PRTCL
  863. end
  864.  
  865. function R_RANDOM(CFRAME,DIST)
  866. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  867. end
  868.  
  869. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  870. coroutine.resume(coroutine.create(function()
  871. local FADE = IT("Model",Effects)
  872. if PARENT ~= nil then
  873. FADE.Parent = PARENT
  874. end
  875. FADE.Name = "FadingEffect"
  876. for _, c in pairs(Character:GetChildren()) do
  877. if c.ClassName == "Part" then
  878. c.CanCollide = false
  879. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Royal purple"), c.Name, c.Size, true)
  880. FADER.CFrame = c.CFrame
  881. FADER.Color = COLOR
  882. if FADER.Name == "Head" then
  883. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  884. elseif FADER.Name == "HumanoidRootPart" then
  885. FADE.PrimaryPart = FADER
  886. FADER.Transparency = 1
  887. end
  888. end
  889. end
  890. local TRANS = 0.25/TIMER
  891. local DIST = nil
  892. if MOVEDIRECTION ~= nil then
  893. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  894. end
  895. for i = 1, TIMER do
  896. Swait()
  897. for _, c in pairs(FADE:GetChildren()) do
  898. if c.ClassName == "Part" then
  899. c.Transparency = c.Transparency + TRANS
  900. end
  901. end
  902. if MOVEDIRECTION ~= nil then
  903. local ORI = FADE.PrimaryPart.Orientation
  904. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  905. end
  906. end
  907. FADE:remove()
  908. end))
  909. end
  910.  
  911.  
  912. --//=================================\\
  913. --|| WEAPON CREATION
  914. --\\=================================//
  915. local Back = CreatePart(3, Character, "Granite", 0, 0, "Royal purple", "Wing", VT(1,1,0.35),false)
  916. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
  917.  
  918. local ANGLE = 35
  919. for i = 1, 5 do
  920. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Wing", VT(0.15,2+(i/2),0.15),false)
  921. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  922. local Wing2 = CreatePart(3, Character, "Granite", 0, 0, "Royal purple", "Wing", VT(0.25,1,0.25),false)
  923. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  924. ANGLE = ANGLE - 15
  925. table.insert(LEFTWINGS,WingWeld)
  926. end
  927. ANGLE = 35
  928. for i = 1, 5 do
  929. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Wing", VT(0.15,2+(i/2),0.15),false)
  930. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  931. local Wing2 = CreatePart(3, Character, "Granite", 0, 0, "Royal purple", "Wing", VT(0.25,1,0.25),false)
  932. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  933. ANGLE = ANGLE - 15
  934. table.insert(RIGHTWINGS,WingWeld)
  935. end
  936.  
  937. local EyePiece1 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "EyePiece1", VT(0.6,0.1,1)/2,false)
  938. MakeForm(EyePiece1,"Ball")
  939. CreateWeldOrSnapOrMotor("Weld", EyePiece1, Head, EyePiece1, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  940. local EyePiece2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "EyePiece2", VT(0.1,1,1)/2,false)
  941. MakeForm(EyePiece2,"Ball")
  942. CreateWeldOrSnapOrMotor("Weld", EyePiece2, Head, EyePiece2, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  943. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Royal purple", "Hood", VT(1,1,1),false)
  944. PRT.Color = C3(.5,0,.5)
  945. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  946. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  947. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Royal purple", "Scarf", VT(1,1,1),false)
  948. PRT.Color = C3(.5,0,.5)
  949. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  950. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  951. for i = 1, 16 do
  952. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  953. FACE.Color = C3(0,0,0)
  954. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  955. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  956. end
  957. local LASTPART = Head
  958. for i = 1, 20 do
  959. local MATH = (1-(i/25))
  960. if LASTPART == Head then
  961. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  962. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  963. LASTPART = Horn
  964. Horn.Color = C3((i*3-3)/.5,0,.5)
  965. else
  966. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  967. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  968. LASTPART = Horn
  969. Horn.Color = C3((i*3-3)/.5,0,.5)
  970. end
  971. end
  972. local LASTPART = Head
  973. for i = 1, 20 do
  974. local MATH = (1-(i/25))
  975. if LASTPART == Head then
  976. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  977. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  978. LASTPART = Horn
  979. Horn.Color = C3((i*3-3)/.5,0,.5)
  980. else
  981. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  982. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  983. LASTPART = Horn
  984. Horn.Color = C3((i*3-3)/.5,0,.5)
  985. end
  986. end
  987. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Royal purple", "Hair", VT(1,1,1),false)
  988. local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  989. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
  990. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Royal purple", "Hair", VT(1,1,1),false)
  991. local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  992. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
  993.  
  994. local Particle = IT("ParticleEmitter",nil)
  995. Particle.Enabled = false
  996. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  997. Particle.LightEmission = 0.5
  998. Particle.Rate = 150
  999. Particle.ZOffset = 0.2
  1000. Particle.Rotation = NumberRange.new(-180, 180)
  1001. Particle.RotSpeed = NumberRange.new(-180, 180)
  1002. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1003. Particle.Color = ColorSequence.new(C3(.5,0,.5),C3(.5,0,.5))
  1004.  
  1005. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1006. function ParticleEmitter(Table)
  1007. local PRTCL = Particle:Clone()
  1008. local Speed = Table.Speed or 5
  1009. local Drag = Table.Drag or 0
  1010. local Size1 = Table.Size1 or 1
  1011. local Size2 = Table.Size2 or 5
  1012. local Lifetime1 = Table.Lifetime1 or 1
  1013. local Lifetime2 = Table.Lifetime2 or 1.5
  1014. local Parent = Table.Parent or Torso
  1015. local Emit = Table.Emit or 100
  1016. local Offset = Table.Offset or 360
  1017. local Acel = Table.Acel or VT(0,0,0)
  1018. local Enabled = Table.Enabled or false
  1019. PRTCL.Parent = Parent
  1020. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1021. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1022. PRTCL.Speed = NumberRange.new(Speed)
  1023. PRTCL.VelocitySpread = Offset
  1024. PRTCL.Drag = Drag
  1025. PRTCL.Acceleration = Acel
  1026. if Enabled == false then
  1027. PRTCL:Emit(Emit)
  1028. Debris:AddItem(PRTCL,Lifetime2)
  1029. else
  1030. PRTCL.Enabled = true
  1031. end
  1032. return PRTCL
  1033. end
  1034.  
  1035.  
  1036.  
  1037. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  1038. PRT.Color = C3(0,0,0)
  1039. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  1040. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  1041. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  1042. PRT.Color = C3(0,0,0)
  1043. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  1044. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  1045. for i = 1, 16 do
  1046. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  1047. FACE.Color = C3(0,0,0)
  1048. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1049. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  1050. end
  1051. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  1052. MakeForm(EYE,"Ball")
  1053. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  1054. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  1055. MakeForm(EYE2,"Ball")
  1056. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  1057. local LASTPART = Head
  1058. for i = 1, 20 do
  1059. local MATH = (1-(i/25))
  1060. if LASTPART == Head then
  1061. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1062. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1063. LASTPART = Horn
  1064. Horn.Color = C3((i*3-3)/255,0,0)
  1065. else
  1066. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1067. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  1068. LASTPART = Horn
  1069. Horn.Color = C3((i*3-3)/255,0,0)
  1070. end
  1071. end
  1072. local LASTPART = Head
  1073. for i = 1, 20 do
  1074. local MATH = (1-(i/25))
  1075. if LASTPART == Head then
  1076. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1077. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  1078. LASTPART = Horn
  1079. Horn.Color = C3((i*3-3)/255,0,0)
  1080. else
  1081. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1082. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  1083. LASTPART = Horn
  1084. Horn.Color = C3((i*3-3)/255,0,0)
  1085. end
  1086. end
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1098. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1099. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1100. MakeForm(Part,"Wedge")
  1101. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1102. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1103. MakeForm(Part,"Wedge")
  1104. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1105. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1106. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1107. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1108. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1109. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1110. MakeForm(Part,"Cyl")
  1111. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1112. for i = 1, 8 do
  1113. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1114. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1115. end
  1116. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1117. MakeForm(Part,"Cyl")
  1118. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1119. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1120. MakeForm(Part,"Ball")
  1121. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1122. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1123. MakeForm(Part,"Wedge")
  1124. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1125. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1126. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1127. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1128. MakeForm(Part,"Cyl")
  1129. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1130. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1131. MakeForm(Part,"Cyl")
  1132. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1133. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1134. MakeForm(Part,"Cyl")
  1135. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1136. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1137. MakeForm(Part,"Wedge")
  1138. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1139. local LASTPART = Handle
  1140. for i = 1, 10 do
  1141. if LASTPART == Handle then
  1142. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1143. LASTPART = Part
  1144. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1145. else
  1146. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1147. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1148. LASTPART = Part
  1149. end
  1150. end
  1151.  
  1152. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1153. MakeForm(Barrel,"Cyl")
  1154. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1155. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1156. MakeForm(Part,"Cyl")
  1157. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1158. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1159. MakeForm(Part,"Wedge")
  1160. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1161. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1162. MakeForm(Hole2,"Cyl")
  1163. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  1164. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1165. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1166. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1167. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1168. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1169. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1170. coroutine.resume(coroutine.create(function()
  1171. while wait() do
  1172. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1173. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1174. end
  1175. end))
  1176.  
  1177. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1178. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1179.  
  1180. for _, c in pairs(Weapon:GetDescendants()) do
  1181. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1182. c.Material = "Glass"
  1183. c.Color = C3(.5,0,.5)
  1184. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1185. c.Color = C3(.5,0,.5)
  1186. c.Material = "Neon"
  1187. end
  1188. end
  1189.  
  1190. Weapon.Parent = Character
  1191. for _, c in pairs(Weapon:GetChildren()) do
  1192. if c.ClassName == "Part" then
  1193. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1194. end
  1195. end
  1196.  
  1197. function ParticleEmitter(Table)
  1198. local PRTCL = Particle:Clone()
  1199. local Speed = Table.Speed or 5
  1200. local Drag = Table.Drag or 0
  1201. local Size1 = Table.Size1 or 1
  1202. local Size2 = Table.Size2 or 5
  1203. local Lifetime1 = Table.Lifetime1 or 1
  1204. local Lifetime2 = Table.Lifetime2 or 1.5
  1205. local Parent = Table.Parent or Torso
  1206. local Emit = Table.Emit or 100
  1207. local Offset = Table.Offset or 360
  1208. local Acel = Table.Acel or VT(0,0,0)
  1209. local Enabled = Table.Enabled or false
  1210. PRTCL.Parent = Parent
  1211. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1212. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1213. PRTCL.Speed = NumberRange.new(Speed)
  1214. PRTCL.VelocitySpread = Offset
  1215. PRTCL.Drag = Drag
  1216. PRTCL.Acceleration = Acel
  1217. if Enabled == false then
  1218. PRTCL:Emit(Emit)
  1219. Debris:AddItem(PRTCL,Lifetime2)
  1220. else
  1221. PRTCL.Enabled = true
  1222. end
  1223. return PRTCL
  1224. end
  1225.  
  1226. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1227. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1228. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1229. MakeForm(Part,"Wedge")
  1230. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1231. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1232. MakeForm(Part,"Wedge")
  1233. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1234. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1235. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1236. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1237. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1238. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1239. MakeForm(Part,"Cyl")
  1240. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1241. for i = 1, 8 do
  1242. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1243. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1244. end
  1245. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1246. MakeForm(Part,"Cyl")
  1247. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1248. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1249. MakeForm(Part,"Ball")
  1250. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1251. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1252. MakeForm(Part,"Wedge")
  1253. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1254. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1255. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1256. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1257. MakeForm(Part,"Cyl")
  1258. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1259. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1260. MakeForm(Part,"Cyl")
  1261. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1262. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1263. MakeForm(Part,"Cyl")
  1264. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1265. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1266. MakeForm(Part,"Wedge")
  1267. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1268. local LASTPART = Handle
  1269. for i = 1, 10 do
  1270. if LASTPART == Handle then
  1271. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1272. LASTPART = Part
  1273. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1274. else
  1275. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1276. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1277. LASTPART = Part
  1278. end
  1279. end
  1280.  
  1281. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1282. MakeForm(Barrel,"Cyl")
  1283. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1284. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1285. MakeForm(Part,"Cyl")
  1286. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1287. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1288. MakeForm(Part,"Wedge")
  1289. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1290. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1291. MakeForm(Hole,"Cyl")
  1292. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1293. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1294. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1295. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1296. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1297. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1298. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1299. coroutine.resume(coroutine.create(function()
  1300. while wait() do
  1301. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1302. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1303. end
  1304. end))
  1305.  
  1306. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1307. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1308.  
  1309. for _, c in pairs(Weapon:GetDescendants()) do
  1310. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1311. c.Material = "Glass"
  1312. c.Color = C3(0.05,0.05,0.05)
  1313. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1314. c.Color = C3(.5,0,.5)
  1315. c.Material = "Neon"
  1316. end
  1317. end
  1318.  
  1319. Weapon.Parent = Character
  1320. for _, c in pairs(Weapon:GetChildren()) do
  1321. if c.ClassName == "Part" then
  1322. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1323. end
  1324. end
  1325.  
  1326. local SKILLTEXTCOLOR = C3(.5,0,.5)
  1327. local SKILLFONT = "Antique"
  1328. local SKILLTEXTSIZE = 7
  1329.  
  1330. Humanoid.Died:connect(function()
  1331. ATTACK = true
  1332. end)
  1333.  
  1334.  
  1335. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.0, 1, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1336. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1337. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1338. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1339. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1340. ]]
  1341. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1342. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1343. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1344. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1345. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1346. ]]
  1347.  
  1348. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1349. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0.90, 0., 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1350. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1351. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1352. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1353.  
  1354. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "Edit By iComboPE . . .", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1355.  
  1356.  
  1357.  
  1358. function printbye(Name)
  1359. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1360. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1361. end
  1362.  
  1363. workspace.ChildAdded:connect(function(instance)
  1364. for BANISH = 1, #TOBANISH do
  1365. if TOBANISH[BANISH] ~= nil then
  1366. if instance.Name == TOBANISH[BANISH] then
  1367. coroutine.resume(coroutine.create(function()
  1368. printbye(instance.Name)
  1369. instance:ClearAllChildren()
  1370. Debris:AddItem(instance,0.0005)
  1371. end))
  1372. end
  1373. end
  1374. end
  1375. end)
  1376.  
  1377. --//=================================\\
  1378. --|| DAMAGING
  1379. --\\=================================//
  1380.  
  1381. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1382. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1383. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1384. wave.CFrame = CFRAME
  1385. coroutine.resume(coroutine.create(function(PART)
  1386. for i = 1, WAIT do
  1387. Swait()
  1388. mesh.Scale = mesh.Scale + GROW
  1389. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1390. if DOESROT == true then
  1391. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1392. end
  1393. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1394. if wave.Transparency > 0.99 then
  1395. wave:remove()
  1396. end
  1397. end
  1398. end))
  1399. end
  1400.  
  1401. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  1402. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1403. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  1404. wave.CFrame = CFRAME
  1405. coroutine.resume(coroutine.create(function(PART)
  1406. for i = 1, WAIT do
  1407. Swait()
  1408. mesh.Scale = mesh.Scale + GROW
  1409. if DOESROT == true then
  1410. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1411. end
  1412. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1413. if wave.Transparency > 0.99 then
  1414. wave:remove()
  1415. end
  1416. end
  1417. end))
  1418. end
  1419.  
  1420. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1421. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1422. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1423. wave.CFrame = CFRAME
  1424. coroutine.resume(coroutine.create(function(PART)
  1425. for i = 1, WAIT do
  1426. Swait()
  1427. mesh.Scale = mesh.Scale + GROW
  1428. wave.Transparency = wave.Transparency + (1/WAIT)
  1429. if wave.Transparency > 0.99 then
  1430. wave:remove()
  1431. end
  1432. end
  1433. end))
  1434. end
  1435.  
  1436. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  1437. local mesh = nil
  1438. if KIND == "Base" then
  1439. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1440. elseif KIND == "Thin" then
  1441. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1442. elseif KIND == "Round" then
  1443. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1444. end
  1445. wave.CFrame = CFRAME
  1446. coroutine.resume(coroutine.create(function(PART)
  1447. for i = 1, WAIT do
  1448. Swait()
  1449. mesh.Scale = mesh.Scale + GROW/10
  1450. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1451. if wave.Transparency > 0.99 then
  1452. wave:remove()
  1453. end
  1454. end
  1455. end))
  1456. end
  1457.  
  1458. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  1459. local svch = Character2
  1460. Character2:BreakJoints()
  1461. local hum = Character2:findFirstChild("Humanoid")
  1462. local q = Character2:GetChildren()
  1463. local CLONE = IT("Model", Effects)
  1464. for i = 1, #q do
  1465. if q[i].ClassName == "Accessory" and Headless == true then
  1466. q[i]:remove()
  1467. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  1468. q[i].Parent = CLONE
  1469. elseif q[i].ClassName ~= "Humanoid" then
  1470. q[i]:remove()
  1471. end
  1472. end
  1473. local chrclone = CLONE
  1474. local ch = chrclone:GetChildren()
  1475. local i
  1476. for i = 1, #ch do
  1477. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  1478. ch[i]:remove()
  1479. end
  1480. end
  1481. local function Scan(ch)
  1482. local e
  1483. for e = 1, #ch do
  1484. Scan(ch[e]:GetChildren())
  1485. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1486. ch[e]:remove()
  1487. end
  1488. end
  1489. end
  1490. Character2:remove()
  1491. local NEWHUM = IT("Humanoid")
  1492. NEWHUM.Name = "Corpse"
  1493. NEWHUM.Health = 0
  1494. NEWHUM.MaxHealth = 0
  1495. NEWHUM.PlatformStand = true
  1496. NEWHUM.Parent = CLONE
  1497. NEWHUM.DisplayDistanceType = "None"
  1498. Scan(chrclone:GetChildren())
  1499. local ch = Character2:GetChildren()
  1500. local i
  1501. for i = 1, #ch do
  1502. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1503. ch[i]:remove()
  1504. end
  1505. end
  1506.  
  1507. Character2 = chrclone
  1508. local Torso2 = Character2.Torso
  1509. local movevector = Vector3.new()
  1510. if Torso2 then
  1511. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  1512. local Head = Character2:FindFirstChild("Head")
  1513. if Head then
  1514. local Neck = Instance.new("Weld")
  1515. Neck.Name = "Neck"
  1516. Neck.Part0 = Torso2
  1517. Neck.Part1 = Head
  1518. Neck.C0 = CFrame.new(0, 1.5, 0)
  1519. Neck.C1 = CFrame.new()
  1520. Neck.Parent = Torso2
  1521. if Headless == true then
  1522. Head.Transparency = 1
  1523. Head:ClearAllChildren()
  1524. end
  1525. end
  1526. local Limb = Character2:FindFirstChild("Right Arm")
  1527. if Limb then
  1528. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1529. local Joint = Instance.new("Glue")
  1530. Joint.Name = "RightShoulder"
  1531. Joint.Part0 = Torso2
  1532. Joint.Part1 = Limb
  1533. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1534. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1535. Joint.Parent = Torso2
  1536. local B = Instance.new("Part")
  1537. B.TopSurface = 0
  1538. B.BottomSurface = 0
  1539. B.formFactor = "Symmetric"
  1540. B.Size = Vector3.new(1, 1, 1)
  1541. B.Transparency = 1
  1542. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1543. B.Parent = Character2
  1544. local W = Instance.new("Weld")
  1545. W.Part0 = Limb
  1546. W.Part1 = B
  1547. W.C0 = CFrame.new(0, -0.5, 0)
  1548. W.Parent = Limb
  1549. end
  1550. local Limb = Character2:FindFirstChild("Left Arm")
  1551. if Limb then
  1552. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1553. local Joint = Instance.new("Glue")
  1554. Joint.Name = "LeftShoulder"
  1555. Joint.Part0 = Torso2
  1556. Joint.Part1 = Limb
  1557. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1558. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1559. Joint.Parent = Torso2
  1560. local B = Instance.new("Part")
  1561. B.TopSurface = 0
  1562. B.BottomSurface = 0
  1563. B.formFactor = "Symmetric"
  1564. B.Size = Vector3.new(1, 1, 1)
  1565. B.Transparency = 1
  1566. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1567. B.Parent = Character2
  1568. local W = Instance.new("Weld")
  1569. W.Part0 = Limb
  1570. W.Part1 = B
  1571. W.C0 = CFrame.new(0, -0.5, 0)
  1572. W.Parent = Limb
  1573. end
  1574. local Limb = Character2:FindFirstChild("Right Leg")
  1575. if Limb then
  1576. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1577. local Joint = Instance.new("Glue")
  1578. Joint.Name = "RightHip"
  1579. Joint.Part0 = Torso2
  1580. Joint.Part1 = Limb
  1581. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1582. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1583. Joint.Parent = Torso2
  1584. local B = Instance.new("Part")
  1585. B.TopSurface = 0
  1586. B.BottomSurface = 0
  1587. B.formFactor = "Symmetric"
  1588. B.Size = Vector3.new(1, 1, 1)
  1589. B.Transparency = 1
  1590. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1591. B.Parent = Character2
  1592. local W = Instance.new("Weld")
  1593. W.Part0 = Limb
  1594. W.Part1 = B
  1595. W.C0 = CFrame.new(0, -0.5, 0)
  1596. W.Parent = Limb
  1597. end
  1598. local Limb = Character2:FindFirstChild("Left Leg")
  1599. if Limb then
  1600. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1601. local Joint = Instance.new("Glue")
  1602. Joint.Name = "LeftHip"
  1603. Joint.Part0 = Torso2
  1604. Joint.Part1 = Limb
  1605. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1606. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1607. Joint.Parent = Torso2
  1608. local B = Instance.new("Part")
  1609. B.TopSurface = 0
  1610. B.BottomSurface = 0
  1611. B.formFactor = "Symmetric"
  1612. B.Size = Vector3.new(1, 1, 1)
  1613. B.Transparency = 1
  1614. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1615. B.Parent = Character2
  1616. local W = Instance.new("Weld")
  1617. W.Part0 = Limb
  1618. W.Part1 = B
  1619. W.C0 = CFrame.new(0, -0.5, 0)
  1620. W.Parent = Limb
  1621. end
  1622. local Bar = Instance.new("Part")
  1623. Bar.TopSurface = 0
  1624. Bar.BottomSurface = 0
  1625. Bar.formFactor = "Symmetric"
  1626. Bar.Size = Vector3.new(1, 1, 1)
  1627. Bar.Transparency = 1
  1628. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1629. Bar.Parent = Character2
  1630. local Weld = Instance.new("Weld")
  1631. Weld.Part0 = Torso2
  1632. Weld.Part1 = Bar
  1633. Weld.C0 = CFrame.new(0, 0.5, 0)
  1634. Weld.Parent = Torso2
  1635. end
  1636. Character2.Parent = Weapon
  1637. if movevector ~= Vector3.new() then
  1638. for i = 1, 10 do
  1639. Torso2.Velocity = movevector * Velocity
  1640. end
  1641. end
  1642. Character2.Name = "Corpse"
  1643. return Character2, Torso2
  1644. end
  1645.  
  1646. function Banish(Foe)
  1647. if Foe then
  1648. coroutine.resume(coroutine.create(function()
  1649. --if game.Players:FindFirstChild(Foe.Name) then
  1650. table.insert(TOBANISH,Foe.Name)
  1651. printbye(Foe.Name)
  1652. --end
  1653. Foe.Archivable = true
  1654. local CLONE = Foe:Clone()
  1655. Foe:Destroy()
  1656. CLONE.Parent = Effects
  1657. CLONE:BreakJoints()
  1658. local MATERIALS = {"Glass","Neon"}
  1659. for _, c in pairs(CLONE:GetDescendants()) do
  1660. if c:IsA("BasePart") then
  1661. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1662. CreateSound(340722848, c, 10, 1, false)
  1663. end
  1664. c.Anchored = true
  1665. c.Transparency = c.Transparency + 0.2
  1666. c.Material = MATERIALS[MRANDOM(1,2)]
  1667. c.Color = C3(.5,0,.5)
  1668. if c.ClassName == "MeshPart" then
  1669. c.TextureID = ""
  1670. end
  1671. if c:FindFirstChildOfClass("SpecialMesh") then
  1672. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1673. end
  1674. if c:FindFirstChildOfClass("Decal") then
  1675. c:FindFirstChildOfClass("Decal"):remove()
  1676. end
  1677. c.Name = "Banished"
  1678. c.CanCollide = false
  1679. else
  1680. c:remove()
  1681. end
  1682. end
  1683. local A = false
  1684. for i = 1, 35 do
  1685. if A == false then
  1686. A = true
  1687. elseif A == true then
  1688. A = false
  1689. end
  1690. for _, c in pairs(CLONE:GetDescendants()) do
  1691. if c:IsA("BasePart") then
  1692. c.Anchored = true
  1693. c.Material = MATERIALS[MRANDOM(1,2)]
  1694. c.Transparency = c.Transparency + 0.8/35
  1695. if A == false then
  1696. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1697. elseif A == true then
  1698. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1699. end
  1700. end
  1701. end
  1702. Swait()
  1703. end
  1704. CLONE:remove()
  1705. end))
  1706. end
  1707. end
  1708.  
  1709. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  1710. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  1711. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1712. if HITFLOOR.Name == "BloodPuddle" then
  1713. local DIST = (Position - HITFLOOR.Position).Magnitude
  1714. if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  1715. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  1716. end
  1717. elseif HITFLOOR.Anchored == true then
  1718. do
  1719. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Royal purple", "BloodPuddle", VT(2, 0, 2))
  1720. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1721. MakeForm(BLOOD, "Cyl")
  1722. coroutine.resume(coroutine.create(function()
  1723. Swait(75)
  1724. while true do
  1725. Swait()
  1726. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  1727. if BLOOD.Size.Z < 0.051 then
  1728. BLOOD:remove()
  1729. break
  1730. end
  1731. end
  1732. end))
  1733. end
  1734. end
  1735. end
  1736. end
  1737.  
  1738. function SprayBlood(POSITION, DIRECTION, BloodSize)
  1739. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Royal purple", "BloodPuddle", VT(1, 1, 1), false)
  1740. BLOOD.CFrame = CF(POSITION)
  1741. MakeForm(BLOOD, "Ball")
  1742. local bv = Instance.new("BodyVelocity", BLOOD)
  1743. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1744. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  1745. bv.Name = "MOVE"
  1746. Debris:AddItem(bv, 0.05)
  1747. coroutine.resume(coroutine.create(function()
  1748. local HASTOUCHEDGROUND = false
  1749. local HIT = BLOOD.Touched:Connect(function(hit)
  1750. if hit.Anchored == true then
  1751. HASTOUCHEDGROUND = true
  1752. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  1753. end
  1754. end)
  1755. wait(5)
  1756. if HASTOUCHEDGROUND == false then
  1757. BLOOD:remove()
  1758. end
  1759. end))
  1760. end
  1761. function ApplyDamage(Humanoid, Damage, TorsoPart)
  1762. local defence = Instance.new("BoolValue", Humanoid.Parent)
  1763. defence.Name = "HitBy" .. Player.Name
  1764. game:GetService("Debris"):AddItem(defence, 0.001)
  1765. Damage = Damage * DAMAGEMULTIPLIER
  1766. if Humanoid.Health ~= 0 then
  1767. local CritChance = MRANDOM(1, 100)
  1768. if Damage > Humanoid.Health then
  1769. Damage = math.ceil(Humanoid.Health)
  1770. if Damage == 0 then
  1771. Damage = 0.1
  1772. end
  1773. end
  1774. Humanoid.Health = Humanoid.Health - Damage
  1775. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1776. end
  1777. end
  1778.  
  1779. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1780. local CHILDREN = workspace:GetDescendants()
  1781. for index, CHILD in pairs(CHILDREN) do
  1782. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1783. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1784. if HUM then
  1785. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1786. if TORSO then
  1787. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1788. if ISBANISH == true then
  1789. Banish(CHILD)
  1790. else
  1791. if ISBANISH == "Gravity" then
  1792. HUM.PlatformStand = true
  1793. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1794. local grav = Instance.new("BodyPosition",TORSO)
  1795. grav.D = 15
  1796. grav.P = 20000
  1797. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1798. grav.position = TORSO.Position
  1799. grav.Name = "V3BanishForce"..Player.Name
  1800. else
  1801. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1802. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1803. end
  1804. else
  1805. HUM.PlatformStand = false
  1806. end
  1807. end
  1808. elseif ISBANISH == "Gravity" then
  1809. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1810. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1811. HUM.PlatformStand = false
  1812. end
  1813. end
  1814. end
  1815. end
  1816. end
  1817. end
  1818. end
  1819.  
  1820. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1821. local dmg = math.random(min,max)
  1822. for i,v in ipairs(workspace:GetChildren()) do
  1823. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1824. local body = v:GetChildren()
  1825. for part = 1, #body do
  1826. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1827. if(body[part].Position - position).Magnitude < radius then
  1828. if v.ClassName == "Model" then
  1829. if v:FindFirstChildOfClass("Humanoid") then
  1830. if CanBeDodgedByJumping == true then
  1831. if body[part].Position.Y < position.Y+5 then
  1832. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1833. end
  1834. else
  1835. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1836. end
  1837. local bv = Instance.new("BodyVelocity")
  1838. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1839. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1840. bv.Parent = body[part]
  1841. Debris:AddItem(bv,0.2)
  1842. end
  1843. end
  1844. end
  1845. end
  1846. end
  1847. end
  1848. if v:FindFirstChild("HitBy"..Player.Name) then
  1849. v:FindFirstChild("HitBy"..Player.Name):remove()
  1850. end
  1851. end
  1852. end
  1853.  
  1854.  
  1855. --//=================================\\
  1856. --|| ATTACK FUNCTIONS AND STUFF
  1857. --\\=================================//
  1858.  
  1859. function ShadowCloak()
  1860. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  1861. ATTACK = true
  1862. Rooted = false
  1863. UNANCHOR = false
  1864. FADERS = false
  1865. coroutine.resume(coroutine.create(function()
  1866. coroutine.resume(coroutine.create(function()
  1867. for i=1, 25 do
  1868. Swait()
  1869. RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
  1870. end
  1871. end))
  1872. repeat
  1873. Swait()
  1874. BLADE.Transparency = Torso.Transparency
  1875. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1876. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  1877. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1878. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1879. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  1880. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  1881. until ATTACK == false
  1882. end))
  1883. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 0.6, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 12})
  1884. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1885. for i = 1, 50 do
  1886. Swait()
  1887. CharacterFade(C3(.5,0,.5),12,R_RANDOM(Torso.CFrame,1.25).p)
  1888. for index, CHILD in pairs(Character:GetChildren()) do
  1889. if CHILD:IsA("BasePart") then
  1890. CHILD.Transparency = CHILD.Transparency + 1/50
  1891. elseif CHILD:IsA("Accessory") then
  1892. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  1893. end
  1894. end
  1895. end
  1896. for i = 1, 25 do
  1897. Swait()
  1898. CharacterFade(C3(.5,0,.5),12,R_RANDOM(Torso.CFrame,1.25).p)
  1899. end
  1900. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  1901. for i = 1, 5 do
  1902. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  1903. end
  1904. ApplyAoE(Torso.Position,15,12,22,150,false)
  1905. CreateSound(331666014,Torso,5,1,false)
  1906. for i = 1, 12 do
  1907. Swait()
  1908. CharacterFade(C3(.5,0,.5),12,R_RANDOM(Torso.CFrame,1.25).p)
  1909. end
  1910. for i = 1, 50 do
  1911. Swait()
  1912. CharacterFade(C3(.5,0,.5),12,R_RANDOM(Torso.CFrame,1.25).p)
  1913. for index, CHILD in pairs(Character:GetChildren()) do
  1914. if CHILD:IsA("BasePart") then
  1915. CHILD.Transparency = CHILD.Transparency - 1/50
  1916. elseif CHILD:IsA("Accessory") then
  1917. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  1918. end
  1919. end
  1920. end
  1921. UNANCHOR = true
  1922. ATTACK = false
  1923. Rooted = false
  1924. FADERS = true
  1925. end
  1926. end
  1927.  
  1928. function Neck_Snap()
  1929. ATTACK = true
  1930. Rooted = false
  1931. local TARGET, HUM, WLD
  1932. local HIT = RightArm.Touched:Connect(function(hit)
  1933. if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1934. local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  1935. if H.Health > 0 then
  1936. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1937. if TORSO then
  1938. HUM = H
  1939. TARGET = TORSO
  1940. H.PlatformStand = true
  1941. CreateSound("260411131", TORSO, 10, 1)
  1942. WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1943. end
  1944. end
  1945. end
  1946. end)
  1947. for i = 0, 1, 0.1 / Animation_Speed do
  1948. Swait()
  1949. if TARGET ~= nil then
  1950. break
  1951. end
  1952. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1953. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1954. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1955. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1956. if ANIM == "Idle" then
  1957. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1958. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1959. elseif ANIM == "Walk" then
  1960. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1961. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1962. elseif ANIM == "Jump" or ANIM == "Fall" then
  1963. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1964. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1965. end
  1966. end
  1967. HIT:disconnect()
  1968. if TARGET ~= nil then
  1969. if TARGET.Name == "Torso" then
  1970. for i = 0, 2, 0.1 / Animation_Speed do
  1971. Swait()
  1972. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1973. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1974. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1975. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1976. if ANIM == "Idle" then
  1977. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1978. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1979. elseif ANIM == "Walk" then
  1980. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1981. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1982. elseif ANIM == "Jump" or ANIM == "Fall" then
  1983. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1984. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1985. end
  1986. end
  1987. WLD:remove()
  1988. local HEAD = TARGET.Parent:FindFirstChild("Head")
  1989. if HEAD then
  1990. UNANCHOR = false
  1991. RootPart.Anchored = true
  1992. local HD = HEAD:Clone()
  1993. HD.Name = "FakeHead"
  1994. for i = 1, 7 do
  1995. SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15)
  1996. end
  1997. local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  1998. local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1999. HD.Parent = RAGDOLL
  2000. CreateSound("264486467", RAGTORSO, 10, 1)
  2001. local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  2002. for i = 0, 2, 0.1 / Animation_Speed do
  2003. Swait()
  2004. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2005. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2006. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2007. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2008. if ANIM == "Idle" then
  2009. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2010. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2011. elseif ANIM == "Walk" then
  2012. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2013. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2014. elseif ANIM == "Jump" or ANIM == "Fall" then
  2015. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2016. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2017. end
  2018. end
  2019. HEADWELD:remove()
  2020. for i = 0, 0.5, 0.1 / Animation_Speed do
  2021. Swait()
  2022. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2023. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2024. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2025. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2026. if ANIM == "Idle" then
  2027. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2028. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2029. elseif ANIM == "Walk" then
  2030. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2031. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2032. elseif ANIM == "Jump" or ANIM == "Fall" then
  2033. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2034. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2035. end
  2036. end
  2037. CreateSound("907333406", Torso, 10, 1)
  2038. for i = 0, 0.25, 0.1 / Animation_Speed do
  2039. Swait()
  2040. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2041. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2042. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2043. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2044. if ANIM == "Idle" then
  2045. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2046. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2047. elseif ANIM == "Walk" then
  2048. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2049. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2050. elseif ANIM == "Jump" or ANIM == "Fall" then
  2051. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2052. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2053. end
  2054. end
  2055. RAGWELD:remove()
  2056. local bv = Instance.new("BodyVelocity")
  2057. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2058. bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  2059. bv.Parent = RAGTORSO
  2060. Debris:AddItem(bv, 0.05)
  2061. Debris:AddItem(RAGDOLL, 5)
  2062. for i = 0, 0.15, 0.1 / Animation_Speed do
  2063. Swait()
  2064. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2065. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2066. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2067. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2068. if ANIM == "Idle" then
  2069. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2070. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2071. elseif ANIM == "Walk" then
  2072. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2073. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2074. elseif ANIM == "Jump" or ANIM == "Fall" then
  2075. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2076. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2077. end
  2078. end
  2079. UNANCHOR = true
  2080. RootPart.Anchored = false
  2081. end
  2082. else
  2083. UNANCHOR = false
  2084. RootPart.Anchored = true
  2085. for i = 0, 0.5, 0.1 / Animation_Speed do
  2086. Swait()
  2087. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2088. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2089. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2090. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2091. if ANIM == "Idle" then
  2092. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2093. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2094. elseif ANIM == "Walk" then
  2095. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2096. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2097. elseif ANIM == "Jump" or ANIM == "Fall" then
  2098. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2099. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2100. end
  2101. end
  2102. for i = 0, 0.25, 0.1 / Animation_Speed do
  2103. Swait()
  2104. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2105. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2106. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2107. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2108. if ANIM == "Idle" then
  2109. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2110. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2111. elseif ANIM == "Walk" then
  2112. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2113. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2114. elseif ANIM == "Jump" or ANIM == "Fall" then
  2115. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2116. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2117. end
  2118. end
  2119. WLD:remove()
  2120. TARGET.Parent:BreakJoints()
  2121. for _, c in pairs(TARGET.Parent:GetChildren()) do
  2122. if c:IsA("BasePart") then
  2123. local bv = Instance.new("BodyVelocity")
  2124. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2125. bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  2126. bv.Parent = c
  2127. Debris:AddItem(bv, 0.05)
  2128. end
  2129. end
  2130. for i = 0, 0.15, 0.1 / Animation_Speed do
  2131. Swait()
  2132. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2133. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2134. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2135. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2136. if ANIM == "Idle" then
  2137. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2138. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2139. elseif ANIM == "Walk" then
  2140. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2141. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2142. elseif ANIM == "Jump" or ANIM == "Fall" then
  2143. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2144. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2145. end
  2146. end
  2147. UNANCHOR = true
  2148. RootPart.Anchored = false
  2149. end
  2150. end
  2151. ATTACK = false
  2152. Rooted = false
  2153. end
  2154.  
  2155. function Shot()
  2156. ATTACK = true
  2157. Rooted = false
  2158. for i=0, 0.05, 0.1 / Animation_Speed do
  2159. Swait()
  2160. turnto(Mouse.Hit.p)
  2161. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2163. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2164. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2165. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2166. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2167. end
  2168. repeat
  2169. for i=0, 0.05, 0.1 / Animation_Speed do
  2170. Swait()
  2171. turnto(Mouse.Hit.p)
  2172. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2173. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2174. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2175. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2176. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2177. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2178. end
  2179. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  2180. SpawnTrail(Hole2.Position,POS)
  2181. if HIT ~= nil then
  2182. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2183. Banish(HIT.Parent)
  2184. end
  2185. end
  2186. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2187. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2188. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2189. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2190. for i=0, 0.05, 0.1 / Animation_Speed do
  2191. Swait()
  2192. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2193. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2194. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2195. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2196. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2197. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2198. end
  2199. until KEYHOLD == false
  2200. ATTACK = false
  2201. Rooted = false
  2202. end
  2203.  
  2204. function AttackTemplate()
  2205. ATTACK = true
  2206. Rooted = false
  2207. for i=0, 1, 0.1 / Animation_Speed do
  2208. Swait()
  2209. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2210. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2211. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2212. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2213. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2214. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2215. end
  2216. ATTACK = false
  2217. Rooted = false
  2218. end
  2219.  
  2220. function BulletRoller()
  2221. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2222. if HITFLOOR then
  2223. ATTACK = true
  2224. Rooted = true
  2225. local bv = Instance.new("BodyVelocity")
  2226. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2227. bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1,-4).p).lookVector*175
  2228. bv.Parent = RootPart
  2229. local GYRO = IT("BodyGyro",RootPart)
  2230. GYRO.D = 2
  2231. GYRO.P = 20000
  2232. GYRO.MaxTorque = VT(0,4000000,0)
  2233. GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
  2234. CreateSound(145486992,Torso,10,0.85,false)
  2235. for i=0, 0.05, 0.1 / Animation_Speed do
  2236. Swait()
  2237. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
  2238. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
  2239. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2240. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2241. if ANIM == "Fall" or ANIM == "Jump" then
  2242. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2243. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2244. else
  2245. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  2246. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2247. end
  2248. end
  2249. bv:Remove()
  2250. local E = 360/15
  2251. for i = 1, 15 do
  2252. Swait()
  2253. WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(8,1,8), Size2 = VT(2,15,2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position,HITPOS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2254. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
  2255. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2256. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2257. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2258. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2259. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2260. end
  2261. Cooldown1 = true
  2262. local LANDED = nil
  2263. local POS = nil
  2264. coroutine.resume(coroutine.create(function()
  2265. repeat
  2266. Swait()
  2267. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2268. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2269. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2270. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2271. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2272. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2273. until LANDED ~= nil
  2274. end))
  2275. repeat
  2276. Swait()
  2277. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
  2278. if HITFLOOR then
  2279. LANDED = HITFLOOR
  2280. POS = HITPOS
  2281. end
  2282. until LANDED ~= nil
  2283. GYRO:remove()
  2284. Swait(4)
  2285. ManualAoE(RootPart.Position,10,20,50,0,false)
  2286. CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false)
  2287. WACKYEFFECT({EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(20,20,20), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2288. for i = 0, 4 do
  2289. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0.33,0), Size2 = VT(8,0.11,8), Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-10,10), RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2290. end
  2291. for i=0, 0.5, 0.1 / Animation_Speed do
  2292. Swait()
  2293. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  2294. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2295. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2296. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2297. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  2298. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  2299. end
  2300. local AMMO = 0
  2301. repeat
  2302. AMMO = AMMO + 1
  2303. for i=0, 0.1, 0.05 / Animation_Speed do
  2304. Swait()
  2305. turnto(Mouse.Hit.p)
  2306. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  2307. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-75 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2308. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2309. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(179), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2310. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  2311. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  2312. end
  2313. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2314. SpawnTrail(Hole.Position,POS)
  2315. if HIT ~= nil then
  2316. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2317. Banish(HIT.Parent)
  2318. end
  2319. end
  2320. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2321. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2322. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2323. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2324. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2325. for i=0, 0.075, 0.05 / Animation_Speed do
  2326. Swait()
  2327. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  2328. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-85 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2329. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(190), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2330. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(190), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2331. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  2332. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  2333. end
  2334. until AMMO == 5
  2335. ATTACK = false
  2336. Rooted = false
  2337. wait(0.3)
  2338. Cooldown1 = false
  2339. end
  2340. end
  2341.  
  2342. local Cooldown2 = false
  2343.  
  2344. function ManualAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  2345. local CHILDREN = workspace:GetDescendants()
  2346. for index, CHILD in pairs(CHILDREN) do
  2347. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2348. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2349. if HUM then
  2350. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2351. if TORSO then
  2352. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2353. if INSTAKILL == true then
  2354. CHILD:BreakJoints()
  2355. else
  2356. local DMG = MRANDOM(MINDMG,MAXDMG)
  2357. ManualDamage(HUM,DMG,TORSO)
  2358. end
  2359. if FLING > 0 then
  2360. for _, c in pairs(CHILD:GetChildren()) do
  2361. if c:IsA("BasePart") then
  2362. local bv = Instance.new("BodyVelocity")
  2363. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2364. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2365. bv.Parent = c
  2366. Debris:AddItem(bv,0.05)
  2367. end
  2368. end
  2369. end
  2370. end
  2371. end
  2372. end
  2373. end
  2374. end
  2375. end
  2376.  
  2377. function Extreme_Offset()
  2378. local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 1, 0), Mouse.Hit.p - VT(0, 1, 0)).lookVector, 25, Character)
  2379. if HITFLOOR then
  2380. local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  2381. CreateSound("1295446488", Torso, 5, 1)
  2382. for i = 1, 5 do
  2383. WACKYEFFECT({
  2384. Time = MRANDOM(15, 35),
  2385. EffectType = "Round Slash",
  2386. Size = VT(0, 0, 0),
  2387. Size2 = VT(0.3, 0, 0.3),
  2388. Transparency = 0.5,
  2389. Transparency2 = 1,
  2390. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  2391. MoveToPos = nil,
  2392. RotationX = MRANDOM(-50, 50) / 10,
  2393. RotationY = MRANDOM(-50, 50) / 10,
  2394. RotationZ = MRANDOM(-50, 50) / 10,
  2395. Material = "Neon",
  2396. Color = C3(.5,0,.5),
  2397. SoundID = nil,
  2398. SoundPitch = nil,
  2399. SoundVolume = nil
  2400. })
  2401. end
  2402. ATTACK = true
  2403. Rooted = true
  2404. UNANCHOR = false
  2405. RootPart.Anchored = true
  2406. RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  2407. for i = 1, 5 do
  2408. WACKYEFFECT({
  2409. Time = MRANDOM(15, 35),
  2410. EffectType = "Round Slash",
  2411. Size = VT(0, 0, 0),
  2412. Size2 = VT(0.3, 0, 0.3),
  2413. Transparency = 0.5,
  2414. Transparency2 = 1,
  2415. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  2416. MoveToPos = nil,
  2417. RotationX = MRANDOM(-50, 50) / 10,
  2418. RotationY = MRANDOM(-50, 50) / 10,
  2419. RotationZ = MRANDOM(-50, 50) / 10,
  2420. Material = "Neon",
  2421. Color = C3(.5,0,.5),
  2422. SoundID = nil,
  2423. SoundPitch = nil,
  2424. SoundVolume = nil
  2425. })
  2426. end
  2427. for i = 0, 0.2, 0.1 / Animation_Speed do
  2428. Swait()
  2429. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  2430. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2431. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2432. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2433. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2434. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
  2435. end
  2436. for i = 0, 1, 0.1 / Animation_Speed do
  2437. Swait()
  2438. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  2439. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  2440. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  2441. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  2442. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  2443. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  2444. end
  2445. for i = 1, 10 do
  2446. Swait()
  2447. RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  2448. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  2449. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  2450. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  2451. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  2452. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  2453. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  2454. end
  2455. for i = 0, 0.2, 0.1 / Animation_Speed do
  2456. Swait()
  2457. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  2458. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  2459. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2460. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  2461. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  2462. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  2463. end
  2464. local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  2465. if HITFLOOR then
  2466. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  2467. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  2468. for index, CHILD in pairs(CHILDREN) do
  2469. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  2470. for i = 1, 5 do
  2471. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  2472. CHILD:remove()
  2473. end
  2474. end
  2475. end
  2476. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  2477. SOUNDPART.CFrame = CF(HITPOS)
  2478. Debris:AddItem(SOUNDPART, 5)
  2479. CreateSound("130972023", SOUNDPART, 6, 3)
  2480. CreateSound("182765513", SOUNDPART, 6, 1)
  2481. WACKYEFFECT({
  2482. EffectType = "Ring",
  2483. Size = VT(0, 0, 0),
  2484. Size2 = VT(1, 1, 0),
  2485. Transparency = 0.7,
  2486. Transparency2 = 1,
  2487. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  2488. MoveToPos = nil,
  2489. RotationX = 0,
  2490. RotationY = 0,
  2491. RotationZ = 0,
  2492. Material = "Neon",
  2493. Color = C3(.5,0,.5),
  2494. SoundID = nil,
  2495. SoundPitch = nil,
  2496. SoundVolume = nil
  2497. })
  2498. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2499. local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  2500. for index, CHILD in pairs(CHILDREN) do
  2501. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  2502. for i = 1, 5 do
  2503. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  2504. CHILD:remove()
  2505. end
  2506. end
  2507. end
  2508. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  2509. SOUNDPART.CFrame = CF(HITPOS)
  2510. Debris:AddItem(SOUNDPART, 5)
  2511. CreateSound("130972023", SOUNDPART, 6, 3)
  2512. CreateSound("182765513", SOUNDPART, 6, 1)
  2513. WACKYEFFECT({
  2514. EffectType = "Ring",
  2515. Size = VT(0, 0, 0),
  2516. Size2 = VT(1, 1, 0),
  2517. Transparency = 0.7,
  2518. Transparency2 = 1,
  2519. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  2520. MoveToPos = nil,
  2521. RotationX = 0,
  2522. RotationY = 0,
  2523. RotationZ = 0,
  2524. Material = "Neon",
  2525. Color = C3(.5,0,.5),
  2526. SoundID = nil,
  2527. SoundPitch = nil,
  2528. SoundVolume = nil
  2529. })
  2530. elseif HITFLOOR.Anchored == false then
  2531. if HITFLOOR.Parent ~= workspace then
  2532. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  2533. for index, CHILD in pairs(CHILDREN) do
  2534. if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  2535. for i = 1, 5 do
  2536. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  2537. end
  2538. CHILD:remove()
  2539. end
  2540. end
  2541. else
  2542. for i = 1, 5 do
  2543. CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  2544. end
  2545. HITFLOOR:remove()
  2546. end
  2547. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  2548. SOUNDPART.CFrame = CF(HITPOS)
  2549. Debris:AddItem(SOUNDPART, 5)
  2550. CreateSound("130972023", SOUNDPART, 10, 3)
  2551. CreateSound("178452217", SOUNDPART, 6, 1)
  2552. WACKYEFFECT({
  2553. EffectType = "Ring",
  2554. Size = VT(0, 0, 0),
  2555. Size2 = VT(1, 1, 0),
  2556. Transparency = 0.7,
  2557. Transparency2 = 1,
  2558. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  2559. MoveToPos = nil,
  2560. RotationX = 0,
  2561. RotationY = 0,
  2562. RotationZ = 0,
  2563. Material = "Neon",
  2564. Color = C3(.5,0,.5),
  2565. SoundID = nil,
  2566. SoundPitch = nil,
  2567. SoundVolume = nil
  2568. })
  2569. else
  2570. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  2571. SOUNDPART.CFrame = CF(HITPOS)
  2572. Debris:AddItem(SOUNDPART, 5)
  2573. CreateSound("130972023", SOUNDPART, 10, 1)
  2574. CreateSound("130972023", SOUNDPART, 6, 0.7)
  2575. CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  2576. CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  2577. ApplyAoE(HITPOS, 15, 45, 75, 75, false)
  2578. ApplyAoE(HITPOS, 25, 25, 35, 35, false)
  2579. for i = 1, 5 do
  2580. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  2581. end
  2582. for i = 1, 5 do
  2583. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  2584. end
  2585. end
  2586. end
  2587. for i = 0, 1.2, 0.1 / Animation_Speed do
  2588. Swait()
  2589. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  2590. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  2591. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2592. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  2593. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  2594. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  2595. end
  2596. ATTACK = false
  2597. Rooted = false
  2598. UNANCHOR = true
  2599. RootPart.Anchored = false
  2600. end
  2601. end
  2602.  
  2603. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  2604. if FLOOR ~= nil then
  2605. coroutine.resume(coroutine.create(function()
  2606. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  2607. PART.CFrame = CF(POSITION)
  2608. for i = 1, 45 do
  2609. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  2610. RingPiece.Material = FLOOR.Material
  2611. RingPiece.Color = FLOOR.Color
  2612. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  2613. Debris:AddItem(RingPiece, SWAIT)
  2614. end
  2615. PART:remove()
  2616. end))
  2617. end
  2618. end
  2619. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  2620. if FLOOR ~= nil then
  2621. for i = 1, AMOUNT do
  2622. do
  2623. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  2624. DEBREE.Material = FLOOR.Material
  2625. DEBREE.Color = FLOOR.Color
  2626. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  2627. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  2628. coroutine.resume(coroutine.create(function()
  2629. Swait(15)
  2630. DEBREE.Parent = workspace
  2631. DEBREE.CanCollide = true
  2632. Debris:AddItem(DEBREE, SWAIT)
  2633. end))
  2634. end
  2635. end
  2636. end
  2637. end
  2638.  
  2639. function RiftForm()
  2640. ATTACK = true
  2641. Rooted = false
  2642. UNANCHOR = false
  2643. RootPart.Anchored = true
  2644. for i=0, 5, 0.1 / Animation_Speed do
  2645. Swait()
  2646. RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0)
  2647. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2648. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2649. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2650. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2651. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  2652. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  2653. end
  2654. CreateSound("1368598393", Effects, 10, 1)
  2655. for i=0, 2, 0.1 / Animation_Speed do
  2656. Swait()
  2657. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2658. MagicSphere3(VT(0,0,0),15,CFRAME,"Royal purple",VT(0.1,0.1,5))
  2659. MagicSphere3(VT(0.1,0.1,0.1),15,CFRAME,"Royal purple",VT(0.1,0.1,5))
  2660. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2661. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2662. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2663. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2664. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2665. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2666. end
  2667. CreateSound("1368583274", Effects, 10, 1)
  2668. for i=0, 6, 0.1 / Animation_Speed do
  2669. Swait()
  2670. CreateRing2(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-1,0,0))
  2671. CreateRing2(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-1,0,0)*3)
  2672. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2673. MagicSphere3(VT(0,0,0),15,CFRAME,"Royal purple",VT(0.1,0.1,55))
  2674. MagicSphere3(VT(0,0,0),15,CFRAME,"Royal purple",VT(2,2,2))
  2675. MagicSphere3(VT(0.1,0.1,0.1),15,CFRAME,"Royal Purple",VT(0.1,0.1,55))
  2676. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2677. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2678. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2679. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2680. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2681. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2682. end
  2683. CreateSound("907329532", Effects, 10, 0.9)
  2684. Swait(175)
  2685. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Royal purple",VT(7,7,0))
  2686. CreateSound("1368605755", Effects, 10, 1)
  2687. CreateSound("1368637781", Effects, 10, 1)
  2688. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Royal purple",VT(5,5,5))
  2689. for i=0, 1, 0.1 / Animation_Speed do
  2690. CreateRing2(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Royal purple",VT(4,4,0))
  2691. CreateRing2(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Royal purple",VT(5,5,0))
  2692. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2693. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2694. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2695. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2696. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  2697. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  2698. end
  2699. UNANCHOR = true
  2700. RootPart.Anchored = false
  2701. ATTACK = false
  2702. Rooted = false
  2703. end
  2704.  
  2705. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  2706. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  2707. local mesh = IT("SpecialMesh",wave)
  2708. mesh.MeshType = "FileMesh"
  2709. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2710. mesh.Scale = SIZE
  2711. mesh.Offset = VT(0,0,0)
  2712. wave.CFrame = CFRAME
  2713. coroutine.resume(coroutine.create(function(PART)
  2714. for i = 1, WAIT do
  2715. Swait()
  2716. mesh.Scale = mesh.Scale + GROW
  2717. if DOESROT == true then
  2718. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2719. end
  2720. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2721. if wave.Transparency > 0.99 then
  2722. wave:remove()
  2723. end
  2724. end
  2725. end))
  2726. end
  2727.  
  2728. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  2729. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  2730. local mesh = IT("SpecialMesh",wave)
  2731. mesh.MeshType = "Sphere"
  2732. mesh.Scale = SIZE
  2733. mesh.Offset = VT(0,0,0)
  2734. wave.CFrame = CFRAME
  2735. coroutine.resume(coroutine.create(function(PART)
  2736. for i = 1, WAIT do
  2737. Swait()
  2738. mesh.Scale = mesh.Scale + GROW
  2739. wave.Transparency = wave.Transparency + (1/WAIT)
  2740. if wave.Transparency > 0.99 then
  2741. wave:remove()
  2742. end
  2743. end
  2744. end))
  2745. end
  2746.  
  2747. local lightning = Instance.new("ParticleEmitter",Torso)
  2748. lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
  2749. lightning.LightEmission = 0
  2750. lightning.Color = ColorSequence.new(Color3.new(5,0,.5),Color3.new(0,0,0))
  2751. lightning.LockedToPart = true
  2752. lightning.Rate = 20
  2753. lightning.Lifetime = NumberRange.new(0.1,0.10)
  2754. lightning.Rotation = NumberRange.new(0,360)
  2755. lightning.Size = NumberSequence.new(3,3,3)
  2756. lightning.Transparency = NumberSequence.new(0,0)
  2757. lightning.Speed = NumberRange.new(0,0)
  2758. lightning.RotSpeed = NumberRange.new(0,0)
  2759. lightning.ZOffset = 5
  2760. lightning.Parent = Character.Torso
  2761. lightning.Enabled = false
  2762.  
  2763. Player=game:GetService('Players').LocalPlayer
  2764. Character=Player.Character
  2765. Mouse=Player:GetMouse()
  2766. m=Instance.new('Model',Character)
  2767. local function weldBetween(a, b)
  2768. local weldd = Instance.new("ManualWeld")
  2769. weldd.Part0 = a
  2770. weldd.Part1 = b
  2771. weldd.C0 = CFrame.new()
  2772. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2773. weldd.Parent = a
  2774. return weldd
  2775. end
  2776.  
  2777. it=Instance.new
  2778.  
  2779. function nooutline(part)
  2780. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  2781. end
  2782.  
  2783. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  2784. local fp=it("Part")
  2785. fp.formFactor=formfactor
  2786. fp.Parent=parent
  2787. fp.Reflectance=reflectance
  2788. fp.Transparency=transparency
  2789. fp.CanCollide=false
  2790. fp.Locked=true
  2791. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  2792. fp.Name=name
  2793. fp.Size=size
  2794. fp.Position=Character.Torso.Position
  2795. nooutline(fp)
  2796. fp.Material=material
  2797. fp:BreakJoints()
  2798. return fp
  2799. end
  2800.  
  2801. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2802. local mesh=it(Mesh)
  2803. mesh.Parent=part
  2804. if Mesh=="SpecialMesh" then
  2805. mesh.MeshType=meshtype
  2806. mesh.MeshId=meshid
  2807. end
  2808. mesh.Offset=offset
  2809. mesh.Scale=scale
  2810. return mesh
  2811. end
  2812.  
  2813. function weld(parent,part0,part1,c0,c1)
  2814. local weld=it("Weld")
  2815. weld.Parent=parent
  2816. weld.Part0=part0
  2817. weld.Part1=part1
  2818. weld.C0=c0
  2819. weld.C1=c1
  2820. return weld
  2821. end
  2822.  
  2823. local eeeffecto = Instance.new("ParticleEmitter",Torso)
  2824. eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
  2825. eeeffecto.LightEmission = 0
  2826. eeeffecto.Color = ColorSequence.new(Color3.new(5,0,.5),Color3.new(0,0,0))
  2827. eeeffecto.LockedToPart = true
  2828. eeeffecto.Rate = 10
  2829. eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
  2830. eeeffecto.Rotation = NumberRange.new(0,0)
  2831. eeeffecto.Size = NumberSequence.new(9,9,9)
  2832. eeeffecto.Transparency = NumberSequence.new(0,0)
  2833. eeeffecto.Speed = NumberRange.new(0,0)
  2834. eeeffecto.RotSpeed = NumberRange.new(0,0)
  2835. eeeffecto.Parent = Character.Torso
  2836. eeeffecto.Enabled = false
  2837.  
  2838. --//=================================\\
  2839. --|| ASSIGN THINGS TO KEYS
  2840. --\\=================================//
  2841.  
  2842. function MouseDown(Mouse)
  2843. if ATTACK == false then
  2844. end
  2845. end
  2846.  
  2847. function MouseUp(Mouse)
  2848. HOLD = false
  2849. end
  2850.  
  2851. function KeyDown(Key)
  2852. KEYHOLD = true
  2853. if Key == "l" and ATTACK == false then
  2854. RiftForm()
  2855. lightning.Enabled = true
  2856. eeeffecto.Enabled = true
  2857. SKILL4TEXT:remove()
  2858. SKILL3TEXT:remove()
  2859. SKILL2TEXT:remove()
  2860. SKILL1TEXT:remove()
  2861.  
  2862. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
  2863. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
  2864. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
  2865. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
  2866. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
  2867. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
  2868. RiftWorld()
  2869. s:stop()
  2870. local s = Instance.new("Sound",char)
  2871. s.Name = "BGMusic"
  2872. s.SoundId = "rbxassetid://1439600000"
  2873. s.Pitch = 1.00
  2874. s.Volume = 40
  2875. s.Looped = true
  2876. s.archivable = false
  2877. s.Parent = char.Head
  2878. wait(0.1)
  2879. s:play()
  2880. end
  2881.  
  2882. if Key == "z" and ATTACK == false then
  2883. Shot()
  2884. end
  2885.  
  2886. if Key == "x" and ATTACK == false then
  2887. Neck_Snap()
  2888. end
  2889.  
  2890. if Key == "c" and ATTACK == false then
  2891. ShadowCloak()
  2892. end
  2893.  
  2894. if Key == "v" and ATTACK == false then
  2895. BulletRoller()
  2896. end
  2897.  
  2898. if Key == "b" and ATTACK == false then
  2899. Extreme_Offset()
  2900. end
  2901. end
  2902.  
  2903. function KeyUp(Key)
  2904. KEYHOLD = false
  2905. end
  2906.  
  2907. Mouse.Button1Down:connect(function(NEWKEY)
  2908. MouseDown(NEWKEY)
  2909. end)
  2910. Mouse.Button1Up:connect(function(NEWKEY)
  2911. MouseUp(NEWKEY)
  2912. end)
  2913. Mouse.KeyDown:connect(function(NEWKEY)
  2914. KeyDown(NEWKEY)
  2915. end)
  2916. Mouse.KeyUp:connect(function(NEWKEY)
  2917. KeyUp(NEWKEY)
  2918. end)
  2919.  
  2920. --//=================================\\
  2921. --\\=================================//
  2922.  
  2923.  
  2924. function unanchor()
  2925. if UNANCHOR == true then
  2926. g = Character:GetChildren()
  2927. for i = 1, #g do
  2928. if g[i].ClassName == "Part" then
  2929. g[i].Anchored = false
  2930. end
  2931. end
  2932. end
  2933. end
  2934.  
  2935.  
  2936. --//=================================\\
  2937. --|| WRAP THE WHOLE SCRIPT UP
  2938. --\\=================================//
  2939.  
  2940. Humanoid.Changed:connect(function(Jump)
  2941. if Jump == "Jump" and (Disable_Jump == true) then
  2942. Humanoid.Jump = false
  2943. end
  2944. end)
  2945.  
  2946.  
  2947.  
  2948. local CONNECT = nil
  2949.  
  2950. while true do
  2951. Swait()
  2952. ANIMATE.Parent = nil
  2953. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2954. Humanoid = IT("Humanoid",Character)
  2955. end
  2956. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2957. v:Stop();
  2958. end
  2959. SINE = SINE + CHANGE
  2960. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2961. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2962. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2963. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2964. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2965. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2966. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2967. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2968. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2969. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2970. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2971. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2972. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2973. end
  2974. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2975. ANIM = "Jump"
  2976. if ATTACK == false then
  2977. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2978. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2979. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2980. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2981. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2982. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) end
  2983. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2984. ANIM = "Fall"
  2985. if ATTACK == false then
  2986. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2987. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2988. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2989. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2990. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2991. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2992. end
  2993. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2994. ANIM = "Idle"
  2995. if ATTACK == false then
  2996. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(41), RAD(0)), 0.25 / Animation_Speed)
  2997. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2998. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2999. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3000. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3001. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3002. elseif MODE == "Ds" then
  3003. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  3004. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3005. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3006. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3007. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3008. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3009. end
  3010. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3011. ANIM = "Walk"
  3012. if ATTACK == false then
  3013. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3014. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-Speed/3 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3015. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3016. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3017. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3018. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3019. end
  3020. end
  3021. unanchor()
  3022. SKILL2FRAME.Rotation = MRANDOM(-5,5)/2
  3023. Humanoid.MaxHealth = "inf"
  3024. Humanoid.Health = "inf"
  3025. if Rooted == false then
  3026. Disable_Jump = false
  3027. Humanoid.WalkSpeed = Speed
  3028. elseif Rooted == true then
  3029. Disable_Jump = true
  3030. Humanoid.WalkSpeed = 0
  3031. end
  3032. sick.Parent = Torso
  3033. sick:resume()
  3034. sick.Volume = 5
  3035. sick.Pitch = 1.0
  3036. sick.SoundId = "rbxassetid://1439600000"
  3037. sick.Name = "BanishV3Music"
  3038. end
  3039.  
  3040.  
  3041.  
  3042. --//=================================\\
  3043. --\\=================================//
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049. --//====================================================\\--
  3050. --|| END OF SCRIPT
  3051. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement