EsTLation

maskiwa

Oct 7th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 83.96 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. warn("Blackvalk, True Evil")
  6. warn("Edited by EssTL, Go Away Skiddies!")
  7. local rp = RealPlayer
  8. script.Parent = rp.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent then
  34. for _,f in pairs(t.Functions) do
  35. f(...)
  36. end
  37. end
  38. end
  39. m.TrigEvent = te
  40. UIS.TrigEvent = te
  41.  
  42. Event.OnServerEvent:Connect(function(plr,io)
  43. if plr~=rp then return end
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. if not io.isMouse then
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. for _,t in pairs(CAS.Actions) do
  52. for _,k in pairs(t.Keys) do
  53. if k==io.KeyCode then
  54. t.Function(t.Name,io.UserInputState,io)
  55. end
  56. end
  57. end
  58. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  59. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  60. end
  61. end)
  62. Event.Parent = NLS([==[
  63. local Player = game:GetService("Players").LocalPlayer
  64. local Event = script:WaitForChild("UserInput_Event")
  65.  
  66. local Mouse = Player:GetMouse()
  67. local UIS = game:GetService("UserInputService")
  68. local input = function(io,a)
  69. if a then return end
  70. --Since InputObject is a client-side instance, we create and pass table instead
  71. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  72. end
  73. UIS.InputBegan:Connect(input)
  74. UIS.InputEnded:Connect(input)
  75.  
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85.  
  86. ----Sandboxed game object that allows the usage of client-side methods and services
  87. --Real game object
  88. local _rg = game
  89.  
  90. --Metatable for fake service
  91. local fsmt = {
  92. __index = function(self,k)
  93. local s = rawget(self,"_RealService")
  94. if s then return s[k] end
  95. end,
  96. __newindex = function(self,k,v)
  97. local s = rawget(self,"_RealService")
  98. if s then s[k]=v end
  99. end,
  100. __call = function(self,...)
  101. local s = rawget(self,"_RealService")
  102. if s then return s(...) end
  103. end
  104. }
  105. local function FakeService(t,RealService)
  106. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  107. return setmetatable(t,fsmt)
  108. end
  109.  
  110. --Fake game object
  111. local g = {
  112. GetService = function(self,s)
  113. return self[s]
  114. end,
  115. Players = FakeService({
  116. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  117. },"Players"),
  118. UserInputService = FakeService(UIS,"UserInputService"),
  119. ContextActionService = FakeService(CAS,"ContextActionService"),
  120. }
  121. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  122. g.service = g.GetService
  123.  
  124. g.RunService = FakeService({
  125. RenderStepped = _rg:GetService("RunService").Heartbeat,
  126. BindToRenderStep = function(self,name,_,fun)
  127.  
  128. end,
  129. UnbindFromRenderStep = function(self,name)
  130. self._btrs[name]:Disconnect()
  131. end,
  132. },"RunService")
  133.  
  134. setmetatable(g,{
  135. __index=function(self,s)
  136. return _rg:GetService(s) or typeof(_rg[s])=="function"
  137. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  138. end,
  139. __newindex = fsmt.__newindex,
  140. __call = fsmt.__call
  141. })
  142. --Changing owner to fake player object to support owner:GetMouse()
  143. game,owner = g,g.Players.LocalPlayer
  144. end
  145. wait(0.2)
  146. Player = owner
  147. PlayerGui = Player.PlayerGui
  148. Cam = workspace.CurrentCamera
  149. Backpack = Player.Backpack
  150. Character = Player.Character
  151. Humanoid = Character.Humanoid
  152. Mouse = Player:GetMouse()
  153. Cos = math.cos
  154. COS = math.cos
  155. ACOS = math.acos
  156. local sine = 0
  157. local SINE = 0
  158. CF = CFrame.new
  159. RootPart = Character.HumanoidRootPart
  160. RW = Instance.new("Weld")
  161. LW = Instance.new("Weld")
  162. Torso = Character.Torso
  163. Head = Character.Head
  164. RightArm = Character["Right Arm"]
  165. LeftArm = Character["Left Arm"]
  166. RightLeg = Character["Right Leg"]
  167. LeftLeg = Character["Left Leg"]
  168. RootJoint = RootPart.RootJoint
  169. Neck = Torso.Neck
  170. RightShoulder = Torso["Right Shoulder"]
  171. LeftShoulder = Torso["Left Shoulder"]
  172. RightHip = Torso["Right Hip"]
  173. LeftHip = Torso["Left Hip"]
  174. RW.Name = "RW"
  175. RW.Part0 = tors
  176. RW.C0 = CF(1.5, 0.5, 0)
  177. RW.C1 = CF(0, 0.5, 0)
  178. RW.Part1 = ra
  179. RW.Parent = Torso
  180. LW.Name = "LW"
  181. LW.Part0 = Torso
  182. LW.C0 = CF(-1.5, 0.5, 0)
  183. LW.C1 = CF(0, 0.5, 0)
  184. LW.Part1 = la
  185. LW.Parent = tors
  186. local sick = Instance.new("Sound", Character)
  187. sick.SoundId = "rbxassetid://183142252"
  188. sick.Name = "BGM"
  189. sick.Looped = true
  190. sick.Pitch = 1
  191. sick.Volume = 1
  192. sick:Play()
  193. local sickk = Instance.new("Sound", Character)
  194. sickk.SoundId = "rbxassetid://367453005"
  195. sickk.Name = "EEE"
  196. sickk.Looped = false
  197. sickk.Pitch = 1
  198. sickk.Volume = 4
  199. local VALUEp = false
  200. IT = Instance.new
  201. CF = CFrame.new
  202. VT = Vector3.new
  203. RAD = math.rad
  204. C3 = Color3.new
  205. UD2 = UDim2.new
  206. BRICKC = BrickColor.new
  207. ANGLES = CFrame.Angles
  208. EULER = CFrame.fromEulerAnglesXYZ
  209. COS = math.cos
  210. ACOS = math.acos
  211. SIN = math.sin
  212. ASIN = math.asin
  213. ABS = math.abs
  214. MRANDOM = math.random
  215. FLOOR = math.floor
  216. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  217. local NEWMESH = IT(MESH)
  218. if MESH == "SpecialMesh" then
  219. NEWMESH.MeshType = MESHTYPE
  220. if MESHID ~= "nil" and MESHID ~= "" then
  221. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  222. end
  223. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  224. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  225. end
  226. end
  227. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  228. NEWMESH.Scale = SCALE
  229. NEWMESH.Parent = PARENT
  230. return NEWMESH
  231. end
  232. for i,v in pairs(Character:children()) do
  233. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  234. v:Remove()
  235. end
  236. end
  237. shirt = Instance.new("Shirt", Character)
  238. shirt.Name = "Shirt"
  239. pants = Instance.new("Pants", Character)
  240. pants.Name = "Pants"
  241. Character.Shirt.ShirtTemplate = "rbxassetid://0"
  242. Character.Pants.PantsTemplate = "rbxassetid://0"
  243. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  244. local NEWPART = IT("Part")
  245. NEWPART.formFactor = FORMFACTOR
  246. NEWPART.Reflectance = REFLECTANCE
  247. NEWPART.Transparency = TRANSPARENCY
  248. NEWPART.CanCollide = false
  249. NEWPART.Locked = true
  250. NEWPART.Anchored = true
  251. if ANCHOR == false then
  252. NEWPART.Anchored = false
  253. end
  254. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  255. NEWPART.Name = NAME
  256. NEWPART.Size = SIZE
  257. NEWPART.Position = Torso.Position
  258. NEWPART.Material = MATERIAL
  259. NEWPART:BreakJoints()
  260. NEWPART.Parent = PARENT
  261. return NEWPART
  262. end
  263. Player_Size = 1
  264. Animation_Speed = 3
  265. Frame_Speed = 0.016666666666666666
  266. local Speed = 16
  267. local Effects2 = {}
  268. local weldBetween = function(a, b)
  269. local weldd = Instance.new("ManualWeld")
  270. weldd.Part0 = a
  271. weldd.Part1 = b
  272. weldd.C0 = CFrame.new()
  273. weldd.C1 = b.CFrame:inverse() * a.CFrame
  274. weldd.Parent = a
  275. return weldd
  276. end
  277. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  278. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  279. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  280. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  281. local CHANGEDEFENSE = 0
  282. local CHANGEDAMAGE = 0
  283. local CHANGEMOVEMENT = 0
  284. local ANIM = "Idle"
  285. local ATTACK = false
  286. local EQUIPPED = false
  287. local HOLD = false
  288. local COMBO = 1
  289. local Rooted = false
  290. local SINE = 0
  291. local KEYHOLD = false
  292. local CHANGE = 2 / Animation_Speed
  293. local WALKINGANIM = false
  294. local WALK = 0
  295. local VALUE1 = false
  296. local VALUE2 = false
  297. local Rot = false
  298. local ROBLOXIDLEANIMATION = IT("Animation")
  299. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  300. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  301. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  302. WEAPONGUI.Name = "Weapon GUI"
  303. local Effects = IT("Folder", Character)
  304. Effects.Name = "Effects"
  305. local ANIMATOR = Humanoid.Animator
  306. local ANIMATE = Character.Animate
  307. local ATTACKEDTAUNTS = {
  308. "907332040",
  309. "907332525",
  310. "907330011"
  311. }
  312. local ATTACKTAUNTS = {
  313. "907329893",
  314. "907329532",
  315. "907333294",
  316. "907332856"
  317. }
  318. local ULTTAUNTS = {
  319. "907332997",
  320. "907332670",
  321. "907330103"
  322. }
  323. local UNANCHOR = true
  324. local SKILLTEXTCOLOR = C3(0, 0, 0)
  325. ArtificialHB = Instance.new("BindableEvent", script)
  326. ArtificialHB.Name = "ArtificialHB"
  327. script:WaitForChild("ArtificialHB")
  328. frame = Frame_Speed
  329. tf = 0
  330. allowframeloss = false
  331. tossremainder = false
  332. lastframe = tick()
  333. script.ArtificialHB:Fire()
  334. game:GetService("RunService").Heartbeat:connect(function(s, p)
  335. tf = tf + s
  336. if tf >= frame then
  337. if allowframeloss then
  338. script.ArtificialHB:Fire()
  339. lastframe = tick()
  340. else
  341. for i = 1, math.floor(tf / frame) do
  342. script.ArtificialHB:Fire()
  343. end
  344. lastframe = tick()
  345. end
  346. if tossremainder then
  347. tf = 0
  348. else
  349. tf = tf - frame * math.floor(tf / frame)
  350. end
  351. end
  352. end)
  353. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  354. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  355. end
  356. function PositiveAngle(NUMBER)
  357. if NUMBER >= 0 then
  358. NUMBER = 0
  359. end
  360. return NUMBER
  361. end
  362. function NegativeAngle(NUMBER)
  363. if NUMBER <= 0 then
  364. NUMBER = 0
  365. end
  366. return NUMBER
  367. end
  368. function Swait(NUMBER)
  369. if NUMBER == 0 or NUMBER == nil then
  370. ArtificialHB.Event:wait()
  371. else
  372. for i = 1, NUMBER do
  373. ArtificialHB.Event:wait()
  374. end
  375. end
  376. end
  377. function QuaternionFromCFrame(cf)
  378. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  379. local trace = m00 + m11 + m22
  380. if trace > 0 then
  381. local s = math.sqrt(1 + trace)
  382. local recip = 0.5 / s
  383. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  384. else
  385. local i = 0
  386. if m00 < m11 then
  387. i = 1
  388. end
  389. if m22 > (i == 0 and m00 or m11) then
  390. i = 2
  391. end
  392. if i == 0 then
  393. local s = math.sqrt(m00 - m11 - m22 + 1)
  394. local recip = 0.5 / s
  395. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  396. elseif i == 1 then
  397. local s = math.sqrt(m11 - m22 - m00 + 1)
  398. local recip = 0.5 / s
  399. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  400. elseif i == 2 then
  401. local s = math.sqrt(m22 - m00 - m11 + 1)
  402. local recip = 0.5 / s
  403. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  404. end
  405. end
  406. end
  407. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  408. local xs, ys, zs = x + x, y + y, z + z
  409. local wx, wy, wz = w * xs, w * ys, w * zs
  410. local xx = x * xs
  411. local xy = x * ys
  412. local xz = x * zs
  413. local yy = y * ys
  414. local yz = y * zs
  415. local zz = z * zs
  416. 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))
  417. end
  418. Character["Body Colors"].HeadColor = BrickColor.new("Really black")
  419. Character["Body Colors"].TorsoColor = BrickColor.new("Really black")
  420. Character["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  421. Character["Body Colors"].RightArmColor = BrickColor.new("Really black")
  422. Character["Body Colors"].LeftLegColor = BrickColor.new("Really black")
  423. Character["Body Colors"].RightLegColor = BrickColor.new("Really black")
  424. function QuaternionSlerp(a, b, t)
  425. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  426. local startInterp, finishInterp
  427. if cosTheta >= 1.0E-4 then
  428. if 1 - cosTheta > 1.0E-4 then
  429. local theta = ACOS(cosTheta)
  430. local invSinTheta = 1 / SIN(theta)
  431. startInterp = SIN((1 - t) * theta) * invSinTheta
  432. finishInterp = SIN(t * theta) * invSinTheta
  433. else
  434. startInterp = 1 - t
  435. finishInterp = t
  436. end
  437. elseif 1 + cosTheta > 1.0E-4 then
  438. local theta = ACOS(-cosTheta)
  439. local invSinTheta = 1 / SIN(theta)
  440. startInterp = SIN((t - 1) * theta) * invSinTheta
  441. finishInterp = SIN(t * theta) * invSinTheta
  442. else
  443. startInterp = t - 1
  444. finishInterp = t
  445. end
  446. 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
  447. end
  448. function Clerp(a, b, t)
  449. local qa = {
  450. QuaternionFromCFrame(a)
  451. }
  452. local qb = {
  453. QuaternionFromCFrame(b)
  454. }
  455. local ax, ay, az = a.x, a.y, a.z
  456. local bx, by, bz = b.x, b.y, b.z
  457. local _t = 1 - t
  458. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  459. end
  460. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  461. local frame = IT("Frame")
  462. frame.BackgroundTransparency = TRANSPARENCY
  463. frame.BorderSizePixel = BORDERSIZEPIXEL
  464. frame.Position = POSITION
  465. frame.Size = SIZE
  466. frame.BackgroundColor3 = COLOR
  467. frame.BorderColor3 = BORDERCOLOR
  468. frame.Name = NAME
  469. frame.Parent = PARENT
  470. return frame
  471. end
  472. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  473. local label = IT("TextLabel")
  474. label.BackgroundTransparency = 1
  475. label.Size = UD2(1, 0, 1, 0)
  476. label.Position = UD2(0, 0, 0, 0)
  477. label.TextColor3 = TEXTCOLOR
  478. label.TextStrokeTransparency = STROKETRANSPARENCY
  479. label.TextTransparency = TRANSPARENCY
  480. label.FontSize = TEXTFONTSIZE
  481. label.Font = TEXTFONT
  482. label.BorderSizePixel = BORDERSIZEPIXEL
  483. label.TextScaled = false
  484. label.Text = TEXT
  485. label.Name = NAME
  486. label.Parent = PARENT
  487. return label
  488. end
  489. function NoOutlines(PART)
  490. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  491. end
  492. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  493. local NEWWELD = IT(TYPE)
  494. NEWWELD.Part0 = PART0
  495. NEWWELD.Part1 = PART1
  496. NEWWELD.C0 = C0
  497. NEWWELD.C1 = C1
  498. NEWWELD.Parent = PARENT
  499. return NEWWELD
  500. end
  501. local S = IT("Sound")
  502. function CreateSound(ID, PARENT, VOLUME, PITCH)
  503. local NEWSOUND
  504. coroutine.resume(coroutine.create(function()
  505. NEWSOUND = S:Clone()
  506. NEWSOUND.Parent = PARENT
  507. NEWSOUND.Volume = VOLUME
  508. NEWSOUND.Pitch = PITCH
  509. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  510. Swait()
  511. NEWSOUND:play()
  512. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  513. end))
  514. return NEWSOUND
  515. end
  516. function CFrameFromTopBack(at, top, back)
  517. local right = top:Cross(back)
  518. 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)
  519. end
  520. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  521. local wave = CreatePart(3, Effects, "SmoothPlastic", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  522. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  523. wave.CFrame = CFRAME
  524. coroutine.resume(coroutine.create(function(PART)
  525. for i = 1, WAIT do
  526. Swait()
  527. mesh.Scale = mesh.Scale + GROW
  528. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  529. if DOESROT == true then
  530. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  531. end
  532. wave.Transparency = wave.Transparency + 0.5 / WAIT
  533. if wave.Transparency > 0.99 then
  534. wave:remove()
  535. end
  536. end
  537. end))
  538. end
  539. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  540. local wave = CreatePart(3, Effects, "SmoothPlastic", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  541. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  542. wave.CFrame = CFRAME
  543. coroutine.resume(coroutine.create(function(PART)
  544. for i = 1, WAIT do
  545. Swait()
  546. mesh.Scale = mesh.Scale + GROW
  547. if DOESROT == true then
  548. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  549. end
  550. wave.Transparency = wave.Transparency + 0.5 / WAIT
  551. if wave.Transparency > 0.99 then
  552. wave:remove()
  553. end
  554. end
  555. end))
  556. end
  557. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  558. local wave = CreatePart(3, Effects, "SmoothPlastic", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  559. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  560. wave.CFrame = CFRAME
  561. coroutine.resume(coroutine.create(function(PART)
  562. for i = 1, WAIT do
  563. Swait()
  564. mesh.Scale = mesh.Scale + GROW
  565. wave.Transparency = wave.Transparency + 1 / WAIT
  566. if wave.Transparency > 0.99 then
  567. wave:remove()
  568. end
  569. end
  570. end))
  571. end
  572. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  573. local wave = CreatePart(3, Effects, "SmoothPlastic", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  574. local mesh
  575. if KIND == "Base" then
  576. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  577. elseif KIND == "Thin" then
  578. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  579. elseif KIND == "Round" then
  580. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  581. end
  582. wave.CFrame = CFRAME
  583. coroutine.resume(coroutine.create(function(PART)
  584. for i = 1, WAIT do
  585. Swait()
  586. mesh.Scale = mesh.Scale + GROW / 10
  587. wave.Transparency = wave.Transparency + 0.5 / WAIT
  588. if wave.Transparency > 0.99 then
  589. wave:remove()
  590. end
  591. end
  592. end))
  593. end
  594. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  595. for _, c in pairs(PARENT:GetChildren()) do
  596. if c.ClassName == "Model" then
  597. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  598. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  599. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  600. if DIST > (TORSO.Position - FROM).Magnitude then
  601. table.insert(TABLE, c)
  602. end
  603. AddChildrenToTable(FROM, c, DIST, TABLE)
  604. elseif c.ClassName == "Folder" then
  605. AddChildrenToTable(FROM, c, DIST, TABLE)
  606. end
  607. end
  608. end
  609. end
  610. function MakeForm(PART, TYPE)
  611. if TYPE == "Cyl" then
  612. local MSH = IT("CylinderMesh", PART)
  613. elseif TYPE == "Ball" then
  614. local MSH = IT("SpecialMesh", PART)
  615. MSH.MeshType = "Sphere"
  616. elseif TYPE == "Wedge" then
  617. local MSH = IT("SpecialMesh", PART)
  618. MSH.MeshType = "Wedge"
  619. end
  620. end
  621. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  622. if DoesCourontine == false then
  623. local Direction = CF(Part.Position, ToLocation)
  624. local Distance = (Part.Position - ToLocation).magnitude
  625. for i = 1, AmountOfTime do
  626. Swait()
  627. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  628. Direction = Part.CFrame
  629. end
  630. Part:remove()
  631. elseif DoesCourontine == true then
  632. coroutine.resume(coroutine.create(function()
  633. local Direction = CF(Part.Position, ToLocation)
  634. local Distance = (Part.Position - ToLocation).magnitude
  635. for i = 1, AmountOfTime do
  636. Swait()
  637. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  638. Direction = Part.CFrame
  639. end
  640. Part:remove()
  641. end))
  642. end
  643. end
  644. function CheckTableForString(Table, String)
  645. for i, v in pairs(Table) do
  646. if string.find(string.lower(String), string.lower(v)) then
  647. return true
  648. end
  649. end
  650. return false
  651. end
  652. function CheckIntangible(Hit)
  653. local ProjectileNames = {
  654. "Water",
  655. "Arrow",
  656. "Projectile",
  657. "Effect",
  658. "Rail",
  659. "Lightning",
  660. "Bullet"
  661. }
  662. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  663. return true
  664. end
  665. return false
  666. end
  667. Debris = game:GetService("Debris")
  668. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  669. local Direction = CFrame.new(StartPos, Vec).lookVector
  670. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  671. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  672. if RayHit and CheckIntangible(RayHit) then
  673. if DelayIfHit then
  674. wait()
  675. end
  676. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  677. end
  678. return RayHit, RayPos, RayNormal
  679. end
  680. function turnto(position)
  681. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  682. end
  683. local naeeym2 = Instance.new("BillboardGui", Character)
  684. naeeym2.AlwaysOnTop = true
  685. naeeym2.Size = UDim2.new(15, 35, 2, 15)
  686. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  687. naeeym2.Adornee = Character.Head
  688. naeeym2.Name = "Name"
  689. local tecks2 = Instance.new("TextLabel", naeeym2)
  690. tecks2.BackgroundTransparency = 1
  691. tecks2.TextScaled = true
  692. tecks2.BorderSizePixel = 0
  693. tecks2.Text = "Blackvalk"
  694. tecks2.Font = "Antique"
  695. tecks2.TextSize = 30
  696. tecks2.TextStrokeTransparency = 1
  697. tecks2.TextColor3 = Color3.new(1, 1, 1)
  698. tecks2.TextStrokeColor3 = BrickColor.new("Black").Color
  699. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  700. tecks2.Parent = naeeym2
  701. if Rot == false then
  702. Swait()
  703. tecks2.Rotation = math.random(-1,1)
  704. tecks2.Position = tecks2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  705. end
  706. Humanoid.Died:connect(function()
  707. Humanoid.Parent = nil
  708. Humanoid.MaxHealth = "inf"
  709. Humanoid.Health = "inf"
  710. refit()
  711. Humanoid.Parent = Character
  712. CreateSound(ATTACKEDTAUNTS[MRANDOM(1, #ATTACKEDTAUNTS)], Head, 10, 0.9)
  713. for i = 1, 5 do
  714. end
  715. killnearest(Torso.Position, 25, 180)
  716. end)
  717. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.93, 0, 0.8, 0), UD2(0.46, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
  718. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[R] Valk Orb", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0.5, "Text 1")
  719. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
  720. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 3 Frame")
  721. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 4 Frame")
  722. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 5 Frame")
  723. local SKILLEFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill Warp Frame")
  724. function freezenearest(position, range)
  725. for i, v in ipairs(workspace:GetChildren()) do
  726. local body = v:GetChildren()
  727. for part = 1, #body do
  728. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" and v:FindFirstChildOfClass("Humanoid") then
  729. v:BreakJoints()
  730. body[part].Material = "SmoothPlastic"
  731. body[part].BrickColor = BRICKC("Really black")
  732. body[part].Anchored = false
  733. body[part].Transparency = 0.9
  734. end
  735. end
  736. end
  737. end
  738. function killnearest(position, range, maxstrength)
  739. for i, v in ipairs(workspace:GetChildren()) do
  740. local body = v:GetChildren()
  741. for part = 1, #body do
  742. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  743. if v.ClassName == "Model" then
  744. v:BreakJoints()
  745. end
  746. local bv = Instance.new("BodyVelocity")
  747. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  748. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  749. bv.Parent = body[part]
  750. Debris:AddItem(bv, 0.2)
  751. end
  752. end
  753. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  754. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  755. end
  756. end
  757. end
  758. function Transparency(TRANS)
  759. tecks2.TextTransparency = TRANS
  760. tecks2.TextStrokeTransparency = TRANS
  761. for _, c in pairs(Character:GetChildren()) do
  762. if c.ClassName == "Part" and c ~= RootPart then
  763. c.Transparency = TRANS
  764. if c:FindFirstChildOfClass("Decal") then
  765. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  766. end
  767. elseif c.ClassName == "Accessory" then
  768. c.Handle.Transparency = TRANS
  769. elseif c.ClassName == "Model" then
  770. for _, q in pairs(c:GetChildren()) do
  771. if q.ClassName == "Part" then
  772. q.Transparency = TRANS
  773. if q:FindFirstChildOfClass("Decal") then
  774. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  775. end
  776. end
  777. end
  778. end
  779. end
  780. end
  781. function Orbital_Devastor()
  782. local HITBODIES = {}
  783. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "CenterPart", VT(0, 0, 0))
  784. local HITFLOOR, ECH, NORMAL = Raycast(Mouse.Hit.p + VT(0, 2, 0), CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0)).lookVector, 10000000, Character)
  785. CENTER.CFrame = CF(ECH)
  786. local RAY = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Laser01", VT(25, 99999, 25))
  787. MakeForm(RAY, "Cyl")
  788. local RAY2 = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Laser01", VT(28, 99999, 28))
  789. MakeForm(RAY2, "Cyl")
  790. RAY.CFrame = CF(ECH)
  791. RAY2.CFrame = CF(ECH)
  792. CreateSound("1368573150", CENTER, 10, 0.8)
  793. for i = 1, 100 do
  794. Swait()
  795. RAY.Transparency = RAY.Transparency - 0.01
  796. RAY.Size = RAY.Size - VT(0.25, 0, 0.25)
  797. RAY2.Transparency = RAY2.Transparency - 0.012
  798. RAY2.Size = RAY2.Size - VT(0.28, 0, 0.28)
  799. end
  800. for i = 1, 5 do
  801. CreateRing(VT(i / 10, i / 10, 0), false, 0, 25, CF(ECH) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(MRANDOM(0, 10) / 10, 0, 0), VT(i / 5, i / 5, 0))
  802. end
  803. RAY:remove()
  804. RAY2:remove()
  805. CreateSound("1368637781", CENTER, 10, 0.8)
  806. MagicSphere(VT(0, 0, 0), 15, CF(ECH), "Really black", VT(8, 8, 8))
  807. MagicSphere(VT(1, 1, 1), 25, CF(ECH), "Really black", VT(8, 8, 8))
  808. AddChildrenToTable(ECH, workspace, 80, HITBODIES)
  809. Debris:AddItem(CENTER, 5)
  810. CreateSound("414517163", CENTER, 10, 0.8)
  811. for i = 1, 5 do
  812. end
  813. for e = 1, #HITBODIES do
  814. if HITBODIES[e] ~= nil then
  815. local BOD = HITBODIES[e]
  816. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  817. if TORS then
  818. BOD:BreakJoints()
  819. for _, c in pairs(BOD:GetChildren()) do
  820. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  821. local bv = Instance.new("BodyVelocity")
  822. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  823. bv.velocity = CF(ECH, c.Position).lookVector * 250
  824. bv.Parent = c
  825. Debris:AddItem(bv, 0.2)
  826. end
  827. end
  828. end
  829. end
  830. end
  831. end
  832.  
  833. function Savage_Fire()
  834. ATTACK = true
  835. Rooted = true
  836. VALUE1 = true
  837. local HITBODIES = {}
  838. local VISUAL = CreatePart(3, Effects, "Glass", 0, 0.99, "Maroon", "Vibrations", VT(4, 4, 4))
  839. MakeForm(VISUAL, "Ball")
  840. VISUAL.CFrame = RootPart.CFrame
  841. for i = 0, 1.2, 0.1 / Animation_Speed do
  842. Swait()
  843. VISUAL.Size = VISUAL.Size + VT(0.1, 0.1, 0.1)
  844. VISUAL.Transparency = VISUAL.Transparency - 0.005
  845. if MRANDOM(1, 2) == 1 then
  846. do
  847. local SPHERE = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really black", "Magic", VT(1, 1, 1) * MRANDOM(2, 35) / 10)
  848. SPHERE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
  849. MakeForm(SPHERE, "Ball")
  850. coroutine.resume(coroutine.create(function()
  851. for i = 1, 100 do
  852. Swait()
  853. SPHERE.CFrame = SPHERE.CFrame * CF(0, 0.3, 0)
  854. SPHERE.Transparency = i / 100
  855. end
  856. SPHERE:remove()
  857. end))
  858. end
  859. end
  860. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  861. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  862. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  863. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  864. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  865. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  866. end
  867. Character.Archivable = true
  868. local CLONE = Character:Clone()
  869. CLONE.BGM:remove()
  870. CLONE.Effects:remove()
  871. CLONE.Parent = Effects
  872. local X = 1 - VISUAL.Transparency
  873. local ORIGINPOS = RootPart.Position
  874. Transparency(1)
  875. VALUE2 = true
  876. RootPart.CFrame = CF(Mouse.Hit.p + VT(0, 5, 0), ORIGINPOS)
  877. for i = 1, 50 do
  878. Swait()
  879. VISUAL.Transparency = VISUAL.Transparency + X / 50
  880. VISUAL.Size = VISUAL.Size + VT(0.05, 0.05, 0.05)
  881. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  882. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  883. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  884. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  885. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  886. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  887. end
  888. VISUAL:remove()
  889. coroutine.resume(coroutine.create(function()
  890. local PITS = {}
  891. local HITFLOOR, HITPOS, NORMAL = Raycast(CLONE.Torso.Position, CF(CLONE.Torso.Position, CLONE.Torso.Position + VT(0, -1, 0)).lookVector, 25 * Player_Size, Character)
  892. MagicSphere(VT(0, 0, 0), 25, CF(CLONE.Torso.Position), "Really black", VT(2, 2, 2))
  893. MagicSphere(VT(1, 1, 1), 55, CF(CLONE.Torso.Position), "Really black", VT(2, 2, 2))
  894. if HITFLOOR ~= nil then
  895. local POS = CLONE.Torso.Position
  896. CLONE:remove()
  897. for i = 1, 150 do
  898. Swait()
  899. local PEWSOUND = {
  900. "907527750",
  901. "907527912",
  902. "907528019",
  903. "907530553"
  904. }
  905. AddChildrenToTable(HITPOS, workspace, i, HITBODIES)
  906. if MRANDOM(1, 2) == 1 then
  907. local ICICLE = IT("CornerWedgePart", Effects)
  908. ICICLE.Locked = true
  909. ICICLE.CanCollide = false
  910. ICICLE.Anchored = true
  911. ICICLE.BrickColor = BRICKC("Really black")
  912. ICICLE.Material = "SmoothPlastic"
  913. ICICLE.Size = VT(i / 10, i / 2, i / 10)
  914. CreateSound(PEWSOUND[MRANDOM(1, #PEWSOUND)], ICICLE, 10, 0.8)
  915. ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-i / 2, i / 2), 0, MRANDOM(-i / 2, i / 2)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
  916. table.insert(PITS, ICICLE)
  917. for e = 1, #HITBODIES do
  918. if HITBODIES[e] ~= nil then
  919. local BOD = HITBODIES[e]
  920. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  921. if TORS then
  922. BOD:BreakJoints()
  923. for _, c in pairs(BOD:GetChildren()) do
  924. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  925. local bv = Instance.new("BodyVelocity")
  926. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  927. bv.velocity = CF(POS, c.Position).lookVector * 250
  928. bv.Parent = c
  929. Debris:AddItem(bv, 0.2)
  930. end
  931. end
  932. end
  933. end
  934. end
  935. HITBODIES = {}
  936. end
  937. end
  938. coroutine.resume(coroutine.create(function()
  939. for i = 1, 10 do
  940. Swait()
  941. for e = 1, #PITS do
  942. if PITS[e] ~= nil then
  943. local E = PITS[e]
  944. E.Transparency = E.Transparency + 0.1
  945. end
  946. end
  947. end
  948. for e = 1, #PITS do
  949. if PITS[e] ~= nil then
  950. local E = PITS[e]
  951. E:remove()
  952. end
  953. end
  954. end))
  955. end
  956. end))
  957. VALUE2 = false
  958. VALUE1 = false
  959. ATTACK = false
  960. Rooted = false
  961. for i = 1, 10 do
  962. Swait()
  963. Transparency(1 - i / 10)
  964. end
  965. end
  966. function Grave_Encounter()
  967. local HITBODIES = {}
  968. local PEWSOUND = {
  969. "907527750",
  970. "907527912",
  971. "907528019",
  972. "907530553"
  973. }
  974. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  975. if HITFLOOR ~= nil then
  976. CreateSound(ATTACKTAUNTS[MRANDOM(1, #ATTACKTAUNTS)], Head, 10, 0.9)
  977. ATTACK = true
  978. Rooted = false
  979. local GYRO = IT("BodyGyro", RootPart)
  980. GYRO.D = 100
  981. GYRO.P = 2000
  982. GYRO.MaxTorque = VT(0, 4000000, 0)
  983. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  984. for i = 0, 3.5, 0.1 / Animation_Speed do
  985. Swait()
  986. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  987. MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0, 0, 0), VT(1, 0.1, 0.1) / 2)
  988. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  989. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  990. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  991. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  992. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  993. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  994. end
  995. for i = 0, 0.15, 0.1 / Animation_Speed do
  996. Swait()
  997. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  998. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  999. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1000. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1001. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1002. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1003. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1004. end
  1005. Rooted = true
  1006. GYRO:remove()
  1007. coroutine.resume(coroutine.create(function()
  1008. local PITS = {}
  1009. local FRAME = RootPart.CFrame
  1010. for i = 1, 200 do
  1011. Swait()
  1012. for e = 1, #HITBODIES do
  1013. if HITBODIES[e] ~= nil then
  1014. local BOD = HITBODIES[e]
  1015. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1016. if TORS then
  1017. BOD:BreakJoints()
  1018. table.remove(HITBODIES, e)
  1019. end
  1020. end
  1021. end
  1022. local GLITCH = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really black", "Puddle", VT(2 + i / 2, 0, 2 + i / 2))
  1023. MakeForm(GLITCH, "Cyl")
  1024. GLITCH.CFrame = FRAME * CF(MRANDOM(-5, 5), 0, 5 - i * 3)
  1025. local HITFLOOR, HITPOS, NORMAL = Raycast(GLITCH.Position, CF(GLITCH.Position, GLITCH.Position + VT(0, -1, 0)).lookVector, 25 * Player_Size, Character)
  1026. if HITFLOOR ~= nil then
  1027. table.insert(PITS, GLITCH)
  1028. GLITCH.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1029. AddChildrenToTable(HITPOS, workspace, i / 2, HITBODIES)
  1030. if MRANDOM(1, 2) == 1 then
  1031. local ICICLE = IT("CornerWedgePart", Effects)
  1032. ICICLE.Locked = true
  1033. ICICLE.CanCollide = false
  1034. ICICLE.Anchored = true
  1035. ICICLE.BrickColor = BRICKC("Really black")
  1036. ICICLE.Material = "SmoothPlastic"
  1037. ICICLE.Size = VT(i / 10, i / 2, i / 10)
  1038. CreateSound(PEWSOUND[MRANDOM(1, #PEWSOUND)], ICICLE, 10, 0.8)
  1039. ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-i / 10, i / 10), 0, MRANDOM(-i / 10, i / 10)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
  1040. table.insert(PITS, ICICLE)
  1041. end
  1042. else
  1043. GLITCH:remove()
  1044. break
  1045. end
  1046. end
  1047. coroutine.resume(coroutine.create(function()
  1048. for i = 1, 10 do
  1049. Swait()
  1050. for e = 1, #PITS do
  1051. if PITS[e] ~= nil then
  1052. local E = PITS[e]
  1053. E.Transparency = E.Transparency + 0.1
  1054. end
  1055. end
  1056. end
  1057. for e = 1, #PITS do
  1058. if PITS[e] ~= nil then
  1059. local E = PITS[e]
  1060. E:remove()
  1061. end
  1062. end
  1063. end))
  1064. end))
  1065. for i = 0, 1, 0.1 / Animation_Speed do
  1066. Swait()
  1067. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1068. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1069. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1070. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1071. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1072. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1073. end
  1074. ATTACK = false
  1075. Rooted = false
  1076. end
  1077. end
  1078. function Endless_Pain()
  1079. local HITBODIES = {}
  1080. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1081. if HITFLOOR ~= nil then
  1082. CreateSound("463598785", RootPart, 10, 0.8)
  1083. ATTACK = true
  1084. Rooted = true
  1085. VALUE1 = true
  1086. for i = 1, 500 do
  1087. Swait()
  1088. AddChildrenToTable(HITPOS, workspace, i / 3, HITBODIES)
  1089. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1090. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1091. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-40), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1092. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-40), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1093. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1094. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1095. for e = 1, #HITBODIES do
  1096. if HITBODIES[e] ~= nil then
  1097. local BOD = HITBODIES[e]
  1098. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1099. if TORS and TORS:FindFirstChild("BV") == nil then
  1100. local bv = Instance.new("BodyVelocity")
  1101. bv.Name = "BV"
  1102. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1103. bv.velocity = CF(TORS.Position, TORS.Position + VT(0, 1, 0)).lookVector * 20
  1104. bv.Parent = TORS
  1105. Debris:AddItem(bv, 0.1)
  1106. end
  1107. end
  1108. end
  1109. end
  1110. coroutine.resume(coroutine.create(function()
  1111. for e = 1, #HITBODIES do
  1112. Swait()
  1113. if HITBODIES[e] ~= nil then
  1114. local BOD = HITBODIES[e]
  1115. for i = 1, #HITBODIES do
  1116. if HITBODIES[i] == BOD and i ~= e then
  1117. table.remove(HITBODIES, i)
  1118. end
  1119. end
  1120. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1121. if TORS then
  1122. TORS.Anchored = false
  1123. CreateSound("92597369", TORS, 10, 0.8)
  1124. BOD:BreakJoints()
  1125. for _, c in pairs(BOD:GetChildren()) do
  1126. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1127. local bv = Instance.new("BodyVelocity")
  1128. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1129. bv.velocity = CF(HITPOS, c.Position).lookVector * 250
  1130. bv.Parent = c
  1131. Debris:AddItem(bv, 0.2)
  1132. end
  1133. end
  1134. end
  1135. end
  1136. end
  1137. end))
  1138. VALUE1 = false
  1139. ATTACK = false
  1140. Rooted = false
  1141. end
  1142. end
  1143. function Absoluteum()
  1144. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1145. if HITFLOOR ~= nil then
  1146. do
  1147. local HITBODIES = {}
  1148. ATTACK = true
  1149. Rooted = true
  1150. CreateSound("416200578", RootPart, 10, 1)
  1151. for i = 0, 8, 0.1 / Animation_Speed do
  1152. Swait()
  1153. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1154. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1155. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1156. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1157. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1158. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1159. end
  1160. CreateSound(ULTTAUNTS[MRANDOM(1, #ULTTAUNTS)], Head, 10, 0.9)
  1161. CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
  1162. for i = 1, 45 do
  1163. Swait()
  1164. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1165. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1166. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1167. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1168. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1169. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1170. end
  1171. coroutine.resume(coroutine.create(function()
  1172. local IMPACT = false
  1173. local BULLET = ABSOLUTE
  1174. MakeForm(BULLET, "Ball")
  1175. BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
  1176. for i = 1, 500 do
  1177. Swait()
  1178. BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
  1179. local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
  1180. MagicSphere(VT(10, 10, 10), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Really black", VT(-10, -10, -10) / 55)
  1181. if HIT ~= nil then
  1182. IMPACT = true
  1183. break
  1184. end
  1185. end
  1186. if IMPACT == false then
  1187. for i = 1, 40 do
  1188. Swait()
  1189. BULLET.Size = BULLET.Size * 0.9
  1190. end
  1191. BULLET:remove()
  1192. else
  1193. CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
  1194. for i = 1, 175 do
  1195. Swait()
  1196. BULLET.Size = BULLET.Size * 0.99
  1197. end
  1198. CreateSound("438666001", BULLET, 10, 3)
  1199. Swait(35)
  1200. BULLET.Transparency = 1
  1201. for i = 1, 20 do
  1202. for e = 1, 5 do
  1203. MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Really black", VT(1, 1, i * 4), 0)
  1204. end
  1205. AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
  1206. CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
  1207. CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
  1208. MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
  1209. Swait(5)
  1210. for e = 1, #HITBODIES do
  1211. if HITBODIES[e] ~= nil then
  1212. local BOD = HITBODIES[e]
  1213. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1214. if TORS then
  1215. BOD:BreakJoints()
  1216. for _, c in pairs(BOD:GetChildren()) do
  1217. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1218. local bv = Instance.new("BodyVelocity")
  1219. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1220. bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
  1221. bv.Parent = c
  1222. Debris:AddItem(bv, 0.2)
  1223. end
  1224. end
  1225. end
  1226. end
  1227. end
  1228. CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Really black", VT(i, 0, i) * 2)
  1229. end
  1230. MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 1, 1), VT(12, 12, 12))
  1231. Debris:AddItem(BULLET, 10)
  1232. end
  1233. end))
  1234. ATTACK = false
  1235. Rooted = false
  1236. end
  1237. end
  1238. end
  1239. local DECAL = IT("Decal")
  1240. function MakeRing()
  1241. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Eggplant"), "MagicRing", VT(0, 0, 0), true)
  1242. local MSH = IT("BlockMesh", RING)
  1243. local TOP = DECAL:Clone()
  1244. local BOTTOM = DECAL:Clone()
  1245. TOP.Parent = RING
  1246. BOTTOM.Parent = RING
  1247. TOP.Face = "Top"
  1248. BOTTOM.Face = "Bottom"
  1249. TOP.Texture = "http://www.roblox.com/asset/?id=153700391"
  1250. BOTTOM.Texture = "http://www.roblox.com/asset/?id=153700391"
  1251. local function REMOVE()
  1252. coroutine.resume(coroutine.create(function()
  1253. local SIZE = MSH.Scale.X
  1254. for i = 1, 35 do
  1255. Swait()
  1256. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1257. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1258. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1259. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1260. end
  1261. RING:remove()
  1262. end))
  1263. end
  1264. return RING, MSH, REMOVE
  1265. end
  1266. function WACKYEFFECT(Table)
  1267. local TYPE = Table.EffectType or "Sphere"
  1268. local SIZE = Table.Size or VT(1, 1, 1)
  1269. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  1270. local TRANSPARENCY = Table.Transparency or 0
  1271. local ENDTRANSPARENCY = Table.Transparency2 or 1
  1272. local CFRAME = Table.CFrame or Torso.CFrame
  1273. local MOVEDIRECTION = Table.MoveToPos or nil
  1274. local ROTATION1 = Table.RotationX or 0
  1275. local ROTATION2 = Table.RotationY or 0
  1276. local ROTATION3 = Table.RotationZ or 0
  1277. local MATERIAL = Table.Material or "Neon"
  1278. local COLOR = Table.Color or C3(1, 1, 1)
  1279. local TIME = Table.Time or 45
  1280. local SOUNDID = Table.SoundID or nil
  1281. local SOUNDPITCH = Table.SoundPitch or nil
  1282. local SOUNDVOLUME = Table.SoundVolume or nil
  1283. coroutine.resume(coroutine.create(function()
  1284. local PLAYSSOUND = false
  1285. local SOUND
  1286. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  1287. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1288. PLAYSSOUND = true
  1289. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1290. end
  1291. EFFECT.Color = COLOR
  1292. local MSH
  1293. if TYPE == "Sphere" then
  1294. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1295. elseif TYPE == "Block" then
  1296. MSH = IT("BlockMesh", EFFECT)
  1297. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  1298. elseif TYPE == "Wave" then
  1299. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1300. elseif TYPE == "Ring" then
  1301. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  1302. elseif TYPE == "Slash" then
  1303. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1304. elseif TYPE == "Round Slash" then
  1305. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1306. elseif TYPE == "Swirl" then
  1307. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  1308. elseif TYPE == "Skull" then
  1309. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  1310. elseif TYPE == "Crystal" then
  1311. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  1312. end
  1313. if MSH ~= nil then
  1314. local MOVESPEED
  1315. if MOVEDIRECTION ~= nil then
  1316. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  1317. end
  1318. local GROWTH = SIZE - ENDSIZE
  1319. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1320. if TYPE == "Block" then
  1321. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1322. else
  1323. EFFECT.CFrame = CFRAME
  1324. end
  1325. for LOOP = 1, TIME + 1 do
  1326. Swait()
  1327. MSH.Scale = MSH.Scale - GROWTH / TIME
  1328. if TYPE == "Wave" then
  1329. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  1330. end
  1331. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  1332. if TYPE == "Block" then
  1333. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1334. else
  1335. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  1336. end
  1337. if MOVEDIRECTION ~= nil then
  1338. local ORI = EFFECT.Orientation
  1339. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  1340. EFFECT.Orientation = ORI
  1341. end
  1342. end
  1343. if PLAYSSOUND == false then
  1344. EFFECT:remove()
  1345. else
  1346. repeat
  1347. Swait()
  1348. until SOUND.Playing == false
  1349. EFFECT:remove()
  1350. end
  1351. elseif PLAYSSOUND == false then
  1352. EFFECT:remove()
  1353. else
  1354. repeat
  1355. Swait()
  1356. until SOUND.Playing == false
  1357. EFFECT:remove()
  1358. end
  1359. end))
  1360. end
  1361. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  1362. local TORSO = Torso
  1363. local HUM = Humanoid
  1364. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1365. coroutine.wrap(function()
  1366. VT = Vector3.new
  1367. MRANDOM = math.random
  1368. local A = TIME
  1369. local B = INTENSITY
  1370. local C = true
  1371. local HUMANOID = Humanoid
  1372. local TIMER = A or 35
  1373. local SHAKE = B or 5
  1374. local FADE = C or true
  1375. if HUMANOID then
  1376. local FADER = SHAKE / TIMER
  1377. for i = 1, TIMER do
  1378. wait()
  1379. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  1380. end
  1381. HUMANOID.CameraOffset = VT(0, 0, 0)
  1382. end
  1383.  
  1384. end)()
  1385. end
  1386. end
  1387. function ApplyAoE(POSITION, RANGE)
  1388. local PARTS = {}
  1389. for index, CHILD in pairs(workspace:GetDescendants()) do
  1390. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1391. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1392. if HUM then
  1393. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1394. if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1395. CHILD:BreakJoints()
  1396. for index, PART in pairs(CHILD:GetChildren()) do
  1397. if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
  1398. PART.Anchored = true
  1399. table.insert(PARTS, {PART, P})
  1400. end
  1401. end
  1402. end
  1403. end
  1404. elseif CHILD:IsA("BasePart") and CHILD.Parent.Parent ~= Character and CHILD.Parent:FindFirstChildOfClass("Humanoid") == nil and CHILD:FindFirstChild("ewdfrfgrwefd") == nil and CHILD.Size.Magnitude < RANGE * 2 and CHILD.Size.Magnitude < 200 and RANGE > (CHILD.Position - POSITION).Magnitude then
  1405. local FOLDER = IT("Folder", CHILD)
  1406. FOLDER.Name = "ewdfrfgrwefd"
  1407. CHILD:BreakJoints()
  1408. CHILD.CanCollide = false
  1409. CHILD.Anchored = true
  1410. table.insert(PARTS, {CHILD, P})
  1411. end
  1412. end
  1413. coroutine.resume(coroutine.create(function()
  1414. if #PARTS > 0 then
  1415. for i = 1, 85 do
  1416. Swait()
  1417. for E = 1, #PARTS do
  1418. local F = PARTS[E]
  1419. local A = F[1]
  1420. local B = F[2]
  1421. A.Transparency = A.Transparency + 0.011764705882352941
  1422. for index, E in pairs(A:GetChildren()) do
  1423. if E:IsA("Decal") or E:IsA("Texture") then
  1424. E.Transparency = E.Transparency + 0.011764705882352941
  1425. elseif E:IsA("JointInstance") then
  1426. E:remove()
  1427. elseif E:IsA("Light") or E:IsA("ParticleEmitter") and E ~= B and E.Name ~= "ArchangelDeathParticles" or E:IsA("Fire") or E:IsA("Sparkles") or E:IsA("Smoke") then
  1428. E.Enabled = false
  1429. end
  1430. end
  1431. end
  1432. end
  1433. for E = 1, #PARTS do
  1434. local F = PARTS[E]
  1435. local A = F[1]
  1436. local B = F[2]
  1437. Debris:AddItem(A, 3)
  1438. end
  1439. end
  1440. end))
  1441. end
  1442.  
  1443. local Decal = IT("Decal")
  1444.  
  1445. function Unwilling_Hop()
  1446. ATTACK = true
  1447. Rooted = false
  1448. local O1 = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Warphole", VT(0, 0, 0))
  1449. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  1450. local decal = Decal:Clone()
  1451. decal.Parent = O1
  1452. decal.Face = "Top"
  1453. decal.Texture = "http://www.roblox.com/asset/?id=99404939"
  1454. local decal2 = Decal:Clone()
  1455. decal2.Parent = O1
  1456. decal2.Face = "Bottom"
  1457. decal2.Texture = "http://www.roblox.com/asset/?id=99404939"
  1458. local O2 = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Warphole", VT(0, 0, 0))
  1459. local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
  1460. O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1461. local ROOT = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Warphole", VT(0, 0, 0))
  1462. ROOT.CFrame = CF(O2.Position, RootPart.Position)
  1463. local decal = Decal:Clone()
  1464. decal.Parent = O2
  1465. decal.Face = "Top"
  1466. decal.Texture = "http://www.roblox.com/asset/?id=99404939"
  1467. local decal2 = Decal:Clone()
  1468. decal2.Parent = O2
  1469. decal2.Face = "Bottom"
  1470. decal2.Texture = "http://www.roblox.com/asset/?id=99404939"
  1471. CreateSound("1127492102", O1, 10, 0.7)
  1472. CreateSound("1127492102", O2, 10, 0.7)
  1473. for i = 1, 75 do
  1474. Swait()
  1475. O1.Size = O1.Size + VT(0.12, 0, 0.12)
  1476. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
  1477. O2.Size = O2.Size + VT(0.12, 0, 0.12)
  1478. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1479. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1480. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1481. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1482. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1483. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1484. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1485. end
  1486. Rooted = true
  1487. UNANCHOR = false
  1488. RootPart.Anchored = true
  1489. VALUE1 = true
  1490. for i = 1, 15 do
  1491. Transparency(i / 15)
  1492. Swait()
  1493. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
  1494. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1495. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1496. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1497. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1498. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1499. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1500. end
  1501. RootPart.CFrame = ROOT.CFrame
  1502. ROOT:remove()
  1503. for i = 1, 15 do
  1504. Transparency(1 - i / 15)
  1505. Swait()
  1506. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
  1507. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1508. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1509. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1510. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1511. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1512. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1513. end
  1514. VALUE1 = false
  1515. coroutine.resume(coroutine.create(function()
  1516. for i = 1, 75 do
  1517. Swait()
  1518. O1.Size = O1.Size - VT(0.12, 0, 0.12)
  1519. O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1520. O2.Size = O2.Size - VT(0.12, 0, 0.12)
  1521. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1522. end
  1523. O1:remove()
  1524. O2:remove()
  1525. end))
  1526. UNANCHOR = true
  1527. RootPart.Anchored = false
  1528. ATTACK = false
  1529. Rooted = false
  1530. end
  1531. function Taunt()
  1532. local ROAR = CreateSound("135017578", Head, 10, 0.9)
  1533. local naeeym3 = Instance.new("BillboardGui", Character)
  1534. naeeym3.AlwaysOnTop = true
  1535. naeeym3.Size = UDim2.new(10, 25, 1, 10)
  1536. naeeym3.StudsOffset = Vector3.new(0, 2.6, 0)
  1537. naeeym3.Adornee = Character.Head
  1538. naeeym3.Name = "Name"
  1539. local tecks4 = Instance.new("TextLabel", naeeym3)
  1540. tecks4.BackgroundTransparency = 1
  1541. tecks4.TextScaled = true
  1542. tecks4.BorderSizePixel = 0
  1543. tecks4.Text = "Can you feel your Death Approching?"
  1544. tecks4.Font = "Antique"
  1545. tecks4.TextSize = 30
  1546. tecks4.TextStrokeTransparency = 1
  1547. tecks4.TextColor3 = Color3.new(1, 1, 1)
  1548. tecks4.TextStrokeColor3 = BrickColor.new("Black").Color
  1549. tecks4.Size = UDim2.new(1, 0, 0.5, 0)
  1550. tecks4.Parent = naeeym3
  1551. wait(3)
  1552. tecks4:Destroy()
  1553. naeeym3:Destroy()
  1554. end
  1555. function Roar()
  1556. ATTACK = true
  1557. local ROAR = CreateSound("544159394", Head, 10, 0.8)
  1558. Swait()
  1559. repeat
  1560. Swait()
  1561. ROAR.Parent = Head
  1562. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1563. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1564. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1565. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1566. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1567. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1568. until ROAR.Playing == false
  1569. ATTACK = false
  1570. Rooted = false
  1571. end
  1572. function MouseDown(Mouse)
  1573. if ATTACK == false then
  1574. end
  1575. end
  1576. function MouseUp(Mouse)
  1577. HOLD = false
  1578. end
  1579. function Outfit1()
  1580. sick.SoundId = "rbxassetid://601069330"
  1581. end
  1582. function Outfit2()
  1583. sick.SoundId = "rbxassetid://1230668782"
  1584. end
  1585. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  1586. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1587. local mesh
  1588. if KIND == "Base" then
  1589. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  1590. elseif KIND == "Thin" then
  1591. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 10, SIZE / 10), VT(0, 0, 0))
  1592. elseif KIND == "Round" then
  1593. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1594. end
  1595. wave.CFrame = CFRAME
  1596. coroutine.resume(coroutine.create(function(PART)
  1597. for i = 1, WAIT do
  1598. Swait()
  1599. mesh.Scale = mesh.Scale + GROW / 10
  1600. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1601. if wave.Transparency > 0.99 then
  1602. wave:remove()
  1603. end
  1604. end
  1605. end))
  1606. end
  1607. function Freeze_Orb()
  1608. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, SKILLTEXTCOLOR, "CenterPart", VT(0, 0, 0))
  1609. local RAY = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "Laser01", VT(25, 25, 25))
  1610. MakeForm(RAY, "Ball")
  1611. RAY.Color = SKILLTEXTCOLOR
  1612. local ECH = Mouse.Hit.p
  1613. RAY.CFrame = CF(ECH)
  1614. CENTER.CFrame = RAY.CFrame
  1615. for i = 1, 80 do
  1616. Swait()
  1617. RAY.Size = RAY.Size * 0.99
  1618. freezenearest(RAY.Position, RAY.Size.X / 2)
  1619. RAY.Transparency = RAY.Transparency - 0.016666666666666666
  1620. end
  1621. sickk:Play()
  1622. MagicSphere(RAY.Size / 1.01, 35, RAY.CFrame, C3(1, 1, 1), VT(-0.3, -0.3, -0.3))
  1623. for i = 1, 40 do
  1624. Swait()
  1625. RAY.Size = RAY.Size * 1.03
  1626. RAY.Transparency = RAY.Transparency + 0.03333333333333333
  1627. end
  1628. RAY:remove()
  1629. Debris:AddItem(CENTER, 5)
  1630. end
  1631. if VALUEp == false then
  1632. MagicSphere(VT(1,1,1)/5,35,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0))
  1633. end
  1634. function Command_Rush()
  1635. ATTACK = true
  1636. Rooted = false
  1637. for i = 0, 1, 0.1 / Animation_Speed do
  1638. Swait()
  1639. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1640. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1641. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1642. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1643. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1644. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1645. end
  1646. Rooted = true
  1647. local GYRO = IT("BodyGyro", RootPart)
  1648. GYRO.D = 100
  1649. GYRO.P = 2000
  1650. GYRO.MaxTorque = VT(0, 4000000, 0)
  1651. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1652. for i = 1, 5 do
  1653. for i = 1, 5 do
  1654. Swait()
  1655. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1656. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1657. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1658. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1659. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1660. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1661. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1662. end
  1663. coroutine.resume(coroutine.create(function()
  1664. local EYE = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really black", "Eyeball", VT(0, 0, 0))
  1665. CreateSound("814168787", EYE, 10, 1)
  1666. EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15))
  1667. local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "82326541", "290267501", VT(0, 0, 0), VT(0, 0, 0))
  1668. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(0, 0, 0))
  1669. local ATTACKI = false
  1670. local TORS
  1671. for i = 1, 10 do
  1672. Swait()
  1673. M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3
  1674. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  1675. end
  1676. for i = 1, 100 do
  1677. Swait()
  1678. for _, c in pairs(workspace:GetChildren()) do
  1679. if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1680. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1681. if 0 < HUMANOID.Health then
  1682. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1683. if (TORSO.Position - EYE.Position).Magnitude < 35 then
  1684. ATTACKI = true
  1685. TORS = TORSO
  1686. end
  1687. end
  1688. end
  1689. end
  1690. if ATTACKI == true then
  1691. break
  1692. end
  1693. EYE.CFrame = EYE.CFrame * CF(0, 0, -1)
  1694. end
  1695. if ATTACKI == false then
  1696. for i = 1, 10 do
  1697. Swait()
  1698. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  1699. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  1700. end
  1701. else
  1702. if TORS ~= nil then
  1703. CreateSound("0", EYE, 10, 2)
  1704. local DIST = (TORS.Position - EYE.Position).Magnitude
  1705. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  1706. MagicSphere(VT(1, 1, DIST), 15, CF(EYE.Position, TORS.Position) * CF(0, 0, -DIST / 2), SKILLTEXTCOLOR, VT(0, 0, 0))
  1707. MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  1708. EYE.CFrame = CF(EYE.Position, TORS.Position)
  1709. TORS.Parent:BreakJoints()
  1710. Swait(35)
  1711. end
  1712. for i = 1, 10 do
  1713. Swait()
  1714. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  1715. end
  1716. end
  1717. EYE:remove()
  1718. end))
  1719. end
  1720. GYRO:remove()
  1721. ATTACK = false
  1722. Rooted = false
  1723. end
  1724. function Bat_Wave()
  1725. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  1726. if HITFLOOR ~= nil then
  1727. ATTACK = true
  1728. Rooted = true
  1729. do
  1730. local BAT = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "BatBody", VT(3, 3, 3))
  1731. BAT.Color = C3(0, 0, 0)
  1732. MakeForm(BAT, "Ball")
  1733. CreateSound("1177785010", BAT, 10, 1)
  1734. for i = 1, 25 do
  1735. Swait()
  1736. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  1737. BAT.Transparency = BAT.Transparency - 0.04
  1738. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1739. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1740. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1741. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1742. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1743. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1744. end
  1745. local GYRO = IT("BodyGyro", RootPart)
  1746. GYRO.D = 100
  1747. GYRO.P = 2000
  1748. GYRO.MaxTorque = VT(0, 4000000, 0)
  1749. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1750. local WING = CreatePart(3, BAT, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
  1751. WING.Color = C3(0, 0, 0)
  1752. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  1753. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "1365696", "", VT(0, 0, 2), VT(0, 0, 0))
  1754. for i = 1, 15 do
  1755. Swait()
  1756. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  1757. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  1758. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1759. WING.Transparency = WING.Transparency - 0.06666666666666667
  1760. MSH.Scale = MSH.Scale + VT(0.15, 0.1, 0)
  1761. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1762. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1763. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1764. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1765. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1766. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1767. end
  1768. coroutine.resume(coroutine.create(function()
  1769. local LOOP = 0
  1770. for i = 1, 70 do
  1771. LOOP = LOOP + 1
  1772. Swait()
  1773. if i < 18 then
  1774. MSH.Scale = MSH.Scale + VT(0, 0, 0.3)
  1775. MSH.Offset = MSH.Offset + VT(0, 0, 0.3)
  1776. end
  1777. BAT.CFrame = BAT.CFrame * CF(0, 0, -2)
  1778. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  1779. if LOOP == 15 then
  1780. LOOP = 0
  1781. killnearest(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z), 25, 25)
  1782. CreateSound("201858087", BAT, 10, 1)
  1783. CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z)) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0))
  1784. end
  1785. end
  1786. killnearest(BAT.Position, 35, 250)
  1787. MagicSphere(VT(0, 0, 0), 45, CF(BAT.Position), C3(0, 0, 0), VT(2, 2, 2))
  1788. CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(BAT.Position) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0))
  1789. CreateSound("178452217", BAT, 10, 1)
  1790. WING:remove()
  1791. BAT.Transparency = 1
  1792. Debris:AddItem(BAT, 5)
  1793. end))
  1794. GYRO:remove()
  1795. ATTACK = false
  1796. Rooted = false
  1797. end
  1798. end
  1799. end
  1800. function Smite()
  1801. local RING, MESH, DELET = MakeRing()
  1802. local POS = Mouse.Hit.p
  1803. RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  1804. for i = 1, 45 do
  1805. Swait()
  1806. MESH.Scale = MESH.Scale + VT(12, 0, 12)
  1807. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1808. end
  1809. local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
  1810. if HITFLOOR then
  1811. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really black"), "Beam", VT(0, 0, 0), true)
  1812. MakeForm(BEAM, "Cyl")
  1813. local DIST = (RING.Position - HITPOS).Magnitude
  1814. BEAM.Size = VT(0, DIST, 0)
  1815. BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  1816. for i = 1, 5 do
  1817. WACKYEFFECT({
  1818. EffectType = "Wave",
  1819. Size = VT(25, 0, 25),
  1820. Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
  1821. Transparency = 0,
  1822. Transparency2 = 1,
  1823. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  1824. MoveToPos = nil,
  1825. RotationX = 0,
  1826. RotationY = 3,
  1827. RotationZ = 0,
  1828. Material = "Neon",
  1829. Color = C3(0, 0, 0),
  1830. SoundID = nil,
  1831. SoundPitch = nil,
  1832. SoundVolume = nil
  1833. })
  1834. WACKYEFFECT({
  1835. EffectType = "Round Slash",
  1836. Size = VT(3, 0, 3) / 13,
  1837. Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
  1838. Transparency = 0,
  1839. Transparency2 = 1,
  1840. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  1841. MoveToPos = nil,
  1842. RotationX = 0,
  1843. RotationY = 0,
  1844. RotationZ = 0,
  1845. Material = "Neon",
  1846. Color = C3(0, 0, 0),
  1847. SoundID = nil,
  1848. SoundPitch = nil,
  1849. SoundVolume = nil
  1850. })
  1851. WACKYEFFECT({
  1852. Time = 35,
  1853. EffectType = "Sphere",
  1854. Size = VT(22, 22, 22),
  1855. Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
  1856. Transparency = 0,
  1857. Transparency2 = 1,
  1858. CFrame = CF(HITPOS),
  1859. MoveToPos = nil,
  1860. RotationX = 0,
  1861. RotationY = 0,
  1862. RotationZ = 0,
  1863. Material = "Neon",
  1864. Color = C3(0, 0, 0),
  1865. SoundID = 459523898,
  1866. SoundPitch = MRANDOM(9, 12) / 10,
  1867. SoundVolume = 10
  1868. })
  1869. end
  1870. SHAKECAM(HITPOS, 100, 8, 15)
  1871. ApplyAoE(HITPOS, 50)
  1872. for i = 1, 25 do
  1873. Swait()
  1874. BEAM.Size = BEAM.Size + VT(0.5, 0, 0.5)
  1875. BEAM.Transparency = BEAM.Transparency + 0.04
  1876. end
  1877. BEAM:remove()
  1878. end
  1879. wait(0.2)
  1880. DELET()
  1881. end
  1882. function KeyDown(Key)
  1883. KEYHOLD = true
  1884. if Key == "0" and ATTACK == false then
  1885. Orbital_Devastor()
  1886. end
  1887. if Key == "0" and ATTACK == false then
  1888. Savage_Fire()
  1889. end
  1890. if Key == "c" and ATTACK == false then
  1891. Grave_Encounter()
  1892. end
  1893. if Key == "v" and ATTACK == false then
  1894. Endless_Pain()
  1895. end
  1896. if Key == "x" and ATTACK == false then
  1897. Absoluteum()
  1898. end
  1899. if Key == "q" and ATTACK == false then
  1900. Unwilling_Hop()
  1901. end
  1902. if Key == "2t" and ATTACK == false then
  1903. Taunt()
  1904. end
  1905. if Key == "34" and ATTACK == false then
  1906. Roar()
  1907. end
  1908. if Key == "b" and ATTACK == false then
  1909. Freeze_Orb()
  1910. end
  1911. if Key == "e" and ATTACK == false then
  1912. Command_Rush()
  1913. end
  1914. if Key == "r" and ATTACK == false then
  1915. Bat_Wave()
  1916. end
  1917. if Key == "f" and ATTACK == false then
  1918. Smite()
  1919. end
  1920. if Key == "l" and ATTACK == false then
  1921. Outfit1()
  1922. end
  1923. if Key == "k" and ATTACK == false then
  1924. Outfit2()
  1925. end
  1926. end
  1927. function KeyUp(Key)
  1928. KEYHOLD = false
  1929. end
  1930. Mouse.Button1Down:connect(function(NEWKEY)
  1931. MouseDown(NEWKEY)
  1932. end)
  1933. Mouse.Button1Up:connect(function(NEWKEY)
  1934. MouseUp(NEWKEY)
  1935. end)
  1936. Mouse.KeyDown:connect(function(NEWKEY)
  1937. KeyDown(NEWKEY)
  1938. end)
  1939. Mouse.KeyUp:connect(function(NEWKEY)
  1940. KeyUp(NEWKEY)
  1941. end)
  1942. function unanchor()
  1943. if UNANCHOR == true then
  1944. g = Character:GetChildren()
  1945. for i = 1, #g do
  1946. if g[i].ClassName == "Part" then
  1947. g[i].Anchored = false
  1948. end
  1949. end
  1950. end
  1951. end
  1952. function refit()
  1953. RootJoint.Parent = RootPart
  1954. Neck.Parent = Torso
  1955. RightShoulder.Parent = Torso
  1956. LeftShoulder.Parent = Torso
  1957. RightHip.Parent = Torso
  1958. LeftHip.Parent = Torso
  1959. RootPart.Parent = Character
  1960. LeftArm.Parent = Character
  1961. RightArm.Parent = Character
  1962. RightLeg.Parent = Character
  1963. LeftLeg.Parent = Character
  1964. Torso.Parent = Character
  1965. Head.Parent = Character
  1966. end
  1967. Humanoid.Changed:connect(function(Jump)
  1968. if Jump == "Jump" and Disable_Jump == true then
  1969. Humanoid.Jump = false
  1970. end
  1971. end)
  1972. Humanoid.HipHeight = 2
  1973. Head:ClearAllChildren()
  1974. local FF = IT("ForceField", Character)
  1975. FF.Visible = false
  1976. Speed = 45
  1977. while true do
  1978. Swait()
  1979. ANIMATE.Parent = nil
  1980. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1981. IDLEANIMATION:Play()
  1982. SINE = SINE + CHANGE
  1983. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1984. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1985. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1986. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1987. if ATTACK == false then
  1988. if TORSOVELOCITY < 1 then
  1989. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(35 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1990. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1991. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(35), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1992. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(35), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1993. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1994. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1995. elseif TORSOVELOCITY > 1 then
  1996. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1997. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1998. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1999. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2000. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2001. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2002. end
  2003. end
  2004. if VALUE2 == false then
  2005. end
  2006. unanchor()
  2007. Humanoid.MaxHealth = "inf"
  2008. Humanoid.Health = "inf"
  2009. if Rooted == false then
  2010. Disable_Jump = false
  2011. Humanoid.WalkSpeed = Speed
  2012. elseif Rooted == true then
  2013. Disable_Jump = true
  2014. Humanoid.WalkSpeed = 0
  2015. end
  2016. for _, c in pairs(Character:GetChildren()) do
  2017. if c.ClassName == "Part" then
  2018. c.Material = "SmoothPlastic"
  2019. if c:FindFirstChildOfClass("ParticleEmitter") then
  2020. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2021. end
  2022. if c == Torso then
  2023. c.Color = C3(0, 0, 0)
  2024. elseif c == RightLeg then
  2025. c.Color = C3(0.05, 0, 0)
  2026. elseif c == LeftLeg then
  2027. c.Color = C3(0.05, 0, 0)
  2028. elseif c == Head then
  2029. if c:FindFirstChild("Dominus") == nil then
  2030. local M = CreateMesh("SpecialMesh", c, "FileMesh", "1365696", "124896442", VT(1, 1, 1) * 1.1, VT(0, 0.7, 0))
  2031. M.Name = "Dominus"
  2032.  
  2033. end
  2034. if c:FindFirstChild("face") then
  2035. c.face:remove()
  2036. end
  2037. end
  2038. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" then
  2039. c:remove()
  2040. end
  2041. end
  2042. FF.Parent = Character
  2043. sick.Parent = Character
  2044. refit()
  2045. script.Parent = WEAPONGUI
  2046. Character.Parent = workspace
  2047. Humanoid.PlatformStand = false
  2048. Humanoid.Name = "Valk"
  2049. Humanoid.DisplayDistanceType = "None"
  2050. end
Advertisement
Add Comment
Please, Sign In to add comment