RIDHOCRaIWIW

UNLEASHED DEMON

Jun 13th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.27 KB | None | 0 0
  1. wait(0.2)
  2.  
  3. Player = game:GetService("Players").LocalPlayer
  4. PlayerGui = Player.PlayerGui
  5. Cam = workspace.CurrentCamera
  6. Backpack = Player.Backpack
  7. Character = Player.Character
  8. Humanoid = Character.Humanoid
  9. Mouse = Player:GetMouse()
  10. RootPart = Character["HumanoidRootPart"]
  11. Torso = Character["Torso"]
  12. Head = Character["Head"]
  13. RightArm = Character["Right Arm"]
  14. LeftArm = Character["Left Arm"]
  15. RightLeg = Character["Right Leg"]
  16. LeftLeg = Character["Left Leg"]
  17. RootJoint = RootPart["RootJoint"]
  18. Neck = Torso["Neck"]
  19. RightShoulder = Torso["Right Shoulder"]
  20. LeftShoulder = Torso["Left Shoulder"]
  21. RightHip = Torso["Right Hip"]
  22. LeftHip = Torso["Left Hip"]
  23. local sick = Instance.new("Sound",Torso)
  24. sick.SoundId = "rbxassetid://616574693"
  25. sick.Looped = true
  26. sick.Pitch = 1
  27. sick.Volume = 1
  28. sick:Play()
  29.  
  30.  
  31.  
  32.  
  33. IT = Instance.new
  34. CF = CFrame.new
  35. VT = Vector3.new
  36. RAD = math.rad
  37. C3 = Color3.new
  38. UD2 = UDim2.new
  39. BRICKC = BrickColor.new
  40. ANGLES = CFrame.Angles
  41. EULER = CFrame.fromEulerAnglesXYZ
  42. COS = math.cos
  43. ACOS = math.acos
  44. SIN = math.sin
  45. ASIN = math.asin
  46. ABS = math.abs
  47. MRANDOM = math.random
  48. FLOOR = math.floor
  49.  
  50. --//=================================\\
  51. --|| USEFUL VALUES
  52. --\\=================================//
  53.  
  54. Animation_Speed = 3
  55. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  56. local Speed = 12
  57. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  58. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  59. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  60. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  61. local DAMAGEMULTIPLIER = 1
  62. local ANIM = "Idle"
  63. local ATTACK = false
  64. local EQUIPPED = false
  65. local HOLD = false
  66. local COMBO = 1
  67. local Rooted = false
  68. local SINE = 0
  69. local KEYHOLD = false
  70. local CHANGE = 2 / Animation_Speed
  71. local WALKINGANIM = false
  72. local VALUE1 = false
  73. local VALUE2 = false
  74. local ROBLOXIDLEANIMATION = IT("Animation")
  75. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  76. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  77. --ROBLOXIDLEANIMATION.Parent = Humanoid
  78. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  79. WEAPONGUI.Name = "Weapon GUI"
  80. local Effects = IT("Folder", Character)
  81. Effects.Name = "Effects"
  82. local ANIMATOR = Humanoid.Animator
  83. local ANIMATE = Character.Animate
  84. local UNANCHOR = true
  85. local WHITELIST = {}
  86. local TAUNT = false
  87. local OFFSET = 0
  88. local FULL = false
  89.  
  90. --//=================================\\
  91. --\\=================================//
  92.  
  93.  
  94. --//=================================\\
  95. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  96. --\\=================================//
  97.  
  98. ArtificialHB = Instance.new("BindableEvent", script)
  99. ArtificialHB.Name = "ArtificialHB"
  100.  
  101. script:WaitForChild("ArtificialHB")
  102.  
  103. frame = Frame_Speed
  104. tf = 0
  105. allowframeloss = false
  106. tossremainder = false
  107. lastframe = tick()
  108. script.ArtificialHB:Fire()
  109.  
  110. game:GetService("RunService").Heartbeat:connect(function(s, p)
  111. tf = tf + s
  112. if tf >= frame then
  113. if allowframeloss then
  114. script.ArtificialHB:Fire()
  115. lastframe = tick()
  116. else
  117. for i = 1, math.floor(tf / frame) do
  118. script.ArtificialHB:Fire()
  119. end
  120. lastframe = tick()
  121. end
  122. if tossremainder then
  123. tf = 0
  124. else
  125. tf = tf - frame * math.floor(tf / frame)
  126. end
  127. end
  128. end)
  129.  
  130. --//=================================\\
  131. --\\=================================//
  132.  
  133. --//=================================\\
  134. --|| SOME FUNCTIONS
  135. --\\=================================//
  136.  
  137. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  138. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  139. end
  140.  
  141. function PositiveAngle(NUMBER)
  142. if NUMBER >= 0 then
  143. NUMBER = 0
  144. end
  145. return NUMBER
  146. end
  147.  
  148. function NegativeAngle(NUMBER)
  149. if NUMBER <= 0 then
  150. NUMBER = 0
  151. end
  152. return NUMBER
  153. end
  154.  
  155. function Swait(NUMBER)
  156. if NUMBER == 0 or NUMBER == nil then
  157. ArtificialHB.Event:wait()
  158. else
  159. for i = 1, NUMBER do
  160. ArtificialHB.Event:wait()
  161. end
  162. end
  163. end
  164.  
  165. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  166. local NEWMESH = IT(MESH)
  167. if MESH == "SpecialMesh" then
  168. NEWMESH.MeshType = MESHTYPE
  169. if MESHID ~= "nil" and MESHID ~= "" then
  170. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  171. end
  172. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  173. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  174. end
  175. end
  176. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  177. NEWMESH.Scale = SCALE
  178. NEWMESH.Parent = PARENT
  179. return NEWMESH
  180. end
  181.  
  182. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  183. local NEWPART = IT("Part")
  184. NEWPART.formFactor = FORMFACTOR
  185. NEWPART.Reflectance = REFLECTANCE
  186. NEWPART.Transparency = TRANSPARENCY
  187. NEWPART.CanCollide = false
  188. NEWPART.Locked = true
  189. NEWPART.Anchored = true
  190. if ANCHOR == false then
  191. NEWPART.Anchored = false
  192. end
  193. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  194. NEWPART.Name = NAME
  195. NEWPART.Size = SIZE
  196. NEWPART.Position = Torso.Position
  197. NEWPART.Material = MATERIAL
  198. NEWPART:BreakJoints()
  199. NEWPART.Parent = PARENT
  200. return NEWPART
  201. end
  202.  
  203. local function weldBetween(a, b)
  204. local weldd = Instance.new("ManualWeld")
  205. weldd.Part0 = a
  206. weldd.Part1 = b
  207. weldd.C0 = CFrame.new()
  208. weldd.C1 = b.CFrame:inverse() * a.CFrame
  209. weldd.Parent = a
  210. return weldd
  211. end
  212.  
  213.  
  214. function QuaternionFromCFrame(cf)
  215. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  216. local trace = m00 + m11 + m22
  217. if trace > 0 then
  218. local s = math.sqrt(1 + trace)
  219. local recip = 0.5 / s
  220. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  221. else
  222. local i = 0
  223. if m11 > m00 then
  224. i = 1
  225. end
  226. if m22 > (i == 0 and m00 or m11) then
  227. i = 2
  228. end
  229. if i == 0 then
  230. local s = math.sqrt(m00 - m11 - m22 + 1)
  231. local recip = 0.5 / s
  232. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  233. elseif i == 1 then
  234. local s = math.sqrt(m11 - m22 - m00 + 1)
  235. local recip = 0.5 / s
  236. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  237. elseif i == 2 then
  238. local s = math.sqrt(m22 - m00 - m11 + 1)
  239. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  240. end
  241. end
  242. end
  243.  
  244. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  245. local xs, ys, zs = x + x, y + y, z + z
  246. local wx, wy, wz = w * xs, w * ys, w * zs
  247. local xx = x * xs
  248. local xy = x * ys
  249. local xz = x * zs
  250. local yy = y * ys
  251. local yz = y * zs
  252. local zz = z * zs
  253. 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))
  254. end
  255.  
  256. function QuaternionSlerp(a, b, t)
  257. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  258. local startInterp, finishInterp;
  259. if cosTheta >= 0.0001 then
  260. if (1 - cosTheta) > 0.0001 then
  261. local theta = ACOS(cosTheta)
  262. local invSinTheta = 1 / SIN(theta)
  263. startInterp = SIN((1 - t) * theta) * invSinTheta
  264. finishInterp = SIN(t * theta) * invSinTheta
  265. else
  266. startInterp = 1 - t
  267. finishInterp = t
  268. end
  269. else
  270. if (1 + cosTheta) > 0.0001 then
  271. local theta = ACOS(-cosTheta)
  272. local invSinTheta = 1 / SIN(theta)
  273. startInterp = SIN((t - 1) * theta) * invSinTheta
  274. finishInterp = SIN(t * theta) * invSinTheta
  275. else
  276. startInterp = t - 1
  277. finishInterp = t
  278. end
  279. end
  280. 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
  281. end
  282.  
  283. function Clerp(a, b, t)
  284. local qa = {QuaternionFromCFrame(a)}
  285. local qb = {QuaternionFromCFrame(b)}
  286. local ax, ay, az = a.x, a.y, a.z
  287. local bx, by, bz = b.x, b.y, b.z
  288. local _t = 1 - t
  289. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  290. end
  291.  
  292. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  293. local frame = IT("Frame")
  294. frame.BackgroundTransparency = TRANSPARENCY
  295. frame.BorderSizePixel = BORDERSIZEPIXEL
  296. frame.Position = POSITION
  297. frame.Size = SIZE
  298. frame.BackgroundColor3 = COLOR
  299. frame.BorderColor3 = BORDERCOLOR
  300. frame.Name = NAME
  301. frame.Parent = PARENT
  302. return frame
  303. end
  304.  
  305. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  306. local label = IT("TextLabel")
  307. label.BackgroundTransparency = 1
  308. label.Size = UD2(1, 0, 1, 0)
  309. label.Position = UD2(0, 0, 0, 0)
  310. label.TextColor3 = TEXTCOLOR
  311. label.TextStrokeTransparency = STROKETRANSPARENCY
  312. label.TextTransparency = TRANSPARENCY
  313. label.FontSize = TEXTFONTSIZE
  314. label.Font = TEXTFONT
  315. label.BorderSizePixel = BORDERSIZEPIXEL
  316. label.TextScaled = false
  317. label.Text = TEXT
  318. label.Name = NAME
  319. label.Parent = PARENT
  320. return label
  321. end
  322.  
  323. function NoOutlines(PART)
  324. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  325. end
  326.  
  327. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  328. local NEWWELD = IT(TYPE)
  329. NEWWELD.Part0 = PART0
  330. NEWWELD.Part1 = PART1
  331. NEWWELD.C0 = C0
  332. NEWWELD.C1 = C1
  333. NEWWELD.Parent = PARENT
  334. return NEWWELD
  335. end
  336.  
  337. local S = IT("Sound")
  338. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  339. local NEWSOUND = nil
  340. coroutine.resume(coroutine.create(function()
  341. NEWSOUND = S:Clone()
  342. NEWSOUND.Parent = PARENT
  343. NEWSOUND.Volume = VOLUME
  344. NEWSOUND.Pitch = PITCH
  345. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  346. NEWSOUND:play()
  347. if DOESLOOP == true then
  348. NEWSOUND.Looped = true
  349. else
  350. repeat wait(1) until NEWSOUND.Playing == false
  351. NEWSOUND:remove()
  352. end
  353. end))
  354. return NEWSOUND
  355. end
  356.  
  357. function CFrameFromTopBack(at, top, back)
  358. local right = top:Cross(back)
  359. 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)
  360. end
  361.  
  362. --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})
  363. function WACKYEFFECT(Table)
  364. local TYPE = (Table.EffectType or "Sphere")
  365. local SIZE = (Table.Size or VT(1,1,1))
  366. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  367. local TRANSPARENCY = (Table.Transparency or 0)
  368. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  369. local CFRAME = (Table.CFrame or Torso.CFrame)
  370. local MOVEDIRECTION = (Table.MoveToPos or nil)
  371. local ROTATION1 = (Table.RotationX or 0)
  372. local ROTATION2 = (Table.RotationY or 0)
  373. local ROTATION3 = (Table.RotationZ or 0)
  374. local MATERIAL = (Table.Material or "Neon")
  375. local COLOR = (Table.Color or C3(1,1,1))
  376. local TIME = (Table.Time or 45)
  377. local SOUNDID = (Table.SoundID or nil)
  378. local SOUNDPITCH = (Table.SoundPitch or nil)
  379. local SOUNDVOLUME = (Table.SoundVolume or nil)
  380. coroutine.resume(coroutine.create(function()
  381. local PLAYSSOUND = false
  382. local SOUND = nil
  383. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  384. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  385. PLAYSSOUND = true
  386. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  387. end
  388. EFFECT.Color = COLOR
  389. local MSH = nil
  390. if TYPE == "Sphere" then
  391. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  392. elseif TYPE == "Block" then
  393. MSH = IT("BlockMesh",EFFECT)
  394. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  395. elseif TYPE == "Wave" then
  396. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  397. elseif TYPE == "Ring" then
  398. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  399. elseif TYPE == "Slash" then
  400. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  401. elseif TYPE == "Round Slash" then
  402. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  403. elseif TYPE == "Swirl" then
  404. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  405. elseif TYPE == "Skull" then
  406. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  407. elseif TYPE == "Crystal" then
  408. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  409. end
  410. if MSH ~= nil then
  411. local MOVESPEED = nil
  412. if MOVEDIRECTION ~= nil then
  413. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  414. end
  415. local GROWTH = SIZE - ENDSIZE
  416. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  417. if TYPE == "Block" then
  418. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  419. else
  420. EFFECT.CFrame = CFRAME
  421. end
  422. for LOOP = 1, TIME+1 do
  423. Swait()
  424. MSH.Scale = MSH.Scale - GROWTH/TIME
  425. if TYPE == "Wave" then
  426. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  427. end
  428. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  429. if TYPE == "Block" then
  430. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  431. else
  432. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  433. end
  434. if MOVEDIRECTION ~= nil then
  435. local ORI = EFFECT.Orientation
  436. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  437. EFFECT.Orientation = ORI
  438. end
  439. end
  440. if PLAYSSOUND == false then
  441. EFFECT:remove()
  442. else
  443. SOUND.Stopped:Connect(function()
  444. EFFECT:remove()
  445. end)
  446. end
  447. else
  448. if PLAYSSOUND == false then
  449. EFFECT:remove()
  450. else
  451. repeat Swait() until SOUND.Playing == false
  452. EFFECT:remove()
  453. end
  454. end
  455. end))
  456. end
  457.  
  458. function MakeForm(PART,TYPE)
  459. if TYPE == "Cyl" then
  460. local MSH = IT("CylinderMesh",PART)
  461. elseif TYPE == "Ball" then
  462. local MSH = IT("SpecialMesh",PART)
  463. MSH.MeshType = "Sphere"
  464. elseif TYPE == "Wedge" then
  465. local MSH = IT("SpecialMesh",PART)
  466. MSH.MeshType = "Wedge"
  467. end
  468. end
  469.  
  470. Debris = game:GetService("Debris")
  471.  
  472. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  473. local DIRECTION = CF(StartPos,EndPos).lookVector
  474. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  475. end
  476.  
  477. local EyeSizes={
  478. NumberSequenceKeypoint.new(0,1,0),
  479. NumberSequenceKeypoint.new(1,0,0)
  480. }
  481. local EyeTrans={
  482. NumberSequenceKeypoint.new(0,0.8,0),
  483. NumberSequenceKeypoint.new(1,1,0)
  484. }
  485. local PE=Instance.new("ParticleEmitter",nil)
  486. PE.LightEmission=.8
  487. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  488. PE.Size=NumberSequence.new(EyeSizes)
  489. PE.Transparency=NumberSequence.new(EyeTrans)
  490. PE.Lifetime=NumberRange.new(0.35,1.5)
  491. PE.Rotation=NumberRange.new(0,360)
  492. PE.Rate=999
  493. PE.VelocitySpread = 10000
  494. PE.Acceleration = Vector3.new(0,0,0)
  495. PE.Drag = 5
  496. PE.Speed = NumberRange.new(0,0,0)
  497. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  498. PE.ZOffset = -0
  499. PE.Name = "PE"
  500. PE.Enabled = false
  501.  
  502. function particles(art)
  503. local PARTICLES = PE:Clone()
  504. PARTICLES.Parent = art
  505. end
  506.  
  507. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  508. if FLOOR ~= nil then
  509. coroutine.resume(coroutine.create(function()
  510. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  511. PART.CFrame = CF(POSITION)
  512. for i = 1, 45 do
  513. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  514. RingPiece.Material = FLOOR.Material
  515. RingPiece.Color = FLOOR.Color
  516. 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)))
  517. Debris:AddItem(RingPiece,SWAIT)
  518. end
  519. PART:remove()
  520. end))
  521. end
  522. end
  523.  
  524. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  525. if FLOOR ~= nil then
  526. for i = 1, AMOUNT do
  527. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  528. DEBREE.Material = FLOOR.Material
  529. DEBREE.Color = FLOOR.Color
  530. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  531. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  532. coroutine.resume(coroutine.create(function()
  533. Swait(15)
  534. DEBREE.Parent = workspace
  535. DEBREE.CanCollide = true
  536. Debris:AddItem(DEBREE,SWAIT)
  537. end))
  538. end
  539. end
  540. end
  541.  
  542. --//=================================\\
  543. --|| WEAPON CREATION
  544. --\\=================================//
  545.  
  546.  
  547. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  548. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  549. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  550. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "Insitutional white", VT(1.1,1,1.1), VT(0,0,0))
  551. for i = 1, 16 do
  552. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16., "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  553. FACE.Color = C3(0,0,0)
  554. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  555. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  556. end
  557. local EYE = CreatePart(3, Character, "Neon", 0, 0, "inst", "Eyeball", VT(0.15,0.15,0.15),false)
  558. MakeForm(EYE,"Ball")
  559. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  560. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "inst", "Eyeball", VT(0.15,0.15,0.15),false)
  561. MakeForm(EYE2,"Ball")
  562. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  563.  
  564.  
  565. local Hair = CreatePart(0, Character, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
  566. local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  567. CreateMesh("SpecialMesh", Hair, "FileMesh", "", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
  568. local Hair = CreatePart(0, Character, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
  569. local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  570. CreateMesh("SpecialMesh", Hair, "FileMesh", "", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
  571.  
  572. local BODY = {}
  573.  
  574. for _, c in pairs(Character:GetDescendants()) do
  575. if c:IsA("BasePart") and c.Name ~= "Handle" then
  576. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  577. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  578. end
  579. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  580. elseif c:IsA("JointInstance") then
  581. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  582. end
  583. end
  584.  
  585. for e = 1, #BODY do
  586. if BODY[e] ~= nil then
  587. local STUFF = BODY[e]
  588. local PART = STUFF[1]
  589. local PARENT = STUFF[2]
  590. local MATERIAL = STUFF[3]
  591. local COLOR = STUFF[4]
  592. local TRANSPARENCY = STUFF[5]
  593. if PART.ClassName == "Part" and PART ~= RootPart then
  594. PART.Material = MATERIAL
  595. PART.Color = COLOR
  596. PART.Transparency = TRANSPARENCY
  597. end
  598. PART.AncestryChanged:Connect(function()
  599. PART.Parent = PARENT
  600. end)
  601. end
  602. end
  603.  
  604. function refit()
  605. Character.Parent = workspace
  606. for e = 1, #BODY do
  607. if BODY[e] ~= nil then
  608. local STUFF = BODY[e]
  609. local PART = STUFF[1]
  610. local PARENT = STUFF[2]
  611. local MATERIAL = STUFF[3]
  612. local COLOR = STUFF[4]
  613. local TRANSPARENCY = STUFF[5]
  614. if PART.ClassName == "Part" and PART ~= RootPart then
  615. PART.Material = MATERIAL
  616. PART.Color = COLOR
  617. PART.Transparency = TRANSPARENCY
  618. end
  619. if PART.Parent ~= PARENT then
  620. Humanoid:remove()
  621. PART.Parent = PARENT
  622. Humanoid = IT("Humanoid",Character)
  623. end
  624. end
  625. end
  626. end
  627.  
  628. local SKILLTEXTCOLOR = C3(0,0,0)
  629. local SKILLFONT = "Antique"
  630. local SKILLTEXTSIZE = 7
  631.  
  632. Humanoid.Died:connect(function()
  633. refit()
  634. end)
  635.  
  636. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  637. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  638. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  639. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  640. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  641. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.05, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  642.  
  643. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Whitelist", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  644. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Clear whitelist", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  645. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Smite", SKILLTEXTCOLOR, 8, SKILLFONT, 0, 2, 1, "Text 3")
  646. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Meteor Shower", SKILLTEXTCOLOR, 10, SKILLFONT, 0, 2, 1, "Text 4")
  647. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] Teleport", SKILLTEXTCOLOR, 10, SKILLFONT, 0, 2, 1, "Text 5")
  648. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[P] Equivalent Pain", SKILLTEXTCOLOR, 12, SKILLFONT, 0, 2, 1, "Text 6")
  649.  
  650. function Blink()
  651. coroutine.resume(coroutine.create(function()
  652. if EYE ~= nil then
  653. for i = 1, 5 do
  654. Swait()
  655. EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0,0.2,0)
  656. EYE2.Mesh.Scale = EYE.Mesh.Scale
  657. end
  658. for i = 1, 7 do
  659. Swait()
  660. EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0,0.2,0)
  661. EYE2.Mesh.Scale = EYE.Mesh.Scale
  662. end
  663. EYE.Mesh.Scale = VT(1,1,1)
  664. EYE2.Mesh.Scale = EYE.Mesh.Scale
  665. end
  666. end))
  667. end
  668.  
  669. --//=================================\\
  670. --|| DAMAGE FUNCTIONS
  671. --\\=================================//
  672.  
  673. function StatLabel(CFRAME, TEXT, COLOR)
  674. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  675. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  676. local BODYGYRO = IT("BodyGyro", STATPART)
  677. game:GetService("Debris"):AddItem(STATPART ,5)
  678. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  679. BILLBOARDGUI.Adornee = STATPART
  680. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  681. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  682. BILLBOARDGUI.AlwaysOnTop = false
  683. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  684. TEXTLABEL.BackgroundTransparency = 1
  685. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  686. TEXTLABEL.Text = TEXT
  687. TEXTLABEL.Font = SKILLFONT
  688. TEXTLABEL.FontSize="Size42"
  689. TEXTLABEL.TextColor3 = COLOR
  690. TEXTLABEL.TextStrokeTransparency = 0
  691. TEXTLABEL.TextScaled = true
  692. TEXTLABEL.TextWrapped = true
  693. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  694. for i = 1, 50 do
  695. Swait()
  696. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  697. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  698. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  699. end
  700. THEPART.Parent = nil
  701. end),STATPART, TEXTLABEL)
  702. end
  703.  
  704. --//=================================\\
  705. --|| DAMAGING
  706. --\\=================================//
  707.  
  708. function KillChildren(v)
  709. v:BreakJoints()
  710. for _, c in pairs(v:GetChildren()) do
  711. if c:IsA("BasePart") then
  712. if c.Transparency < 1 then
  713. if c:FindFirstChildOfClass("Decal") then
  714. c:FindFirstChildOfClass("Decal"):remove()
  715. end
  716. particles(c)
  717. c.PE.Enabled = true
  718. c.Parent = Effects
  719. c.CanCollide = false
  720. c.Material = "Neon"
  721. c.Color = C3(1,0,0)
  722. c.Transparency = 1
  723. local grav = Instance.new("BodyPosition",c)
  724. grav.P = 20000
  725. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  726. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  727. grav.Name = "GravityForce"
  728. coroutine.resume(coroutine.create(function()
  729. for i = 1, 20 do
  730. Swait()
  731. c.Transparency = c.Transparency + 1/20
  732. end
  733. c.PE.Enabled = false
  734. Debris:AddItem(c,2)
  735. end))
  736. end
  737. end
  738. end
  739. end
  740.  
  741. function ApplyAoE(POSITION,RANGE)
  742. local CHILDREN = workspace:GetDescendants()
  743. for index, CHILD in pairs(CHILDREN) do
  744. if CHILD.ClassName == "Model" and CHILD ~= Character then
  745. local LISTED = false
  746. for LIST = 1, #WHITELIST do
  747. if WHITELIST[LIST] ~= nil then
  748. if CHILD.Name == WHITELIST[LIST] then
  749. LISTED = true
  750. end
  751. end
  752. end
  753. if LISTED == false then
  754. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  755. if HUM then
  756. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  757. if TORSO then
  758. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  759. KillChildren(CHILD)
  760. end
  761. end
  762. end
  763. end
  764. end
  765. end
  766. end
  767.  
  768. --//=================================\\
  769. --|| ATTACK FUNCTIONS AND STUFF
  770. --\\=================================//
  771.  
  772. function Click()
  773. ATTACK = true
  774. Rooted = false
  775. local HIT = nil
  776. OFFSET = -45
  777. for i=0, 1, 0.1 / Animation_Speed do
  778. Swait()
  779. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  780. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  781. end
  782. OFFSET = 45
  783. local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "Hit", VT(0.7,0.7,0.7),false)
  784. PUNCH.CanCollide = true
  785. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
  786. TAUNT = true
  787. local TOUCH = PUNCH.Touched:Connect(function(hit)
  788. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  789. HIT = hit.Parent
  790. end
  791. end)
  792. for i=0, 0.3, 0.1 / Animation_Speed do
  793. Swait()
  794. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3)
  795. if HIT ~= nil then
  796. break
  797. end
  798. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  799. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  800. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  801. end
  802. PUNCH:remove()
  803. TOUCH:disconnect()
  804. if HIT ~= nil then
  805. for _, c in pairs(HIT:GetChildren()) do
  806. if c:IsA("BasePart") then
  807. c.Anchored = true
  808. end
  809. end
  810. Rooted = true
  811. CreateSound(649634100, Torso, 10, 0.8)
  812. CreateSound(1368573150, RightArm, 3, 1.5)
  813. for i=0, 0.6, 0.1 / Animation_Speed do
  814. Swait()
  815. 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(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  816. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(25), RAD(-45)), 0.05 / Animation_Speed)
  817. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  818. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  819. end
  820. for _, c in pairs(HIT:GetChildren()) do
  821. if c:IsA("BasePart") then
  822. c.Anchored = false
  823. end
  824. end
  825. KillChildren(HIT)
  826. end
  827. OFFSET = 0
  828. ATTACK = false
  829. Rooted = false
  830. TAUNT = false
  831. end
  832.  
  833. function Whitelist()
  834. if Mouse.Target ~= nil then
  835. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  836. if game.Players:FindFirstChild(Mouse.Target.Parent.Name) then
  837. table.insert(WHITELIST,Mouse.Target.Parent.Name)
  838. end
  839. end
  840. end
  841. end
  842.  
  843. function Clear_Whitelist()
  844. if Mouse.Target ~= nil then
  845. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  846. for LIST = 1, #WHITELIST do
  847. if WHITELIST[LIST] ~= nil then
  848. if Mouse.Target.Parent.Name == WHITELIST[LIST] then
  849. table.remove(WHITELIST,LIST)
  850. for _, c in pairs(Cam:GetChildren()) do
  851. if c.Name == Mouse.Target.Parent.Name then
  852. c:remove()
  853. end
  854. end
  855. end
  856. end
  857. end
  858. end
  859. end
  860. end
  861.  
  862. function SpawnSmite(POS)
  863. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  864. local EMITPOS = HITPOS
  865. if HITFLOOR ~= nil then
  866. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  867. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  868. EMITPOS = HITPOS
  869. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  870. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  871. EMITPOS = HITPOS
  872. end
  873. end
  874. if HITFLOOR ~= nil then
  875. ApplyAoE(EMITPOS,10)
  876. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  877. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  878. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  879. for i = 1, 5 do
  880. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  881. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  882. end
  883. end
  884. end
  885.  
  886. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  887. coroutine.resume(coroutine.create(function()
  888. local METEOR = IT("Model",Effects)
  889. METEOR.Name = "Meteorite"
  890. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  891. METEOR.PrimaryPart = CENTER
  892. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  893. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  894. for i = 1, 15 do
  895. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  896. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  897. end
  898. if ISDEBREE ~= true then
  899. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  900. else
  901. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  902. end
  903. local IMPACT = false
  904. CreateSound(463593339, CENTER, 10, 0.6)
  905. if SIZE >= 3.5 then
  906. for i = 1, MRANDOM(3,7) do
  907. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  908. end
  909. end
  910. for i = 1, 200 do
  911. Swait()
  912. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  913. if HITFLOOR == nil then
  914. local ORI = CENTER.Orientation
  915. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  916. else
  917. if HITFLOOR.Anchored == true then
  918. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  919. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  920. end
  921. IMPACT = true
  922. break
  923. end
  924. end
  925. if IMPACT == true then
  926. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  927. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  928. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  929. ApplyAoE(CENTER.Position,30*SIZE)
  930. end
  931. METEOR:remove()
  932. end))
  933. end
  934.  
  935. function Smite()
  936. ATTACK = true
  937. Rooted = false
  938. CreateSound(1368573150, RightArm, 3, 1.5)
  939. for i=0, 0.6, 0.1 / Animation_Speed do
  940. Swait()
  941. 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(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  942. 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)
  943. 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)
  944. end
  945. local POWER = 0
  946. repeat
  947. Swait()
  948. 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(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  949. 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)
  950. 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)
  951. POWER = POWER + 0.5
  952. if POWER >= 85 then
  953. POWER = 85
  954. end
  955. until KEYHOLD == false
  956. if POWER < 0.6 then
  957. SpawnSmite(Mouse.Hit.p)
  958. else
  959. if POWER < 15 then
  960. POWER = 15
  961. end
  962. SpawnMeteor(Mouse.Hit.p,POWER/15)
  963. end
  964. ATTACK = false
  965. Rooted = false
  966. end
  967.  
  968. function Meteor_Shower()
  969. ATTACK = true
  970. Rooted = false
  971. CreateSound(1368573150, RightArm, 3, 0.8)
  972. CreateSound(649634100, Torso, 10, 0.8)
  973. for i=0, 1.2, 0.1 / Animation_Speed do
  974. Swait()
  975. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, 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(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  976. 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)
  977. 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)
  978. end
  979. local POS = Mouse.Hit.p
  980. CreateSound(463593339, Effects, 3, 1)
  981. coroutine.resume(coroutine.create(function()
  982. for i = 1, 35 do
  983. wait(MRANDOM(5,150)/100)
  984. SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  985. end
  986. end))
  987. ATTACK = false
  988. Rooted = false
  989. end
  990.  
  991. function Taunt()
  992. ATTACK = true
  993. Rooted = false
  994. TAUNT = true
  995. for i=0, 0.1, 0.1 / Animation_Speed do
  996. Swait()
  997. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  998. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  999. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1000. end
  1001. for i=0, 3, 0.1 / Animation_Speed do
  1002. Swait()
  1003. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1004. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1005. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1006. end
  1007. CreateSound(363808674, Torso, 10, 1.3)
  1008. for i=0, 1, 0.1 / Animation_Speed do
  1009. Swait()
  1010. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  1011. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  1012. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1013. end
  1014. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1015. CreateSound(649634100, Torso, 10, 0.8)
  1016. for i=0, 0.01, 0.1 / Animation_Speed do
  1017. Swait()
  1018. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1019. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1020. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1021. end
  1022. ATTACK = false
  1023. Rooted = false
  1024. TAUNT = false
  1025. end
  1026.  
  1027. function Teleport()
  1028. ATTACK = true
  1029. Rooted = false
  1030. for i=0, 0.5, 0.1 / Animation_Speed do
  1031. Swait()
  1032. 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)
  1033. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1034. end
  1035. for e = 1, #BODY do
  1036. if BODY[e] ~= nil then
  1037. local STUFF = BODY[e]
  1038. local PART = STUFF[1]
  1039. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1040. local PRT = PART:Clone()
  1041. PRT.Anchored = true
  1042. PRT.CanCollide = false
  1043. PRT.Material = "Neon"
  1044. PRT.Color = C3(1,0,0)
  1045. PRT.Name = "WarpEffect"
  1046. PRT.Parent = Effects
  1047. PRT.CFrame = PART.CFrame
  1048. PRT:BreakJoints()
  1049. if PRT:FindFirstChildOfClass("Sound") then
  1050. PRT:FindFirstChildOfClass("Sound"):remove()
  1051. end
  1052. if PRT:FindFirstChildOfClass("Decal") then
  1053. PRT:FindFirstChildOfClass("Decal"):remove()
  1054. end
  1055. coroutine.resume(coroutine.create(function()
  1056. for i = 1, 100 do
  1057. Swait()
  1058. PRT.Transparency = PRT.Transparency + 1/100
  1059. end
  1060. PRT:remove()
  1061. end))
  1062. end
  1063. end
  1064. end
  1065. CreateSound(217767125, Torso, 10, 1)
  1066. local POS = RootPart.Orientation
  1067. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1068. RootPart.Orientation = POS
  1069. RootJoint.Parent = RootPart
  1070. for i=0, 0.5, 0.1 / Animation_Speed do
  1071. Swait()
  1072. 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)
  1073. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1074. end
  1075. for i=0, 0.1, 0.1 / Animation_Speed do
  1076. Swait()
  1077. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1078. end
  1079. ATTACK = false
  1080. Rooted = false
  1081. end
  1082.  
  1083. function Equivalent_Pain()
  1084. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1085. if HITFLOOR then
  1086. ATTACK = true
  1087. Rooted = true
  1088. FULL = true
  1089. local GYRO = IT("BodyGyro",RootPart)
  1090. GYRO.D = 25
  1091. GYRO.P = 20000
  1092. GYRO.MaxTorque = VT(0,math.huge,0)
  1093. for i=0, 0.3, 0.1 / Animation_Speed do
  1094. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1095. Swait()
  1096. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1097. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1098. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1099. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1100. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-35)), 1 / Animation_Speed)
  1101. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(5)), 1 / Animation_Speed)
  1102. end
  1103. GYRO:remove()
  1104. CreateSound(12222200, RightArm, 10, 1)
  1105. for i=0, 0.4, 0.1 / Animation_Speed do
  1106. Swait()
  1107. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  1108. 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)
  1109. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1110. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1111. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  1112. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1113. end
  1114. CreateSound(289842971, RightArm, 10, 1)
  1115. coroutine.resume(coroutine.create(function()
  1116. local HIT,POS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(Mouse.Hit.p+VT(0,1,0), Mouse.Hit.p-VT(0,1,0))).lookVector, 45, Character)
  1117. local ECHO = POS
  1118. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1119. HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1120. ECHO = POS
  1121. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1122. HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1123. ECHO = POS
  1124. end
  1125. if ECHO.Y == HITPOS.Y then
  1126. local DISTANCE = (HITPOS - ECHO).Magnitude/3
  1127. local CFRAME = CF(HITPOS,ECHO)
  1128. local RANGE = math.ceil(DISTANCE)
  1129. for i = 1, RANGE-1 do
  1130. Swait(3)
  1131. local A = CFRAME*CF(0,0,-i*3)
  1132. ApplyAoE(A.p,4)
  1133. CreateFlyingDebree(HITFLOOR,A,2,VT(2,2,2),2,65)
  1134. end
  1135. local SIZE = 3
  1136. local POS = CFRAME*CF(0,0,-RANGE*3).p
  1137. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(55,0,55)*SIZE, Size2 = VT(55,15,55)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 0.8, SoundVolume = 10})
  1138. WACKYEFFECT({EffectType = "Sphere", Size = VT(10,250,10)*SIZE, Size2 = VT(20,1000,20)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  1139. WACKYEFFECT({EffectType = "Sphere", Size = VT(30,150,30)*SIZE, Size2 = VT(50,300,50)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  1140. for i = 1, 9 do
  1141. WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  1142. end
  1143. for i = 1, 9 do
  1144. WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  1145. end
  1146. ApplyAoE(POS,30*SIZE)
  1147. CreateDebreeRing(HITFLOOR,POS,30*SIZE,VT(8,8,8)*SIZE,5)
  1148. CreateDebreeRing(HITFLOOR,POS,50*SIZE,VT(2,2,2)*SIZE,5)
  1149. end
  1150. end))
  1151. for i=0, 0.6, 0.1 / Animation_Speed do
  1152. Swait()
  1153. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  1154. 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)
  1155. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1156. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1157. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  1158. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1159. end
  1160. FULL = false
  1161. ATTACK = false
  1162. Rooted = false
  1163. end
  1164. end
  1165.  
  1166. --//=================================\\
  1167. --|| ASSIGN THINGS TO KEYS
  1168. --\\=================================//
  1169.  
  1170. function MouseDown(Mouse)
  1171. if ATTACK == false then
  1172. Click()
  1173. end
  1174. end
  1175.  
  1176. function MouseUp(Mouse)
  1177. HOLD = false
  1178. end
  1179.  
  1180. function KeyDown(Key)
  1181. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1182. KEYHOLD = true
  1183. if Key == "z" and ATTACK == false then
  1184. Whitelist()
  1185. end
  1186.  
  1187. if Key == "b" and ATTACK == false then
  1188. Clear_Whitelist()
  1189. end
  1190.  
  1191. if Key == "c" and ATTACK == false then
  1192. Smite()
  1193. end
  1194.  
  1195. if Key == "x" and ATTACK == false then
  1196. Meteor_Shower()
  1197. end
  1198.  
  1199. if Key == "t" and ATTACK == false then
  1200. Taunt()
  1201. end
  1202.  
  1203. if Key == "q" and ATTACK == false then
  1204. Teleport()
  1205. end
  1206.  
  1207. if Key == "p" and ATTACK == false then
  1208. Equivalent_Pain()
  1209. end
  1210. end
  1211. end
  1212.  
  1213. function KeyUp(Key)
  1214. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1215. KEYHOLD = false
  1216. end
  1217. end
  1218.  
  1219. Mouse.Button1Down:connect(function(NEWKEY)
  1220. MouseDown(NEWKEY)
  1221. end)
  1222. Mouse.Button1Up:connect(function(NEWKEY)
  1223. MouseUp(NEWKEY)
  1224. end)
  1225. Mouse.KeyDown:connect(function(NEWKEY)
  1226. KeyDown(NEWKEY)
  1227. end)
  1228. Mouse.KeyUp:connect(function(NEWKEY)
  1229. KeyUp(NEWKEY)
  1230. end)
  1231.  
  1232. --//=================================\\
  1233. --\\=================================//
  1234.  
  1235.  
  1236. function unanchor()
  1237. if UNANCHOR == true then
  1238. g = Character:GetChildren()
  1239. for i = 1, #g do
  1240. if g[i].ClassName == "Part" then
  1241. g[i].Anchored = false
  1242. end
  1243. end
  1244. end
  1245. end
  1246.  
  1247.  
  1248. --//=================================\\
  1249. --|| WRAP THE WHOLE SCRIPT UP
  1250. --\\=================================//
  1251.  
  1252. Humanoid.Changed:connect(function(Jump)
  1253. if Jump == "Jump" and (Disable_Jump == true) then
  1254. Humanoid.Jump = false
  1255. end
  1256. end)
  1257.  
  1258. local BLINKLOOP = 0
  1259. script.Parent = WEAPONGUI
  1260. ANIMATE.Parent = nil
  1261.  
  1262. while true do
  1263. Swait()
  1264. if Humanoid then
  1265. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1266. IDLEANIMATION:Play()
  1267. end
  1268. SINE = SINE + CHANGE*2
  1269. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1270. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1271. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1272. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  1273. HairWeld1.C1 = Clerp(HairWeld1.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 1.5 * SIN(SINE / 12) - 2.5 * COS(SINE / 12)), RAD(4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1274. HairWeld2.C1 = Clerp(HairWeld2.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 - 1.5 * SIN(SINE / 12) + 2.5 * COS(SINE / 12)), RAD(-4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1275. 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)
  1276. if ANIM == "Walk" and TORSOVELOCITY > 1 and FULL == false then
  1277. 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)
  1278. 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)
  1279. 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)
  1280. 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)
  1281. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or FULL == true then
  1282. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1283. 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)
  1284. 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)
  1285. 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)
  1286. end
  1287. if FULL == false then
  1288. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1289. ANIM = "Jump"
  1290. if ATTACK == false then
  1291. 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)
  1292. 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)
  1293. end
  1294. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1295. if TAUNT == false then
  1296. 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)
  1297. end
  1298. 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)
  1299. 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)
  1300. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1301. ANIM = "Fall"
  1302. if ATTACK == false then
  1303. 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)
  1304. 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)
  1305. end
  1306. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(OFFSET)), 0.2 / Animation_Speed)
  1307. if TAUNT == false then
  1308. 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)
  1309. end
  1310. 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)
  1311. 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)
  1312. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1313. ANIM = "Idle"
  1314. if ATTACK == false then
  1315. 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)
  1316. 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)
  1317. end
  1318. 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)
  1319. if TAUNT == false then
  1320. 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)
  1321. end
  1322. 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)
  1323. 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)
  1324. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1325. ANIM = "Walk"
  1326. if ATTACK == false then
  1327. 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)
  1328. 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)
  1329. end
  1330. if TAUNT == false then
  1331. 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)
  1332. end
  1333. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(OFFSET)), 0.8 / Animation_Speed)
  1334. 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)
  1335. 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)
  1336. end
  1337. end
  1338. unanchor()
  1339. Humanoid.MaxHealth = "inf"
  1340. Humanoid.Health = "inf"
  1341. if Rooted == false then
  1342. Disable_Jump = false
  1343. Humanoid.WalkSpeed = Speed
  1344. elseif Rooted == true then
  1345. Disable_Jump = true
  1346. Humanoid.WalkSpeed = 0
  1347. end
  1348. sick.Volume = 2
  1349. sick.Pitch = 1
  1350. sick.Playing = true
  1351. sick.Parent = Torso
  1352. Humanoid.Name = MRANDOM(100000000,999999999)
  1353. Humanoid.PlatformStand = false
  1354. for _, c in pairs(Cam:GetChildren()) do
  1355. if game.Players:FindFirstChild(c.Name) == nil and c.ClassName == "BillboardGui" then
  1356. c:remove()
  1357. end
  1358. end
  1359. for LIST = 1, #WHITELIST do
  1360. if WHITELIST[LIST] ~= nil then
  1361. local CHARACTER = workspace:FindFirstChild(WHITELIST[LIST])
  1362. if CHARACTER then
  1363. if Cam:FindFirstChild(WHITELIST[LIST]) == nil then
  1364. local TORSO = CHARACTER:FindFirstChild("Torso") or CHARACTER:FindFirstChild("UpperTorso")
  1365. if TORSO then
  1366. CreateSound(201858045, Cam, 3, 1)
  1367. local GUI = Instance.new("BillboardGui",Cam)
  1368. GUI.Name = WHITELIST[LIST]
  1369. GUI.Size = UDim2.new(5,0,5,0)
  1370. GUI.Adornee = TORSO
  1371. local GUI2 = IT("ImageLabel",GUI)
  1372. GUI2.BackgroundTransparency = 1
  1373. GUI2.BorderSizePixel = 0
  1374. GUI2.ImageTransparency = 1
  1375. GUI2.Size = UDim2.new(1,0,1,0)
  1376. GUI2.SizeConstraint = "RelativeYY"
  1377. GUI.AlwaysOnTop = true
  1378. GUI2.Image = "http://www.roblox.com/asset/?id=142164463"
  1379. end
  1380. else
  1381. local GUI = Cam:FindFirstChild(WHITELIST[LIST])
  1382. if GUI.ImageLabel.ImageTransparency <= 1 then
  1383. GUI.ImageLabel.ImageTransparency = GUI.ImageLabel.ImageTransparency - 0.03
  1384. end
  1385. local TORSO = CHARACTER:FindFirstChild("Torso") or CHARACTER:FindFirstChild("UpperTorso")
  1386. if TORSO then
  1387. GUI.Adornee = TORSO
  1388. end
  1389. end
  1390. else
  1391. if Cam:FindFirstChild(WHITELIST[LIST]) then
  1392. Cam:FindFirstChild(WHITELIST[LIST]):remove()
  1393. end
  1394. end
  1395. else
  1396. if Cam:FindFirstChild(WHITELIST[LIST]) then
  1397. Cam:FindFirstChild(WHITELIST[LIST]):remove()
  1398. end
  1399. table.remove(WHITELIST,LIST)
  1400. end
  1401. end
  1402. if Character:FindFirstChildOfClass("Accessory") then
  1403. Character:FindFirstChildOfClass("Accessory"):remove()
  1404. elseif Character:FindFirstChildOfClass("Hat") then
  1405. Character:FindFirstChildOfClass("Hat"):remove()
  1406. end
  1407. if Head:FindFirstChild("face") then
  1408. Head.face.Texture = "rbxassetid://144456272"
  1409. end
  1410. BLINKLOOP = BLINKLOOP + 1
  1411. if BLINKLOOP >=650 then
  1412. BLINKLOOP = 0
  1413. Blink()
  1414. end
  1415. Humanoid.DisplayDistanceType = "None"
  1416. Humanoid.PlatformStand = false
  1417. refit()
  1418. for _, c in pairs(Torso:GetChildren()) do
  1419. if c:IsA("JointInstance") or c.ClassName == "Sound" then
  1420. else
  1421. c:remove()
  1422. end
  1423. end
  1424. end
Add Comment
Please, Sign In to add comment