Advertisement
cobblecorn

Untitled

Jun 4th, 2018
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.18 KB | None | 0 0
  1. script.Name = "Savior"
  2. --//====================================================\\--
  3. --|| CREATED BY SHACKLUSTER EDITED BY DUCKILES
  4. --\\====================================================//--
  5. script:ClearAllChildren()
  6. wait(0.2)
  7.  
  8. local txt = Instance.new("BillboardGui", Character)
  9. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  10. local velocity = RootPart.Velocity.y
  11. sound = Instance.new("Sound", Character)
  12. sound.SoundId = "rbxassetid://1872112157"
  13. sound.Volume = 7
  14. sound.EmitterSize = 25
  15. sound:Play()
  16. sound.Looped = true
  17. CV = "Maroon"
  18. Player = game.Players.LocalPlayer
  19. char = Player.Character
  20. local txt = Instance.new("BillboardGui", Character)
  21. txt.Adornee = Character.Head
  22. txt.Name = "_status"
  23. txt.Size = UDim2.new(2, 0, 1.2, 0)
  24. txt.StudsOffset = Vector3.new(-9, 8, 0)
  25. local text = Instance.new("TextLabel", txt)
  26. text.Size = UDim2.new(10, 0, 7, 0)
  27. text.FontSize = "Size24"
  28. text.TextScaled = true
  29. text.TextTransparency = 0
  30. text.BackgroundTransparency = 1
  31. text.TextTransparency = 0
  32. text.TextStrokeTransparency = 1
  33. text.Font = "Cartoon"
  34. v = Instance.new("Part")
  35. v.Name = "ColorBrick"
  36. v.Parent = Player.Character
  37. v.FormFactor = "Symmetric"
  38. v.Anchored = true
  39. v.CanCollide = false
  40. v.BottomSurface = "Smooth"
  41. v.TopSurface = "Smooth"
  42. v.Size = Vector3.new(10, 5, 3)
  43. v.Transparency = 1
  44. v.CFrame = Character.Torso.CFrame
  45. v.BrickColor = BrickColor.new(CV)
  46. v.Transparency = 1
  47. v.Shape = "Block"
  48. text.Text = "Cosmic Sheriff"
  49.  
  50.  
  51. Player = game:GetService("Players").LocalPlayer
  52. PlayerGui = Player.PlayerGui
  53. Cam = workspace.CurrentCamera
  54. Backpack = Player.Backpack
  55. Character = Player.Character
  56. Humanoid = Character.Humanoid
  57. Mouse = Player:GetMouse()
  58. RootPart = Character["HumanoidRootPart"]
  59. Torso = Character["Torso"]
  60. Head = Character["Head"]
  61. RightArm = Character["Right Arm"]
  62. LeftArm = Character["Left Arm"]
  63. RightLeg = Character["Right Leg"]
  64. LeftLeg = Character["Left Leg"]
  65. RootJoint = RootPart["RootJoint"]
  66. Neck = Torso["Neck"]
  67. RightShoulder = Torso["Right Shoulder"]
  68. LeftShoulder = Torso["Left Shoulder"]
  69. RightHip = Torso["Right Hip"]
  70. LeftHip = Torso["Left Hip"]
  71. local TIME = 0
  72. local sick = Instance.new("Sound",Torso)
  73.  
  74. IT = Instance.new
  75. CF = CFrame.new
  76. VT = Vector3.new
  77. RAD = math.rad
  78. C3 = Color3.new
  79. UD2 = UDim2.new
  80. BRICKC = BrickColor.new
  81. ANGLES = CFrame.Angles
  82. EULER = CFrame.fromEulerAnglesXYZ
  83. COS = math.cos
  84. ACOS = math.acos
  85. SIN = math.sin
  86. ASIN = math.asin
  87. ABS = math.abs
  88. MRANDOM = math.random
  89. FLOOR = math.floor
  90. if Player.name == "SenseiAdi" then
  91. warn("Enjoy friend ;3")
  92. end
  93. --//=================================\\
  94. --|| USEFUL VALUES
  95. --\\=================================//
  96.  
  97. Animation_Speed = 3
  98. local FORCERESET = false
  99. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  100. local Speed = 16
  101. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  102. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  103. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  104. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  105. local DAMAGEMULTIPLIER = 1
  106. local ANIM = "Idle"
  107. local ATTACK = false
  108. local EQUIPPED = false
  109. local HOLD = false
  110. local COMBO = 1
  111. local Rooted = false
  112. local SINE = 0
  113. local KEYHOLD = false
  114. local CHANGE = 2 / Animation_Speed
  115. local WALKINGANIM = false
  116. local VALUE1 = false
  117. local VALUE2 = false
  118. local ROBLOXIDLEANIMATION = IT("Animation")
  119. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  120. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  121. --ROBLOXIDLEANIMATION.Parent = Humanoid
  122. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  123. WEAPONGUI.Name = "BanishV3Gui"
  124. local Weapon = IT("Model")
  125. Weapon.Name = "Adds"
  126. local Effects = IT("Folder", Weapon)
  127. Effects.Name = "Effects"
  128. local ANIMATOR = Humanoid.Animator
  129. local ANIMATE = Character:FindFirstChild("Animate")
  130. local UNANCHOR = true
  131. local TOBANISH = {}
  132. script.Parent = PlayerGui
  133. Player_Size = 1 --Size of the player.
  134. local EXTRATRANS = 0
  135. local Effects2 = {}
  136. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  137. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  138. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  139. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  140. local SIZE = 2
  141. local SKILLTEXTCOLOR = C3(0,0,0)
  142. local SKILLTEXTCOLOR2 = C3(1,0,0)
  143. --//=================================\\
  144. --\\=================================//
  145.  
  146.  
  147. --//=================================\\
  148. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  149. --\\=================================//
  150.  
  151. ArtificialHB = Instance.new("BindableEvent", script)
  152. ArtificialHB.Name = "ArtificialHB"
  153.  
  154. script:WaitForChild("ArtificialHB")
  155.  
  156. frame = Frame_Speed
  157. tf = 0
  158. allowframeloss = false
  159. tossremainder = false
  160. lastframe = tick()
  161. script.ArtificialHB:Fire()
  162.  
  163. game:GetService("RunService").Heartbeat:connect(function(s, p)
  164. tf = tf + s
  165. if tf >= frame then
  166. if allowframeloss then
  167. script.ArtificialHB:Fire()
  168. lastframe = tick()
  169. else
  170. for i = 1, math.floor(tf / frame) do
  171. script.ArtificialHB:Fire()
  172. end
  173. lastframe = tick()
  174. end
  175. if tossremainder then
  176. tf = 0
  177. else
  178. tf = tf - frame * math.floor(tf / frame)
  179. end
  180. end
  181. end)
  182.  
  183. --//=================================\\
  184. --\\=================================//
  185.  
  186. --//=================================\\
  187. --|| SOME FUNCTIONS
  188. --\\=================================//
  189.  
  190. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  191. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  192. end
  193.  
  194. function PositiveAngle(NUMBER)
  195. if NUMBER >= 0 then
  196. NUMBER = 0
  197. end
  198. return NUMBER
  199. end
  200.  
  201. function NegativeAngle(NUMBER)
  202. if NUMBER <= 0 then
  203. NUMBER = 0
  204. end
  205. return NUMBER
  206. end
  207.  
  208. function Swait(NUMBER)
  209. if NUMBER == 0 or NUMBER == nil then
  210. ArtificialHB.Event:wait()
  211. else
  212. for i = 1, NUMBER do
  213. ArtificialHB.Event:wait()
  214. end
  215. end
  216. end
  217.  
  218. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  219. local NEWMESH = IT(MESH)
  220. if MESH == "SpecialMesh" then
  221. NEWMESH.MeshType = MESHTYPE
  222. if MESHID ~= "nil" and MESHID ~= "" then
  223. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  224. end
  225. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  226. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  227. end
  228. end
  229. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  230. NEWMESH.Scale = SCALE
  231. NEWMESH.Parent = PARENT
  232. return NEWMESH
  233. end
  234.  
  235. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  236. local NEWPART = IT("Part")
  237. NEWPART.formFactor = FORMFACTOR
  238. NEWPART.Reflectance = REFLECTANCE
  239. NEWPART.Transparency = TRANSPARENCY
  240. NEWPART.CanCollide = false
  241. NEWPART.Locked = true
  242. NEWPART.Anchored = true
  243. if ANCHOR == false then
  244. NEWPART.Anchored = false
  245. end
  246. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  247. NEWPART.Name = NAME
  248. NEWPART.Size = SIZE
  249. NEWPART.Position = Torso.Position
  250. NEWPART.Material = MATERIAL
  251. NEWPART:BreakJoints()
  252. NEWPART.Parent = PARENT
  253. return NEWPART
  254. end
  255.  
  256. local function weldBetween(a, b)
  257. local weldd = Instance.new("ManualWeld")
  258. weldd.Part0 = a
  259. weldd.Part1 = b
  260. weldd.C0 = CFrame.new()
  261. weldd.C1 = b.CFrame:inverse() * a.CFrame
  262. weldd.Parent = a
  263. return weldd
  264. end
  265.  
  266.  
  267. function QuaternionFromCFrame(cf)
  268. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  269. local trace = m00 + m11 + m22
  270. if trace > 0 then
  271. local s = math.sqrt(1 + trace)
  272. local recip = 0.5 / s
  273. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  274. else
  275. local i = 0
  276. if m11 > m00 then
  277. i = 1
  278. end
  279. if m22 > (i == 0 and m00 or m11) then
  280. i = 2
  281. end
  282. if i == 0 then
  283. local s = math.sqrt(m00 - m11 - m22 + 1)
  284. local recip = 0.5 / s
  285. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  286. elseif i == 1 then
  287. local s = math.sqrt(m11 - m22 - m00 + 1)
  288. local recip = 0.5 / s
  289. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  290. elseif i == 2 then
  291. local s = math.sqrt(m22 - m00 - m11 + 1)
  292. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  293. end
  294. end
  295. end
  296.  
  297. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  298. local xs, ys, zs = x + x, y + y, z + z
  299. local wx, wy, wz = w * xs, w * ys, w * zs
  300. local xx = x * xs
  301. local xy = x * ys
  302. local xz = x * zs
  303. local yy = y * ys
  304. local yz = y * zs
  305. local zz = z * zs
  306. 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))
  307. end
  308.  
  309. function QuaternionSlerp(a, b, t)
  310. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  311. local startInterp, finishInterp;
  312. if cosTheta >= 0.0001 then
  313. if (1 - cosTheta) > 0.0001 then
  314. local theta = ACOS(cosTheta)
  315. local invSinTheta = 1 / SIN(theta)
  316. startInterp = SIN((1 - t) * theta) * invSinTheta
  317. finishInterp = SIN(t * theta) * invSinTheta
  318. else
  319. startInterp = 1 - t
  320. finishInterp = t
  321. end
  322. else
  323. if (1 + cosTheta) > 0.0001 then
  324. local theta = ACOS(-cosTheta)
  325. local invSinTheta = 1 / SIN(theta)
  326. startInterp = SIN((t - 1) * theta) * invSinTheta
  327. finishInterp = SIN(t * theta) * invSinTheta
  328. else
  329. startInterp = t - 1
  330. finishInterp = t
  331. end
  332. end
  333. 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
  334. end
  335.  
  336. function Clerp(a, b, t)
  337. local qa = {QuaternionFromCFrame(a)}
  338. local qb = {QuaternionFromCFrame(b)}
  339. local ax, ay, az = a.x, a.y, a.z
  340. local bx, by, bz = b.x, b.y, b.z
  341. local _t = 1 - t
  342. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  343. end
  344.  
  345. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  346. local frame = IT("Frame")
  347. frame.BackgroundTransparency = TRANSPARENCY
  348. frame.BorderSizePixel = BORDERSIZEPIXEL
  349. frame.Position = POSITION
  350. frame.Size = SIZE
  351. frame.BackgroundColor3 = COLOR
  352. frame.BorderColor3 = BORDERCOLOR
  353. frame.Name = NAME
  354. frame.Parent = PARENT
  355. return frame
  356. end
  357.  
  358. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  359. local label = IT("TextLabel")
  360. label.BackgroundTransparency = 1
  361. label.Size = UD2(1, 0, 1, 0)
  362. label.Position = UD2(0, 0, 0, 0)
  363. label.TextColor3 = TEXTCOLOR
  364. label.TextStrokeTransparency = STROKETRANSPARENCY
  365. label.TextTransparency = TRANSPARENCY
  366. label.FontSize = TEXTFONTSIZE
  367. label.Font = TEXTFONT
  368. label.BorderSizePixel = BORDERSIZEPIXEL
  369. label.TextScaled = false
  370. label.Text = TEXT
  371. label.Name = NAME
  372. label.Parent = PARENT
  373. return label
  374. end
  375.  
  376. function NoOutlines(PART)
  377. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  378. end
  379.  
  380. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  381. local NEWWELD = IT(TYPE)
  382. NEWWELD.Part0 = PART0
  383. NEWWELD.Part1 = PART1
  384. NEWWELD.C0 = C0
  385. NEWWELD.C1 = C1
  386. NEWWELD.Parent = PARENT
  387. return NEWWELD
  388. end
  389.  
  390. local S = IT("Sound")
  391. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  392. local NEWSOUND = nil
  393. coroutine.resume(coroutine.create(function()
  394. NEWSOUND = S:Clone()
  395. NEWSOUND.Parent = PARENT
  396. NEWSOUND.Volume = VOLUME
  397. NEWSOUND.Pitch = PITCH
  398. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  399. NEWSOUND:play()
  400. if DOESLOOP == true then
  401. NEWSOUND.Looped = true
  402. else
  403. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  404. NEWSOUND:remove()
  405. end
  406. end))
  407. return NEWSOUND
  408. end
  409.  
  410. function CFrameFromTopBack(at, top, back)
  411. local right = top:Cross(back)
  412. 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)
  413. end
  414.  
  415. --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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  416. function WACKYEFFECT(Table)
  417. local TYPE = (Table.EffectType or "Sphere")
  418. local SIZE = (Table.Size or VT(1,1,1))
  419. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  420. local TRANSPARENCY = (Table.Transparency or 0)
  421. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  422. local CFRAME = (Table.CFrame or Torso.CFrame)
  423. local MOVEDIRECTION = (Table.MoveToPos or nil)
  424. local ROTATION1 = (Table.RotationX or 0)
  425. local ROTATION2 = (Table.RotationY or 0)
  426. local ROTATION3 = (Table.RotationZ or 0)
  427. local MATERIAL = (Table.Material or "Neon")
  428. local COLOR = (Table.Color or C3(0,0,0))
  429. local TIME = (Table.Time or 45)
  430. local SOUNDID = (Table.SoundID or nil)
  431. local SOUNDPITCH = (Table.SoundPitch or nil)
  432. local SOUNDVOLUME = (Table.SoundVolume or nil)
  433. coroutine.resume(coroutine.create(function()
  434. local PLAYSSOUND = false
  435. local SOUND = nil
  436. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  437. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  438. PLAYSSOUND = true
  439. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  440. end
  441. EFFECT.Color = COLOR
  442. local MSH = nil
  443. if TYPE == "Sphere" then
  444. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  445. elseif TYPE == "Block" then
  446. MSH = IT("BlockMesh",EFFECT)
  447. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  448. elseif TYPE == "Wave" then
  449. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  450. elseif TYPE == "Ring" then
  451. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  452. elseif TYPE == "Slash" then
  453. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  454. elseif TYPE == "Round Slash" then
  455. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  456. elseif TYPE == "Swirl" then
  457. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  458. elseif TYPE == "Skull" then
  459. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  460. elseif TYPE == "Crystal" then
  461. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  462. end
  463. if MSH ~= nil then
  464. local MOVESPEED = nil
  465. if MOVEDIRECTION ~= nil then
  466. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  467. end
  468. local GROWTH = SIZE - ENDSIZE
  469. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  470. if TYPE == "Block" then
  471. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  472. else
  473. EFFECT.CFrame = CFRAME
  474. end
  475. for LOOP = 1, TIME+1 do
  476. Swait()
  477. MSH.Scale = MSH.Scale - GROWTH/TIME
  478. if TYPE == "Wave" then
  479. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  480. end
  481. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  482. if TYPE == "Block" then
  483. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  484. else
  485. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  486. end
  487. if MOVEDIRECTION ~= nil then
  488. local ORI = EFFECT.Orientation
  489. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  490. EFFECT.Orientation = ORI
  491. end
  492. end
  493. if PLAYSSOUND == false then
  494. EFFECT:remove()
  495. else
  496. SOUND.Stopped:Connect(function()
  497. EFFECT:remove()
  498. end)
  499. end
  500. else
  501. if PLAYSSOUND == false then
  502. EFFECT:remove()
  503. else
  504. repeat Swait() until SOUND.Playing == false
  505. EFFECT:remove()
  506. end
  507. end
  508. end))
  509. end
  510. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  511. function Lightning(Table)
  512. local Color = Table.Color or C3(1,1,1)
  513. local StartPos = Table.Start or Torso.Position
  514. local EndPos = Table.End or Mouse.Hit.p
  515. local SegmentLength = Table.SegmentL or 2
  516. local Thickness = Table.Thickness or 0.1
  517. local Dissapear = Table.DoesFade or false
  518. local Parent = Table.Ignore or Character
  519. local MaxDist = Table.MaxDist or 400
  520. local Branches = Table.Branches or false
  521. local Thicken = Table.Thicken or false
  522. local FadeTime = Table.FadeTime or 15
  523. local FadeIn = Table.FadeIn or false
  524. local Material = Table.Material or "Neon"
  525. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  526. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  527. local LIGHTNINGMODEL = IT("Model",Effects)
  528. LIGHTNINGMODEL.Name = "Lightning"
  529. local LastBolt = nil
  530. for E = 1, DISTANCE do
  531. local ExtraSize = 0
  532. if Thicken == true then
  533. ExtraSize = (DISTANCE-E)/15
  534. end
  535. local TRANSPARENCY = 0
  536. if FadeIn == true then
  537. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  538. if TRANSPARENCY < 0 then
  539. TRANSPARENCY = 0
  540. end
  541. end
  542. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  543. PART.Color = Color
  544. MakeForm(PART,"Cyl")
  545. if LastBolt == nil then
  546. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  547. else
  548. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  549. end
  550. LastBolt = PART
  551. if Branches == true and E < (DISTANCE-5) then
  552. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  553. if CHOICE == 1 then
  554. local LASTBRANCH = nil
  555. for i = 1, MRANDOM(2,5) do
  556. local ExtraSize2 = 0
  557. if Thicken == true then
  558. ExtraSize = ((DISTANCE-E)/25)/i
  559. end
  560. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  561. PART.Color = Color
  562. MakeForm(PART,"Cyl")
  563. if LASTBRANCH == nil then
  564. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  565. else
  566. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  567. end
  568. LASTBRANCH = PART
  569. end
  570. end
  571. end
  572. end
  573. if Dissapear == true then
  574. coroutine.resume(coroutine.create(function()
  575. for i = 1, FadeTime do
  576. Swait()
  577. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  578. if c.ClassName == "Part" then
  579. c.Transparency = c.Transparency + (i/FadeTime)/10
  580. end
  581. end
  582. end
  583. LIGHTNINGMODEL:remove()
  584. end))
  585. elseif Dissapear == false then
  586. Debris:AddItem(LIGHTNINGMODEL,0.1)
  587. end
  588. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  589. end
  590. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  591. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  592. wave.Color = COLOR
  593. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  594. wave.CFrame = CFRAME
  595. coroutine.resume(coroutine.create(function(PART)
  596. for i = 1, WAIT do
  597. Swait()
  598. mesh.Scale = mesh.Scale + GROW
  599. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  600. if DOESROT == true then
  601. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  602. end
  603. wave.Transparency = wave.Transparency + (0.5/WAIT)
  604. if wave.Transparency > 0.99 then
  605. wave:remove()
  606. end
  607. end
  608. end))
  609. end
  610.  
  611. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  612. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  613. wave.Color = COLOR
  614. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  615. wave.CFrame = CFRAME
  616. coroutine.resume(coroutine.create(function(PART)
  617. for i = 1, WAIT do
  618. Swait()
  619. mesh.Scale = mesh.Scale + GROW
  620. wave.Transparency = wave.Transparency + (1/WAIT)
  621. if wave.Transparency > 0.99 then
  622. wave:remove()
  623. end
  624. end
  625. end))
  626. end
  627. function MakeForm(PART,TYPE)
  628. if TYPE == "Cyl" then
  629. local MSH = IT("BlockMesh",PART)
  630. elseif TYPE == "Ball" then
  631. local MSH = IT("SpecialMesh",PART)
  632. MSH.MeshType = "Sphere"
  633. elseif TYPE == "Cyl2" then
  634. local MSH = IT("CylinderMesh",PART)
  635. elseif TYPE == "Wedge" then
  636. local MSH = IT("SpecialMesh",PART)
  637. MSH.MeshType = "Wedge"
  638. end
  639. end
  640.  
  641. function SpawnTrail(FROM,TO,BIG)
  642. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Light gray", "Trail", VT(0,0,0))
  643. MakeForm(TRAIL,"Cyl")
  644. local DIST = (FROM - TO).Magnitude
  645. if BIG == true then
  646. TRAIL.Size = VT(0.5,DIST,0.5)
  647. else
  648. TRAIL.Size = VT(0.25,DIST,0.25)
  649. end
  650. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  651. coroutine.resume(coroutine.create(function()
  652. for i = 1, 5 do
  653. Swait()
  654. TRAIL.Transparency = TRAIL.Transparency + 0.1
  655. end
  656. TRAIL:remove()
  657. end))
  658. end
  659.  
  660. Debris = game:GetService("Debris")
  661.  
  662. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  663. local DIRECTION = CF(StartPos,EndPos).lookVector
  664. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  665. end
  666.  
  667. function turnto(position)
  668. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  669. end
  670.  
  671. --//=================================\\
  672. --|| WEAPON CREATION
  673. --\\=================================//
  674.  
  675. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  676. PRT.Color = C3(0,0,0)
  677. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  678. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  679. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  680. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  681. for i = 1, 16 do
  682. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  683. FACE.Color = C3(0,0,0)
  684. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  685. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  686. end
  687. local EYE = CreatePart(0, Character, "Neon", 0, 3, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  688. MakeForm(EYE,"Ball")
  689. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  690. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  691. MakeForm(EYE2,"Ball")
  692. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  693. local LASTPART = Head
  694. for i = 1, 20 do
  695. local MATH = (1-(i/25))
  696. if LASTPART == Head then
  697. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  698. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  699. LASTPART = Horn
  700. Horn.Color = C3((i*3-3)/255,0,0)
  701. else
  702. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  703. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.5, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  704. LASTPART = Horn
  705. Horn.Color = C3((i*3-3)/255,0,0)
  706. end
  707. end
  708. local LASTPART = Head
  709. for i = 1, 20 do
  710. local MATH = (1-(i/25))
  711. if LASTPART == Head then
  712. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  713. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  714. LASTPART = Horn
  715. Horn.Color = C3((i*3-3)/0,0,204)
  716. else
  717. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  718. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.5, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  719. LASTPART = Horn
  720. Horn.Color = C3((i*3-3)/0,0,204)
  721. end
  722. end
  723.  
  724.  
  725. local Particle = IT("ParticleEmitter",nil)
  726. Particle.Enabled = false
  727. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  728. Particle.LightEmission = 1
  729. Particle.Rate = 200
  730. Particle.ZOffset = 0.2
  731. Particle.Rotation = NumberRange.new(-180, 180)
  732. Particle.RotSpeed = NumberRange.new(-180, 180)
  733. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  734. Particle.Color = ColorSequence.new(C3(0,0,204),C3(250,0,0))
  735.  
  736. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  737. function ParticleEmitter(Table)
  738. local PRTCL = Particle:Clone()
  739. local Speed = Table.Speed or 5
  740. local Drag = Table.Drag or 0
  741. local Size1 = Table.Size1 or 1
  742. local Size2 = Table.Size2 or 5
  743. local Lifetime1 = Table.Lifetime1 or 1
  744. local Lifetime2 = Table.Lifetime2 or 1.5
  745. local Parent = Table.Parent or Torso
  746. local Emit = Table.Emit or 100
  747. local Offset = Table.Offset or 360
  748. local Acel = Table.Acel or VT(0,0,0)
  749. local Enabled = Table.Enabled or false
  750. PRTCL.Parent = Parent
  751. PRTCL.Size = NumberSequence.new(Size1,Size2)
  752. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  753. PRTCL.Speed = NumberRange.new(Speed)
  754. PRTCL.VelocitySpread = Offset
  755. PRTCL.Drag = Drag
  756. PRTCL.Acceleration = Acel
  757. if Enabled == false then
  758. PRTCL:Emit(Emit)
  759. Debris:AddItem(PRTCL,Lifetime2)
  760. else
  761. PRTCL.Enabled = true
  762. end
  763. return PRTCL
  764. end
  765.  
  766.  
  767. local Handle = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.6,0.2),false)
  768. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  769. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.5,0.2),false)
  770. MakeForm(Part,"Wedge")
  771. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  772. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.3,0.2),false)
  773. MakeForm(Part,"Wedge")
  774. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  775. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.3,0.3),false)
  776. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  777. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.5,0.5),false)
  778. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  779. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.4,0.4,0.4),false)
  780. MakeForm(Part,"Cyl")
  781. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  782. for i = 1, 8 do
  783. local Piece = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0,0.35,0.41),false)
  784. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  785. end
  786. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0.38,0.41,0.38),false)
  787. MakeForm(Part,"Cyl")
  788. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  789. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.37,0.5,0.37),false)
  790. MakeForm(Part,"Ball")
  791. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  792. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.7,0.4),false)
  793. MakeForm(Part,"Wedge")
  794. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  795. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.4,0.2),false)
  796. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  797. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.35,0.35,0.35),false)
  798. MakeForm(Part,"Cyl")
  799. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  800. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.5,0.1,0.5),false)
  801. MakeForm(Part,"Cyl")
  802. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  803. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.5,0.1,0.45),false)
  804. MakeForm(Part,"Cyl")
  805. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  806. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.5,0.2),false)
  807. MakeForm(Part,"Wedge")
  808. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  809. local LASTPART = Handle
  810. for i = 1, 10 do
  811. if LASTPART == Handle then
  812. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.1,0.2,0),false)
  813. LASTPART = Part
  814. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  815. else
  816. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.1,0.05,0),false)
  817. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  818. LASTPART = Part
  819. end
  820. end
  821.  
  822. local Barrel = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.15,2,0.15),false)
  823. MakeForm(Barrel,"Cyl")
  824. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  825. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.25,1,0.25),false)
  826. MakeForm(Part,"Cyl")
  827. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  828. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0,0.1,0.2),false)
  829. MakeForm(Part,"Wedge")
  830. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  831. local Hole = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0.125,0,0.125),false)
  832. MakeForm(Hole,"Cyl")
  833. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  834. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0,0,0),false)
  835. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  836. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  837. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0.5, "Light gray", "Eye", VT(0,0,0),false)
  838. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  839. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  840. coroutine.resume(coroutine.create(function()
  841. while wait() do
  842. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  843. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  844. end
  845. end))
  846.  
  847. 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)})
  848. --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)})
  849.  
  850. for _, c in pairs(Weapon:GetDescendants()) do
  851. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  852. c.Material = "Glass"
  853. c.Color = C3(0,0,0)
  854. elseif c.ClassName == "Part" and c.Name == "Eye" then
  855. c.Color = C3(0,0,0)
  856. c.Material = "Neon"
  857. end
  858. end
  859.  
  860. Weapon.Parent = Character
  861. for _, c in pairs(Weapon:GetChildren()) do
  862. if c.ClassName == "Part" then
  863. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  864. end
  865. end
  866.  
  867. local BODY = {}
  868. for _, c in pairs(Character:GetDescendants()) do
  869. if c:IsA("BasePart") and c.Name ~= "Handle" then
  870. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  871. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  872. end
  873. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  874. elseif c:IsA("JointInstance") then
  875. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  876. end
  877. end
  878. for e = 1, #BODY do
  879. if BODY[e] ~= nil then
  880. local STUFF = BODY[e]
  881. local PART = STUFF[1]
  882. local PARENT = STUFF[2]
  883. local MATERIAL = STUFF[3]
  884. local COLOR = STUFF[4]
  885. local TRANSPARENCY = STUFF[5]
  886. if PART.ClassName == "Part" and PART ~= RootPart then
  887. PART.Material = MATERIAL
  888. PART.Color = COLOR
  889. PART.Transparency = TRANSPARENCY
  890. end
  891. PART.AncestryChanged:Connect(function()
  892. PART.Parent = PARENT
  893. end)
  894. end
  895. end
  896. function refit()
  897. Character.Parent = workspace
  898. for e = 1, #BODY do
  899. if BODY[e] ~= nil then
  900. local STUFF = BODY[e]
  901. local PART = STUFF[1]
  902. local PARENT = STUFF[2]
  903. local MATERIAL = STUFF[3]
  904. local COLOR = STUFF[4]
  905. local TRANSPARENCY = STUFF[5]
  906. if PART:IsA("BasePart") and PART ~= RootPart then
  907. PART.Material = MATERIAL
  908. PART.Color = COLOR
  909. PART.Transparency = TRANSPARENCY+EXTRATRANS
  910. end
  911. if PART.Parent ~= PARENT then
  912. Humanoid:remove()
  913. PART.Parent = PARENT
  914. Humanoid = IT("Humanoid",Character)
  915. end
  916. end
  917. end
  918. end
  919.  
  920. Humanoid.Died:connect(function()
  921. refit()
  922. end)
  923.  
  924. local SKILLTEXTCOLOR = C3(0,0,0)
  925. local SKILLFONT = "Antique"
  926. local SKILLTEXTSIZE = 7
  927.  
  928. Humanoid.Died:connect(function()
  929. ATTACK = true
  930. end)
  931. 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")
  932. 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")
  933. 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")
  934. 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")
  935. 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")
  936. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.100, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  937.  
  938. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Darkness", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0.7, "Text 1")
  939. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Death", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0.7, "Text 2")
  940. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Break", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  941. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Madness", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  942. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
  943. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 1, "Text 5")
  944. function printbye(Name)
  945. 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, "}
  946. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  947. end
  948.  
  949. workspace.ChildAdded:connect(function(instance)
  950. for BANISH = 1, #TOBANISH do
  951. if TOBANISH[BANISH] ~= nil then
  952. if instance.Name == TOBANISH[BANISH] then
  953. coroutine.resume(coroutine.create(function()
  954. printbye(instance.Name)
  955. instance:ClearAllChildren()
  956. Debris:AddItem(instance,0.0005)
  957. end))
  958. end
  959. end
  960. end
  961. end)
  962.  
  963. --//=================================\\
  964. --|| DAMAGING
  965. --\\=================================//
  966.  
  967. local asd = Instance.new("ParticleEmitter")
  968. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  969. asd.LightEmission = .1
  970. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  971. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  972. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  973. asd.Transparency = bbb
  974. asd.Size = aaa
  975. asd.ZOffset = .9
  976. asd.Acceleration = Vector3.new(0, -15, 0)
  977. asd.LockedToPart = false
  978. asd.EmissionDirection = "Back"
  979. asd.Lifetime = NumberRange.new(1, 2)
  980. asd.Rotation = NumberRange.new(-100, 100)
  981. asd.RotSpeed = NumberRange.new(-100, 100)
  982. asd.Speed = NumberRange.new(10)
  983. asd.Enabled = false
  984. asd.VelocitySpread = 999
  985. function getbloody(victim,amount)
  986. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  987. PART.CFrame = victim.CFrame
  988. local HITPLAYERSOUNDS = {"356551938","264486467"}
  989. Debris:AddItem(PART,5)
  990. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  991. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  992. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  993. local prtcl = asd:Clone()
  994. prtcl.Parent = PART
  995. prtcl:Emit(amount*10)
  996. end
  997. function Banish(Char)
  998. local NewCharacter = Instance.new("Model",Effects)
  999. NewCharacter.Name = "Ow im ded ;-;"
  1000. for _, c in pairs(Char:GetDescendants()) do
  1001. if c:IsA("BasePart") and c.Transparency == 0 then
  1002. if c.Parent == Char then
  1003. getbloody(c,5)
  1004. end
  1005. c:BreakJoints()
  1006. c.Material = "Glass"
  1007. c.Color = C3(0.5,0,0)
  1008. c.CanCollide = true
  1009. c.Transparency = 0.3
  1010. if c:FindFirstChildOfClass("SpecialMesh") then
  1011. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1012. end
  1013. if c.Name == "Head" then
  1014. c:ClearAllChildren()
  1015. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1016. end
  1017. if c.ClassName == "MeshPart" then
  1018. c.TextureID = ""
  1019. end
  1020. if c:FindFirstChildOfClass("BodyPosition") then
  1021. c:FindFirstChildOfClass("BodyPosition"):remove()
  1022. end
  1023. if c:FindFirstChildOfClass("ParticleEmitter") then
  1024. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1025. end
  1026. c.Parent = NewCharacter
  1027. c.Name = "DeadPart"
  1028. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1029. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1030. end
  1031. end
  1032. Char:remove()
  1033. Debris:AddItem(NewCharacter,5)
  1034. end
  1035.  
  1036. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1037. local CHILDREN = workspace:GetDescendants()
  1038. for index, CHILD in pairs(CHILDREN) do
  1039. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1040. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1041. if HUM then
  1042. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1043. if TORSO then
  1044. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1045. if ISBANISH == true then
  1046. Banish(CHILD)
  1047. else
  1048. if ISBANISH == "Gravity" then
  1049. HUM.PlatformStand = true
  1050. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1051. local grav = Instance.new("BodyPosition",TORSO)
  1052. grav.D = 15
  1053. grav.P = 20000
  1054. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1055. grav.position = TORSO.Position
  1056. grav.Name = "V3BanishForce"..Player.Name
  1057. else
  1058. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1059. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1060. end
  1061. else
  1062. HUM.PlatformStand = false
  1063. end
  1064. end
  1065. elseif ISBANISH == "Gravity" then
  1066. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1067. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1068. HUM.PlatformStand = false
  1069. end
  1070. end
  1071. end
  1072. end
  1073. end
  1074. end
  1075. end
  1076. function ApplyKill(POSITION,RANGE,BRUTAL)
  1077. local CHILDREN = workspace:GetDescendants()
  1078. for index, CHILD in pairs(CHILDREN) do
  1079. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1080. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1081. if HUM then
  1082. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1083. if TORSO then
  1084. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1085. if BRUTAL == true then
  1086. Banish(CHILD)
  1087. else
  1088. CHILD:BreakJoints()
  1089. end
  1090. end
  1091. end
  1092. end
  1093. end
  1094. end
  1095. end
  1096. --//=================================\\
  1097. --|| ATTACK FUNCTIONS AND STUFF
  1098. --\\=================================//
  1099. function Kill(Foe)
  1100. if Foe then
  1101. coroutine.resume(coroutine.create(function()
  1102. --if game.Players:FindFirstChild(Foe.Name) then
  1103. table.insert(TOBANISH,Foe.Name)
  1104. printbye(Foe.Name)
  1105. --end
  1106. Foe.Archivable = true
  1107. local CLONE = Foe:Clone()
  1108. Foe:Destroy()
  1109. CLONE.Parent = Effects
  1110. CLONE:BreakJoints()
  1111. local MATERIALS = {"Glass","Neon"}
  1112. for _, c in pairs(CLONE:GetDescendants()) do
  1113. if c:IsA("BasePart") then
  1114. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1115. CreateSound(340722848, c, 10, 1, false)
  1116. end
  1117. c.Anchored = true
  1118. c.Transparency = c.Transparency + 0.2
  1119. c.Material = MATERIALS[MRANDOM(1,2)]
  1120. c.Color = C3(0,0,0)
  1121. if c.ClassName == "MeshPart" then
  1122. c.TextureID = ""
  1123. end
  1124. if c:FindFirstChildOfClass("SpecialMesh") then
  1125. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1126. end
  1127. if c:FindFirstChildOfClass("Decal") then
  1128. c:FindFirstChildOfClass("Decal"):remove()
  1129. end
  1130. c.Name = "Banished"
  1131. c.CanCollide = false
  1132. else
  1133. c:remove()
  1134. end
  1135. end
  1136. local A = false
  1137. for i = 1, 35 do
  1138. if A == false then
  1139. A = true
  1140. elseif A == true then
  1141. A = false
  1142. end
  1143. for _, c in pairs(CLONE:GetDescendants()) do
  1144. if c:IsA("BasePart") then
  1145. c.Anchored = true
  1146. c.Material = MATERIALS[MRANDOM(1,2)]
  1147. c.Transparency = c.Transparency + 0.8/35
  1148. if A == false then
  1149. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1150. elseif A == true then
  1151. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1152. end
  1153. end
  1154. end
  1155. Swait()
  1156. end
  1157. CLONE:remove()
  1158. end))
  1159. end
  1160. end
  1161.  
  1162. function Madness()
  1163. ATTACK = true
  1164. Rooted = false
  1165. local GYRO = IT("BodyGyro",RootPart)
  1166. GYRO.D = 750
  1167. GYRO.P = 20000
  1168. GYRO.MaxTorque = VT(0,40000000,0)
  1169. local LOCKED = true
  1170. local SHOT = false
  1171. coroutine.resume(coroutine.create(function()
  1172. for i=0, 1, 0.1 / Animation_Speed do
  1173. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1174. Swait()
  1175. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1176. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1177. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1178. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1179. end
  1180. LOCKED = false
  1181. SHOT = true
  1182. repeat
  1183. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1184. Swait()
  1185. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1186. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1187. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1188. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1189. until HOLD == false and SHOT == false
  1190. for i=0, 0.3, 0.1 / Animation_Speed do
  1191. Swait()
  1192. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1193. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1194. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1195. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1196. end
  1197. GYRO:remove()
  1198. ATTACK = false
  1199. Rooted = false
  1200. end))
  1201. repeat wait() until LOCKED == false
  1202. repeat
  1203. SHOT = true
  1204. wait(0.2)
  1205. SHOT = false
  1206. local BULLET = Lightning({Material = "Glass", FadeIn = true, Color = C3(0,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Mouse.Hit.p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  1207. local HIT = BULLET.Hit
  1208. local HITPOS = BULLET.End
  1209. if HIT then
  1210. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  1211. Kill(HIT.Parent)
  1212. end
  1213. end
  1214. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 2, SoundVolume = 1})
  1215. WACKYEFFECT({Time = 15, EffectType = "Skull", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 2})
  1216. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(1,1.2,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
  1217. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(2,1,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
  1218. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1219. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1220. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1221. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1222. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1223. until HOLD == false
  1224. end
  1225.  
  1226. function Banisher_Bullet()
  1227. ATTACK = true
  1228. Rooted = false
  1229. for i=0, 0.4, 0.1 / Animation_Speed do
  1230. Swait()
  1231. turnto(Mouse.Hit.p)
  1232. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1233. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1234. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1235. end
  1236. repeat
  1237. for i=0, 0.2, 0.1 / Animation_Speed do
  1238. Swait()
  1239. turnto(Mouse.Hit.p)
  1240. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1241. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1242. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1243. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1244. end
  1245. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1246. SpawnTrail(Hole.Position,POS)
  1247. if HIT ~= nil then
  1248. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1249. Banish(HIT.Parent)
  1250. end
  1251. end
  1252. 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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1253. 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(0,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1254. 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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1255. 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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1256. for i=0, 0.3, 0.1 / Animation_Speed do
  1257. Swait()
  1258. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1259. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1260. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1261. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1262. end
  1263. until KEYHOLD == false
  1264. ATTACK = false
  1265. Rooted = false
  1266. end
  1267.  
  1268. function AttackTemplate()
  1269. ATTACK = true
  1270. Rooted = false
  1271. for i=0, 1, 0.1 / Animation_Speed do
  1272. Swait()
  1273. 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)
  1274. 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)
  1275. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1276. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1277. 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)
  1278. 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)
  1279. end
  1280. ATTACK = false
  1281. Rooted = false
  1282. end
  1283.  
  1284. function HI()
  1285. ATTACK = true
  1286. Rooted = false
  1287. local LOOP = 0
  1288. for i=0, 0.1, 0.1 / Animation_Speed do
  1289. Swait()
  1290. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1291. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1292. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1293. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1294. end
  1295. for i=0, 3, 0.1 / Animation_Speed do
  1296. Swait()
  1297. LOOP = LOOP + 1
  1298. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1299. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1300. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1301. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1302. end
  1303. for i=0, 0.1, 0.1 / Animation_Speed do
  1304. Swait()
  1305. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1306. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1307. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1308. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1309. end
  1310. ATTACK = false
  1311. Rooted = false
  1312. end
  1313.  
  1314. function Mercy()
  1315. ATTACK = true
  1316. Rooted = true
  1317. local SPOTS = {}
  1318. for i = 1, 15 do
  1319. Swait()
  1320. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1321. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  1322. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1323. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1324. end
  1325. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1326. for i=0, 0.5, 0.1 / Animation_Speed do
  1327. Swait()
  1328. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1329. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1330. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1331. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1332. end
  1333. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  1334. table.insert(SPOTS,HITPOS)
  1335. CreateSound(145080998, Hole, 2, 1, false)
  1336. Lightning({Material = "Neon", FadeIn = false, Color = C3(1,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Hole.CFrame*CF(0, 1000, 0.045).p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  1337. coroutine.resume(coroutine.create(function()
  1338. local POS = Mouse.Hit.p
  1339. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  1340. MakeForm(RAY,"Cyl")
  1341. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  1342. MakeForm(SPHERE,"Ball")
  1343. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  1344. MakeForm(SHIELD,"Ball")
  1345. SHIELD.CFrame = CF(POS)
  1346. RAY.CFrame = CF(POS)
  1347. SPHERE.CFrame = CF(POS)
  1348. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1349. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1350. for i = 1, 200 do
  1351. Swait()
  1352. 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1353. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1354. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*2,5+(i),SPHERE.Size.X*2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1355. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1356. SPHERE.Size = SPHERE.Size + VT(0.4,0.4,0.4)
  1357. SHIELD.Size = SPHERE.Size + VT(0.5,0.5,0.5)
  1358. ApplyKill(SPHERE.Position,SPHERE.Size.X/2,true)
  1359. end
  1360. for i = 1, 45 do
  1361. Swait()
  1362. RAY.Transparency = RAY.Transparency + 1/45
  1363. SPHERE.Transparency = RAY.Transparency
  1364. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1365. end
  1366. RAY:remove()
  1367. SHIELD:remove()
  1368. SPHERE:remove()
  1369. end))
  1370. ATTACK = false
  1371. Rooted = false
  1372. end
  1373. function Warp()
  1374. for e = 1, #BODY do
  1375. if BODY[e] ~= nil then
  1376. local STUFF = BODY[e]
  1377. local PART = STUFF[1]
  1378. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1379. local PRT = PART:Clone()
  1380. PRT.Anchored = true
  1381. PRT.CanCollide = false
  1382. PRT.Material = "Neon"
  1383. PRT.Color = C3(0,0,0)
  1384. PRT.Name = "WarpEffect"
  1385. PRT.Parent = Effects
  1386. PRT.CFrame = PART.CFrame
  1387. PRT:BreakJoints()
  1388. if PRT:FindFirstChildOfClass("Sound") then
  1389. PRT:FindFirstChildOfClass("Sound"):remove()
  1390. end
  1391. if PRT:FindFirstChildOfClass("Decal") then
  1392. PRT:FindFirstChildOfClass("Decal"):remove()
  1393. end
  1394. coroutine.resume(coroutine.create(function()
  1395. for i = 1, 100 do
  1396. Swait()
  1397. PRT.Transparency = PRT.Transparency + 1/100
  1398. end
  1399. PRT:remove()
  1400. end))
  1401. end
  1402. end
  1403. end
  1404. CreateSound(217767125, Torso, 10, 1)
  1405. local POS = RootPart.Orientation
  1406. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1407. RootPart.Orientation = POS
  1408. RootJoint.Parent = RootPart
  1409. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Eyes.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1410. ATTACK = false
  1411. Rooted = false
  1412. end
  1413. function killnearest(position,range,maxstrength,BRUTAL,RANGE)
  1414. for i,v in ipairs(workspace:GetChildren()) do
  1415. local body = v:GetChildren()
  1416. for part = 1, #body do
  1417. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1418. if(body[part].Position - position).Magnitude < range then
  1419. if v.ClassName == "Model" then
  1420. v:BreakJoints()
  1421. end
  1422. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1423. local bv = Instance.new("BodyVelocity")
  1424. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1425. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  1426. bv.Parent = body[part]
  1427. Debris:AddItem(bv,0.2)
  1428. end
  1429. end
  1430. end
  1431. if v.ClassName == "Part" then
  1432. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1433. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1434. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1435. end
  1436. end
  1437. end
  1438. end
  1439. function Darkness()
  1440. ATTACK = true
  1441. Rooted = true
  1442. local GYRO = IT("BodyGyro",RootPart)
  1443. GYRO.D = 100
  1444. GYRO.P = 2000
  1445. GYRO.MaxTorque = VT(0,4000000,0)
  1446. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1447. CreateSound("429459101", RightArm, 10, 0.8)
  1448. for i=0, 3.5, 0.1 / Animation_Speed do
  1449. Swait()
  1450. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1451. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1452. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1453. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1454. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1455. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1456. end
  1457. GYRO:remove()
  1458. for i=0, 0.15, 0.1 / Animation_Speed do
  1459. Swait()
  1460. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1461. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1462. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1463. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1464. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1465. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1466. end
  1467. local BOMBSPOTS = {}
  1468. for i = 1, 25 do
  1469. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly black", "Blade", VT(8,1,8))
  1470. SPOT.Color = SKILLTEXTCOLOR
  1471. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  1472. table.insert(BOMBSPOTS,SPOT)
  1473. MakeForm(SPOT,"Cyl2")
  1474. end
  1475. for i=0, 0.2, 0.1 / Animation_Speed do
  1476. Swait()
  1477. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1478. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1479. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1480. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1481. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1482. end
  1483. ATTACK = false
  1484. Rooted = false
  1485. coroutine.resume(coroutine.create(function()
  1486. Swait(3)
  1487. for i = 1, #BOMBSPOTS do
  1488. if BOMBSPOTS[i] ~= nil then
  1489. local E = BOMBSPOTS[i]
  1490. coroutine.resume(coroutine.create(function()
  1491. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly black", "Blade", VT(0,0,0))
  1492. BLADE.Color = SKILLTEXTCOLOR
  1493. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  1494. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  1495. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  1496. for i = 1, 10 do
  1497. Swait()
  1498. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(0,50,0), Transparency = 0, Transparency2 = 1, CFrame = CF(BLADE.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1499. killnearest(BLADE.Position,6,80)
  1500. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  1501. BLADE.Transparency = BLADE.Transparency - 0.1
  1502. end
  1503. Swait(45)
  1504. for i = 1, 100 do
  1505. Swait()
  1506. BLADE.Transparency = BLADE.Transparency + 0.01
  1507. E.Transparency = E.Transparency + 0.01
  1508. end
  1509. BLADE:remove()
  1510. E:remove()
  1511. end))
  1512. end
  1513. end
  1514. end))
  1515. end
  1516. function Death()
  1517. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1518. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1519. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1520. if TORSO and HUM.Health > 0 then
  1521. ATTACK = true
  1522. Rooted = true
  1523. local GYRO = IT("BodyGyro",RootPart)
  1524. GYRO.D = 175
  1525. GYRO.P = 20000
  1526. GYRO.MaxTorque = VT(0,40000,0)
  1527. for i=0, 1, 0.1 / Animation_Speed do
  1528. Swait()
  1529. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1530. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1531. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1532. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1533. end
  1534. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1535. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1536. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  1537. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1538. local grav = Instance.new("BodyPosition",TORSO)
  1539. grav.D = 1500
  1540. grav.P = 20000
  1541. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1542. grav.position = TORSO.Position+VT(0,15,0)
  1543. Debris:AddItem(grav,10)
  1544. Debris:AddItem(MAGIC,10)
  1545. CreateSound(429459101, Torso, 7, 1, false)
  1546. CreateSound(429459101, TORSO, 7, 1, false)
  1547. GYRO:remove()
  1548. ATTACK = false
  1549. Rooted = false
  1550. end
  1551. end
  1552. end
  1553. --//=================================\\
  1554. --|| ASSIGN THINGS TO KEYS
  1555. --\\=================================//
  1556.  
  1557. function MouseDown(Mouse)
  1558. if ATTACK == false then
  1559. end
  1560. end
  1561.  
  1562. function MouseUp(Mouse)
  1563. HOLD = false
  1564. end
  1565.  
  1566. function KeyDown(Key)
  1567. KEYHOLD = true
  1568. if Key == "c" and ATTACK == false then
  1569. Banisher_Bullet()
  1570. end
  1571.  
  1572. if Key == "b" and ATTACK == false then
  1573. Death()
  1574. end
  1575.  
  1576. if Key == "z" and ATTACK == false then
  1577. Darkness()
  1578. end
  1579.  
  1580. if Key == "v" and ATTACK == false then
  1581. Madness()
  1582. end
  1583.  
  1584. if Key == "x" and ATTACK == false then
  1585. Mercy()
  1586. end
  1587.  
  1588. if Key == "q" and ATTACK == false then
  1589. Warp()
  1590. end
  1591.  
  1592. if Key == "t" and ATTACK == false then
  1593. HI()
  1594. end
  1595. end
  1596.  
  1597. function KeyUp(Key)
  1598. KEYHOLD = false
  1599. end
  1600.  
  1601. Mouse.Button1Down:connect(function(NEWKEY)
  1602. MouseDown(NEWKEY)
  1603. end)
  1604. Mouse.Button1Up:connect(function(NEWKEY)
  1605. MouseUp(NEWKEY)
  1606. end)
  1607. Mouse.KeyDown:connect(function(NEWKEY)
  1608. KeyDown(NEWKEY)
  1609. end)
  1610. Mouse.KeyUp:connect(function(NEWKEY)
  1611. KeyUp(NEWKEY)
  1612. end)
  1613.  
  1614. --//=================================\\
  1615. --\\=================================//
  1616.  
  1617.  
  1618. function unanchor()
  1619. if UNANCHOR == true then
  1620. g = Character:GetChildren()
  1621. for i = 1, #g do
  1622. if g[i].ClassName == "Part" then
  1623. g[i].Anchored = false
  1624. end
  1625. end
  1626. end
  1627. end
  1628.  
  1629.  
  1630. --//=================================\\
  1631. --|| WRAP THE WHOLE SCRIPT UP
  1632. --\\=================================//
  1633.  
  1634. Humanoid.Changed:connect(function(Jump)
  1635. if Jump == "Jump" and (Disable_Jump == true) then
  1636. Humanoid.Jump = false
  1637. end
  1638. end)
  1639.  
  1640. local CONNECT = nil
  1641.  
  1642. while true do
  1643. Swait()
  1644. ANIMATE.Parent = nil
  1645. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1646. Humanoid = IT("Humanoid",Character)
  1647. end
  1648. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1649. v:Stop();
  1650. end
  1651. SINE = SINE + CHANGE
  1652. Humanoid.HipHeight = 1.5
  1653. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1654. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1655. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1656. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1657. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1658. elseif TORSOVELOCITY > 1 then
  1659. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
  1660. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1661. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1662. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1663. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1664. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1665. end
  1666. if TORSOVERTICALVELOCITY > 1 then
  1667. ANIM = "Jump"
  1668. if ATTACK == false then
  1669. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1670. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1671. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1672. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1673. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1674. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1675. end
  1676. elseif TORSOVERTICALVELOCITY < -1 then
  1677. ANIM = "Fall"
  1678. if ATTACK == false then
  1679. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1680. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1681. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1682. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1683. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1684. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1685. end
  1686. elseif TORSOVELOCITY < 1 then
  1687. ANIM = "Idle"
  1688. if ATTACK == false then
  1689. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1690. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1691. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1692. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1693. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1694. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1695. end
  1696. elseif TORSOVELOCITY > 1 then
  1697. ANIM = "Walk"
  1698. if ATTACK == false then
  1699. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
  1700. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1701. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1702. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1703. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1704. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1705. end
  1706. end
  1707. unanchor()
  1708. Humanoid.MaxHealth = "inf"
  1709. Humanoid.Health = "inf"
  1710. if Rooted == false then
  1711. Disable_Jump = false
  1712. Humanoid.WalkSpeed = Speed
  1713. elseif Rooted == true then
  1714. Disable_Jump = true
  1715. Humanoid.WalkSpeed = 0
  1716. end
  1717. for _, c in pairs(Character:GetDescendants()) do
  1718. if c == Head then
  1719. if c:FindFirstChild("face") then
  1720. c.face:remove()
  1721. end
  1722. end
  1723. end MagicSphere(VT(1,1,1)/5,35,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(0,0,0),VT(0,0,0))
  1724. sick:resume()
  1725. sick.Volume = 5
  1726. sick.Pitch = 1
  1727. sick.SoundId = "rbxassetid://924339757"
  1728. sick.Name = "BanishV3Music"
  1729. sick.Playing = PLAYSONG
  1730. Humanoid.PlatformStand = false
  1731. Humanoid.Name = "U ar ded"
  1732. refit()
  1733. for _, c in pairs(Character:GetChildren()) do
  1734. if c:IsA("BasePart") and ATTACK == false then
  1735. for _, e in pairs(c:GetChildren()) do
  1736. if e:IsA("ParticleEmitter") or e:IsA("BodyPosition") or e:IsA("BodyGyro") then
  1737. e:remove()
  1738. end
  1739. end
  1740. end
  1741. end
  1742. end
  1743.  
  1744.  
  1745. --//=================================\\
  1746. --\\=================================//
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752. --//====================================================\\--
  1753. --|| END OF SCRIPT
  1754. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement