copra50

smite

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