Advertisement
WagnerJunio07

Noname

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