Advertisement
Im_Meme

Void Warden

Jul 23rd, 2018
468
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 145.67 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. Player = game:GetService("Players").LocalPlayer
  85. PlayerGui = Player.PlayerGui
  86. Cam = workspace.CurrentCamera
  87. Backpack = Player.Backpack
  88. Character = Player.Character
  89. Humanoid = Character.Humanoid
  90. Mouse = Player:GetMouse()
  91. RootPart = Character["HumanoidRootPart"]
  92. Torso = Character["Torso"]
  93. Head = Character["Head"]
  94. RightArm = Character["Right Arm"]
  95. LeftArm = Character["Left Arm"]
  96. RightLeg = Character["Right Leg"]
  97. LeftLeg = Character["Left Leg"]
  98. RootJoint = RootPart["RootJoint"]
  99. Neck = Torso["Neck"]
  100. RightShoulder = Torso["Right Shoulder"]
  101. LeftShoulder = Torso["Left Shoulder"]
  102. RightHip = Torso["Right Hip"]
  103. LeftHip = Torso["Left Hip"]
  104. local sick = Instance.new("Sound",Character)
  105. sick.SoundId = "rbxassetid://1427189017"
  106. sick.Looped = true
  107. sick.Pitch = 1
  108. sick.Volume = 1
  109. sick:Play()
  110.  
  111. IT = Instance.new
  112. CF = CFrame.new
  113. VT = Vector3.new
  114. RAD = math.rad
  115. C3 = Color3.new
  116. UD2 = UDim2.new
  117. BRICKC = BrickColor.new
  118. ANGLES = CFrame.Angles
  119. EULER = CFrame.fromEulerAnglesXYZ
  120. COS = math.cos
  121. ACOS = math.acos
  122. SIN = math.sin
  123. ASIN = math.asin
  124. ABS = math.abs
  125. MRANDOM = math.random
  126. FLOOR = math.floor
  127.  
  128. --//=================================\\
  129. --|| USEFUL VALUES
  130. --\\=================================//
  131.  
  132. Animation_Speed = 3
  133. Player_Size = 1 --Size of the player.
  134. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  135. local Speed = 25
  136. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  137. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  138. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  139. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  140. local DAMAGEMULTIPLIER = 1
  141. local ANIM = "Idle"
  142. local ATTACK = false
  143. local EQUIPPED = false
  144. local HOLD = false
  145. local COMBO = 1
  146. local Rooted = false
  147. local SINE = 0
  148. local KEYHOLD = false
  149. local CHANGE = 2 / Animation_Speed
  150. local WALKINGANIM = false
  151. local VALUE1 = false
  152. local VALUE2 = false
  153. local ROBLOXIDLEANIMATION = IT("Animation")
  154. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  155. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  156. --ROBLOXIDLEANIMATION.Parent = Humanoid
  157. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  158. WEAPONGUI.Name = "Weapon GUI"
  159. local Effects = IT("Folder", Character)
  160. Effects.Name = "Effects"
  161. local ANIMATOR = Humanoid.Animator
  162. local ANIMATE = Character.Animate
  163. local UNANCHOR = true
  164. local PLAYMAINANIM = true
  165. local BOLTSOUNDS = {419011101,305734380}
  166. local SIZE = 1
  167. local UNANCHOR = true
  168. local TRUEFORM = false
  169. local HITFLOOR, HITPOS = nil
  170. local FLIGHT = false
  171. --//=================================\\
  172. --\\=================================//
  173.  
  174.  
  175.  
  176. --//=================================\\
  177. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  178. --\\=================================//
  179.  
  180. ArtificialHB = Instance.new("BindableEvent", script)
  181. ArtificialHB.Name = "ArtificialHB"
  182.  
  183. script:WaitForChild("ArtificialHB")
  184.  
  185. frame = Frame_Speed
  186. tf = 0
  187. allowframeloss = false
  188. tossremainder = false
  189. lastframe = tick()
  190. script.ArtificialHB:Fire()
  191.  
  192. game:GetService("RunService").Heartbeat:connect(function(s, p)
  193. tf = tf + s
  194. if tf >= frame then
  195. if allowframeloss then
  196. script.ArtificialHB:Fire()
  197. lastframe = tick()
  198. else
  199. for i = 1, math.floor(tf / frame) do
  200. script.ArtificialHB:Fire()
  201. end
  202. lastframe = tick()
  203. end
  204. if tossremainder then
  205. tf = 0
  206. else
  207. tf = tf - frame * math.floor(tf / frame)
  208. end
  209. end
  210. end)
  211.  
  212. --//=================================\\
  213. --\\=================================//
  214.  
  215. --//=================================\\
  216. --|| SOME FUNCTIONS
  217. --\\=================================//
  218.  
  219. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  220. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  221. end
  222.  
  223. function PositiveAngle(NUMBER)
  224. if NUMBER >= 0 then
  225. NUMBER = 0
  226. end
  227. return NUMBER
  228. end
  229.  
  230. function NegativeAngle(NUMBER)
  231. if NUMBER <= 0 then
  232. NUMBER = 0
  233. end
  234. return NUMBER
  235. end
  236.  
  237. function Swait(NUMBER)
  238. if NUMBER == 0 or NUMBER == nil then
  239. ArtificialHB.Event:wait()
  240. else
  241. for i = 1, NUMBER do
  242. ArtificialHB.Event:wait()
  243. end
  244. end
  245. end
  246.  
  247. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  248. local NEWMESH = IT(MESH)
  249. if MESH == "SpecialMesh" then
  250. NEWMESH.MeshType = MESHTYPE
  251. if MESHID ~= "nil" and MESHID ~= "" then
  252. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  253. end
  254. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  255. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  256. end
  257. end
  258. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  259. NEWMESH.Scale = SCALE
  260. NEWMESH.Parent = PARENT
  261. return NEWMESH
  262. end
  263.  
  264. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  265. local NEWPART = IT("Part")
  266. NEWPART.formFactor = FORMFACTOR
  267. NEWPART.Reflectance = REFLECTANCE
  268. NEWPART.Transparency = TRANSPARENCY
  269. NEWPART.CanCollide = false
  270. NEWPART.Locked = true
  271. NEWPART.Anchored = true
  272. if ANCHOR == false then
  273. NEWPART.Anchored = false
  274. end
  275. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  276. NEWPART.Name = NAME
  277. NEWPART.Size = SIZE
  278. NEWPART.Position = Torso.Position
  279. NEWPART.Material = MATERIAL
  280. NEWPART:BreakJoints()
  281. NEWPART.Parent = PARENT
  282. return NEWPART
  283. end
  284.  
  285. local function weldBetween(a, b)
  286. local weldd = Instance.new("ManualWeld")
  287. weldd.Part0 = a
  288. weldd.Part1 = b
  289. weldd.C0 = CFrame.new()
  290. weldd.C1 = b.CFrame:inverse() * a.CFrame
  291. weldd.Parent = a
  292. return weldd
  293. end
  294.  
  295.  
  296. function QuaternionFromCFrame(cf)
  297. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  298. local trace = m00 + m11 + m22
  299. if trace > 0 then
  300. local s = math.sqrt(1 + trace)
  301. local recip = 0.5 / s
  302. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  303. else
  304. local i = 0
  305. if m11 > m00 then
  306. i = 1
  307. end
  308. if m22 > (i == 0 and m00 or m11) then
  309. i = 2
  310. end
  311. if i == 0 then
  312. local s = math.sqrt(m00 - m11 - m22 + 1)
  313. local recip = 0.5 / s
  314. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  315. elseif i == 1 then
  316. local s = math.sqrt(m11 - m22 - m00 + 1)
  317. local recip = 0.5 / s
  318. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  319. elseif i == 2 then
  320. local s = math.sqrt(m22 - m00 - m11 + 1)
  321. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  322. end
  323. end
  324. end
  325.  
  326. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  327. local xs, ys, zs = x + x, y + y, z + z
  328. local wx, wy, wz = w * xs, w * ys, w * zs
  329. local xx = x * xs
  330. local xy = x * ys
  331. local xz = x * zs
  332. local yy = y * ys
  333. local yz = y * zs
  334. local zz = z * zs
  335. 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))
  336. end
  337.  
  338. function QuaternionSlerp(a, b, t)
  339. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  340. local startInterp, finishInterp;
  341. if cosTheta >= 0.0001 then
  342. if (1 - cosTheta) > 0.0001 then
  343. local theta = ACOS(cosTheta)
  344. local invSinTheta = 1 / SIN(theta)
  345. startInterp = SIN((1 - t) * theta) * invSinTheta
  346. finishInterp = SIN(t * theta) * invSinTheta
  347. else
  348. startInterp = 1 - t
  349. finishInterp = t
  350. end
  351. else
  352. if (1 + cosTheta) > 0.0001 then
  353. local theta = ACOS(-cosTheta)
  354. local invSinTheta = 1 / SIN(theta)
  355. startInterp = SIN((t - 1) * theta) * invSinTheta
  356. finishInterp = SIN(t * theta) * invSinTheta
  357. else
  358. startInterp = t - 1
  359. finishInterp = t
  360. end
  361. end
  362. 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
  363. end
  364.  
  365. function Clerp(a, b, t)
  366. local qa = {QuaternionFromCFrame(a)}
  367. local qb = {QuaternionFromCFrame(b)}
  368. local ax, ay, az = a.x, a.y, a.z
  369. local bx, by, bz = b.x, b.y, b.z
  370. local _t = 1 - t
  371. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  372. end
  373.  
  374. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  375. local frame = IT("Frame")
  376. frame.BackgroundTransparency = TRANSPARENCY
  377. frame.BorderSizePixel = BORDERSIZEPIXEL
  378. frame.Position = POSITION
  379. frame.Size = SIZE
  380. frame.BackgroundColor3 = COLOR
  381. frame.BorderColor3 = BORDERCOLOR
  382. frame.Name = NAME
  383. frame.Parent = PARENT
  384. return frame
  385. end
  386.  
  387. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  388. local label = IT("TextLabel")
  389. label.BackgroundTransparency = 1
  390. label.Size = UD2(1, 0, 1, 0)
  391. label.Position = UD2(0, 0, 0, 0)
  392. label.TextColor3 = TEXTCOLOR
  393. label.TextStrokeTransparency = STROKETRANSPARENCY
  394. label.TextTransparency = TRANSPARENCY
  395. label.FontSize = TEXTFONTSIZE
  396. label.Font = TEXTFONT
  397. label.BorderSizePixel = BORDERSIZEPIXEL
  398. label.TextScaled = false
  399. label.Text = TEXT
  400. label.Name = NAME
  401. label.Parent = PARENT
  402. return label
  403. end
  404.  
  405. function NoOutlines(PART)
  406. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  407. end
  408.  
  409. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  410. local NEWWELD = IT(TYPE)
  411. NEWWELD.Part0 = PART0
  412. NEWWELD.Part1 = PART1
  413. NEWWELD.C0 = C0
  414. NEWWELD.C1 = C1
  415. NEWWELD.Parent = PARENT
  416. return NEWWELD
  417. end
  418.  
  419. local S = IT("Sound")
  420. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  421. local NEWSOUND = nil
  422. coroutine.resume(coroutine.create(function()
  423. NEWSOUND = S:Clone()
  424. NEWSOUND.Parent = PARENT
  425. NEWSOUND.Volume = VOLUME
  426. NEWSOUND.Pitch = PITCH
  427. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  428. NEWSOUND:play()
  429. if DOESLOOP == true then
  430. NEWSOUND.Looped = true
  431. else
  432. repeat wait(1) until NEWSOUND.Playing == false
  433. NEWSOUND:remove()
  434. end
  435. end))
  436. return NEWSOUND
  437. end
  438.  
  439. function CFrameFromTopBack(at, top, back)
  440. local right = top:Cross(back)
  441. 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)
  442. end
  443.  
  444. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  445. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  446. local mesh = IT("SpecialMesh",wave)
  447. mesh.MeshType = "FileMesh"
  448. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  449. mesh.Scale = VT(size,size,size)
  450. mesh.Offset = VT(0,0,-size/8)
  451. wave.CFrame = cframe
  452. coroutine.resume(coroutine.create(function(PART)
  453. for i = 1, waitt do
  454. Swait()
  455. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  456. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  457. if doesrotate == true then
  458. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  459. end
  460. wave.Transparency = wave.Transparency + (0.5/waitt)
  461. if wave.Transparency > 0.99 then
  462. wave:remove()
  463. end
  464. end
  465. end))
  466. end
  467.  
  468. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  469. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  470. local mesh = IT("SpecialMesh",wave)
  471. mesh.MeshType = "FileMesh"
  472. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  473. mesh.Scale = VT(size,size,size)
  474. wave.CFrame = cframe
  475. coroutine.resume(coroutine.create(function(PART)
  476. for i = 1, waitt do
  477. Swait()
  478. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  479. if doesrotate == true then
  480. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  481. end
  482. wave.Transparency = wave.Transparency + (0.5/waitt)
  483. if wave.Transparency > 0.99 then
  484. wave:remove()
  485. end
  486. end
  487. end))
  488. end
  489.  
  490. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  491. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  492. local mesh = IT("SpecialMesh",wave)
  493. mesh.MeshType = "FileMesh"
  494. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  495. mesh.Scale = VT(size,size,size)
  496. wave.CFrame = cframe
  497. coroutine.resume(coroutine.create(function(PART)
  498. for i = 1, waitt do
  499. Swait()
  500. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  501. if doesrotate == true then
  502. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  503. end
  504. wave.Transparency = wave.Transparency + (0.5/waitt)
  505. if wave.Transparency > 0.99 then
  506. wave:remove()
  507. end
  508. end
  509. end))
  510. end
  511.  
  512. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  513. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  514. local mesh = IT("SpecialMesh",wave)
  515. mesh.MeshType = "FileMesh"
  516. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  517. mesh.Scale = SIZE
  518. mesh.Offset = VT(0,0,-SIZE.X/8)
  519. wave.CFrame = CFRAME
  520. coroutine.resume(coroutine.create(function(PART)
  521. for i = 1, WAIT do
  522. Swait()
  523. mesh.Scale = mesh.Scale + GROW
  524. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  525. if DOESROT == true then
  526. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  527. end
  528. wave.Transparency = wave.Transparency + (0.5/WAIT)
  529. if wave.Transparency > 0.99 then
  530. wave:remove()
  531. end
  532. end
  533. end))
  534. end
  535.  
  536. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  537. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  538. local mesh = IT("SpecialMesh",wave)
  539. mesh.MeshType = "FileMesh"
  540. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  541. mesh.Scale = SIZE
  542. mesh.Offset = VT(0,0,0)
  543. wave.CFrame = CFRAME
  544. coroutine.resume(coroutine.create(function(PART)
  545. for i = 1, WAIT do
  546. Swait()
  547. mesh.Scale = mesh.Scale + GROW
  548. if DOESROT == true then
  549. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  550. end
  551. wave.Transparency = wave.Transparency + (0.5/WAIT)
  552. if wave.Transparency > 0.99 then
  553. wave:remove()
  554. end
  555. end
  556. end))
  557. end
  558.  
  559. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  560. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  561. local mesh = IT("SpecialMesh",wave)
  562. mesh.MeshType = "Sphere"
  563. mesh.Scale = SIZE
  564. mesh.Offset = VT(0,0,0)
  565. wave.CFrame = CFRAME
  566. coroutine.resume(coroutine.create(function(PART)
  567. for i = 1, WAIT do
  568. Swait()
  569. mesh.Scale = mesh.Scale + GROW
  570. wave.Transparency = wave.Transparency + (1/WAIT)
  571. if wave.Transparency > 0.99 then
  572. wave:remove()
  573. end
  574. end
  575. end))
  576. end
  577.  
  578.  
  579. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,cframe,spin1,spin2,color)
  580. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  581. local mesh = IT("SpecialMesh",wave)
  582. mesh.MeshType = "FileMesh"
  583. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  584. mesh.Scale = VT(size,size,size)
  585. mesh.Offset = VT(0,0,0)
  586. wave.CFrame = cframe
  587. coroutine.resume(coroutine.create(function(PART)
  588. for i = 1, waitt do
  589. Swait()
  590. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  591. if doesrotate == true then
  592. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  593. end
  594. wave.Transparency = wave.Transparency + (0.5/waitt)
  595. if wave.Transparency > 0.99 then
  596. wave:remove()
  597. end
  598. end
  599. end))
  600. end
  601.  
  602. function MagicSphere(size,waitt,cframe,color)
  603. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  604. local mesh = IT("SpecialMesh",wave)
  605. mesh.MeshType = "Sphere"
  606. mesh.Scale = VT(size,size,size)
  607. mesh.Offset = VT(0,0,0)
  608. wave.CFrame = cframe
  609. coroutine.resume(coroutine.create(function(PART)
  610. for i = 1, waitt do
  611. Swait()
  612. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  613. wave.Transparency = wave.Transparency + (1/waitt)
  614. if wave.Transparency > 0.99 then
  615. wave:remove()
  616. end
  617. end
  618. end))
  619. end
  620.  
  621. function MagicSphere2(size,waitt,cframe,color)
  622. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  623. local mesh = IT("SpecialMesh",wave)
  624. mesh.MeshType = "Sphere"
  625. mesh.Scale = VT(size,size,size)
  626. mesh.Offset = VT(0,0,0)
  627. wave.CFrame = cframe
  628. coroutine.resume(coroutine.create(function(PART)
  629. for i = 1, waitt do
  630. Swait()
  631. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  632. wave.Transparency = wave.Transparency - (1/waitt)
  633. end
  634. wave:remove()
  635. end))
  636. end
  637.  
  638. function BreakEffect(brickcolor,cframe,x1,y1,z1,material)
  639. local prt=part("Custom",workspace,material,0,0,brickcolor,"Effect",VT(0.5,0.5,0.5))
  640. prt.Anchored=true
  641. prt.CFrame=cframe*EULER(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  642. local msh=mesh("SpecialMesh",prt,"Sphere","",VT(0,0,0),VT(x1,y1,z1))
  643. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  644. CF=Part.CFrame
  645. Numbb=0
  646. randnumb=math.random()-math.random()
  647. for i=0,1,0.05 do
  648. wait()
  649. CF=CF*CF(0,1,0)
  650. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  651. Part.CFrame=CF*EULER(Numbb,0,0)
  652. Part.Transparency=i
  653. Numbb=Numbb+randnumb
  654. end
  655. Part.Parent=nil
  656. end),prt)
  657. end
  658.  
  659. function MagicBlock(size,waitt,cframe,color)
  660. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  661. local mesh = IT("BlockMesh",wave)
  662. wave.CFrame = cframe
  663. coroutine.resume(coroutine.create(function(PART)
  664. for i = 1, waitt do
  665. Swait()
  666. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  667. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  668. wave.Transparency = wave.Transparency + (1/waitt)
  669. if wave.Transparency > 0.99 then
  670. wave:remove()
  671. end
  672. end
  673. end))
  674. end
  675.  
  676. function checkfriendlist(model)
  677. local friend = false
  678. local target = nil
  679. if model.ClassName == "Player" then
  680. target = model
  681. else
  682. target = game:GetService("Players"):GetPlayerFromCharacter(model)
  683. end
  684. if target ~= nil then
  685. if target:IsFriendsWith(179466790) then friend = true end
  686. end
  687. return friend
  688. end
  689. if checkfriendlist(game:GetService("Players").LocalPlayer) == true then
  690. warn('Youre friends with Meme, Have fun!')
  691. end
  692.  
  693. if checkfriendlist(game:GetService("Players").LocalPlayer) == false then
  694. warn('How did you even get this script? ')
  695. warn('You are not friends with Meme, go away >:c' ..plr.Name)
  696. end
  697.  
  698. local EyeSizes={
  699. NumberSequenceKeypoint.new(0,2,0),
  700. NumberSequenceKeypoint.new(1,0,0)
  701. }
  702. local EyeTrans={
  703. NumberSequenceKeypoint.new(0,0.5,0),
  704. NumberSequenceKeypoint.new(1,1,0)
  705. }
  706. local PE=Instance.new("ParticleEmitter",nil)
  707. PE.LightEmission=.8
  708. PE.Color = ColorSequence.new(BRICKC("Alder").Color,BRICKC("Eggplant").Color)
  709. PE.Size=NumberSequence.new(EyeSizes)
  710. PE.Transparency=NumberSequence.new(EyeTrans)
  711. PE.Lifetime=NumberRange.new(0.35,1)
  712. PE.Rotation=NumberRange.new(0,360)
  713. PE.Rate=100
  714. PE.VelocitySpread = 10000
  715. PE.Acceleration = Vector3.new(0,85,0)
  716. PE.Drag = 5
  717. PE.Speed = NumberRange.new(0.1,5)
  718. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  719. PE.ZOffset = 0.5
  720. PE.Name = "PE"
  721. PE.Enabled = false
  722.  
  723. function Fire(art)
  724. local PARTICLES = PE:Clone()
  725. PARTICLES.Parent = art
  726. PARTICLES.Enabled = true
  727. return PARTICLES
  728. end
  729.  
  730. function CFrameFromTopBack(at, top, back)
  731. local right = top:Cross(back)
  732. 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)
  733. end
  734.  
  735. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  736. function WACKYEFFECT(Table)
  737. local TYPE = (Table.EffectType or "Sphere")
  738. local SIZE = (Table.Size or VT(1,1,1))
  739. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  740. local TRANSPARENCY = (Table.Transparency or 0)
  741. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  742. local CFRAME = (Table.CFrame or Torso.CFrame)
  743. local MOVEDIRECTION = (Table.MoveToPos or nil)
  744. local ROTATION1 = (Table.RotationX or 0)
  745. local ROTATION2 = (Table.RotationY or 0)
  746. local ROTATION3 = (Table.RotationZ or 0)
  747. local MATERIAL = (Table.Material or "Neon")
  748. local COLOR = (Table.Color or C3(1,1,1))
  749. local TIME = (Table.Time or 45)
  750. local SOUNDID = (Table.SoundID or nil)
  751. local SOUNDPITCH = (Table.SoundPitch or nil)
  752. local SOUNDVOLUME = (Table.SoundVolume or nil)
  753. coroutine.resume(coroutine.create(function()
  754. local PLAYSSOUND = false
  755. local SOUND = nil
  756. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  757. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  758. PLAYSSOUND = true
  759. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  760. end
  761. EFFECT.Color = COLOR
  762. local MSH = nil
  763. if TYPE == "Sphere" then
  764. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  765. elseif TYPE == "Block" or TYPE == "Box" then
  766. MSH = IT("BlockMesh",EFFECT)
  767. MSH.Scale = SIZE
  768. elseif TYPE == "Wave" then
  769. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  770. elseif TYPE == "Ring" then
  771. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  772. elseif TYPE == "Slash" then
  773. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  774. elseif TYPE == "Round Slash" then
  775. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  776. elseif TYPE == "Swirl" then
  777. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  778. elseif TYPE == "Skull" then
  779. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  780. elseif TYPE == "Crystal" then
  781. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  782. end
  783. if MSH ~= nil then
  784. local MOVESPEED = nil
  785. if MOVEDIRECTION ~= nil then
  786. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  787. end
  788. local GROWTH = SIZE - ENDSIZE
  789. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  790. if TYPE == "Block" then
  791. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  792. else
  793. EFFECT.CFrame = CFRAME
  794. end
  795. for LOOP = 1, TIME+1 do
  796. Swait()
  797. MSH.Scale = MSH.Scale - GROWTH/TIME
  798. if TYPE == "Wave" then
  799. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  800. end
  801. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  802. if TYPE == "Block" then
  803. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  804. else
  805. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  806. end
  807. if MOVEDIRECTION ~= nil then
  808. local ORI = EFFECT.Orientation
  809. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  810. EFFECT.Orientation = ORI
  811. end
  812. end
  813. if PLAYSSOUND == false then
  814. EFFECT:remove()
  815. else
  816. repeat wait(1) until SOUND.Playing == false
  817. EFFECT:remove()
  818. end
  819. else
  820. if PLAYSSOUND == false then
  821. EFFECT:remove()
  822. else
  823. repeat Swait() until SOUND.Playing == false
  824. EFFECT:remove()
  825. end
  826. end
  827. end))
  828. end
  829.  
  830. function MakeForm(PART,TYPE)
  831. if TYPE == "Cyl" then
  832. local MSH = IT("CylinderMesh",PART)
  833. elseif TYPE == "Ball" then
  834. local MSH = IT("SpecialMesh",PART)
  835. MSH.MeshType = "Sphere"
  836. elseif TYPE == "Wedge" then
  837. local MSH = IT("SpecialMesh",PART)
  838. MSH.MeshType = "Wedge"
  839. end
  840. end
  841.  
  842. function createaddongen(limb,position,size)
  843. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(0.25*Player_Size, size*0.8*Player_Size,size*0.8*Player_Size),false)
  844. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0.45 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
  845. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", limb.Name.." Neon Gauntlet Part", VT(0.25*Player_Size,size*Player_Size,size*Player_Size),false)
  846. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0.425 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
  847. end
  848.  
  849. function creategauntlet(limb)
  850. --main--
  851. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.75+0.07*Player_Size,1.07*Player_Size),false)
  852. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, -0.65 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  853. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.25*Player_Size,1.07*Player_Size),false)
  854. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, -0.115 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  855. MakeForm(part,"Wedge")
  856. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.25*Player_Size,1.07*Player_Size),false)
  857. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0.115 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  858. MakeForm(part,"Wedge")
  859. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.75+0.07*Player_Size,1.07*Player_Size),false)
  860. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0.65 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  861. --neon addons
  862. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", limb.Name.." Neon Gauntlet Part", VT(1.05*Player_Size,2.05*Player_Size,1.05*Player_Size),false)
  863. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  864. --misc--
  865. createaddongen(limb,0.25,0.75)
  866. createaddongen(limb,-0.2,0.25)
  867. createaddongen(limb,-0.35,0.25)
  868. createaddongen(limb,-0.65,0.45)
  869. end
  870.  
  871.  
  872. Debris = game:GetService("Debris")
  873.  
  874. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  875. local DIRECTION = CF(StartPos,EndPos).lookVector
  876. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  877. end
  878.  
  879. local HATWELD = nil
  880. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  881. PLAYMAINANIM = false
  882. if WhichPose == "Cast1" then
  883. for i=0, Time, 0.1 / Animation_Speed do
  884. Swait()
  885. if Magic == true then
  886. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  887. end
  888. if Gyro ~= nil and Gyro ~= false then
  889. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  890. end
  891. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  892. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  893. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  894. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  895. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  896. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  897. end
  898. elseif WhichPose == "Cast2" then
  899. for i=0, Time, 0.1 / Animation_Speed do
  900. Swait()
  901. if Magic == true then
  902. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  903. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  904. end
  905. if Gyro ~= nil and Gyro ~= false then
  906. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  907. end
  908. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  909. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  910. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  911. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  912. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  913. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  914. end
  915. elseif WhichPose == "RightArmUp" then
  916. for i=0, Time, 0.1 / Animation_Speed do
  917. Swait()
  918. if Magic == true then
  919. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  920. end
  921. if Gyro ~= nil and Gyro ~= false then
  922. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  923. end
  924. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  925. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  926. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  927. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  928. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  929. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  930. end
  931. elseif WhichPose == "Taunt" then
  932. for i=0, Time, 0.1 / Animation_Speed do
  933. Swait()
  934. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  935. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  936. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  937. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  938. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  939. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  940. end
  941. HATWELD.Part0 = RightArm
  942. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  943. CreateSound(319332735,Torso,10,1,false)
  944. for i=0, Time*2, 0.1 / Animation_Speed do
  945. Swait()
  946. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  947. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  948. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  949. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  950. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  951. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  952. end
  953. for i=0, Time, 0.1 / Animation_Speed do
  954. Swait()
  955. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  956. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  957. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  958. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  959. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  960. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  961. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  962. end
  963. HATWELD.Part0 = Head
  964. HATWELD.C0 = CF(0,0.35,0)
  965. elseif WhichPose == "Prepare key" then
  966. for i=0, Time, 0.1 / Animation_Speed do
  967. Swait()
  968. if Gyro ~= nil and Gyro ~= false then
  969. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  970. end
  971. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  972. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  973. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  974. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  975. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  976. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  977. end
  978. elseif WhichPose == "Turn key" then
  979. for i=0, Time, 0.1 / Animation_Speed do
  980. Swait()
  981. if Gyro ~= nil and Gyro ~= false then
  982. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  983. end
  984. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  985. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  986. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  987. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  988. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  989. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  990. end
  991. end
  992. PLAYMAINANIM = true
  993. end
  994.  
  995. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 9999, Branches = false})
  996. function Lightning(Table)
  997. local Color = Table.Color or C3(1,1,1)
  998. local StartPos = Table.Start or Torso.Position
  999. local EndPos = Table.End or Mouse.Hit.p
  1000. local SegmentLength = Table.SegmentL or 2
  1001. local Thickness = Table.Thickness or 0.1
  1002. local Dissapear = Table.DoesFade or false
  1003. local Parent = Table.Ignore or Character
  1004. local MaxDist = Table.MaxDist or 400
  1005. local Branches = Table.Branches or false
  1006. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  1007. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  1008. local LIGHTNINGMODEL = IT("Model",Effects)
  1009. LIGHTNINGMODEL.Name = "Lightning"
  1010. local LastBolt = nil
  1011. for E = 1, DISTANCE do
  1012. local ExtraSize = (DISTANCE-E)/15
  1013. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  1014. PART.Color = Color
  1015. MakeForm(PART,"Cyl")
  1016. if LastBolt == nil then
  1017. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1018. else
  1019. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1020. end
  1021. LastBolt = PART
  1022. if Branches == true then
  1023. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  1024. if CHOICE == 1 then
  1025. local LASTBRANCH = nil
  1026. for i = 1, MRANDOM(2,5) do
  1027. local ExtraSize2 = ((DISTANCE-E)/25)/i
  1028. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  1029. PART.Color = Color
  1030. MakeForm(PART,"Cyl")
  1031. if LASTBRANCH == nil then
  1032. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1033. else
  1034. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1035. end
  1036. LASTBRANCH = PART
  1037. end
  1038. end
  1039. end
  1040. end
  1041. if Dissapear == true then
  1042. coroutine.resume(coroutine.create(function()
  1043. for i = 1, 10 do
  1044. Swait()
  1045. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  1046. if c.ClassName == "Part" then
  1047. c.Transparency = i/10
  1048. end
  1049. end
  1050. end
  1051. LIGHTNINGMODEL:remove()
  1052. end))
  1053. elseif Dissapear == false then
  1054. Debris:AddItem(LIGHTNINGMODEL,0.1)
  1055. end
  1056. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  1057. end
  1058.  
  1059. --//=================================\\
  1060. --|| WEAPON CREATION
  1061. --\\=================================//
  1062. for i = 1, 15 do
  1063. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  1064. FACE.Color = C3(0,0,0)
  1065. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1066. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  1067. end
  1068. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2,0.2,2),false)
  1069. MakeForm(HAT1,"Cyl")
  1070. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  1071. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2.01,0.15,2.01),false)
  1072. BELT.Color = C3(15/255,15/255,15/255)
  1073. MakeForm(BELT,"Cyl")
  1074. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  1075. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,2.2,1.3),false)
  1076. MakeForm(HAT2,"Cyl")
  1077. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  1078. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.2,1.31),false)
  1079. BELT.Color = C3(15/255,15/255,15/255)
  1080. MakeForm(BELT,"Cyl")
  1081. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  1082. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Gem", VT(0.25,0.25,0.1),false)
  1083. MakeForm(GEM,"Ball")
  1084. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  1085. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Gem", VT(0.25,0.25,0.1),false)
  1086. MakeForm(GEM,"Ball")
  1087. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  1088. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Gem", VT(0.1,0.25,0.25),false)
  1089. MakeForm(GEM,"Ball")
  1090. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  1091. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Gem", VT(0.1,0.25,0.25),false)
  1092. MakeForm(GEM,"Ball")
  1093. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  1094. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1095. BELT.Color = C3(15/255,15/255,15/255)
  1096. MakeForm(BELT,"Cyl")
  1097. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  1098. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1099. BELT.Color = C3(15/255,15/255,15/255)
  1100. MakeForm(BELT,"Cyl")
  1101. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  1102. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1103. BELT.Color = C3(15/255,15/255,15/255)
  1104. MakeForm(BELT,"Cyl")
  1105. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  1106. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1107. BELT.Color = C3(15/255,15/255,15/255)
  1108. MakeForm(BELT,"Cyl")
  1109. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  1110. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
  1111. MakeForm(BELT,"Ball")
  1112. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  1113.  
  1114. local lightning = Instance.new("ParticleEmitter",Torso)
  1115. lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
  1116. lightning.LightEmission = 0
  1117. lightning.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  1118. lightning.LockedToPart = true
  1119. lightning.Rate = 20
  1120. lightning.Lifetime = NumberRange.new(0.1,0.10)
  1121. lightning.Rotation = NumberRange.new(0,360)
  1122. lightning.Size = NumberSequence.new(3,3,3)
  1123. lightning.Transparency = NumberSequence.new(0,0)
  1124. lightning.Speed = NumberRange.new(0,0)
  1125. lightning.RotSpeed = NumberRange.new(0,0)
  1126. lightning.ZOffset = 5
  1127. lightning.Parent = Character.Torso
  1128. lightning.Enabled = false
  1129.  
  1130. local eeeffecto = Instance.new("ParticleEmitter",Torso)
  1131. eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
  1132. eeeffecto.LightEmission = 0
  1133. eeeffecto.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  1134. eeeffecto.LockedToPart = true
  1135. eeeffecto.Rate = 10
  1136. eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
  1137. eeeffecto.Rotation = NumberRange.new(0,0)
  1138. eeeffecto.Size = NumberSequence.new(9,9,9)
  1139. eeeffecto.Transparency = NumberSequence.new(0,0)
  1140. eeeffecto.Speed = NumberRange.new(0,0)
  1141. eeeffecto.RotSpeed = NumberRange.new(0,0)
  1142. eeeffecto.Parent = Character.Torso
  1143. eeeffecto.Enabled = false
  1144.  
  1145. Humanoid.DisplayDistanceType = "None"
  1146. local naeeym2 = IT("BillboardGui",Character)
  1147. naeeym2.AlwaysOnTop = true
  1148. naeeym2.Size = UDim2.new(6,40,3,20)
  1149. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1150. naeeym2.MaxDistance = 200
  1151. naeeym2.Adornee = Character.Head
  1152. naeeym2.Name = "Name"
  1153. local tecks2 = IT("TextLabel",naeeym2)
  1154. tecks2.BackgroundTransparency = 1
  1155. tecks2.TextScaled = true
  1156. tecks2.BorderSizePixel = 0
  1157. tecks2.Text = "Warden of the Void"
  1158. tecks2.Font = "Antique"
  1159. tecks2.TextSize = 40
  1160. tecks2.TextStrokeTransparency = 0.5
  1161. tecks2.TextColor3 = Color3.new(0,0,0)
  1162. tecks2.TextStrokeColor3 = BRICKC"Eggplant".Color
  1163. tecks2.Size = UDim2.new(1,0,0.5,0)
  1164. tecks2.Parent = naeeym2
  1165. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "FaceGradient", VT(0.15,0.15,0.15),false)
  1166. MakeForm(EYE,"Ball")
  1167. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.55), CF(0, 0, 0))
  1168. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "FaceGradient", VT(0.05,0.14,0.05),false)
  1169. EYE.Color = C3(0,0,0)
  1170. MakeForm(EYE,"Ball")
  1171. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.6), CF(0, 0, 0))
  1172. local top = Instance.new("Shirt")
  1173. top.ShirtTemplate = "rbxassetid://476542397"
  1174. top.Parent = Character
  1175. top.Name = "Cloth"
  1176. local bottom = Instance.new("Pants")
  1177. bottom.PantsTemplate = "rbxassetid://476542637"
  1178. bottom.Parent = Character
  1179. bottom.Name = "Cloth"
  1180. for _, c in pairs(Character:GetChildren()) do
  1181. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  1182. c.Material = "Neon"
  1183. if c:FindFirstChildOfClass("ParticleEmitter") then
  1184. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1185. end
  1186. c.Color = C3(1,1,1)
  1187. if c == Head then
  1188. if c:FindFirstChild("face") then
  1189. c.face:remove()
  1190. end
  1191. end
  1192. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1193. c:remove()
  1194. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1195. c:remove()
  1196. end
  1197. end
  1198. local BODY = {}
  1199. for _, c in pairs(Character:GetDescendants()) do
  1200. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1201. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1202. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1203. end
  1204. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1205. elseif c:IsA("JointInstance") then
  1206. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1207. end
  1208. end
  1209. for e = 1, #BODY do
  1210. if BODY[e] ~= nil then
  1211. local STUFF = BODY[e]
  1212. local PART = STUFF[1]
  1213. local PARENT = STUFF[2]
  1214. local MATERIAL = STUFF[3]
  1215. local COLOR = STUFF[4]
  1216. local TRANSPARENCY = STUFF[5]
  1217. if PART.ClassName == "Part" and PART ~= RootPart then
  1218. PART.Material = MATERIAL
  1219. PART.Color = COLOR
  1220. PART.Transparency = TRANSPARENCY
  1221. end
  1222. PART.AncestryChanged:Connect(function()
  1223. PART.Parent = PARENT
  1224. end)
  1225. end
  1226. end
  1227. function refit()
  1228. Character.Parent = workspace
  1229. for e = 1, #BODY do
  1230. if BODY[e] ~= nil then
  1231. local STUFF = BODY[e]
  1232. local PART = STUFF[1]
  1233. local PARENT = STUFF[2]
  1234. local MATERIAL = STUFF[3]
  1235. local COLOR = STUFF[4]
  1236. local TRANSPARENCY = STUFF[5]
  1237. if PART.ClassName == "Part" and PART ~= RootPart then
  1238. PART.Material = MATERIAL
  1239. PART.Color = COLOR
  1240. PART.Transparency = TRANSPARENCY
  1241. end
  1242. if PART.Parent ~= PARENT then
  1243. Humanoid:remove()
  1244. PART.Parent = PARENT
  1245. Humanoid = IT("Humanoid",Character)
  1246. end
  1247. end
  1248. end
  1249. end
  1250. local SKILLTEXTCOLOR = BRICKC"Eggplant".Color
  1251. local SKILLFONT = "Bodoni"
  1252. local SKILLTEXTSIZE = 7
  1253.  
  1254. local SKILLTEXTCOLOR2 = BRICKC"Royal purple".Color
  1255. local SKILLFONT = "Bodoni"
  1256. local SKILLTEXTSIZE = 7
  1257.  
  1258. Humanoid.Died:connect(function()
  1259. refit()
  1260. end)
  1261.  
  1262. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1263. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1264. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1265. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1266. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1267. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.15, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1268. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.05, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1269. local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.10, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame")
  1270. local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.10, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
  1271. local SKILL10FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.10, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 10 Frame")
  1272. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Void Zap", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1273. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Void Thunder", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1274. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Void Ring", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1275. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warden Wall", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1276. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Void Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1277. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[F] Void Hop", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  1278. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[G] Trap into the Void", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  1279. local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[P] Rift World", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8")
  1280. local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[E] Void Star", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 9")
  1281. local SKILL10TEXT = CreateLabel(SKILL10FRAME, "[Q] Void Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 10")
  1282.  
  1283. --//=================================\\
  1284. --|| DAMAGING
  1285. --\\=================================//
  1286.  
  1287. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1288. local CHILDREN = workspace:GetDescendants()
  1289. for index, CHILD in pairs(CHILDREN) do
  1290. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1291. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1292. if HUM then
  1293. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1294. if TORSO then
  1295. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1296. CHILD:BreakJoints()
  1297. if FLING ~= 0 then
  1298. for _, c in pairs(CHILD:GetChildren()) do
  1299. if c:IsA("BasePart") and c.Transparency == 0 then
  1300. if BURN == true then
  1301. Fire(c)
  1302. end
  1303. local bv = Instance.new("BodyVelocity")
  1304. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1305. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1306. bv.Parent = c
  1307. Debris:AddItem(bv,0.05)
  1308. end
  1309. end
  1310. end
  1311. end
  1312. end
  1313. end
  1314. end
  1315. end
  1316. end
  1317.  
  1318. --//=================================\\
  1319. --|| text above head lel
  1320. --\\=================================//
  1321.  
  1322. function chatfunc(text)
  1323. local chat = coroutine.wrap(function()
  1324. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1325. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1326. end
  1327. local Bill = Instance.new("BillboardGui",Character)
  1328. Bill.Size = UDim2.new(0,100,0,40)
  1329. Bill.StudsOffset = Vector3.new(0,5.5,0)
  1330. Bill.Adornee = Character.Head
  1331. Bill.Name = "TalkingBillBoard"
  1332. local Hehe = Instance.new("TextLabel",Bill)
  1333. Hehe.BackgroundTransparency = 1
  1334. Hehe.BorderSizePixel = 0
  1335. Hehe.Text = ""
  1336. Hehe.Font = "Antique"
  1337. Hehe.TextSize = 50
  1338. Hehe.TextStrokeTransparency = 0
  1339. Hehe.Size = UDim2.new(1,0,0.5,0)
  1340. coroutine.resume(coroutine.create(function()
  1341. while Hehe ~= nil do
  1342. Swait()
  1343. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1344. Hehe.Rotation = math.random(-5,5)
  1345. Hehe.TextColor3 = Color3.new(0,0,0)
  1346. Hehe.TextStrokeColor3 = BRICKC"Eggplant".Color
  1347. end
  1348. end))
  1349. for i = 1,string.len(text),1 do
  1350. Swait()
  1351. Hehe.Text = string.sub(text,1,i)
  1352. end
  1353. Swait(90)--Re[math.random(1, 93)]
  1354. for i = 0, 1, .025 do
  1355. Swait()
  1356. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1357. Hehe.TextStrokeTransparency = i
  1358. Hehe.TextTransparency = i
  1359. end
  1360. Bill:Destroy()
  1361. end)
  1362. chat()
  1363. end
  1364.  
  1365. function onChatted(msg)
  1366. chatfunc(msg)
  1367. end
  1368.  
  1369. Player.Chatted:connect(onChatted)
  1370.  
  1371.  
  1372. --//=================================\\
  1373. --|| ATTACK FUNCTIONS AND STUFF
  1374. --\\=================================//
  1375.  
  1376. --------------VOID BOX-------------------
  1377.  
  1378. function VoidBox()
  1379. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1380. if HITFLOOR ~= nil then
  1381. ATTACK = false
  1382. Rooted = false
  1383. local RINGSPIN = true
  1384. local CONSTRUCTING = true
  1385. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Eggplant", "Ring", VT(0,0,0))
  1386. RING.Color = C3(0,0,0)
  1387. MakeForm(RING,"Cyl")
  1388. RING.CFrame = CF(HITPOS)
  1389. CreateSound(402981977, RING, 5, 1.2, false)
  1390. coroutine.resume(coroutine.create(function()
  1391. repeat
  1392. Swait()
  1393. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1394. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1395. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1396. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1397. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1398. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1399. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1400. until CONSTRUCTING == false
  1401. repeat
  1402. Swait()
  1403. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1404. until RINGSPIN == false
  1405. for i = 1, 25 do
  1406. Swait()
  1407. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1408. RING.Size = RING.Size - VT(0.15,0,0.15)
  1409. --DECAL.Transparency = DECAL.Transparency + 1/25
  1410. RING.Transparency = RING.Transparency + 1/25
  1411. end
  1412. RING:remove()
  1413. end))
  1414. for i = 1, 15 do
  1415. Swait()
  1416. RING.Size = RING.Size + VT(0.75,0,0.75)
  1417. RING.Transparency = RING.Transparency - 1/15
  1418. end
  1419. local BOXSPIN = true
  1420. local PANDORASBOX = IT("Model",Effects2)
  1421. PANDORASBOX.Name = "Pandora's Box"
  1422. local BOX = IT("Model",PANDORASBOX)
  1423. BOX.Name = "Body"
  1424. local LID = IT("Model",PANDORASBOX)
  1425. LID.Name = "Lid"
  1426. --BUILDING THE BOX--
  1427. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Eggplant", "Black", VT(2,1.8,2))
  1428. BASE.Color = C3(0,0,0)
  1429. PANDORASBOX.PrimaryPart = BASE
  1430. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1431. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,1.9,0.2))
  1432. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1433. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,1.9,0.2))
  1434. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1435. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,1.9,0.2))
  1436. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1437. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,1.9,0.2))
  1438. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1439. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(2.1,0.2,0.2))
  1440. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1441. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(2.1,0.2,0.2))
  1442. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1443. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,0.2,2.1))
  1444. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1445. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,0.2,2.1))
  1446. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1447. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(2.1,0.2,0.2))
  1448. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1449. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(2.1,0.2,0.2))
  1450. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1451. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,0.2,2.1))
  1452. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1453. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,0.2,2.1))
  1454. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1455. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Eggplant", "Marble", VT(2.1,1.9,0.1))
  1456. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1457. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Eggplant", "Marble", VT(2.1,1.9,0.1))
  1458. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1459. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Eggplant", "Marble", VT(0.1,1.9,2.1))
  1460. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1461. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Eggplant", "Marble", VT(0.1,1.9,2.1))
  1462. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1463. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Eggplant", "Marble", VT(2.1,0.1,2.1))
  1464. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1465. -------------
  1466. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Eggplant", "Marble", VT(2.1,0.1,2.1))
  1467. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1468. LID.PrimaryPart = LIDPART
  1469. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Magenta", "Marble", VT(2.1,0.2,0.2))
  1470. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1471. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Magenta", "Marble", VT(2.1,0.2,0.2))
  1472. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1473. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,0.2,2.1))
  1474. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1475. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,0.2,2.1))
  1476. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1477. local DECAL = IT("Decal",LIDPART)
  1478. DECAL.Face = "Top"
  1479. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1480. DECAL.Color3 = C3(0,0,0)
  1481. --BUILDING THE BOX--
  1482. coroutine.resume(coroutine.create(function()
  1483. repeat
  1484. Swait()
  1485. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1486. until BOXSPIN == false
  1487. end))
  1488. for i = 1, 25 do
  1489. Swait()
  1490. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1491. end
  1492. wait(0.5)
  1493. BOXSPIN = false
  1494. CONSTRUCTING = false
  1495. coroutine.resume(coroutine.create(function()
  1496. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
  1497. --[[for i = 1, 45 do
  1498. Swait()
  1499. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1500. end-
  1501. LID:remove()]]--
  1502. for _, c in pairs(LID:GetChildren()) do
  1503. if c.ClassName == "Part" then
  1504. c.Anchored = false
  1505. c.CanCollide = true
  1506. if c ~= LIDPART then
  1507. weldBetween(LIDPART,c)
  1508. end
  1509. end
  1510. end
  1511. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1512. Debris:AddItem(LID,15)
  1513. wait(0.5)
  1514. local RANDOMEFFECT = MRANDOM(1,4)
  1515. if RANDOMEFFECT == 1 then
  1516. for i = 1, 45 do
  1517. wait((2-(i/15))/15)
  1518. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
  1519. end
  1520. wait(1)
  1521. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  1522. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
  1523. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1524. for i = 1, 5 do
  1525. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1526. end
  1527. ApplyAoE(BASE.Position,50,1,200,375,false)
  1528. ApplyAoE(BASE.Position,250,35,75,175,false)
  1529. elseif RANDOMEFFECT == 2 then
  1530. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Magenta", "Field", VT(0.3,0.3,0.3))
  1531. FIELD.CFrame = BASE.CFrame
  1532. MakeForm(FIELD,"Ball")
  1533. for i = 1, 50 do
  1534. Swait()
  1535. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1536. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1537. end
  1538. wait(0.2)
  1539. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  1540. coroutine.resume(coroutine.create(function()
  1541. for i = 1, 75 do
  1542. Swait()
  1543. LOOP.Volume = LOOP.Volume + 10/75
  1544. LOOP.Parent = FIELD
  1545. local CHILDREN = workspace:GetDescendants()
  1546. for index, CHILD in pairs(CHILDREN) do
  1547. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1548. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1549. if HUM then
  1550. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1551. if TORSO then
  1552. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1553. HUM.Health = HUM.Health - 0.1
  1554. TORSO.Velocity = VT(0,5,0)
  1555. HUM.PlatformStand = true
  1556. if TORSO.RotVelocity.Magnitude < 15 then
  1557. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1558. end
  1559. end
  1560. end
  1561. end
  1562. end
  1563. end
  1564. FIELD.Size = FIELD.Size + VT(3,3,3)
  1565. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1566. end
  1567. for i = 1, 500 do
  1568. Swait()
  1569. LOOP.Parent = FIELD
  1570. local CHILDREN = workspace:GetDescendants()
  1571. for index, CHILD in pairs(CHILDREN) do
  1572. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1573. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1574. if HUM then
  1575. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1576. if TORSO then
  1577. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1578. TORSO.Velocity = VT(0,5,0)
  1579. HUM.Health = HUM.Health - 0.1
  1580. HUM.PlatformStand = true
  1581. if TORSO.RotVelocity.Magnitude < 15 then
  1582. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1583. end
  1584. end
  1585. end
  1586. end
  1587. end
  1588. end
  1589. end
  1590. for i = 1, 25 do
  1591. Swait()
  1592. LOOP.Volume = LOOP.Volume + 10/25
  1593. LOOP.Parent = FIELD
  1594. local CHILDREN = workspace:GetDescendants()
  1595. for index, CHILD in pairs(CHILDREN) do
  1596. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1597. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1598. if HUM then
  1599. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1600. if TORSO then
  1601. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  1602. TORSO.Velocity = VT(0,5,0)
  1603. HUM.Health = HUM.Health - 0.1
  1604. HUM.PlatformStand = false
  1605. if TORSO.RotVelocity.Magnitude < 15 then
  1606. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1607. end
  1608. end
  1609. end
  1610. end
  1611. end
  1612. end
  1613. FIELD.Size = FIELD.Size - VT(3,3,3)
  1614. FIELD.Transparency = FIELD.Transparency + 0.2/25
  1615. end
  1616. FIELD:remove()
  1617. end))
  1618. elseif RANDOMEFFECT == 3 then
  1619. for i = 1, 10 do
  1620. wait(0.15)
  1621. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
  1622. coroutine.resume(coroutine.create(function()
  1623. local MINION = CLONE:Clone()
  1624. MINION.Parent = Effects
  1625. MINION.Name = "Shadow"
  1626. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1627. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  1628. for _, c in pairs(MINION:GetChildren()) do
  1629. if c.ClassName == "Part" then
  1630. c.Material = "Neon"
  1631. c.Color = C3(0,0,0)
  1632. c.Transparency = 0.25
  1633. if c.Name == "Head" then
  1634. c:ClearAllChildren()
  1635. local MSH = IT("BlockMesh",c)
  1636. MSH.Scale = VT(0.5,1,1)
  1637. end
  1638. end
  1639. end
  1640. local TORSO = MINION.Torso
  1641. local HUMAN = MINION.Humanoid
  1642. HUMAN.WalkSpeed = 100
  1643. HUMAN.MaxHealth = math.huge
  1644. HUMAN.Health = math.huge
  1645. HUMAN.DisplayDistanceType = "None"
  1646. HUMAN.Died:connect(function()
  1647. MINION:remove()
  1648. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  1649. end)
  1650. wait(1)
  1651. local findNearestTorso = function(POS)
  1652. local list = game.Workspace:GetDescendants()
  1653. local torso = nil
  1654. local dist = 9999
  1655. local temp = nil
  1656. local human = nil
  1657. local temp2 = nil
  1658. for x = 1, #list do
  1659. temp2 = list[x]
  1660. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  1661. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  1662. human = temp2:findFirstChildOfClass("Humanoid")
  1663. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1664. if (temp.Position - POS).magnitude < dist then
  1665. torso = temp
  1666. dist = (temp.Position - POS).magnitude
  1667. end
  1668. end
  1669. end
  1670. end
  1671. return torso, dist
  1672. end
  1673. for i = 1, 40 do
  1674. if HUMAN.Health == 0 then
  1675. break
  1676. end
  1677. wait(0.3)
  1678. local target,dist= findNearestTorso(TORSO.Position)
  1679. if target then
  1680. HUMAN:MoveTo(target.Position)
  1681. if dist < 999 then
  1682. CreateSound(348663022, TORSO, 10, 1, true)
  1683. wait(0.5)
  1684. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  1685. --ANIM:Play()
  1686. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  1687. ApplyAoE(TORSO.Position,10,0,0,85,false)
  1688. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
  1689. for i = 1, 5 do
  1690. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1691. end
  1692. break
  1693. end
  1694. end
  1695. end
  1696. MINION:remove()
  1697. end))
  1698. end
  1699. elseif RANDOMEFFECT == 4 then
  1700. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1701. FIELD.Color = C3(0,0,0)
  1702. FIELD.CFrame = BASE.CFrame
  1703. MakeForm(FIELD,"Ball")
  1704. FIELD.CanCollide = true
  1705. for i = 1, 50 do
  1706. Swait()
  1707. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1708. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1709. end
  1710. wait(0.2)
  1711. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  1712. coroutine.resume(coroutine.create(function()
  1713. local E = 0
  1714. for i = 1, 75 do
  1715. E = E + 1
  1716. Swait()
  1717. if E >= 35 then
  1718. E = 0
  1719. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  1720. end
  1721. LOOP.Volume = LOOP.Volume + 10/75
  1722. LOOP.Parent = FIELD
  1723. local CHILDREN = workspace:GetDescendants()
  1724. for index, CHILD in pairs(CHILDREN) do
  1725. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1726. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1727. if HUM then
  1728. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1729. if TORSO then
  1730. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1731. for _, c in pairs(CHILD:GetChildren()) do
  1732. if c:IsA("BasePart") then
  1733. local bv = Instance.new("BodyVelocity")
  1734. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1735. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1736. bv.Parent = c
  1737. Debris:AddItem(bv,0.05)
  1738. end
  1739. end
  1740. HUM.Health = HUM.Health - 0.3
  1741. end
  1742. end
  1743. end
  1744. end
  1745. end
  1746. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  1747. end
  1748. for i = 1, 180 do
  1749. E = E + 1
  1750. Swait()
  1751. if E >= 35 then
  1752. E = 0
  1753. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  1754. end
  1755. LOOP.Parent = FIELD
  1756. local CHILDREN = workspace:GetDescendants()
  1757. for index, CHILD in pairs(CHILDREN) do
  1758. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1759. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1760. if HUM then
  1761. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1762. if TORSO then
  1763. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1764. for _, c in pairs(CHILD:GetChildren()) do
  1765. if c:IsA("BasePart") then
  1766. local bv = Instance.new("BodyVelocity")
  1767. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1768. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1769. bv.Parent = c
  1770. Debris:AddItem(bv,0.05)
  1771. end
  1772. end
  1773. HUM.Health = HUM.Health - 0.3
  1774. end
  1775. end
  1776. end
  1777. end
  1778. end
  1779. end
  1780. ApplyAoE(FIELD.Position,40,15,20,375,false)
  1781. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
  1782. for i = 1, 5 do
  1783. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1784. end
  1785. FIELD:remove()
  1786. end))
  1787. elseif RANDOMEFFECT == 5 then
  1788. end
  1789. wait(0.5)
  1790. for i = 1, 25 do
  1791. Swait()
  1792. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  1793. end
  1794. PANDORASBOX:remove()
  1795. RINGSPIN = false
  1796. end))
  1797. ATTACK = false
  1798. Rooted = false
  1799. end
  1800. end
  1801. --------------VOID STAR-------------------
  1802.  
  1803. --Explosion--
  1804. function Expld(rad,pos)
  1805. local ex = Instance.new("Explosion",game.Workspace)
  1806. ex.BlastRadius = rad
  1807. ex.BlastPressure = 0
  1808. ex.Position = pos
  1809. ex.Visible = false
  1810. ex.Hit:connect(function(hit)
  1811. if hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid")~= nil then
  1812. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - rad
  1813. end
  1814. end)
  1815. end
  1816.  
  1817. local asd = Instance.new("ParticleEmitter")
  1818. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1819. asd.LightEmission = .1
  1820. asd.Texture = "http://www.roblox.com/asset/?ID=249481494"
  1821. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1822. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1823. asd.Transparency = bbb
  1824. asd.Size = aaa
  1825. asd.ZOffset = .9
  1826. asd.Acceleration = Vector3.new(0, -15, 0)
  1827. asd.LockedToPart = false
  1828. asd.EmissionDirection = "Back"
  1829. asd.Lifetime = NumberRange.new(1, 2)
  1830. asd.Rotation = NumberRange.new(-100, 100)
  1831. asd.RotSpeed = NumberRange.new(-100, 100)
  1832. asd.Speed = NumberRange.new(10)
  1833. asd.Enabled = false
  1834. asd.VelocitySpread = 999
  1835.  
  1836. function getbloody(victim,amount)
  1837. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1838. PART.CFrame = victim.CFrame
  1839. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1840. Debris:AddItem(PART,5)
  1841. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1842. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1843. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1844. local prtcl = asd:Clone()
  1845. prtcl.Parent = PART
  1846. prtcl:Emit(amount*10)
  1847. end
  1848.  
  1849. function Kill(Char)
  1850. local NewCharacter = IT("Model",Effects)
  1851. NewCharacter.Name = "Ow im ded lul ;-;"
  1852. for _, c in pairs(Char:GetDescendants()) do
  1853. if c:IsA("BasePart") and c.Transparency == 0 then
  1854. if c.Parent == Char then
  1855. getbloody(c,5)
  1856. end
  1857. c:BreakJoints()
  1858. c.Material = "Glass"
  1859. c.Color = C3(0.5,0,0)
  1860. c.CanCollide = true
  1861. c.Transparency = 0.3
  1862. if c:FindFirstChildOfClass("SpecialMesh") then
  1863. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1864. end
  1865. if c.Name == "Head" then
  1866. c:ClearAllChildren()
  1867. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1868. end
  1869. if c.ClassName == "MeshPart" then
  1870. c.TextureID = ""
  1871. end
  1872. if c:FindFirstChildOfClass("BodyPosition") then
  1873. c:FindFirstChildOfClass("BodyPosition"):remove()
  1874. end
  1875. if c:FindFirstChildOfClass("ParticleEmitter") then
  1876. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1877. end
  1878. c.Parent = NewCharacter
  1879. c.Name = "DeadPart"
  1880. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1881. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1882. end
  1883. end
  1884. Char:remove()
  1885. Debris:AddItem(NewCharacter,5)
  1886. end
  1887.  
  1888.  
  1889. function ApplyAoE3(POSITION,RANGE,BRUTAL)
  1890. local CHILDREN = workspace:GetDescendants()
  1891. for index, CHILD in pairs(CHILDREN) do
  1892. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1893. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1894. if HUM then
  1895. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1896. if TORSO then
  1897. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1898. if BRUTAL == true then
  1899. Kill(CHILD)
  1900. else
  1901. CHILD:BreakJoints()
  1902. end
  1903. end
  1904. end
  1905. end
  1906. end
  1907. end
  1908. end
  1909.  
  1910. function VoidStar()
  1911. ATTACK = true
  1912. Rooted = true
  1913. for i=0, 1, 0.1 / Animation_Speed do
  1914. Swait()
  1915. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1916. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1917. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1918. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1919. 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)
  1920. 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)
  1921. end
  1922. coroutine.resume(coroutine.create(function()
  1923. local POS = Mouse.Hit.p
  1924. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Eggplant", "Strike", VT(0,2000,0))
  1925. MakeForm(RAY,"Cyl")
  1926. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Eggplant", "Strike", VT(0,0,0))
  1927. MakeForm(SPHERE,"Ball")
  1928. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  1929. MakeForm(SHIELD,"Ball")
  1930. SHIELD.CFrame = CF(POS)
  1931. RAY.CFrame = CF(POS)
  1932. SPHERE.CFrame = CF(POS)
  1933. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1934. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1935. for i = 1, 200 do
  1936. Swait()
  1937. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(123,0,123), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1938. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1939. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1940. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1941. ApplyAoE3(SPHERE.Position,SPHERE.Size.X/2,true)
  1942. end
  1943. for i = 1, 45 do
  1944. Swait()
  1945. RAY.Transparency = RAY.Transparency + 1/45
  1946. SPHERE.Transparency = RAY.Transparency
  1947. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1948. end
  1949. RAY:remove()
  1950. SHIELD:remove()
  1951. SPHERE:remove()
  1952. end))
  1953. for i=0, 1, 0.1 / Animation_Speed do
  1954. Swait()
  1955. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1956. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1957. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1958. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1959. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1960. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1961. end
  1962. ATTACK = false
  1963. Rooted = false
  1964. end
  1965.  
  1966. --------------RIFT WORLD-------------------
  1967.  
  1968. function RiftForm()
  1969. ATTACK = true
  1970. Rooted = false
  1971. UNANCHOR = false
  1972. RootPart.Anchored = true
  1973. for i=0, 5, 0.1 / Animation_Speed do
  1974. Swait()
  1975. RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0)
  1976. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1977. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1978. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1979. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1980. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  1981. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  1982. end
  1983. CreateSound("1368598393", Effects, 10, 1)
  1984. for i=0, 2, 0.1 / Animation_Speed do
  1985. Swait()
  1986. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1987. MagicSphere3(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5))
  1988. MagicSphere3(VT(0.1,0.1,0.1),15,CFRAME,"Really black",VT(0.1,0.1,5))
  1989. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1990. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1991. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1992. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1993. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1994. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1995. end
  1996. CreateSound("1368583274", Effects, 10, 1)
  1997. for i=0, 6, 0.1 / Animation_Speed do
  1998. Swait()
  1999. CreateRing2(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-1,0,0))
  2000. CreateRing2(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-1,0,0)*3)
  2001. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2002. MagicSphere3(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,55))
  2003. MagicSphere3(VT(0,0,0),15,CFRAME,"Really black",VT(2,2,2))
  2004. MagicSphere3(VT(0.1,0.1,0.1),15,CFRAME,"Really black",VT(0.1,0.1,55))
  2005. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2006. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2007. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2008. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2009. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2010. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  2011. end
  2012. CreateSound("907329532", Effects, 10, 0.9)
  2013. Swait(175)
  2014. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(7,7,0))
  2015. CreateSound("1368605755", Effects, 10, 1)
  2016. CreateSound("1368637781", Effects, 10, 1)
  2017. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Really black",VT(5,5,5))
  2018. TRUEFORM = true
  2019. for i=0, 1, 0.1 / Animation_Speed do
  2020. CreateRing2(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(4,4,0))
  2021. CreateRing2(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(5,5,0))
  2022. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2023. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  2024. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2025. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2026. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  2027. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  2028. end
  2029. UNANCHOR = true
  2030. RootPart.Anchored = false
  2031. ATTACK = false
  2032. Rooted = false
  2033. end
  2034.  
  2035. -- LIMIT BROKEN
  2036.  
  2037. local DECAL = IT("Decal")
  2038. function MakeRing()
  2039. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  2040. local MSH = IT("BlockMesh", RING)
  2041. local TOP = DECAL:Clone()
  2042. local BOTTOM = DECAL:Clone()
  2043. TOP.Parent = RING
  2044. BOTTOM.Parent = RING
  2045. TOP.Face = "Top"
  2046. BOTTOM.Face = "Bottom"
  2047. TOP.Texture = "http://www.roblox.com/asset/?id=1259031636"
  2048. BOTTOM.Texture = "http://www.roblox.com/asset/?id=1259031636"
  2049. local function REMOVE()
  2050. coroutine.resume(coroutine.create(function()
  2051. local SIZE = MSH.Scale.X
  2052. for i = 1, 35 do
  2053. Swait()
  2054. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  2055. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  2056. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  2057. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  2058. end
  2059. RING:remove()
  2060. end))
  2061. end
  2062. return RING, MSH, REMOVE
  2063. end
  2064.  
  2065. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  2066. local TORSO = Torso
  2067. local HUM = Humanoid
  2068. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2069. coroutine.wrap(function()
  2070. VT = Vector3.new
  2071. MRANDOM = math.random
  2072. local A = TIME
  2073. local B = INTENSITY
  2074. local C = true
  2075. local HUMANOID = Humanoid
  2076. local TIMER = A or 35
  2077. local SHAKE = B or 5
  2078. local FADE = C or true
  2079. if HUMANOID then
  2080. local FADER = SHAKE / TIMER
  2081. for i = 1, TIMER do
  2082. wait()
  2083. 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)
  2084. end
  2085. HUMANOID.CameraOffset = VT(0, 0, 0)
  2086. end
  2087.  
  2088. end)()
  2089. end
  2090. end
  2091.  
  2092. function NS(...)
  2093. local tab = {...}
  2094. local fat = {}
  2095. for i = 1, #tab do
  2096. local v = tab[i]
  2097. table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2]))
  2098. end
  2099. return NumberSequence.new(fat);
  2100. end
  2101.  
  2102. local hed = Character:WaitForChild("Head")
  2103.  
  2104. cors = {}
  2105. mas = Instance.new("Model",game:GetService("Lighting"))
  2106. ParticleEmitter1 = Instance.new("ParticleEmitter")
  2107. ParticleEmitter1.Name = "Death"
  2108. ParticleEmitter1.Texture = "rbxassetid://249481494"
  2109. ParticleEmitter1.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
  2110. ParticleEmitter1.EmissionDirection = "Top"
  2111. ParticleEmitter1.Parent = mas
  2112. ParticleEmitter1.Enabled = false
  2113. ParticleEmitter1.Speed = NumberRange.new(8)
  2114. ParticleEmitter1.Size = NumberSequence.new(8,0)
  2115. ParticleEmitter1.Transparency = NumberSequence.new(0,1)
  2116. ParticleEmitter1.Drag = 1.2
  2117. ParticleEmitter1.LockedToPart = true
  2118. ParticleEmitter1.Lifetime = NumberRange.new(0, 1)
  2119. ParticleEmitter1.Rate = 195
  2120. ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
  2121. ParticleEmitter1.LightEmission = 0
  2122. ParticleEmitter1.Rotation = NumberRange.new(-360,360)
  2123. ParticleEmitter1.VelocitySpread = 100.2
  2124. ParticleEmitter1.ZOffset = 2.5
  2125.  
  2126.  
  2127. for i,v in pairs(mas:GetChildren()) do
  2128. v.Parent = script
  2129. pcall(function() v:MakeJoints() end)
  2130. end
  2131. mas:Destroy()
  2132. for i,v in pairs(cors) do
  2133. spawn(function()
  2134. pcall(v)
  2135. end)
  2136. end
  2137.  
  2138. local DParticles = script.Death
  2139. DParticles:remove()
  2140. DParticles.Name = "ArchangelDeathParticles"
  2141. local BODY = {}
  2142. for _, c in pairs(Character:GetDescendants()) do
  2143. if c:IsA("BasePart") and c.Name ~= "Handle" then
  2144. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2145. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2146. end
  2147. table.insert(BODY, {
  2148. c,
  2149. c.Parent,
  2150. c.Material,
  2151. c.Color,
  2152. c.Transparency
  2153. })
  2154. elseif c:IsA("JointInstance") then
  2155. table.insert(BODY, {
  2156. c,
  2157. c.Parent,
  2158. nil,
  2159. nil,
  2160. nil
  2161. })
  2162. end
  2163. end
  2164.  
  2165. function ApplyAoE2(POSITION, RANGE)
  2166. local PARTS = {}
  2167. for index, CHILD in pairs(workspace:GetDescendants()) do
  2168. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2169. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2170. if HUM then
  2171. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2172. if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2173. CHILD:BreakJoints()
  2174. for index, PART in pairs(CHILD:GetChildren()) do
  2175. if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
  2176. local P = DParticles:Clone()
  2177. P.Parent = PART
  2178. P.Enabled = true
  2179. P.Color = ColorSequence.new(PART.Color, C3(1, 1, 1))
  2180. PART.Anchored = true
  2181. table.insert(PARTS, {PART, P})
  2182. end
  2183. end
  2184. end
  2185. end
  2186. 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
  2187. local FOLDER = IT("Folder", CHILD)
  2188. FOLDER.Name = "ewdfrfgrwefd"
  2189. local P = DParticles:Clone()
  2190. P.Parent = CHILD
  2191. P.Enabled = true
  2192. CHILD:BreakJoints()
  2193. CHILD.CanCollide = false
  2194. CHILD.Anchored = true
  2195. P.Rate = math.ceil(CHILD.Size.Magnitude / 2)
  2196. P.Color = ColorSequence.new(CHILD.Color, C3(1, 1, 1))
  2197. table.insert(PARTS, {CHILD, P})
  2198. end
  2199. end
  2200. coroutine.resume(coroutine.create(function()
  2201. if #PARTS > 0 then
  2202. for i = 1, 85 do
  2203. Swait()
  2204. for E = 1, #PARTS do
  2205. local F = PARTS[E]
  2206. local A = F[1]
  2207. local B = F[2]
  2208. A.Transparency = A.Transparency + 0.011764705882352941
  2209. B.Rate = math.ceil(B.Rate * 1.2)
  2210. for index, E in pairs(A:GetChildren()) do
  2211. if E:IsA("Decal") or E:IsA("Texture") then
  2212. E.Transparency = E.Transparency + 0.011764705882352941
  2213. elseif E:IsA("JointInstance") then
  2214. E:remove()
  2215. 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
  2216. E.Enabled = false
  2217. end
  2218. end
  2219. end
  2220. end
  2221. for E = 1, #PARTS do
  2222. local F = PARTS[E]
  2223. local A = F[1]
  2224. local B = F[2]
  2225. B.Enabled = false
  2226. Debris:AddItem(A, 3)
  2227. end
  2228. end
  2229. end))
  2230. end
  2231.  
  2232. function VoidThunder2()
  2233. ATTACK = true
  2234. Rooted = true
  2235. local GYRO = IT("BodyGyro", RootPart)
  2236. GYRO.D = 20
  2237. GYRO.P = 4000
  2238. GYRO.MaxTorque = VT(0, 40000, 0)
  2239. local RING, MESH, DELET = MakeRing()
  2240. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  2241. RING.CFrame = CF(HITPOS)
  2242. for i = 0, 0.6, 0.1 / Animation_Speed do
  2243. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2244. Swait()
  2245. MESH.Scale = MESH.Scale + VT(53, 0, 53)
  2246. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2247. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2248. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  2249. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2250. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2251. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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)
  2252. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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)
  2253. end
  2254. coroutine.resume(coroutine.create(function()
  2255. local CFRAME = RootPart.CFrame
  2256. for i = 1, 100 do
  2257. CFRAME = CFRAME * CF(0, 0, -35)
  2258. do
  2259. local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  2260. if HITFLOOR then
  2261. Swait()
  2262. do
  2263. local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
  2264. coroutine.resume(coroutine.create(function()
  2265. local RING, MESH, DELET = MakeRing()
  2266. RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
  2267. for i = 1, 25 do
  2268. Swait()
  2269. MESH.Scale = MESH.Scale + VT(42, 0, 42)
  2270. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2271. end
  2272. ApplyAoE2(RING.Position, 65)
  2273. SHAKECAM(RING.Position, 80, 12, 15)
  2274. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2275. WACKYEFFECT({
  2276. Time = 25,
  2277. EffectType = "Sphere",
  2278. Size = VT(22, 22, 22),
  2279. Size2 = VT(85, 85, 85),
  2280. Transparency = 0,
  2281. Transparency2 = 1,
  2282. CFrame = CF(RING.Position),
  2283. MoveToPos = nil,
  2284. RotationX = 0,
  2285. RotationY = 0,
  2286. RotationZ = 0,
  2287. Material = "Neon",
  2288. Color = C3(0,0,0),
  2289. })
  2290. for e = 1, 3 do
  2291. WACKYEFFECT({
  2292. EffectType = "Wave",
  2293. Size = VT(25, 0, 25),
  2294. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  2295. Transparency = 0,
  2296. Transparency2 = 1,
  2297. CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2298. MoveToPos = nil,
  2299. RotationX = 0,
  2300. RotationY = 3,
  2301. RotationZ = 0,
  2302. Material = "Neon",
  2303. Color = C3(0,0,0),
  2304. SoundID = nil,
  2305. SoundPitch = nil,
  2306. SoundVolume = nil
  2307. })
  2308. WACKYEFFECT({
  2309. Time = 35,
  2310. EffectType = "Sphere",
  2311. Size = VT(22, 45, 22),
  2312. Size2 = VT(25, 45 + e * 75, 25),
  2313. Transparency = 0,
  2314. Transparency2 = 1,
  2315. CFrame = CF(RING.Position) * TURN,
  2316. MoveToPos = nil,
  2317. RotationX = 0,
  2318. RotationY = 0,
  2319. RotationZ = 0,
  2320. Material = "Neon",
  2321. Color = C3(0,0,0),
  2322. SoundID = nil,
  2323. SoundPitch = MRANDOM(9, 12) / 10,
  2324. SoundVolume = 10
  2325. })
  2326. end
  2327. wait(0.3)
  2328. DELET()
  2329. end))
  2330. end
  2331. end
  2332. end
  2333. end
  2334. end))
  2335. Rooted = false
  2336. for i = 0, 0.2, 0.1 / Animation_Speed do
  2337. Swait()
  2338. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(75)), 1 / Animation_Speed)
  2339. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), 1 / Animation_Speed)
  2340. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(145 - 7.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2341. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2342. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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)
  2343. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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)
  2344. end
  2345. DELET()
  2346. GYRO:remove()
  2347. ATTACK = false
  2348. Rooted = false
  2349. end
  2350.  
  2351. function Nuke()
  2352. ATTACK = true
  2353. Rooted = true
  2354. local CHARGE = false
  2355. local BLASTS = {468991944, 468991990}
  2356. coroutine.resume(coroutine.create(function()
  2357. repeat
  2358. Swait()
  2359. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2360. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2361. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  2362. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  2363. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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)), 0.1 / Animation_Speed)
  2364. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2365. until CHARGE == true
  2366. for i = 0, 0.4, 0.1 / Animation_Speed do
  2367. Swait()
  2368. WACKYEFFECT({
  2369. Time = 15,
  2370. EffectType = "Sphere",
  2371. Size = VT(120, 120, 120),
  2372. Size2 = VT(0, 0, 0),
  2373. Transparency = 1,
  2374. Transparency2 = 0.7,
  2375. CFrame = CF(RootPart.Position),
  2376. MoveToPos = nil,
  2377. RotationX = 0,
  2378. RotationY = 0,
  2379. RotationZ = 0,
  2380. Material = "Neon",
  2381. Color = C3(123, 0, 123),
  2382. SoundID = nil,
  2383. SoundPitch = nil,
  2384. SoundVolume = nil
  2385. })
  2386. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2387. 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)
  2388. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2389. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2390. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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)
  2391. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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)
  2392. end
  2393. coroutine.resume(coroutine.create(function()
  2394. local POS = RootPart.Position
  2395. wait(0.2)
  2396. for i = 1, 5 do
  2397. WACKYEFFECT({
  2398. Time = 65,
  2399. EffectType = "Sphere",
  2400. Size = VT(4, 4, 4),
  2401. Size2 = VT(0, 0, 1000),
  2402. Transparency = 1,
  2403. Transparency2 = 0,
  2404. CFrame = CF(POS),
  2405. MoveToPos = nil,
  2406. RotationX = MRANDOM(-2, 2),
  2407. RotationY = MRANDOM(-12, 12),
  2408. RotationZ = MRANDOM(-2, 2),
  2409. Material = "Neon",
  2410. Color = C3(123, 0, 123),
  2411. SoundID = nil,
  2412. SoundPitch = nil,
  2413. SoundVolume = nil
  2414. })
  2415. end
  2416. wait(1)
  2417. SHAKECAM(POS, 9999999999, 25, 25)
  2418. ApplyAoE2(POS, 450)
  2419. WACKYEFFECT({
  2420. Time = 85,
  2421. EffectType = "Sphere",
  2422. Size = VT(240, 240, 240),
  2423. Size2 = VT(700, 700, 700),
  2424. Transparency = 0,
  2425. Transparency2 = 1,
  2426. CFrame = CF(POS),
  2427. MoveToPos = nil,
  2428. RotationX = 0,
  2429. RotationY = 0,
  2430. RotationZ = 0,
  2431. Material = "Neon",
  2432. Color = C3(123, 0, 123),
  2433. SoundID = nil,
  2434. SoundPitch = 1,
  2435. SoundVolume = 10
  2436. })
  2437. for i = 1, 20 do
  2438. WACKYEFFECT({
  2439. Time = 85,
  2440. EffectType = "Sphere",
  2441. Size = VT(240, 240, 240),
  2442. Size2 = VT(240, 240, 288) + VT(i * 3, i * 3, i * 3),
  2443. Transparency = 0.8,
  2444. Transparency2 = 1,
  2445. CFrame = CF(POS),
  2446. MoveToPos = nil,
  2447. RotationX = 0,
  2448. RotationY = 0,
  2449. RotationZ = 0,
  2450. Material = "Neon",
  2451. Color = C3(123, 0, 123),
  2452. SoundID = nil,
  2453. SoundPitch = 1,
  2454. SoundVolume = 10
  2455. })
  2456. WACKYEFFECT({
  2457. Time = 100,
  2458. EffectType = "Wave",
  2459. Size = VT(50, 4, 50),
  2460. Size2 = VT(800, 0, 800) * 1.2,
  2461. Transparency = 0,
  2462. Transparency2 = 1,
  2463. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2464. MoveToPos = nil,
  2465. RotationX = 0,
  2466. RotationY = 0,
  2467. RotationZ = 0,
  2468. Material = "Neon",
  2469. Color = C3(123, 0, 123),
  2470. SoundID = nil,
  2471. SoundPitch = nil,
  2472. SoundVolume = nil
  2473. })
  2474. end
  2475. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2476. for i = 1, 5 do
  2477. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  2478. WACKYEFFECT({
  2479. Time = 120,
  2480. EffectType = "Wave",
  2481. Size = VT(300, 2, 300),
  2482. Size2 = VT(600 + i * 340, 0, 600 + i * 340) * 1.2,
  2483. Transparency = 0,
  2484. Transparency2 = 1,
  2485. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  2486. MoveToPos = nil,
  2487. RotationX = 0,
  2488. RotationY = 0,
  2489. RotationZ = 0,
  2490. Material = "Neon",
  2491. Color = C3(123, 0, 123),
  2492. SoundID = nil,
  2493. SoundPitch = nil,
  2494. SoundVolume = nil
  2495. })
  2496. end
  2497. end))
  2498. for i = 0, 1, 0.1 / Animation_Speed do
  2499. Swait()
  2500. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2501. 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)
  2502. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2503. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2504. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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)
  2505. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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)
  2506. end
  2507. ATTACK = false
  2508. Rooted = false
  2509. end))
  2510. for i = 1, 30 do
  2511. wait(0.01)
  2512. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  2513. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2514. if HITFLOOR then
  2515. ApplyAoE2(HITPOS, 65)
  2516. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2517. WACKYEFFECT({
  2518. Time = 25,
  2519. EffectType = "Sphere",
  2520. Size = VT(44, 44, 44),
  2521. Size2 = VT(170, 170, 170),
  2522. Transparency = 0,
  2523. Transparency2 = 1,
  2524. CFrame = CF(HITPOS),
  2525. MoveToPos = nil,
  2526. RotationX = 0,
  2527. RotationY = 0,
  2528. RotationZ = 0,
  2529. Material = "Neon",
  2530. Color = C3(123, 0, 123),
  2531. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  2532. SoundPitch = MRANDOM(9, 12) / 10,
  2533. SoundVolume = 10
  2534. })
  2535. for e = 1, 3 do
  2536. WACKYEFFECT({
  2537. EffectType = "Wave",
  2538. Size = VT(50, 0, 50),
  2539. Size2 = VT(80, 0, 80) + VT(e * 6, e / 5, e * 6),
  2540. Transparency = 0,
  2541. Transparency2 = 1,
  2542. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2543. MoveToPos = nil,
  2544. RotationX = 0,
  2545. RotationY = 3,
  2546. RotationZ = 0,
  2547. Material = "Neon",
  2548. Color = C3(123, 0, 123),
  2549. SoundID = nil,
  2550. SoundPitch = nil,
  2551. SoundVolume = nil
  2552. })
  2553. WACKYEFFECT({
  2554. Time = 35,
  2555. EffectType = "Sphere",
  2556. Size = VT(44, 90, 44),
  2557. Size2 = VT(50, 90 + e * 150, 50),
  2558. Transparency = 0,
  2559. Transparency2 = 1,
  2560. CFrame = CF(HITPOS) * TURN,
  2561. MoveToPos = nil,
  2562. RotationX = 0,
  2563. RotationY = 0,
  2564. RotationZ = 0,
  2565. Material = "Neon",
  2566. Color = C3(123, 0, 123),
  2567. SoundID = nil,
  2568. SoundPitch = MRANDOM(9, 12) / 10,
  2569. SoundVolume = 10
  2570. })
  2571. end
  2572. end
  2573. end
  2574. CHARGE = true
  2575. end
  2576.  
  2577. function Beam()
  2578. ATTACK = true
  2579. Rooted = true
  2580. local GYRO = IT("BodyGyro", RootPart)
  2581. GYRO.D = 20
  2582. GYRO.P = 4000
  2583. GYRO.MaxTorque = VT(0, 40000, 0)
  2584. local RING, MESH, DELET = MakeRing()
  2585. local POS = RootPart.Position + VT(0, 25, 0)
  2586. RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  2587. CreateSound(459523787, RING, 8, 1, false)
  2588. local BLASTS = {468991944, 468991990}
  2589. coroutine.resume(coroutine.create(function()
  2590. local E = 0
  2591. repeat
  2592. E = E + 5
  2593. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2594. Swait()
  2595. RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(E), RAD(0))
  2596. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  2597. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 1 / Animation_Speed)
  2598. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2599. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2600. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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)
  2601. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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)
  2602. until ATTACK == false
  2603. GYRO:remove()
  2604. DELET()
  2605. end))
  2606. for i = 1, 50 do
  2607. Swait()
  2608. MESH.Scale = MESH.Scale + VT(33, 0, 33)
  2609. end
  2610. for i = 1, 25 do
  2611. Swait()
  2612. WACKYEFFECT({
  2613. Time = 15,
  2614. EffectType = "Sphere",
  2615. Size = VT(16, 16, 16),
  2616. Size2 = VT(0, 0, 0),
  2617. Transparency = 1,
  2618. Transparency2 = 0,
  2619. CFrame = CF(RING.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  2620. MoveToPos = RING.Position,
  2621. RotationX = 0,
  2622. RotationY = 0,
  2623. RotationZ = 0,
  2624. Material = "Neon",
  2625. Color = C3(123, 0, 123),
  2626. SoundID = nil,
  2627. SoundPitch = nil,
  2628. SoundVolume = nil
  2629. })
  2630. end
  2631. local LOOP = 0
  2632. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Eggplant"), "Beam", VT(0, 0, 0), true)
  2633. MakeForm(BEAM, "Cyl")
  2634. CreateSound(BLASTS[MRANDOM(1, #BLASTS)], RING, 5, MRANDOM(9, 11) / 10, false)
  2635. repeat
  2636. local DISTANCE = (RING.Position - Mouse.Hit.p).Magnitude
  2637. if DISTANCE < 2000 then
  2638. BEAM.Size = VT(40 + 8 * COS(SINE / 4), DISTANCE, 40 + 8 * COS(SINE / 4))
  2639. BEAM.CFrame = CF(RING.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  2640. ApplyAoE2(Mouse.Hit.p, 35)
  2641. WACKYEFFECT({
  2642. Time = 35,
  2643. EffectType = "Sphere",
  2644. Size = VT(40 + 8 * COS(SINE / 4), 40 + 8 * COS(SINE / 4), 40 + 8 * COS(SINE / 4)) * 2,
  2645. Size2 = VT(20, 300, 20),
  2646. Transparency = 0,
  2647. Transparency2 = 1,
  2648. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2649. MoveToPos = nil,
  2650. RotationX = 0,
  2651. RotationY = 0,
  2652. RotationZ = 0,
  2653. Material = "Neon",
  2654. Color = C3(123, 0, 123),
  2655. SoundID = nil,
  2656. SoundPitch = MRANDOM(9, 12) / 10,
  2657. SoundVolume = 10
  2658. })
  2659. Swait()
  2660. LOOP = LOOP + 1
  2661. end
  2662. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  2663. coroutine.resume(coroutine.create(function()
  2664. for i = 1, 15 do
  2665. Swait()
  2666. BEAM.Size = BEAM.Size - VT(0.8, 0, 0.8)
  2667. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  2668. end
  2669. BEAM:remove()
  2670. end))
  2671. ATTACK = false
  2672. Rooted = false
  2673. end
  2674. --
  2675.  
  2676. function RiftWorld()
  2677. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2678. CHOICE = 6
  2679. back = CreateSound(395371531, Character, 9999, 0.7, true)
  2680. chatfunc("Welcome to my w o r l d...")
  2681. local sillsky = Instance.new('Sky', game:GetService'Lighting')
  2682. sillsky.SkyboxBk = "rbxassetid://149397692"
  2683. sillsky.SkyboxDn = "rbxassetid://149397686"
  2684. sillsky.SkyboxFt = "rbxassetid://149397697"
  2685. sillsky.SkyboxLf = "rbxassetid://149397684"
  2686. sillsky.SkyboxRt = "rbxassetid://149397688"
  2687. sillsky.SkyboxUp = "rbxassetid://149397702"
  2688. sillsky.StarCount = 0
  2689. sillsky.SunAngularSize = 0
  2690. sillsky.MoonAngularSize = 0
  2691. sillsky.MoonTextureId = ""
  2692. sillsky.CelestialBodiesShown = false
  2693. game.Lighting.FogColor = Color3.new(0,0,0)
  2694. game.Lighting.FogEnd = 1400
  2695. if HITFLOOR ~= nil then
  2696. ATTACK = false
  2697. Rooted = false
  2698. local RINGSPIN = true
  2699. local CONSTRUCTING = true
  2700. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Eggplant", "Ring", VT(0,0,0))
  2701. RING.Color = C3(0,0,0)
  2702. MakeForm(RING,"Cyl")
  2703. RING.CFrame = CF(HITPOS)
  2704. coroutine.resume(coroutine.create(function()
  2705. repeat
  2706. Swait()
  2707. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2708. until CONSTRUCTING == false
  2709. repeat
  2710. Swait()
  2711. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2712. until RINGSPIN == false
  2713. for i = 1, 25 do
  2714. Swait()
  2715. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2716. RING.Size = RING.Size - VT(0.15,0,0.15)
  2717. --DECAL.Transparency = DECAL.Transparency + 1/25
  2718. RING.Transparency = RING.Transparency + 1/25
  2719. end
  2720. RING:remove()
  2721. end))
  2722. for i = 1, 15 do
  2723. Swait()
  2724. RING.Size = RING.Size + VT(0,0,0)
  2725. RING.Transparency = RING.Transparency - 1/15
  2726. end
  2727. end
  2728. local RANDOMEFFECT = MRANDOM(1)
  2729. local BASE = CreatePart(3, Character, "Neon", 0, 0, "Eggplant", "Black", VT(2,1.8,2))
  2730. BASE.Color = C3(0,0,0)
  2731. BASE.Transparency = 1
  2732. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  2733. if RANDOMEFFECT == 1 then
  2734. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Eggplant", "Field", VT(0.3,0.3,0.3))
  2735. FIELD.CFrame = BASE.CFrame
  2736. MakeForm(FIELD,"Ball")
  2737. for i = 1, 50 do
  2738. Swait()
  2739. FIELD.Size = VT(0,0,0)
  2740. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2741. end
  2742. end
  2743. wait(0.2)
  2744. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Eggplant", "Field", VT(0.3,0.3,0.3))
  2745. FIELD.CFrame = BASE.CFrame
  2746. local LOOP = CreateSound(1393698948, Character, 0, 1, true)
  2747. coroutine.resume(coroutine.create(function()
  2748. for i = 1, 75 do
  2749. Swait()
  2750. LOOP.Volume = LOOP.Volume + 10/75
  2751. LOOP.Parent = FIELD
  2752. local CHILDREN = workspace:GetDescendants()
  2753. for index, CHILD in pairs(CHILDREN) do
  2754. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2755. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2756. if HUM then
  2757. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2758. if TORSO then
  2759. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2760. HUM.Health = HUM.Health - 0
  2761. TORSO.Velocity = VT(0,5,0)
  2762. HUM.PlatformStand = true
  2763. if TORSO.RotVelocity.Magnitude < 15 then
  2764. TORSO.Anchored = true
  2765. end
  2766. end
  2767. end
  2768. end
  2769. end
  2770. end
  2771. FIELD.Size = FIELD.Size + VT(90,90,90)
  2772. FIELD.Transparency = FIELD.Transparency + 0.8/75
  2773. end
  2774. for i = 1, 500 do
  2775. Swait()
  2776. LOOP.Parent = FIELD
  2777. local CHILDREN = workspace:GetDescendants()
  2778. for index, CHILD in pairs(CHILDREN) do
  2779. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2780. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2781. if HUM then
  2782. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2783. if TORSO then
  2784. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2785. TORSO.Velocity = VT(0,5,0)
  2786. HUM.Health = HUM.Health - 0
  2787. HUM.PlatformStand = true
  2788. if TORSO.RotVelocity.Magnitude < 15 then
  2789. TORSO.Anchored = false
  2790. end
  2791. end
  2792. end
  2793. end
  2794. end
  2795. end
  2796. end
  2797. CHOICE = MRANDOM (1,5)
  2798. for i = 1, 25 do
  2799. Swait()
  2800. LOOP.Volume = LOOP.Volume + 10/25
  2801. LOOP.Parent = FIELD
  2802. local CHILDREN = workspace:GetDescendants()
  2803. for index, CHILD in pairs(CHILDREN) do
  2804. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2805. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2806. if HUM then
  2807. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2808. if TORSO then
  2809. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2810. TORSO.Velocity = VT(0,5,0)
  2811. HUM.Health = HUM.Health - 0
  2812. HUM.PlatformStand = false
  2813. if TORSO.RotVelocity.Magnitude < 15 then
  2814. TORSO.Anchored = false
  2815. end
  2816. end
  2817. end
  2818. end
  2819. end
  2820. FIELD.Size = FIELD.Size - VT(3,3,3)
  2821. FIELD.Transparency = FIELD.Transparency + 0.2/25
  2822. end
  2823. end
  2824. end))
  2825. FIELD:Remove()
  2826. ATTACK = false
  2827. Rooted = false
  2828. end
  2829.  
  2830. --------------VOID BEAM-------------------
  2831.  
  2832. function killnearest(position,range,maxstrength)
  2833. for i,v in ipairs(workspace:GetChildren()) do
  2834. local body = v:GetChildren()
  2835. for part = 1, #body do
  2836. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2837. if(body[part].Position - position).Magnitude < range then
  2838. if v.ClassName == "Model" then
  2839. v:BreakJoints()
  2840. end
  2841. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  2842. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  2843. end
  2844. end
  2845. end
  2846. if v.ClassName == "Part" then
  2847. if v.Anchored == false and (v.Position - position).Magnitude < range then
  2848. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  2849. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  2850. end
  2851. end
  2852. end
  2853. end
  2854.  
  2855. function CheckTableForString(Table, String)
  2856. for i, v in pairs(Table) do
  2857. if string.find(string.lower(String), string.lower(v)) then
  2858. return true
  2859. end
  2860. end
  2861. return false
  2862. end
  2863.  
  2864. function CheckIntangible(Hit)
  2865. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  2866. if Hit and Hit.Parent then
  2867. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  2868. return true
  2869. end
  2870. end
  2871. return false
  2872. end
  2873.  
  2874. Debris = game:GetService("Debris")
  2875.  
  2876. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  2877. local Direction = CFrame.new(StartPos, Vec).lookVector
  2878. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  2879. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  2880. if RayHit and CheckIntangible(RayHit) then
  2881. if DelayIfHit then
  2882. wait()
  2883. end
  2884. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  2885. end
  2886. return RayHit, RayPos, RayNormal
  2887. end
  2888.  
  2889. function turnto(position)
  2890. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2891. end
  2892.  
  2893. function VoidBeam()
  2894. ATTACK = true
  2895. Rooted = true
  2896. for i=0, 1, 0.1 / Animation_Speed do
  2897. Swait()
  2898. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2899. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2900. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2901. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2902. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2903. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2904. end
  2905. CreateSound("348663022", Torso, 5, 1)
  2906. local StartPos = RootPart.CFrame * CF(0,10,0).p
  2907. for i = 1, 5 do
  2908. MagicSphere2(25,25,CF(StartPos),"Eggplant")
  2909. Swait(15)
  2910. end
  2911. local soundeffect = IT("Sound",Torso)
  2912. soundeffect.SoundId = "rbxassetid://487186990"
  2913. soundeffect.Looped = true
  2914. soundeffect.Volume = 10
  2915. soundeffect.Playing = true
  2916. repeat
  2917. turnto(Mouse.Hit.p)
  2918. MagicSphere2(25,25,CF(StartPos),"Eggplant")
  2919. MagicSphere(25/10,25,CF(StartPos),"Eggplant")
  2920. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  2921. local distance = (StartPos - RayPos).magnitude
  2922. local RayBeam = IT("Part",Effects)
  2923. RayBeam.Material = "Neon"
  2924. RayBeam.Anchored = true
  2925. RayBeam.BrickColor = BRICKC"Eggplant"
  2926. local mesh = IT("SpecialMesh",RayBeam)
  2927. mesh.MeshType = "Cylinder"
  2928. RayBeam.Size = Vector3.new(distance+10, 5, 5)
  2929. RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  2930. MagicSphere(15,5,CF(RayPos),"Eggplant")
  2931. killnearest(RayPos,15,100)
  2932. for i = 1, 3 do
  2933. CreateSwirl(0,25,true,-0.2,5,CF(RayPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really black")
  2934. end
  2935. Swait()
  2936. if KEYHOLD == false then
  2937. coroutine.resume(coroutine.create(function()
  2938. for i = 1, 5 do
  2939. RayBeam.Transparency = RayBeam.Transparency + 1/5
  2940. Swait()
  2941. end
  2942. RayBeam:remove()
  2943. end))
  2944. else
  2945. RayBeam:remove()
  2946. end
  2947. until KEYHOLD == false
  2948. soundeffect:remove()
  2949. ATTACK = false
  2950. Rooted = false
  2951. end
  2952. ----------------------------------
  2953. function Teleport()
  2954. ATTACK = true
  2955. Rooted = false
  2956. for i=0, 0.5, 0.1 / Animation_Speed do
  2957. Swait()
  2958. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2959. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2960. end
  2961. for e = 1, #BODY do
  2962. if BODY[e] ~= nil then
  2963. local STUFF = BODY[e]
  2964. local PART = STUFF[1]
  2965. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  2966. local PRT = PART:Clone()
  2967. PRT.Anchored = true
  2968. PRT.CanCollide = false
  2969. PRT.Material = "Neon"
  2970. PRT.Color = C3(123,0,123)
  2971. PRT.Name = "WarpEffect"
  2972. PRT.Parent = Effects
  2973. PRT.CFrame = PART.CFrame
  2974. PRT:BreakJoints()
  2975. if PRT:FindFirstChildOfClass("Sound") then
  2976. PRT:FindFirstChildOfClass("Sound"):remove()
  2977. end
  2978. if PRT:FindFirstChildOfClass("Decal") then
  2979. PRT:FindFirstChildOfClass("Decal"):remove()
  2980. end
  2981. coroutine.resume(coroutine.create(function()
  2982. for i = 1, 100 do
  2983. Swait()
  2984. PRT.Transparency = PRT.Transparency + 1/100
  2985. end
  2986. PRT:remove()
  2987. end))
  2988. end
  2989. end
  2990. end
  2991. CreateSound(289556450, Torso, 10, 1)
  2992. local POS = RootPart.Orientation
  2993. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  2994. RootPart.Orientation = POS
  2995. RootJoint.Parent = RootPart
  2996. for i=0, 0.5, 0.1 / Animation_Speed do
  2997. Swait()
  2998. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2999. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  3000. end
  3001. for i=0, 0.1, 0.1 / Animation_Speed do
  3002. Swait()
  3003. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  3004. end
  3005. ATTACK = false
  3006. Rooted = false
  3007. end
  3008.  
  3009. function Warden_Zap()
  3010. ATTACK = true
  3011. Rooted = false
  3012. local GYRO = IT("BodyGyro",RootPart)
  3013. GYRO.D = 750
  3014. GYRO.P = 20000
  3015. GYRO.MaxTorque = VT(0,40000000,0)
  3016. CreateSound(348663022,RightArm,1.5,2,false)
  3017. Pose("Cast1",0.8,1,true,GYRO)
  3018. local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = RightArm.CFrame*CF(0,-1,0).p, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.2, DoesFade = true, Ignore = Character, MaxDist = 9999, Branches = false})
  3019. local Hitpos = LightningTable.End
  3020. ApplyAoE(Hitpos,10,35)
  3021. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  3022. for i = 1, 4 do
  3023. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,45,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3024. end
  3025. Pose("Cast1",0.8,1,true)
  3026. GYRO:remove()
  3027. ATTACK = false
  3028. Rooted = false
  3029. end
  3030.  
  3031. function VoidThunder()
  3032. ATTACK = true
  3033. Rooted = false
  3034. local GYRO = IT("BodyGyro",RootPart)
  3035. GYRO.D = 750
  3036. GYRO.P = 20000
  3037. GYRO.MaxTorque = VT(0,40000000,0)
  3038. CreateSound(469345336,Torso,3,2,false)
  3039. Pose("Cast2",1.5,2,true,GYRO)
  3040. coroutine.resume(coroutine.create(function()
  3041. local FRAME = RootPart.CFrame
  3042. for i = 1, 25 do
  3043. local POS = FRAME*CF(MRANDOM(-17,17),0,-i*15)
  3044. local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = POS*CF(0,85,0).p, End = POS*CF(0,-15,0).p, SegmentL = 3, Thickness = 0.4, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = true})
  3045. local Hitpos = LightningTable.End
  3046. ApplyAoE(Hitpos,20,15)
  3047. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  3048. for i = 1, 4 do
  3049. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,75,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3050. end
  3051. wait(0.05)
  3052. end
  3053. end))
  3054. Pose("Cast2",1.5,0.7,true)
  3055. GYRO:remove()
  3056. ATTACK = false
  3057. Rooted = false
  3058. end
  3059.  
  3060. function Inferno_Ring()
  3061. ATTACK = true
  3062. Rooted = false
  3063. local GYRO = IT("BodyGyro",RootPart)
  3064. GYRO.D = 750
  3065. GYRO.P = 20000
  3066. GYRO.MaxTorque = VT(0,40000000,0)
  3067. local FIRE = IT("Model",Effects)
  3068. FIRE.Name = "Fire"
  3069. local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Magenta", "Center", VT(0,0,0))
  3070. FIRE.PrimaryPart = MAIN
  3071. local FIRES = {}
  3072. for i = 1, 45 do
  3073. local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Dark indigo", "RingPart", VT(3,3,3))
  3074. PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
  3075. local F = Fire(PRT)
  3076. table.insert(FIRES,F)
  3077. end
  3078. repeat
  3079. FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
  3080. Pose("Cast1",1.5,0.01,false,GYRO)
  3081. until HOLD == true
  3082. coroutine.resume(coroutine.create(function()
  3083. for i = 1, 4 do
  3084. ApplyAoE(MAIN.Position,21,-15,true)
  3085. CreateSound(463598785,MAIN,3,1,false)
  3086. for E = 1, #FIRES do
  3087. if FIRES[E] ~= nil then
  3088. FIRES[E].Acceleration = VT(0,300,0)
  3089. FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
  3090. end
  3091. end
  3092. wait(0.3)
  3093. end
  3094. for E = 1, #FIRES do
  3095. if FIRES[E] ~= nil then
  3096. FIRES[E].Enabled = false
  3097. end
  3098. end
  3099. Debris:AddItem(FIRE,5)
  3100. end))
  3101. CreateSound(138474143,RightArm,3,1,false)
  3102. Pose("RightArmUp",1.5,0.5,true)
  3103. GYRO:remove()
  3104. ATTACK = false
  3105. Rooted = false
  3106. end
  3107.  
  3108. function Warden_Wall()
  3109. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
  3110. if HITFLOOR ~= nil then
  3111. if HITFLOOR.Anchored == true then
  3112. local WALL = HITFLOOR:Clone()
  3113. WALL.Size = VT(45,45,5)
  3114. WALL.Parent = Effects
  3115. WALL.Name = "Wall"
  3116. WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
  3117. CreateSound(130972023,WALL,5,0.8,false)
  3118. ATTACK = true
  3119. Rooted = true
  3120. local HIT = WALL.Touched:Connect(function(hit)
  3121. if hit.Parent ~= Character then
  3122. hit:BreakJoints()
  3123. end
  3124. end)
  3125. coroutine.resume(coroutine.create(function()
  3126. WACKYEFFECT({Time = 35, EffectType = "Box", Size = WALL.Size, Size2 = WALL.Size*2, Transparency = 0, Transparency2 = 1, CFrame = WALL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3127. for i = 1, 90 do
  3128. Swait()
  3129. WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
  3130. end
  3131. HIT:disconnect()
  3132. wait(5)
  3133. for i = 1, 46 do
  3134. Swait()
  3135. WALL.CFrame = WALL.CFrame*CF(0,-1,0)
  3136. end
  3137. WALL:remove()
  3138. end))
  3139. Pose("RightArmUp",1.5,1.2,true)
  3140. ATTACK = false
  3141. Rooted = false
  3142. end
  3143. end
  3144. end
  3145.  
  3146. function Prison_Key()
  3147. if Mouse.Target ~= nil then
  3148. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3149. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3150. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3151. local GYRO = IT("BodyGyro",RootPart)
  3152. GYRO.D = 750
  3153. GYRO.P = 20000
  3154. GYRO.MaxTorque = VT(0,40000000,0)
  3155. local grav = Instance.new("BodyPosition",TORSO)
  3156. grav.D = 15
  3157. grav.P = 20000
  3158. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3159. grav.position = TORSO.Position
  3160. local GYRO2 = IT("BodyGyro",TORSO)
  3161. GYRO2.D = 750
  3162. GYRO2.P = 20000
  3163. GYRO2.MaxTorque = VT(0,40000000,0)
  3164. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3165. grav.Name = "Jail"
  3166. local LOCKPARTS = {}
  3167. ATTACK = true
  3168. Rooted = false
  3169. local LOCK = IT("Model",Effects)
  3170. LOCK.Name = "Lock"
  3171. local LOCK2 = IT("Model",LOCK)
  3172. LOCK2.Name = "Metal"
  3173. --CREATE LOCK--
  3174. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  3175. LOCK.PrimaryPart = BASE
  3176. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  3177. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  3178. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  3179. MakeForm(PRT,"Cyl")
  3180. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  3181. PRT.Color = C3(0,0,0)
  3182. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  3183. MakeForm(PRT,"Cyl")
  3184. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  3185. PRT.Color = C3(0,0,0)
  3186. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  3187. for i = 1, 45 do
  3188. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  3189. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  3190. end
  3191. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  3192. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  3193. LOCK2.PrimaryPart = PRT
  3194. ---------------
  3195. local CHILDREN = LOCK:GetDescendants()
  3196. for index, CHILD in pairs(CHILDREN) do
  3197. if CHILD:IsA("BasePart") then
  3198. CHILD.Transparency = 1
  3199. end
  3200. end
  3201. for i = 1, 75 do
  3202. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  3203. Swait()
  3204. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3205. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3206. local CHILDREN = LOCK:GetDescendants()
  3207. for index, CHILD in pairs(CHILDREN) do
  3208. if CHILD:IsA("BasePart") then
  3209. CHILD.Transparency = CHILD.Transparency - 1/75
  3210. end
  3211. end
  3212. end
  3213. HUM.DisplayDistanceType = "None"
  3214. local KEY = IT("Model",Effects)
  3215. KEY.Name = "Key"
  3216. --CREATE KEY--
  3217. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Eggplant", "KeyBase", VT(0.1, 1, 0.1),false)
  3218. KEY.PrimaryPart = KBASE
  3219. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  3220. local WLD = weldBetween(RightArm,KBASE)
  3221. for i = 1, 45 do
  3222. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Eggplant", "Key", VT(0.1, 0.1, 0.1),false)
  3223. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  3224. weldBetween(KBASE,PRT)
  3225. end
  3226. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Eggplant", "Key", VT(0.3, 0.1, 0.1),false)
  3227. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  3228. weldBetween(KBASE,PRT)
  3229. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Eggplant", "Key", VT(0.3, 0.1, 0.1),false)
  3230. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  3231. weldBetween(KBASE,PRT)
  3232. --------------
  3233. Rooted = true
  3234. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  3235. coroutine.resume(coroutine.create(function()
  3236. for i = 1, 10 do
  3237. Swait()
  3238. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3239. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3240. end
  3241. CreateSound(1149318312,BASE,5,1,false)
  3242. CreateSound(160772554,BASE,3,1,false)
  3243. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  3244. for i = 1, 4 do
  3245. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3246. end
  3247. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  3248. wait(1)
  3249. TORSO.Parent.Parent = LOCK
  3250. for i = 1, 75 do
  3251. Swait()
  3252. local CHILDREN = KEY:GetDescendants()
  3253. for index, CHILD in pairs(CHILDREN) do
  3254. if CHILD:IsA("BasePart") then
  3255. CHILD.Transparency = i/25
  3256. end
  3257. end
  3258. local CHILDREN = LOCK:GetDescendants()
  3259. for index, CHILD in pairs(CHILDREN) do
  3260. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  3261. CHILD.Transparency = CHILD.Transparency + 1/75
  3262. elseif CHILD.ClassName == "Decal" then
  3263. CHILD.Transparency = CHILD.Transparency + 1/75
  3264. end
  3265. end
  3266. end
  3267. TORSO.Parent:ClearAllChildren()
  3268. KEY:remove()
  3269. LOCK:remove()
  3270. end))
  3271. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  3272. GYRO:remove()
  3273. ATTACK = false
  3274. Rooted = false
  3275. end
  3276. end
  3277. end
  3278.  
  3279. function Hat()
  3280. ATTACK = true
  3281. Rooted = false
  3282. Pose("Taunt",0.4,1.2,false)
  3283. ATTACK = false
  3284. Rooted = false
  3285. end
  3286.  
  3287. --//=================================\\
  3288. --|| ASSIGN THINGS TO KEYS
  3289. --\\=================================//
  3290.  
  3291. function MouseDown(Mouse)
  3292. HOLD = true
  3293. if ATTACK == false then
  3294. end
  3295. end
  3296.  
  3297. function CastProperRay2(StartPos, Vec, Length, Ignore)
  3298. local Direction = CFrame.new(StartPos, Vec).lookVector
  3299. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  3300. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  3301. return RayHit, RayPos, RayNormal
  3302. end
  3303.  
  3304. function MouseUp(Mouse)
  3305. HOLD = false
  3306. end
  3307.  
  3308. function KeyDown(Key)
  3309. KEYHOLD = true
  3310. if TRUEFORM == false then
  3311.  
  3312. if Key == "z" and ATTACK == false then
  3313. Warden_Zap()
  3314. end
  3315.  
  3316. if Key == "f" and ATTACK == false then
  3317. Teleport()
  3318. end
  3319.  
  3320. if Key == "g" and ATTACK == false then
  3321. Prison_Key()
  3322. end
  3323.  
  3324. if Key == "e" and ATTACK == false then
  3325. VoidStar()
  3326. end
  3327.  
  3328. if Key == "q" and ATTACK == false then
  3329. VoidBox()
  3330. end
  3331.  
  3332. if Key == "b" and ATTACK == false then
  3333. VoidThunder()
  3334. end
  3335.  
  3336. if Key == "c" and ATTACK == false then
  3337. Inferno_Ring()
  3338. end
  3339.  
  3340. if Key == "v" and ATTACK == false then
  3341. Warden_Wall()
  3342. end
  3343.  
  3344. if Key == "x" and ATTACK == false then
  3345. VoidBeam()
  3346. end
  3347.  
  3348. if Key == "t" and ATTACK == false then
  3349. Hat()
  3350. end
  3351.  
  3352. if Key == "p" and ATTACK == false then
  3353. RiftForm()
  3354. lightning.Enabled = true
  3355. eeeffecto.Enabled = true
  3356. SKILL2TEXT:remove()
  3357. SKILL5TEXT:remove()
  3358. SKILL9TEXT:remove()
  3359. SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Rift Thunder", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  3360. SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Rift Beam", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  3361. SKILL9TEXT = CreateLabel(SKILL9FRAME, "[E] Rift Star", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 9")
  3362. RiftWorld()
  3363. end
  3364. else
  3365. if Key == "p" and ATTACK == false then
  3366. TRUEFORM = false
  3367. lightning.Enabled = false
  3368. eeeffecto.Enabled = false
  3369. SKILL2TEXT:remove()
  3370. SKILL5TEXT:remove()
  3371. SKILL9TEXT:remove()
  3372. SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Void Thunder", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  3373. SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Void Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  3374. SKILL9TEXT = CreateLabel(SKILL9FRAME, "[E] Void Star", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 9")
  3375. local sillsky = Instance.new('Sky', game:GetService'Lighting')
  3376. back:remove()
  3377. sillsky:remove()
  3378. game.Lighting.FogEnd = 90000000
  3379. CreateSound(464600985, Character, 99999, 0.8, false)
  3380. end
  3381.  
  3382. if Key == "z" and ATTACK == false then
  3383. Warden_Zap()
  3384. end
  3385.  
  3386. if Key == "f" and ATTACK == false then
  3387. Teleport()
  3388. end
  3389.  
  3390. if Key == "g" and ATTACK == false then
  3391. Prison_Key()
  3392. end
  3393.  
  3394. if Key == "e" and ATTACK == false then
  3395. Nuke()
  3396. end
  3397.  
  3398. if Key == "q" and ATTACK == false then
  3399. VoidBox()
  3400. end
  3401.  
  3402. if Key == "b" and ATTACK == false then
  3403. VoidThunder2()
  3404. end
  3405.  
  3406. if Key == "c" and ATTACK == false then
  3407. Inferno_Ring()
  3408. end
  3409.  
  3410. if Key == "v" and ATTACK == false then
  3411. Warden_Wall()
  3412. end
  3413.  
  3414. if Key == "x" and ATTACK == false then
  3415. Beam()
  3416. end
  3417.  
  3418. if Key == "t" and ATTACK == false then
  3419. Hat()
  3420. end
  3421. end
  3422. end
  3423.  
  3424. function KeyUp(Key)
  3425. KEYHOLD = false
  3426. end
  3427.  
  3428. Mouse.Button1Down:connect(function(NEWKEY)
  3429. MouseDown(NEWKEY)
  3430. end)
  3431. Mouse.Button1Up:connect(function(NEWKEY)
  3432. MouseUp(NEWKEY)
  3433. end)
  3434. Mouse.KeyDown:connect(function(NEWKEY)
  3435. KeyDown(NEWKEY)
  3436. end)
  3437. Mouse.KeyUp:connect(function(NEWKEY)
  3438. KeyUp(NEWKEY)
  3439. end)
  3440.  
  3441. --//=================================\\
  3442. --\\=================================//
  3443.  
  3444.  
  3445. function unanchor()
  3446. if UNANCHOR == true then
  3447. g = Character:GetChildren()
  3448. for i = 1, #g do
  3449. if g[i].ClassName == "Part" then
  3450. g[i].Anchored = false
  3451. end
  3452. end
  3453. end
  3454. end
  3455.  
  3456.  
  3457.  
  3458. --//=================================\\
  3459. --|| WRAP THE WHOLE SCRIPT UP
  3460. --\\=================================//
  3461.  
  3462. local FF = IT("ForceField",Character)
  3463. FF.Visible = false
  3464.  
  3465. Humanoid.Changed:connect(function(Jump)
  3466. if Jump == "Jump" and (Disable_Jump == true) then
  3467. Humanoid.Jump = false
  3468. end
  3469. end)
  3470.  
  3471. while true do
  3472. Swait()
  3473. script.Parent = WEAPONGUI
  3474. Humanoid.Parent = Character
  3475. if Humanoid then
  3476. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3477. IDLEANIMATION:Play()
  3478. end
  3479. if ANIMATE.Parent == Character then
  3480. ANIMATE:Destroy()
  3481. end
  3482. SINE = SINE + CHANGE
  3483. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3484. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3485. Humanoid.HipHeight = 1
  3486. Humanoid.Name = "VoidWarden"
  3487. Humanoid.PlatformStand = false
  3488. if PLAYMAINANIM == true then
  3489. if TORSOVELOCITY < 1 then
  3490. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3491. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3492. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3493. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3494. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  3495. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3496. elseif TORSOVELOCITY > 1 then
  3497. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3498. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3499. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3500. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3501. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  3502. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(10)), 0.15 / Animation_Speed)
  3503. end
  3504. end
  3505. unanchor()
  3506. Humanoid.MaxHealth = 1.0E298
  3507. Humanoid.Health = 1.0E298
  3508. if Rooted == false then
  3509. Disable_Jump = false
  3510. Humanoid.WalkSpeed = Speed
  3511. elseif Rooted == true then
  3512. Disable_Jump = true
  3513. Humanoid.WalkSpeed = 0
  3514. end
  3515. for _, c in pairs(Character:GetChildren()) do
  3516. if c.ClassName == "Part" and c.Name ~= "Eye" then
  3517. c.Material = "Neon"
  3518. if c:FindFirstChildOfClass("ParticleEmitter") then
  3519. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3520. end
  3521. c.Color = C3(1,1,1)
  3522. if c == Head then
  3523. if c:FindFirstChild("face") then
  3524. c.face:remove()
  3525. end
  3526. end
  3527. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  3528. c:remove()
  3529. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  3530. c:remove()
  3531. end
  3532. end
  3533. sick.SoundId = "rbxassetid://1427189017"
  3534. sick.Looped = true
  3535. sick.Pitch = 1
  3536. sick.Volume = 3
  3537. sick:Resume()
  3538. sick.Parent = Torso
  3539. refit()
  3540. if Head:FindFirstChildOfClass("Sound") then
  3541. Head:FindFirstChildOfClass("Sound"):remove()
  3542. end
  3543. end
  3544.  
  3545. if Humanoid.Health < 1.0E298 then
  3546. refit()
  3547. Humanoid.MaxHealth = 1.0E298
  3548. Humanoid.Health = Humanoid.Health + 1.0E298
  3549.  
  3550. end
  3551.  
  3552.  
  3553. end
  3554. elseif (request == 2) then
  3555. local k = ...;
  3556. if k == "0"then
  3557. Runkey = false
  3558.  
  3559. end
  3560. end;
  3561. end;
  3562. remote.Name = 'ServerRemote';
  3563. ]==], workspace):WaitForChild 'ServerRemote';
  3564.  
  3565. mouse = owner:GetMouse();
  3566.  
  3567. mouse.KeyDown:connect(function(key)
  3568. remote:InvokeServer (1, key);
  3569. end)
  3570.  
  3571. mouse.KeyUp:connect(function(key)
  3572. remote:InvokeServer (2, key);
  3573. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement