Advertisement
Mr_Scripter

Fallen Soul

Jun 21st, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 87.68 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER | Edited by Gamer ||--
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. Character.Archivable = true
  28.  
  29. IT = Instance.new
  30. CF = CFrame.new
  31. VT = Vector3.new
  32. RAD = math.rad
  33. C3 = Color3.new
  34. UD2 = UDim2.new
  35. BRICKC = BrickColor.new
  36. ANGLES = CFrame.Angles
  37. EULER = CFrame.fromEulerAnglesXYZ
  38. COS = math.cos
  39. ACOS = math.acos
  40. SIN = math.sin
  41. ASIN = math.asin
  42. ABS = math.abs
  43. MRANDOM = math.random
  44. FLOOR = math.floor
  45.  
  46. --//=================================\\
  47. --|| USEFUL VALUES
  48. --\\=================================//
  49.  
  50. local LIGHTHITSOUNDS = {"1177780949","1177781153","1177784554"}
  51. Animation_Speed = 2.8
  52. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  53. local Speed = 20
  54. local SIZE = 1
  55. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  56. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  57. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  58. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  59. local DAMAGEMULTIPLIER = 1
  60. local ANIM = "Idle"
  61. local ATTACK = false
  62. local EQUIPPED = false
  63. local HOLD = false
  64. local COMBO = 1
  65. local Rooted = false
  66. local SINE = 0
  67. local KEYHOLD = false
  68. local CHANGE = 2 / Animation_Speed
  69. local WALKINGANIM = false
  70. local VALUE1 = false
  71. local VALUE2 = false
  72. local ROBLOXIDLEANIMATION = IT("Animation")
  73. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  74. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  75. local ATANIM = IT("Animation")
  76. ATANIM.Name = "Attack Animation"
  77. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  78. --ROBLOXIDLEANIMATION.Parent = Humanoid
  79. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  80. WEAPONGUI.Name = "Weapon GUI"
  81. local Weapon = IT("Model")
  82. Weapon.Name = "Adds"
  83. local Effects = IT("Folder", Weapon)
  84. Effects.Name = "Effects"
  85. local ANIMATOR = Humanoid.Animator
  86. local ANIMATE = Character.Animate
  87. local UNANCHOR = true
  88. local CLOCKLOOP = 0
  89. local SONG = 0
  90. local CLOCKTARGET = nil
  91. local CLOCKSPEED = 1
  92. script.Parent = WEAPONGUI
  93. local CLONE = Character:Clone()
  94. CLONE.Parent = nil
  95. Character.Archivable = false
  96. local sick = Instance.new("Sound",Torso)
  97. local HITFLOOR = nil
  98. Player_Size = 1
  99. local Effects2 = {}
  100. local MUTE = true
  101.  
  102. --//=================================\\
  103. --\\=================================//
  104.  
  105.  
  106. --//=================================\\
  107. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  108. --\\=================================//
  109.  
  110. --\WARNING LAG/---
  111.  
  112. ArtificialHB = Instance.new("BindableEvent", script)
  113. ArtificialHB.Name = "ArtificialHB"
  114.  
  115. script:WaitForChild("ArtificialHB")
  116.  
  117. frame = Frame_Speed
  118. tf = 0
  119. allowframeloss = false
  120. tossremainder = false
  121. lastframe = tick()
  122. script.ArtificialHB:Fire()
  123.  
  124. game:GetService("RunService").Heartbeat:connect(function(s, p)
  125. tf = tf + s
  126. if tf >= frame then
  127. if allowframeloss then
  128. script.ArtificialHB:Fire()
  129. lastframe = tick()
  130. else
  131. for i = 1, math.floor(tf / frame) do
  132. script.ArtificialHB:Fire()
  133. end
  134. lastframe = tick()
  135. end
  136. if tossremainder then
  137. tf = 0
  138. else
  139. tf = tf - frame * math.floor(tf / frame)
  140. end
  141. end
  142. end)
  143.  
  144. --//=================================\\
  145. --\\=================================//
  146.  
  147. --//=================================\\
  148. --|| SOME FUNCTIONS
  149. --\\=================================//
  150.  
  151. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  152. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  153. end
  154.  
  155. function PositiveAngle(NUMBER)
  156. if NUMBER >= 0 then
  157. NUMBER = 0
  158. end
  159. return NUMBER
  160. end
  161.  
  162. function NegativeAngle(NUMBER)
  163. if NUMBER <= 0 then
  164. NUMBER = 0
  165. end
  166. return NUMBER
  167. end
  168.  
  169. function Swait(NUMBER)
  170. if NUMBER == 0 or NUMBER == nil then
  171. ArtificialHB.Event:wait()
  172. else
  173. for i = 1, NUMBER do
  174. ArtificialHB.Event:wait()
  175. end
  176. end
  177. end
  178.  
  179. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  180. local NEWMESH = IT(MESH)
  181. if MESH == "SpecialMesh" then
  182. NEWMESH.MeshType = MESHTYPE
  183. if MESHID ~= "nil" and MESHID ~= "" then
  184. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  185. end
  186. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  187. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  188. end
  189. end
  190. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  191. NEWMESH.Scale = SCALE
  192. NEWMESH.Parent = PARENT
  193. return NEWMESH
  194. end
  195.  
  196. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  197. local NEWPART = IT("Part")
  198. NEWPART.formFactor = FORMFACTOR
  199. NEWPART.Reflectance = REFLECTANCE
  200. NEWPART.Transparency = TRANSPARENCY
  201. NEWPART.CanCollide = false
  202. NEWPART.Locked = true
  203. NEWPART.Anchored = true
  204. if ANCHOR == false then
  205. NEWPART.Anchored = false
  206. end
  207. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  208. NEWPART.Name = NAME
  209. NEWPART.Size = SIZE
  210. NEWPART.Position = Torso.Position
  211. NEWPART.Material = MATERIAL
  212. NEWPART:BreakJoints()
  213. NEWPART.Parent = PARENT
  214. return NEWPART
  215. end
  216.  
  217. local function weldBetween(a, b)
  218. local weldd = Instance.new("ManualWeld")
  219. weldd.Part0 = a
  220. weldd.Part1 = b
  221. weldd.C0 = CFrame.new()
  222. weldd.C1 = b.CFrame:inverse() * a.CFrame
  223. weldd.Parent = a
  224. return weldd
  225. end
  226.  
  227.  
  228. function QuaternionFromCFrame(cf)
  229. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  230. local trace = m00 + m11 + m22
  231. if trace > 0 then
  232. local s = math.sqrt(1 + trace)
  233. local recip = 0.5 / s
  234. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  235. else
  236. local i = 0
  237. if m11 > m00 then
  238. i = 1
  239. end
  240. if m22 > (i == 0 and m00 or m11) then
  241. i = 2
  242. end
  243. if i == 0 then
  244. local s = math.sqrt(m00 - m11 - m22 + 1)
  245. local recip = 0.5 / s
  246. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  247. elseif i == 1 then
  248. local s = math.sqrt(m11 - m22 - m00 + 1)
  249. local recip = 0.5 / s
  250. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  251. elseif i == 2 then
  252. local s = math.sqrt(m22 - m00 - m11 + 1)
  253. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  254. end
  255. end
  256. end
  257.  
  258. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  259. local xs, ys, zs = x + x, y + y, z + z
  260. local wx, wy, wz = w * xs, w * ys, w * zs
  261. local xx = x * xs
  262. local xy = x * ys
  263. local xz = x * zs
  264. local yy = y * ys
  265. local yz = y * zs
  266. local zz = z * zs
  267. 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))
  268. end
  269.  
  270. function QuaternionSlerp(a, b, t)
  271. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  272. local startInterp, finishInterp;
  273. if cosTheta >= 0.0001 then
  274. if (1 - cosTheta) > 0.0001 then
  275. local theta = ACOS(cosTheta)
  276. local invSinTheta = 1 / SIN(theta)
  277. startInterp = SIN((1 - t) * theta) * invSinTheta
  278. finishInterp = SIN(t * theta) * invSinTheta
  279. else
  280. startInterp = 1 - t
  281. finishInterp = t
  282. end
  283. else
  284. if (1 + cosTheta) > 0.0001 then
  285. local theta = ACOS(-cosTheta)
  286. local invSinTheta = 1 / SIN(theta)
  287. startInterp = SIN((t - 1) * theta) * invSinTheta
  288. finishInterp = SIN(t * theta) * invSinTheta
  289. else
  290. startInterp = t - 1
  291. finishInterp = t
  292. end
  293. end
  294. 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
  295. end
  296.  
  297. function Clerp(a, b, t)
  298. local qa = {QuaternionFromCFrame(a)}
  299. local qb = {QuaternionFromCFrame(b)}
  300. local ax, ay, az = a.x, a.y, a.z
  301. local bx, by, bz = b.x, b.y, b.z
  302. local _t = 1 - t
  303. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  304. end
  305.  
  306. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  307. local frame = IT("Frame")
  308. frame.BackgroundTransparency = TRANSPARENCY
  309. frame.BorderSizePixel = BORDERSIZEPIXEL
  310. frame.Position = POSITION
  311. frame.Size = SIZE
  312. frame.BackgroundColor3 = COLOR
  313. frame.BorderColor3 = BORDERCOLOR
  314. frame.Name = NAME
  315. frame.Parent = PARENT
  316. return frame
  317. end
  318.  
  319. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  320. local label = IT("TextLabel")
  321. label.BackgroundTransparency = 1
  322. label.Size = UD2(1, 0, 1, 0)
  323. label.Position = UD2(0, 0, 0, 0)
  324. label.TextColor3 = TEXTCOLOR
  325. label.TextStrokeTransparency = STROKETRANSPARENCY
  326. label.TextTransparency = TRANSPARENCY
  327. label.FontSize = TEXTFONTSIZE
  328. label.Font = TEXTFONT
  329. label.BorderSizePixel = BORDERSIZEPIXEL
  330. label.TextStrokeColor3 = C3(1,1,1)
  331. label.TextScaled = false
  332. label.Text = TEXT
  333. label.Name = NAME
  334. label.Parent = PARENT
  335. return label
  336. end
  337.  
  338. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  339. if FLOOR ~= nil then
  340. coroutine.resume(coroutine.create(function()
  341. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  342. PART.CFrame = CF(POSITION)
  343. for i = 1, 45 do
  344. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  345. RingPiece.Material = FLOOR.Material
  346. RingPiece.Color = FLOOR.Color
  347. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  348. Debris:AddItem(RingPiece,SWAIT)
  349. end
  350. PART:remove()
  351. end))
  352. end
  353. end
  354.  
  355. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  356. if FLOOR ~= nil then
  357. for i = 1, AMOUNT do
  358. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  359. DEBREE.Material = FLOOR.Material
  360. DEBREE.Color = FLOOR.Color
  361. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  362. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  363. coroutine.resume(coroutine.create(function()
  364. Swait(15)
  365. DEBREE.Parent = workspace
  366. DEBREE.CanCollide = true
  367. Debris:AddItem(DEBREE,SWAIT)
  368. end))
  369. end
  370. end
  371. end
  372.  
  373. function SpawnSmite(POS)
  374. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  375. local EMITPOS = HITPOS
  376. if HITFLOOR ~= nil then
  377. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  378. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  379. EMITPOS = HITPOS
  380. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  381. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  382. EMITPOS = HITPOS
  383. end
  384. end
  385. if HITFLOOR ~= nil then
  386. ApplyAoE(EMITPOS,10)
  387. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  388. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  389. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  390. for i = 1, 5 do
  391. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  392. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  393. end
  394. end
  395. end
  396.  
  397. function NoOutlines(PART)
  398. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  399. end
  400.  
  401. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  402. local NEWWELD = IT(TYPE)
  403. NEWWELD.Part0 = PART0
  404. NEWWELD.Part1 = PART1
  405. NEWWELD.C0 = C0
  406. NEWWELD.C1 = C1
  407. NEWWELD.Parent = PARENT
  408. return NEWWELD
  409. end
  410.  
  411. local S = IT("Sound")
  412. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  413. local NEWSOUND = nil
  414. coroutine.resume(coroutine.create(function()
  415. NEWSOUND = S:Clone()
  416. NEWSOUND.Parent = PARENT
  417. NEWSOUND.Volume = VOLUME
  418. NEWSOUND.Pitch = PITCH
  419. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  420. NEWSOUND:play()
  421. if DOESLOOP == true then
  422. NEWSOUND.Looped = true
  423. else
  424. repeat wait(1) until NEWSOUND.Playing == false
  425. NEWSOUND:remove()
  426. end
  427. end))
  428. return NEWSOUND
  429. end
  430.  
  431. function CFrameFromTopBack(at, top, back)
  432. local right = top:Cross(back)
  433. 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)
  434. end
  435.  
  436. --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})
  437. function WACKYEFFECT(Table)
  438. local TYPE = (Table.EffectType or "Sphere")
  439. local SIZE = (Table.Size or VT(1,1,1))
  440. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  441. local TRANSPARENCY = (Table.Transparency or 0)
  442. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  443. local CFRAME = (Table.CFrame or Torso.CFrame)
  444. local MOVEDIRECTION = (Table.MoveToPos or nil)
  445. local ROTATION1 = (Table.RotationX or 0)
  446. local ROTATION2 = (Table.RotationY or 0)
  447. local ROTATION3 = (Table.RotationZ or 0)
  448. local MATERIAL = (Table.Material or "Neon")
  449. local COLOR = (Table.Color or C3(1,1,1))
  450. local TIME = (Table.Time or 45)
  451. local SOUNDID = (Table.SoundID or nil)
  452. local SOUNDPITCH = (Table.SoundPitch or nil)
  453. local SOUNDVOLUME = (Table.SoundVolume or nil)
  454. coroutine.resume(coroutine.create(function()
  455. local PLAYSSOUND = false
  456. local SOUND = nil
  457. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  458. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  459. PLAYSSOUND = true
  460. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  461. end
  462. EFFECT.Color = COLOR
  463. local MSH = nil
  464. if TYPE == "Sphere" then
  465. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  466. elseif TYPE == "Block" then
  467. MSH = IT("BlockMesh",EFFECT)
  468. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  469. elseif TYPE == "Wave" then
  470. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  471. elseif TYPE == "Ring" then
  472. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  473. elseif TYPE == "Slash" then
  474. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  475. elseif TYPE == "Round Slash" then
  476. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  477. elseif TYPE == "Swirl" then
  478. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  479. elseif TYPE == "Skull" then
  480. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  481. elseif TYPE == "Crystal" then
  482. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  483. end
  484. if MSH ~= nil then
  485. local MOVESPEED = nil
  486. if MOVEDIRECTION ~= nil then
  487. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  488. end
  489. local GROWTH = SIZE - ENDSIZE
  490. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  491. if TYPE == "Block" then
  492. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  493. else
  494. EFFECT.CFrame = CFRAME
  495. end
  496. for LOOP = 1, TIME+1 do
  497. Swait()
  498. MSH.Scale = MSH.Scale - GROWTH/TIME
  499. if TYPE == "Wave" then
  500. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  501. end
  502. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  503. if TYPE == "Block" then
  504. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  505. else
  506. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  507. end
  508. if MOVEDIRECTION ~= nil then
  509. local ORI = EFFECT.Orientation
  510. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  511. EFFECT.Orientation = ORI
  512. end
  513. end
  514. if PLAYSSOUND == false then
  515. EFFECT:remove()
  516. else
  517. repeat Swait() until SOUND.Playing == false
  518. EFFECT:remove()
  519. end
  520. else
  521. if PLAYSSOUND == false then
  522. EFFECT:remove()
  523. else
  524. repeat Swait() until SOUND.Playing == false
  525. EFFECT:remove()
  526. end
  527. end
  528. end))
  529. end
  530.  
  531. function MakeForm(PART,TYPE)
  532. if TYPE == "Cyl" then
  533. local MSH = IT("CylinderMesh",PART)
  534. elseif TYPE == "Ball" then
  535. local MSH = IT("SpecialMesh",PART)
  536. MSH.MeshType = "Sphere"
  537. elseif TYPE == "Wedge" then
  538. local MSH = IT("SpecialMesh",PART)
  539. MSH.MeshType = "Wedge"
  540. end
  541. end
  542.  
  543. Debris = game:GetService("Debris")
  544.  
  545. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  546. local DIRECTION = CF(StartPos,EndPos).lookVector
  547. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  548. end
  549.  
  550. function turnto(position)
  551. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  552. end
  553.  
  554. --//=================================\\
  555. --|| WEAPON CREATION
  556. --\\=================================//
  557.  
  558. LeftArm.BrickColor = BrickColor.new("Really black")
  559. RightArm.BrickColor = BrickColor.new("Really black")
  560. Head.BrickColor = BrickColor.new("Dark stone grey")
  561. Torso.BrickColor = BrickColor.new("Really black")
  562. LeftLeg.BrickColor = BrickColor.new("Really black")
  563. RightLeg.BrickColor = BrickColor.new("Really black")
  564.  
  565. local Hair = Instance.new("Part")
  566. Hair.Parent = Character
  567. Hair.Name = "BOI"
  568. Hair.Size = Vector3.new(0.2, 0.2, 0.2)
  569. Hair.CFrame = Character.Head.CFrame
  570. Hair:BreakJoints()
  571. Hair.CanCollide = false
  572. Hair.BrickColor = BrickColor.new("New Yeller")
  573. Hair.TopSurface = "Smooth"
  574. Hair.BottomSurface = "Smooth"
  575. Weld = Instance.new("Weld")
  576. Weld.Name = "Weld"
  577. Weld.Part0 = Character.Head
  578. Weld.Part1 = Hair
  579. Weld.Parent = Character.Head
  580. Weld.C0 = CFrame.new(0, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  581. Mesh = Instance.new("SpecialMesh")
  582. Mesh.Parent = Hair
  583. Mesh.MeshId = "http://www.roblox.com/asset/?id=16627529"
  584. Mesh.TextureId = "http://www.roblox.com/asset/?id=17877254"
  585. Mesh.Scale = Vector3.new(1, 1, 1)
  586.  
  587. New = function(Object, Parent, Name, Data)
  588. local Object = Instance.new(Object)
  589. for Index, Value in pairs(Data or {}) do
  590. Object[Index] = Value
  591. end
  592. Object.Parent = Parent
  593. Object.Name = Name
  594. return Object
  595. end
  596.  
  597. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  598. local acs = Instance.new("Part")
  599. acs.CanCollide = false
  600. acs.Anchored = false
  601. acs.Size = Vector3.new(0,0,0)
  602. acs.CFrame = attachmentpart.CFrame
  603. acs.Parent = Character
  604. acs.BrickColor = color
  605. local meshs = Instance.new("SpecialMesh")
  606. meshs.MeshId = mesh
  607. meshs.TextureId = texture
  608. meshs.Parent = acs
  609. meshs.Scale = scale
  610. meshs.Offset = offset
  611. weldBetween(attachmentpart,acs)
  612. end
  613.  
  614. createaccessory(Head,"rbxassetid://151313536","rbxassetid://188595215",VT(2.5,2.5,2.5),VT(0, 0.7, 0.2),BRICKC"Really black")
  615.  
  616. CyborgArm = New("Model",Character,"CyborgArm",{})
  617. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.429999948, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.369171, 2.89115906, 41.8271637, 0.505694926, -0.862284958, 0.0271573812, 0.862490892, 0.506027818, 0.0067293453, -0.019545, 0.0200200025, 0.999608755),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  618. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.505694926, 0.862490892, -0.0195449982, -0.862284899, 0.506027818, 0.0200199969, 0.0271573793, 0.00672934437, 0.999608576),C1 = CFrame.new(0.0136108398, -0.108844995, -0.0342674255, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  619. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.268127, 3.26462603, 41.8218994, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  620. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(-0.0874328613, 0.264621973, -0.028968811, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  621. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.3000018, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.217133, 3.61339307, 41.8189926, 0.778245091, -0.627379835, 0.0270029604, 0.627452075, 0.778625846, 0.00676273741, -0.0252680089, 0.0116800005, 0.999612689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  622. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.778245091, 0.627452075, -0.0252680033, -0.627379835, 0.778625846, 0.0116799958, 0.0270029567, 0.00676273648, 0.99961251),C1 = CFrame.new(-0.138427734, 0.613389015, -0.0260467529, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  623. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 1),CFrame = CFrame.new(-138.395523, 2.38962889, 41.7660217, -0.00574199716, -0.999983609, 1.77533366e-09, 0.999983549, -0.00574199716, 9.3131769e-10, 9.41781764e-10, 1.77533366e-09, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  624. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, -0.00574199716, 0.999983549, 0, -0.999983549, -0.00574199716, 0, 0, 0, 1),C1 = CFrame.new(0.0399932861, -0.610375166, 0.0268669128, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  625. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 0.2900002),CFrame = CFrame.new(-138.540939, 3.80931711, 41.9832687, 2.29982252e-05, -0.999983609, -0.00574393803, -0.00452899979, -0.00574398367, 0.999973238, -0.999989927, 3.01669934e-06, -0.00452905567),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  626. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 2.29999951e-05, -0.00452899886, -0.999989748, -0.999983549, -0.00574398367, 3.01490991e-06, -0.00574393803, 0.999973238, -0.00452905614),C1 = CFrame.new(0.185333252, 0.809313059, -0.190429688, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  627. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C1 = CFrame.new(0.207519531, 0.740064859, -0.0209579468, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  628. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.799999833),CFrame = CFrame.new(-138.557587, 3.57138705, 41.9535294, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  629. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.20199585, 0.571382999, -0.160697937, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  630. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.0899999291),CFrame = CFrame.new(-138.548004, 3.20288205, 42.3108978, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  631. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.19229126, 0.202877998, -0.518062592, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  632. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.390001893, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.031433, 3.68374205, 41.8135147, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  633. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(-0.324111938, 0.683737993, -0.0205078125, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  634. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.2800017, 0.100000001, 0.690000117),CFrame = CFrame.new(-138.393951, 2.11307812, 42.0131454, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  635. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(0.0383300781, -0.886925936, -0.220256805, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  636. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.452835, 2.48128104, 41.8321991, -0.223359078, -0.974358141, 0.027149044, 0.974736214, -0.223258108, 0.00673288852, -0.000498998852, 0.0279670097, 0.999608934),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  637. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, -0.223359063, 0.974736214, -0.000499000133, -0.974358141, -0.223258108, 0.0279670041, 0.0271490421, 0.00673288759, 0.999608755),C1 = CFrame.new(0.0972747803, -0.518723011, -0.0393295288, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  638. --------------------
  639. CyborgArm = New("Model",Character,"CyborgArm",{})
  640. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.429999948, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.369171, 2.89115906, 41.8271637, 0.505694926, -0.862284958, 0.0271573812, 0.862490892, 0.506027818, 0.0067293453, -0.019545, 0.0200200025, 0.999608755),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  641. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.505694926, 0.862490892, -0.0195449982, -0.862284899, 0.506027818, 0.0200199969, 0.0271573793, 0.00672934437, 0.999608576),C1 = CFrame.new(0.0136108398, -0.108844995, -0.0342674255, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  642. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.268127, 3.26462603, 41.8218994, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  643. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(-0.0874328613, 0.264621973, -0.028968811, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  644. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.3000018, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.217133, 3.61339307, 41.8189926, 0.778245091, -0.627379835, 0.0270029604, 0.627452075, 0.778625846, 0.00676273741, -0.0252680089, 0.0116800005, 0.999612689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  645. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.778245091, 0.627452075, -0.0252680033, -0.627379835, 0.778625846, 0.0116799958, 0.0270029567, 0.00676273648, 0.99961251),C1 = CFrame.new(-0.138427734, 0.613389015, -0.0260467529, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  646. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 1),CFrame = CFrame.new(-138.395523, 2.38962889, 41.7660217, -0.00574199716, -0.999983609, 1.77533366e-09, 0.999983549, -0.00574199716, 9.3131769e-10, 9.41781764e-10, 1.77533366e-09, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  647. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.00574199716, 0.999983549, 0, -0.999983549, -0.00574199716, 0, 0, 0, 1),C1 = CFrame.new(0.0399932861, -0.610375166, 0.0268669128, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  648. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 0.2900002),CFrame = CFrame.new(-138.540939, 3.80931711, 41.9832687, 2.29982252e-05, -0.999983609, -0.00574393803, -0.00452899979, -0.00574398367, 0.999973238, -0.999989927, 3.01669934e-06, -0.00452905567),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  649. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 2.29999951e-05, -0.00452899886, -0.999989748, -0.999983549, -0.00574398367, 3.01490991e-06, -0.00574393803, 0.999973238, -0.00452905614),C1 = CFrame.new(0.185333252, 0.809313059, -0.190429688, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  650. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C1 = CFrame.new(0.207519531, 0.740064859, -0.0209579468, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  651. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.799999833),CFrame = CFrame.new(-138.557587, 3.57138705, 41.9535294, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  652. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.20199585, 0.571382999, -0.160697937, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  653. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.0899999291),CFrame = CFrame.new(-138.548004, 3.20288205, 42.3108978, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  654. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.19229126, 0.202877998, -0.518062592, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  655. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.390001893, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.031433, 3.68374205, 41.8135147, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  656. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(-0.324111938, 0.683737993, -0.0205078125, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  657. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.2800017, 0.100000001, 0.690000117),CFrame = CFrame.new(-138.393951, 2.11307812, 42.0131454, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  658. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(0.0383300781, -0.886925936, -0.220256805, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  659. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.452835, 2.48128104, 41.8321991, -0.223359078, -0.974358141, 0.027149044, 0.974736214, -0.223258108, 0.00673288852, -0.000498998852, 0.0279670097, 0.999608934),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  660. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.223359063, 0.974736214, -0.000499000133, -0.974358141, -0.223258108, 0.0279670041, 0.0271490421, 0.00673288759, 0.999608755),C1 = CFrame.new(0.0972747803, -0.518723011, -0.0393295288, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  661.  
  662. local top = Instance.new("Shirt")
  663. top.ShirtTemplate = "http://www.roblox.com/asset/?id=424041608"
  664. top.Parent = Character
  665. top.Name = "Cloth"
  666. local bottom = Instance.new("Pants")
  667. bottom.PantsTemplate = "http://www.roblox.com/asset/?id=424041982"
  668. bottom.Parent = Character
  669. bottom.Name = "Cloth"
  670.  
  671. for _, c in pairs(Weapon:GetChildren()) do
  672. if c.ClassName == "Part" then
  673. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  674. end
  675. end
  676.  
  677. Neck.Name = "Weld"
  678. RootJoint.Name = "Weld"
  679. RightShoulder.Name = "Weld"
  680. LeftShoulder.Name = "Weld"
  681. RightHip.Name = "Weld"
  682. LeftHip.Name = "Weld"
  683.  
  684. local SKILLTEXTCOLOR = C3(159/255, 111/255, 183/255)
  685. local SKILLFONT = "Fantasy"
  686. local SKILLTEXTSIZE = 7
  687.  
  688. Weapon.Parent = Character
  689. Humanoid.Parent = Character
  690.  
  691. Humanoid.Died:connect(function()
  692. ATTACK = true
  693. end)
  694.  
  695.  
  696. --//=================================\\
  697. --|| DAMAGING
  698. --\\=================================//
  699.  
  700. function ApplyDamage(Humanoid,Damage,TorsoPart)
  701. local defence = Instance.new("BoolValue",Humanoid.Parent)
  702. defence.Name = ("HitBy"..Player.Name)
  703. game:GetService("Debris"):AddItem(defence, 0.001)
  704. Damage = Damage * DAMAGEMULTIPLIER
  705. if Humanoid.Health ~= 0 then
  706. local CritChance = MRANDOM(1,100)
  707. if Damage > Humanoid.Health then
  708. Damage = math.ceil(Humanoid.Health)
  709. if Damage == 0 then
  710. Damage = 0.1
  711. end
  712. end
  713. Humanoid.Health = Humanoid.Health - Damage
  714. end
  715. end
  716.  
  717. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  718. local CHILDREN = workspace:GetDescendants()
  719. for index, CHILD in pairs(CHILDREN) do
  720. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  721. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  722. if HUM then
  723. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  724. if TORSO then
  725. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  726. if INSTAKILL == true then
  727. CHILD:BreakJoints()
  728. else
  729. local DMG = MRANDOM(MINDMG,MAXDMG)
  730. ApplyDamage(HUM,DMG,TORSO)
  731. end
  732. if FLING > 0 then
  733. for _, c in pairs(CHILD:GetChildren()) do
  734. if c:IsA("BasePart") then
  735. local bv = Instance.new("BodyVelocity")
  736. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  737. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  738. bv.Parent = c
  739. Debris:AddItem(bv,0.05)
  740. end
  741. end
  742. end
  743. end
  744. end
  745. end
  746. end
  747. end
  748. end
  749.  
  750. --//=================================\\
  751. --|| ATTACK FUNCTIONS AND STUFF
  752. --\\=================================//
  753.  
  754. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  755. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  756. local mesh = IT("SpecialMesh",wave)
  757. mesh.MeshType = "Sphere"
  758. mesh.Scale = SIZE
  759. mesh.Offset = VT(0,0,0)
  760. wave.CFrame = CFRAME
  761. coroutine.resume(coroutine.create(function(PART)
  762. for i = 1, WAIT do
  763. Swait()
  764. mesh.Scale = mesh.Scale + GROW
  765. wave.Transparency = wave.Transparency + (1/WAIT)
  766. if wave.Transparency > 0.99 then
  767. wave:remove()
  768. end
  769. end
  770. end))
  771. end
  772.  
  773. function CamShake(SHAKE,TIMER)
  774. coroutine.resume(coroutine.create(function()
  775. local FADER = SHAKE/TIMER
  776. for i = 1, TIMER do
  777. wait()
  778. Humanoid.CameraOffset = VT(MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10)
  779. end
  780. Humanoid.CameraOffset = VT(0,0,0)
  781. end))
  782. end
  783.  
  784. function ApplyAoED(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  785. for index, CHILD in pairs(workspace:GetDescendants()) do
  786. if CHILD.ClassName == "Model" and CHILD ~= Character then
  787. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  788. if HUM then
  789. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  790. if TORSO then
  791. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  792. if INSTAKILL == true then
  793. CHILD:BreakJoints()
  794. else
  795. local DMG = MRANDOM(MINDMG,MAXDMG)
  796. ApplyDamage(HUM,DMG)
  797. end
  798. if FLING > 0 then
  799. for _, c in pairs(CHILD:GetChildren()) do
  800. if c:IsA("BasePart") then
  801. local bv = Instance.new("BodyVelocity")
  802. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  803. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  804. bv.Parent = c
  805. Debris:AddItem(bv,0.05)
  806. end
  807. end
  808. end
  809. end
  810. end
  811. end
  812. end
  813. end
  814. end
  815.  
  816. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  817. local TORSO = Torso
  818. local HUM = Humanoid
  819. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  820. coroutine.wrap(function()
  821. VT = Vector3.new
  822. MRANDOM = math.random
  823. local A = TIME
  824. local B = INTENSITY
  825. local C = true
  826. local HUMANOID = Humanoid
  827. local TIMER = A or 35
  828. local SHAKE = B or 5
  829. local FADE = C or true
  830. if HUMANOID then
  831. local FADER = SHAKE / TIMER
  832. for i = 1, TIMER do
  833. wait()
  834. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  835. end
  836. HUMANOID.CameraOffset = VT(0, 0, 0)
  837. end
  838.  
  839. end)()
  840. end
  841. end
  842.  
  843. function Darkness()
  844. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  845. ATTACK = true
  846. Rooted = true
  847. local GYRO = IT("BodyGyro",RootPart)
  848. GYRO.D = 25
  849. GYRO.P = 20000
  850. GYRO.MaxTorque = VT(0,4000000,0)
  851. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  852. MagicSphere(VT(0,0,0),15,Head.CFrame,"Really red",VT(2,2,2))
  853. MagicSphere(VT(0,0,0),15,Head.CFrame,"Really red",VT(2,2,2))
  854. CreateSound(429459101,Torso,5,1.5,false)
  855. local GYROING = true
  856. coroutine.resume(coroutine.create(function()
  857. repeat
  858. Swait()
  859. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  860. until GYROING == false
  861. GYRO:Remove()
  862. end))
  863. for i=0, 1, 0.1 / Animation_Speed do
  864. Swait()
  865. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  866. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  867. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  868. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  869. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  870. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  871. end
  872. for i = 1, 13 do
  873. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,1,0), Size2 = VT(i,0,i)*2, Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,7.5-i) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50})
  874. end
  875. CreateSound(1368637781,Torso,5,1.5,false)
  876. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,1,0), Size2 = VT(12,12,12), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  877. GYROING = false
  878. coroutine.resume(coroutine.create(function()
  879. coroutine.resume(coroutine.create(function()
  880. for i=1, 25 do
  881. Swait()
  882. RootPart.CFrame = RootPart.CFrame*CF(0,0,(25-i)/25)
  883. end
  884. end))
  885. repeat
  886. Swait()
  887. 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)
  888. 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)
  889. 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)
  890. 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)
  891. 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)
  892. 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)
  893. until ATTACK == false
  894. end))
  895. coroutine.resume(coroutine.create(function()
  896. local BULLETCFRAME = RootPart.CFrame
  897. local EXPLODED = false
  898. coroutine.resume(coroutine.create(function()
  899. repeat
  900. Swait()
  901. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(10,10,10), Transparency = 0.3, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  902. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(25,25,25), Transparency = 0.8, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  903. until EXPLODED == true
  904. end))
  905. for i=1, 50 do
  906. Swait()
  907. BULLETCFRAME = BULLETCFRAME*CF(0,0,-((50-i)/15))
  908. local RAY,HIT,NORM = Raycast(BULLETCFRAME.p,BULLETCFRAME.lookVector,7,Character)
  909. if RAY then
  910. ApplyAoED(BULLETCFRAME.p,25,12,54,350,false)
  911. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,1,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HIT,HIT+NORM) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 765590102, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 10})
  912. break
  913. end
  914. end
  915. wait(0.5)
  916. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 401056199, SoundPitch = 0.7, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  917. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(50,50,50), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 401056199, SoundPitch = 1, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  918. for E = 1, 3 do
  919. for i = 1, 5 do
  920. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,1,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p) * 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,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  921. end
  922. end
  923. ApplyAoED(BULLETCFRAME.p,125,25,75,250,false)
  924. EXPLODED = true
  925. for i = 1, 15 do
  926. Swait()
  927. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,1,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = BULLETCFRAME * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  928. end
  929. end))
  930. MagicSphere(VT(0,0,0),15,Head.CFrame,"Really red",VT(2,2,2))
  931. ATTACK = false
  932. Rooted = false
  933. end
  934. coroutine.resume(coroutine.create(function()
  935. local POS = RootPart.Position
  936. wait(0.2)
  937. for i = 1, 5 do
  938. WACKYEFFECT({
  939. Time = 65,
  940. EffectType = "Sphere",
  941. Size = VT(2, 2, 2),
  942. Size2 = VT(0, 0, 500),
  943. Transparency = 1,
  944. Transparency2 = 0,
  945. CFrame = CF(POS),
  946. MoveToPos = nil,
  947. RotationX = MRANDOM(-2, 2),
  948. RotationY = MRANDOM(-12, 12),
  949. RotationZ = MRANDOM(-2, 2),
  950. Material = "Neon",
  951. Color = C3(0, 1, 0),
  952. SoundID = nil,
  953. SoundPitch = nil,
  954. SoundVolume = nil
  955. })
  956. end
  957. wait(1)
  958. SHAKECAM(POS, 45, 15, 15)
  959. ApplyAoE(POS, 450, true)
  960. WACKYEFFECT({
  961. Time = 85,
  962. EffectType = "Sphere",
  963. Size = VT(120, 120, 120),
  964. Size2 = VT(350, 350, 350),
  965. Transparency = 0,
  966. Transparency2 = 1,
  967. CFrame = CF(POS),
  968. MoveToPos = nil,
  969. RotationX = 0,
  970. RotationY = 0,
  971. RotationZ = 0,
  972. Material = "Neon",
  973. Color = C3(0, 1, 0),
  974. SoundID = nil,
  975. SoundPitch = 1,
  976. SoundVolume = 10
  977. })
  978. for i = 1, 20 do
  979. WACKYEFFECT({
  980. Time = 85,
  981. EffectType = "Sphere",
  982. Size = VT(120, 120, 120),
  983. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  984. Transparency = 0.8,
  985. Transparency2 = 1,
  986. CFrame = CF(POS),
  987. MoveToPos = nil,
  988. RotationX = 0,
  989. RotationY = 0,
  990. RotationZ = 0,
  991. Material = "Neon",
  992. Color = C3(0, 1, 0),
  993. SoundID = nil,
  994. SoundPitch = 1,
  995. SoundVolume = 10
  996. })
  997. WACKYEFFECT({
  998. Time = 100,
  999. EffectType = "Wave",
  1000. Size = VT(25, 2, 25),
  1001. Size2 = VT(400, 0, 400) * 1.2,
  1002. Transparency = 0,
  1003. Transparency2 = 1,
  1004. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1005. MoveToPos = nil,
  1006. RotationX = 0,
  1007. RotationY = 0,
  1008. RotationZ = 0,
  1009. Material = "Neon",
  1010. Color = C3(0, 1, 0),
  1011. SoundID = nil,
  1012. SoundPitch = nil,
  1013. SoundVolume = nil
  1014. })
  1015. end
  1016. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  1017. for i = 1, 5 do
  1018. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  1019. WACKYEFFECT({
  1020. Time = 120,
  1021. EffectType = "Wave",
  1022. Size = VT(150, 2, 150),
  1023. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  1024. Transparency = 0,
  1025. Transparency2 = 1,
  1026. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1027. MoveToPos = nil,
  1028. RotationX = 0,
  1029. RotationY = 0,
  1030. RotationZ = 0,
  1031. Material = "Neon",
  1032. Color = C3(0, 1, 0),
  1033. SoundID = nil,
  1034. SoundPitch = nil,
  1035. SoundVolume = nil
  1036. })
  1037. end
  1038. end))
  1039. end
  1040.  
  1041.  
  1042. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1043. local dmg = math.random(min,max)
  1044. for i,v in ipairs(workspace:GetChildren()) do
  1045. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1046. local body = v:GetChildren()
  1047. for part = 1, #body do
  1048. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1049. if(body[part].Position - position).Magnitude < radius then
  1050. if v.ClassName == "Model" then
  1051. if v:FindFirstChildOfClass("Humanoid") then
  1052. if CanBeDodgedByJumping == true then
  1053. if body[part].Position.Y < position.Y+5 then
  1054. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1055. end
  1056. else
  1057. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1058. end
  1059. local bv = Instance.new("BodyVelocity")
  1060. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1061. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1062. bv.Parent = body[part]
  1063. Debris:AddItem(bv,0.2)
  1064. end
  1065. end
  1066. end
  1067. end
  1068. end
  1069. end
  1070. if v:FindFirstChild("HitBy"..Player.Name) then
  1071. v:FindFirstChild("HitBy"..Player.Name):remove()
  1072. end
  1073. end
  1074. end
  1075.  
  1076. function Oblivion()
  1077. ATTACK = true
  1078. Rooted = true
  1079. for i=0, 2, 0.1 / Animation_Speed do
  1080. Swait()
  1081. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1082. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1083. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1084. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1085. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1086. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1087. end
  1088. for i=0, 0.5, 0.1 / Animation_Speed do
  1089. Swait()
  1090. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1091. 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.5 / Animation_Speed)
  1092. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1093. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1094. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1095. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1096. end
  1097. for i = 1, 75 do
  1098. Swait()
  1099. MagicSphere(VT(0.5,0.5,5),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Really red",VT(-0.005,-0.005,0.03),0)
  1100. end
  1101. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  1102. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  1103. AoEDamage(Torso.Position,45,45,58,0,false,2,2,false,true)
  1104. MagicSphere(VT(0,0,0),25,Torso.CFrame,"Really red",VT(5,5,5))
  1105. MagicSphere(VT(0,0,0),50,Torso.CFrame,"Really red",VT(2.5,2.5,2.5))
  1106. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Really black",VT(6,0,6))
  1107. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Pearl",VT(6,0,6))
  1108. ATTACK = false
  1109. Rooted = false
  1110. end
  1111.  
  1112. local beampart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(0.6*Player_Size,0.1*Player_Size,0.6*Player_Size))
  1113. local weld = CreateWeldOrSnapOrMotor("Weld", beampart, RightArm, beampart, CF(0 * Player_Size, -1.02 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1114. local mesh = IT("CylinderMesh",beampart)
  1115.  
  1116. function GroundUp()
  1117. local RayHit, RayPos = RayCast(Mouse.Hit.p, Vector3.new(0, -1, 0), (1), {Character})
  1118. local SpawnPosition = RayPos
  1119. if RayPos then
  1120. Rooted = true
  1121. ATTACK = true
  1122. CreateSound("588697034", RightArm, 2, 0.8)
  1123. for i=0, 1, 0.1 / Animation_Speed/6 do
  1124. Swait()
  1125. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed/8)
  1126. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1127. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, 1 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed/8)
  1128. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed/8)
  1129. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed/8)
  1130. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed/8)
  1131. end
  1132. for i=0, 1, 0.1 / Animation_Speed*2 do
  1133. Swait()
  1134. RootPart.Anchored = true
  1135. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  1136. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1137. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
  1138. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1139. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1140. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1141. end
  1142. CreateSound("186772924", beampart, 5, 1)
  1143. local floor = IT("Part",Effects)
  1144. floor.Anchored = true
  1145. floor.Size = VT(15,0.2,15)
  1146. floor.Material = "Neon"
  1147. floor.BrickColor = BRICKC("Really red")
  1148. floor.CanCollide = false
  1149. local cyl = Instance.new("CylinderMesh",floor)
  1150. floor.CFrame = CF(beampart.Position.X,beampart.Position.Y-0.2,beampart.Position.Z)
  1151. AoEDamage(floor.Position,25,10,25,15,false,10,5,true)
  1152. local scale = 25
  1153. table.insert(Effects2,{floor,"Block1",0.05,1,0,1,2})
  1154. coroutine.resume(coroutine.create(function()
  1155. repeat
  1156. Swait()
  1157. scale = scale + 5
  1158. AoEDamage(floor.Position,scale,1,2,5,false,10,5,true)
  1159. until floor.Parent == nil
  1160. end))
  1161. end
  1162. ATTACK = false
  1163. Rooted = false
  1164. end
  1165.  
  1166. Circle = nil
  1167. CircleParts = {}
  1168. Equipped = false
  1169.  
  1170. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1171. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1172. end
  1173.  
  1174. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1175. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1176. local mesh = IT("SpecialMesh",wave)
  1177. mesh.MeshType = "FileMesh"
  1178. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1179. mesh.Scale = SIZE
  1180. mesh.Offset = VT(0,0,-SIZE.X/8)
  1181. wave.CFrame = CFRAME
  1182. coroutine.resume(coroutine.create(function(PART)
  1183. for i = 1, WAIT do
  1184. Swait()
  1185. mesh.Scale = mesh.Scale + GROW
  1186. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1187. if DOESROT == true then
  1188. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1189. end
  1190. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1191. if wave.Transparency > 0.99 then
  1192. wave:remove()
  1193. end
  1194. end
  1195. end))
  1196. end
  1197.  
  1198. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  1199. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1200. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1201. wave.CFrame = CFRAME
  1202. coroutine.resume(coroutine.create(function(PART)
  1203. for i = 1, WAIT do
  1204. Swait()
  1205. mesh.Scale = mesh.Scale * GROW
  1206. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1207. if wave.Transparency > 0.99 then
  1208. wave:remove()
  1209. end
  1210. end
  1211. end))
  1212. end
  1213.  
  1214. function killnearest(position,range,maxstrength,direction)
  1215. for i,v in ipairs(workspace:GetChildren()) do
  1216. local body = v:GetChildren()
  1217. for part = 1, #body do
  1218. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1219. if(body[part].Position - position).Magnitude < range then
  1220. if v.ClassName == "Model" then
  1221. --v:BreakJoints()
  1222. end
  1223. local POS = position
  1224. coroutine.resume(coroutine.create(function()
  1225. body[part].Anchored = true
  1226. body[part].Parent = Effects
  1227. body[part].CanCollide = true
  1228. local SIZE = body[part].Size
  1229. body[part].Material = "Neon"
  1230. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  1231. for i = 1, 75 do
  1232. Swait()
  1233. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1234. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1235. end
  1236. coroutine.resume(coroutine.create(function()
  1237. while true do
  1238. Swait()
  1239. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1240. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1241. end
  1242. end))
  1243. body[part].Anchored = false
  1244. body[part].Velocity = direction.lookVector*maxstrength
  1245. end))
  1246. end
  1247. end
  1248. end
  1249. if v.ClassName == "Part" then
  1250. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1251. local POS = position
  1252. coroutine.resume(coroutine.create(function()
  1253. v.Anchored = true
  1254. v.Parent = Effects
  1255. local SIZE = v.Size
  1256. v.Material = "Neon"
  1257. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  1258. for i = 1, 75 do
  1259. Swait()
  1260. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1261. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1262. end
  1263. coroutine.resume(coroutine.create(function()
  1264. while true do
  1265. Swait()
  1266. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1267. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1268. end
  1269. end))
  1270. v.Anchored = false
  1271. v.Velocity = direction.lookVector*maxstrength
  1272. end))
  1273. end
  1274. end
  1275. end
  1276. end
  1277.  
  1278. function GoldenGrasp()
  1279. ATTACK = true
  1280. Rooted = false
  1281. local HASGRABBED = false
  1282. local WELD = nil
  1283. local TORS = nil
  1284. local hitting = RightArm.Touched:connect(function(hit)
  1285. if hit.Parent:FindFirstChild("Humanoid") then
  1286. if hit.Parent.Humanoid.Health ~= 0 then
  1287. UNANCHOR = false
  1288. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1289. TORS.Anchored = true
  1290. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1291. WELD = weldBetween(RightArm,TORS)
  1292. HASGRABBED = true
  1293. Rooted = true
  1294. end
  1295. end
  1296. end)
  1297. for i=0, 1, 0.1 / Animation_Speed do
  1298. Swait()
  1299. if HASGRABBED == true then
  1300. break
  1301. end
  1302. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
  1303. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  1304. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1305. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1306. 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)), 2 / Animation_Speed)
  1307. 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)), 2 / Animation_Speed)
  1308. end
  1309. hitting:disconnect()
  1310. if HASGRABBED == true then
  1311. TORS.Anchored = false
  1312. RootPart.Anchored = true
  1313. for i=0, 2, 0.1 / Animation_Speed do
  1314. Swait()
  1315. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1316. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1317. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1318. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1319. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1320. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1321. end
  1322. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
  1323. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
  1324. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
  1325. SOUNDPART.CFrame = RootPart.CFrame
  1326. Debris:AddItem(SOUNDPART,5)
  1327. CreateSound("1295446488", SOUNDPART, 2, 1)
  1328. for i = 1, 15 do
  1329. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  1330. end
  1331. for i=0, 2, 0.1 / Animation_Speed do
  1332. Swait()
  1333. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1334. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1335. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1336. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1337. 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)
  1338. 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)
  1339. end
  1340. for i=0, 0.25, 0.1 / Animation_Speed do
  1341. Swait()
  1342. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  1343. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1344. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1345. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1346. 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)
  1347. 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)
  1348. end
  1349. if HITFLOOR ~= nil then
  1350. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
  1351. end
  1352. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  1353. WELD:remove()
  1354. for i = 1, 25 do
  1355. Swait()
  1356. killnearest(RootPart.Position,45,100,Torso.CFrame)
  1357. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
  1358. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Gold",VT(1,0.4,1))
  1359. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Gold",VT(2.3,0.3,2.3))
  1360. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  1361. Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Gold", 1 + MRANDOM(1,30)/15)
  1362. end
  1363. end
  1364. UNANCHOR = true
  1365. ATTACK = false
  1366. Rooted = false
  1367. end
  1368.  
  1369. function Joy()
  1370. slavdance = Instance.new("Sound",Torso)
  1371. slavdance.SoundId = "rbxassetid://172056286"
  1372. slavdance.Volume = 6
  1373. slavdance.Looped = true
  1374. slavdance:Play()
  1375.  
  1376. ATTACK = true
  1377. Rooted = true
  1378. local LOOP = true
  1379. KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1380. if NEWKEY == "t" then
  1381. KEY:Disconnect()
  1382. LOOP = false
  1383. end
  1384. end)
  1385. coroutine.resume(coroutine.create(function()
  1386. repeat
  1387. Swait()
  1388. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75, 0) * ANGLES(RAD(170 - 15 * SIN(SINE / 6)), RAD(0), RAD(12 - 15 * COS(SINE / 6))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1389. until LOOP == false
  1390. end))
  1391. repeat
  1392. for i = 0, 0.4, 0.1 / Animation_Speed do
  1393. Swait()
  1394. if LOOP == false then
  1395. break
  1396. end
  1397. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1398. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1399. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1400. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1401. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1402. end
  1403. for i = 0, 0.4, 0.1 / Animation_Speed do
  1404. Swait()
  1405. if LOOP == false then
  1406. break
  1407. end
  1408. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1409. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1410. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1411. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1412. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1413. end
  1414. for i = 0, 0.4, 0.1 / Animation_Speed do
  1415. Swait()
  1416. if LOOP == false then
  1417. break
  1418. end
  1419. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1420. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1421. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1422. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1423. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1424. end
  1425. for i = 0, 0.4, 0.1 / Animation_Speed do
  1426. Swait()
  1427. if LOOP == false then
  1428. break
  1429. end
  1430. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1431. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1432. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1433. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1434. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1435. end
  1436. until LOOP == false
  1437. ATTACK = false
  1438. Rooted = false
  1439. slavdance:Remove()
  1440. end
  1441.  
  1442. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1443. coroutine.resume(coroutine.create(function()
  1444. local METEOR = IT("Model",Effects)
  1445. METEOR.Name = "Meteorite"
  1446. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1447. METEOR.PrimaryPart = CENTER
  1448. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1449. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1450. for i = 1, 15 do
  1451. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  1452. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1453. end
  1454. if ISDEBREE ~= true then
  1455. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1456. else
  1457. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1458. end
  1459. local IMPACT = false
  1460. CreateSound(463593339, CENTER, 10, 0.6)
  1461. if SIZE >= 3.5 then
  1462. for i = 1, MRANDOM(3,7) do
  1463. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1464. end
  1465. end
  1466. for i = 1, 200 do
  1467. Swait()
  1468. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1469. if HITFLOOR == nil then
  1470. local ORI = CENTER.Orientation
  1471. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1472. else
  1473. if HITFLOOR.Anchored == true then
  1474. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1475. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1476. end
  1477. IMPACT = true
  1478. break
  1479. end
  1480. end
  1481. if IMPACT == true then
  1482. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1483. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1484. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1485. ApplyAoE(CENTER.Position,30*SIZE)
  1486. end
  1487. METEOR:remove()
  1488. end))
  1489. end
  1490.  
  1491. --//=================================\\
  1492. --|| ASSIGN THINGS TO KEYS
  1493. --\\=================================//
  1494.  
  1495. function MouseDown(Mouse)
  1496. HOLD = true
  1497. if ATTACK == false then
  1498. end
  1499. end
  1500.  
  1501. function MouseUp(Mouse)
  1502. HOLD = false
  1503. end
  1504.  
  1505. function KeyDown(Key)
  1506. KEYHOLD = true
  1507. if Key == "z" and ATTACK == false then
  1508. Darkness()
  1509. end
  1510.  
  1511. if Key == "c" and ATTACK == false then
  1512. Oblivion()
  1513. end
  1514.  
  1515. if Key == "m" and ATTACK == false then
  1516. if MUTE == false then
  1517. sick:Play()
  1518. MUTE = true
  1519. else
  1520. MUTE = false
  1521. end
  1522. end
  1523.  
  1524. if Key == "v" and ATTACK == false then
  1525. GroundUp()
  1526. end
  1527.  
  1528. if Key == "x" and ATTACK == false then
  1529. GoldenGrasp()
  1530. end
  1531.  
  1532. if Key == "t" and ATTACK == false then
  1533. Joy()
  1534. end
  1535. end
  1536.  
  1537. function KeyUp(Key)
  1538. KEYHOLD = false
  1539. end
  1540.  
  1541. Mouse.Button1Down:connect(function(NEWKEY)
  1542. MouseDown(NEWKEY)
  1543. end)
  1544. Mouse.Button1Up:connect(function(NEWKEY)
  1545. MouseUp(NEWKEY)
  1546. end)
  1547. Mouse.KeyDown:connect(function(NEWKEY)
  1548. KeyDown(NEWKEY)
  1549. end)
  1550. Mouse.KeyUp:connect(function(NEWKEY)
  1551. KeyUp(NEWKEY)
  1552. end)
  1553.  
  1554. --//=================================\\
  1555. --\\=================================//
  1556.  
  1557.  
  1558. function unanchor()
  1559. if UNANCHOR == true then
  1560. RootPart.Anchored = false
  1561. end
  1562. g = Character:GetChildren()
  1563. for i = 1, #g do
  1564. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  1565. g[i].Anchored = false
  1566. end
  1567. end
  1568. g = Weapon:GetChildren()
  1569. for i = 1, #g do
  1570. if g[i].ClassName == "Part" then
  1571. g[i].Anchored = false
  1572. end
  1573. end
  1574. end
  1575.  
  1576.  
  1577. --//=================================\\
  1578. --|| WRAP THE WHOLE SCRIPT UP
  1579. --\\=================================//
  1580.  
  1581. Humanoid.Changed:connect(function(Jump)
  1582. if Jump == "Jump" and (Disable_Jump == true) then
  1583. Humanoid.Jump = false
  1584. end
  1585. end)
  1586.  
  1587. while true do
  1588. Swait()
  1589. script.Parent = WEAPONGUI
  1590. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1591. v:Stop();
  1592. end
  1593. ANIMATE.Parent = nil
  1594. SINE = SINE + CHANGE*1.5
  1595. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1596. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1597. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1598. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1599. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1600. 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)
  1601. 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)
  1602. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1603. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1604. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1605. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1606. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1607. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1608. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1609. end
  1610. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1611. ANIM = "Jump"
  1612. if ATTACK == false then
  1613. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1614. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1615. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1616. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1617. 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)
  1618. 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)
  1619. end
  1620. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1621. ANIM = "Fall"
  1622. if ATTACK == false then
  1623. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1624. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1625. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1626. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1627. 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)
  1628. 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)
  1629. end
  1630. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1631. ANIM = "Idle"
  1632. if ATTACK == false then
  1633. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 4)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1634. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 - 0.1 * COS(SINE / 3) + ((1) - 1)) * ANGLES(RAD(30 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 0.5 / Animation_Speed)
  1635. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.4 - 0.1 * COS(SINE / 4), 0.25 - 0.025 * COS(SINE / 5)) * ANGLES(RAD(-30), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1636. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.4 - 0.1 * COS(SINE / 4), 0.25 - 0.025 * COS(SINE / 5)) * ANGLES(RAD(-30), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1637. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1638. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1639. end
  1640. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1641. ANIM = "Walk"
  1642. if ATTACK == false then
  1643. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1644. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  1645. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(45), RAD(-10 + 2.5 * SIN(SINE / 12)), RAD(-75 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1646. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.4*SIZE) * ANGLES(RAD(50), RAD(10 - 2.5 * SIN(SINE / 12)), RAD(75 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1647. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1648. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1649. end
  1650. end
  1651. unanchor()
  1652. Humanoid.MaxHealth = "inf"
  1653. Humanoid.Health = "inf"
  1654. if Rooted == false then
  1655. Disable_Jump = false
  1656. Humanoid.WalkSpeed = Speed
  1657. elseif Rooted == true then
  1658. Disable_Jump = true
  1659. Humanoid.WalkSpeed = 0
  1660. end
  1661. for _, c in pairs(Character:GetChildren()) do
  1662. if c.ClassName == "Part" and c.Name ~= "Detail" then
  1663. c.Material = "Fabric"
  1664. if c:FindFirstChildOfClass("ParticleEmitter") then
  1665. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1666. end
  1667. if c ~= Head then
  1668. c.Color = C3(0,0,0)
  1669. else
  1670. c.Color = C3(1,1,1)
  1671. end
  1672. if c == Head then
  1673. if c:FindFirstChild("face") then
  1674. c.face:remove()
  1675. end
  1676. end
  1677. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1678. c:remove()
  1679. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Shirt Graphic" or c.Name == "_" then
  1680. c:remove()
  1681. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1682. c:remove()
  1683. end
  1684. end
  1685. sick.SoundId = "rbxassetid://145045424"
  1686. sick.Looped = true
  1687. sick.Pitch = 1
  1688. sick.Volume = 4
  1689. sick.Playing = MUTE
  1690. --sick.Playing = false
  1691. Humanoid.Name = "NO"
  1692. if Head:FindFirstChild("face") then
  1693. Head.face.Texture = "rbxassetid://210559531"
  1694. end
  1695. end
  1696.  
  1697. --//=================================\\
  1698. --\\=================================//
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704. --//====================================================\\--
  1705. --|| END OF SCRIPT ||--
  1706. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement