Advertisement
feigum777

My edit

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