Advertisement
Mr_Scripter

WIP

Jun 20th, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 113.72 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. Character.Archivable = true
  28.  
  29. IT = Instance.new
  30. CF = CFrame.new
  31. VT = Vector3.new
  32. RAD = math.rad
  33. C3 = Color3.new
  34. UD2 = UDim2.new
  35. BRICKC = BrickColor.new
  36. ANGLES = CFrame.Angles
  37. EULER = CFrame.fromEulerAnglesXYZ
  38. COS = math.cos
  39. ACOS = math.acos
  40. SIN = math.sin
  41. ASIN = math.asin
  42. ABS = math.abs
  43. MRANDOM = math.random
  44. FLOOR = math.floor
  45.  
  46. --//=================================\\
  47. --|| USEFUL VALUES
  48. --\\=================================//
  49.  
  50. Animation_Speed = 2.8
  51. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  52. local Speed = 20
  53. local SIZE = 1
  54. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  55. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  56. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  57. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  58. local DAMAGEMULTIPLIER = 1
  59. local ANIM = "Idle"
  60. local ATTACK = false
  61. local EQUIPPED = false
  62. local HOLD = false
  63. local COMBO = 1
  64. local Rooted = false
  65. local SINE = 0
  66. local KEYHOLD = false
  67. local CHANGE = 2 / Animation_Speed
  68. local WALKINGANIM = false
  69. local VALUE1 = false
  70. local VALUE2 = false
  71. local ROBLOXIDLEANIMATION = IT("Animation")
  72. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  73. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  74. local ATANIM = IT("Animation")
  75. ATANIM.Name = "Attack Animation"
  76. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  77. --ROBLOXIDLEANIMATION.Parent = Humanoid
  78. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  79. WEAPONGUI.Name = "Weapon GUI"
  80. local Weapon = IT("Model")
  81. Weapon.Name = "Adds"
  82. local Effects = IT("Folder", Weapon)
  83. Effects.Name = "Effects"
  84. local ANIMATOR = Humanoid.Animator
  85. local ANIMATE = Character.Animate
  86. local UNANCHOR = true
  87. local CLOCKLOOP = 0
  88. local SONG = 145045424
  89. local CLOCKTARGET = nil
  90. local CLOCKSPEED = 1
  91. script.Parent = WEAPONGUI
  92. local CLONE = Character:Clone()
  93. CLONE.Parent = nil
  94. Character.Archivable = false
  95. local sick = Instance.new("Sound",Torso)
  96.  
  97. --//=================================\\
  98. --\\=================================//
  99.  
  100.  
  101. --//=================================\\
  102. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  103. --\\=================================//
  104.  
  105. ArtificialHB = Instance.new("BindableEvent", script)
  106. ArtificialHB.Name = "ArtificialHB"
  107.  
  108. script:WaitForChild("ArtificialHB")
  109.  
  110. frame = Frame_Speed
  111. tf = 0
  112. allowframeloss = false
  113. tossremainder = false
  114. lastframe = tick()
  115. script.ArtificialHB:Fire()
  116.  
  117. game:GetService("RunService").Heartbeat:connect(function(s, p)
  118. tf = tf + s
  119. if tf >= frame then
  120. if allowframeloss then
  121. script.ArtificialHB:Fire()
  122. lastframe = tick()
  123. else
  124. for i = 1, math.floor(tf / frame) do
  125. script.ArtificialHB:Fire()
  126. end
  127. lastframe = tick()
  128. end
  129. if tossremainder then
  130. tf = 0
  131. else
  132. tf = tf - frame * math.floor(tf / frame)
  133. end
  134. end
  135. end)
  136.  
  137. --//=================================\\
  138. --\\=================================//
  139.  
  140. --//=================================\\
  141. --|| SOME FUNCTIONS
  142. --\\=================================//
  143.  
  144. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  145. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  146. end
  147.  
  148. function PositiveAngle(NUMBER)
  149. if NUMBER >= 0 then
  150. NUMBER = 0
  151. end
  152. return NUMBER
  153. end
  154.  
  155. function NegativeAngle(NUMBER)
  156. if NUMBER <= 0 then
  157. NUMBER = 0
  158. end
  159. return NUMBER
  160. end
  161.  
  162. function Swait(NUMBER)
  163. if NUMBER == 0 or NUMBER == nil then
  164. ArtificialHB.Event:wait()
  165. else
  166. for i = 1, NUMBER do
  167. ArtificialHB.Event:wait()
  168. end
  169. end
  170. end
  171.  
  172. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  173. local NEWMESH = IT(MESH)
  174. if MESH == "SpecialMesh" then
  175. NEWMESH.MeshType = MESHTYPE
  176. if MESHID ~= "nil" and MESHID ~= "" then
  177. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  178. end
  179. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  180. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  181. end
  182. end
  183. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  184. NEWMESH.Scale = SCALE
  185. NEWMESH.Parent = PARENT
  186. return NEWMESH
  187. end
  188.  
  189. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  190. local NEWPART = IT("Part")
  191. NEWPART.formFactor = FORMFACTOR
  192. NEWPART.Reflectance = REFLECTANCE
  193. NEWPART.Transparency = TRANSPARENCY
  194. NEWPART.CanCollide = false
  195. NEWPART.Locked = true
  196. NEWPART.Anchored = true
  197. if ANCHOR == false then
  198. NEWPART.Anchored = false
  199. end
  200. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  201. NEWPART.Name = NAME
  202. NEWPART.Size = SIZE
  203. NEWPART.Position = Torso.Position
  204. NEWPART.Material = MATERIAL
  205. NEWPART:BreakJoints()
  206. NEWPART.Parent = PARENT
  207. return NEWPART
  208. end
  209.  
  210. local function weldBetween(a, b)
  211. local weldd = Instance.new("ManualWeld")
  212. weldd.Part0 = a
  213. weldd.Part1 = b
  214. weldd.C0 = CFrame.new()
  215. weldd.C1 = b.CFrame:inverse() * a.CFrame
  216. weldd.Parent = a
  217. return weldd
  218. end
  219.  
  220.  
  221. function QuaternionFromCFrame(cf)
  222. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  223. local trace = m00 + m11 + m22
  224. if trace > 0 then
  225. local s = math.sqrt(1 + trace)
  226. local recip = 0.5 / s
  227. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  228. else
  229. local i = 0
  230. if m11 > m00 then
  231. i = 1
  232. end
  233. if m22 > (i == 0 and m00 or m11) then
  234. i = 2
  235. end
  236. if i == 0 then
  237. local s = math.sqrt(m00 - m11 - m22 + 1)
  238. local recip = 0.5 / s
  239. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  240. elseif i == 1 then
  241. local s = math.sqrt(m11 - m22 - m00 + 1)
  242. local recip = 0.5 / s
  243. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  244. elseif i == 2 then
  245. local s = math.sqrt(m22 - m00 - m11 + 1)
  246. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  247. end
  248. end
  249. end
  250.  
  251. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  252. local xs, ys, zs = x + x, y + y, z + z
  253. local wx, wy, wz = w * xs, w * ys, w * zs
  254. local xx = x * xs
  255. local xy = x * ys
  256. local xz = x * zs
  257. local yy = y * ys
  258. local yz = y * zs
  259. local zz = z * zs
  260. 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))
  261. end
  262.  
  263. function QuaternionSlerp(a, b, t)
  264. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  265. local startInterp, finishInterp;
  266. if cosTheta >= 0.0001 then
  267. if (1 - cosTheta) > 0.0001 then
  268. local theta = ACOS(cosTheta)
  269. local invSinTheta = 1 / SIN(theta)
  270. startInterp = SIN((1 - t) * theta) * invSinTheta
  271. finishInterp = SIN(t * theta) * invSinTheta
  272. else
  273. startInterp = 1 - t
  274. finishInterp = t
  275. end
  276. else
  277. if (1 + cosTheta) > 0.0001 then
  278. local theta = ACOS(-cosTheta)
  279. local invSinTheta = 1 / SIN(theta)
  280. startInterp = SIN((t - 1) * theta) * invSinTheta
  281. finishInterp = SIN(t * theta) * invSinTheta
  282. else
  283. startInterp = t - 1
  284. finishInterp = t
  285. end
  286. end
  287. 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
  288. end
  289.  
  290. function Clerp(a, b, t)
  291. local qa = {QuaternionFromCFrame(a)}
  292. local qb = {QuaternionFromCFrame(b)}
  293. local ax, ay, az = a.x, a.y, a.z
  294. local bx, by, bz = b.x, b.y, b.z
  295. local _t = 1 - t
  296. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  297. end
  298.  
  299. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  300. local frame = IT("Frame")
  301. frame.BackgroundTransparency = TRANSPARENCY
  302. frame.BorderSizePixel = BORDERSIZEPIXEL
  303. frame.Position = POSITION
  304. frame.Size = SIZE
  305. frame.BackgroundColor3 = COLOR
  306. frame.BorderColor3 = BORDERCOLOR
  307. frame.Name = NAME
  308. frame.Parent = PARENT
  309. return frame
  310. end
  311.  
  312. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  313. local label = IT("TextLabel")
  314. label.BackgroundTransparency = 1
  315. label.Size = UD2(1, 0, 1, 0)
  316. label.Position = UD2(0, 0, 0, 0)
  317. label.TextColor3 = TEXTCOLOR
  318. label.TextStrokeTransparency = STROKETRANSPARENCY
  319. label.TextTransparency = TRANSPARENCY
  320. label.FontSize = TEXTFONTSIZE
  321. label.Font = TEXTFONT
  322. label.BorderSizePixel = BORDERSIZEPIXEL
  323. label.TextStrokeColor3 = C3(1,1,1)
  324. label.TextScaled = false
  325. label.Text = TEXT
  326. label.Name = NAME
  327. label.Parent = PARENT
  328. return label
  329. end
  330.  
  331. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  332. if FLOOR ~= nil then
  333. coroutine.resume(coroutine.create(function()
  334. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  335. PART.CFrame = CF(POSITION)
  336. for i = 1, 45 do
  337. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  338. RingPiece.Material = FLOOR.Material
  339. RingPiece.Color = FLOOR.Color
  340. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  341. Debris:AddItem(RingPiece,SWAIT)
  342. end
  343. PART:remove()
  344. end))
  345. end
  346. end
  347.  
  348. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  349. if FLOOR ~= nil then
  350. for i = 1, AMOUNT do
  351. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  352. DEBREE.Material = FLOOR.Material
  353. DEBREE.Color = FLOOR.Color
  354. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  355. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  356. coroutine.resume(coroutine.create(function()
  357. Swait(15)
  358. DEBREE.Parent = workspace
  359. DEBREE.CanCollide = true
  360. Debris:AddItem(DEBREE,SWAIT)
  361. end))
  362. end
  363. end
  364. end
  365.  
  366. function SpawnSmite(POS)
  367. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  368. local EMITPOS = HITPOS
  369. if HITFLOOR ~= nil then
  370. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  371. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  372. EMITPOS = HITPOS
  373. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  374. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  375. EMITPOS = HITPOS
  376. end
  377. end
  378. if HITFLOOR ~= nil then
  379. ApplyAoE(EMITPOS,10)
  380. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  381. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  382. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  383. for i = 1, 5 do
  384. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  385. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  386. end
  387. end
  388. end
  389.  
  390. function NoOutlines(PART)
  391. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  392. end
  393.  
  394. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  395. local NEWWELD = IT(TYPE)
  396. NEWWELD.Part0 = PART0
  397. NEWWELD.Part1 = PART1
  398. NEWWELD.C0 = C0
  399. NEWWELD.C1 = C1
  400. NEWWELD.Parent = PARENT
  401. return NEWWELD
  402. end
  403.  
  404. local S = IT("Sound")
  405. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  406. local NEWSOUND = nil
  407. coroutine.resume(coroutine.create(function()
  408. NEWSOUND = S:Clone()
  409. NEWSOUND.Parent = PARENT
  410. NEWSOUND.Volume = VOLUME
  411. NEWSOUND.Pitch = PITCH
  412. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  413. NEWSOUND:play()
  414. if DOESLOOP == true then
  415. NEWSOUND.Looped = true
  416. else
  417. repeat wait(1) until NEWSOUND.Playing == false
  418. NEWSOUND:remove()
  419. end
  420. end))
  421. return NEWSOUND
  422. end
  423.  
  424. function CFrameFromTopBack(at, top, back)
  425. local right = top:Cross(back)
  426. 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)
  427. end
  428.  
  429. --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})
  430. function WACKYEFFECT(Table)
  431. local TYPE = (Table.EffectType or "Sphere")
  432. local SIZE = (Table.Size or VT(1,1,1))
  433. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  434. local TRANSPARENCY = (Table.Transparency or 0)
  435. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  436. local CFRAME = (Table.CFrame or Torso.CFrame)
  437. local MOVEDIRECTION = (Table.MoveToPos or nil)
  438. local ROTATION1 = (Table.RotationX or 0)
  439. local ROTATION2 = (Table.RotationY or 0)
  440. local ROTATION3 = (Table.RotationZ or 0)
  441. local MATERIAL = (Table.Material or "Neon")
  442. local COLOR = (Table.Color or C3(1,1,1))
  443. local TIME = (Table.Time or 45)
  444. local SOUNDID = (Table.SoundID or nil)
  445. local SOUNDPITCH = (Table.SoundPitch or nil)
  446. local SOUNDVOLUME = (Table.SoundVolume or nil)
  447. coroutine.resume(coroutine.create(function()
  448. local PLAYSSOUND = false
  449. local SOUND = nil
  450. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  451. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  452. PLAYSSOUND = true
  453. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  454. end
  455. EFFECT.Color = COLOR
  456. local MSH = nil
  457. if TYPE == "Sphere" then
  458. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  459. elseif TYPE == "Block" then
  460. MSH = IT("BlockMesh",EFFECT)
  461. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  462. elseif TYPE == "Wave" then
  463. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  464. elseif TYPE == "Ring" then
  465. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  466. elseif TYPE == "Slash" then
  467. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  468. elseif TYPE == "Round Slash" then
  469. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  470. elseif TYPE == "Swirl" then
  471. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  472. elseif TYPE == "Skull" then
  473. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  474. elseif TYPE == "Crystal" then
  475. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  476. end
  477. if MSH ~= nil then
  478. local MOVESPEED = nil
  479. if MOVEDIRECTION ~= nil then
  480. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  481. end
  482. local GROWTH = SIZE - ENDSIZE
  483. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  484. if TYPE == "Block" then
  485. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  486. else
  487. EFFECT.CFrame = CFRAME
  488. end
  489. for LOOP = 1, TIME+1 do
  490. Swait()
  491. MSH.Scale = MSH.Scale - GROWTH/TIME
  492. if TYPE == "Wave" then
  493. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  494. end
  495. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  496. if TYPE == "Block" then
  497. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  498. else
  499. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  500. end
  501. if MOVEDIRECTION ~= nil then
  502. local ORI = EFFECT.Orientation
  503. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  504. EFFECT.Orientation = ORI
  505. end
  506. end
  507. if PLAYSSOUND == false then
  508. EFFECT:remove()
  509. else
  510. repeat Swait() until SOUND.Playing == false
  511. EFFECT:remove()
  512. end
  513. else
  514. if PLAYSSOUND == false then
  515. EFFECT:remove()
  516. else
  517. repeat Swait() until SOUND.Playing == false
  518. EFFECT:remove()
  519. end
  520. end
  521. end))
  522. end
  523.  
  524. function MakeForm(PART,TYPE)
  525. if TYPE == "Cyl" then
  526. local MSH = IT("CylinderMesh",PART)
  527. elseif TYPE == "Ball" then
  528. local MSH = IT("SpecialMesh",PART)
  529. MSH.MeshType = "Sphere"
  530. elseif TYPE == "Wedge" then
  531. local MSH = IT("SpecialMesh",PART)
  532. MSH.MeshType = "Wedge"
  533. end
  534. end
  535.  
  536. Debris = game:GetService("Debris")
  537.  
  538. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  539. local DIRECTION = CF(StartPos,EndPos).lookVector
  540. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  541. end
  542.  
  543. function turnto(position)
  544. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  545. end
  546.  
  547. --//=================================\\
  548. --|| WEAPON CREATION
  549. --\\=================================//
  550.  
  551. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2,0.2,2),false)
  552. MakeForm(HAT1,"Cyl")
  553. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  554. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2.01,0.15,2.01),false)
  555. BELT.Color = C3(15/255,15/255,15/255)
  556. MakeForm(BELT,"Cyl")
  557. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  558. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,2.2,1.3),false)
  559. MakeForm(HAT2,"Cyl")
  560. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  561. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.2,1.31),false)
  562. BELT.Color = C3(15/255,15/255,15/255)
  563. MakeForm(BELT,"Cyl")
  564. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  565. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Gem", VT(0.25,0.25,0.1),false)
  566. MakeForm(GEM,"Ball")
  567. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  568. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Gem", VT(0.25,0.25,0.1),false)
  569. MakeForm(GEM,"Ball")
  570. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  571. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Gem", VT(0.1,0.25,0.25),false)
  572. MakeForm(GEM,"Ball")
  573. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  574. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Gem", VT(0.1,0.25,0.25),false)
  575. MakeForm(GEM,"Ball")
  576. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  577. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  578. BELT.Color = C3(15/255,15/255,15/255)
  579. MakeForm(BELT,"Cyl")
  580. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  581. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  582. BELT.Color = C3(15/255,15/255,15/255)
  583. MakeForm(BELT,"Cyl")
  584. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  585. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  586. BELT.Color = C3(15/255,15/255,15/255)
  587. MakeForm(BELT,"Cyl")
  588. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  589. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  590. BELT.Color = C3(15/255,15/255,15/255)
  591. MakeForm(BELT,"Cyl")
  592. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  593. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
  594. MakeForm(BELT,"Ball")
  595. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  596.  
  597. New = function(Object, Parent, Name, Data)
  598. local Object = Instance.new(Object)
  599. for Index, Value in pairs(Data or {}) do
  600. Object[Index] = Value
  601. end
  602. Object.Parent = Parent
  603. Object.Name = Name
  604. return Object
  605. end
  606.  
  607. CyborgArm = New("Model",Character,"CyborgArm",{})
  608. Handle = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1.0500015, 2.02999949, 1.07999992),CFrame = CFrame.new(-138.347275, 2.99473095, 41.7816849, 0.999635339, 8.27677286e-06, 0.0270056836, -0.000191000072, 0.999977112, 0.00676353322, -0.0270050094, -0.00676622428, 0.999612451),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0,0,0),})
  609. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.429999948, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.369171, 2.89115906, 41.8271637, 0.505694926, -0.862284958, 0.0271573812, 0.862490892, 0.506027818, 0.0067293453, -0.019545, 0.0200200025, 0.999608755),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  610. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.505694926, 0.862490892, -0.0195449982, -0.862284899, 0.506027818, 0.0200199969, 0.0271573793, 0.00672934437, 0.999608576),C1 = CFrame.new(0.0136108398, -0.108844995, -0.0342674255, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  611. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.268127, 3.26462603, 41.8218994, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  612. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(-0.0874328613, 0.264621973, -0.028968811, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  613. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.3000018, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.217133, 3.61339307, 41.8189926, 0.778245091, -0.627379835, 0.0270029604, 0.627452075, 0.778625846, 0.00676273741, -0.0252680089, 0.0116800005, 0.999612689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  614. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.778245091, 0.627452075, -0.0252680033, -0.627379835, 0.778625846, 0.0116799958, 0.0270029567, 0.00676273648, 0.99961251),C1 = CFrame.new(-0.138427734, 0.613389015, -0.0260467529, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  615. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 1),CFrame = CFrame.new(-138.395523, 2.38962889, 41.7660217, -0.00574199716, -0.999983609, 1.77533366e-09, 0.999983549, -0.00574199716, 9.3131769e-10, 9.41781764e-10, 1.77533366e-09, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  616. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, -0.00574199716, 0.999983549, 0, -0.999983549, -0.00574199716, 0, 0, 0, 1),C1 = CFrame.new(0.0399932861, -0.610375166, 0.0268669128, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  617. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 0.2900002),CFrame = CFrame.new(-138.540939, 3.80931711, 41.9832687, 2.29982252e-05, -0.999983609, -0.00574393803, -0.00452899979, -0.00574398367, 0.999973238, -0.999989927, 3.01669934e-06, -0.00452905567),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  618. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 2.29999951e-05, -0.00452899886, -0.999989748, -0.999983549, -0.00574398367, 3.01490991e-06, -0.00574393803, 0.999973238, -0.00452905614),C1 = CFrame.new(0.185333252, 0.809313059, -0.190429688, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  619. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C1 = CFrame.new(0.207519531, 0.740064859, -0.0209579468, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  620. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.799999833),CFrame = CFrame.new(-138.557587, 3.57138705, 41.9535294, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  621. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.20199585, 0.571382999, -0.160697937, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  622. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.0899999291),CFrame = CFrame.new(-138.548004, 3.20288205, 42.3108978, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  623. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.19229126, 0.202877998, -0.518062592, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  624. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.390001893, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.031433, 3.68374205, 41.8135147, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  625. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(-0.324111938, 0.683737993, -0.0205078125, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  626. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.2800017, 0.100000001, 0.690000117),CFrame = CFrame.new(-138.393951, 2.11307812, 42.0131454, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  627. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(0.0383300781, -0.886925936, -0.220256805, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  628. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.452835, 2.48128104, 41.8321991, -0.223359078, -0.974358141, 0.027149044, 0.974736214, -0.223258108, 0.00673288852, -0.000498998852, 0.0279670097, 0.999608934),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  629. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, -0.223359063, 0.974736214, -0.000499000133, -0.974358141, -0.223258108, 0.0279670041, 0.0271490421, 0.00673288759, 0.999608755),C1 = CFrame.new(0.0972747803, -0.518723011, -0.0393295288, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  630. --------------------
  631. CyborgArm = New("Model",Character,"CyborgArm",{})
  632. Handle = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1.0500015, 2.02999949, 1.07999992),CFrame = CFrame.new(-138.347275, 2.99473095, 41.7816849, 0.999635339, 8.27677286e-06, 0.0270056836, -0.000191000072, 0.999977112, 0.00676353322, -0.0270050094, -0.00676622428, 0.999612451),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0,0,0),})
  633. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.429999948, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.369171, 2.89115906, 41.8271637, 0.505694926, -0.862284958, 0.0271573812, 0.862490892, 0.506027818, 0.0067293453, -0.019545, 0.0200200025, 0.999608755),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  634. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.505694926, 0.862490892, -0.0195449982, -0.862284899, 0.506027818, 0.0200199969, 0.0271573793, 0.00672934437, 0.999608576),C1 = CFrame.new(0.0136108398, -0.108844995, -0.0342674255, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  635. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.268127, 3.26462603, 41.8218994, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  636. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(-0.0874328613, 0.264621973, -0.028968811, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  637. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.3000018, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.217133, 3.61339307, 41.8189926, 0.778245091, -0.627379835, 0.0270029604, 0.627452075, 0.778625846, 0.00676273741, -0.0252680089, 0.0116800005, 0.999612689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  638. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.778245091, 0.627452075, -0.0252680033, -0.627379835, 0.778625846, 0.0116799958, 0.0270029567, 0.00676273648, 0.99961251),C1 = CFrame.new(-0.138427734, 0.613389015, -0.0260467529, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  639. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 1),CFrame = CFrame.new(-138.395523, 2.38962889, 41.7660217, -0.00574199716, -0.999983609, 1.77533366e-09, 0.999983549, -0.00574199716, 9.3131769e-10, 9.41781764e-10, 1.77533366e-09, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  640. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.00574199716, 0.999983549, 0, -0.999983549, -0.00574199716, 0, 0, 0, 1),C1 = CFrame.new(0.0399932861, -0.610375166, 0.0268669128, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  641. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 0.2900002),CFrame = CFrame.new(-138.540939, 3.80931711, 41.9832687, 2.29982252e-05, -0.999983609, -0.00574393803, -0.00452899979, -0.00574398367, 0.999973238, -0.999989927, 3.01669934e-06, -0.00452905567),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  642. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 2.29999951e-05, -0.00452899886, -0.999989748, -0.999983549, -0.00574398367, 3.01490991e-06, -0.00574393803, 0.999973238, -0.00452905614),C1 = CFrame.new(0.185333252, 0.809313059, -0.190429688, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  643. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C1 = CFrame.new(0.207519531, 0.740064859, -0.0209579468, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  644. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.799999833),CFrame = CFrame.new(-138.557587, 3.57138705, 41.9535294, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  645. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.20199585, 0.571382999, -0.160697937, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  646. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.0899999291),CFrame = CFrame.new(-138.548004, 3.20288205, 42.3108978, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  647. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.19229126, 0.202877998, -0.518062592, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  648. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.390001893, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.031433, 3.68374205, 41.8135147, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  649. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(-0.324111938, 0.683737993, -0.0205078125, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  650. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.2800017, 0.100000001, 0.690000117),CFrame = CFrame.new(-138.393951, 2.11307812, 42.0131454, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  651. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(0.0383300781, -0.886925936, -0.220256805, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  652. Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.452835, 2.48128104, 41.8321991, -0.223359078, -0.974358141, 0.027149044, 0.974736214, -0.223258108, 0.00673288852, -0.000498998852, 0.0279670097, 0.999608934),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  653. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.223359063, 0.974736214, -0.000499000133, -0.974358141, -0.223258108, 0.0279670041, 0.0271490421, 0.00673288759, 0.999608755),C1 = CFrame.new(0.0972747803, -0.518723011, -0.0393295288, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
  654.  
  655.  
  656. local top = Instance.new("Shirt")
  657. top.ShirtTemplate = "http://www.roblox.com/asset/?id=224905492"
  658. top.Parent = Character
  659. top.Name = "Cloth"
  660. local bottom = Instance.new("Pants")
  661. bottom.PantsTemplate = "http://www.roblox.com/asset/?id=225192585"
  662. bottom.Parent = Character
  663. bottom.Name = "Cloth"
  664.  
  665. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  666. if TYPE == "Gem" then
  667. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  668. acs.Anchored = false
  669. acs.CanCollide = false
  670. acs.CFrame = PART.CFrame
  671. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  672. weldBetween(PART,acs)
  673. elseif TYPE == "Skull" then
  674. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  675. acs.Anchored = false
  676. acs.CanCollide = false
  677. acs.CFrame = PART.CFrame
  678. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  679. weldBetween(PART,acs)
  680. elseif TYPE == "Eye" then
  681. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  682. acs.Anchored = false
  683. acs.CanCollide = false
  684. acs.CFrame = PART.CFrame
  685. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  686. weldBetween(PART,acs)
  687. end
  688. end
  689.  
  690. createbodypart("Eye", "Really black", Head, VT(0.2, 0, -0.55), VT(2, 6, 2))
  691. createbodypart("Eye", "Really black", Head, VT(-0.2, 0, -0.55), VT(2, 6, 2))
  692. createbodypart("Eye", "Really white", Head, VT(0, 0, -0.6), VT(2, 8, 2))
  693.  
  694.  
  695. for _, c in pairs(Weapon:GetChildren()) do
  696. if c.ClassName == "Part" then
  697. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  698. end
  699. end
  700.  
  701. Neck.Name = "Weld"
  702. RootJoint.Name = "Weld"
  703. RightShoulder.Name = "Weld"
  704. LeftShoulder.Name = "Weld"
  705. RightHip.Name = "Weld"
  706. LeftHip.Name = "Weld"
  707.  
  708. local SKILLTEXTCOLOR = C3(159/255, 111/255, 183/255)
  709. local SKILLFONT = "Fantasy"
  710. local SKILLTEXTSIZE = 7
  711.  
  712. Weapon.Parent = Character
  713. Humanoid.Parent = Character
  714.  
  715. Humanoid.Died:connect(function()
  716. ATTACK = true
  717. end)
  718.  
  719.  
  720. --//=================================\\
  721. --|| DAMAGING
  722. --\\=================================//
  723.  
  724. function ApplyDamage(Humanoid,Damage,TorsoPart)
  725. local defence = Instance.new("BoolValue",Humanoid.Parent)
  726. defence.Name = ("HitBy"..Player.Name)
  727. game:GetService("Debris"):AddItem(defence, 0.001)
  728. Damage = Damage * DAMAGEMULTIPLIER
  729. if Humanoid.Health ~= 0 then
  730. local CritChance = MRANDOM(1,100)
  731. if Damage > Humanoid.Health then
  732. Damage = math.ceil(Humanoid.Health)
  733. if Damage == 0 then
  734. Damage = 0.1
  735. end
  736. end
  737. Humanoid.Health = Humanoid.Health - Damage
  738. end
  739. end
  740.  
  741. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  742. local CHILDREN = workspace:GetDescendants()
  743. for index, CHILD in pairs(CHILDREN) do
  744. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  745. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  746. if HUM then
  747. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  748. if TORSO then
  749. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  750. if INSTAKILL == true then
  751. CHILD:BreakJoints()
  752. else
  753. local DMG = MRANDOM(MINDMG,MAXDMG)
  754. ApplyDamage(HUM,DMG,TORSO)
  755. end
  756. if FLING > 0 then
  757. for _, c in pairs(CHILD:GetChildren()) do
  758. if c:IsA("BasePart") then
  759. local bv = Instance.new("BodyVelocity")
  760. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  761. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  762. bv.Parent = c
  763. Debris:AddItem(bv,0.05)
  764. end
  765. end
  766. end
  767. end
  768. end
  769. end
  770. end
  771. end
  772. end
  773.  
  774. --//=================================\\
  775. --|| ATTACK FUNCTIONS AND STUFF
  776. --\\=================================//
  777.  
  778. function MagicMissiles()
  779. ATTACK = true
  780. Rooted = true
  781. local SELECTING = true
  782. local SPOTS = {}
  783. coroutine.resume(coroutine.create(function()
  784. local LOOP = 0
  785. repeat
  786. LOOP = LOOP + 1
  787. Swait()
  788. if LOOP >= 10 then
  789. LOOP = 0
  790. for i = 1, #SPOTS do
  791. if SPOTS[i] ~= nil then
  792. 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  793. 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  794. end
  795. end
  796. end
  797. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  798. 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)
  799. 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)
  800. 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)
  801. 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)
  802. 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)
  803. until SELECTING == false
  804. Rooted = false
  805. repeat
  806. LOOP = LOOP + 1
  807. Swait()
  808. if LOOP >= 10 then
  809. LOOP = 0
  810. for i = 1, #SPOTS do
  811. if SPOTS[i] ~= nil then
  812. 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  813. 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  814. end
  815. end
  816. end
  817. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  818. 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)
  819. 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)
  820. 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)
  821. 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)
  822. 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)
  823. until ATTACK == false
  824. end))
  825. repeat
  826. repeat Swait() until HOLD == true
  827. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  828. if DIST > 65 then
  829. DIST = 65
  830. end
  831. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  832. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  833. if HITFLOOR ~= nil then
  834. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  835. 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(159/255, 111/255, 183/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  836. 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  837. end
  838. repeat Swait() until HOLD == false
  839. until #SPOTS == 5
  840. SELECTING = false
  841. for i = 1, #SPOTS do
  842. if SPOTS[i] ~= nil then
  843. local POS = SPOTS[i]
  844. coroutine.resume(coroutine.create(function()
  845. local MISSILE = IT("Model",Effects)
  846. MISSILE.Name = "Missile"
  847. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,2,2))
  848. MakeForm(BASEPART,"Cyl")
  849. MISSILE.PrimaryPart = BASEPART
  850. BASEPART.CFrame = POS*CF(0,-30*3,0)
  851. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,4,2))
  852. MakeForm(HEAD,"Ball")
  853. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  854. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2.5,0.1,2.5))
  855. MakeForm(TAIL,"Cyl")
  856. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  857. for i = 1, 10 do
  858. Swait()
  859. for _, c in pairs(MISSILE:GetChildren()) do
  860. if c.ClassName == "Part" then
  861. c.Transparency = c.Transparency - 1/10
  862. end
  863. end
  864. end
  865. for i = 1, 15*1.5 do
  866. Swait()
  867. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  868. end
  869. ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  870. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  871. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  872. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  873. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  874. MISSILE:remove()
  875. end))
  876. end
  877. end
  878. wait(0.6)
  879. ATTACK = false
  880. Rooted = false
  881. end
  882.  
  883. function TimesUp()
  884. CLOCKTARGET = nil
  885. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  886. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  887. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  888. if TORSO then
  889. ATTACK = true
  890. Rooted = false
  891. coroutine.resume(coroutine.create(function()
  892. repeat
  893. Swait()
  894. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  895. 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)
  896. 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)
  897. 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)
  898. 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)
  899. 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)
  900. until ATTACK == false
  901. end))
  902. if Effects:FindFirstChild("NeonDoll") then
  903. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  904. end
  905. wait(0.5)
  906. local FAKECHARACTER = IT("Model",Effects)
  907. FAKECHARACTER.Name = "NeonDoll"
  908. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.3,0.3,0.15),false)
  909. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  910. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  911. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  912. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  913. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  914. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  915. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  916. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  917. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  918. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.15,0.15),false)
  919. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  920. CreateSound(201858045, TORS, 5, 0.4, false)
  921. for i = 1, 150 do
  922. Swait()
  923. CLOCKSPEED = 6
  924. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  925. if c.ClassName == "Part" then
  926. c.Transparency = c.Transparency - 0.5/150
  927. end
  928. end
  929. end
  930. CLOCKTARGET = HUM
  931. coroutine.resume(coroutine.create(function()
  932. repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
  933. for i = 1, 25 do
  934. Swait()
  935. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  936. if c.ClassName == "Part" then
  937. c.Transparency = c.Transparency + 0.5/25
  938. end
  939. end
  940. end
  941. CLOCKSPEED = 1
  942. FAKECHARACTER:remove()
  943. end))
  944. wait(0.5)
  945. ATTACK = false
  946. Rooted = false
  947. end
  948. end
  949. end
  950.  
  951. function ChainPunch()
  952. ATTACK = true
  953. Rooted = false
  954. local GYRO = IT("BodyGyro",RootPart)
  955. GYRO.D = 25
  956. GYRO.P = 2000
  957. GYRO.MaxTorque = VT(0,40000,0)
  958. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  959. repeat
  960. Swait()
  961. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  962. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  963. 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)
  964. 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)
  965. 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)
  966. 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)
  967. 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)
  968. until HOLD == true
  969. local POS = Mouse.Hit.p
  970. local CHAINS = false
  971. local CHAINLINKS = {}
  972. local A = IT("Attachment",RightArm)
  973. A.Position = VT(1,-1,0)*SIZE
  974. A.Orientation = VT(-90, -89.982, 0)
  975. local B = IT("Attachment",RightArm)
  976. B.Position = VT(-1,-1,0)*SIZE
  977. B.Orientation = VT(-90, 89.988, 0)
  978. local C = IT("Attachment",RightArm)
  979. C.Position = VT(0.5,-1.3,0)*SIZE
  980. C.Orientation = VT(-90, -89.982, 0)
  981. local D = IT("Attachment",RightArm)
  982. D.Position = VT(-0.5,-1.3,0)*SIZE
  983. D.Orientation = VT(-90, 89.988, 0)
  984. local LIGHT = IT("Attachment",RightArm)
  985. LIGHT.Position = VT(0,-1,0)*SIZE
  986. local LIGHT2 = IT("PointLight",LIGHT)
  987. LIGHT2.Range = 7
  988. LIGHT2.Brightness = 5
  989. LIGHT2.Color = SKILLTEXTCOLOR
  990. for i = 1, 2 do
  991. local TWIST = -2
  992. local START = A
  993. local END = B
  994. if i == 1 then
  995. START = B
  996. END = A
  997. end
  998. local ChainLink = IT("Beam",Torso)
  999. ChainLink.Texture = "rbxassetid://73042633"
  1000. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1001. ChainLink.TextureSpeed = 1
  1002. ChainLink.Width0 = 1
  1003. ChainLink.Width1 = 1
  1004. ChainLink.TextureLength = 2.5
  1005. ChainLink.Attachment0 = START
  1006. ChainLink.Attachment1 = END
  1007. ChainLink.CurveSize0 = TWIST
  1008. ChainLink.CurveSize1 = TWIST
  1009. --ChainLink.FaceCamera = true
  1010. ChainLink.Segments = 45
  1011. ChainLink.Transparency = NumberSequence.new(1)
  1012. table.insert(CHAINLINKS,ChainLink)
  1013. end
  1014. for i = 1, 2 do
  1015. local TWIST = -1
  1016. local START = C
  1017. local END = D
  1018. if i == 1 then
  1019. START = D
  1020. END = C
  1021. end
  1022. local ChainLink = IT("Beam",Torso)
  1023. ChainLink.Texture = "rbxassetid://73042633"
  1024. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1025. ChainLink.TextureSpeed = 1
  1026. ChainLink.Width0 = 1
  1027. ChainLink.Width1 = 1
  1028. ChainLink.TextureLength = 5
  1029. ChainLink.Attachment0 = START
  1030. ChainLink.Attachment1 = END
  1031. ChainLink.CurveSize0 = TWIST
  1032. ChainLink.CurveSize1 = TWIST
  1033. --ChainLink.FaceCamera = true
  1034. ChainLink.Segments = 25
  1035. ChainLink.LightEmission = 0.5
  1036. ChainLink.Transparency = NumberSequence.new(1)
  1037. table.insert(CHAINLINKS,ChainLink)
  1038. end
  1039. coroutine.resume(coroutine.create(function()
  1040. repeat
  1041. Swait()
  1042. 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)
  1043. 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)
  1044. 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)
  1045. 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)
  1046. 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)
  1047. 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)
  1048. until CHAINS == true
  1049. repeat
  1050. Swait()
  1051. 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)
  1052. 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)
  1053. 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)
  1054. 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)
  1055. 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)
  1056. 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)
  1057. until ATTACK == false
  1058. for e = 1, 15 do
  1059. Swait()
  1060. for i = 1, #CHAINLINKS do
  1061. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1062. end
  1063. end
  1064. A:remove()
  1065. B:remove()
  1066. C:remove()
  1067. D:remove()
  1068. end))
  1069. CreateSound(233856115, RightArm, 5, 1.2, false)
  1070. for e = 1, 15 do
  1071. Swait()
  1072. for i = 1, #CHAINLINKS do
  1073. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1074. end
  1075. end
  1076. CHAINS = true
  1077. Rooted = true
  1078. wait(0.25)
  1079. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
  1080. FIST.Color = C3(1, 215/255, 1)
  1081. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1082. local LIGHT3 = IT("PointLight",FIST)
  1083. LIGHT3.Range = 7
  1084. LIGHT3.Brightness = 5
  1085. LIGHT3.Color = SKILLTEXTCOLOR
  1086. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1087. local FISTA = IT("Attachment",FIST)
  1088. FISTA.Position = VT(0.062, 0.977, 0)
  1089. local ChainLink = IT("Beam",Torso)
  1090. ChainLink.Texture = "rbxassetid://73042633"
  1091. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1092. ChainLink.TextureSpeed = 0
  1093. ChainLink.Width0 = 3
  1094. ChainLink.Width1 = 3
  1095. ChainLink.TextureLength = 12
  1096. ChainLink.Attachment0 = LIGHT
  1097. ChainLink.Attachment1 = FISTA
  1098. ChainLink.FaceCamera = true
  1099. ChainLink.Segments = 45
  1100. ChainLink.LightEmission = 0.5
  1101. ChainLink.Transparency = NumberSequence.new(0.25)
  1102. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1103. for i = 1, 85 do
  1104. Swait()
  1105. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1106. ChainLink.TextureLength = 12+(i*2)
  1107. ApplyAoE(FIST.Position,10,15,25,100,false)
  1108. 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1109. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1110. if HITFLOOR ~= nil then
  1111. HITFLOOR:BreakJoints()
  1112. coroutine.resume(coroutine.create(function()
  1113. for i = 1, 15 do
  1114. Swait()
  1115. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1116. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  1117. 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1118. end
  1119. end))
  1120. break
  1121. end
  1122. end
  1123. coroutine.resume(coroutine.create(function()
  1124. for i = 1, 50 do
  1125. Swait()
  1126. FIST.Transparency = FIST.Transparency + 0.5/50
  1127. LIGHT3.Range = LIGHT3.Range - 7/50
  1128. end
  1129. FIST:remove()
  1130. end))
  1131. LIGHT:remove()
  1132. GYRO:remove()
  1133. ATTACK = false
  1134. Rooted = false
  1135. end
  1136.  
  1137. function WarpMeteor()
  1138. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1139. if DIST > 180 then
  1140. DIST = 180
  1141. end
  1142. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1143. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1144. if HITFLOOR then
  1145. local POS = HITPOS
  1146. ATTACK = true
  1147. Rooted = true
  1148. local WARPED = false
  1149. local SMASHED = false
  1150. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1151. coroutine.resume(coroutine.create(function()
  1152. repeat
  1153. Swait()
  1154. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1155. 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)
  1156. 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)
  1157. 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)
  1158. 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)
  1159. 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)
  1160. until WARPED == true
  1161. repeat
  1162. Swait()
  1163. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1164. 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)
  1165. 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)
  1166. 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)
  1167. 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)
  1168. 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)
  1169. until SMASHED == true
  1170. repeat
  1171. Swait()
  1172. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1173. 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)
  1174. 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)
  1175. 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)
  1176. 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)
  1177. 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)
  1178. until ATTACK == false
  1179. end))
  1180. VALUE1 = true
  1181. CreateSound(233856115, Torso, 5, 1.6, false)
  1182. for i = 1, 25 do
  1183. Swait()
  1184. for _, c in pairs(Character:GetChildren()) do
  1185. if c.ClassName == "Part" then
  1186. c.Transparency = c.Transparency + 1/25
  1187. end
  1188. end
  1189. for _, c in pairs(Weapon:GetChildren()) do
  1190. if c.ClassName == "Part" then
  1191. c.Transparency = c.Transparency + 1/25
  1192. end
  1193. end
  1194. end
  1195. UNANCHOR = false
  1196. RootPart.Anchored = true
  1197. RootPart.Velocity = VT(0,0,0)
  1198. local ROOTPOS = RootPart.Position
  1199. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  1200. WARPED = true
  1201. for i = 1, 25 do
  1202. Swait()
  1203. for _, c in pairs(Character:GetChildren()) do
  1204. if c.ClassName == "Part" then
  1205. c.Transparency = c.Transparency - 1/25
  1206. end
  1207. end
  1208. for _, c in pairs(Weapon:GetChildren()) do
  1209. if c.ClassName == "Part" then
  1210. c.Transparency = c.Transparency - 1/25
  1211. end
  1212. end
  1213. end
  1214. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0))
  1215. SHELL.CFrame = RootPart.CFrame
  1216. MakeForm(SHELL,"Ball")
  1217. CreateSound(402981977, SHELL, 5, 1.6, false)
  1218. for i = 1, 10 do
  1219. Swait()
  1220. SHELL.Transparency = SHELL.Transparency - 1/10
  1221. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  1222. end
  1223. for i = 1, math.ceil(75/2) do
  1224. Swait()
  1225. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  1226. SHELL.CFrame = CF(RootPart.Position)
  1227. 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})
  1228. end
  1229. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  1230. SHELL.CFrame = CF(RootPart.Position)
  1231. 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})
  1232. 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})
  1233. 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})
  1234. for i = 1, 5 do
  1235. 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1236. end
  1237. SHELL:remove()
  1238. ApplyAoE(RootPart.Position,75,35,75,175,false)
  1239. SMASHED = true
  1240. wait(1)
  1241. VALUE1 = false
  1242. UNANCHOR = true
  1243. ATTACK = false
  1244. Rooted = false
  1245. end
  1246. end
  1247.  
  1248. Circle = nil
  1249. CircleParts = {}
  1250. Equipped = false
  1251.  
  1252. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1253. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1254. end
  1255.  
  1256. Spawn(function()
  1257. while Equipped and Humanoid.Parent and Torso.Parent do
  1258. if Angle == 360 then
  1259. Angle = 0
  1260. end
  1261. Angle = Angle + 0.05
  1262. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  1263. if Hit then
  1264. if not Circle.Parent then
  1265. Circle.Parent = Character
  1266. end
  1267. for i, v in pairs(CircleParts) do
  1268. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  1269. end
  1270. else
  1271. Circle.Parent = nil
  1272. end
  1273. wait()
  1274. end
  1275. end)
  1276.  
  1277. function PandorasBox()
  1278. 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)
  1279. if HITFLOOR ~= nil then
  1280. ATTACK = true
  1281. Rooted = true
  1282. local RINGSPIN = true
  1283. local CONSTRUCTING = true
  1284. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  1285. RING.Color = C3(0,0,0)
  1286. MakeForm(RING,"Cyl")
  1287. RING.CFrame = CF(HITPOS)
  1288. CreateSound(402981977, RING, 5, 1.2, false)
  1289. coroutine.resume(coroutine.create(function()
  1290. repeat
  1291. Swait()
  1292. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1293. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1294. 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)
  1295. 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)
  1296. 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)
  1297. 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)
  1298. 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)
  1299. until CONSTRUCTING == false
  1300. repeat
  1301. Swait()
  1302. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1303. until RINGSPIN == false
  1304. for i = 1, 25 do
  1305. Swait()
  1306. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1307. RING.Size = RING.Size - VT(0.15,0,0.15)
  1308. --DECAL.Transparency = DECAL.Transparency + 1/25
  1309. RING.Transparency = RING.Transparency + 1/25
  1310. end
  1311. RING:remove()
  1312. end))
  1313. for i = 1, 15 do
  1314. Swait()
  1315. RING.Size = RING.Size + VT(0.75,0,0.75)
  1316. RING.Transparency = RING.Transparency - 1/15
  1317. end
  1318. local BOXSPIN = true
  1319. local PANDORASBOX = IT("Model",Effects)
  1320. PANDORASBOX.Name = "Pandora's Box"
  1321. local BOX = IT("Model",PANDORASBOX)
  1322. BOX.Name = "Body"
  1323. local LID = IT("Model",PANDORASBOX)
  1324. LID.Name = "Lid"
  1325. --BUILDING THE BOX--
  1326. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  1327. BASE.Color = C3(0,0,0)
  1328. PANDORASBOX.PrimaryPart = BASE
  1329. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1330. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1331. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1332. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1333. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1334. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1335. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1336. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1337. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1338. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1339. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1340. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1341. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1342. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1343. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1344. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1345. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1346. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1347. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1348. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1349. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1350. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1351. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1352. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1353. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1354. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1355. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1356. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1357. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1358. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1359. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1360. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1361. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1362. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1363. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1364. -------------
  1365. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1366. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1367. LID.PrimaryPart = LIDPART
  1368. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1369. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1370. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1371. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1372. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1373. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1374. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1375. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1376. local DECAL = IT("Decal",LIDPART)
  1377. DECAL.Face = "Top"
  1378. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1379. DECAL.Color3 = C3(0,0,0)
  1380. --BUILDING THE BOX--
  1381. coroutine.resume(coroutine.create(function()
  1382. repeat
  1383. Swait()
  1384. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1385. until BOXSPIN == false
  1386. end))
  1387. for i = 1, 25 do
  1388. Swait()
  1389. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1390. end
  1391. wait(0.5)
  1392. BOXSPIN = false
  1393. CONSTRUCTING = false
  1394. coroutine.resume(coroutine.create(function()
  1395. 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})
  1396. --[[for i = 1, 45 do
  1397. Swait()
  1398. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1399. end-
  1400. LID:remove()]]--
  1401. for _, c in pairs(LID:GetChildren()) do
  1402. if c.ClassName == "Part" then
  1403. c.Anchored = false
  1404. c.CanCollide = true
  1405. if c ~= LIDPART then
  1406. weldBetween(LIDPART,c)
  1407. end
  1408. end
  1409. end
  1410. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1411. Debris:AddItem(LID,15)
  1412. wait(0.5)
  1413. local RANDOMEFFECT = MRANDOM(1,4)
  1414. if RANDOMEFFECT == 1 then
  1415. for i = 1, 45 do
  1416. wait((2-(i/15))/15)
  1417. 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})
  1418. end
  1419. wait(1)
  1420. 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})
  1421. 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})
  1422. 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})
  1423. for i = 1, 5 do
  1424. 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})
  1425. end
  1426. ApplyAoE(BASE.Position,50,1,200,375,false)
  1427. ApplyAoE(BASE.Position,250,35,75,175,false)
  1428. elseif RANDOMEFFECT == 2 then
  1429. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1430. FIELD.CFrame = BASE.CFrame
  1431. MakeForm(FIELD,"Ball")
  1432. for i = 1, 50 do
  1433. Swait()
  1434. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1435. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1436. end
  1437. wait(0.2)
  1438. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  1439. coroutine.resume(coroutine.create(function()
  1440. for i = 1, 75 do
  1441. Swait()
  1442. LOOP.Volume = LOOP.Volume + 10/75
  1443. LOOP.Parent = FIELD
  1444. local CHILDREN = workspace:GetDescendants()
  1445. for index, CHILD in pairs(CHILDREN) do
  1446. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1447. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1448. if HUM then
  1449. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1450. if TORSO then
  1451. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1452. HUM.Health = HUM.Health - 0.1
  1453. TORSO.Velocity = VT(0,5,0)
  1454. HUM.PlatformStand = true
  1455. if TORSO.RotVelocity.Magnitude < 15 then
  1456. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1457. end
  1458. end
  1459. end
  1460. end
  1461. end
  1462. end
  1463. FIELD.Size = FIELD.Size + VT(3,3,3)
  1464. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1465. end
  1466. for i = 1, 500 do
  1467. Swait()
  1468. LOOP.Parent = FIELD
  1469. local CHILDREN = workspace:GetDescendants()
  1470. for index, CHILD in pairs(CHILDREN) do
  1471. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1472. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1473. if HUM then
  1474. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1475. if TORSO then
  1476. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1477. TORSO.Velocity = VT(0,5,0)
  1478. HUM.Health = HUM.Health - 0.1
  1479. HUM.PlatformStand = true
  1480. if TORSO.RotVelocity.Magnitude < 15 then
  1481. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1482. end
  1483. end
  1484. end
  1485. end
  1486. end
  1487. end
  1488. end
  1489. for i = 1, 25 do
  1490. Swait()
  1491. LOOP.Volume = LOOP.Volume + 10/25
  1492. LOOP.Parent = FIELD
  1493. local CHILDREN = workspace:GetDescendants()
  1494. for index, CHILD in pairs(CHILDREN) do
  1495. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1496. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1497. if HUM then
  1498. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1499. if TORSO then
  1500. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  1501. TORSO.Velocity = VT(0,5,0)
  1502. HUM.Health = HUM.Health - 0.1
  1503. HUM.PlatformStand = false
  1504. if TORSO.RotVelocity.Magnitude < 15 then
  1505. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1506. end
  1507. end
  1508. end
  1509. end
  1510. end
  1511. end
  1512. FIELD.Size = FIELD.Size - VT(3,3,3)
  1513. FIELD.Transparency = FIELD.Transparency + 0.2/25
  1514. end
  1515. FIELD:remove()
  1516. end))
  1517. elseif RANDOMEFFECT == 3 then
  1518. for i = 1, 10 do
  1519. wait(0.15)
  1520. 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})
  1521. coroutine.resume(coroutine.create(function()
  1522. local MINION = CLONE:Clone()
  1523. MINION.Parent = Effects
  1524. MINION.Name = "Shadow"
  1525. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1526. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  1527. for _, c in pairs(MINION:GetChildren()) do
  1528. if c.ClassName == "Part" then
  1529. c.Material = "Neon"
  1530. c.Color = C3(0,0,0)
  1531. c.Transparency = 0.25
  1532. if c.Name == "Head" then
  1533. c:ClearAllChildren()
  1534. local MSH = IT("BlockMesh",c)
  1535. MSH.Scale = VT(0.5,1,1)
  1536. end
  1537. end
  1538. end
  1539. local TORSO = MINION.Torso
  1540. local HUMAN = MINION.Humanoid
  1541. HUMAN.WalkSpeed = 20
  1542. HUMAN.MaxHealth = math.huge
  1543. HUMAN.Health = math.huge
  1544. HUMAN.DisplayDistanceType = "None"
  1545. HUMAN.Died:connect(function()
  1546. MINION:remove()
  1547. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  1548. end)
  1549. wait(1)
  1550. local findNearestTorso = function(POS)
  1551. local list = game.Workspace:GetDescendants()
  1552. local torso = nil
  1553. local dist = 500
  1554. local temp = nil
  1555. local human = nil
  1556. local temp2 = nil
  1557. for x = 1, #list do
  1558. temp2 = list[x]
  1559. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  1560. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  1561. human = temp2:findFirstChildOfClass("Humanoid")
  1562. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1563. if (temp.Position - POS).magnitude < dist then
  1564. torso = temp
  1565. dist = (temp.Position - POS).magnitude
  1566. end
  1567. end
  1568. end
  1569. end
  1570. return torso, dist
  1571. end
  1572. for i = 1, 40 do
  1573. if HUMAN.Health == 0 then
  1574. break
  1575. end
  1576. wait(0.3)
  1577. local target,dist= findNearestTorso(TORSO.Position)
  1578. if target then
  1579. HUMAN:MoveTo(target.Position)
  1580. if dist < 25 then
  1581. CreateSound(348663022, TORSO, 10, 1, true)
  1582. wait(2)
  1583. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  1584. --ANIM:Play()
  1585. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  1586. ApplyAoE(TORSO.Position,10,0,0,85,true)
  1587. 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})
  1588. for i = 1, 5 do
  1589. 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})
  1590. end
  1591. break
  1592. end
  1593. end
  1594. end
  1595. MINION:remove()
  1596. end))
  1597. end
  1598. elseif RANDOMEFFECT == 4 then
  1599. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1600. FIELD.Color = C3(0,0,0)
  1601. FIELD.CFrame = BASE.CFrame
  1602. MakeForm(FIELD,"Ball")
  1603. FIELD.CanCollide = true
  1604. for i = 1, 50 do
  1605. Swait()
  1606. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1607. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1608. end
  1609. wait(0.2)
  1610. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  1611. coroutine.resume(coroutine.create(function()
  1612. local E = 0
  1613. for i = 1, 75 do
  1614. E = E + 1
  1615. Swait()
  1616. if E >= 35 then
  1617. E = 0
  1618. 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})
  1619. end
  1620. LOOP.Volume = LOOP.Volume + 10/75
  1621. LOOP.Parent = FIELD
  1622. local CHILDREN = workspace:GetDescendants()
  1623. for index, CHILD in pairs(CHILDREN) do
  1624. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1625. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1626. if HUM then
  1627. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1628. if TORSO then
  1629. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1630. for _, c in pairs(CHILD:GetChildren()) do
  1631. if c:IsA("BasePart") then
  1632. local bv = Instance.new("BodyVelocity")
  1633. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1634. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1635. bv.Parent = c
  1636. Debris:AddItem(bv,0.05)
  1637. end
  1638. end
  1639. HUM.Health = HUM.Health - 0.3
  1640. end
  1641. end
  1642. end
  1643. end
  1644. end
  1645. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  1646. end
  1647. for i = 1, 180 do
  1648. E = E + 1
  1649. Swait()
  1650. if E >= 35 then
  1651. E = 0
  1652. 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})
  1653. end
  1654. LOOP.Parent = FIELD
  1655. local CHILDREN = workspace:GetDescendants()
  1656. for index, CHILD in pairs(CHILDREN) do
  1657. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1658. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1659. if HUM then
  1660. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1661. if TORSO then
  1662. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1663. for _, c in pairs(CHILD:GetChildren()) do
  1664. if c:IsA("BasePart") then
  1665. local bv = Instance.new("BodyVelocity")
  1666. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1667. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1668. bv.Parent = c
  1669. Debris:AddItem(bv,0.05)
  1670. end
  1671. end
  1672. HUM.Health = HUM.Health - 0.3
  1673. end
  1674. end
  1675. end
  1676. end
  1677. end
  1678. end
  1679. ApplyAoE(FIELD.Position,40,15,20,375,false)
  1680. 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})
  1681. for i = 1, 5 do
  1682. 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})
  1683. end
  1684. FIELD:remove()
  1685. end))
  1686. elseif RANDOMEFFECT == 5 then
  1687. end
  1688. wait(0.5)
  1689. for i = 1, 25 do
  1690. Swait()
  1691. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  1692. end
  1693. PANDORASBOX:remove()
  1694. RINGSPIN = false
  1695. end))
  1696. ATTACK = false
  1697. Rooted = false
  1698. end
  1699. end
  1700.  
  1701. function Joy()
  1702. slavdance = Instance.new("Sound",Torso)
  1703. slavdance.SoundId = "rbxassetid://172056286"
  1704. slavdance.Volume = 6
  1705. slavdance.Looped = true
  1706. slavdance:Play()
  1707.  
  1708. ATTACK = true
  1709. Rooted = true
  1710. local LOOP = true
  1711. KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1712. if NEWKEY == "t" then
  1713. KEY:Disconnect()
  1714. LOOP = false
  1715. end
  1716. end)
  1717. coroutine.resume(coroutine.create(function()
  1718. repeat
  1719. Swait()
  1720. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75, 0) * ANGLES(RAD(170 - 15 * SIN(SINE / 6)), RAD(0), RAD(12 - 15 * COS(SINE / 6))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1721. until LOOP == false
  1722. end))
  1723. repeat
  1724. for i = 0, 0.4, 0.1 / Animation_Speed do
  1725. Swait()
  1726. if LOOP == false then
  1727. break
  1728. end
  1729. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1730. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1731. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1732. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1733. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1734. end
  1735. for i = 0, 0.4, 0.1 / Animation_Speed do
  1736. Swait()
  1737. if LOOP == false then
  1738. break
  1739. end
  1740. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1741. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1742. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1743. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1744. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1745. end
  1746. for i = 0, 0.4, 0.1 / Animation_Speed do
  1747. Swait()
  1748. if LOOP == false then
  1749. break
  1750. end
  1751. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1752. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1753. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1754. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1755. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1756. end
  1757. for i = 0, 0.4, 0.1 / Animation_Speed do
  1758. Swait()
  1759. if LOOP == false then
  1760. break
  1761. end
  1762. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1763. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1764. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1765. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1766. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1767. end
  1768. until LOOP == false
  1769. ATTACK = false
  1770. Rooted = false
  1771. slavdance:Remove()
  1772. end
  1773.  
  1774. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1775. coroutine.resume(coroutine.create(function()
  1776. local METEOR = IT("Model",Effects)
  1777. METEOR.Name = "Meteorite"
  1778. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1779. METEOR.PrimaryPart = CENTER
  1780. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1781. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1782. for i = 1, 15 do
  1783. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  1784. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1785. end
  1786. if ISDEBREE ~= true then
  1787. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1788. else
  1789. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1790. end
  1791. local IMPACT = false
  1792. CreateSound(463593339, CENTER, 10, 0.6)
  1793. if SIZE >= 3.5 then
  1794. for i = 1, MRANDOM(3,7) do
  1795. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1796. end
  1797. end
  1798. for i = 1, 200 do
  1799. Swait()
  1800. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1801. if HITFLOOR == nil then
  1802. local ORI = CENTER.Orientation
  1803. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1804. else
  1805. if HITFLOOR.Anchored == true then
  1806. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1807. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1808. end
  1809. IMPACT = true
  1810. break
  1811. end
  1812. end
  1813. if IMPACT == true then
  1814. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1815. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1816. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1817. ApplyAoE(CENTER.Position,30*SIZE)
  1818. end
  1819. METEOR:remove()
  1820. end))
  1821. end
  1822.  
  1823. function Smite()
  1824. ATTACK = true
  1825. Rooted = false
  1826. CreateSound(1368573150, RightArm, 3, 1.5)
  1827. for i=0, 0.6, 0.1 / Animation_Speed do
  1828. Swait()
  1829. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1830. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1831. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1832. end
  1833. local POWER = 0
  1834. repeat
  1835. Swait()
  1836. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1837. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1838. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1839. POWER = POWER + 0.5
  1840. if POWER >= 85 then
  1841. POWER = 85
  1842. end
  1843. until KEYHOLD == false
  1844. if POWER < 0.6 then
  1845. SpawnSmite(Mouse.Hit.p)
  1846. else
  1847. if POWER < 15 then
  1848. POWER = 15
  1849. end
  1850. SpawnMeteor(Mouse.Hit.p,POWER/15)
  1851. end
  1852. ATTACK = false
  1853. Rooted = false
  1854. end
  1855.  
  1856. function Meteor_Shower()
  1857. ATTACK = true
  1858. Rooted = false
  1859. CreateSound(1368573150, RightArm, 3, 0.8)
  1860. CreateSound(649634100, Torso, 10, 0.8)
  1861. for i=0, 1.2, 0.1 / Animation_Speed do
  1862. Swait()
  1863. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1864. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1865. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1866. end
  1867. local POS = Mouse.Hit.p
  1868. CreateSound(463593339, Effects, 3, 1)
  1869. coroutine.resume(coroutine.create(function()
  1870. for i = 1, 35 do
  1871. wait(MRANDOM(5,150)/100)
  1872. SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  1873. end
  1874. end))
  1875. ATTACK = false
  1876. Rooted = false
  1877. end
  1878.  
  1879. function Teleport()
  1880. ATTACK = true
  1881. Rooted = false
  1882. for i=0, 0.5, 0.1 / Animation_Speed do
  1883. Swait()
  1884. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1885. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1886. end
  1887. CreateSound(217767125, Torso, 10, 1)
  1888. local POS = RootPart.Orientation
  1889. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1890. RootPart.Orientation = POS
  1891. RootJoint.Parent = RootPart
  1892. for i=0, 0.5, 0.1 / Animation_Speed do
  1893. Swait()
  1894. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1895. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1896. end
  1897. for i=0, 0.1, 0.1 / Animation_Speed do
  1898. Swait()
  1899. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1900. end
  1901. ATTACK = false
  1902. Rooted = false
  1903. end
  1904.  
  1905. --//=================================\\
  1906. --|| ASSIGN THINGS TO KEYS
  1907. --\\=================================//
  1908.  
  1909. function MouseDown(Mouse)
  1910. HOLD = true
  1911. if ATTACK == false then
  1912. end
  1913. end
  1914.  
  1915. function MouseUp(Mouse)
  1916. HOLD = false
  1917. end
  1918.  
  1919. function KeyDown(Key)
  1920. KEYHOLD = true
  1921. if Key == "z" and ATTACK == false then
  1922. MagicMissiles()
  1923. end
  1924.  
  1925. if Key == "q" and ATTACK == false then
  1926. Teleport()
  1927. end
  1928.  
  1929. if Key == "g" and ATTACK == false then
  1930. Smite()
  1931. end
  1932.  
  1933. if Key == "b" and ATTACK == false then
  1934. TimesUp()
  1935. end
  1936.  
  1937. if Key == "f" and ATTACK == false then
  1938. Meteor_Shower()
  1939. end
  1940.  
  1941. if Key == "c" and ATTACK == false then
  1942. ChainPunch()
  1943. end
  1944.  
  1945. if Key == "v" and ATTACK == false then
  1946. WarpMeteor()
  1947. end
  1948.  
  1949. if Key == "x" and ATTACK == false then
  1950. PandorasBox()
  1951. end
  1952.  
  1953. if Key == "t" and ATTACK == false then
  1954. Joy()
  1955. end
  1956. end
  1957.  
  1958. function KeyUp(Key)
  1959. KEYHOLD = false
  1960. end
  1961.  
  1962. Mouse.Button1Down:connect(function(NEWKEY)
  1963. MouseDown(NEWKEY)
  1964. end)
  1965. Mouse.Button1Up:connect(function(NEWKEY)
  1966. MouseUp(NEWKEY)
  1967. end)
  1968. Mouse.KeyDown:connect(function(NEWKEY)
  1969. KeyDown(NEWKEY)
  1970. end)
  1971. Mouse.KeyUp:connect(function(NEWKEY)
  1972. KeyUp(NEWKEY)
  1973. end)
  1974.  
  1975. --//=================================\\
  1976. --\\=================================//
  1977.  
  1978.  
  1979. function unanchor()
  1980. if UNANCHOR == true then
  1981. RootPart.Anchored = false
  1982. end
  1983. g = Character:GetChildren()
  1984. for i = 1, #g do
  1985. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  1986. g[i].Anchored = false
  1987. end
  1988. end
  1989. g = Weapon:GetChildren()
  1990. for i = 1, #g do
  1991. if g[i].ClassName == "Part" then
  1992. g[i].Anchored = false
  1993. end
  1994. end
  1995. end
  1996.  
  1997.  
  1998. --//=================================\\
  1999. --|| WRAP THE WHOLE SCRIPT UP
  2000. --\\=================================//
  2001.  
  2002. Humanoid.Changed:connect(function(Jump)
  2003. if Jump == "Jump" and (Disable_Jump == true) then
  2004. Humanoid.Jump = false
  2005. end
  2006. end)
  2007.  
  2008. while true do
  2009. Swait()
  2010. script.Parent = WEAPONGUI
  2011. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2012. v:Stop();
  2013. end
  2014. ANIMATE.Parent = nil
  2015. SINE = SINE + CHANGE*1.5
  2016. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2017. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2018. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2019. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2020. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2021. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2022. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2023. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2024. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2025. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2026. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2027. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2028. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2029. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2030. end
  2031. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2032. ANIM = "Jump"
  2033. if ATTACK == false then
  2034. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2035. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2036. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2037. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2038. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2039. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2040. end
  2041. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2042. ANIM = "Fall"
  2043. if ATTACK == false then
  2044. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2045. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2046. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2047. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2048. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2049. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2050. end
  2051. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2052. ANIM = "Idle"
  2053. if ATTACK == false then
  2054. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-2, -0.6, 0.65 + 0.5 * COS(SINE / 9) + ((1) - 1)) * ANGLES(RAD(0), RAD(25), RAD(0)), 0.6 / Animation_Speed)
  2055. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.25 * COS(SINE / 9), -0.1) * ANGLES(RAD(140), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  2056. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.6 / Animation_Speed)
  2057. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.6 / Animation_Speed)
  2058. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  2059. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  2060. end
  2061. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2062. ANIM = "Walk"
  2063. if ATTACK == false then
  2064. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-2, -0.6, 0.5 + ((1) - 1)) * ANGLES(RAD(0), RAD(25), RAD(0)), 0.6 / Animation_Speed)
  2065. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.1) * ANGLES(RAD(140), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  2066. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2067. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2068. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 2 / Animation_Speed)
  2069. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5)), 2 / Animation_Speed)
  2070. end
  2071. end
  2072. unanchor()
  2073. Humanoid.MaxHealth = "inf"
  2074. Humanoid.Health = "inf"
  2075. if Rooted == false then
  2076. Disable_Jump = false
  2077. Humanoid.WalkSpeed = Speed
  2078. elseif Rooted == true then
  2079. Disable_Jump = true
  2080. Humanoid.WalkSpeed = 0
  2081. end
  2082. for _, c in pairs(Character:GetChildren()) do
  2083. if c.ClassName == "Part" and c.Name ~= "Detail" then
  2084. c.Material = "Fabric"
  2085. if c:FindFirstChildOfClass("ParticleEmitter") then
  2086. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2087. end
  2088. if c ~= Head then
  2089. c.Color = C3(0,0,0)
  2090. else
  2091. c.Color = C3(1,1,1)
  2092. end
  2093. if c == Head then
  2094. if c:FindFirstChild("face") then
  2095. c.face:remove()
  2096. end
  2097. end
  2098. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2099. c:remove()
  2100. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Shirt Graphic" or c.Name == "_" then
  2101. c:remove()
  2102. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2103. c:remove()
  2104. end
  2105. end
  2106. sick.SoundId = "rbxassetid://"..SONG
  2107. sick.Looped = true
  2108. sick.Pitch = 1
  2109. sick.Volume = 5
  2110. sick.Parent = Torso
  2111. sick:Resume()
  2112. --sick.Playing = false
  2113. Humanoid.Name = "NO"
  2114. end
  2115.  
  2116. --//=================================\\
  2117. --\\=================================//
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123. --//====================================================\\--
  2124. --|| END OF SCRIPT
  2125. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement