Advertisement
cobblecorn

Untitled

Jun 21st, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 86.78 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. local sick = Instance.new("Sound",Torso)
  28. sick.SoundId = "rbxassetid://1929271279"
  29. sick.Looped = true
  30. sick.Pitch = 1
  31. sick.Volume = 2
  32. sick:Play()
  33. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  34. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  35. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  36. local maincolor = BrickColor.new("Really black")
  37. local char = Player.Character
  38. local ra = char["Right Arm"]
  39. local la= char["Left Arm"]
  40. local rl= char["Right Leg"]
  41. local ll = char["Left Leg"]
  42. local root = char.HumanoidRootPart
  43. local mouse = Player:GetMouse()
  44. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  45.  
  46. IT = Instance.new
  47. CF = CFrame.new
  48. VT = Vector3.new
  49. RAD = math.rad
  50. C3 = Color3.new
  51. UD2 = UDim2.new
  52. BRICKC = BrickColor.new
  53. ANGLES = CFrame.Angles
  54. EULER = CFrame.fromEulerAnglesXYZ
  55. COS = math.cos
  56. ACOS = math.acos
  57. SIN = math.sin
  58. ASIN = math.asin
  59. ABS = math.abs
  60. MRANDOM = math.random
  61. FLOOR = math.floor
  62.  
  63. ff = Instance.new("ForceField",char)
  64. ff.Visible = false
  65. Humanoid.Name = "Base"
  66. Humanoid.MaxHealth = 1.0E298
  67. Humanoid.Health = 1.0E298
  68. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  69. if Humanoid.Health > 0.1 and Humanoid.Health < 1.0E298 then
  70. Humanoid.MaxHealth = 1.0E298
  71. Humanoid.Health = 1.0E298
  72. end
  73. end)
  74.  
  75. --//=================================\\
  76. --|| USEFUL VALUES
  77. --\\=================================//
  78.  
  79. Animation_Speed = 3
  80. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  81. local Speed = 12
  82. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  83. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  84. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  85. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  86. local DAMAGEMULTIPLIER = 1
  87. local ANIM = "Idle"
  88. angles = CFrame.Angles
  89. ATTACK = false
  90. Euler = CFrame.fromEulerAnglesXYZ
  91. local EQUIPPED = false
  92. local HOLD = false
  93. local COMBO = 1
  94. local Rooted = false
  95. local SINE = 0
  96. local KEYHOLD = false
  97. local CHANGE = 2 / Animation_Speed
  98. local WALKINGANIM = false
  99. local VALUE1 = false
  100. local VALUE2 = false
  101. local ROBLOXIDLEANIMATION = IT("Animation")
  102. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  103. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  104. --ROBLOXIDLEANIMATION.Parent = Humanoid
  105. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  106. WEAPONGUI.Name = "Weapon GUI"
  107. local Effects = IT("Folder", Character)
  108. Effects.Name = "Effects"
  109. local ANIMATOR = Humanoid.Animator
  110. local ANIMATE = Character.Animate
  111. local UNANCHOR = true
  112. local WHITELIST = {}
  113. local TAUNT = false
  114. local OFFSET = 0
  115. local FULL = false
  116. local LEFTWINGS = {}
  117. local RIGHTWINGS = {}
  118. local SONGS = {534861083,530959353,1534958855,0}
  119.  
  120. --//=================================\\
  121. --\\=================================//
  122.  
  123.  
  124. --//=================================\\
  125. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  126. --\\=================================//
  127.  
  128. ArtificialHB = Instance.new("BindableEvent", script)
  129. ArtificialHB.Name = "ArtificialHB"
  130.  
  131. script:WaitForChild("ArtificialHB")
  132.  
  133. frame = Frame_Speed
  134. tf = 0
  135. allowframeloss = false
  136. tossremainder = false
  137. lastframe = tick()
  138. script.ArtificialHB:Fire()
  139.  
  140. game:GetService("RunService").Heartbeat:connect(function(s, p)
  141. tf = tf + s
  142. if tf >= frame then
  143. if allowframeloss then
  144. script.ArtificialHB:Fire()
  145. lastframe = tick()
  146. else
  147. for i = 1, math.floor(tf / frame) do
  148. script.ArtificialHB:Fire()
  149. end
  150. lastframe = tick()
  151. end
  152. if tossremainder then
  153. tf = 0
  154. else
  155. tf = tf - frame * math.floor(tf / frame)
  156. end
  157. end
  158. end)
  159.  
  160. --//=================================\\
  161. --\\=================================//
  162.  
  163. --//=================================\\
  164. --|| SOME FUNCTIONS
  165. --\\=================================//
  166.  
  167. function swait(num)
  168. if num == 0 or num == nil then
  169. game:service("RunService").Stepped:wait(0)
  170. else
  171. for i = 0, num do
  172. game:service("RunService").Stepped:wait(0)
  173. end
  174. end
  175. end
  176.  
  177. function Cso(ID, PARENT, VOLUME, PITCH)
  178. local NSound = nil
  179. coroutine.resume(coroutine.create(function()
  180. NSound = IT("Sound", PARENT)
  181. NSound.Volume = VOLUME
  182. NSound.Pitch = PITCH
  183. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  184. swait()
  185. NSound:play()
  186. game:GetService("Debris"):AddItem(NSound, 10)
  187. end))
  188. return NSound
  189. end
  190.  
  191. function FindNearestHead(Position, Distance, SinglePlayer)
  192. if SinglePlayer then
  193. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  194. end
  195. local List = {}
  196. for i, v in pairs(workspace:GetChildren()) do
  197. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  198. table.insert(List, v)
  199. end
  200. end
  201. return List
  202. end
  203.  
  204.  
  205. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  206. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  207. end
  208.  
  209. function PositiveAngle(NUMBER)
  210. if NUMBER >= 0 then
  211. NUMBER = 0
  212. end
  213. return NUMBER
  214. end
  215.  
  216. function NegativeAngle(NUMBER)
  217. if NUMBER <= 0 then
  218. NUMBER = 0
  219. end
  220. return NUMBER
  221. end
  222.  
  223. function Swait(NUMBER)
  224. if NUMBER == 0 or NUMBER == nil then
  225. ArtificialHB.Event:wait()
  226. else
  227. for i = 1, NUMBER do
  228. ArtificialHB.Event:wait()
  229. end
  230. end
  231. end
  232.  
  233. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  234. local NEWMESH = IT(MESH)
  235. if MESH == "SpecialMesh" then
  236. NEWMESH.MeshType = MESHTYPE
  237. if MESHID ~= "nil" and MESHID ~= "" then
  238. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  239. end
  240. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  241. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  242. end
  243. end
  244. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  245. NEWMESH.Scale = SCALE
  246. NEWMESH.Parent = PARENT
  247. return NEWMESH
  248. end
  249.  
  250. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  251. local NEWPART = IT("Part")
  252. NEWPART.formFactor = FORMFACTOR
  253. NEWPART.Reflectance = REFLECTANCE
  254. NEWPART.Transparency = TRANSPARENCY
  255. NEWPART.CanCollide = false
  256. NEWPART.Locked = true
  257. NEWPART.Anchored = true
  258. if ANCHOR == false then
  259. NEWPART.Anchored = false
  260. end
  261. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  262. NEWPART.Name = NAME
  263. NEWPART.Size = SIZE
  264. NEWPART.Position = Torso.Position
  265. NEWPART.Material = MATERIAL
  266. NEWPART:BreakJoints()
  267. NEWPART.Parent = PARENT
  268. return NEWPART
  269. end
  270.  
  271. local function weldBetween(a, b)
  272. local weldd = Instance.new("ManualWeld")
  273. weldd.Part0 = a
  274. weldd.Part1 = b
  275. weldd.C0 = CFrame.new()
  276. weldd.C1 = b.CFrame:inverse() * a.CFrame
  277. weldd.Parent = a
  278. return weldd
  279. end
  280.  
  281.  
  282. function QuaternionFromCFrame(cf)
  283. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  284. local trace = m00 + m11 + m22
  285. if trace > 0 then
  286. local s = math.sqrt(1 + trace)
  287. local recip = 0.5 / s
  288. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  289. else
  290. local i = 0
  291. if m11 > m00 then
  292. i = 1
  293. end
  294. if m22 > (i == 0 and m00 or m11) then
  295. i = 2
  296. end
  297. if i == 0 then
  298. local s = math.sqrt(m00 - m11 - m22 + 1)
  299. local recip = 0.5 / s
  300. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  301. elseif i == 1 then
  302. local s = math.sqrt(m11 - m22 - m00 + 1)
  303. local recip = 0.5 / s
  304. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  305. elseif i == 2 then
  306. local s = math.sqrt(m22 - m00 - m11 + 1)
  307. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  308. end
  309. end
  310. end
  311.  
  312. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  313. local xs, ys, zs = x + x, y + y, z + z
  314. local wx, wy, wz = w * xs, w * ys, w * zs
  315. local xx = x * xs
  316. local xy = x * ys
  317. local xz = x * zs
  318. local yy = y * ys
  319. local yz = y * zs
  320. local zz = z * zs
  321. 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))
  322. end
  323.  
  324. function QuaternionSlerp(a, b, t)
  325. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  326. local startInterp, finishInterp;
  327. if cosTheta >= 0.0001 then
  328. if (1 - cosTheta) > 0.0001 then
  329. local theta = ACOS(cosTheta)
  330. local invSinTheta = 1 / SIN(theta)
  331. startInterp = SIN((1 - t) * theta) * invSinTheta
  332. finishInterp = SIN(t * theta) * invSinTheta
  333. else
  334. startInterp = 1 - t
  335. finishInterp = t
  336. end
  337. else
  338. if (1 + cosTheta) > 0.0001 then
  339. local theta = ACOS(-cosTheta)
  340. local invSinTheta = 1 / SIN(theta)
  341. startInterp = SIN((t - 1) * theta) * invSinTheta
  342. finishInterp = SIN(t * theta) * invSinTheta
  343. else
  344. startInterp = t - 1
  345. finishInterp = t
  346. end
  347. end
  348. 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
  349. end
  350.  
  351. function Clerp(a, b, t)
  352. local qa = {QuaternionFromCFrame(a)}
  353. local qb = {QuaternionFromCFrame(b)}
  354. local ax, ay, az = a.x, a.y, a.z
  355. local bx, by, bz = b.x, b.y, b.z
  356. local _t = 1 - t
  357. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  358. end
  359.  
  360. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  361. local frame = IT("Frame")
  362. frame.BackgroundTransparency = TRANSPARENCY
  363. frame.BorderSizePixel = BORDERSIZEPIXEL
  364. frame.Position = POSITION
  365. frame.Size = SIZE
  366. frame.BackgroundColor3 = COLOR
  367. frame.BorderColor3 = BORDERCOLOR
  368. frame.Name = NAME
  369. frame.Parent = PARENT
  370. return frame
  371. end
  372.  
  373. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  374. local type = type
  375. local rng = Instance.new("Part", char)
  376. rng.Anchored = true
  377. rng.BrickColor = color
  378. rng.CanCollide = false
  379. rng.FormFactor = 3
  380. rng.Name = "Ring"
  381. rng.Material = "Neon"
  382. rng.Size = Vector3.new(1, 1, 1)
  383. rng.Transparency = 0
  384. rng.TopSurface = 0
  385. rng.BottomSurface = 0
  386. rng.CFrame = pos
  387. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  388. local rngm = Instance.new("SpecialMesh", rng)
  389. rngm.MeshType = MType
  390. rngm.Scale = Vector3.new(x1, y1, z1)
  391. local scaler2 = 1
  392. local speeder = FastSpeed
  393. if type == "Add" then
  394. scaler2 = 1 * value
  395. elseif type == "Divide" then
  396. scaler2 = 1 / value
  397. end
  398. coroutine.resume(coroutine.create(function()
  399. for i = 0, 10 / bonuspeed, 0.1 do
  400. swait()
  401. if type == "Add" then
  402. scaler2 = scaler2 - 0.01 * value / bonuspeed
  403. elseif type == "Divide" then
  404. scaler2 = scaler2 - 0.01 / value * bonuspeed
  405. end
  406. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  407. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  408. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  409. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  410. end
  411. rng:Destroy()
  412. end))
  413. end
  414.  
  415. function NoOutlines(PART)
  416. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  417. end
  418.  
  419. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  420. local NEWWELD = IT(TYPE)
  421. NEWWELD.Part0 = PART0
  422. NEWWELD.Part1 = PART1
  423. NEWWELD.C0 = C0
  424. NEWWELD.C1 = C1
  425. NEWWELD.Parent = PARENT
  426. return NEWWELD
  427. end
  428.  
  429. local S = IT("Sound")
  430. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  431. local NEWSOUND = nil
  432. coroutine.resume(coroutine.create(function()
  433. NEWSOUND = S:Clone()
  434. NEWSOUND.Parent = PARENT
  435. NEWSOUND.Volume = VOLUME
  436. NEWSOUND.Pitch = PITCH
  437. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  438. NEWSOUND:play()
  439. if DOESLOOP == true then
  440. NEWSOUND.Looped = true
  441. else
  442. repeat wait(1) until NEWSOUND.Playing == false
  443. NEWSOUND:remove()
  444. end
  445. end))
  446. return NEWSOUND
  447. end
  448.  
  449. function CFrameFromTopBack(at, top, back)
  450. local right = top:Cross(back)
  451. 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)
  452. end
  453.  
  454. --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})
  455. function WACKYEFFECT(Table)
  456. local TYPE = (Table.EffectType or "Sphere")
  457. local SIZE = (Table.Size or VT(1,1,1))
  458. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  459. local TRANSPARENCY = (Table.Transparency or 0)
  460. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  461. local CFRAME = (Table.CFrame or Torso.CFrame)
  462. local MOVEDIRECTION = (Table.MoveToPos or nil)
  463. local ROTATION1 = (Table.RotationX or 0)
  464. local ROTATION2 = (Table.RotationY or 0)
  465. local ROTATION3 = (Table.RotationZ or 0)
  466. local MATERIAL = (Table.Material or "Neon")
  467. local COLOR = (Table.Color or C3(1,1,1))
  468. local TIME = (Table.Time or 45)
  469. local SOUNDID = (Table.SoundID or nil)
  470. local SOUNDPITCH = (Table.SoundPitch or nil)
  471. local SOUNDVOLUME = (Table.SoundVolume or nil)
  472. coroutine.resume(coroutine.create(function()
  473. local PLAYSSOUND = false
  474. local SOUND = nil
  475. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  476. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  477. PLAYSSOUND = true
  478. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  479. end
  480. EFFECT.Color = COLOR
  481. local MSH = nil
  482. if TYPE == "Sphere" then
  483. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  484. elseif TYPE == "Block" then
  485. MSH = IT("BlockMesh",EFFECT)
  486. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  487. elseif TYPE == "Wave" then
  488. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  489. elseif TYPE == "Ring" then
  490. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  491. elseif TYPE == "Slash" then
  492. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  493. elseif TYPE == "Round Slash" then
  494. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  495. elseif TYPE == "Swirl" then
  496. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  497. elseif TYPE == "Skull" then
  498. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  499. elseif TYPE == "Crystal" then
  500. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  501. end
  502. if MSH ~= nil then
  503. local MOVESPEED = nil
  504. if MOVEDIRECTION ~= nil then
  505. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  506. end
  507. local GROWTH = SIZE - ENDSIZE
  508. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  509. if TYPE == "Block" then
  510. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  511. else
  512. EFFECT.CFrame = CFRAME
  513. end
  514. for LOOP = 1, TIME+1 do
  515. Swait()
  516. MSH.Scale = MSH.Scale - GROWTH/TIME
  517. if TYPE == "Wave" then
  518. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  519. end
  520. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  521. if TYPE == "Block" then
  522. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  523. else
  524. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  525. end
  526. if MOVEDIRECTION ~= nil then
  527. local ORI = EFFECT.Orientation
  528. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  529. EFFECT.Orientation = ORI
  530. end
  531. end
  532. if PLAYSSOUND == false then
  533. EFFECT:remove()
  534. else
  535. SOUND.Stopped:Connect(function()
  536. EFFECT:remove()
  537. end)
  538. end
  539. else
  540. if PLAYSSOUND == false then
  541. EFFECT:remove()
  542. else
  543. repeat Swait() until SOUND.Playing == false
  544. EFFECT:remove()
  545. end
  546. end
  547. end))
  548. end
  549.  
  550. function MakeForm(PART,TYPE)
  551. if TYPE == "Cyl" then
  552. local MSH = IT("CylinderMesh",PART)
  553. elseif TYPE == "Ball" then
  554. local MSH = IT("SpecialMesh",PART)
  555. MSH.MeshType = "Sphere"
  556. elseif TYPE == "Wedge" then
  557. local MSH = IT("SpecialMesh",PART)
  558. MSH.MeshType = "Wedge"
  559. end
  560. end
  561.  
  562. Debris = game:GetService("Debris")
  563.  
  564. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  565. local DIRECTION = CF(StartPos,EndPos).lookVector
  566. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  567. end
  568.  
  569. local EyeSizes={
  570. NumberSequenceKeypoint.new(0,1,0),
  571. NumberSequenceKeypoint.new(1,0,0)
  572. }
  573. local EyeTrans={
  574. NumberSequenceKeypoint.new(0,0.8,0),
  575. NumberSequenceKeypoint.new(1,1,0)
  576. }
  577. local PE=Instance.new("ParticleEmitter",nil)
  578. PE.LightEmission=1
  579. PE.Color = ColorSequence.new(BRICKC("Really black").Color)
  580. PE.Size=NumberSequence.new(EyeSizes)
  581. PE.Transparency=NumberSequence.new(EyeTrans)
  582. PE.Lifetime=NumberRange.new(0.35,1.5)
  583. PE.Rotation=NumberRange.new(0,360)
  584. PE.Rate=999
  585. PE.VelocitySpread = 10000
  586. PE.Acceleration = Vector3.new(0,0,0)
  587. PE.Drag = 5
  588. PE.Speed = NumberRange.new(0,0,0)
  589. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  590. PE.ZOffset = -0
  591. PE.Name = "PE"
  592. PE.Enabled = false
  593.  
  594. function particles(art)
  595. local PARTICLES = PE:Clone()
  596. PARTICLES.Parent = art
  597. end
  598.  
  599. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  600. if FLOOR ~= nil then
  601. coroutine.resume(coroutine.create(function()
  602. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  603. PART.CFrame = CF(POSITION)
  604. for i = 1, 45 do
  605. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  606. RingPiece.Material = FLOOR.Material
  607. RingPiece.Color = FLOOR.Color
  608. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  609. Debris:AddItem(RingPiece,SWAIT)
  610. end
  611. PART:remove()
  612. end))
  613. end
  614. end
  615.  
  616. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  617. if FLOOR ~= nil then
  618. for i = 1, AMOUNT do
  619. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  620. DEBREE.Material = FLOOR.Material
  621. DEBREE.Color = FLOOR.Color
  622. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  623. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  624. coroutine.resume(coroutine.create(function()
  625. Swait(15)
  626. DEBREE.Parent = workspace
  627. DEBREE.CanCollide = true
  628. Debris:AddItem(DEBREE,SWAIT)
  629. end))
  630. end
  631. end
  632. end
  633.  
  634. local Particle = IT("ParticleEmitter",nil)
  635. Particle.Enabled = false
  636. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  637. Particle.LightEmission = 0.5
  638. Particle.Rate = 150
  639. Particle.ZOffset = 1
  640. Particle.Rotation = NumberRange.new(-180, 180)
  641. Particle.RotSpeed = NumberRange.new(-180, 180)
  642. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  643. Particle.Color = ColorSequence.new(C3(1,1,1),C3(0,0,0))
  644.  
  645. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  646. function ParticleEmitter(Table)
  647. local PRTCL = Particle:Clone()
  648. local Speed = Table.Speed or 5
  649. local Drag = Table.Drag or 0
  650. local Size1 = Table.Size1 or 1
  651. local Size2 = Table.Size2 or 5
  652. local Lifetime1 = Table.Lifetime1 or 1
  653. local Lifetime2 = Table.Lifetime2 or 1.5
  654. local Parent = Table.Parent or Torso
  655. local Emit = Table.Emit or 100
  656. local Offset = Table.Offset or 360
  657. local Acel = Table.Acel or VT(0,0,0)
  658. local Enabled = Table.Enabled or false
  659. PRTCL.Parent = Parent
  660. PRTCL.Size = NumberSequence.new(Size1,Size2)
  661. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  662. PRTCL.Speed = NumberRange.new(Speed)
  663. PRTCL.VelocitySpread = Offset
  664. PRTCL.Drag = Drag
  665. PRTCL.Acceleration = Acel
  666. if Enabled == false then
  667. PRTCL:Emit(Emit)
  668. Debris:AddItem(PRTCL,Lifetime2)
  669. else
  670. PRTCL.Enabled = true
  671. end
  672. return PRTCL
  673. end
  674.  
  675. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  676. PLAYMAINANIM = false
  677. if WhichPose == "Cast1" then
  678. for i=0, Time, 0.1 / Animation_Speed do
  679. Swait()
  680. if Magic == true then
  681. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  682. end
  683. if Gyro ~= nil and Gyro ~= false then
  684. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  685. end
  686. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  687. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  688. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  689. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  690. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  691. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  692. end
  693. elseif WhichPose == "Cast2" then
  694. for i=0, Time, 0.1 / Animation_Speed do
  695. Swait()
  696. if Magic == true then
  697. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  698. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  699. end
  700. if Gyro ~= nil and Gyro ~= false then
  701. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  702. end
  703. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  704. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  705. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  706. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  707. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  708. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  709. end
  710. elseif WhichPose == "RightArmUp" then
  711. for i=0, Time, 0.1 / Animation_Speed do
  712. Swait()
  713. if Magic == true then
  714. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  715. end
  716. if Gyro ~= nil and Gyro ~= false then
  717. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  718. end
  719. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  720. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  721. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  722. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  723. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  724. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  725. end
  726. elseif WhichPose == "Taunt" then
  727. for i=0, Time, 0.1 / Animation_Speed do
  728. Swait()
  729. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  730. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  731. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  732. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  733. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  734. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  735. end
  736. HATWELD.Part0 = RightArm
  737. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  738. CreateSound(221057812,Torso,10,1,false)
  739. for i=0, Time*2, 0.1 / Animation_Speed do
  740. Swait()
  741. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  742. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  743. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  744. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  745. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  746. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  747. end
  748. for i=0, Time, 0.1 / Animation_Speed do
  749. Swait()
  750. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  751. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  752. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  753. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  754. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  755. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  756. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  757. end
  758. HATWELD.Part0 = Head
  759. HATWELD.C0 = CF(0,0.35,0)
  760. elseif WhichPose == "Prepare key" then
  761. for i=0, Time, 0.1 / Animation_Speed do
  762. Swait()
  763. if Gyro ~= nil and Gyro ~= false then
  764. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  765. end
  766. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  767. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  768. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  769. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  770. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  771. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  772. end
  773. elseif WhichPose == "Turn key" then
  774. for i=0, Time, 0.1 / Animation_Speed do
  775. Swait()
  776. if Gyro ~= nil and Gyro ~= false then
  777. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  778. end
  779. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  780. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  781. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  782. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  783. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  784. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  785. end
  786. end
  787. PLAYMAINANIM = true
  788. end
  789.  
  790. function clerp(a, b, t)
  791. local qa = {
  792. QuaternionFromCFrame(a)
  793. }
  794. local qb = {
  795. QuaternionFromCFrame(b)
  796. }
  797. local ax, ay, az = a.x, a.y, a.z
  798. local bx, by, bz = b.x, b.y, b.z
  799. local _t = 1 - t
  800. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  801. end
  802.  
  803. function FaceMouse()
  804. local Cam = workspace.CurrentCamera
  805. return {
  806. CF(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  807. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  808. }
  809. end
  810.  
  811. --//=================================\\
  812. --|| WEAPON CREATION
  813. --\\=================================//
  814.  
  815. local Back = CreatePart(0, Character, "Neon", 0, 0, "Really black", "Wing", VT(1,1,0.35),false)
  816. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
  817.  
  818. local ANGLE = 35
  819. for i = 1, 5 do
  820. local Wing = CreatePart(0, Character, "Neon", 0, 0, "Really black", "Wing", VT(0.15,2+(i/2),0.15),false)
  821. 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))
  822. local Wing2 = CreatePart(0, Character, "Neon", 0, 0, "Really black", "Wing", VT(0.25,1,0.25),false)
  823. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  824. ANGLE = ANGLE - 15
  825. table.insert(LEFTWINGS,WingWeld)
  826. end
  827. ANGLE = 35
  828. for i = 1, 5 do
  829. local Wing = CreatePart(0, Character, "Neon", 0, 0, "Really black", "Wing", VT(0.15,2+(i/2),0.15),false)
  830. 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))
  831. local Wing2 = CreatePart(0, Character, "Neon", 0, 0, "Really black", "Wing", VT(0.25,1,0.25),false)
  832. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  833. ANGLE = ANGLE - 15
  834. table.insert(RIGHTWINGS,WingWeld)
  835. end
  836.  
  837. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  838. PRT.Color = C3(0,0,0)
  839. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  840. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  841.  
  842. for i = 1, 8 do
  843. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  844. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  845. end
  846. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  847. MakeForm(Part,"Wedge")
  848. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  849. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
  850. MakeForm(Part,"Cyl")
  851. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  852. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  853. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  854. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
  855. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  856. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
  857. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  858. local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
  859. MakeForm(LeftBarrel,"Cyl")
  860. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  861. local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
  862. MakeForm(Part,"Wedge")
  863. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  864. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  865. MakeForm(LeftHole,"Cyl")
  866. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  867. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really purple", "Eye", VT(0.6,0.1,1)/2,false)
  868. MakeForm(Eye,"Ball")
  869. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  870. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really purple", "Eye", VT(0.6,0.1,1)/2,false)
  871. MakeForm(Eye,"Ball")
  872. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  873. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really purple", "Eye", VT(0.1,1,1)/2,false)
  874. MakeForm(Eye,"Ball")
  875. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  876. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really purple", "Eye", VT(0.1,1,1)/2,false)
  877. MakeForm(Eye,"Ball")
  878. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  879. local A = IT("Attachment",Torso)
  880. A.Position = VT(1,1.3,0)
  881. A.Orientation = VT(-0.098, -89.999, 0.227)
  882. local B = IT("Attachment",Torso)
  883. B.Position = VT(-1.3,-0.6,0)
  884. B.Orientation = VT(-88.911, -68.808, 158.782)
  885. local ChainLink = IT("Beam",Torso)
  886. ChainLink.Texture = "rbxassetid://73042633"
  887. ChainLink.Color = ColorSequence.new(C3(0,0,0))
  888. ChainLink.TextureSpeed = 1
  889. ChainLink.FaceCamera = true
  890. ChainLink.Width0 = 1
  891. ChainLink.Width1 = 1
  892. ChainLink.TextureLength = 3
  893. ChainLink.Attachment0 = A
  894. ChainLink.Attachment1 = B
  895. ChainLink.CurveSize0 = 1.6
  896. ChainLink.CurveSize1 = 1.6
  897. ChainLink.FaceCamera = true
  898. ChainLink.Transparency = NumberSequence.new(0)
  899. local ChainLink = IT("Beam",Torso)
  900. ChainLink.Texture = "rbxassetid://73042633"
  901. ChainLink.Color = ColorSequence.new(C3(0,0,0))
  902. ChainLink.TextureSpeed = 1
  903. ChainLink.FaceCamera = true
  904. ChainLink.Width0 = 1
  905. ChainLink.Width1 = 1
  906. ChainLink.TextureLength = 3
  907. ChainLink.Attachment0 = B
  908. ChainLink.Attachment1 = A
  909. ChainLink.CurveSize0 = 1.6
  910. ChainLink.CurveSize1 = 1.6
  911. ChainLink.FaceCamera = true
  912. ChainLink.Transparency = NumberSequence.new(0)
  913. local A = IT("Attachment",Torso)
  914. A.Position = VT(1.3,-0.85,0)
  915. A.Orientation = VT(-0.098, -89.999, 0.227)
  916. local B = IT("Attachment",Torso)
  917. B.Position = VT(-1,2,0)
  918. B.Orientation = VT(-88.911, -68.808, 158.782)
  919. local ChainLink = IT("Beam",Torso)
  920. ChainLink.Texture = "rbxassetid://73042633"
  921. ChainLink.Color = ColorSequence.new(C3(0,0,0))
  922. ChainLink.TextureSpeed = 1
  923. ChainLink.FaceCamera = true
  924. ChainLink.Width0 = 1
  925. ChainLink.Width1 = 1
  926. ChainLink.TextureLength = 3
  927. ChainLink.Attachment0 = A
  928. ChainLink.Attachment1 = B
  929. ChainLink.CurveSize0 = 1.3
  930. ChainLink.CurveSize1 = 1.3
  931. ChainLink.FaceCamera = true
  932. ChainLink.Transparency = NumberSequence.new(0)
  933. local ChainLink = IT("Beam",Torso)
  934. ChainLink.Texture = "rbxassetid://73042633"
  935. ChainLink.Color = ColorSequence.new(C3(0,0,0))
  936. ChainLink.TextureSpeed = 1
  937. ChainLink.FaceCamera = true
  938. ChainLink.Width0 = 1
  939. ChainLink.Width1 = 1
  940. ChainLink.TextureLength = 3
  941. ChainLink.Attachment0 = B
  942. ChainLink.Attachment1 = A
  943. ChainLink.CurveSize0 = 1.3
  944. ChainLink.CurveSize1 = 1.3
  945. ChainLink.FaceCamera = true
  946. ChainLink.Transparency = NumberSequence.new(0)
  947.  
  948. 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})
  949. PRT.LockedToPart = true
  950. 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})
  951. PRT.LockedToPart = true
  952. 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})
  953. PRT.LockedToPart = true
  954. 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})
  955. PRT.LockedToPart = true
  956. 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})
  957. PRT.LockedToPart = true
  958. for _, c in pairs(Character:GetDescendants()) do
  959. if c and c.Parent then
  960. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  961. local ACCESSORY = c.Parent
  962. c.Parent = Character
  963. if c then
  964. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  965. weldBetween(Head,c)
  966. else
  967. weldBetween(Torso,c)
  968. end
  969. end
  970. ACCESSORY:remove()
  971. elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  972. c.Material = "Neon"
  973. c.Color = C3(0,0,0)
  974. if c:FindFirstChildOfClass("SpecialMesh") then
  975. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  976. end
  977. if c == Head then
  978. if c:FindFirstChild("face") then
  979. c.face:remove()
  980. end
  981. end
  982. elseif c.ClassName == "Part" and c.Name == "Eye" then
  983. c.Color = C3(1,1,1)
  984. c.Material = "Neon"
  985. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  986. c:remove()
  987. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  988. c:remove()
  989. end
  990. end
  991. end
  992.  
  993. local BODY = {}
  994. for _, c in pairs(Character:GetDescendants()) do
  995. if c:IsA("BasePart") and c.Name ~= "Handle" then
  996. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  997. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  998. end
  999. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1000. elseif c:IsA("JointInstance") then
  1001. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1002. end
  1003. end
  1004. for e = 1, #BODY do
  1005. if BODY[e] ~= nil then
  1006. local STUFF = BODY[e]
  1007. local PART = STUFF[1]
  1008. local PARENT = STUFF[2]
  1009. local MATERIAL = STUFF[3]
  1010. local COLOR = STUFF[4]
  1011. local TRANSPARENCY = STUFF[5]
  1012. if PART.ClassName == "Part" and PART ~= RootPart then
  1013. PART.Material = MATERIAL
  1014. PART.Color = COLOR
  1015. PART.Transparency = TRANSPARENCY
  1016. end
  1017. PART.AncestryChanged:Connect(function()
  1018. PART.Parent = PARENT
  1019. end)
  1020. end
  1021. end
  1022. function refit()
  1023. Character.Parent = workspace
  1024. for e = 1, #BODY do
  1025. if BODY[e] ~= nil then
  1026. local STUFF = BODY[e]
  1027. local PART = STUFF[1]
  1028. local PARENT = STUFF[2]
  1029. local MATERIAL = STUFF[3]
  1030. local COLOR = STUFF[4]
  1031. local TRANSPARENCY = STUFF[5]
  1032. if PART:IsA("BasePart") and PART ~= RootPart then
  1033. PART.Material = MATERIAL
  1034. PART.Color = COLOR
  1035. PART.Transparency = 0
  1036. end
  1037. if PART.Parent ~= PARENT then
  1038. Humanoid:remove()
  1039. PART.Parent = PARENT
  1040. Humanoid = IT("Humanoid",Character)
  1041. end
  1042. end
  1043. end
  1044. end
  1045.  
  1046. Humanoid.Died:connect(function()
  1047. refit()
  1048. end)
  1049.  
  1050.  
  1051. Humanoid.Died:connect(function()
  1052. ATTACK = true
  1053. end)
  1054.  
  1055. --//=================================\\
  1056. --|| DAMAGE FUNCTIONS
  1057. --\\=================================//
  1058.  
  1059. function StatLabel(CFRAME, TEXT, COLOR)
  1060. local STATPART = CreatePart(0, Effects, "SmoothPlastic", 0, 0, "Really black", "Effect", VT())
  1061. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  1062. local BODYGYRO = IT("BodyGyro", STATPART)
  1063. game:GetService("Debris"):AddItem(STATPART ,5)
  1064. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1065. BILLBOARDGUI.Adornee = STATPART
  1066. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1067. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1068. BILLBOARDGUI.AlwaysOnTop = false
  1069. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1070. TEXTLABEL.BackgroundTransparency = 1
  1071. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1072. TEXTLABEL.Text = TEXT
  1073. TEXTLABEL.Font = SKILLFONT
  1074. TEXTLABEL.FontSize="Size42"
  1075. TEXTLABEL.TextColor3 = COLOR
  1076. TEXTLABEL.TextStrokeTransparency = 0
  1077. TEXTLABEL.TextScaled = true
  1078. TEXTLABEL.TextWrapped = true
  1079. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1080. for i = 1, 50 do
  1081. Swait()
  1082. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  1083. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  1084. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1085. end
  1086. THEPART.Parent = nil
  1087. end),STATPART, TEXTLABEL)
  1088. end
  1089.  
  1090. local GRAB = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HORSE.Grab, CF(0, -1, 0), CF(0, 0, 0))
  1091.  
  1092. --//=================================\\
  1093. --|| DAMAGING
  1094. --\\=================================//
  1095.  
  1096. function KillChildren(v)
  1097. v:BreakJoints()
  1098. for _, c in pairs(v:GetChildren()) do
  1099. if c:IsA("BasePart") then
  1100. if c.Transparency < 1 then
  1101. if c:FindFirstChildOfClass("Decal") then
  1102. c:FindFirstChildOfClass("Decal"):remove()
  1103. end
  1104. particles(c)
  1105. c.PE.Enabled = true
  1106. c.Parent = Effects
  1107. c.CanCollide = false
  1108. c.Material = "Neon"
  1109. c.Color = C3(0,0,0)
  1110. c.Transparency = 1
  1111. local grav = Instance.new("BodyPosition",c)
  1112. grav.P = 20000
  1113. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1114. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1115. grav.Name = "GravityForce"
  1116. coroutine.resume(coroutine.create(function()
  1117. for i = 1, 20 do
  1118. Swait()
  1119. c.Transparency = c.Transparency + 1/20
  1120. end
  1121. c.PE.Enabled = false
  1122. Debris:AddItem(c,2)
  1123. end))
  1124. end
  1125. end
  1126. end
  1127. end
  1128.  
  1129. function ApplyAoE(POSITION,RANGE)
  1130. local CHILDREN = workspace:GetDescendants()
  1131. for index, CHILD in pairs(CHILDREN) do
  1132. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1133. local LISTED = false
  1134. for LIST = 1, #WHITELIST do
  1135. if WHITELIST[LIST] ~= nil then
  1136. if CHILD.Name == WHITELIST[LIST] then
  1137. LISTED = true
  1138. end
  1139. end
  1140. end
  1141. if LISTED == false then
  1142. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1143. if HUM then
  1144. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1145. if TORSO then
  1146. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1147. KillChildren(CHILD)
  1148. end
  1149. end
  1150. end
  1151. end
  1152. end
  1153. end
  1154. end
  1155. --//=================================\\
  1156. --|| ATTACK FUNCTIONS AND STUFF
  1157. --\\=================================//
  1158.  
  1159.  
  1160. function SpawnSmite(POS)
  1161. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1162. local EMITPOS = HITPOS
  1163. if HITFLOOR ~= nil then
  1164. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1165. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1166. EMITPOS = HITPOS
  1167. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1168. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1169. EMITPOS = HITPOS
  1170. end
  1171. end
  1172. if HITFLOOR ~= nil then
  1173. ApplyAoE(EMITPOS,10)
  1174. 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})
  1175. 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})
  1176. 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})
  1177. for i = 1, 5 do
  1178. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1179. 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})
  1180. end
  1181. end
  1182. end
  1183.  
  1184. function Smite()
  1185. ATTACK = true
  1186. Rooted = false
  1187. CreateSound(1368573150, RightArm, 3, 1.5)
  1188. for i=0, 0.6, 0.1 / Animation_Speed do
  1189. Swait()
  1190. 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})
  1191. 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)
  1192. 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)
  1193. end
  1194. local POWER = 0
  1195. repeat
  1196. Swait()
  1197. 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})
  1198. 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)
  1199. 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)
  1200. POWER = POWER + 0.5
  1201. if POWER >= 85 then
  1202. POWER = 85
  1203. end
  1204. until KEYHOLD == false
  1205. if POWER < 0.6 then
  1206. SpawnSmite(Mouse.Hit.p)
  1207. end
  1208. ATTACK = false
  1209. Rooted = false
  1210. end
  1211.  
  1212. function Warp()
  1213. for e = 1, #BODY do
  1214. if BODY[e] ~= nil then
  1215. local STUFF = BODY[e]
  1216. local PART = STUFF[1]
  1217. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1218. local PRT = PART:Clone()
  1219. PRT.Anchored = true
  1220. PRT.CanCollide = false
  1221. PRT.Material = "Neon"
  1222. PRT.Color = C3(0,0,0)
  1223. PRT.Name = "WarpEffect"
  1224. PRT.Parent = Effects
  1225. PRT.CFrame = PART.CFrame
  1226. PRT:BreakJoints()
  1227. if PRT:FindFirstChildOfClass("Sound") then
  1228. PRT:FindFirstChildOfClass("Sound"):remove()
  1229. end
  1230. if PRT:FindFirstChildOfClass("Decal") then
  1231. PRT:FindFirstChildOfClass("Decal"):remove()
  1232. end
  1233. coroutine.resume(coroutine.create(function()
  1234. for i = 1, 100 do
  1235. Swait()
  1236. PRT.Transparency = PRT.Transparency + 1/100
  1237. end
  1238. PRT:remove()
  1239. end))
  1240. end
  1241. end
  1242. end
  1243. CreateSound(217767125, Torso, 10, 1)
  1244. local POS = RootPart.Orientation
  1245. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1246. RootPart.Orientation = POS
  1247. RootJoint.Parent = RootPart
  1248. 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})
  1249. ATTACK = false
  1250. Rooted = false
  1251. end
  1252.  
  1253. function Prison_Key()
  1254. if Mouse.Target ~= nil then
  1255. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1256. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1257. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1258. local GYRO = IT("BodyGyro",RootPart)
  1259. GYRO.D = 750
  1260. GYRO.P = 20000
  1261. GYRO.MaxTorque = VT(0,40000000,0)
  1262. local grav = Instance.new("BodyPosition",TORSO)
  1263. grav.D = 15
  1264. grav.P = 20000
  1265. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1266. grav.position = TORSO.Position
  1267. local GYRO2 = IT("BodyGyro",TORSO)
  1268. GYRO2.D = 750
  1269. GYRO2.P = 20000
  1270. GYRO2.MaxTorque = VT(0,40000000,0)
  1271. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1272. grav.Name = "Jail"
  1273. local LOCKPARTS = {}
  1274. ATTACK = true
  1275. Rooted = false
  1276. local LOCK = IT("Model",Effects)
  1277. LOCK.Name = "Lock"
  1278. local LOCK2 = IT("Model",LOCK)
  1279. LOCK2.Name = "Metal"
  1280. --CREATE LOCK--
  1281. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  1282. LOCK.PrimaryPart = BASE
  1283. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  1284. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  1285. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  1286. MakeForm(PRT,"Cyl")
  1287. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  1288. PRT.Color = C3(0,0,0)
  1289. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  1290. MakeForm(PRT,"Cyl")
  1291. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  1292. PRT.Color = C3(0,0,0)
  1293. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  1294. for i = 1, 45 do
  1295. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  1296. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  1297. end
  1298. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  1299. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  1300. LOCK2.PrimaryPart = PRT
  1301. ---------------
  1302. local CHILDREN = LOCK:GetDescendants()
  1303. for index, CHILD in pairs(CHILDREN) do
  1304. if CHILD:IsA("BasePart") then
  1305. CHILD.Transparency = 1
  1306. end
  1307. end
  1308. for i = 1, 75 do
  1309. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  1310. Swait()
  1311. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1312. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1313. local CHILDREN = LOCK:GetDescendants()
  1314. for index, CHILD in pairs(CHILDREN) do
  1315. if CHILD:IsA("BasePart") then
  1316. CHILD.Transparency = CHILD.Transparency - 1/75
  1317. end
  1318. end
  1319. end
  1320. HUM.DisplayDistanceType = "None"
  1321. local KEY = IT("Model",Effects)
  1322. KEY.Name = "Key"
  1323. --CREATE KEY--
  1324. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Really Black", "KeyBase", VT(0.1, 1, 0.1),false)
  1325. KEY.PrimaryPart = KBASE
  1326. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  1327. local WLD = weldBetween(RightArm,KBASE)
  1328. for i = 1, 45 do
  1329. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really Black", "Key", VT(0.1, 0.1, 0.1),false)
  1330. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  1331. weldBetween(KBASE,PRT)
  1332. end
  1333. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really Black", "Key", VT(0.3, 0.1, 0.1),false)
  1334. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  1335. weldBetween(KBASE,PRT)
  1336. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really Black", "Key", VT(0.3, 0.1, 0.1),false)
  1337. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  1338. weldBetween(KBASE,PRT)
  1339. --------------
  1340. Rooted = true
  1341. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  1342. coroutine.resume(coroutine.create(function()
  1343. for i = 1, 10 do
  1344. Swait()
  1345. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1346. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1347. end
  1348. CreateSound(1149318312,BASE,5,1,false)
  1349. CreateSound(160772554,BASE,3,1,false)
  1350. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  1351. for i = 1, 4 do
  1352. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1353. end
  1354. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1355. wait(1)
  1356. TORSO.Parent.Parent = LOCK
  1357. for i = 1, 75 do
  1358. Swait()
  1359. local CHILDREN = KEY:GetDescendants()
  1360. for index, CHILD in pairs(CHILDREN) do
  1361. if CHILD:IsA("BasePart") then
  1362. CHILD.Transparency = i/25
  1363. end
  1364. end
  1365. local CHILDREN = LOCK:GetDescendants()
  1366. for index, CHILD in pairs(CHILDREN) do
  1367. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  1368. CHILD.Transparency = CHILD.Transparency + 1/75
  1369. elseif CHILD.ClassName == "Decal" then
  1370. CHILD.Transparency = CHILD.Transparency + 1/75
  1371. end
  1372. end
  1373. end
  1374. TORSO.Parent:ClearAllChildren()
  1375. KEY:remove()
  1376. LOCK:remove()
  1377. end))
  1378. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  1379. GYRO:remove()
  1380. ATTACK = false
  1381. Rooted = false
  1382. end
  1383. end
  1384. end
  1385.  
  1386. function Lift()
  1387. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1388. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1389. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1390. if TORSO and HUM.Health > 0 then
  1391. ATTACK = true
  1392. Rooted = true
  1393. local GYRO = IT("BodyGyro",RootPart)
  1394. GYRO.D = 175
  1395. GYRO.P = 20000
  1396. GYRO.MaxTorque = VT(0,40000,0)
  1397. for i=0, 1, 0.1 / Animation_Speed do
  1398. Swait()
  1399. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1400. 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)
  1401. 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)
  1402. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1403. end
  1404. 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})
  1405. 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})
  1406. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  1407. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1408. local grav = Instance.new("BodyPosition",TORSO)
  1409. grav.D = 1500
  1410. grav.P = 20000
  1411. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1412. grav.position = TORSO.Position+VT(0,15,0)
  1413. Debris:AddItem(grav,10)
  1414. Debris:AddItem(MAGIC,10)
  1415. CreateSound(429459101, Torso, 7, 1, false)
  1416. CreateSound(429459101, TORSO, 7, 1, false)
  1417. GYRO:remove()
  1418. ATTACK = false
  1419. Rooted = false
  1420. end
  1421. end
  1422. end
  1423.  
  1424. function TakeOnMe()
  1425. Speed = 5
  1426. local MEME = CreateSound(288703954, Effects, 0, 1, false)
  1427. ATTACK = true
  1428. Rooted = false
  1429. local DANCE = true
  1430. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1431. if NEWKEY == "p" then
  1432. DANCE = false
  1433. end
  1434. end)
  1435. PLAYSONG = false
  1436. while true do
  1437. for i = 1, 15 do
  1438. Swait()
  1439. MEME.Parent = Effects
  1440. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1441. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1442. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1443. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1444. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1445. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1446. end
  1447. if DANCE == false then
  1448. break
  1449. end
  1450. for i = 1, 15 do
  1451. Swait()
  1452. MEME.Parent = Effects
  1453. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1454. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1455. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1456. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1457. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1458. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1459. end
  1460. end
  1461. PLAYSONG = true
  1462. KEY:Disconnect()
  1463. MEME:remove()
  1464. Speed = 25
  1465. ATTACK = false
  1466. Rooted = false
  1467. end
  1468.  
  1469. function Rain()
  1470. ATTACK = true
  1471. Rooted = true
  1472. GRAB.Part0 = Torso
  1473. GRAB.C0 = CF(0,-1.1,-0.3) * ANGLES(RAD(15), RAD(0), RAD(-45)) * CF(0,0,-0.5)
  1474. local HOLDING = true
  1475. CreateSound(144699494,Torso,7,1,false)
  1476. coroutine.resume(coroutine.create(function()
  1477. repeat
  1478. Swait()
  1479. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * SIN(SINE / 12), 0, 0 - 0.1 * SIN(SINE / 3) + 0.25 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1480. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + 0.1 * SIN(SINE / 3) + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1481. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1482. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1483. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1484. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1485. until HOLDING == false
  1486. end))
  1487. repeat
  1488. wait(0.12)
  1489. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1490. for i = 1, 4 do
  1491. WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(10*i,15-(3*i),10*i), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Fabric", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1492. end
  1493. ApplyAoE(HITPOS,20,15,15,15,false)
  1494. coroutine.resume(coroutine.create(function()
  1495. local POSITION = CF(RootPart.CFrame*CF(0,25,0) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,15).p,Mouse.Hit.p)
  1496. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Really black"), "Effect", VT(1,1,1), true)
  1497. FIREBALL.CFrame = POSITION
  1498. local FIRE = script.HellFire:Clone()
  1499. FIRE.Parent = FIREBALL
  1500. for i = 1, 100 do
  1501. FIRE:Emit(25)
  1502. Swait()
  1503. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-4)
  1504. local HIT = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 6, Character)
  1505. if HIT then
  1506. for e = 1, 4 do
  1507. CreateSound(438666542,FIREBALL,3,MRANDOM(7,13)/10,false)
  1508. ApplyAoE(FIREBALL.Position,10*e,15,35,15,false)
  1509. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,85,0), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,127/255), SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 1})
  1510. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,1,1), Size2 = (VT(20,20,20)/1.2)*e, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,127/255), SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 1})
  1511. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(20,20,20)*e, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"CGA brown".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 1})
  1512. end
  1513. break
  1514. end
  1515. end
  1516. Debris:AddItem(FIREBALL,5)
  1517. end))
  1518. until KEYHOLD == false
  1519. HOLDING = false
  1520. for i=0, 0.5, 0.1 / Animation_Speed do
  1521. Swait()
  1522. GRAB.C1 = Clerp(GRAB.C1, CF(0.1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1523. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * SIN(SINE / 12), 0, 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1524. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1525. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 - 0.03 * SIN(SINE / 12), -0.5) * ANGLES(RAD(15), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1526. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 - 0.03 * SIN(SINE / 12), -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1527. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1528. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1529. end
  1530. GRAB.Part0 = RightArm
  1531. GRAB.C0 = CF(0,-1,0 )
  1532. ATTACK = false
  1533. Rooted = false
  1534. end
  1535. local sine=0
  1536. function Beamo()
  1537. ATTACK = true
  1538. Humanoid.WalkSpeed = 0
  1539. local Ring1 = Instance.new("Part", char)
  1540. Ring1.Anchored = true
  1541. Ring1.BrickColor = maincolor
  1542. Ring1.CanCollide = false
  1543. Ring1.FormFactor = 3
  1544. Ring1.Name = "Ring"
  1545. Ring1.Material = "Neon"
  1546. Ring1.Size = Vector3.new(1, 0.05, 1)
  1547. Ring1.Transparency = 1
  1548. Ring1.TopSurface = 0
  1549. Ring1.BottomSurface = 0
  1550. local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
  1551. Ring1Mesh.MeshType = "Brick"
  1552. Ring1Mesh.Name = "SizeMesh"
  1553. Ring1Mesh.Scale = Vector3.new(0, 1, 0)
  1554. local InnerRing1 = Ring1:Clone()
  1555. InnerRing1.Parent = char
  1556. InnerRing1.Transparency = 0
  1557. InnerRing1.BrickColor = BrickColor.new("New Yeller")
  1558. InnerRing1.Size = Vector3.new(1, 1, 1)
  1559. local InnerRing1Mesh = InnerRing1.SizeMesh
  1560. InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
  1561. InnerRing1Mesh.MeshType = "Sphere"
  1562. Ring1:Destroy()
  1563. for i = 0, 8, 0.1 do
  1564. swait()
  1565. Aura(7, 0.12, "Add", ra.CFrame * CF(0,-2,0) * angles(Rad(math.random(-360, 360)), Rad(math.random(-360, 360)), Rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Sphere")
  1566. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 - 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  1567. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(Rad(35 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  1568. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  1569. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  1570. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1571. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-3 + 2.5 * Sin(sine / 20))), 0.1)
  1572. end
  1573. InnerRing1.Transparency = 1
  1574. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 5
  1575. Cso("294188875", char, 2.3, 1)
  1576. local a = IT("Part", char)
  1577. a.Name = "Direction"
  1578. a.Anchored = true
  1579. a.BrickColor = BrickC("Really black")
  1580. a.Material = "Neon"
  1581. a.Transparency = 0
  1582. a.Shape = "Cylinder"
  1583. a.CanCollide = false
  1584. local a2 = IT("Part", char)
  1585. a2.Name = "Direction"
  1586. a2.Anchored = true
  1587. a2.BrickColor = BrickC("Really black")
  1588. a2.Color = maincolor.Color
  1589. a2.Material = "Neon"
  1590. a2.Transparency = 0.2
  1591. a2.Shape = "Cylinder"
  1592. a2.CanCollide = false
  1593. local ba = IT("Part", char)
  1594. ba.Name = "HitDirect"
  1595. ba.Anchored = true
  1596. ba.BrickColor = BrickC("Really black")
  1597. ba.Material = "Neon"
  1598. ba.Transparency = 1
  1599. ba.CanCollide = false
  1600. local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1601. local ignore = char
  1602. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1603. a.BottomSurface = 9.9
  1604. a.TopSurface = 9.9
  1605. a2.BottomSurface = 10
  1606. a2.TopSurface = 10
  1607. local distance = (InnerRing1.CFrame.p - position).magnitude
  1608. a.Size = Vector3.new(distance, 1, 1)
  1609. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1610. a2.Size = Vector3.new(distance, 1, 1)
  1611. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1612. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1613. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1614. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1615. game:GetService("Debris"):AddItem(a, 20)
  1616. game:GetService("Debris"):AddItem(a2, 20)
  1617. game:GetService("Debris"):AddItem(ba, 20)
  1618. local msh = Instance.new("SpecialMesh", a)
  1619. msh.MeshType = "Cylinder"
  1620. msh.Scale = Vector3.new(1, 15, 15)
  1621. local msh2 = Instance.new("SpecialMesh", a2)
  1622. msh2.MeshType = "Cylinder"
  1623. msh2.Scale = Vector3.new(1, 25, 25)
  1624. for z = 0, 1 do
  1625. for i = 0, 4, 0.1 do
  1626. swait()
  1627. Humanoid.CameraOffset = Vector3.new(math.random(-1,1),0,math.random(-1,1))
  1628. a2.Color = maincolor.Color
  1629. root.CFrame = FaceMouse()[1]
  1630. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
  1631. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1632. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1633. distance = (InnerRing1.CFrame.p - position).magnitude
  1634. a.Size = Vector3.new(distance, 1, 1)
  1635. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1636. a2.Size = Vector3.new(distance, 1, 1)
  1637. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1638. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1639. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1640. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1641. msh.Scale = msh.Scale - Vector3.new(0, 0.25, 0.25)
  1642. msh2.Scale = msh2.Scale - Vector3.new(0, 0.3, 0.3)
  1643. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(math.random(-360, 360)), Rad(math.random(-360, 360)), Rad(math.random(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
  1644. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(math.random(-360, 360)), Rad(math.random(-360, 360)), Rad(math.random(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick")
  1645. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  1646. if v:FindFirstChild("Head") then
  1647. KillChildren(v)
  1648. end
  1649. end
  1650. end
  1651. for i = 0, 4, 0.1 do
  1652. swait()
  1653. Humanoid.CameraOffset = Vector3.new(math.random(-1,1),0,math.random(-1,1))
  1654. a2.Color = maincolor.Color
  1655. root.CFrame = FaceMouse()[1]
  1656. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
  1657. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1658. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1659. distance = (InnerRing1.CFrame.p - position).magnitude
  1660. a.Size = Vector3.new(distance, 1, 1)
  1661. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1662. a2.Size = Vector3.new(distance, 1, 1)
  1663. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1664. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1665. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1666. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1667. msh.Scale = msh.Scale + Vector3.new(0, 0.25, 0.25)
  1668. msh2.Scale = msh2.Scale + Vector3.new(0, 0.3, 0.3)
  1669. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(math.random(-360, 360)), Rad(math.random(-360, 360)), Rad(math.random(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
  1670. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(math.random(-360, 360)), Rad(math.random(-360, 360)), Rad(math.random(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick")
  1671. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  1672. if v:FindFirstChild("Head") then
  1673. KillChildren(v)
  1674. end
  1675. end
  1676. end
  1677. end
  1678. for i = 0, 10, 0.1 do
  1679. swait()
  1680. Humanoid.CameraOffset = Vector3.new(math.random(-1,1),0,math.random(-1,1))
  1681. a2.Color = maincolor.Color
  1682. root.CFrame = FaceMouse()[1]
  1683. InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
  1684. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1685. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1686. distance = (InnerRing1.CFrame.p - position).magnitude
  1687. a.Size = Vector3.new(distance, 1, 1)
  1688. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1689. a2.Size = Vector3.new(distance, 1, 1)
  1690. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1691. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1692. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1693. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1694. msh.Scale = msh.Scale - Vector3.new(0, 0.15, 0.15)
  1695. msh2.Scale = msh2.Scale - Vector3.new(0, 0.2, 0.2)
  1696. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(math.random(-360, 360)), Rad(math.random(-360, 360)), Rad(math.random(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
  1697. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(math.random(-360, 360)), Rad(math.random(-360, 360)), Rad(math.random(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick")
  1698. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  1699. if v:FindFirstChild("Head") then
  1700. KillChildren(v)
  1701. end
  1702. end
  1703. end
  1704. Humanoid.WalkSpeed = 8
  1705. a:Destroy()
  1706. a2:Destroy()
  1707. ba:Destroy()
  1708. InnerRing1:Destroy()
  1709. ATTACK = false
  1710. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1711. end
  1712.  
  1713.  
  1714. --//=================================\\
  1715. --|| ASSIGN THINGS TO KEYS
  1716. --\\=================================//
  1717.  
  1718. function MouseUp(Mouse)
  1719. HOLD = false
  1720. end
  1721.  
  1722. function KeyDown(Key)
  1723. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1724. KEYHOLD = true
  1725. if Key == "z" and ATTACK == false then
  1726. Rain()
  1727. end
  1728.  
  1729. if Key == "b" and ATTACK == false then
  1730. Prison_Key()
  1731. end
  1732.  
  1733. if Key == "c" and ATTACK == false then
  1734. Smite()
  1735. end
  1736.  
  1737. if Key == "x" and ATTACK == false then
  1738. Lift()
  1739. end
  1740.  
  1741. if Key == "q" and ATTACK == false then
  1742. Warp()
  1743. end
  1744.  
  1745. if Key == "f" and ATTACK == false then
  1746. Beamo()
  1747. end
  1748.  
  1749. if Key == "p" and ATTACK == false then
  1750. TakeOnMe()
  1751. end
  1752. end
  1753. end
  1754.  
  1755. function KeyUp(Key)
  1756. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1757. KEYHOLD = false
  1758. end
  1759. end
  1760.  
  1761. Mouse.Button1Up:connect(function(NEWKEY)
  1762. MouseUp(NEWKEY)
  1763. end)
  1764. Mouse.KeyDown:connect(function(NEWKEY)
  1765. KeyDown(NEWKEY)
  1766. end)
  1767. Mouse.KeyUp:connect(function(NEWKEY)
  1768. KeyUp(NEWKEY)
  1769. end)
  1770.  
  1771. --//=================================\\
  1772. --\\=================================//
  1773.  
  1774.  
  1775. function unanchor()
  1776. if UNANCHOR == true then
  1777. g = Character:GetChildren()
  1778. for i = 1, #g do
  1779. if g[i].ClassName == "Part" then
  1780. g[i].Anchored = false
  1781. end
  1782. end
  1783. end
  1784. end
  1785.  
  1786.  
  1787. --//=================================\\
  1788. --|| WRAP THE WHOLE SCRIPT UP
  1789. --\\=================================//
  1790.  
  1791. Humanoid.Changed:connect(function(Jump)
  1792. if Jump == "Jump" and (Disable_Jump == true) then
  1793. Humanoid.Jump = false
  1794. end
  1795. end)
  1796.  
  1797. local BLINKLOOP = 0
  1798. script.Parent = WEAPONGUI
  1799. ANIMATE.Parent = nil
  1800.  
  1801. while true do
  1802. Swait()
  1803. if Humanoid then
  1804. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1805. IDLEANIMATION:Play()
  1806. end
  1807. SINE = SINE + CHANGE*2
  1808. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1809. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1810. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1811. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 20)
  1812. HoodWeld.C1 = Clerp(HoodWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 12) - 1.75 * COS(SINE / 12)), RAD(2.75 * SIN(SINE / 12))), 1 / Animation_Speed)
  1813. if ANIM == "Walk" and TORSOVELOCITY > 1 and FULL == false then
  1814. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1815. 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)
  1816. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.1 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  1817. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.1 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  1818. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or FULL == true then
  1819. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1820. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1821. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1822. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1823. end
  1824. if FULL == false then
  1825. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1826. ANIM = "Jump"
  1827. if ATTACK == false then
  1828. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1829. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-15), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1830. end
  1831. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1832. if TAUNT == false then
  1833. 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, 0.15 / Animation_Speed)
  1834. end
  1835. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1836. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1837. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1838. ANIM = "Fall"
  1839. if ATTACK == false then
  1840. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1841. 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.15 / Animation_Speed)
  1842. end
  1843. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(OFFSET)), 0.2 / Animation_Speed)
  1844. if TAUNT == false then
  1845. 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, 0.15 / Animation_Speed)
  1846. end
  1847. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  1848. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  1849. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1850. ANIM = "Idle"
  1851. if ATTACK == false then
  1852. 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)
  1853. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1854. end
  1855. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(OFFSET)), 0.8 / Animation_Speed)
  1856. if TAUNT == false then
  1857. 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, 0.15 / Animation_Speed)
  1858. end
  1859. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  1860. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  1861. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1862. ANIM = "Walk"
  1863. if ATTACK == false then
  1864. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(5), RAD(0)), 0.15 / Animation_Speed)
  1865. 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.15 / Animation_Speed)
  1866. end
  1867. if TAUNT == false then
  1868. 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, 0.15 / Animation_Speed)
  1869. end
  1870. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(OFFSET)), 0.8 / Animation_Speed)
  1871. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1872. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1873. end
  1874. end
  1875. unanchor()
  1876. Humanoid.MaxHealth = 15e15
  1877. Humanoid.Health = 15e15
  1878. if Rooted == false then
  1879. Disable_Jump = false
  1880. Humanoid.WalkSpeed = Speed
  1881. elseif Rooted == true then
  1882. Disable_Jump = true
  1883. Humanoid.WalkSpeed = 0
  1884.  
  1885. for _, c in pairs(Character:GetDescendants()) do
  1886. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1887. c.Material = "Neon"
  1888. c.Color = C3(0,0,0)
  1889. if c:FindFirstChildOfClass("SpecialMesh") then
  1890. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1891. end
  1892. if c == Head then
  1893. if c:FindFirstChild("face") then
  1894. c.face:remove()
  1895. end
  1896. end
  1897. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1898. c.Color = C3(1,1,1)
  1899. c.Material = "Neon"
  1900. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1901. c:remove()
  1902. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1903. c:remove()
  1904. end
  1905. end
  1906. refit()
  1907. Humanoid.Name = "Corrupt God"
  1908. sick.Parent = Torso
  1909. sick:resume()
  1910. sick.Volume = 2
  1911. sick.Pitch = 1
  1912. sick.SoundId = "rbxassetid://1929271279"
  1913. if Head:FindFirstChildOfClass("Sound") then
  1914. Head:FindFirstChildOfClass("Sound"):remove()
  1915. end
  1916. end
  1917.  
  1918. end
  1919. sick.Volume = 2
  1920. sick.Pitch = 1
  1921. sick.Playing = true
  1922. sick.Parent = Torso
  1923. Humanoid.Name = MRANDOM(100000000,999999999)
  1924. Humanoid.PlatformStand = false
  1925. for _, c in pairs(Cam:GetChildren()) do
  1926. if game.Players:FindFirstChild(c.Name) == nil and c.ClassName == "BillboardGui" then
  1927. c:remove()
  1928. end
  1929. end
  1930. for LIST = 1, #WHITELIST do
  1931. if WHITELIST[LIST] ~= nil then
  1932. local CHARACTER = workspace:FindFirstChild(WHITELIST[LIST])
  1933. if CHARACTER then
  1934. if Cam:FindFirstChild(WHITELIST[LIST]) == nil then
  1935. local TORSO = CHARACTER:FindFirstChild("Torso") or CHARACTER:FindFirstChild("UpperTorso")
  1936. if TORSO then
  1937. CreateSound(201858045, Cam, 3, 1)
  1938. local GUI = Instance.new("BillboardGui",Cam)
  1939. GUI.Name = WHITELIST[LIST]
  1940. GUI.Size = UDim2.new(5,0,5,0)
  1941. GUI.Adornee = TORSO
  1942. local GUI2 = IT("ImageLabel",GUI)
  1943. GUI2.BackgroundTransparency = 1
  1944. GUI2.BorderSizePixel = 0
  1945. GUI2.ImageTransparency = 1
  1946. GUI2.Size = UDim2.new(1,0,1,0)
  1947. GUI2.SizeConstraint = "RelativeYY"
  1948. GUI.AlwaysOnTop = true
  1949. GUI2.Image = "http://www.roblox.com/asset/?id=142164463"
  1950. end
  1951. else
  1952. local GUI = Cam:FindFirstChild(WHITELIST[LIST])
  1953. if GUI.ImageLabel.ImageTransparency <= 1 then
  1954. GUI.ImageLabel.ImageTransparency = GUI.ImageLabel.ImageTransparency - 0.03
  1955. end
  1956. local TORSO = CHARACTER:FindFirstChild("Torso") or CHARACTER:FindFirstChild("UpperTorso")
  1957. if TORSO then
  1958. GUI.Adornee = TORSO
  1959. end
  1960. end
  1961. else
  1962. if Cam:FindFirstChild(WHITELIST[LIST]) then
  1963. Cam:FindFirstChild(WHITELIST[LIST]):remove()
  1964. end
  1965. end
  1966. else
  1967. if Cam:FindFirstChild(WHITELIST[LIST]) then
  1968. Cam:FindFirstChild(WHITELIST[LIST]):remove()
  1969. end
  1970. table.remove(WHITELIST,LIST)
  1971. end
  1972. end
  1973. if Character:FindFirstChildOfClass("Accessory") then
  1974. Character:FindFirstChildOfClass("Accessory"):remove()
  1975. elseif Character:FindFirstChildOfClass("Hat") then
  1976. Character:FindFirstChildOfClass("Hat"):remove()
  1977. end
  1978. if Head:FindFirstChild("face") then
  1979. Head.face.Texture = "rbxassetid://403870689"
  1980. end
  1981. BLINKLOOP = BLINKLOOP + 1
  1982. if BLINKLOOP >=650 then
  1983. BLINKLOOP = 0
  1984. Blink()
  1985. end
  1986. Humanoid.DisplayDistanceType = "None"
  1987. Humanoid.PlatformStand = false
  1988. refit()
  1989. for _, c in pairs(Torso:GetChildren()) do
  1990. if c:IsA("JointInstance") or c.ClassName == "Sound" then
  1991. else
  1992. c:remove()
  1993. end
  1994. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement