Advertisement
jnsgjgrgregzdh

Untitled

Jul 19th, 2018
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.43 KB | None | 0 0
  1. wait(0.2)
  2.  
  3. Player = game:GetService("Players").LocalPlayer
  4. PlayerGui = Player.PlayerGui
  5. Cam = workspace.CurrentCamera
  6. Backpack = Player.Backpack
  7. Character = Player.Character
  8. Humanoid = Character.Humanoid
  9. Mouse = Player:GetMouse()
  10. RootPart = Character["HumanoidRootPart"]
  11. Torso = Character["Torso"]
  12. Head = Character["Head"]
  13. RightArm = Character["Right Arm"]
  14. LeftArm = Character["Left Arm"]
  15. RightLeg = Character["Right Leg"]
  16. LeftLeg = Character["Left Leg"]
  17. RootJoint = RootPart["RootJoint"]
  18. Neck = Torso["Neck"]
  19. RightShoulder = Torso["Right Shoulder"]
  20. LeftShoulder = Torso["Left Shoulder"]
  21. RightHip = Torso["Right Hip"]
  22. LeftHip = Torso["Left Hip"]
  23. local sick = Instance.new("Sound",Torso)
  24. sick.SoundId = "rbxassetid://333446256"
  25. sick.Looped = false
  26. sick.Pitch = 1
  27. sick.Volume = 3
  28. sick:Play()
  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. local char = game.Players.localPlayer.Character
  46. local txt = Instance.new("BillboardGui", char)
  47. txt.Adornee = char .Head
  48. txt.Name = "_status"
  49. txt.Size = UDim2.new(2, 0, 1.2, 0)
  50. txt.StudsOffset = Vector3.new(-9, 10, 0)
  51. local text = Instance.new("TextLabel", txt)
  52. text.Size = UDim2.new(10, 0, 7, 0)
  53. text.FontSize = "Size24"
  54. text.TextScaled = true
  55. text.TextTransparency = 0
  56. text.BackgroundTransparency = 1
  57. text.TextTransparency = 0
  58. text.TextStrokeTransparency = 0
  59. text.Font = "Garamond"
  60. text.TextStrokeColor3 = Color3.new(255,0,0)
  61. text.Text = "Fallen God"
  62. script.Name = "Banisher Gun V3 / 1"
  63. --//====================================================\\--
  64. --|| CREATED BY SHACKLUSTER
  65. --\\====================================================//--
  66.  
  67. script:ClearAllChildren()
  68. wait(0.2)
  69.  
  70. Player = game:GetService("Players").LocalPlayer
  71. PlayerGui = Player.PlayerGui
  72. Cam = workspace.CurrentCamera
  73. Backpack = Player.Backpack
  74. Character = Player.Character
  75. Humanoid = Character.Humanoid
  76. Mouse = Player:GetMouse()
  77. RootPart = Character["HumanoidRootPart"]
  78. Torso = Character["Torso"]
  79. Head = Character["Head"]
  80. RightArm = Character["Right Arm"]
  81. LeftArm = Character["Left Arm"]
  82. RightLeg = Character["Right Leg"]
  83. LeftLeg = Character["Left Leg"]
  84. RootJoint = RootPart["RootJoint"]
  85. Neck = Torso["Neck"]
  86. RightShoulder = Torso["Right Shoulder"]
  87. LeftShoulder = Torso["Left Shoulder"]
  88. RightHip = Torso["Right Hip"]
  89. LeftHip = Torso["Left Hip"]
  90. local TIME = 0
  91. local sick = Instance.new("Sound",Torso)
  92.  
  93. IT = Instance.new
  94. CF = CFrame.new
  95. VT = Vector3.new
  96. RAD = math.rad
  97. C3 = Color3.new
  98. UD2 = UDim2.new
  99. BRICKC = BrickColor.new
  100. ANGLES = CFrame.Angles
  101. EULER = CFrame.fromEulerAnglesXYZ
  102. COS = math.cos
  103. ACOS = math.acos
  104. SIN = math.sin
  105. ASIN = math.asin
  106. ABS = math.abs
  107. MRANDOM = math.random
  108. FLOOR = math.floor
  109.  
  110. --//=================================\\
  111. --|| USEFUL VALUES
  112. --\\=================================//
  113. Animation_Speed = 3
  114. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  115. local Speed = 35
  116. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  117. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  118. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  119. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  120. local DAMAGEMULTIPLIER = 1
  121. local ANIM = "Idle"
  122. local ATTACK = false
  123. local EQUIPPED = false
  124. local HOLD = false
  125. local COMBO = 1
  126. local Rooted = false
  127. local SINE = 0
  128. local KEYHOLD = false
  129. local CHANGE = 2 / Animation_Speed
  130. local WALKINGANIM = false
  131. local VALUE1 = false
  132. local VALUE2 = false
  133. local ROBLOXIDLEANIMATION = IT("Animation")
  134. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  135. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  136. --ROBLOXIDLEANIMATION.Parent = Humanoid
  137. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  138. WEAPONGUI.Name = "Weapon GUI"
  139. local Effects = IT("Folder", Character)
  140. Effects.Name = "Effects"
  141. local ANIMATOR = Humanoid.Animator
  142. local ANIMATE = Character.Animate
  143. local UNANCHOR = true
  144. local LAUGHS = {834001699,834001752,834001797,834001828}
  145. local SONGS = {1118967006}
  146. local CHOICE = MRANDOM(1,4)
  147. local ENERGYSOUND = 1417051162
  148. local BEAMSOUND = 1417056781
  149. local EXPLOSIONSOUND = 1417056081
  150. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  151. local Speed = 35
  152. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  153. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  154. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  155. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  156. local DAMAGEMULTIPLIER = 1
  157. local ANIM = "Idle"
  158. local ATTACK = false
  159. local EQUIPPED = false
  160. local HOLD = false
  161. local COMBO = 1
  162. local Rooted = false
  163. local SINE = 0
  164. local KEYHOLD = false
  165. local CHANGE = 2 / Animation_Speed
  166. local WALKINGANIM = false
  167. local VALUE1 = false
  168. local VALUE2 = false
  169. local ROBLOXIDLEANIMATION = IT("Animation")
  170. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  171. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  172. --ROBLOXIDLEANIMATION.Parent = Humanoid
  173. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  174. WEAPONGUI.Name = "BanishV3Gui"
  175. local Weapon = IT("Model")
  176. Weapon.Name = "Adds"
  177. local Effects = IT("Folder", Weapon)
  178. Effects.Name = "Effects"
  179. local ANIMATOR = Humanoid.Animator
  180. local ANIMATE = Character:FindFirstChild("Animate")
  181. local UNANCHOR = true
  182. local TOBANISH = {}
  183. script.Parent = PlayerGui
  184.  
  185. --//=================================\\
  186. --\\=================================//
  187.  
  188.  
  189. --//=================================\\
  190. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  191. --\\=================================//
  192. ArtificialHB = Instance.new("BindableEvent", script)
  193. ArtificialHB.Name = "ArtificialHB"
  194.  
  195. script:WaitForChild("ArtificialHB")
  196.  
  197. frame = Frame_Speed
  198. tf = 0
  199. allowframeloss = false
  200. tossremainder = false
  201. lastframe = tick()
  202. script.ArtificialHB:Fire()
  203.  
  204. game:GetService("RunService").Heartbeat:connect(function(s, p)
  205. tf = tf + s
  206. if tf >= frame then
  207. if allowframeloss then
  208. script.ArtificialHB:Fire()
  209. lastframe = tick()
  210. else
  211. for i = 1, math.floor(tf / frame) do
  212. script.ArtificialHB:Fire()
  213. end
  214. lastframe = tick()
  215. end
  216. if tossremainder then
  217. tf = 0
  218. else
  219. tf = tf - frame * math.floor(tf / frame)
  220. end
  221. end
  222. end)
  223.  
  224. --//=================================\\
  225. --\\=================================//
  226.  
  227.  
  228. --//=================================\\
  229. --|| SOME FUNCTIONS
  230. --\\=================================//
  231. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  232. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  233. end
  234.  
  235. function PositiveAngle(NUMBER)
  236. if NUMBER >= 0 then
  237. NUMBER = 0
  238. end
  239. return NUMBER
  240. end
  241.  
  242. function NegativeAngle(NUMBER)
  243. if NUMBER <= 0 then
  244. NUMBER = 0
  245. end
  246. return NUMBER
  247. end
  248.  
  249. function Swait(NUMBER)
  250. if NUMBER == 0 or NUMBER == nil then
  251. ArtificialHB.Event:wait()
  252. else
  253. for i = 1, NUMBER do
  254. ArtificialHB.Event:wait()
  255. end
  256. end
  257. end
  258.  
  259. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  260. local NEWMESH = IT(MESH)
  261. if MESH == "SpecialMesh" then
  262. NEWMESH.MeshType = MESHTYPE
  263. if MESHID ~= "nil" and MESHID ~= "" then
  264. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  265. end
  266. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  267. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  268. end
  269. end
  270. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  271. NEWMESH.Scale = SCALE
  272. NEWMESH.Parent = PARENT
  273. return NEWMESH
  274. end
  275.  
  276. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  277. local NEWPART = IT("Part")
  278. NEWPART.formFactor = FORMFACTOR
  279. NEWPART.Reflectance = REFLECTANCE
  280. NEWPART.Transparency = TRANSPARENCY
  281. NEWPART.CanCollide = false
  282. NEWPART.Locked = true
  283. NEWPART.Anchored = true
  284. if ANCHOR == false then
  285. NEWPART.Anchored = false
  286. end
  287. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  288. NEWPART.Name = NAME
  289. NEWPART.Size = SIZE
  290. NEWPART.Position = Torso.Position
  291. NEWPART.Material = MATERIAL
  292. NEWPART:BreakJoints()
  293. NEWPART.Parent = PARENT
  294. return NEWPART
  295. end
  296.  
  297. local function weldBetween(a, b)
  298. local weldd = IT("Weld")
  299. weldd.Part0 = a
  300. weldd.Part1 = b
  301. weldd.C0 = CF()
  302. weldd.C1 = b.CFrame:inverse() * a.CFrame
  303. weldd.Parent = a
  304. return weldd
  305. end
  306.  
  307.  
  308. function QuaternionFromCFrame(cf)
  309. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  310. local trace = m00 + m11 + m22
  311. if trace > 0 then
  312. local s = math.sqrt(1 + trace)
  313. local recip = 0.5 / s
  314. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  315. else
  316. local i = 0
  317. if m11 > m00 then
  318. i = 1
  319. end
  320. if m22 > (i == 0 and m00 or m11) then
  321. i = 2
  322. end
  323. if i == 0 then
  324. local s = math.sqrt(m00 - m11 - m22 + 1)
  325. local recip = 0.5 / s
  326. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  327. elseif i == 1 then
  328. local s = math.sqrt(m11 - m22 - m00 + 1)
  329. local recip = 0.5 / s
  330. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  331. elseif i == 2 then
  332. local s = math.sqrt(m22 - m00 - m11 + 1)
  333. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  334. end
  335. end
  336. end
  337.  
  338. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  339. local xs, ys, zs = x + x, y + y, z + z
  340. local wx, wy, wz = w * xs, w * ys, w * zs
  341. local xx = x * xs
  342. local xy = x * ys
  343. local xz = x * zs
  344. local yy = y * ys
  345. local yz = y * zs
  346. local zz = z * zs
  347. 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))
  348. end
  349.  
  350. function QuaternionSlerp(a, b, t)
  351. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  352. local startInterp, finishInterp;
  353. if cosTheta >= 0.0001 then
  354. if (1 - cosTheta) > 0.0001 then
  355. local theta = ACOS(cosTheta)
  356. local invSinTheta = 1 / SIN(theta)
  357. startInterp = SIN((1 - t) * theta) * invSinTheta
  358. finishInterp = SIN(t * theta) * invSinTheta
  359. else
  360. startInterp = 1 - t
  361. finishInterp = t
  362. end
  363. else
  364. if (1 + cosTheta) > 0.0001 then
  365. local theta = ACOS(-cosTheta)
  366. local invSinTheta = 1 / SIN(theta)
  367. startInterp = SIN((t - 1) * theta) * invSinTheta
  368. finishInterp = SIN(t * theta) * invSinTheta
  369. else
  370. startInterp = t - 1
  371. finishInterp = t
  372. end
  373. end
  374. 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
  375. end
  376.  
  377. function Clerp(a, b, t)
  378. local qa = {QuaternionFromCFrame(a)}
  379. local qb = {QuaternionFromCFrame(b)}
  380. local ax, ay, az = a.x, a.y, a.z
  381. local bx, by, bz = b.x, b.y, b.z
  382. local _t = 1 - t
  383. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  384. end
  385.  
  386. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  387. local frame = IT("Frame")
  388. frame.BackgroundTransparency = TRANSPARENCY
  389. frame.BorderSizePixel = BORDERSIZEPIXEL
  390. frame.Position = POSITION
  391. frame.Size = SIZE
  392. frame.BackgroundColor3 = COLOR
  393. frame.BorderColor3 = BORDERCOLOR
  394. frame.Name = NAME
  395. frame.Parent = PARENT
  396. return frame
  397. end
  398.  
  399. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  400. local label = IT("TextLabel")
  401. label.BackgroundTransparency = 1
  402. label.Size = UD2(1, 0, 1, 0)
  403. label.Position = UD2(0, 0, 0, 0)
  404. label.TextColor3 = TEXTCOLOR
  405. label.TextStrokeTransparency = STROKETRANSPARENCY
  406. label.TextTransparency = TRANSPARENCY
  407. label.FontSize = TEXTFONTSIZE
  408. label.Font = TEXTFONT
  409. label.BorderSizePixel = BORDERSIZEPIXEL
  410. label.TextScaled = false
  411. label.Text = TEXT
  412. label.Name = NAME
  413. label.Parent = PARENT
  414. return label
  415. end
  416.  
  417. function NoOutlines(PART)
  418. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  419. end
  420.  
  421. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  422. local NEWWELD = IT(TYPE)
  423. NEWWELD.Part0 = PART0
  424. NEWWELD.Part1 = PART1
  425. NEWWELD.C0 = C0
  426. NEWWELD.C1 = C1
  427. NEWWELD.Parent = PARENT
  428. return NEWWELD
  429. end
  430.  
  431. local S = IT("Sound")
  432. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  433. local NEWSOUND = nil
  434. coroutine.resume(coroutine.create(function()
  435. NEWSOUND = S:Clone()
  436. NEWSOUND.Parent = PARENT
  437. NEWSOUND.Volume = VOLUME
  438. NEWSOUND.Pitch = PITCH
  439. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  440. NEWSOUND:play()
  441. if DOESLOOP == true then
  442. NEWSOUND.Looped = true
  443. else
  444. repeat wait(1) until NEWSOUND.Playing == false
  445. NEWSOUND:remove()
  446. end
  447. end))
  448. return NEWSOUND
  449. end
  450.  
  451. function CFrameFromTopBack(at, top, back)
  452. local right = top:Cross(back)
  453. 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)
  454. end
  455.  
  456. --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})
  457. function WACKYEFFECT(Table)
  458. local TYPE = (Table.EffectType or "Sphere")
  459. local SIZE = (Table.Size or VT(1,1,1))
  460. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  461. local TRANSPARENCY = (Table.Transparency or 0)
  462. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  463. local CFRAME = (Table.CFrame or Torso.CFrame)
  464. local MOVEDIRECTION = (Table.MoveToPos or nil)
  465. local ROTATION1 = (Table.RotationX or 0)
  466. local ROTATION2 = (Table.RotationY or 0)
  467. local ROTATION3 = (Table.RotationZ or 0)
  468. local MATERIAL = (Table.Material or "Neon")
  469. local COLOR = (Table.Color or C3(1,1,1))
  470. local TIME = (Table.Time or 45)
  471. local SOUNDID = (Table.SoundID or nil)
  472. local SOUNDPITCH = (Table.SoundPitch or nil)
  473. local SOUNDVOLUME = (Table.SoundVolume or nil)
  474. coroutine.resume(coroutine.create(function()
  475. local PLAYSSOUND = false
  476. local SOUND = nil
  477. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  478. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  479. PLAYSSOUND = true
  480. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  481. end
  482. EFFECT.Color = COLOR
  483. local MSH = nil
  484. if TYPE == "Sphere" then
  485. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  486. elseif TYPE == "Block" then
  487. MSH = IT("BlockMesh",EFFECT)
  488. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  489. elseif TYPE == "Wave" then
  490. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  491. elseif TYPE == "Ring" then
  492. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  493. elseif TYPE == "Slash" then
  494. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  495. elseif TYPE == "Round Slash" then
  496. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  497. elseif TYPE == "Swirl" then
  498. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  499. elseif TYPE == "Skull" then
  500. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  501. elseif TYPE == "Crystal" then
  502. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  503. end
  504. if MSH ~= nil then
  505. local MOVESPEED = nil
  506. if MOVEDIRECTION ~= nil then
  507. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  508. end
  509. local GROWTH = SIZE - ENDSIZE
  510. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  511. if TYPE == "Block" then
  512. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  513. else
  514. EFFECT.CFrame = CFRAME
  515. end
  516. for LOOP = 1, TIME+1 do
  517. Swait()
  518. MSH.Scale = MSH.Scale - GROWTH/TIME
  519. if TYPE == "Wave" then
  520. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  521. end
  522. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  523. if TYPE == "Block" then
  524. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  525. else
  526. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  527. end
  528. if MOVEDIRECTION ~= nil then
  529. local ORI = EFFECT.Orientation
  530. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  531. EFFECT.Orientation = ORI
  532. end
  533. end
  534. if PLAYSSOUND == false then
  535. EFFECT:remove()
  536. else
  537. SOUND.Stopped:Connect(function()
  538. EFFECT:remove()
  539. end)
  540. end
  541. else
  542. if PLAYSSOUND == false then
  543. EFFECT:remove()
  544. else
  545. repeat Swait() until SOUND.Playing == false
  546. EFFECT:remove()
  547. end
  548. end
  549. end))
  550. end
  551.  
  552. local LEFTWINGS = {}
  553. local RIGHTWINGS = {}
  554. local BODY = {}
  555.  
  556. local Back = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Wing", VT(1,1,0.35),false)
  557. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
  558.  
  559. local ANGLE = 35
  560. for i = 1, 5 do
  561. local Wing = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Wing", VT(0.15,2+(i/2),0.15),false)
  562. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  563. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Wing", VT(0.25,1,0.25),false)
  564. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  565. ANGLE = ANGLE - 15
  566. table.insert(LEFTWINGS,WingWeld)
  567. end
  568.  
  569. ANGLE = 35
  570. for i = 1, 5 do
  571. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Wing", VT(0.15,2+(i/2),0.15),false)
  572. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  573. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Wing", VT(0.25,1,0.25),false)
  574. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  575. ANGLE = ANGLE - 15
  576. table.insert(RIGHTWINGS,WingWeld)
  577. end
  578.  
  579. function MakeForm(PART,TYPE)
  580. if TYPE == "Cyl" then
  581. local MSH = IT("CylinderMesh",PART)
  582. elseif TYPE == "Ball" then
  583. local MSH = IT("SpecialMesh",PART)
  584. MSH.MeshType = "Sphere"
  585. elseif TYPE == "Wedge" then
  586. local MSH = IT("SpecialMesh",PART)
  587. MSH.MeshType = "Wedge"
  588. end
  589. end
  590.  
  591. Debris = game:GetService("Debris")
  592.  
  593. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  594. local DIRECTION = CF(StartPos,EndPos).lookVector
  595. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  596. end
  597.  
  598. function turnto(position)
  599. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  600. end
  601.  
  602. function SpawnTrail(FROM,TO,BIG)
  603. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Trail", VT(0,0,0))
  604. MakeForm(TRAIL,"Cyl")
  605. local DIST = (FROM - TO).Magnitude
  606. if BIG == true then
  607. TRAIL.Size = VT(0.5,DIST,0.5)
  608. else
  609. TRAIL.Size = VT(0.25,DIST,0.25)
  610. end
  611. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  612. coroutine.resume(coroutine.create(function()
  613. for i = 1, 5 do
  614. Swait()
  615. TRAIL.Transparency = TRAIL.Transparency + 0.1
  616. end
  617. TRAIL:remove()
  618. end))
  619. end
  620.  
  621. local asd = Instance.new("ParticleEmitter")
  622. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  623. asd.LightEmission = .1
  624. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  625. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  626. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  627. asd.Transparency = bbb
  628. asd.Size = aaa
  629. asd.ZOffset = .9
  630. asd.Acceleration = Vector3.new(0, -15, 0)
  631. asd.LockedToPart = false
  632. asd.EmissionDirection = "Back"
  633. asd.Lifetime = NumberRange.new(1, 2)
  634. asd.Rotation = NumberRange.new(-100, 100)
  635. asd.RotSpeed = NumberRange.new(-100, 100)
  636. asd.Speed = NumberRange.new(10)
  637. asd.Enabled = false
  638. asd.VelocitySpread = 999
  639.  
  640. function getbloody(victim,amount)
  641. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  642. PART.CFrame = victim.CFrame
  643. local HITPLAYERSOUNDS = {"356551938","264486467"}
  644. Debris:AddItem(PART,5)
  645. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  646. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  647. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  648. local prtcl = asd:Clone()
  649. prtcl.Parent = PART
  650. prtcl:Emit(amount*10)
  651. end
  652.  
  653. local Particle = IT("ParticleEmitter",nil)
  654. Particle.Enabled = false
  655. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  656. Particle.LightEmission = 0.5
  657. Particle.Rate = 150
  658. Particle.ZOffset = 1
  659. Particle.Rotation = NumberRange.new(-180, 180)
  660. Particle.RotSpeed = NumberRange.new(-180, 180)
  661. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  662. Particle.Color = ColorSequence.new(C3(58,125,21),C3(0.4,0,0))
  663.  
  664. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  665. function ParticleEmitter(Table)
  666. local PRTCL = Particle:Clone()
  667. local Speed = Table.Speed or 5
  668. local Drag = Table.Drag or 0
  669. local Size1 = Table.Size1 or 1
  670. local Size2 = Table.Size2 or 5
  671. local Lifetime1 = Table.Lifetime1 or 1
  672. local Lifetime2 = Table.Lifetime2 or 1.5
  673. local Parent = Table.Parent or Torso
  674. local Emit = Table.Emit or 100
  675. local Offset = Table.Offset or 360
  676. local Acel = Table.Acel or VT(0,0,0)
  677. local Enabled = Table.Enabled or false
  678. PRTCL.Parent = Parent
  679. PRTCL.Size = NumberSequence.new(Size1,Size2)
  680. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  681. PRTCL.Speed = NumberRange.new(Speed)
  682. PRTCL.VelocitySpread = Offset
  683. PRTCL.Drag = Drag
  684. PRTCL.Acceleration = Acel
  685. if Enabled == false then
  686. PRTCL:Emit(Emit)
  687. Debris:AddItem(PRTCL,Lifetime2)
  688. else
  689. PRTCL.Enabled = true
  690. end
  691. return PRTCL
  692. end
  693.  
  694. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  695. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  696. end
  697.  
  698. function PositiveAngle(NUMBER)
  699. if NUMBER >= 0 then
  700. NUMBER = 0
  701. end
  702. return NUMBER
  703. end
  704.  
  705. function NegativeAngle(NUMBER)
  706. if NUMBER <= 0 then
  707. NUMBER = 0
  708. end
  709. return NUMBER
  710. end
  711.  
  712. function Swait(NUMBER)
  713. if NUMBER == 0 or NUMBER == nil then
  714. ArtificialHB.Event:wait()
  715. else
  716. for i = 1, NUMBER do
  717. ArtificialHB.Event:wait()
  718. end
  719. end
  720. end
  721.  
  722. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  723. local NEWMESH = IT(MESH)
  724. if MESH == "SpecialMesh" then
  725. NEWMESH.MeshType = MESHTYPE
  726. if MESHID ~= "nil" and MESHID ~= "" then
  727. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  728. end
  729. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  730. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  731. end
  732. end
  733. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  734. NEWMESH.Scale = SCALE
  735. NEWMESH.Parent = PARENT
  736. return NEWMESH
  737. end
  738.  
  739. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  740. local NEWPART = IT("Part")
  741. NEWPART.formFactor = FORMFACTOR
  742. NEWPART.Reflectance = REFLECTANCE
  743. NEWPART.Transparency = TRANSPARENCY
  744. NEWPART.CanCollide = false
  745. NEWPART.Locked = true
  746. NEWPART.Anchored = true
  747. if ANCHOR == false then
  748. NEWPART.Anchored = false
  749. end
  750. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  751. NEWPART.Name = NAME
  752. NEWPART.Size = SIZE
  753. NEWPART.Position = Torso.Position
  754. NEWPART.Material = MATERIAL
  755. NEWPART:BreakJoints()
  756. NEWPART.Parent = PARENT
  757. return NEWPART
  758. end
  759.  
  760. local function weldBetween(a, b)
  761. local weldd = Instance.new("ManualWeld")
  762. weldd.Part0 = a
  763. weldd.Part1 = b
  764. weldd.C0 = CFrame.new()
  765. weldd.C1 = b.CFrame:inverse() * a.CFrame
  766. weldd.Parent = a
  767. return weldd
  768. end
  769.  
  770.  
  771. function QuaternionFromCFrame(cf)
  772. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  773. local trace = m00 + m11 + m22
  774. if trace > 0 then
  775. local s = math.sqrt(1 + trace)
  776. local recip = 0.5 / s
  777. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  778. else
  779. local i = 0
  780. if m11 > m00 then
  781. i = 1
  782. end
  783. if m22 > (i == 0 and m00 or m11) then
  784. i = 2
  785. end
  786. if i == 0 then
  787. local s = math.sqrt(m00 - m11 - m22 + 1)
  788. local recip = 0.5 / s
  789. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  790. elseif i == 1 then
  791. local s = math.sqrt(m11 - m22 - m00 + 1)
  792. local recip = 0.5 / s
  793. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  794. elseif i == 2 then
  795. local s = math.sqrt(m22 - m00 - m11 + 1)
  796. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  797. end
  798. end
  799. end
  800.  
  801. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  802. local xs, ys, zs = x + x, y + y, z + z
  803. local wx, wy, wz = w * xs, w * ys, w * zs
  804. local xx = x * xs
  805. local xy = x * ys
  806. local xz = x * zs
  807. local yy = y * ys
  808. local yz = y * zs
  809. local zz = z * zs
  810. 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))
  811. end
  812.  
  813. function QuaternionSlerp(a, b, t)
  814. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  815. local startInterp, finishInterp;
  816. if cosTheta >= 0.0001 then
  817. if (1 - cosTheta) > 0.0001 then
  818. local theta = ACOS(cosTheta)
  819. local invSinTheta = 1 / SIN(theta)
  820. startInterp = SIN((1 - t) * theta) * invSinTheta
  821. finishInterp = SIN(t * theta) * invSinTheta
  822. else
  823. startInterp = 1 - t
  824. finishInterp = t
  825. end
  826. else
  827. if (1 + cosTheta) > 0.0001 then
  828. local theta = ACOS(-cosTheta)
  829. local invSinTheta = 1 / SIN(theta)
  830. startInterp = SIN((t - 1) * theta) * invSinTheta
  831. finishInterp = SIN(t * theta) * invSinTheta
  832. else
  833. startInterp = t - 1
  834. finishInterp = t
  835. end
  836. end
  837. 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
  838. end
  839.  
  840. function Clerp(a, b, t)
  841. local qa = {QuaternionFromCFrame(a)}
  842. local qb = {QuaternionFromCFrame(b)}
  843. local ax, ay, az = a.x, a.y, a.z
  844. local bx, by, bz = b.x, b.y, b.z
  845. local _t = 1 - t
  846. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  847. end
  848.  
  849. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  850. local frame = IT("Frame")
  851. frame.BackgroundTransparency = TRANSPARENCY
  852. frame.BorderSizePixel = BORDERSIZEPIXEL
  853. frame.Position = POSITION
  854. frame.Size = SIZE
  855. frame.BackgroundColor3 = COLOR
  856. frame.BorderColor3 = BORDERCOLOR
  857. frame.Name = NAME
  858. frame.Parent = PARENT
  859. return frame
  860. end
  861.  
  862. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  863. local label = IT("TextLabel")
  864. label.BackgroundTransparency = 1
  865. label.Size = UD2(1, 0, 1, 0)
  866. label.Position = UD2(0, 0, 0, 0)
  867. label.TextColor3 = TEXTCOLOR
  868. label.TextStrokeTransparency = STROKETRANSPARENCY
  869. label.TextTransparency = TRANSPARENCY
  870. label.FontSize = TEXTFONTSIZE
  871. label.Font = TEXTFONT
  872. label.BorderSizePixel = BORDERSIZEPIXEL
  873. label.TextScaled = false
  874. label.Text = TEXT
  875. label.Name = NAME
  876. label.Parent = PARENT
  877. return label
  878. end
  879.  
  880. function NoOutlines(PART)
  881. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  882. end
  883.  
  884. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  885. local NEWWELD = IT(TYPE)
  886. NEWWELD.Part0 = PART0
  887. NEWWELD.Part1 = PART1
  888. NEWWELD.C0 = C0
  889. NEWWELD.C1 = C1
  890. NEWWELD.Parent = PARENT
  891. return NEWWELD
  892. end
  893.  
  894. local S = IT("Sound")
  895. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  896. local NEWSOUND = nil
  897. coroutine.resume(coroutine.create(function()
  898. NEWSOUND = S:Clone()
  899. NEWSOUND.Parent = PARENT
  900. NEWSOUND.Volume = VOLUME
  901. NEWSOUND.Pitch = PITCH
  902. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  903. NEWSOUND:play()
  904. if DOESLOOP == true then
  905. NEWSOUND.Looped = true
  906. else
  907. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  908. NEWSOUND:remove()
  909. end
  910. end))
  911. return NEWSOUND
  912. end
  913.  
  914. function CFrameFromTopBack(at, top, back)
  915. local right = top:Cross(back)
  916. 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)
  917. end
  918.  
  919. --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})
  920. function WACKYEFFECT(Table)
  921. local TYPE = (Table.EffectType or "Sphere")
  922. local SIZE = (Table.Size or VT(1,1,1))
  923. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  924. local TRANSPARENCY = (Table.Transparency or 0)
  925. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  926. local CFRAME = (Table.CFrame or Torso.CFrame)
  927. local MOVEDIRECTION = (Table.MoveToPos or nil)
  928. local ROTATION1 = (Table.RotationX or 0)
  929. local ROTATION2 = (Table.RotationY or 0)
  930. local ROTATION3 = (Table.RotationZ or 0)
  931. local MATERIAL = (Table.Material or "Neon")
  932. local COLOR = (Table.Color or C3(1,1,1))
  933. local TIME = (Table.Time or 45)
  934. local SOUNDID = (Table.SoundID or nil)
  935. local SOUNDPITCH = (Table.SoundPitch or nil)
  936. local SOUNDVOLUME = (Table.SoundVolume or nil)
  937. coroutine.resume(coroutine.create(function()
  938. local PLAYSSOUND = false
  939. local SOUND = nil
  940. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  941. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  942. PLAYSSOUND = true
  943. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  944. end
  945. EFFECT.Color = COLOR
  946. local MSH = nil
  947. if TYPE == "Sphere" then
  948. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  949. elseif TYPE == "Block" then
  950. MSH = IT("BlockMesh",EFFECT)
  951. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  952. elseif TYPE == "Wave" then
  953. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  954. elseif TYPE == "Ring" then
  955. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  956. elseif TYPE == "Slash" then
  957. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  958. elseif TYPE == "Round Slash" then
  959. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  960. elseif TYPE == "Swirl" then
  961. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  962. elseif TYPE == "Skull" then
  963. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  964. elseif TYPE == "Crystal" then
  965. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  966. end
  967. if MSH ~= nil then
  968. local MOVESPEED = nil
  969. if MOVEDIRECTION ~= nil then
  970. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  971. end
  972. local GROWTH = SIZE - ENDSIZE
  973. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  974. if TYPE == "Block" then
  975. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  976. else
  977. EFFECT.CFrame = CFRAME
  978. end
  979. for LOOP = 1, TIME+1 do
  980. Swait()
  981. MSH.Scale = MSH.Scale - GROWTH/TIME
  982. if TYPE == "Wave" then
  983. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  984. end
  985. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  986. if TYPE == "Block" then
  987. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  988. else
  989. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  990. end
  991. if MOVEDIRECTION ~= nil then
  992. local ORI = EFFECT.Orientation
  993. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  994. EFFECT.Orientation = ORI
  995. end
  996. end
  997. if PLAYSSOUND == false then
  998. EFFECT:remove()
  999. else
  1000. SOUND.Stopped:Connect(function()
  1001. EFFECT:remove()
  1002. end)
  1003. end
  1004. else
  1005. if PLAYSSOUND == false then
  1006. EFFECT:remove()
  1007. else
  1008. repeat Swait() until SOUND.Playing == false
  1009. EFFECT:remove()
  1010. end
  1011. end
  1012. end))
  1013. end
  1014.  
  1015. function MakeForm(PART,TYPE)
  1016. if TYPE == "Cyl" then
  1017. local MSH = IT("CylinderMesh",PART)
  1018. elseif TYPE == "Ball" then
  1019. local MSH = IT("SpecialMesh",PART)
  1020. MSH.MeshType = "Sphere"
  1021. elseif TYPE == "Wedge" then
  1022. local MSH = IT("SpecialMesh",PART)
  1023. MSH.MeshType = "Wedge"
  1024. end
  1025. end
  1026.  
  1027. function SpawnTrail(FROM,TO,BIG)
  1028. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  1029. MakeForm(TRAIL,"Cyl")
  1030. local DIST = (FROM - TO).Magnitude
  1031. if BIG == true then
  1032. TRAIL.Size = VT(0.5,DIST,0.5)
  1033. else
  1034. TRAIL.Size = VT(0.25,DIST,0.25)
  1035. end
  1036. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1037. coroutine.resume(coroutine.create(function()
  1038. for i = 1, 5 do
  1039. Swait()
  1040. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1041. end
  1042. TRAIL:remove()
  1043. end))
  1044. end
  1045.  
  1046. Debris = game:GetService("Debris")
  1047.  
  1048. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1049. local DIRECTION = CF(StartPos,EndPos).lookVector
  1050. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1051. end
  1052.  
  1053. function turnto(position)
  1054. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1055. end
  1056.  
  1057. --//=================================\\
  1058. --|| WEAPON CREATION
  1059. --\\=================================//
  1060. if Character:FindFirstChildOfClass("Accessory") then
  1061. Character:FindFirstChildOfClass("Accessory"):remove()
  1062. elseif Character:FindFirstChildOfClass("Hat") then
  1063. Character:FindFirstChildOfClass("Hat"):remove()
  1064. end
  1065. if Head:FindFirstChild("face") then
  1066. Head.face.Texture = "rbxassetid://"
  1067. end
  1068.  
  1069. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  1070. PRT.Color = C3(0,0,0)
  1071. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  1072. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  1073. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  1074. PRT.Color = C3(0,0,0)
  1075. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  1076. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  1077.  
  1078. local LASTPART = Head
  1079. for i = 1, 20 do
  1080. local MATH = (1-(i/25))
  1081. if LASTPART == Head then
  1082. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1083. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1084. LASTPART = Horn
  1085. Horn.Color = C3((i*3-3)/255,0,0)
  1086. else
  1087. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1088. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  1089. LASTPART = Horn
  1090. Horn.Color = C3((i*3-3)/255,0,0)
  1091. end
  1092. end
  1093. local LASTPART = Head
  1094. for i = 1, 20 do
  1095. local MATH = (1-(i/25))
  1096. if LASTPART == Head then
  1097. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1098. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  1099. LASTPART = Horn
  1100. Horn.Color = C3((i*3-3)/255,0,0)
  1101. else
  1102. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1103. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  1104. LASTPART = Horn
  1105. Horn.Color = C3((i*3-3)/255,0,0)
  1106. end
  1107. end
  1108.  
  1109. local A = IT("Attachment",Torso)
  1110. A.Position = VT(1,1.3,0)
  1111. A.Orientation = VT(-0.098, -89.999, 0.227)
  1112. local B = IT("Attachment",Torso)
  1113. B.Position = VT(-1.3,-0.6,0)
  1114. B.Orientation = VT(-88.911, -68.808, 158.782)
  1115. local ChainLink = IT("Beam",Torso)
  1116. ChainLink.Texture = "rbxassetid://73042633"
  1117. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  1118. ChainLink.TextureSpeed = 1
  1119. ChainLink.FaceCamera = true
  1120. ChainLink.Width0 = 1
  1121. ChainLink.Width1 = 1
  1122. ChainLink.TextureLength = 3
  1123. ChainLink.Attachment0 = A
  1124. ChainLink.Attachment1 = B
  1125. ChainLink.CurveSize0 = 1.6
  1126. ChainLink.CurveSize1 = 1.6
  1127. ChainLink.FaceCamera = true
  1128. ChainLink.Transparency = NumberSequence.new(0)
  1129. local ChainLink = IT("Beam",Torso)
  1130. ChainLink.Texture = "rbxassetid://73042633"
  1131. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  1132. ChainLink.TextureSpeed = 1
  1133. ChainLink.FaceCamera = true
  1134. ChainLink.Width0 = 1
  1135. ChainLink.Width1 = 1
  1136. ChainLink.TextureLength = 3
  1137. ChainLink.Attachment0 = B
  1138. ChainLink.Attachment1 = A
  1139. ChainLink.CurveSize0 = 1.6
  1140. ChainLink.CurveSize1 = 1.6
  1141. ChainLink.FaceCamera = true
  1142. ChainLink.Transparency = NumberSequence.new(0)
  1143. local A = IT("Attachment",Torso)
  1144. A.Position = VT(1.3,-0.85,0)
  1145. A.Orientation = VT(-0.098, -89.999, 0.227)
  1146. local B = IT("Attachment",Torso)
  1147. B.Position = VT(-1,2,0)
  1148. B.Orientation = VT(-88.911, -68.808, 158.782)
  1149. local ChainLink = IT("Beam",Torso)
  1150. ChainLink.Texture = "rbxassetid://73042633"
  1151. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  1152. ChainLink.TextureSpeed = 1
  1153. ChainLink.FaceCamera = true
  1154. ChainLink.Width0 = 1
  1155. ChainLink.Width1 = 1
  1156. ChainLink.TextureLength = 3
  1157. ChainLink.Attachment0 = A
  1158. ChainLink.Attachment1 = B
  1159. ChainLink.CurveSize0 = 1.3
  1160. ChainLink.CurveSize1 = 1.3
  1161. ChainLink.FaceCamera = true
  1162. ChainLink.Transparency = NumberSequence.new(0)
  1163. local ChainLink = IT("Beam",Torso)
  1164. ChainLink.Texture = "rbxassetid://73042633"
  1165. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  1166. ChainLink.TextureSpeed = 1
  1167. ChainLink.FaceCamera = true
  1168. ChainLink.Width0 = 1
  1169. ChainLink.Width1 = 1
  1170. ChainLink.TextureLength = 3
  1171. ChainLink.Attachment0 = B
  1172. ChainLink.Attachment1 = A
  1173. ChainLink.CurveSize0 = 1.3
  1174. ChainLink.CurveSize1 = 1.3
  1175. ChainLink.FaceCamera = true
  1176. ChainLink.Transparency = NumberSequence.new(0)
  1177.  
  1178. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  1179. PRT.LockedToPart = true
  1180. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  1181. PRT.LockedToPart = true
  1182. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  1183. PRT.LockedToPart = true
  1184. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  1185. PRT.LockedToPart = true
  1186. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  1187. PRT.LockedToPart = true
  1188.  
  1189. for _, c in pairs(Character:GetDescendants()) do
  1190. if c and c.Parent then
  1191. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  1192. local ACCESSORY = c.Parent
  1193. c.Parent = Character
  1194. if c then
  1195. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  1196. weldBetween(Head,c)
  1197. else
  1198. weldBetween(Torso,c)
  1199. end
  1200. end
  1201. ACCESSORY:remove()
  1202. elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1203. c.Material = "Neon"
  1204. c.Color = C3(0,0,0)
  1205. if c:FindFirstChildOfClass("SpecialMesh") then
  1206. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1207. end
  1208. if c == Head then
  1209. if c:FindFirstChild("face") then
  1210. c.face:remove()
  1211. end
  1212. end
  1213. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1214. c.Color = C3(58,125,21)
  1215. c.Material = "Neon"
  1216. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1217. c:remove()
  1218. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1219. c:remove()
  1220. end
  1221. end
  1222. end
  1223. local BODY = {}
  1224. for _, c in pairs(Character:GetDescendants()) do
  1225. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1226. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1227. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1228. end
  1229. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  1230. elseif c:IsA("JointInstance") then
  1231. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1232. end
  1233. end
  1234. function refit()
  1235. Character.Parent = workspace
  1236. for e = 1, #BODY do
  1237. if BODY[e] ~= nil then
  1238. local STUFF = BODY[e]
  1239. local PART = STUFF[1]
  1240. local PARENT = STUFF[2]
  1241. local MATERIAL = STUFF[3]
  1242. local COLOR = STUFF[4]
  1243. local TRANSPARENCY = STUFF[5]
  1244. --local SIZE = STUFF[6]
  1245. local NAME = STUFF[7]
  1246. if PART.ClassName == "Part" and PART ~= RootPart then
  1247. PART.Material = MATERIAL
  1248. PART.Transparency = TRANSPARENCY
  1249. PART.Name = NAME
  1250. end
  1251. if PART.Parent ~= PARENT then
  1252. Humanoid:remove()
  1253. PART.Parent = PARENT
  1254. Humanoid = IT("Humanoid",Character)
  1255. end
  1256. end
  1257. end
  1258. end
  1259.  
  1260. local SKILLTEXTCOLOR = C3(0,0,0)
  1261. local SKILLFONT = "Fantasy"
  1262. local SKILLTEXTSIZE = 6
  1263.  
  1264. Humanoid.Died:connect(function()
  1265. refit()
  1266. end)
  1267.  
  1268. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1269. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1270. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1271. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1272. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1273. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1274. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1275.  
  1276.  
  1277. function swait(NUMBER)
  1278. if NUMBER == 0 or NUMBER == nil then
  1279. ArtificialHB.Event:wait()
  1280. else
  1281. for i = 1, NUMBER do
  1282. ArtificialHB.Event:wait()
  1283. end
  1284. end
  1285. end
  1286.  
  1287. function chatfunc(text)
  1288. local chat = coroutine.wrap(function()
  1289. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1290. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1291. end
  1292. local Bill = Instance.new("BillboardGui",Character)
  1293. Bill.Size = UDim2.new(0,100,0,40)
  1294. Bill.StudsOffset = Vector3.new(0,3,0)
  1295. Bill.Adornee = Character.Head
  1296. Bill.Name = "TalkingBillBoard"
  1297. local Hehe = Instance.new("TextLabel",Bill)
  1298. Hehe.BackgroundTransparency = 1
  1299. Hehe.BorderSizePixel = 0
  1300. Hehe.Text = ""
  1301. Hehe.Font = "Garamond"
  1302. Hehe.TextSize = 40
  1303. Hehe.TextStrokeTransparency = 0
  1304. Hehe.Size = UDim2.new(1,0,0.5,0)
  1305. coroutine.resume(coroutine.create(function()
  1306. while Hehe ~= nil do
  1307. swait()
  1308. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1309. Hehe.Rotation = math.random(-5,5)
  1310. Hehe.TextColor3 = Color3.new(0,0,0)
  1311. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1312. end
  1313. end))
  1314. for i = 1,string.len(text),1 do
  1315. swait()
  1316. Hehe.Text = string.sub(text,1,i)
  1317. end
  1318. swait(90)--Re[math.random(1, 93)]
  1319. for i = 0, 1, .025 do
  1320. swait()
  1321. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1322. Hehe.TextStrokeTransparency = i
  1323. Hehe.TextTransparency = i
  1324. end
  1325. Bill:Destroy()
  1326. end)
  1327. chat()
  1328. end
  1329.  
  1330. function onChatted(msg)
  1331. chatfunc(msg)
  1332. end
  1333.  
  1334. Player.Chatted:connect(onChatted)
  1335.  
  1336. chatfunc("I have fallen from the good hand")
  1337. wait(4)
  1338. chatfunc("I had nothing left")
  1339. wait(4)
  1340. chatfunc("now I have ascended from hell to erase you")
  1341. Head:ClearAllChildren()
  1342. Head.Transparency = 1
  1343.  
  1344. function particles(art)
  1345. local EyeSizes={
  1346. NumberSequenceKeypoint.new(0,0.3,0),
  1347. NumberSequenceKeypoint.new(1,0,0)
  1348. }
  1349. local EyeTrans={
  1350. NumberSequenceKeypoint.new(0,0.2,0),
  1351. NumberSequenceKeypoint.new(1,1,0)
  1352. }
  1353. local PE=Instance.new("ParticleEmitter",art)
  1354. PE.LightEmission=.4
  1355. PE.Size=NumberSequence.new(EyeSizes)
  1356. PE.Transparency=NumberSequence.new(EyeTrans)
  1357. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  1358. PE.Rotation=NumberRange.new(0,360)
  1359. PE.Rate=999
  1360. PE.Acceleration = Vector3.new(0,75,0)
  1361. PE.Drag = 5
  1362. PE.Speed = NumberRange.new(0,0,0)
  1363. PE.Texture="http://www.roblox.com/asset/?id=1179557490"
  1364. PE.ZOffset = -1.5
  1365. PE.Name = "PE"
  1366. end
  1367.  
  1368. local SKULL = CreatePart(3, Character, "Wood", 0,0, "Really black", "FACE", VT(0,0,0),false)
  1369. CreateWeldOrSnapOrMotor("Weld", SKULL, Head, SKULL, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1370. CreateMesh("SpecialMesh", SKULL, "FileMesh", "14028428", "14027832", VT(1,1,1), VT(0, 0.2, -0.35))
  1371.  
  1372. local SKULL = CreatePart(3, Character, "Wood", 0,0, "Really black", "FACE", VT(0,0,0),false)
  1373. CreateWeldOrSnapOrMotor("Weld", SKULL, Head, SKULL, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1374. CreateMesh("SpecialMesh", SKULL, "FileMesh", "1271547", "186320934", VT(1,1,1)*1.5, VT(0, 1.365, 0))
  1375.  
  1376. local Part = CreatePart(3, Head, "Neon", 0,0, "Pearl", "Eye", VT(0.2,0.2,0.2),false)
  1377. Part.Color = C3(1,1,1)
  1378. CreateWeldOrSnapOrMotor("Weld", Part, Head, Part, CF(0.35, 0.1, -0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1379. MakeForm(Part,"Ball")
  1380.  
  1381. local Particle = IT("ParticleEmitter",nil)
  1382. Particle.Enabled = false
  1383. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1384. Particle.LightEmission = 0.5
  1385. Particle.Rate = 150
  1386. Particle.ZOffset = 0.2
  1387. Particle.Rotation = NumberRange.new(-180, 180)
  1388. Particle.RotSpeed = NumberRange.new(-180, 180)
  1389. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1390. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  1391.  
  1392. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1393. function ParticleEmitter(Table)
  1394. local PRTCL = Particle:Clone()
  1395. local Speed = Table.Speed or 5
  1396. local Drag = Table.Drag or 0
  1397. local Size1 = Table.Size1 or 1
  1398. local Size2 = Table.Size2 or 5
  1399. local Lifetime1 = Table.Lifetime1 or 1
  1400. local Lifetime2 = Table.Lifetime2 or 1.5
  1401. local Parent = Table.Parent or Torso
  1402. local Emit = Table.Emit or 100
  1403. local Offset = Table.Offset or 360
  1404. local Acel = Table.Acel or VT(0,0,0)
  1405. local Enabled = Table.Enabled or false
  1406. PRTCL.Parent = Parent
  1407. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1408. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1409. PRTCL.Speed = NumberRange.new(Speed)
  1410. PRTCL.VelocitySpread = Offset
  1411. PRTCL.Drag = Drag
  1412. PRTCL.Acceleration = Acel
  1413. if Enabled == false then
  1414. PRTCL:Emit(Emit)
  1415. Debris:AddItem(PRTCL,Lifetime2)
  1416. else
  1417. PRTCL.Enabled = true
  1418. end
  1419. return PRTCL
  1420. end
  1421.  
  1422. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1423. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1424. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1425. MakeForm(Part,"Wedge")
  1426. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1427. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1428. MakeForm(Part,"Wedge")
  1429. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1430. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1431. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1432. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1433. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1434. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1435. MakeForm(Part,"Cyl")
  1436. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1437. for i = 1, 8 do
  1438. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1439. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1440. end
  1441. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1442. MakeForm(Part,"Cyl")
  1443. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1444. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1445. MakeForm(Part,"Ball")
  1446. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1447. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1448. MakeForm(Part,"Wedge")
  1449. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1450. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1451. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1452. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1453. MakeForm(Part,"Cyl")
  1454. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1455. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1456. MakeForm(Part,"Cyl")
  1457. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1458. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1459. MakeForm(Part,"Cyl")
  1460. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1461. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1462. MakeForm(Part,"Wedge")
  1463. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1464. local LASTPART = Handle
  1465. for i = 1, 10 do
  1466. if LASTPART == Handle then
  1467. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1468. LASTPART = Part
  1469. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1470. else
  1471. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1472. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1473. LASTPART = Part
  1474. end
  1475. end
  1476.  
  1477. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1478. MakeForm(Barrel,"Cyl")
  1479. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1480. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1481. MakeForm(Part,"Cyl")
  1482. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1483. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1484. MakeForm(Part,"Wedge")
  1485. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1486. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1487. MakeForm(Hole,"Cyl")
  1488. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1489. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1490. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1491. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1492. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1493. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1494. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1495. coroutine.resume(coroutine.create(function()
  1496. while wait() do
  1497. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1498. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1499. end
  1500. end))
  1501.  
  1502. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1503. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1504.  
  1505. for _, c in pairs(Weapon:GetDescendants()) do
  1506. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1507. c.Material = "Glass"
  1508. c.Color = C3(0,0,0)
  1509. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1510. c.Color = C3(1,0,0)
  1511. c.Material = "Neon"
  1512. end
  1513. end
  1514.  
  1515. Weapon.Parent = Character
  1516. for _, c in pairs(Weapon:GetChildren()) do
  1517. if c.ClassName == "Part" then
  1518. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1519. end
  1520. end
  1521.  
  1522. local SKILLTEXTCOLOR = C3(1,0,0)
  1523. local SKILLFONT = "Antique"
  1524. local SKILLTEXTSIZE = 7
  1525.  
  1526. Humanoid.Died:connect(function()
  1527. ATTACK = true
  1528. end)
  1529.  
  1530. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1531. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1532. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1533. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1534. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1535. ]]
  1536. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[e] Shot", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1537. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1538. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1539. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1540. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1541. ]]
  1542. function printbye(Name)
  1543. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1544. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1545. end
  1546.  
  1547. workspace.ChildAdded:connect(function(instance)
  1548. for BANISH = 1, #TOBANISH do
  1549. if TOBANISH[BANISH] ~= nil then
  1550. if instance.Name == TOBANISH[BANISH] then
  1551. coroutine.resume(coroutine.create(function()
  1552. printbye(instance.Name)
  1553. instance:ClearAllChildren()
  1554. Debris:AddItem(instance,0.0005)
  1555. end))
  1556. end
  1557. end
  1558. end
  1559. end)
  1560.  
  1561. --//=================================\\
  1562. --|| DAMAGING
  1563. --\\=================================//
  1564. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1565. coroutine.resume(coroutine.create(function()
  1566. local METEOR = IT("Model",Effects)
  1567. METEOR.Name = "Meteorite"
  1568. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1569. METEOR.PrimaryPart = CENTER
  1570. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1571. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1572. for i = 1, 15 do
  1573. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really black", "Fire", VT(5.1,1,5.1)*SIZE)
  1574. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1575. end
  1576. if ISDEBREE ~= true then
  1577. 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))))
  1578. else
  1579. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1580. end
  1581. local IMPACT = false
  1582. CreateSound(463593339, CENTER, 10, 0.6)
  1583. if SIZE >= 3.5 then
  1584. for i = 1, MRANDOM(3,7) do
  1585. 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)
  1586. end
  1587. end
  1588. for i = 1, 200 do
  1589. Swait()
  1590. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1591. if HITFLOOR == nil then
  1592. local ORI = CENTER.Orientation
  1593. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1594. else
  1595. if HITFLOOR.Anchored == true then
  1596. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1597. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1598. end
  1599. IMPACT = true
  1600. break
  1601. end
  1602. end
  1603. if IMPACT == true then
  1604. 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(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1605. 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(0,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1606. 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(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1607. ApplyAoE(CENTER.Position,30*SIZE)
  1608.  
  1609. end
  1610. METEOR:remove()
  1611. end))
  1612. end
  1613.  
  1614. function KillChildren(Char)
  1615. local NewCharacter = IT("Model",Effects)
  1616. NewCharacter.Name = "Ow im ded ;-;"
  1617. for _, c in pairs(Char:GetDescendants()) do
  1618. if c:IsA("BasePart") and c.Transparency == 0 then
  1619. if c.Parent == Char then
  1620. getbloody(c,5)
  1621. end
  1622. c:BreakJoints()
  1623. c.Material = "Glass"
  1624. c.Color = C3(0.5,0,0)
  1625. c.CanCollide = true
  1626. c.Transparency = 0.3
  1627. if c:FindFirstChildOfClass("SpecialMesh") then
  1628. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1629. end
  1630. if c.Name == "Head" then
  1631. c:ClearAllChildren()
  1632. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1633. end
  1634. if c.ClassName == "MeshPart" then
  1635. c.TextureID = ""
  1636. end
  1637. if c:FindFirstChildOfClass("BodyPosition") then
  1638. c:FindFirstChildOfClass("BodyPosition"):remove()
  1639. end
  1640. if c:FindFirstChildOfClass("ParticleEmitter") then
  1641. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1642. end
  1643. c.Parent = NewCharacter
  1644. c.Name = "DeadPart"
  1645. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1646. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1647. end
  1648. end
  1649. Char:remove()
  1650. Debris:AddItem(NewCharacter,5)
  1651. end
  1652.  
  1653. function Kill(Char)
  1654. local NewCharacter = IT("Model",Effects)
  1655. NewCharacter.Name = "Ow im ded ;-;"
  1656. for _, c in pairs(Char:GetDescendants()) do
  1657. if c:IsA("BasePart") and c.Transparency == 0 then
  1658. if c.Parent == Char then
  1659. getbloody(c,5)
  1660. end
  1661. c:BreakJoints()
  1662. c.Material = "Glass"
  1663. c.Color = C3(0.5,0,0)
  1664. c.CanCollide = true
  1665. c.Transparency = 0.3
  1666. if c:FindFirstChildOfClass("SpecialMesh") then
  1667. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1668. end
  1669. if c.Name == "Head" then
  1670. c:ClearAllChildren()
  1671. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1672. end
  1673. if c.ClassName == "MeshPart" then
  1674. c.TextureID = ""
  1675. end
  1676. if c:FindFirstChildOfClass("BodyPosition") then
  1677. c:FindFirstChildOfClass("BodyPosition"):remove()
  1678. end
  1679. if c:FindFirstChildOfClass("ParticleEmitter") then
  1680. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1681. end
  1682. c.Parent = NewCharacter
  1683. c.Name = "DeadPart"
  1684. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1685. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1686. end
  1687. end
  1688. Char:remove()
  1689. Debris:AddItem(NewCharacter,5)
  1690. end
  1691.  
  1692. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1693. local CHILDREN = workspace:GetDescendants()
  1694. for index, CHILD in pairs(CHILDREN) do
  1695. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1696. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1697. if HUM then
  1698. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1699. if TORSO then
  1700. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1701. if BRUTAL == true then
  1702. Kill(CHILD)
  1703. else
  1704. CHILD:BreakJoints()
  1705. end
  1706. end
  1707. end
  1708. end
  1709. end
  1710. end
  1711. end
  1712.  
  1713. function BulletDetection(FROM,TO,BRUTAL)
  1714. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1715. coroutine.resume(coroutine.create(function()
  1716. if AIMHIT ~= nil then
  1717. if AIMHIT.Parent ~= Character then
  1718. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1719. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1720. if BRUTAL == true then
  1721. Kill(AIMHIT.Parent)
  1722. else
  1723. getbloody(AIMHIT,15)
  1724. AIMHIT.Parent:BreakJoints()
  1725. if AIMHIT.Name == "Head" then
  1726. AIMHIT.Name = "HEADSHOT"
  1727. AIMHIT:remove()
  1728. end
  1729. end
  1730. else
  1731. if BRUTAL == true then
  1732. Kill(AIMHIT.Parent.Parent)
  1733. else
  1734. AIMHIT.Parent.Parent:BreakJoints()
  1735. end
  1736. end
  1737. end
  1738. end
  1739. end
  1740. end))
  1741. SpawnTrail(FROM,AIMPOS)
  1742. return AIMHIT,AIMPOS,NORMAL
  1743. end
  1744.  
  1745. local Weapon = nil
  1746. local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really black", "BraceletPart", VT(1.01,0.3,1.01),false)
  1747. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1748.  
  1749. function Charge(TIME,GYRO)
  1750. local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
  1751. local G = nil
  1752. if GYRO == true then
  1753. G = IT("BodyGyro",RootPart)
  1754. G.D = 250
  1755. G.P = 200000
  1756. G.MaxTorque = VT(math.huge,math.huge,math.huge)
  1757. end
  1758. for i=0, TIME, 0.1 / Animation_Speed do
  1759. Swait()
  1760. if G then
  1761. G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1762. end
  1763. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1764. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1765. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1766. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1767. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1768. 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)
  1769. 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)
  1770. end
  1771. SND:remove()
  1772. if G then
  1773. return G
  1774. end
  1775. end
  1776.  
  1777. function Banish(Foe)
  1778. if Foe then
  1779. coroutine.resume(coroutine.create(function()
  1780. --if game.Players:FindFirstChild(Foe.Name) then
  1781. table.insert(TOBANISH,Foe.Name)
  1782. printbye(Foe.Name)
  1783. --end
  1784. Foe.Archivable = true
  1785. local CLONE = Foe:Clone()
  1786. Foe:Destroy()
  1787. CLONE.Parent = Effects
  1788. CLONE:BreakJoints()
  1789. local MATERIALS = {"Glass","Neon"}
  1790. for _, c in pairs(CLONE:GetDescendants()) do
  1791. if c:IsA("BasePart") then
  1792. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1793. CreateSound(340722848, c, 10, 1, false)
  1794. end
  1795. c.Anchored = true
  1796. c.Transparency = c.Transparency + 0.2
  1797. c.Material = MATERIALS[MRANDOM(1,2)]
  1798. c.Color = C3(1,0,0)
  1799. if c.ClassName == "MeshPart" then
  1800. c.TextureID = ""
  1801. end
  1802. if c:FindFirstChildOfClass("SpecialMesh") then
  1803. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1804. end
  1805. if c:FindFirstChildOfClass("Decal") then
  1806. c:FindFirstChildOfClass("Decal"):remove()
  1807. end
  1808. c.Name = "Banished"
  1809. c.CanCollide = false
  1810. else
  1811. c:remove()
  1812. end
  1813. end
  1814. local A = false
  1815. for i = 1, 35 do
  1816. if A == false then
  1817. A = true
  1818. elseif A == true then
  1819. A = false
  1820. end
  1821. for _, c in pairs(CLONE:GetDescendants()) do
  1822. if c:IsA("BasePart") then
  1823. c.Anchored = true
  1824. c.Material = MATERIALS[MRANDOM(1,2)]
  1825. c.Transparency = c.Transparency + 0.8/35
  1826. if A == false then
  1827. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1828. elseif A == true then
  1829. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1830. end
  1831. end
  1832. end
  1833. Swait()
  1834. end
  1835. CLONE:remove()
  1836. end))
  1837. end
  1838. end
  1839.  
  1840. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1841. local CHILDREN = workspace:GetDescendants()
  1842. for index, CHILD in pairs(CHILDREN) do
  1843. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1844. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1845. if HUM then
  1846. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1847. if TORSO then
  1848. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1849. if ISBANISH == true then
  1850. Banish(CHILD)
  1851. else
  1852. if ISBANISH == "Gravity" then
  1853. HUM.PlatformStand = true
  1854. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1855. local grav = Instance.new("BodyPosition",TORSO)
  1856. grav.D = 15
  1857. grav.P = 20000
  1858. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1859. grav.position = TORSO.Position
  1860. grav.Name = "V3BanishForce"..Player.Name
  1861. else
  1862. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1863. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1864. end
  1865. else
  1866. HUM.PlatformStand = false
  1867. end
  1868. end
  1869. elseif ISBANISH == "Gravity" then
  1870. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1871. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1872. HUM.PlatformStand = false
  1873. end
  1874. end
  1875. end
  1876. end
  1877. end
  1878. end
  1879. end
  1880.  
  1881. --//=================================\\
  1882. --|| ATTACK FUNCTIONS AND STUFF
  1883. --\\=================================//
  1884. function Corrupted_Immobilization()
  1885. ATTACK = true
  1886. Rooted = true
  1887. Charge(2,false)
  1888. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso,3,1)
  1889. local SND = CreateSound(EXPLOSIONSOUND,RootPart,10,1,false)
  1890. local SND2 = CreateSound(ENERGYSOUND,RootPart,10,1,false)
  1891. for i = 1, 60 do
  1892. Swait()
  1893. ApplyAoE(RootPart.Position,i*1.3,10,20,-200,true)
  1894. SND.Pitch = SND.Pitch - 1/60
  1895. SND2.Pitch = SND.Pitch
  1896. WACKYEFFECT({TIME = 4, EffectType = "Wave", Size = VT(i*2,10,i*2), Size2 = VT(i*2,10,i*2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1897. WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,10,0), Size2 = VT(i*2,6,i*2), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1898. WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,6,0), Size2 = VT(i*1.6,10,i*1.6), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(MRANDOM(-5,5)), RAD(i*5), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1899. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1900. 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)
  1901. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1902. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(45), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1903. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1904. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1905. end
  1906. SND:remove()
  1907. SND2:remove()
  1908. ATTACK = false
  1909. Rooted = false
  1910. end
  1911.  
  1912. local OFFSET = 0
  1913. local TAUNT = false
  1914.  
  1915. function Taunt()
  1916. ATTACK = true
  1917. Rooted = false
  1918. TAUNT = true
  1919. for i=0, 0.1, 0.1 / Animation_Speed do
  1920. Swait()
  1921. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1922. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1923. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1924. end
  1925. for i=0, 3, 0.1 / Animation_Speed do
  1926. Swait()
  1927. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1928. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1929. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1930. end
  1931. CreateSound(363808674, Torso, 10, 1.3)
  1932. for i=0, 1, 0.1 / Animation_Speed do
  1933. Swait()
  1934. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  1935. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  1936. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1937. end
  1938. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Really black").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1939. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 0.8)
  1940. for i=0, 0.01, 0.1 / Animation_Speed do
  1941. Swait()
  1942. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1943. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1944. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1945. end
  1946. ATTACK = false
  1947. Rooted = false
  1948. TAUNT = false
  1949. end
  1950.  
  1951. function Click()
  1952. ATTACK = true
  1953. Rooted = false
  1954. local HIT = nil
  1955. OFFSET = -45
  1956. for i=0, 1, 0.1 / Animation_Speed do
  1957. Swait()
  1958. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1959. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1960. end
  1961. OFFSET = 45
  1962. local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "Hit", VT(0.7,0.7,0.7),false)
  1963. PUNCH.CanCollide = true
  1964. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
  1965. TAUNT = true
  1966. local TOUCH = PUNCH.Touched:Connect(function(hit)
  1967. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  1968. HIT = hit.Parent
  1969. end
  1970. end)
  1971. for i=0, 0.3, 0.1 / Animation_Speed do
  1972. Swait()
  1973. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3)
  1974. if HIT ~= nil then
  1975. break
  1976. end
  1977. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1978. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1979. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1980. end
  1981. PUNCH:remove()
  1982. TOUCH:disconnect()
  1983. if HIT ~= nil then
  1984. for _, c in pairs(HIT:GetChildren()) do
  1985. if c:IsA("BasePart") then
  1986. c.Anchored = true
  1987. end
  1988. end
  1989. Rooted = true
  1990. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 0.8)
  1991. CreateSound(1368573150, RightArm, 3, 1.5)
  1992. for i=0, 0.6, 0.1 / Animation_Speed do
  1993. Swait()
  1994. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1995. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(25), RAD(-45)), 0.05 / Animation_Speed)
  1996. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1997. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1998. end
  1999. for _, c in pairs(HIT:GetChildren()) do
  2000. if c:IsA("BasePart") then
  2001. c.Anchored = false
  2002. end
  2003. end
  2004. KillChildren(HIT)
  2005. end
  2006. OFFSET = 0
  2007. ATTACK = false
  2008. Rooted = false
  2009. TAUNT = false
  2010. end
  2011.  
  2012. function SpawnSmite(POS)
  2013. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  2014. local EMITPOS = HITPOS
  2015. if HITFLOOR ~= nil then
  2016. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  2017. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  2018. EMITPOS = HITPOS
  2019. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2020. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  2021. EMITPOS = HITPOS
  2022. end
  2023. end
  2024. if HITFLOOR ~= nil then
  2025. ApplyAoE(EMITPOS,10)
  2026. 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(0,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2027. 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(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2028. 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(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2029. for i = 1, 5 do
  2030. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  2031. 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(0,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2032. end
  2033. end
  2034. end
  2035.  
  2036. function Corrupted_Explosion()
  2037. ATTACK = true
  2038. Rooted = false
  2039. CreateSound(1368573150, RightArm, 3, 1.5)
  2040. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 3, 1)
  2041. for i=0, 0.6, 0.1 / Animation_Speed do
  2042. Swait()
  2043. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2044. 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)
  2045. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2046. end
  2047. local POWER = 0
  2048. repeat
  2049. Swait()
  2050. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2051. 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)
  2052. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2053. POWER = POWER + 0.5
  2054. if POWER >= 85 then
  2055. POWER = 85
  2056. end
  2057. until KEYHOLD == false
  2058. if POWER < 0.6 then
  2059. SpawnMeteor(Mouse.Hit.p)
  2060. else
  2061. if POWER < 15 then
  2062. POWER = 15
  2063. end
  2064. SpawnMeteor(Mouse.Hit.p,POWER/15)
  2065. end
  2066. ATTACK = false
  2067. Rooted = false
  2068. end
  2069.  
  2070. function Psyo()
  2071.  
  2072. end
  2073.  
  2074. function Cleve()
  2075.  
  2076. end
  2077. function Lock_n_Load()
  2078.  
  2079. end
  2080. function Morning_Star()
  2081. ATTACK = true
  2082. Rooted = true
  2083. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  2084. for i=0, 0.5, 0.1 / Animation_Speed do
  2085. Swait()
  2086. 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)
  2087. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2088. end
  2089. coroutine.resume(coroutine.create(function()
  2090. local POS = Mouse.Hit.p
  2091. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,2000,0))
  2092. MakeForm(RAY,"Cyl")
  2093. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  2094. MakeForm(SPHERE,"Ball")
  2095. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  2096. MakeForm(SHIELD,"Ball")
  2097. SHIELD.CFrame = CF(POS)
  2098. RAY.CFrame = CF(POS)
  2099. SPHERE.CFrame = CF(POS)
  2100. CreateSound(144699494, SPHERE, 10, 0.8, false)
  2101. CreateSound(1146688617, SPHERE, 10, 0.8, false)
  2102. for i = 1, 200 do
  2103. Swait()
  2104. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2105. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  2106. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  2107. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  2108. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  2109. end
  2110. for i = 1, 45 do
  2111. Swait()
  2112. RAY.Transparency = RAY.Transparency + 1/45
  2113. SPHERE.Transparency = RAY.Transparency
  2114. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2115. end
  2116. RAY:remove()
  2117. SHIELD:remove()
  2118. SPHERE:remove()
  2119. end))
  2120. for i=0, 0.1, 0.1 / Animation_Speed do
  2121. Swait()
  2122. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2123. end
  2124. ATTACK = false
  2125. Rooted = false
  2126. end
  2127. function Deathbound()
  2128.  
  2129. end
  2130. function Execute()
  2131.  
  2132. end
  2133.  
  2134. function Shot()
  2135. ATTACK = true
  2136. Rooted = false
  2137. for i=0, 0.4, 0.1 / Animation_Speed do
  2138. Swait()
  2139. turnto(Mouse.Hit.p)
  2140. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2141. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2142. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2143. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2144. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2145. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2146. end
  2147. repeat
  2148. for i=0, 0.2, 0.1 / Animation_Speed do
  2149. Swait()
  2150. turnto(Mouse.Hit.p)
  2151. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2152. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2153. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2154. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2155. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2156. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2157. end
  2158. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2159. SpawnTrail(Hole.Position,POS)
  2160. if HIT ~= nil then
  2161. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2162. Banish(HIT.Parent)
  2163. end
  2164. end
  2165. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2166. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2167. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2168. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2169. for i=0, 0.3, 0.1 / Animation_Speed do
  2170. Swait()
  2171. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2172. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2173. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2174. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2175. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2176. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2177. end
  2178. until KEYHOLD == false
  2179. ATTACK = false
  2180. Rooted = false
  2181. end
  2182.  
  2183. function AttackTemplate()
  2184. ATTACK = true
  2185. Rooted = false
  2186. for i=0, 1, 0.1 / Animation_Speed do
  2187. Swait()
  2188. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2189. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2190. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2191. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2192. 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)
  2193. 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)
  2194. end
  2195. ATTACK = false
  2196. Rooted = false
  2197. end
  2198.  
  2199. --//=================================\\
  2200. --|| ASSIGN THINGS TO KEYS
  2201. --\\=================================//
  2202. function KeyDown(Key)
  2203. KEYHOLD = true
  2204. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  2205. if Key == "z" and ATTACK == false then
  2206. Corrupted_Explosion()
  2207.  
  2208. elseif Key == "b" and ATTACK == false then
  2209. Corrupted_Immobilization()
  2210.  
  2211. elseif Key == "c" and ATTACK == false then
  2212. Cleave()
  2213.  
  2214. elseif Key == "v" and ATTACK == false then
  2215. Lock_n_Load()
  2216.  
  2217. elseif Key == "g" and ATTACK == false then
  2218. Deathbound()
  2219.  
  2220. elseif Key == "x" and ATTACK == false then
  2221. Morning_Star()
  2222.  
  2223. elseif Key == "t" then
  2224. Taunt()
  2225. end
  2226. end
  2227. end
  2228.  
  2229. function KeyUp(Key)
  2230. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  2231. KEYHOLD = false
  2232. end
  2233. end
  2234.  
  2235. Mouse.Button1Down:connect(function(NEWKEY)
  2236. MouseDown(NEWKEY)
  2237. end)
  2238. Mouse.Button1Up:connect(function(NEWKEY)
  2239. MouseUp(NEWKEY)
  2240. end)
  2241. Mouse.KeyDown:connect(function(NEWKEY)
  2242. KeyDown(NEWKEY)
  2243. end)
  2244. Mouse.KeyUp:connect(function(NEWKEY)
  2245. KeyUp(NEWKEY)
  2246. end)
  2247.  
  2248. function MouseDown(Mouse)
  2249. if ATTACK == false then
  2250. Shot()
  2251. end
  2252. end
  2253.  
  2254. function MouseUp(Mouse)
  2255. HOLD = false
  2256. end
  2257. --//=================================\\
  2258. --\\=================================//
  2259.  
  2260.  
  2261. function unanchor()
  2262. if UNANCHOR == true then
  2263. g = Character:GetChildren()
  2264. for i = 1, #g do
  2265. if g[i].ClassName == "Part" then
  2266. g[i].Anchored = false
  2267. end
  2268. end
  2269. end
  2270. end
  2271.  
  2272. function KeyDown(Key)
  2273. KEYHOLD = true
  2274. if Key == "e" and ATTACK == false then
  2275. Shot()
  2276. end
  2277. end
  2278.  
  2279. function MouseUp(Mouse)
  2280. HOLD = false
  2281. end
  2282.  
  2283. function KeyDown(Key)
  2284. KEYHOLD = true
  2285.  
  2286. if Key == "b" and ATTACK == false then
  2287. end
  2288.  
  2289. if Key == "c" and ATTACK == false then
  2290. end
  2291.  
  2292. if Key == "v" and ATTACK == false then
  2293. end
  2294.  
  2295. if Key == "x" and ATTACK == false then
  2296. end
  2297. end
  2298.  
  2299. function KeyUp(Key)
  2300. KEYHOLD = false
  2301. end
  2302.  
  2303. --//=================================\\
  2304. --\\=================================//
  2305.  
  2306.  
  2307. function unanchor()
  2308. if UNANCHOR == true then
  2309. g = Character:GetChildren()
  2310. for i = 1, #g do
  2311. if g[i].ClassName == "Part" then
  2312. g[i].Anchored = false
  2313. end
  2314. end
  2315. end
  2316. end
  2317.  
  2318.  
  2319. --//=================================\\
  2320. --|| WRAP THE WHOLE SCRIPT UP
  2321. --\\=================================//
  2322.  
  2323. Humanoid.Changed:connect(function(Jump)
  2324. if Jump == "Jump" and (Disable_Jump == true) then
  2325. Humanoid.Jump = false
  2326. end
  2327. end)
  2328.  
  2329. local SIZE = 1
  2330. while true do
  2331. Swait()
  2332. script.Parent = WEAPONGUI
  2333. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2334. v:Stop();
  2335. end
  2336. ANIMATE.Parent = nil
  2337. SINE = SINE + CHANGE*1.5
  2338. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2339. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2340. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2341. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2342. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2343. 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)
  2344. 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)
  2345. 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)
  2346. 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)
  2347. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2348. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2349. 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)
  2350. 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)
  2351. 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)
  2352. end
  2353. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2354. ANIM = "Jump"
  2355. if ATTACK == false then
  2356. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2357. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2358. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2359. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2360. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2361. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  2362. end
  2363. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2364. ANIM = "Fall"
  2365. if ATTACK == false then
  2366. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2367. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2368. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2369. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2370. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  2371. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  2372. end
  2373. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2374. ANIM = "Idle"
  2375. if ATTACK == false then
  2376. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2377. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2378. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(-85 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2379. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(15 - 2.5 * SIN(SINE / 12)), RAD(85 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2380. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2381. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2382. end
  2383. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2384. ANIM = "Walk"
  2385. if ATTACK == false then
  2386. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2387. 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)
  2388. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2389. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2390. 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)
  2391. 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)
  2392. end
  2393. end
  2394. unanchor()
  2395. Humanoid.MaxHealth = "inf"
  2396. Humanoid.Health = "inf"
  2397. if Rooted == false then
  2398. Disable_Jump = false
  2399. Humanoid.WalkSpeed = Speed
  2400. elseif Rooted == true then
  2401. Disable_Jump = true
  2402. Humanoid.WalkSpeed = 0
  2403. end
  2404. sick.Parent = Torso
  2405. sick:resume()
  2406. sick.Volume = 6
  2407. sick.Pitch = 1
  2408. sick.SoundId = "rbxassetid://425288156"
  2409. sick.Name = "Fallen God"
  2410. end
  2411.  
  2412. --//=================================\\
  2413. --\\=================================//
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419. --//====================================================\\--
  2420. --|| END OF SCRIPT
  2421. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement