Advertisement
Tetezaza1542

gewdfas

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