PasterXIV

Untitled

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