Advertisement
Goo345

h

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