clockwatcher00f

something im probably gonna edit

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