Advertisement
Cute_Sylveon

Icy smite

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