Advertisement
cobblecorn

Untitled

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