Upscalefanatic3

Very OP and scary Script

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