Advertisement
yabagaba

Untitled

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