Advertisement
Goo345

Untitled

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