Advertisement
Xxxtamloveeif02xxX

skid :3

Jul 20th, 2018
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 121.92 KB | None | 0 0
  1. -- [[[
  2. --000000[[====================================================================================\\
  3. --000000[[ VOID PANDORA BY IGNORANTROJO
  4. --000000[[====================================================================================//
  5. -- [[[
  6.  
  7. local Player = game:GetService("Players").LocalPlayer
  8. repeat
  9. wait()
  10. until Player.Character
  11. local Character = Player.Character
  12. TrailSettings = {
  13. Lifetime = 1,
  14. Texture = "http://www.roblox.com/asset/?id=304823168",
  15. Color1 = ColorSequence.new(BrickColor.new("Royal Purple").Color),
  16. Color2 = ColorSequence.new(BrickColor.new("Royal Purple").Color),
  17. AllBody = true,
  18. UpperBodyOnly = false,
  19. LowerBodyOnly = false,
  20. Accessories = false,
  21. Extras = true,
  22. R15 = false,
  23. R15Parts = {"UpperTorso", "LowerTorso"}
  24. }
  25. local Trail
  26. function UpperBody()
  27. if TrailSettings.R15 == false then
  28. A0 = Instance.new("Attachment", Character.Torso)
  29. A1 = Instance.new("Attachment", Character.Head)
  30. A2 = Instance.new("Attachment", Character["Right Arm"])
  31. A3 = Instance.new("Attachment", Character["Left Arm"])
  32. Trail = Instance.new("Trail", Character)
  33. Trail.Attachment0 = A0
  34. Trail.Attachment1 = A1
  35. Trail.Texture = TrailSettings.Texture
  36. Trail.Color = TrailSettings.Color1
  37. Trail.Lifetime = TrailSettings.Lifetime
  38. local Trail2 = Trail:Clone()
  39. Trail2.Parent = Character
  40. Trail2.Attachment1 = A2
  41. local Trail3 = Trail:Clone()
  42. Trail3.Parent = Character
  43. Trail3.Attachment1 = A3
  44. local Trail6 = Trail:Clone()
  45. Trail6.Parent = Character
  46. Trail6.Attachment0 = A1
  47. Trail6.Attachment1 = A2
  48. local Trail7 = Trail:Clone()
  49. Trail7.Parent = Character
  50. Trail7.Attachment0 = A1
  51. Trail7.Attachment1 = A3
  52. else
  53. A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]])
  54. A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
  55. A1 = Instance.new("Attachment", Character.Head)
  56. A2 = Instance.new("Attachment", Character.RightUpperArm)
  57. A2R = Instance.new("Attachment", Character.RightLowerArm)
  58. A3 = Instance.new("Attachment", Character.LeftUpperArm)
  59. A3R = Instance.new("Attachment", Character.LeftLowerArm)
  60. Trail = Instance.new("Trail", Character)
  61. Trail.Attachment0 = A0
  62. Trail.Attachment1 = A1
  63. Trail.Texture = TrailSettings.Texture
  64. Trail.Color = TrailSettings.Color1
  65. Trail.Lifetime = TrailSettings.Lifetime
  66. local Trail2 = Trail:Clone()
  67. Trail2.Parent = Character
  68. Trail2.Attachment1 = A2
  69. local Trail3 = Trail:Clone()
  70. Trail3.Parent = Character
  71. Trail3.Attachment1 = A3
  72. local Trail6 = Trail:Clone()
  73. Trail6.Parent = Character
  74. Trail6.Attachment0 = A1
  75. Trail6.Attachment1 = A2
  76. local Trail7 = Trail:Clone()
  77. Trail7.Parent = Character
  78. Trail7.Attachment0 = A1
  79. Trail7.Attachment1 = A3
  80. local Trail1R = Trail:Clone()
  81. Trail1R.Parent = Character
  82. Trail1R.Attachment1 = A2R
  83. local Trail2R = Trail:Clone()
  84. Trail2R.Parent = Character
  85. Trail2R.Attachment1 = A3R
  86. local Trail6R = Trail:Clone()
  87. Trail6.Parent = Character
  88. Trail6.Attachment0 = A1
  89. Trail6.Attachment1 = A2R
  90. local Trail7R = Trail:Clone()
  91. Trail7.Parent = Character
  92. Trail7.Attachment0 = A1
  93. Trail7.Attachment1 = A3R
  94. end
  95. end
  96. function LowerBody()
  97. if TrailSettings.R15 == false then
  98. A4 = Instance.new("Attachment", Character["Right Leg"])
  99. A5 = Instance.new("Attachment", Character["Left Leg"])
  100. local Trail4 = Trail:Clone()
  101. Trail4.Parent = Character
  102. Trail4.Attachment1 = A4
  103. local Trail5 = Trail:Clone()
  104. Trail5.Parent = Character
  105. Trail5.Attachment1 = A5
  106. local Trail8 = Trail:Clone()
  107. Trail8.Parent = Character
  108. Trail8.Attachment0 = A2
  109. Trail8.Attachment1 = A4
  110. Trail8.Color = TrailSettings.Color2
  111. local Trail9 = Trail:Clone()
  112. Trail9.Parent = Character
  113. Trail9.Attachment0 = A3
  114. Trail9.Attachment1 = A5
  115. Trail9.Color = TrailSettings.Color2
  116. local FT = Trail:Clone()
  117. FT.Parent = Character
  118. FT.Attachment0 = A4
  119. FT.Attachment1 = A5
  120. FT.Color = TrailSettings.Color2
  121. else
  122. A4 = Instance.new("Attachment", Character.RightLowerLeg)
  123. A4R = Instance.new("Attachment", Character.RightUpperLeg)
  124. A5 = Instance.new("Attachment", Character.LeftLowerLeg)
  125. A5R = Instance.new("Attachment", Character.LeftUpperLeg)
  126. local Trail4 = Trail:Clone()
  127. Trail4.Parent = Character
  128. Trail4.Attachment1 = A4
  129. local Trail5 = Trail:Clone()
  130. Trail5.Parent = Character
  131. Trail5.Attachment1 = A5
  132. local Trail8 = Trail:Clone()
  133. Trail8.Parent = Character
  134. Trail8.Attachment0 = A2
  135. Trail8.Attachment1 = A4
  136. Trail8.Color = TrailSettings.Color2
  137. local Trail9 = Trail:Clone()
  138. Trail9.Parent = Character
  139. Trail9.Attachment0 = A3
  140. Trail9.Attachment1 = A5
  141. Trail9.Color = TrailSettings.Color2
  142. local FT = Trail:Clone()
  143. FT.Parent = Character
  144. FT.Attachment0 = A4
  145. FT.Attachment1 = A5
  146. FT.Color = TrailSettings.Color2
  147. local Trail3R = Trail:Clone()
  148. Trail3R.Parent = Character
  149. Trail3R.Attachment1 = A4R
  150. local Trail4R = Trail:Clone()
  151. Trail4R.Parent = Character
  152. Trail4R.Attachment1 = A5R
  153. local Trail8 = Trail:Clone()
  154. Trail8.Parent = Character
  155. Trail8.Attachment0 = A2R
  156. Trail8.Attachment1 = A4R
  157. Trail8.Color = TrailSettings.Color2
  158. local Trail9 = Trail:Clone()
  159. Trail9.Parent = Character
  160. Trail9.Attachment0 = A3R
  161. Trail9.Attachment1 = A5R
  162. Trail9.Color = TrailSettings.Color2
  163. local FT2R = Trail:Clone()
  164. FT2R.Parent = Character
  165. FT2R.Attachment0 = A4R
  166. FT2R.Attachment1 = A5R
  167. FT2R.Color = TrailSettings.Color2
  168. end
  169. end
  170. function AllBody()
  171. UpperBody()
  172. LowerBody()
  173. end
  174. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  175. TrailSettings.UpperBodyOnly = false
  176. TrailSettings.LowerBodyOnly = false
  177. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  178. TrailSettings.UpperBodyOnly = false
  179. TrailSettings.LowerBodyOnly = false
  180. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  181. TrailSettings.UpperBodyOnly = false
  182. TrailSettings.LowerBodyOnly = false
  183. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  184. TrailSettings.AllBody = true
  185. TrailSettings.UpperBodyOnly = false
  186. TrailSettings.LowerBodyOnly = false
  187. end
  188. if TrailSettings.UpperBodyOnly == true then
  189. UpperBody()
  190. print("Called Upper Body Trail")
  191. elseif TrailSettings.LowerBodyOnly == true then
  192. LowerBody()
  193. print("Called Lower Body Trail")
  194. elseif TrailSettings.AllBody == true then
  195. AllBody()
  196. print("Called Full Body Trail")
  197. end
  198. if TrailSettings.Accessories == true then
  199. for Index, Item in pairs(Character:GetChildren()) do
  200. if Item:IsA("Accessory") then
  201. local AA = Instance.new("Attachment", Item.Handle)
  202. local ATrail = Trail:Clone()
  203. ATrail.Parent = Character
  204. ATrail.Attachment1 = AA
  205. end
  206. end
  207. end
  208. if TrailSettings.Extras == true then
  209. spawn(function()
  210. repeat
  211. wait()
  212. until Trail
  213. local AB = Instance.new("Attachment", a)
  214. local ABT = Trail:Clone()
  215. ABT.Parent = Character
  216. ABT.Attachment0 = A4
  217. ABT.Attachment1 = AB
  218. ABT.Color = TrailSettings.Color2
  219. local ABT2 = Trail:Clone()
  220. ABT2.Parent = Character
  221. ABT2.Attachment0 = A5
  222. ABT2.Attachment1 = AB
  223. ABT2.Color = TrailSettings.Color2
  224. end)
  225. end
  226. wait(0.1)
  227. --//====================================================\\--
  228. --|| EDIT BY IR, (VD)
  229. --\\====================================================//--
  230.  
  231. local Player = game.Players.localPlayer
  232. local Character = Player.Character
  233. local Humanoid = Character.Humanoid
  234. local Mouse = Player:GetMouse()
  235. local LeftArm = Character["Left Arm"]
  236. local RightArm = Character["Right Arm"]
  237. local LeftLeg = Character["Left Leg"]
  238. local RightLeg = Character["Right Leg"]
  239. local Head = Character.Head
  240. local Torso = Character.Torso
  241. local Camera = game.Workspace.CurrentCamera
  242. local RootPart = Character.HumanoidRootPart
  243. local RootJoint = RootPart.RootJoint
  244. local attack = false
  245. local Anim = 'Idle'
  246. local Lighty = game:GetService"Lighting"
  247. local attacktype = 1
  248. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  249. local velocity = RootPart.Velocity.y
  250. local sine = 0
  251. local change = 1
  252. local bored = {1534958855,429776230,143889072,861966831,183616044,0} --1326552262--
  253. local Create = LoadLibrary("RbxUtility").Create
  254. function swait(num)
  255. if num == 0 or num == nil then
  256. ArtificialHB.Event:wait()
  257. else
  258. for i = 0, num do
  259. ArtificialHB.Event:wait()
  260. end
  261. end
  262. end
  263.  
  264. function chatfunc(text)
  265. local chat = coroutine.wrap(function()
  266. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  267. Character:FindFirstChild("TalkingBillBoard"):destroy()
  268. end
  269. local Bill = Instance.new("BillboardGui",Character)
  270. Bill.Size = UDim2.new(0,100,0,40)
  271. Bill.StudsOffset = Vector3.new(0,3,0)
  272. Bill.Adornee = Character.Head
  273. Bill.Name = "TalkingBillBoard"
  274. local Hehe = Instance.new("TextLabel",Bill)
  275. Hehe.BackgroundTransparency = 1
  276. Hehe.BorderSizePixel = 0
  277. Hehe.Text = ""
  278. Hehe.Font = "SciFi"
  279. Hehe.TextSize = 40
  280. Hehe.TextStrokeTransparency = 0
  281. Hehe.Size = UDim2.new(1,0,0.5,0)
  282. coroutine.resume(coroutine.create(function()
  283. while Hehe ~= nil do
  284. swait()
  285. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  286. Hehe.Rotation = math.random(-5,5)
  287. Hehe.TextColor3 = Color3.new(98/255, 37/255, 209/255)
  288. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  289. end
  290. end))
  291. for i = 1,string.len(text),1 do
  292. swait()
  293. Hehe.Text = string.sub(text,1,i)
  294. end
  295. swait(90)--Re[math.random(1, 93)]
  296. for i = 0, 1, .025 do
  297. swait()
  298. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  299. Hehe.TextStrokeTransparency = i
  300. Hehe.TextTransparency = i
  301. end
  302. Bill:Destroy()
  303. end)
  304. chat()
  305. end
  306.  
  307. function onChatted(msg)
  308. chatfunc(msg)
  309. end
  310.  
  311. Player.Chatted:connect(onChatted)
  312. wait(0.2)
  313.  
  314. Player = game:GetService("Players").LocalPlayer
  315. PlayerGui = Player.PlayerGui
  316. Cam = workspace.CurrentCamera
  317. Backpack = Player.Backpack
  318. Character = Player.Character
  319. Humanoid = Character.Humanoid
  320. Mouse = Player:GetMouse()
  321. RootPart = Character["HumanoidRootPart"]
  322. Torso = Character["Torso"]
  323. Head = Character["Head"]
  324. RightArm = Character["Right Arm"]
  325. LeftArm = Character["Left Arm"]
  326. RightLeg = Character["Right Leg"]
  327. LeftLeg = Character["Left Leg"]
  328. RootJoint = RootPart["RootJoint"]
  329. Neck = Torso["Neck"]
  330. RightShoulder = Torso["Right Shoulder"]
  331. LeftShoulder = Torso["Left Shoulder"]
  332. RightHip = Torso["Right Hip"]
  333. LeftHip = Torso["Left Hip"]
  334. Character.Archivable = true
  335. Player:ClearCharacterAppearance()
  336.  
  337. IT = Instance.new
  338. CF = CFrame.new
  339. VT = Vector3.new
  340. RAD = math.rad
  341. C3 = Color3.new
  342. UD2 = UDim2.new
  343. BRICKC = BrickColor.new
  344. ANGLES = CFrame.Angles
  345. EULER = CFrame.fromEulerAnglesXYZ
  346. COS = math.cos
  347. ACOS = math.acos
  348. SIN = math.sin
  349. ASIN = math.asin
  350. ABS = math.abs
  351. MRANDOM = math.random
  352. FLOOR = math.floor
  353. local CHOICE = MRANDOM(1,5)
  354. --//=================================\\
  355. --|| USEFUL VALUES
  356. --\\=================================//
  357.  
  358. Animation_Speed = 3
  359. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  360. local Speed = 48
  361. local SIZE = 1.4
  362. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  363. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  364. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  365. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  366. local DAMAGEMULTIPLIER = "inf"
  367. local ANIM = "Idle"
  368. local ATTACK = false
  369. local EQUIPPED = false
  370. local HOLD = false
  371. local COMBO = 1
  372. local Rooted = false
  373. local SINE = 0
  374. local KEYHOLD = false
  375. local CHANGE = 2 / Animation_Speed
  376. local WALKINGANIM = false
  377. local VALUE1 = false
  378. local VALUE2 = false
  379. local ROBLOXIDLEANIMATION = IT("Animation")
  380. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  381. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  382. local ATANIM = IT("Animation")
  383. ATANIM.Name = "Attack Animation"
  384. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  385. --ROBLOXIDLEANIMATION.Parent = Humanoid
  386. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  387. WEAPONGUI.Name = "Weapon GUI"
  388. local Weapon = IT("Model")
  389. Weapon.Name = "Adds"
  390. local Effects = IT("Folder", Weapon)
  391. Effects.Name = "Effects"
  392. local ANIMATOR = Humanoid.Animator
  393. local ANIMATE = Character.Animate
  394. local UNANCHOR = true
  395. local CLOCKLOOP = 0
  396. local SONG = 1326552262
  397. local CLOCKTARGET = nil
  398. local CLOCKSPEED = 10
  399. script.Parent = WEAPONGUI
  400. local CLONE = Character:Clone()
  401. CLONE.Parent = nil
  402. Character.Archivable = false
  403. local sick = Instance.new("Sound",Torso)
  404. sick.Volume = 50999
  405.  
  406. --//=================================\\
  407. --\\=================================//
  408.  
  409.  
  410. --//=================================\\
  411. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  412. --\\=================================//
  413.  
  414. ArtificialHB = Instance.new("BindableEvent", script)
  415. ArtificialHB.Name = "ArtificialHB"
  416.  
  417. script:WaitForChild("ArtificialHB")
  418.  
  419. frame = Frame_Speed
  420. tf = 0
  421. allowframeloss = false
  422. tossremainder = false
  423. lastframe = tick()
  424. script.ArtificialHB:Fire()
  425.  
  426. game:GetService("RunService").Heartbeat:connect(function(s, p)
  427. tf = tf + s
  428. if tf >= frame then
  429. if allowframeloss then
  430. script.ArtificialHB:Fire()
  431. lastframe = tick()
  432. else
  433. for i = 1, math.floor(tf / frame) do
  434. script.ArtificialHB:Fire()
  435. end
  436. lastframe = tick()
  437. end
  438. if tossremainder then
  439. tf = 0
  440. else
  441. tf = tf - frame * math.floor(tf / frame)
  442. end
  443. end
  444. end)
  445.  
  446. --//=================================\\
  447. --\\=================================//
  448.  
  449. --//=================================\\
  450. --|| SOME FUNCTIONS
  451. --\\=================================//
  452.  
  453. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  454. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  455. end
  456.  
  457. function PositiveAngle(NUMBER)
  458. if NUMBER >= 0 then
  459. NUMBER = 0
  460. end
  461. return NUMBER
  462. end
  463.  
  464. function NegativeAngle(NUMBER)
  465. if NUMBER <= 0 then
  466. NUMBER = 0
  467. end
  468. return NUMBER
  469. end
  470.  
  471. function Swait(NUMBER)
  472. if NUMBER == 0 or NUMBER == nil then
  473. ArtificialHB.Event:wait()
  474. else
  475. for i = 1, NUMBER do
  476. ArtificialHB.Event:wait()
  477. end
  478. end
  479. end
  480.  
  481. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  482. local NEWMESH = IT(MESH)
  483. if MESH == "SpecialMesh" then
  484. NEWMESH.MeshType = MESHTYPE
  485. if MESHID ~= "nil" and MESHID ~= "" then
  486. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  487. end
  488. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  489. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  490. end
  491. end
  492. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  493. NEWMESH.Scale = SCALE
  494. NEWMESH.Parent = PARENT
  495. return NEWMESH
  496. end
  497.  
  498. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  499. local NEWPART = IT("Part")
  500. NEWPART.formFactor = FORMFACTOR
  501. NEWPART.Reflectance = REFLECTANCE
  502. NEWPART.Transparency = TRANSPARENCY
  503. NEWPART.CanCollide = false
  504. NEWPART.Locked = true
  505. NEWPART.Anchored = true
  506. if ANCHOR == false then
  507. NEWPART.Anchored = false
  508. end
  509. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  510. NEWPART.Name = NAME
  511. NEWPART.Size = SIZE
  512. NEWPART.Position = Torso.Position
  513. NEWPART.Material = MATERIAL
  514. NEWPART:BreakJoints()
  515. NEWPART.Parent = PARENT
  516. return NEWPART
  517. end
  518.  
  519. local function weldBetween(a, b)
  520. local weldd = Instance.new("ManualWeld")
  521. weldd.Part0 = a
  522. weldd.Part1 = b
  523. weldd.C0 = CFrame.new()
  524. weldd.C1 = b.CFrame:inverse() * a.CFrame
  525. weldd.Parent = a
  526. return weldd
  527. end
  528.  
  529.  
  530. function QuaternionFromCFrame(cf)
  531. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  532. local trace = m00 + m11 + m22
  533. if trace > 0 then
  534. local s = math.sqrt(1 + trace)
  535. local recip = 0.5 / s
  536. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  537. else
  538. local i = 0
  539. if m11 > m00 then
  540. i = 1
  541. end
  542. if m22 > (i == 0 and m00 or m11) then
  543. i = 2
  544. end
  545. if i == 0 then
  546. local s = math.sqrt(m00 - m11 - m22 + 1)
  547. local recip = 0.5 / s
  548. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  549. elseif i == 1 then
  550. local s = math.sqrt(m11 - m22 - m00 + 1)
  551. local recip = 0.5 / s
  552. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  553. elseif i == 2 then
  554. local s = math.sqrt(m22 - m00 - m11 + 1)
  555. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  556. end
  557. end
  558. end
  559.  
  560. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  561. local xs, ys, zs = x + x, y + y, z + z
  562. local wx, wy, wz = w * xs, w * ys, w * zs
  563. local xx = x * xs
  564. local xy = x * ys
  565. local xz = x * zs
  566. local yy = y * ys
  567. local yz = y * zs
  568. local zz = z * zs
  569. 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))
  570. end
  571.  
  572. function QuaternionSlerp(a, b, t)
  573. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  574. local startInterp, finishInterp;
  575. if cosTheta >= 0.0001 then
  576. if (1 - cosTheta) > 0.0001 then
  577. local theta = ACOS(cosTheta)
  578. local invSinTheta = 1 / SIN(theta)
  579. startInterp = SIN((1 - t) * theta) * invSinTheta
  580. finishInterp = SIN(t * theta) * invSinTheta
  581. else
  582. startInterp = 1 - t
  583. finishInterp = t
  584. end
  585. else
  586. if (1 + cosTheta) > 0.0001 then
  587. local theta = ACOS(-cosTheta)
  588. local invSinTheta = 1 / SIN(theta)
  589. startInterp = SIN((t - 1) * theta) * invSinTheta
  590. finishInterp = SIN(t * theta) * invSinTheta
  591. else
  592. startInterp = t - 1
  593. finishInterp = t
  594. end
  595. end
  596. 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
  597. end
  598.  
  599. function Clerp(a, b, t)
  600. local qa = {QuaternionFromCFrame(a)}
  601. local qb = {QuaternionFromCFrame(b)}
  602. local ax, ay, az = a.x, a.y, a.z
  603. local bx, by, bz = b.x, b.y, b.z
  604. local _t = 1 - t
  605. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  606. end
  607.  
  608. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  609. local frame = IT("Frame")
  610. frame.BackgroundTransparency = TRANSPARENCY
  611. frame.BorderSizePixel = BORDERSIZEPIXEL
  612. frame.Position = POSITION
  613. frame.Size = SIZE
  614. frame.BackgroundColor3 = COLOR
  615. frame.BorderColor3 = BORDERCOLOR
  616. frame.Name = NAME
  617. frame.Parent = PARENT
  618. return frame
  619. end
  620.  
  621. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  622. local label = IT("TextLabel")
  623. label.BackgroundTransparency = 1
  624. label.Size = UD2(1, 0, 1, 0)
  625. label.Position = UD2(0, 0, 0, 0)
  626. label.TextColor3 = TEXTCOLOR
  627. label.TextStrokeTransparency = STROKETRANSPARENCY
  628. label.TextTransparency = TRANSPARENCY
  629. label.FontSize = TEXTFONTSIZE
  630. label.Font = TEXTFONT
  631. label.BorderSizePixel = BORDERSIZEPIXEL
  632. label.TextStrokeColor3 = C3(0,0,0)
  633. label.TextScaled = false
  634. label.Text = TEXT
  635. label.Name = NAME
  636. label.Parent = PARENT
  637. return label
  638. end
  639.  
  640. function NoOutlines(PART)
  641. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  642. end
  643.  
  644. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  645. local NEWWELD = IT(TYPE)
  646. NEWWELD.Part0 = PART0
  647. NEWWELD.Part1 = PART1
  648. NEWWELD.C0 = C0
  649. NEWWELD.C1 = C1
  650. NEWWELD.Parent = PARENT
  651. return NEWWELD
  652. end
  653.  
  654. local S = IT("Sound")
  655. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  656. local NEWSOUND = nil
  657. coroutine.resume(coroutine.create(function()
  658. NEWSOUND = S:Clone()
  659. NEWSOUND.Parent = PARENT
  660. NEWSOUND.Volume = VOLUME
  661. NEWSOUND.Pitch = PITCH
  662. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  663. NEWSOUND:play()
  664. if DOESLOOP == true then
  665. NEWSOUND.Looped = true
  666. else
  667. repeat wait(1) until NEWSOUND.Playing == false
  668. NEWSOUND:remove()
  669. end
  670. end))
  671. return NEWSOUND
  672. end
  673.  
  674. function CFrameFromTopBack(at, top, back)
  675. local right = top:Cross(back)
  676. 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)
  677. end
  678.  
  679. --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})
  680. function WACKYEFFECT(Table)
  681. local TYPE = (Table.EffectType or "Sphere")
  682. local SIZE = (Table.Size or VT(1,1,1))
  683. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  684. local TRANSPARENCY = (Table.Transparency or 0)
  685. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  686. local CFRAME = (Table.CFrame or Torso.CFrame)
  687. local MOVEDIRECTION = (Table.MoveToPos or nil)
  688. local ROTATION1 = (Table.RotationX or 0)
  689. local ROTATION2 = (Table.RotationY or 0)
  690. local ROTATION3 = (Table.RotationZ or 0)
  691. local MATERIAL = (Table.Material or "Neon")
  692. local COLOR = (Table.Color or C3(66/255, 0/255, 127/2551))
  693. local TIME = (Table.Time or 45)
  694. local SOUNDID = (Table.SoundID or nil)
  695. local SOUNDPITCH = (Table.SoundPitch or nil)
  696. local SOUNDVOLUME = (Table.SoundVolume or nil)
  697. coroutine.resume(coroutine.create(function()
  698. local PLAYSSOUND = false
  699. local SOUND = nil
  700. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark indigo"), "Effect", VT(1,1,1), true)
  701. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  702. PLAYSSOUND = true
  703. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  704. end
  705. EFFECT.Color = COLOR
  706. local MSH = nil
  707. if TYPE == "Sphere" then
  708. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  709. elseif TYPE == "Block" then
  710. MSH = IT("BlockMesh",EFFECT)
  711. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  712. elseif TYPE == "Wave" then
  713. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  714. elseif TYPE == "Ring" then
  715. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  716. elseif TYPE == "Slash" then
  717. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  718. elseif TYPE == "Round Slash" then
  719. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  720. elseif TYPE == "Swirl" then
  721. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  722. elseif TYPE == "Skull" then
  723. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  724. elseif TYPE == "Crystal" then
  725. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  726. end
  727. if MSH ~= nil then
  728. local MOVESPEED = nil
  729. if MOVEDIRECTION ~= nil then
  730. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  731. end
  732. local GROWTH = SIZE - ENDSIZE
  733. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  734. if TYPE == "Block" then
  735. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  736. else
  737. EFFECT.CFrame = CFRAME
  738. end
  739. for LOOP = 1, TIME+1 do
  740. Swait()
  741. MSH.Scale = MSH.Scale - GROWTH/TIME
  742. if TYPE == "Wave" then
  743. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  744. end
  745. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  746. if TYPE == "Block" then
  747. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  748. else
  749. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  750. end
  751. if MOVEDIRECTION ~= nil then
  752. local ORI = EFFECT.Orientation
  753. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  754. EFFECT.Orientation = ORI
  755. end
  756. end
  757. if PLAYSSOUND == false then
  758. EFFECT:remove()
  759. else
  760. repeat Swait() until SOUND.Playing == false
  761. EFFECT:remove()
  762. end
  763. else
  764. if PLAYSSOUND == false then
  765. EFFECT:remove()
  766. else
  767. repeat Swait() until SOUND.Playing == false
  768. EFFECT:remove()
  769. end
  770. end
  771. end))
  772. end
  773.  
  774. function MakeForm(PART,TYPE)
  775. if TYPE == "Cyl" then
  776. local MSH = IT("CylinderMesh",PART)
  777. elseif TYPE == "Ball" then
  778. local MSH = IT("SpecialMesh",PART)
  779. MSH.MeshType = "Sphere"
  780. elseif TYPE == "Wedge" then
  781. local MSH = IT("SpecialMesh",PART)
  782. MSH.MeshType = "Wedge"
  783. end
  784. end
  785.  
  786. Debris = game:GetService("Debris")
  787.  
  788. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  789. local DIRECTION = CF(StartPos,EndPos).lookVector
  790. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  791. end
  792.  
  793. function turnto(position)
  794. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  795. end
  796.  
  797. --//=================================\\
  798. --|| WEAPON CREATION
  799. --\\=================================//
  800.  
  801. Humanoid.Parent = nil
  802. RootPart.Size = RootPart.Size*SIZE
  803. Torso.Size = Torso.Size*SIZE
  804. RightArm.Size = RightArm.Size*SIZE
  805. RightLeg.Size = RightLeg.Size*SIZE
  806. LeftArm.Size = LeftArm.Size*SIZE
  807. LeftLeg.Size = LeftLeg.Size*SIZE
  808. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  809. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  810. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  811. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  812. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  813. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  814. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  815. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  816. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  817. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  818. Head.Size = Head.Size*SIZE
  819. RootJoint.Parent = RootPart
  820. Neck.Parent = Torso
  821. RightShoulder.Parent = Torso
  822. LeftShoulder.Parent = Torso
  823. RightHip.Parent = Torso
  824. LeftHip.Parent = Torso
  825.  
  826. Humanoid.DisplayDistanceType = "None"
  827. local naeeym2 = IT("BillboardGui",Character)
  828. naeeym2.AlwaysOnTop = true
  829. naeeym2.Size = UDim2.new(5,35,2,15)
  830. naeeym2.StudsOffset = Vector3.new(0,2,0)
  831. naeeym2.MaxDistance = 75
  832. naeeym2.Adornee = Character.Head
  833. naeeym2.Name = "Name"
  834. local tecks2 = IT("TextLabel",naeeym2)
  835. tecks2.BackgroundTransparency = 1
  836. tecks2.TextScaled = true
  837. tecks2.BorderSizePixel = 0
  838. tecks2.Text = "|=| V01D PANDORA |=| "
  839. tecks2.Font = "SciFi"
  840. tecks2.TextSize = 30
  841. tecks2.TextStrokeTransparency = 0
  842. tecks2.TextColor3 = C3(98/255, 37/255, 209/255)
  843. tecks2.TextStrokeColor3 = C3(0, 0, 0)
  844. tecks2.Size = UDim2.new(1,0,0.5,0)
  845. tecks2.Parent = naeeym2
  846. local top = Instance.new("Shirt")
  847. top.ShirtTemplate = "rbxassetid://688546620"
  848. top.Parent = Character
  849. top.Name = "Cloth"
  850. local bottom = Instance.new("Pants")
  851. bottom.PantsTemplate = "rbxassetid://436614990"
  852. bottom.Parent = Character
  853. bottom.Name = "Cloth"
  854. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  855. PRT.Color = C3(0,0,0)
  856. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  857. CreateMesh("SpecialMesh", PRT, "FileMesh", "1028713", "121696731", VT(1,1,1)*SIZE, VT(0,0,0))
  858. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  859. PRT.Color = C3(0,0,0)
  860. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  861. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  862. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  863. PRT.Color = C3(255/255, 0/255, 0/255)
  864. MakeForm(PRT,"Ball")
  865. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  866. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  867. PRT.Color = C3(98/255, 37/255, 209/255)
  868. MakeForm(PRT,"Ball")
  869. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  870. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  871. PRT.Color = C3(98/255, 37/255, 209/255)
  872. MakeForm(PRT,"Ball")
  873. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  874. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  875. PRT.Color = C3(255/255, 0/255, 255/255)
  876. MakeForm(PRT,"Ball")
  877. local Aura = Instance.new('ParticleEmitter')
  878. Aura.Name = "Aura"
  879. Aura.Texture = "rbxassetid://408284293"
  880. Aura.Parent = PRT
  881. Aura.LightEmission = 0.3
  882. Aura.Transparency = NumberSequence.new(0,0.6,1)
  883. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(255/255, 0/255, 0/255))
  884. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  885. Aura.LockedToPart = false
  886. Aura.Lifetime = NumberRange.new(2)
  887. Aura.Rate = 30
  888. Aura.Speed = NumberRange.new(1)
  889. Aura.EmissionDirection = "Top"
  890. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  891. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  892. PRT.Color = C3(98/255, 37/255, 209/255)
  893. MakeForm(PRT,"Ball")
  894. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  895. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  896. PRT.Color = C3(98/255, 37/255, 209/255)
  897. MakeForm(PRT,"Ball")
  898. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  899.  
  900. local LASTPART = Head
  901. for i = 1, 24 do
  902. local MATH = (1-(i/30))
  903. if LASTPART == Head then
  904. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  905. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  906. LASTPART = Horn
  907. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  908. local Aura = Instance.new('ParticleEmitter')
  909. Aura.Name = "Aura"
  910. Aura.Texture = "rbxassetid://463047538"
  911. Aura.Parent = Horn
  912. Aura.LightEmission = 0.8
  913. Aura.Transparency = NumberSequence.new(0,0.6,1)
  914. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  915. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  916. Aura.LockedToPart = true
  917. Aura.Lifetime = NumberRange.new(2)
  918. Aura.Rate = 25
  919. Aura.Speed = NumberRange.new(0.1)
  920. Aura.EmissionDirection = "Top"
  921. else
  922. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  923. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  924. LASTPART = Horn
  925. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  926. local Aura = Instance.new('ParticleEmitter')
  927. Aura.Name = "Aura"
  928. Aura.Texture = "rbxassetid://463047538"
  929. Aura.Parent = Horn
  930. Aura.LightEmission = 0.8
  931. Aura.Transparency = NumberSequence.new(0,0.6,1)
  932. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  933. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  934. Aura.LockedToPart = true
  935. Aura.Lifetime = NumberRange.new(2)
  936. Aura.Rate = 25
  937. Aura.Speed = NumberRange.new(0.1)
  938. Aura.EmissionDirection = "Top"
  939. end
  940. end
  941. local LASTPART = Head
  942. for i = 1, 24 do
  943. local MATH = (1-(i/30))
  944. if LASTPART == Head then
  945. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  946. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  947. LASTPART = Horn
  948. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  949. local Aura = Instance.new('ParticleEmitter')
  950. Aura.Name = "Aura"
  951. Aura.Texture = "rbxassetid://463047538"
  952. Aura.Parent = Horn
  953. Aura.LightEmission = 0.8
  954. Aura.Transparency = NumberSequence.new(0,0.6,1)
  955. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  956. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  957. Aura.LockedToPart = true
  958. Aura.Lifetime = NumberRange.new(2)
  959. Aura.Rate = 25
  960. Aura.Speed = NumberRange.new(0.1)
  961. Aura.EmissionDirection = "Top"
  962. else
  963. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  964. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  965. LASTPART = Horn
  966. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  967. local Aura = Instance.new('ParticleEmitter')
  968. Aura.Name = "Aura"
  969. Aura.Texture = "rbxassetid://463047538"
  970. Aura.Parent = Horn
  971. Aura.LightEmission = 0.8
  972. Aura.Transparency = NumberSequence.new(0,0.6,1)
  973. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  974. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  975. Aura.LockedToPart = true
  976. Aura.Lifetime = NumberRange.new(2)
  977. Aura.Rate = 25
  978. Aura.Speed = NumberRange.new(0.1)
  979. Aura.EmissionDirection = "Top"
  980. end
  981. end
  982. local LASTPART = Head
  983. for i = 1, 8 do
  984. local MATH = (1-(i/14))
  985. if LASTPART == Head then
  986. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  987. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
  988. LASTPART = Horn
  989. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  990. local Aura = Instance.new('ParticleEmitter')
  991. Aura.Name = "Aura"
  992. Aura.Texture = "rbxassetid://463047538"
  993. Aura.Parent = Horn
  994. Aura.LightEmission = 0.8
  995. Aura.Transparency = NumberSequence.new(0,0.6,1)
  996. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  997. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  998. Aura.LockedToPart = true
  999. Aura.Lifetime = NumberRange.new(2)
  1000. Aura.Rate = 25
  1001. Aura.Speed = NumberRange.new(0.1)
  1002. Aura.EmissionDirection = "Top"
  1003. else
  1004. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1005. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  1006. LASTPART = Horn
  1007. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  1008. local Aura = Instance.new('ParticleEmitter')
  1009. Aura.Name = "Aura"
  1010. Aura.Texture = "rbxassetid://463047538"
  1011. Aura.Parent = Horn
  1012. Aura.LightEmission = 0.8
  1013. Aura.Transparency = NumberSequence.new(0,0.6,1)
  1014. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  1015. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  1016. Aura.LockedToPart = true
  1017. Aura.Lifetime = NumberRange.new(2)
  1018. Aura.Rate = 25
  1019. Aura.Speed = NumberRange.new(0.1)
  1020. Aura.EmissionDirection = "Top"
  1021. end
  1022. end
  1023. local LASTPART = Head
  1024. for i = 1, 8 do
  1025. local MATH = (1-(i/14))
  1026. if LASTPART == Head then
  1027. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1028. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
  1029. LASTPART = Horn
  1030. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  1031. local Aura = Instance.new('ParticleEmitter')
  1032. Aura.Name = "Aura"
  1033. Aura.Texture = "rbxassetid://463047538"
  1034. Aura.Parent = Horn
  1035. Aura.LightEmission = 0.8
  1036. Aura.Transparency = NumberSequence.new(0,0.6,1)
  1037. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  1038. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  1039. Aura.LockedToPart = true
  1040. Aura.Lifetime = NumberRange.new(2)
  1041. Aura.Rate = 25
  1042. Aura.Speed = NumberRange.new(0.1)
  1043. Aura.EmissionDirection = "Top"
  1044. else
  1045. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1046. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  1047. LASTPART = Horn
  1048. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  1049. local Aura = Instance.new('ParticleEmitter')
  1050. Aura.Name = "Aura"
  1051. Aura.Texture = "rbxassetid://463047538"
  1052. Aura.Parent = Horn
  1053. Aura.LightEmission = 0.8
  1054. Aura.Transparency = NumberSequence.new(0,0.6,1)
  1055. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  1056. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  1057. Aura.LockedToPart = true
  1058. Aura.Lifetime = NumberRange.new(2)
  1059. Aura.Rate = 25
  1060. Aura.Speed = NumberRange.new(0.1)
  1061. Aura.EmissionDirection = "Top"
  1062. end
  1063. end
  1064. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  1065. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1066. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  1067. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1068. MakeForm(PRT,"Cyl")
  1069. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  1070. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1071. MakeForm(PRT,"Cyl")
  1072. PRT.Color = C3(98/255, 37/255, 209/255)
  1073. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  1074. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1075. MakeForm(RING,"Cyl")
  1076. RING.Color = C3(0,0,0)
  1077. for i = 1, 12 do
  1078. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  1079. PRT.Color = C3(0,0,0)
  1080. local MSH = IT("BlockMesh",PRT)
  1081. MSH.Scale = VT(0.6,1,1)
  1082. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  1083. end
  1084. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1085. PRT.Color = C3(0,0,0)
  1086. local MSH = IT("BlockMesh",PRT)
  1087. MSH.Scale = VT(0.4,1,1)
  1088. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  1089. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1090. PRT.Color = C3(0,0,0)
  1091. local MSH = IT("BlockMesh",PRT)
  1092. MSH.Scale = VT(0.4,1,1)
  1093. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  1094. coroutine.resume(coroutine.create(function()
  1095. while true do
  1096. Swait()
  1097. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1098. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1099. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1100. if CLOCKLOOP <= -150 then
  1101. if VALUE1 == false then
  1102. CLOCKLOOP = 0
  1103. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 2})
  1104. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1105. ApplyAoE(HITPOS,10,15,45,75,true)
  1106. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
  1107. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
  1108. if CLOCKTARGET ~= nil then
  1109. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1110. if CLOCKTARGET.Torso ~= nil then
  1111. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1112. end
  1113. if CLOCKTARGET.Health == 0 then
  1114. CLOCKTARGET = nil
  1115. end
  1116. end
  1117. end
  1118. end
  1119. end
  1120. end))
  1121.  
  1122. for _, c in pairs(Weapon:GetChildren()) do
  1123. if c.ClassName == "Part" then
  1124. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1125. end
  1126. end
  1127.  
  1128. Neck.Name = "Weld"
  1129. RootJoint.Name = "Weld"
  1130. RightShoulder.Name = "Weld"
  1131. LeftShoulder.Name = "Weld"
  1132. RightHip.Name = "Weld"
  1133. LeftHip.Name = "Weld"
  1134.  
  1135. local BODY = {}
  1136. for _, c in pairs(Character:GetDescendants()) do
  1137. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1138. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1139. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1140. end
  1141. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1142. elseif c:IsA("JointInstance") then
  1143. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1144. end
  1145. end
  1146. for e = 1, #BODY do
  1147. if BODY[e] ~= nil then
  1148. local STUFF = BODY[e]
  1149. local PART = STUFF[1]
  1150. local PARENT = STUFF[2]
  1151. local MATERIAL = STUFF[3]
  1152. local COLOR = STUFF[4]
  1153. local TRANSPARENCY = STUFF[5]
  1154. if PART.ClassName == "Part" and PART ~= RootPart then
  1155. PART.Material = MATERIAL
  1156. PART.Color = COLOR
  1157. PART.Transparency = TRANSPARENCY
  1158. end
  1159. PART.AncestryChanged:Connect(function()
  1160. PART.Parent = PARENT
  1161. end)
  1162. end
  1163. end
  1164.  
  1165. function refit()
  1166. Character.Parent = workspace
  1167. for e = 1, #BODY do
  1168. if BODY[e] ~= nil then
  1169. local STUFF = BODY[e]
  1170. local PART = STUFF[1]
  1171. local PARENT = STUFF[2]
  1172. local MATERIAL = STUFF[3]
  1173. local COLOR = STUFF[4]
  1174. local TRANSPARENCY = STUFF[5]
  1175. if PART.ClassName == "Part" and PART ~= RootPart then
  1176. PART.Material = MATERIAL
  1177. PART.Color = COLOR
  1178. PART.Transparency = TRANSPARENCY
  1179. end
  1180. if PART.Parent ~= PARENT then
  1181. Humanoid:remove()
  1182. PART.Parent = PARENT
  1183. Humanoid = IT("Humanoid",Character)
  1184. chatfunc ("I dont have time to die...")
  1185. end
  1186. end
  1187. end
  1188. end
  1189. local SKILLTEXTCOLOR = C3(98/255, 37/255, 209/255)
  1190. local SKILLFONT = "Fantasy"
  1191. local SKILLTEXTSIZE = 7
  1192.  
  1193. Weapon.Parent = Character
  1194. Humanoid.Parent = Character
  1195.  
  1196. Humanoid.Died:connect(function()
  1197. refit()
  1198. end)
  1199. chatfunc("Lets see how long you will live on this world.")
  1200. warn("deivis97 edit")
  1201. warn("tamloveeif02 edit")
  1202. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1203. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1204. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 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")
  1205. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 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")
  1206. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1207. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1208. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.10, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1209.  
  1210.  
  1211. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Void Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1212. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Times Up", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1213. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1214. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Void Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1215. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1216. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Time Stop", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  1217. local SKILL6TEXT = CreateLabel(SKILL7FRAME, "[{1-5}] Musics [{6}] off", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  1218.  
  1219. --//=================================\\
  1220. --|| DAMAGING
  1221. --\\=================================//
  1222.  
  1223. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1224. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1225. defence.Name = ("HitBy"..Player.Name)
  1226. game:GetService("Debris"):AddItem(defence, 0.001)
  1227. Damage = Damage * DAMAGEMULTIPLIER
  1228. if Humanoid.Health ~= 0 then
  1229. local CritChance = MRANDOM(1,100)
  1230. if Damage > Humanoid.Health then
  1231. Damage = math.ceil(Humanoid.Health)
  1232. if Damage == 0 then
  1233. Damage = 0.1
  1234. end
  1235. end
  1236. Humanoid.Health = Humanoid.Health - Damage
  1237. end
  1238. end
  1239.  
  1240. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1241. local CHILDREN = workspace:GetDescendants()
  1242. for index, CHILD in pairs(CHILDREN) do
  1243. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1244. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1245. if HUM then
  1246. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1247. if TORSO then
  1248. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1249. if INSTAKILL == false then
  1250. CHILD:BreakJoints()
  1251. else
  1252. local DMG = MRANDOM(MINDMG,MAXDMG)
  1253. ApplyDamage(HUM,DMG,TORSO)
  1254. end
  1255. if FLING > 0 then
  1256. for _, c in pairs(CHILD:GetChildren()) do
  1257. if c:IsA("BasePart") then
  1258. local bv = Instance.new("BodyVelocity")
  1259. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1260. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1261. bv.Parent = c
  1262. Debris:AddItem(bv,0.05)
  1263. end
  1264. end
  1265. end
  1266. end
  1267. end
  1268. end
  1269. end
  1270. end
  1271. end
  1272.  
  1273. --//=================================\\
  1274. --|| ATTACK FUNCTIONS AND STUFF
  1275. --\\=================================//
  1276.  
  1277. Circle = nil
  1278. CircleParts = {}
  1279. Equipped = false
  1280.  
  1281. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1282. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1283. end
  1284. Equipped = true
  1285. Circle = Instance.new("Model")
  1286. Circle.Name = "Circle"
  1287. Angle = 0
  1288. for i = 1, 1 do
  1289. local CirclePart = Instance.new("Part")
  1290. CirclePart.Name = "CirclePart"
  1291. CirclePart.Transparency = 1
  1292. CirclePart.BrickColor = BrickColor.new("Really black")
  1293. CirclePart.Material = Enum.Material.Plastic
  1294. CirclePart.Shape = Enum.PartType.Block
  1295. CirclePart.FormFactor = Enum.FormFactor.Custom
  1296. CirclePart.TopSurface = Enum.SurfaceType.Smooth
  1297. CirclePart.BottomSurface = Enum.SurfaceType.Smooth
  1298. CirclePart.Anchored = true
  1299. CirclePart.CanCollide = false
  1300. CirclePart.Locked = true
  1301. CirclePart.Size = Vector3.new(10, 0.2, 10)
  1302. local Aura = Instance.new('ParticleEmitter')
  1303. Aura.Name = "Aura"
  1304. Aura.Texture = "rbxassetid://341277531"
  1305. Aura.Parent = CirclePart
  1306. Aura.LightEmission = 0
  1307. Aura.Transparency = NumberSequence.new(0.2,0.4,1)
  1308. Aura.Color = ColorSequence.new(Color3.new(98/255, 37/255, 209/255),Color3.new(255/200, 200/200, 200/200))
  1309. Aura.Size = NumberSequence.new(0.9,0.5,0.3)
  1310. Aura.LockedToPart = false
  1311. Aura.Lifetime = NumberRange.new(1)
  1312. Aura.Rate = 50
  1313. Aura.Speed = NumberRange.new(2.5)
  1314. Aura.SpreadAngle = Vector2.new(80,80)
  1315. local BlockMesh = Instance.new("BlockMesh")
  1316. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  1317. BlockMesh.Parent = CirclePart
  1318. CirclePart.Parent = Circle
  1319. local Star = Instance.new("Decal", CirclePart)
  1320. Star.Texture = "http://www.roblox.com/asset/?id=268043891"
  1321. Star.Face = "Top"
  1322. local Light = Instance.new("PointLight", CirclePart)
  1323. Light.Color = Color3.new(.20,0,0)
  1324. Light.Brightness = 100
  1325. Light.Range = 15
  1326. table.insert(CircleParts, CirclePart)
  1327. end
  1328. Spawn(function()
  1329. while Equipped and Humanoid.Parent and Torso.Parent do
  1330. if Angle == 360 then
  1331. Angle = 0
  1332. end
  1333. Angle = Angle + 0.05
  1334. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  1335. if Hit then
  1336. if not Circle.Parent then
  1337. Circle.Parent = Character
  1338. end
  1339. for i, v in pairs(CircleParts) do
  1340. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  1341. end
  1342. else
  1343. Circle.Parent = nil
  1344. end
  1345. wait()
  1346. end
  1347. end)
  1348.  
  1349.  
  1350.  
  1351. function MagicMissiles()
  1352. ATTACK = true
  1353. Rooted = false
  1354. local SELECTING = true
  1355. local SPOTS = {}
  1356. coroutine.resume(coroutine.create(function()
  1357. local LOOP = 0
  1358. repeat
  1359. LOOP = LOOP + 1
  1360. Swait()
  1361. if LOOP >= 15 then
  1362. LOOP = 0
  1363. for i = 1, #SPOTS do
  1364. if SPOTS[i] ~= nil then
  1365. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1366. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1367. end
  1368. end
  1369. end
  1370. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1371. 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)
  1372. 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)
  1373. 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)
  1374. 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)
  1375. 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)
  1376. until SELECTING == false
  1377. Rooted = false
  1378. repeat
  1379. LOOP = LOOP + 1
  1380. Swait()
  1381. if LOOP >= 15 then
  1382. LOOP = 0
  1383. for i = 1, #SPOTS do
  1384. if SPOTS[i] ~= nil then
  1385. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(98/255, 37/255, 209/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1386. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(98/255, 37/255, 209/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1387. end
  1388. end
  1389. end
  1390. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1391. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1392. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1393. 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)
  1394. 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)
  1395. 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)
  1396. until ATTACK == false
  1397. end))
  1398. repeat
  1399. repeat Swait() until HOLD == true
  1400. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1401. if DIST > 9999 then
  1402. DIST = 9999
  1403. end
  1404. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1405. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1406. if HITFLOOR ~= nil then
  1407. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  1408. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(98/255, 37/255, 209/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  1409. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(98/255, 37/255, 209/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1410. end
  1411. repeat Swait() until HOLD == false
  1412. until #SPOTS == 5
  1413. SELECTING = false
  1414. for i = 1, #SPOTS do
  1415. if SPOTS[i] ~= nil then
  1416. local POS = SPOTS[i]
  1417. coroutine.resume(coroutine.create(function()
  1418. local MISSILE = IT("Model",Effects)
  1419. MISSILE.Name = "Missile"
  1420. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Royal Purple", "Part", VT(2,2,2))
  1421. MakeForm(BASEPART,"Cyl")
  1422. MISSILE.PrimaryPart = BASEPART
  1423. BASEPART.CFrame = POS*CF(0,-30*3,0)
  1424. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Royal Purple", "Part", VT(2,4,2))
  1425. MakeForm(HEAD,"Ball")
  1426. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  1427. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Royal Purple", "Part", VT(2.5,0.1,2.5))
  1428. MakeForm(TAIL,"Cyl")
  1429. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  1430. chatfunc("Void Nukes, Strike them!")
  1431. for i = 1, 15 do
  1432. Swait()
  1433. for _, c in pairs(MISSILE:GetChildren()) do
  1434. if c.ClassName == "Part" then
  1435. c.Transparency = c.Transparency - 1/10
  1436. end
  1437. end
  1438. end
  1439. for i = 1, 15*1.5 do
  1440. Swait()
  1441. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  1442. end
  1443. ApplyAoE(BASEPART.CFrame.p,200,350,450,750,true)
  1444. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(550,150,550), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(98/255, 37/255, 209/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1445. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(98/255, 37/255, 209/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  1446. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(120,1,120), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(98/255, 37/255, 209/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1447. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(100,2,100), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(98/255, 37/255, 209/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1448. MISSILE:remove()
  1449. end))
  1450. end
  1451. end
  1452. wait(0.6)
  1453. ATTACK = false
  1454. Rooted = false
  1455. end
  1456.  
  1457. function TimesUp()
  1458. CLOCKTARGET = nil
  1459. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1460. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1461. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1462. if TORSO then
  1463. ATTACK = true
  1464. Rooted = false
  1465. coroutine.resume(coroutine.create(function()
  1466. repeat
  1467. Swait()
  1468. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1469. 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)
  1470. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1471. 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)
  1472. 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)
  1473. 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)
  1474. until ATTACK == false
  1475. end))
  1476. if Effects:FindFirstChild("NeonDoll") then
  1477. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1478. end
  1479. wait(0.5)
  1480. local FAKECHARACTER = IT("Model",Effects)
  1481. FAKECHARACTER.Name = "NeonDoll"
  1482. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.3,0.3,0.15),false)
  1483. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1484. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  1485. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1486. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  1487. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1488. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  1489. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1490. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  1491. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1492. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.15,0.15),false)
  1493. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1494. CreateSound(201858045, TORS, 5, 0.4, false)
  1495. for i = 1, 50 do
  1496. Swait()
  1497. CLOCKSPEED = 2.5
  1498. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1499. if c.ClassName == "Part" then
  1500. c.Transparency = c.Transparency - 0.5/150
  1501. end
  1502. end
  1503. end
  1504. CLOCKTARGET = HUM
  1505. coroutine.resume(coroutine.create(function()
  1506. repeat Swait() CLOCKSPEED = 10000 until CLOCKTARGET == nil
  1507. for i = 1, 25 do
  1508. Swait()
  1509. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1510. if c.ClassName == "Part" then
  1511. c.Transparency = c.Transparency + 0.5/25
  1512. end
  1513. end
  1514. end
  1515. CLOCKSPEED = 4
  1516. FAKECHARACTER:remove()
  1517. end))
  1518. wait(0.5)
  1519. ATTACK = false
  1520. Rooted = false
  1521. end
  1522. end
  1523. end
  1524.  
  1525. function killnearest(position,range,maxstrength)
  1526. for i,v in ipairs(workspace:GetChildren()) do
  1527. local body = v:GetChildren()
  1528. for part = 1, #body do
  1529. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1530. if(body[part].Position - position).Magnitude < range then
  1531. if v.ClassName == "Model" then
  1532. v:BreakJoints()
  1533. end
  1534. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1535. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1536. end
  1537. end
  1538. end
  1539. if v.ClassName == "Part" then
  1540. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1541. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1542. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1543. end
  1544. end
  1545. end
  1546. end
  1547.  
  1548. function MagicSphere2(size,waitt,cframe,color)
  1549. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  1550. local mesh = IT("SpecialMesh",wave)
  1551. mesh.MeshType = "Sphere"
  1552. mesh.Scale = VT(size,size,size)
  1553. mesh.Offset = VT(0,0,0)
  1554. wave.CFrame = cframe
  1555. coroutine.resume(coroutine.create(function(PART)
  1556. for i = 1, waitt do
  1557. Swait()
  1558. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  1559. wave.Transparency = wave.Transparency - (1/waitt)
  1560. end
  1561. wave:remove()
  1562. end))
  1563. end
  1564.  
  1565. function MagicSphere(size,waitt,cframe,color)
  1566. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  1567. local mesh = IT("SpecialMesh",wave)
  1568. mesh.MeshType = "Sphere"
  1569. mesh.Scale = VT(size,size,size)
  1570. mesh.Offset = VT(0,0,0)
  1571. wave.CFrame = cframe
  1572. coroutine.resume(coroutine.create(function(PART)
  1573. for i = 1, waitt do
  1574. Swait()
  1575. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1576. wave.Transparency = wave.Transparency + (1/waitt)
  1577. if wave.Transparency > 0.99 then
  1578. wave:remove()
  1579. end
  1580. end
  1581. end))
  1582. end
  1583.  
  1584. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  1585. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1586. local mesh = IT("SpecialMesh",wave)
  1587. mesh.MeshType = "FileMesh"
  1588. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1589. mesh.Scale = VT(size,size,size)
  1590. wave.CFrame = cframe
  1591. coroutine.resume(coroutine.create(function(PART)
  1592. for i = 1, waitt do
  1593. Swait()
  1594. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  1595. if doesrotate == true then
  1596. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1597. end
  1598. wave.Transparency = wave.Transparency + (0.5/waitt)
  1599. if wave.Transparency > 0.99 then
  1600. wave:remove()
  1601. end
  1602. end
  1603. end))
  1604. end
  1605.  
  1606. function CheckTableForString(Table, String)
  1607. for i, v in pairs(Table) do
  1608. if string.find(string.lower(String), string.lower(v)) then
  1609. return true
  1610. end
  1611. end
  1612. return false
  1613. end
  1614.  
  1615. function CheckIntangible(Hit)
  1616. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1617. if Hit and Hit.Parent then
  1618. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1619. return true
  1620. end
  1621. end
  1622. return false
  1623. end
  1624.  
  1625. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1626. local Direction = CFrame.new(StartPos, Vec).lookVector
  1627. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1628. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1629. if RayHit and CheckIntangible(RayHit) then
  1630. if DelayIfHit then
  1631. wait()
  1632. end
  1633. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1634. end
  1635. return RayHit, RayPos, RayNormal
  1636. end
  1637.  
  1638. function RavagingOverthrower()
  1639. ATTACK = true
  1640. Rooted = true
  1641. chatfunc ("Eat this")
  1642. for i=0, 1, 0.1 / Animation_Speed do
  1643. Swait()
  1644. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE + 0.05 * COS(SINE / 12) * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1645. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1646. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1647. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1648. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1649. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1650. end
  1651. CreateSound("348663022", Torso, 5, 1)
  1652. local StartPos = RootPart.CFrame * CF(0,10,0).p
  1653. for i = 1, 5 do
  1654. MagicSphere2(50,50,CF(StartPos),"Royal purple")
  1655. Swait(15)
  1656. end
  1657. local soundeffect = IT("Sound",Torso)
  1658. soundeffect.SoundId = "rbxassetid://487186990"
  1659. soundeffect.Looped = true
  1660. soundeffect.Volume = 10
  1661. soundeffect.Playing = true
  1662. repeat
  1663. turnto(Mouse.Hit.p)
  1664. MagicSphere2(25,25,CF(StartPos),"Royal purple")
  1665. MagicSphere(25/10,25,CF(StartPos),"Royal purple")
  1666. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  1667. local distance = (StartPos - RayPos).magnitude
  1668. local RayBeam = IT("Part",Effects)
  1669. RayBeam.Material = "Neon"
  1670. RayBeam.Anchored = true
  1671. RayBeam.BrickColor = BRICKC"Royal purple"
  1672. local mesh = IT("SpecialMesh",RayBeam)
  1673. mesh.MeshType = "Cylinder"
  1674. RayBeam.Size = Vector3.new(distance+10, 5, 5)
  1675. RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  1676. MagicSphere(45,20,CF(RayPos),"Royal purple")
  1677. killnearest(RayPos,65,100)
  1678. for i = 1, 3 do
  1679. CreateSwirl(0,65,true,-0.2,5,CF(RayPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really black")
  1680. end
  1681. Swait()
  1682. if KEYHOLD == false then
  1683. coroutine.resume(coroutine.create(function()
  1684. for i = 1, 5 do
  1685. RayBeam.Transparency = RayBeam.Transparency + 1/5
  1686. Swait()
  1687. end
  1688. RayBeam:remove()
  1689. end))
  1690. else
  1691. RayBeam:remove()
  1692. end
  1693. until KEYHOLD == false
  1694. soundeffect:remove()
  1695. ATTACK = false
  1696. Rooted = false
  1697. end
  1698.  
  1699. function ChainPunch()
  1700. ATTACK = true
  1701. Rooted = false
  1702. local GYRO = IT("BodyGyro",RootPart)
  1703. GYRO.D = 25
  1704. GYRO.P = 2000
  1705. GYRO.MaxTorque = VT(0,40000,0)
  1706. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1707. repeat
  1708. Swait()
  1709. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1710. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1711. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1712. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1713. 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)
  1714. 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)
  1715. 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)
  1716. until HOLD == true
  1717. local POS = Mouse.Hit.p
  1718. local CHAINS = false
  1719. local CHAINLINKS = {}
  1720. local A = IT("Attachment",RightArm)
  1721. A.Position = VT(1,-1,0)*SIZE
  1722. A.Orientation = VT(-90, -89.982, 0)
  1723. local B = IT("Attachment",RightArm)
  1724. B.Position = VT(-1,-1,0)*SIZE
  1725. B.Orientation = VT(-90, 89.988, 0)
  1726. local C = IT("Attachment",RightArm)
  1727. C.Position = VT(0.5,-1.3,0)*SIZE
  1728. C.Orientation = VT(-90, -89.982, 0)
  1729. local D = IT("Attachment",RightArm)
  1730. D.Position = VT(-0.5,-1.3,0)*SIZE
  1731. D.Orientation = VT(-90, 89.988, 0)
  1732. local LIGHT = IT("Attachment",RightArm)
  1733. LIGHT.Position = VT(0,-1,0)*SIZE
  1734. local LIGHT2 = IT("PointLight",LIGHT)
  1735. LIGHT2.Range = 7
  1736. LIGHT2.Brightness = 5
  1737. LIGHT2.Color = SKILLTEXTCOLOR
  1738. chatfunc("Heres your stupid potion,")
  1739. for i = 1, 2 do
  1740. local TWIST = -2
  1741. local START = A
  1742. local END = B
  1743. if i == 1 then
  1744. START = B
  1745. END = A
  1746. end
  1747. local ChainLink = IT("Beam",Torso)
  1748. ChainLink.Texture = "rbxassetid://73042633"
  1749. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1750. ChainLink.TextureSpeed = 1
  1751. ChainLink.Width0 = 1
  1752. ChainLink.Width1 = 1
  1753. ChainLink.TextureLength = 2.5
  1754. ChainLink.Attachment0 = START
  1755. ChainLink.Attachment1 = END
  1756. ChainLink.CurveSize0 = TWIST
  1757. ChainLink.CurveSize1 = TWIST
  1758. --ChainLink.FaceCamera = true
  1759. ChainLink.Segments = 45
  1760. ChainLink.Transparency = NumberSequence.new(1)
  1761. table.insert(CHAINLINKS,ChainLink)
  1762. end
  1763. for i = 1, 2 do
  1764. local TWIST = -1
  1765. local START = C
  1766. local END = D
  1767. if i == 1 then
  1768. START = D
  1769. END = C
  1770. end
  1771. local ChainLink = IT("Beam",Torso)
  1772. ChainLink.Texture = "rbxassetid://73042633"
  1773. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1774. ChainLink.TextureSpeed = 1
  1775. ChainLink.Width0 = 1
  1776. ChainLink.Width1 = 1
  1777. ChainLink.TextureLength = 5
  1778. ChainLink.Attachment0 = START
  1779. ChainLink.Attachment1 = END
  1780. ChainLink.CurveSize0 = TWIST
  1781. ChainLink.CurveSize1 = TWIST
  1782. --ChainLink.FaceCamera = true
  1783. ChainLink.Segments = 25
  1784. ChainLink.LightEmission = 0.5
  1785. ChainLink.Transparency = NumberSequence.new(1)
  1786. table.insert(CHAINLINKS,ChainLink)
  1787. end
  1788. coroutine.resume(coroutine.create(function()
  1789. repeat
  1790. Swait()
  1791. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1792. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1793. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1794. 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)
  1795. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1796. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1797. until CHAINS == true
  1798. repeat
  1799. Swait()
  1800. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1801. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1802. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1803. 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)
  1804. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1805. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1806. until ATTACK == false
  1807. for e = 1, 15 do
  1808. Swait()
  1809. chatfunc("And get Cursed.")
  1810. for i = 1, #CHAINLINKS do
  1811. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1812. end
  1813. end
  1814. A:remove()
  1815. B:remove()
  1816. C:remove()
  1817. D:remove()
  1818. end))
  1819. CreateSound(233856115, RightArm, 5, 1.2, false)
  1820. for e = 1, 15 do
  1821. Swait()
  1822. for i = 1, #CHAINLINKS do
  1823. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1824. end
  1825. end
  1826. CHAINS = true
  1827. Rooted = true
  1828. wait(0.25)
  1829. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Royal Purple", "Part", VT(2,2,2))
  1830. FIST.Color = C3(98/255, 37/255, 209/255)
  1831. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1832. local LIGHT3 = IT("PointLight",FIST)
  1833. LIGHT3.Range = 7
  1834. LIGHT3.Brightness = 5
  1835. LIGHT3.Color = SKILLTEXTCOLOR
  1836. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1837. local FISTA = IT("Attachment",FIST)
  1838. FISTA.Position = VT(0.062, 0.977, 0)
  1839. local ChainLink = IT("Beam",Torso)
  1840. ChainLink.Texture = "rbxassetid://73042633"
  1841. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1842. ChainLink.TextureSpeed = 2
  1843. ChainLink.Width0 = 3
  1844. ChainLink.Width1 = 3
  1845. ChainLink.TextureLength = 12
  1846. ChainLink.Attachment0 = LIGHT
  1847. ChainLink.Attachment1 = FISTA
  1848. ChainLink.FaceCamera = true
  1849. ChainLink.Segments = 45
  1850. ChainLink.LightEmission = 0.5
  1851. ChainLink.Transparency = NumberSequence.new(0.25)
  1852. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1853. for i = 1, 85 do
  1854. Swait()
  1855. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1856. ChainLink.TextureLength = 12+(i*2)
  1857. ApplyAoE(FIST.Position,10,15,25,100,true)
  1858. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(98/255, 37/255, 209/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1859. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1860. if HITFLOOR ~= nil then
  1861. HITFLOOR:BreakJoints()
  1862. coroutine.resume(coroutine.create(function()
  1863. for i = 1, 15 do
  1864. Swait()
  1865. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1866. ApplyAoE(FIST.Position,10+(i*2),5,15,5,true)
  1867. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.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(98/255, 37/255, 209/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1868. end
  1869. end))
  1870. break
  1871. end
  1872. end
  1873. coroutine.resume(coroutine.create(function()
  1874. for i = 1, 50 do
  1875. Swait()
  1876. FIST.Transparency = FIST.Transparency + 0.5/50
  1877. LIGHT3.Range = LIGHT3.Range - 7/50
  1878. end
  1879. FIST:remove()
  1880. end))
  1881. LIGHT:remove()
  1882. GYRO:remove()
  1883. ATTACK = false
  1884. Rooted = false
  1885. end
  1886.  
  1887. function WarpMeteor()
  1888. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1889. if DIST > 9999 then
  1890. DIST = 9999
  1891. end
  1892. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1893. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1894. if HITFLOOR then
  1895. local POS = HITPOS
  1896. ATTACK = true
  1897. Rooted = false
  1898. local WARPED = false
  1899. local SMASHED = false
  1900. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1901. coroutine.resume(coroutine.create(function()
  1902. repeat
  1903. Swait()
  1904. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1905. 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)
  1906. RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1907. 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)
  1908. 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)
  1909. 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)
  1910. until WARPED == true
  1911. repeat
  1912. Swait()
  1913. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1914. 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)
  1915. RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1916. 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)
  1917. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*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)
  1918. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*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)
  1919. until SMASHED == true
  1920. repeat
  1921. Swait()
  1922. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1923. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
  1924. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1925. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1926. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  1927. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1928. until ATTACK == false
  1929. end))
  1930. VALUE1 = true
  1931. CreateSound(233856115, Torso, 5, 1.6, false)
  1932. chatfunc("This hurt more than you think")
  1933. for i = 1, 25 do
  1934. Swait()
  1935. for _, c in pairs(Character:GetChildren()) do
  1936. if c.ClassName == "Part" then
  1937. c.Transparency = c.Transparency + 1/25
  1938. end
  1939. end
  1940. for _, c in pairs(Weapon:GetChildren()) do
  1941. if c.ClassName == "Part" then
  1942. c.Transparency = c.Transparency + 1/25
  1943. end
  1944. end
  1945. end
  1946. UNANCHOR = false
  1947. RootPart.Anchored = true
  1948. RootPart.Velocity = VT(0,0,0)
  1949. local ROOTPOS = RootPart.Position
  1950. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  1951. WARPED = true
  1952. for i = 1, 25 do
  1953. Swait()
  1954. for _, c in pairs(Character:GetChildren()) do
  1955. if c.ClassName == "Part" then
  1956. c.Transparency = c.Transparency - 1/25
  1957. end
  1958. end
  1959. for _, c in pairs(Weapon:GetChildren()) do
  1960. if c.ClassName == "Part" then
  1961. c.Transparency = c.Transparency - 1/25
  1962. end
  1963. end
  1964. end
  1965. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Magenta", "Part", VT(0,0,0))
  1966. SHELL.CFrame = RootPart.CFrame
  1967. MakeForm(SHELL,"Ball")
  1968. CreateSound(402981977, SHELL, 5, 1.6, false)
  1969. for i = 1, 10 do
  1970. Swait()
  1971. SHELL.Transparency = SHELL.Transparency - 1/10
  1972. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  1973. end
  1974. for i = 1, math.ceil(75/2) do
  1975. Swait()
  1976. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  1977. SHELL.CFrame = CF(RootPart.Position)
  1978. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1979. end
  1980. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  1981. SHELL.CFrame = CF(RootPart.Position)
  1982. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  1983. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1984. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1985. for i = 1, 5 do
  1986. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.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(98/255, 37/255, 209/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1987. end
  1988. SHELL:remove()
  1989. ApplyAoE(RootPart.Position,75,35,75,175,true)
  1990. SMASHED = true
  1991. wait(1)
  1992. VALUE1 = false
  1993. UNANCHOR = true
  1994. ATTACK = false
  1995. Rooted = false
  1996. end
  1997. end
  1998.  
  1999. function PandorasBox()
  2000. 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)
  2001. if HITFLOOR ~= nil then
  2002. ATTACK = false
  2003. Rooted = false
  2004. local RINGSPIN = true
  2005. local CONSTRUCTING = true
  2006. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Magenta", "Ring", VT(0,0,0))
  2007. RING.Color = C3(0,0,0)
  2008. MakeForm(RING,"Cyl")
  2009. RING.CFrame = CF(HITPOS)
  2010. CreateSound(402981977, RING, 5, 1.2, false)
  2011. coroutine.resume(coroutine.create(function()
  2012. repeat
  2013. Swait()
  2014. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2015. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2016. 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)
  2017. 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)
  2018. 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)
  2019. 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)
  2020. 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)
  2021. until CONSTRUCTING == false
  2022. repeat
  2023. Swait()
  2024. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2025. until RINGSPIN == false
  2026. for i = 1, 25 do
  2027. Swait()
  2028. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2029. RING.Size = RING.Size - VT(0.15,0,0.15)
  2030. --DECAL.Transparency = DECAL.Transparency + 1/25
  2031. RING.Transparency = RING.Transparency + 1/25
  2032. end
  2033. RING:remove()
  2034. end))
  2035. for i = 1, 15 do
  2036. Swait()
  2037. RING.Size = RING.Size + VT(0.75,0,0.75)
  2038. RING.Transparency = RING.Transparency - 1/15
  2039. end
  2040. chatfunc("Lets see what the pandora Box got for you.")
  2041. local BOXSPIN = true
  2042. local PANDORASBOX = IT("Model",Effects)
  2043. PANDORASBOX.Name = "Pandora's Box"
  2044. local BOX = IT("Model",PANDORASBOX)
  2045. BOX.Name = "Body"
  2046. local LID = IT("Model",PANDORASBOX)
  2047. LID.Name = "Lid"
  2048. --BUILDING THE BOX--
  2049. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Magenta", "Black", VT(2,1.8,2))
  2050. BASE.Color = C3(0,0,0)
  2051. PANDORASBOX.PrimaryPart = BASE
  2052. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  2053. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal purple", "Marble", VT(0.2,1.9,0.2))
  2054. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  2055. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal purple", "Marble", VT(0.2,1.9,0.2))
  2056. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  2057. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal purple", "Marble", VT(0.2,1.9,0.2))
  2058. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  2059. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal purple", "Marble", VT(0.2,1.9,0.2))
  2060. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  2061. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal purple", "Marble", VT(2.1,0.2,0.2))
  2062. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  2063. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal purple", "Marble", VT(2.1,0.2,0.2))
  2064. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  2065. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal purple", "Marble", VT(0.2,0.2,2.1))
  2066. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  2067. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal purple", "Marble", VT(0.2,0.2,2.1))
  2068. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  2069. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal purple", "Marble", VT(2.1,0.2,0.2))
  2070. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  2071. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal purple", "Marble", VT(2.1,0.2,0.2))
  2072. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  2073. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal purple", "Marble", VT(0.2,0.2,2.1))
  2074. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  2075. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal purple", "Marble", VT(0.2,0.2,2.1))
  2076. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  2077. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  2078. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  2079. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  2080. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  2081. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  2082. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  2083. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  2084. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  2085. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  2086. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  2087. -------------
  2088. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  2089. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  2090. LID.PrimaryPart = LIDPART
  2091. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Royal purple", "Marble", VT(2.1,0.2,0.2))
  2092. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  2093. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Royal purple", "Marble", VT(2.1,0.2,0.2))
  2094. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  2095. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Royal purple", "Marble", VT(0.2,0.2,2.1))
  2096. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  2097. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Royal purple", "Marble", VT(0.2,0.2,2.1))
  2098. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  2099. local DECAL = IT("Decal",LIDPART)
  2100. DECAL.Face = "Top"
  2101. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  2102. DECAL.Color3 = C3(0,0,0)
  2103. --BUILDING THE BOX--
  2104. coroutine.resume(coroutine.create(function()
  2105. repeat
  2106. Swait()
  2107. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  2108. until BOXSPIN == false
  2109. end))
  2110. for i = 1, 25 do
  2111. Swait()
  2112. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  2113. end
  2114. wait(0.5)
  2115. BOXSPIN = false
  2116. CONSTRUCTING = false
  2117. coroutine.resume(coroutine.create(function()
  2118. 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})
  2119. --[[for i = 1, 45 do
  2120. Swait()
  2121. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  2122. end-
  2123. LID:remove()]]--
  2124. for _, c in pairs(LID:GetChildren()) do
  2125. if c.ClassName == "Part" then
  2126. c.Anchored = false
  2127. c.CanCollide = true
  2128. if c ~= LIDPART then
  2129. weldBetween(LIDPART,c)
  2130. end
  2131. end
  2132. end
  2133. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  2134. Debris:AddItem(LID,15)
  2135. wait(0.5)
  2136. local RANDOMEFFECT = MRANDOM(1,4)
  2137. if RANDOMEFFECT == 1 then
  2138. for i = 1, 45 do
  2139. wait((2-(i/15))/15)
  2140. 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})
  2141. end
  2142. wait(1)
  2143. 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})
  2144. 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})
  2145. 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})
  2146. for i = 1, 5 do
  2147. 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})
  2148. end
  2149. ApplyAoE(BASE.Position,50,1,200,375,true)
  2150. ApplyAoE(BASE.Position,250,35,75,175,true)
  2151. elseif RANDOMEFFECT == 2 then
  2152. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Magenta", "Field", VT(0.3,0.3,0.3))
  2153. FIELD.CFrame = BASE.CFrame
  2154. MakeForm(FIELD,"Ball")
  2155. for i = 1, 50 do
  2156. Swait()
  2157. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2158. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2159. end
  2160. wait(0.2)
  2161. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  2162. coroutine.resume(coroutine.create(function()
  2163. for i = 1, 75 do
  2164. Swait()
  2165. LOOP.Volume = LOOP.Volume + 10/75
  2166. LOOP.Parent = FIELD
  2167. local CHILDREN = workspace:GetDescendants()
  2168. for index, CHILD in pairs(CHILDREN) do
  2169. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2170. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2171. if HUM then
  2172. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2173. if TORSO then
  2174. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2175. HUM.Health = HUM.Health - 1.5
  2176. TORSO.Velocity = VT(0,5,0)
  2177. HUM.PlatformStand = true
  2178. if TORSO.RotVelocity.Magnitude < 15 then
  2179. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2180. end
  2181. end
  2182. end
  2183. end
  2184. end
  2185. end
  2186. FIELD.Size = FIELD.Size + VT(9,9,9)
  2187. FIELD.Transparency = FIELD.Transparency + 0.8/75
  2188. end
  2189. for i = 1, 500 do
  2190. Swait()
  2191. LOOP.Parent = FIELD
  2192. local CHILDREN = workspace:GetDescendants()
  2193. for index, CHILD in pairs(CHILDREN) do
  2194. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2195. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2196. if HUM then
  2197. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2198. if TORSO then
  2199. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2200. TORSO.Velocity = VT(0,5,0)
  2201. HUM.Health = HUM.Health - 1.5
  2202. HUM.PlatformStand = true
  2203. if TORSO.RotVelocity.Magnitude < 15 then
  2204. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2205. end
  2206. end
  2207. end
  2208. end
  2209. end
  2210. end
  2211. end
  2212. for i = 1, 25 do
  2213. Swait()
  2214. LOOP.Volume = LOOP.Volume + 10/25
  2215. LOOP.Parent = FIELD
  2216. local CHILDREN = workspace:GetDescendants()
  2217. for index, CHILD in pairs(CHILDREN) do
  2218. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2219. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2220. if HUM then
  2221. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2222. if TORSO then
  2223. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2224. TORSO.Velocity = VT(0,5,0)
  2225. HUM.Health = HUM.Health - 1.5
  2226. HUM.PlatformStand = false
  2227. if TORSO.RotVelocity.Magnitude < 15 then
  2228. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2229. end
  2230. end
  2231. end
  2232. end
  2233. end
  2234. end
  2235. FIELD.Size = FIELD.Size - VT(3,3,3)
  2236. FIELD.Transparency = FIELD.Transparency + 0.2/25
  2237. end
  2238. FIELD:remove()
  2239. end))
  2240. elseif RANDOMEFFECT == 3 then
  2241. for i = 1, 10 do
  2242. wait(0.15)
  2243. 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})
  2244. coroutine.resume(coroutine.create(function()
  2245. local MINION = CLONE:Clone()
  2246. MINION.Parent = Effects
  2247. MINION.Name = "Shadow"
  2248. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  2249. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  2250. for _, c in pairs(MINION:GetChildren()) do
  2251. if c.ClassName == "Part" then
  2252. c.Material = "Neon"
  2253. c.Color = C3(0,0,0)
  2254. c.Transparency = 0.25
  2255. if c.Name == "Head" then
  2256. c:ClearAllChildren()
  2257. local MSH = IT("BlockMesh",c)
  2258. MSH.Scale = VT(0.5,1,1)
  2259. end
  2260. end
  2261. end
  2262. local TORSO = MINION.Torso
  2263. local HUMAN = MINION.Humanoid
  2264. HUMAN.WalkSpeed = 20
  2265. HUMAN.MaxHealth = math.huge
  2266. HUMAN.Health = math.huge
  2267. HUMAN.DisplayDistanceType = "None"
  2268. HUMAN.Died:connect(function()
  2269. MINION:remove()
  2270. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  2271. end)
  2272. wait(1)
  2273. local findNearestTorso = function(POS)
  2274. local list = game.Workspace:GetDescendants()
  2275. local torso = nil
  2276. local dist = 500
  2277. local temp = nil
  2278. local human = nil
  2279. local temp2 = nil
  2280. for x = 1, #list do
  2281. temp2 = list[x]
  2282. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  2283. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2284. human = temp2:findFirstChildOfClass("Humanoid")
  2285. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2286. if (temp.Position - POS).magnitude < dist then
  2287. torso = temp
  2288. dist = (temp.Position - POS).magnitude
  2289. end
  2290. end
  2291. end
  2292. end
  2293. return torso, dist
  2294. end
  2295. for i = 1, 40 do
  2296. if HUMAN.Health == 0 then
  2297. break
  2298. end
  2299. wait(0.3)
  2300. local target,dist= findNearestTorso(TORSO.Position)
  2301. if target then
  2302. HUMAN:MoveTo(target.Position)
  2303. if dist < 25 then
  2304. CreateSound(348663022, TORSO, 10, 1, true)
  2305. wait(2)
  2306. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  2307. --ANIM:Play()
  2308. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  2309. ApplyAoE(TORSO.Position,10,0,0,85,true)
  2310. 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})
  2311. for i = 1, 5 do
  2312. 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})
  2313. end
  2314. break
  2315. end
  2316. end
  2317. end
  2318. MINION:remove()
  2319. end))
  2320. end
  2321. elseif RANDOMEFFECT == 4 then
  2322. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Magenta", "Field", VT(0.3,0.3,0.3))
  2323. FIELD.Color = C3(0,0,0)
  2324. FIELD.CFrame = BASE.CFrame
  2325. MakeForm(FIELD,"Ball")
  2326. FIELD.CanCollide = true
  2327. for i = 1, 50 do
  2328. Swait()
  2329. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2330. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2331. end
  2332. wait(0.2)
  2333. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  2334. coroutine.resume(coroutine.create(function()
  2335. local E = 0
  2336. for i = 1, 75 do
  2337. E = E + 1
  2338. Swait()
  2339. if E >= 35 then
  2340. E = 0
  2341. 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})
  2342. end
  2343. LOOP.Volume = LOOP.Volume + 10/75
  2344. LOOP.Parent = FIELD
  2345. local CHILDREN = workspace:GetDescendants()
  2346. for index, CHILD in pairs(CHILDREN) do
  2347. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2348. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2349. if HUM then
  2350. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2351. if TORSO then
  2352. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2353. for _, c in pairs(CHILD:GetChildren()) do
  2354. if c:IsA("BasePart") then
  2355. local bv = Instance.new("BodyVelocity")
  2356. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2357. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2358. bv.Parent = c
  2359. Debris:AddItem(bv,0.05)
  2360. end
  2361. end
  2362. HUM.Health = HUM.Health - 0.3
  2363. end
  2364. end
  2365. end
  2366. end
  2367. end
  2368. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  2369. end
  2370. for i = 1, 180 do
  2371. E = E + 1
  2372. Swait()
  2373. if E >= 35 then
  2374. E = 0
  2375. 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})
  2376. end
  2377. LOOP.Parent = FIELD
  2378. local CHILDREN = workspace:GetDescendants()
  2379. for index, CHILD in pairs(CHILDREN) do
  2380. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2381. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2382. if HUM then
  2383. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2384. if TORSO then
  2385. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2386. for _, c in pairs(CHILD:GetChildren()) do
  2387. if c:IsA("BasePart") then
  2388. local bv = Instance.new("BodyVelocity")
  2389. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2390. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2391. bv.Parent = c
  2392. Debris:AddItem(bv,0.05)
  2393. end
  2394. end
  2395. HUM.Health = HUM.Health - 0.3
  2396. end
  2397. end
  2398. end
  2399. end
  2400. end
  2401. end
  2402. ApplyAoE(FIELD.Position,40,15,20,375,true)
  2403. 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})
  2404. for i = 1, 5 do
  2405. 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})
  2406. end
  2407. FIELD:remove()
  2408. end))
  2409. elseif RANDOMEFFECT == 5 then
  2410. end
  2411. wait(0.5)
  2412. for i = 1, 25 do
  2413. Swait()
  2414. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  2415. end
  2416. PANDORASBOX:remove()
  2417. RINGSPIN = false
  2418. end))
  2419. ATTACK = false
  2420. Rooted = false
  2421. end
  2422. end
  2423.  
  2424. function TimeStop()
  2425. 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)
  2426. CHOICE = 6
  2427. CreateSound(300208779, Character, 5, 1, false)
  2428. chatfunc ("Your end is here.")
  2429. back = CreateSound(1841228386, Character, 9999, 1, false)
  2430. local killsky = Instance.new('Sky', game:GetService'Lighting')
  2431. killsky.SkyboxBk = "rbxassetid://10613165"
  2432. killsky.SkyboxDn = "rbxassetid://10613165"
  2433. killsky.SkyboxFt = "rbxassetid://10613165"
  2434. killsky.SkyboxLf = "rbxassetid://10613165"
  2435. killsky.SkyboxRt = "rbxassetid://10613165"
  2436. killsky.SkyboxUp = "rbxassetid://10613165"
  2437. killsky.StarCount = 0
  2438. killsky.SunAngularSize = 0
  2439. killsky.MoonAngularSize = 0
  2440. killsky.MoonTextureId = ""
  2441. killsky.CelestialBodiesShown = false
  2442. game.Lighting.FogColor = Color3.new(0.98,0.37,1)
  2443. game.Lighting.FogEnd = 1400
  2444. if HITFLOOR ~= nil then
  2445. ATTACK = false
  2446. Rooted = false
  2447. local RINGSPIN = true
  2448. local CONSTRUCTING = true
  2449. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Magenta", "Ring", VT(0,0,0))
  2450. RING.Color = C3(0,0,0)
  2451. MakeForm(RING,"Cyl")
  2452. RING.CFrame = CF(HITPOS)
  2453. coroutine.resume(coroutine.create(function()
  2454. repeat
  2455. Swait()
  2456. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2457. until CONSTRUCTING == false
  2458. repeat
  2459. Swait()
  2460. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2461. until RINGSPIN == false
  2462. for i = 1, 25 do
  2463. Swait()
  2464. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2465. RING.Size = RING.Size - VT(0.15,0,0.15)
  2466. --DECAL.Transparency = DECAL.Transparency + 1/25
  2467. RING.Transparency = RING.Transparency + 1/25
  2468. end
  2469. RING:remove()
  2470. end))
  2471. for i = 1, 15 do
  2472. Swait()
  2473. RING.Size = RING.Size + VT(0,0,0)
  2474. RING.Transparency = RING.Transparency - 1/15
  2475. end
  2476. end
  2477. local RANDOMEFFECT = MRANDOM(1)
  2478. local BASE = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Black", VT(2,1.8,2))
  2479. BASE.Color = C3(0,0,0)
  2480. BASE.Transparency = 1
  2481. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  2482. if RANDOMEFFECT == 1 then
  2483. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Magenta", "Field", VT(0.3,0.3,0.3))
  2484. FIELD.CFrame = BASE.CFrame
  2485. MakeForm(FIELD,"Ball")
  2486. for i = 1, 50 do
  2487. Swait()
  2488. FIELD.Size = VT(0,0,0)
  2489. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2490. end
  2491. end
  2492. wait(0.2)
  2493. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Magenta", "Field", VT(0.3,0.3,0.3))
  2494. FIELD.CFrame = BASE.CFrame
  2495. local LOOP = CreateSound(1393698948, Character, 0, 1, true)
  2496. coroutine.resume(coroutine.create(function()
  2497. for i = 1, 75 do
  2498. Swait()
  2499. LOOP.Volume = LOOP.Volume + 10/75
  2500. LOOP.Parent = FIELD
  2501. local CHILDREN = workspace:GetDescendants()
  2502. for index, CHILD in pairs(CHILDREN) do
  2503. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2504. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2505. if HUM then
  2506. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2507. if TORSO then
  2508. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2509. HUM.Health = HUM.Health - 0
  2510. TORSO.Velocity = VT(0,5,0)
  2511. HUM.PlatformStand = true
  2512. if TORSO.RotVelocity.Magnitude < 15 then
  2513. TORSO.Anchored = true
  2514. end
  2515. end
  2516. end
  2517. end
  2518. end
  2519. end
  2520. FIELD.Size = FIELD.Size + VT(90,90,90)
  2521. FIELD.Transparency = FIELD.Transparency + 0.8/75
  2522. end
  2523. for i = 1, 500 do
  2524. Swait()
  2525. LOOP.Parent = FIELD
  2526. local CHILDREN = workspace:GetDescendants()
  2527. for index, CHILD in pairs(CHILDREN) do
  2528. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2529. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2530. if HUM then
  2531. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2532. if TORSO then
  2533. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2534. TORSO.Velocity = VT(0,5,0)
  2535. HUM.Health = HUM.Health - 0
  2536. HUM.PlatformStand = true
  2537. if TORSO.RotVelocity.Magnitude < 15 then
  2538. TORSO.Anchored = true
  2539. end
  2540. end
  2541. end
  2542. end
  2543. end
  2544. end
  2545. end
  2546. wait (10)
  2547. back:Remove()
  2548. CreateSound(834001752, Character, 99999, 1, false)
  2549. chatfunc ("Mercy? no.")
  2550. killsky:Remove()
  2551. game.Lighting.FogEnd = 90000000
  2552. wait (5)
  2553. CHOICE = MRANDOM (1,5)
  2554. for i = 1, 25 do
  2555. Swait()
  2556. LOOP.Volume = LOOP.Volume + 10/25
  2557. LOOP.Parent = FIELD
  2558. local CHILDREN = workspace:GetDescendants()
  2559. for index, CHILD in pairs(CHILDREN) do
  2560. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2561. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2562. if HUM then
  2563. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2564. if TORSO then
  2565. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2566. TORSO.Velocity = VT(0,5,0)
  2567. HUM.Health = HUM.Health - 0
  2568. HUM.PlatformStand = false
  2569. if TORSO.RotVelocity.Magnitude < 15 then
  2570. TORSO.Anchored = false
  2571. end
  2572. end
  2573. end
  2574. end
  2575. end
  2576. FIELD.Size = FIELD.Size - VT(3,3,3)
  2577. FIELD.Transparency = FIELD.Transparency + 0.2/25
  2578. end
  2579. end
  2580. end))
  2581. FIELD:Remove()
  2582. ATTACK = false
  2583. Rooted = false
  2584. end
  2585.  
  2586.  
  2587. function Taunt()
  2588. ATTACK = true
  2589. local LAUGH = nil
  2590. coroutine.resume(coroutine.create(function()
  2591. repeat
  2592. Swait()
  2593. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2594. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2595. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2596. 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)
  2597. 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)
  2598. 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)
  2599. until LAUGH ~= nil
  2600. repeat
  2601. Swait()
  2602. LAUGH.Parent = Head
  2603. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 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)
  2604. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2605. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2606. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2607. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 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)
  2608. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 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)
  2609. until LAUGH.Playing == false
  2610. ATTACK = false
  2611. end))
  2612. wait(0.1)
  2613. chatfunc("HM.. HM... HAHAHAHAHAHA!..")
  2614. LAUGH = CreateSound(300208779, Character, 8099999, 1, false)
  2615. wait(1.5)
  2616. end
  2617.  
  2618. --//=================================\\
  2619. --|| ASSIGN THINGS TO KEYS
  2620. --\\=================================//
  2621.  
  2622. function MouseDown(Mouse)
  2623. HOLD = true
  2624. if ATTACK == false then
  2625. end
  2626. end
  2627.  
  2628. function MouseUp(Mouse)
  2629. HOLD = false
  2630. end
  2631.  
  2632. function KeyDown(Key)
  2633. KEYHOLD = true
  2634. if Key == "z" and ATTACK == false then
  2635. MagicMissiles()
  2636. end
  2637.  
  2638. if Key == "b" and ATTACK == false then
  2639. TimesUp()
  2640. end
  2641.  
  2642. if Key == "c" and ATTACK == false then
  2643. ChainPunch()
  2644. end
  2645.  
  2646. if Key == "v" and ATTACK == false then
  2647. RavagingOverthrower()
  2648. end
  2649.  
  2650. if Key == "x" and ATTACK == false then
  2651. PandorasBox()
  2652. end
  2653.  
  2654. if Key == "g" and ATTACK == false then
  2655. TimeStop()
  2656. end
  2657.  
  2658. if Key == "t" and ATTACK == false then
  2659. Taunt()
  2660. elseif Key == "1" and ATTACK == false then
  2661. if CHOICE ~= 1 then
  2662. CHOICE = 1
  2663. sick:Play()
  2664. end
  2665. elseif Key == "2" and ATTACK == false then
  2666. if CHOICE ~= 2 then
  2667. CHOICE = 2
  2668. sick:Play()
  2669.  
  2670. end
  2671. elseif Key == "3" and ATTACK == false then
  2672. if CHOICE ~= 3 then
  2673. CHOICE = 3
  2674. sick:Play()
  2675. end
  2676. elseif Key == "4" and ATTACK == false then
  2677. if CHOICE ~= 4 then
  2678. CHOICE = 4
  2679. sick:Play()
  2680. end
  2681. elseif Key == "5" and ATTACK == false then
  2682. if CHOICE ~= 5 then
  2683. CHOICE = 5
  2684. sick:Play()
  2685. end
  2686. elseif Key == "6" and ATTACK == false then
  2687. if CHOICE ~= 6 then
  2688. CHOICE = 6
  2689. sick:Play()
  2690. end
  2691. end
  2692. end
  2693.  
  2694. function KeyUp(Key)
  2695. KEYHOLD = false
  2696. end
  2697.  
  2698. Mouse.Button1Down:connect(function(NEWKEY)
  2699. MouseDown(NEWKEY)
  2700. end)
  2701. Mouse.Button1Up:connect(function(NEWKEY)
  2702. MouseUp(NEWKEY)
  2703. end)
  2704. Mouse.KeyDown:connect(function(NEWKEY)
  2705. KeyDown(NEWKEY)
  2706. end)
  2707. Mouse.KeyUp:connect(function(NEWKEY)
  2708. KeyUp(NEWKEY)
  2709. end)
  2710.  
  2711. --//=================================\\
  2712. --\\=================================//
  2713.  
  2714.  
  2715. function unanchor()
  2716. if UNANCHOR == true then
  2717. RootPart.Anchored = false
  2718. end
  2719. g = Character:GetChildren()
  2720. for i = 1, #g do
  2721. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  2722. g[i].Anchored = false
  2723. end
  2724. end
  2725. g = Weapon:GetChildren()
  2726. for i = 1, #g do
  2727. if g[i].ClassName == "Part" then
  2728. g[i].Anchored = false
  2729. end
  2730. end
  2731. end
  2732.  
  2733.  
  2734. --//=================================\\
  2735. --|| WRAP THE WHOLE SCRIPT UP
  2736. --\\=================================//
  2737.  
  2738. Humanoid.Changed:connect(function(Jump)
  2739. if Jump == "Jump" and (Disable_Jump == true) then
  2740. Humanoid.Jump = false
  2741. end
  2742. end)
  2743.  
  2744. while true do
  2745. Swait()
  2746. refit()
  2747. script.Parent = WEAPONGUI
  2748. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2749. v:Stop();
  2750. end
  2751. ANIMATE.Parent = nil
  2752. SINE = SINE + CHANGE*1.5
  2753. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2754. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2755. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2756. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2757. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2758. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2759. Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2760. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2761. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2762. Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2763. end
  2764. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2765. ANIM = "Jump"
  2766. if ATTACK == false then
  2767. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2768. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2769. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2770. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2771. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2772. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  2773. end
  2774. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2775. ANIM = "Fall"
  2776. if ATTACK == false then
  2777. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2778. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2779. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2780. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2781. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  2782. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  2783. end
  2784. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2785. ANIM = "Idle"
  2786. if ATTACK == false then
  2787. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2788. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2789. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2790. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2791. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2792. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2793. end
  2794. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2795. ANIM = "Walk"
  2796. if ATTACK == false then
  2797. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2798. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2799. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2800. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2801. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2802. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2803. end
  2804. end
  2805. unanchor()
  2806. Humanoid.MaxHealth = "inf"
  2807. Humanoid.Health = "inf"
  2808. if Rooted == false then
  2809. Disable_Jump = false
  2810. Humanoid.WalkSpeed = Speed
  2811. elseif Rooted == true then
  2812. Disable_Jump = true
  2813. Humanoid.WalkSpeed = 0
  2814. end
  2815. for _, c in pairs(Character:GetChildren()) do
  2816. if c.ClassName == "Part" and c.Name ~= "Detail" then
  2817. c.Material = "Fabric"
  2818. if c:FindFirstChildOfClass("ParticleEmitter") then
  2819. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2820. end
  2821. if c ~= Head then
  2822. c.Color = C3(0,0,0)
  2823. else
  2824. c.Color = C3(0,0,0)
  2825. end
  2826. if c == Head then
  2827. if c:FindFirstChild("face") then
  2828. c.face:remove()
  2829. end
  2830. end
  2831. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2832. c:remove()
  2833. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2834. c:remove()
  2835. end
  2836. end
  2837. sick.SoundId = "rbxassetid://"..bored[CHOICE]
  2838. sick.Looped = true
  2839. sick.Pitch = 1
  2840. sick.Volume = 999999
  2841. sick.Parent = Character
  2842. sick:Resume()
  2843. --sick.Playing = false
  2844. Humanoid.Name = "Master of Time = "..Player.Name
  2845. end
  2846.  
  2847. --//=================================\\
  2848. --\\=================================//
  2849.  
  2850.  
  2851.  
  2852.  
  2853.  
  2854. --//====================================================\\--
  2855. --|| END OF SCRIPT
  2856. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement