Advertisement
Mz_TH_edit

Untitled

Jun 21st, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 119.01 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| EDIT BY 1x1x1x1x1x1x1x0x0x2
  3. --|| CREATED BY SHACKLUSTER
  4. --\\====================================================//--
  5.  
  6. wait(0.2)
  7.  
  8. Player = game:GetService("Players").LocalPlayer
  9. PlayerGui = Player.PlayerGui
  10. Cam = workspace.CurrentCamera
  11. Backpack = Player.Backpack
  12. Character = Player.Character
  13. Humanoid = Character.Humanoid
  14. Mouse = Player:GetMouse()
  15. RootPart = Character["HumanoidRootPart"]
  16. Torso = Character["Torso"]
  17. Head = Character["Head"]
  18. RightArm = Character["Right Arm"]
  19. LeftArm = Character["Left Arm"]
  20. RightLeg = Character["Right Leg"]
  21. LeftLeg = Character["Left Leg"]
  22. RootJoint = RootPart["RootJoint"]
  23. Neck = Torso["Neck"]
  24. RightShoulder = Torso["Right Shoulder"]
  25. LeftShoulder = Torso["Left Shoulder"]
  26. RightHip = Torso["Right Hip"]
  27. LeftHip = Torso["Left Hip"]
  28. local sick = Instance.new("Sound",Character)
  29. sick.SoundId = "rbxassetid://1259371424"
  30. sick.Looped = true
  31. sick.Pitch = 1
  32. sick.Volume = 5
  33. sick:Play()
  34.  
  35. IT = Instance.new
  36. CF = CFrame.new
  37. VT = Vector3.new
  38. RAD = math.rad
  39. C3 = Color3.new
  40. UD2 = UDim2.new
  41. BRICKC = BrickColor.new
  42. ANGLES = CFrame.Angles
  43. EULER = CFrame.fromEulerAnglesXYZ
  44. COS = math.cos
  45. ACOS = math.acos
  46. SIN = math.sin
  47. ASIN = math.asin
  48. ABS = math.abs
  49. MRANDOM = math.random
  50. FLOOR = math.floor
  51. local LAUGHS = {834001699,834001752,834001797,834001828}
  52. local SONGS = {534861083,530959353,1534958855,0}
  53. local CHOICE = MRANDOM(1,4)
  54.  
  55. --//=================================\\
  56. --|| USEFUL VALUES
  57. --\\=================================//
  58.  
  59. Player_Size = 1 --Size of the player.
  60. Animation_Speed = 3
  61. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  62. local Speed = 25
  63. local SIZE = 1
  64. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  65. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  66. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  67. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  68. local DAMAGEMULTIPLIER = 1
  69. local ANIM = "Idle"
  70. local ATTACK = false
  71. local EQUIPPED = false
  72. local HOLD = false
  73. local COMBO = 1
  74. local Rooted = false
  75. local SINE = 0
  76. local KEYHOLD = false
  77. local CHANGE = 2 / Animation_Speed
  78. local WALKINGANIM = false
  79. local VALUE1 = false
  80. local VALUE2 = false
  81. local ROBLOXIDLEANIMATION = IT("Animation")
  82. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  83. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  84. --ROBLOXIDLEANIMATION.Parent = Humanoid
  85. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  86. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  87. WEAPONGUI.Name = "Weapon GUI"
  88. local Weapon = IT("Model")
  89. Weapon.Name = "Adds"
  90. local Effects = IT("Folder", Character)
  91. Effects.Name = "Effects"
  92. local ANIMATOR = Humanoid.Animator
  93. local ANIMATE = Character.Animate
  94. local UNANCHOR = true
  95. local CLOCKLOOP = 0
  96. local SONG = 1382488262
  97. local CLOCKTARGET = nil
  98. local CLOCKSPEED = 2.5
  99. local PLAYMAINANIM = true
  100. local BOLTSOUNDS = {168586621,168586586,178452241}
  101. local WHITELIST = {}
  102. --HELLO
  103.  
  104. --//=================================\\
  105. --\\=================================//
  106.  
  107.  
  108. --//=================================\\
  109. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  110. --\\=================================//
  111.  
  112. ArtificialHB = Instance.new("BindableEvent", script)
  113. ArtificialHB.Name = "ArtificialHB"
  114.  
  115. script:WaitForChild("ArtificialHB")
  116.  
  117. frame = Frame_Speed
  118. tf = 0
  119. allowframeloss = false
  120. tossremainder = false
  121. lastframe = tick()
  122. script.ArtificialHB:Fire()
  123.  
  124. game:GetService("RunService").Heartbeat:connect(function(s, p)
  125. tf = tf + s
  126. if tf >= frame then
  127. if allowframeloss then
  128. script.ArtificialHB:Fire()
  129. lastframe = tick()
  130. else
  131. for i = 1, math.floor(tf / frame) do
  132. script.ArtificialHB:Fire()
  133. end
  134. lastframe = tick()
  135. end
  136. if tossremainder then
  137. tf = 0
  138. else
  139. tf = tf - frame * math.floor(tf / frame)
  140. end
  141. end
  142. end)
  143.  
  144. --//=================================\\
  145. --\\=================================//
  146.  
  147. --//=================================\\
  148. --|| SOME FUNCTIONS
  149. --\\=================================//
  150.  
  151. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  152. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  153. end
  154.  
  155. function PositiveAngle(NUMBER)
  156. if NUMBER >= 0 then
  157. NUMBER = 0
  158. end
  159. return NUMBER
  160. end
  161.  
  162. function NegativeAngle(NUMBER)
  163. if NUMBER <= 0 then
  164. NUMBER = 0
  165. end
  166. return NUMBER
  167. end
  168.  
  169. function Swait(NUMBER)
  170. if NUMBER == 0 or NUMBER == nil then
  171. ArtificialHB.Event:wait()
  172. else
  173. for i = 1, NUMBER do
  174. ArtificialHB.Event:wait()
  175. end
  176. end
  177. end
  178.  
  179. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  180. local NEWMESH = IT(MESH)
  181. if MESH == "SpecialMesh" then
  182. NEWMESH.MeshType = MESHTYPE
  183. if MESHID ~= "nil" and MESHID ~= "" then
  184. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  185. end
  186. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  187. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  188. end
  189. end
  190. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  191. NEWMESH.Scale = SCALE
  192. NEWMESH.Parent = PARENT
  193. return NEWMESH
  194. end
  195.  
  196. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  197. local NEWPART = IT("Part")
  198. NEWPART.formFactor = FORMFACTOR
  199. NEWPART.Reflectance = REFLECTANCE
  200. NEWPART.Transparency = TRANSPARENCY
  201. NEWPART.CanCollide = false
  202. NEWPART.Locked = true
  203. NEWPART.Anchored = true
  204. if ANCHOR == false then
  205. NEWPART.Anchored = false
  206. end
  207. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  208. NEWPART.Name = NAME
  209. NEWPART.Size = SIZE
  210. NEWPART.Position = Torso.Position
  211. NEWPART.Material = MATERIAL
  212. NEWPART:BreakJoints()
  213. NEWPART.Parent = PARENT
  214. return NEWPART
  215. end
  216.  
  217. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  218. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  219. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  220. wave.CFrame = CFRAME
  221. coroutine.resume(coroutine.create(function(PART)
  222. for i = 1, WAIT do
  223. Swait()
  224. mesh.Scale = mesh.Scale * GROW
  225. wave.Transparency = wave.Transparency + (0.5/WAIT)
  226. if wave.Transparency > 0.99 then
  227. wave:remove()
  228. end
  229. end
  230. end))
  231. end
  232.  
  233. local function weldBetween(a, b)
  234. local weldd = Instance.new("ManualWeld")
  235. weldd.Part0 = a
  236. weldd.Part1 = b
  237. weldd.C0 = CFrame.new()
  238. weldd.C1 = b.CFrame:inverse() * a.CFrame
  239. weldd.Parent = a
  240. return weldd
  241. end
  242.  
  243.  
  244. function QuaternionFromCFrame(cf)
  245. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  246. local trace = m00 + m11 + m22
  247. if trace > 0 then
  248. local s = math.sqrt(1 + trace)
  249. local recip = 0.5 / s
  250. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  251. else
  252. local i = 0
  253. if m11 > m00 then
  254. i = 1
  255. end
  256. if m22 > (i == 0 and m00 or m11) then
  257. i = 2
  258. end
  259. if i == 0 then
  260. local s = math.sqrt(m00 - m11 - m22 + 1)
  261. local recip = 0.5 / s
  262. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  263. elseif i == 1 then
  264. local s = math.sqrt(m11 - m22 - m00 + 1)
  265. local recip = 0.5 / s
  266. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  267. elseif i == 2 then
  268. local s = math.sqrt(m22 - m00 - m11 + 1)
  269. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  270. end
  271. end
  272. end
  273.  
  274. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  275. local xs, ys, zs = x + x, y + y, z + z
  276. local wx, wy, wz = w * xs, w * ys, w * zs
  277. local xx = x * xs
  278. local xy = x * ys
  279. local xz = x * zs
  280. local yy = y * ys
  281. local yz = y * zs
  282. local zz = z * zs
  283. 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))
  284. end
  285.  
  286. function QuaternionSlerp(a, b, t)
  287. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  288. local startInterp, finishInterp;
  289. if cosTheta >= 0.0001 then
  290. if (1 - cosTheta) > 0.0001 then
  291. local theta = ACOS(cosTheta)
  292. local invSinTheta = 1 / SIN(theta)
  293. startInterp = SIN((1 - t) * theta) * invSinTheta
  294. finishInterp = SIN(t * theta) * invSinTheta
  295. else
  296. startInterp = 1 - t
  297. finishInterp = t
  298. end
  299. else
  300. if (1 + cosTheta) > 0.0001 then
  301. local theta = ACOS(-cosTheta)
  302. local invSinTheta = 1 / SIN(theta)
  303. startInterp = SIN((t - 1) * theta) * invSinTheta
  304. finishInterp = SIN(t * theta) * invSinTheta
  305. else
  306. startInterp = t - 1
  307. finishInterp = t
  308. end
  309. end
  310. 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
  311. end
  312.  
  313. function Clerp(a, b, t)
  314. local qa = {QuaternionFromCFrame(a)}
  315. local qb = {QuaternionFromCFrame(b)}
  316. local ax, ay, az = a.x, a.y, a.z
  317. local bx, by, bz = b.x, b.y, b.z
  318. local _t = 1 - t
  319. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  320. end
  321.  
  322. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  323. local frame = IT("Frame")
  324. frame.BackgroundTransparency = TRANSPARENCY
  325. frame.BorderSizePixel = BORDERSIZEPIXEL
  326. frame.Position = POSITION
  327. frame.Size = SIZE
  328. frame.BackgroundColor3 = COLOR
  329. frame.BorderColor3 = BORDERCOLOR
  330. frame.Name = NAME
  331. frame.Parent = PARENT
  332. return frame
  333. end
  334.  
  335. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  336. local label = IT("TextLabel")
  337. label.BackgroundTransparency = 1
  338. label.Size = UD2(1, 0, 1, 0)
  339. label.Position = UD2(0, 0, 0, 0)
  340. label.TextColor3 = TEXTCOLOR
  341. label.TextStrokeTransparency = STROKETRANSPARENCY
  342. label.TextTransparency = TRANSPARENCY
  343. label.FontSize = TEXTFONTSIZE
  344. label.Font = TEXTFONT
  345. label.BorderSizePixel = BORDERSIZEPIXEL
  346. label.TextScaled = false
  347. label.Text = TEXT
  348. label.Name = NAME
  349. label.Parent = PARENT
  350. return label
  351. end
  352.  
  353. function NoOutlines(PART)
  354. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  355. end
  356.  
  357. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  358. local NEWWELD = IT(TYPE)
  359. NEWWELD.Part0 = PART0
  360. NEWWELD.Part1 = PART1
  361. NEWWELD.C0 = C0
  362. NEWWELD.C1 = C1
  363. NEWWELD.Parent = PARENT
  364. return NEWWELD
  365. end
  366.  
  367. local S = IT("Sound")
  368. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  369. local NEWSOUND = nil
  370. coroutine.resume(coroutine.create(function()
  371. NEWSOUND = S:Clone()
  372. NEWSOUND.Parent = PARENT
  373. NEWSOUND.Volume = VOLUME
  374. NEWSOUND.Pitch = PITCH
  375. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  376. NEWSOUND:play()
  377. if DOESLOOP == true then
  378. NEWSOUND.Looped = true
  379. else
  380. repeat wait(1) until NEWSOUND.Playing == false
  381. NEWSOUND:remove()
  382. end
  383. end))
  384. return NEWSOUND
  385. end
  386.  
  387. local EyeSizes={
  388. NumberSequenceKeypoint.new(0,2,0),
  389. NumberSequenceKeypoint.new(1,0,0)
  390. }
  391. local EyeTrans={
  392. NumberSequenceKeypoint.new(0,0.5,0),
  393. NumberSequenceKeypoint.new(1,1,0)
  394. }
  395. local PE=Instance.new("ParticleEmitter",nil)
  396. PE.LightEmission=.8
  397. PE.Color = ColorSequence.new(BRICKC("Alder").Color,BRICKC("Lavender").Color)
  398. PE.Size=NumberSequence.new(EyeSizes)
  399. PE.Transparency=NumberSequence.new(EyeTrans)
  400. PE.Lifetime=NumberRange.new(0.35,1)
  401. PE.Rotation=NumberRange.new(0,360)
  402. PE.Rate=100
  403. PE.VelocitySpread = 10000
  404. PE.Acceleration = Vector3.new(0,85,0)
  405. PE.Drag = 5
  406. PE.Speed = NumberRange.new(0.1,5)
  407. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  408. PE.ZOffset = 0.5
  409. PE.Name = "PE"
  410. PE.Enabled = false
  411.  
  412. function Fire(art)
  413. local PARTICLES = PE:Clone()
  414. PARTICLES.Parent = art
  415. PARTICLES.Enabled = true
  416. return PARTICLES
  417. end
  418.  
  419. function CFrameFromTopBack(at, top, back)
  420. local right = top:Cross(back)
  421. 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)
  422. end
  423.  
  424. --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})
  425. function WACKYEFFECT(Table)
  426. local TYPE = (Table.EffectType or "Sphere")
  427. local SIZE = (Table.Size or VT(1,1,1))
  428. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  429. local TRANSPARENCY = (Table.Transparency or 0)
  430. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  431. local CFRAME = (Table.CFrame or Torso.CFrame)
  432. local MOVEDIRECTION = (Table.MoveToPos or nil)
  433. local ROTATION1 = (Table.RotationX or 0)
  434. local ROTATION2 = (Table.RotationY or 0)
  435. local ROTATION3 = (Table.RotationZ or 0)
  436. local MATERIAL = (Table.Material or "Neon")
  437. local COLOR = (Table.Color or C3(1,1,1))
  438. local TIME = (Table.Time or 45)
  439. local SOUNDID = (Table.SoundID or nil)
  440. local SOUNDPITCH = (Table.SoundPitch or nil)
  441. local SOUNDVOLUME = (Table.SoundVolume or nil)
  442. coroutine.resume(coroutine.create(function()
  443. local PLAYSSOUND = false
  444. local SOUND = nil
  445. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  446. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  447. PLAYSSOUND = true
  448. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  449. end
  450. EFFECT.Color = COLOR
  451. local MSH = nil
  452. if TYPE == "Sphere" then
  453. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  454. elseif TYPE == "Block" or TYPE == "Box" then
  455. MSH = IT("BlockMesh",EFFECT)
  456. MSH.Scale = SIZE
  457. elseif TYPE == "Wave" then
  458. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  459. elseif TYPE == "Ring" then
  460. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  461. elseif TYPE == "Slash" then
  462. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  463. elseif TYPE == "Round Slash" then
  464. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  465. elseif TYPE == "Swirl" then
  466. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  467. elseif TYPE == "Skull" then
  468. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  469. elseif TYPE == "Crystal" then
  470. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  471. end
  472. if MSH ~= nil then
  473. local MOVESPEED = nil
  474. if MOVEDIRECTION ~= nil then
  475. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  476. end
  477. local GROWTH = SIZE - ENDSIZE
  478. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  479. if TYPE == "Block" then
  480. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  481. else
  482. EFFECT.CFrame = CFRAME
  483. end
  484. for LOOP = 1, TIME+1 do
  485. Swait()
  486. MSH.Scale = MSH.Scale - GROWTH/TIME
  487. if TYPE == "Wave" then
  488. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  489. end
  490. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  491. if TYPE == "Block" then
  492. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  493. else
  494. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  495. end
  496. if MOVEDIRECTION ~= nil then
  497. local ORI = EFFECT.Orientation
  498. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  499. EFFECT.Orientation = ORI
  500. end
  501. end
  502. if PLAYSSOUND == false then
  503. EFFECT:remove()
  504. else
  505. repeat wait(1) until SOUND.Playing == false
  506. EFFECT:remove()
  507. end
  508. else
  509. if PLAYSSOUND == false then
  510. EFFECT:remove()
  511. else
  512. repeat Swait() until SOUND.Playing == false
  513. EFFECT:remove()
  514. end
  515. end
  516. end))
  517. end
  518.  
  519. function MakeForm(PART,TYPE)
  520. if TYPE == "Cyl" then
  521. local MSH = IT("CylinderMesh",PART)
  522. elseif TYPE == "Ball" then
  523. local MSH = IT("SpecialMesh",PART)
  524. MSH.MeshType = "Sphere"
  525. elseif TYPE == "Wedge" then
  526. local MSH = IT("SpecialMesh",PART)
  527. MSH.MeshType = "Wedge"
  528. end
  529. end
  530.  
  531. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  532. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  533. local mesh = IT("SpecialMesh",wave)
  534. mesh.MeshType = "FileMesh"
  535. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  536. mesh.Scale = SIZE
  537. mesh.Offset = VT(0,0,-SIZE.X/8)
  538. wave.CFrame = CFRAME
  539. coroutine.resume(coroutine.create(function(PART)
  540. for i = 1, WAIT do
  541. Swait()
  542. mesh.Scale = mesh.Scale + GROW
  543. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  544. if DOESROT == true then
  545. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  546. end
  547. wave.Transparency = wave.Transparency + (0.5/WAIT)
  548. if wave.Transparency > 0.99 then
  549. wave:remove()
  550. end
  551. end
  552. end))
  553. end
  554.  
  555. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  556. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  557. local mesh = IT("SpecialMesh",wave)
  558. mesh.MeshType = "FileMesh"
  559. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  560. mesh.Scale = SIZE
  561. --mesh.Offset = VT(0,0,-SIZE.X/8)
  562. wave.CFrame = CFRAME
  563. coroutine.resume(coroutine.create(function(PART)
  564. for i = 1, WAIT do
  565. Swait()
  566. mesh.Scale = mesh.Scale + GROW
  567. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  568. if DOESROT == true then
  569. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  570. end
  571. wave.Transparency = wave.Transparency + (0.5/WAIT)
  572. if wave.Transparency > 0.99 then
  573. wave:remove()
  574. end
  575. end
  576. end))
  577. end
  578.  
  579. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  580. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  581. local mesh = IT("SpecialMesh",wave)
  582. mesh.MeshType = "FileMesh"
  583. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  584. mesh.Scale = SIZE
  585. wave.CFrame = CFRAME
  586. coroutine.resume(coroutine.create(function(PART)
  587. for i = 1, WAIT do
  588. Swait()
  589. mesh.Scale = mesh.Scale + GROW
  590. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  591. if DOESROT == true then
  592. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  593. end
  594. wave.Transparency = wave.Transparency + (0.5/WAIT)
  595. if wave.Transparency > 0.99 then
  596. wave:remove()
  597. end
  598. end
  599. end))
  600. end
  601.  
  602. Debris = game:GetService("Debris")
  603.  
  604. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  605. local DIRECTION = CF(StartPos,EndPos).lookVector
  606. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  607. end
  608.  
  609. local HATWELD = nil
  610. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  611. PLAYMAINANIM = false
  612. if WhichPose == "Cast1" then
  613. for i=0, Time, 0.1 / Animation_Speed do
  614. Swait()
  615. if Magic == true then
  616. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  617. end
  618. if Gyro ~= nil and Gyro ~= false then
  619. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  620. end
  621. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  622. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  623. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  624. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  625. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  626. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  627. end
  628. elseif WhichPose == "Cast2" then
  629. for i=0, Time, 0.1 / Animation_Speed do
  630. Swait()
  631. if Magic == true then
  632. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  633. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  634. end
  635. if Gyro ~= nil and Gyro ~= false then
  636. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  637. end
  638. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  639. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  640. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  641. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  642. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  643. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  644. end
  645. elseif WhichPose == "RightArmUp" then
  646. for i=0, Time, 0.1 / Animation_Speed do
  647. Swait()
  648. if Magic == true then
  649. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  650. end
  651. if Gyro ~= nil and Gyro ~= false then
  652. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  653. end
  654. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  655. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  656. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  657. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  658. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  659. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  660. end
  661. elseif WhichPose == "Taunt" then
  662. for i=0, Time, 0.1 / Animation_Speed do
  663. Swait()
  664. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  665. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  666. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  667. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  668. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  669. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  670. end
  671. HATWELD.Part0 = RightArm
  672. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  673. CreateSound(221057812,Torso,10,1,false)
  674. for i=0, Time*2, 0.1 / Animation_Speed do
  675. Swait()
  676. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  677. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  678. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  679. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  680. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  681. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  682. end
  683. for i=0, Time, 0.1 / Animation_Speed do
  684. Swait()
  685. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  686. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  687. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  688. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  689. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  690. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  691. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  692. end
  693. HATWELD.Part0 = Head
  694. HATWELD.C0 = CF(0,0.35,0)
  695. elseif WhichPose == "Prepare key" then
  696. for i=0, Time, 0.1 / Animation_Speed do
  697. Swait()
  698. if Gyro ~= nil and Gyro ~= false then
  699. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  700. end
  701. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  702. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  703. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  704. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  705. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  706. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  707. end
  708. elseif WhichPose == "Turn key" then
  709. for i=0, Time, 0.1 / Animation_Speed do
  710. Swait()
  711. if Gyro ~= nil and Gyro ~= false then
  712. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  713. end
  714. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  715. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  716. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  717. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  718. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  719. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  720. end
  721. end
  722. PLAYMAINANIM = true
  723. end
  724.  
  725. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  726. function Lightning(Table)
  727. local Color = Table.Color or C3(1,1,1)
  728. local StartPos = Table.Start or Torso.Position
  729. local EndPos = Table.End or Mouse.Hit.p
  730. local SegmentLength = Table.SegmentL or 2
  731. local Thickness = Table.Thickness or 0.1
  732. local Dissapear = Table.DoesFade or false
  733. local Parent = Table.Ignore or Character
  734. local MaxDist = Table.MaxDist or 400
  735. local Branches = Table.Branches or false
  736. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  737. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  738. local LIGHTNINGMODEL = IT("Model",Effects)
  739. LIGHTNINGMODEL.Name = "Lightning"
  740. local LastBolt = nil
  741. for E = 1, DISTANCE do
  742. local ExtraSize = (DISTANCE-E)/15
  743. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  744. PART.Color = Color
  745. MakeForm(PART,"Cyl")
  746. if LastBolt == nil then
  747. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  748. else
  749. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  750. end
  751. LastBolt = PART
  752. if Branches == true then
  753. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  754. if CHOICE == 1 then
  755. local LASTBRANCH = nil
  756. for i = 1, MRANDOM(2,5) do
  757. local ExtraSize2 = ((DISTANCE-E)/25)/i
  758. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  759. PART.Color = Color
  760. MakeForm(PART,"Cyl")
  761. if LASTBRANCH == nil then
  762. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  763. else
  764. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  765. end
  766. LASTBRANCH = PART
  767. end
  768. end
  769. end
  770. end
  771. if Dissapear == true then
  772. coroutine.resume(coroutine.create(function()
  773. for i = 1, 10 do
  774. Swait()
  775. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  776. if c.ClassName == "Part" then
  777. c.Transparency = i/10
  778. end
  779. end
  780. end
  781. LIGHTNINGMODEL:remove()
  782. end))
  783. elseif Dissapear == false then
  784. Debris:AddItem(LIGHTNINGMODEL,0.1)
  785. end
  786. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  787. end
  788.  
  789.  
  790. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  791. if FLOOR ~= nil then
  792. coroutine.resume(coroutine.create(function()
  793. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  794. PART.CFrame = CF(POSITION)
  795. for i = 1, 45 do
  796. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  797. RingPiece.Material = FLOOR.Material
  798. RingPiece.Color = FLOOR.Color
  799. 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)))
  800. Debris:AddItem(RingPiece,SWAIT)
  801. end
  802. PART:remove()
  803. end))
  804. end
  805. end
  806.  
  807. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  808. if FLOOR ~= nil then
  809. for i = 1, AMOUNT do
  810. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  811. DEBREE.Material = FLOOR.Material
  812. DEBREE.Color = FLOOR.Color
  813. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  814. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  815. coroutine.resume(coroutine.create(function()
  816. Swait(15)
  817. DEBREE.Parent = workspace
  818. DEBREE.CanCollide = true
  819. Debris:AddItem(DEBREE,SWAIT)
  820. end))
  821. end
  822. end
  823. end
  824. function SpawnTrail(FROM,TO,BIG)
  825. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "red", "Trail", VT(0,0,0))
  826. MakeForm(TRAIL,"Cyl")
  827. local DIST = (FROM - TO).Magnitude
  828. if BIG == true then
  829. TRAIL.Size = VT(0.5,DIST,0.5)
  830. else
  831. TRAIL.Size = VT(0.25,DIST,0.25)
  832. end
  833. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  834. coroutine.resume(coroutine.create(function()
  835. for i = 1, 5 do
  836. Swait()
  837. TRAIL.Transparency = TRAIL.Transparency + 0.1
  838. end
  839. TRAIL:remove()
  840. end))
  841. end
  842.  
  843. local asd = Instance.new("ParticleEmitter")
  844. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  845. asd.LightEmission = .1
  846. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  847. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  848. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  849. asd.Transparency = bbb
  850. asd.Size = aaa
  851. asd.ZOffset = .9
  852. asd.Acceleration = Vector3.new(0, -15, 0)
  853. asd.LockedToPart = false
  854. asd.EmissionDirection = "Back"
  855. asd.Lifetime = NumberRange.new(1, 2)
  856. asd.Rotation = NumberRange.new(-100, 100)
  857. asd.RotSpeed = NumberRange.new(-100, 100)
  858. asd.Speed = NumberRange.new(10)
  859. asd.Enabled = false
  860. asd.VelocitySpread = 999
  861.  
  862. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  863. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  864. local mesh = IT("SpecialMesh",wave)
  865. mesh.MeshType = "Sphere"
  866. mesh.Scale = SIZE
  867. mesh.Offset = VT(0,0,0)
  868. wave.CFrame = CFRAME
  869. coroutine.resume(coroutine.create(function(PART)
  870. for i = 1, WAIT do
  871. Swait()
  872. mesh.Scale = mesh.Scale + GROW
  873. wave.Transparency = wave.Transparency + (1/WAIT)
  874. if wave.Transparency > 0.99 then
  875. wave:remove()
  876. end
  877. end
  878. end))
  879. end
  880.  
  881. function getbloody(victim,amount)
  882. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  883. PART.CFrame = victim.CFrame
  884. local HITPLAYERSOUNDS = {"356551938","264486467"}
  885. Debris:AddItem(PART,5)
  886. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  887. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  888. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  889. local prtcl = asd:Clone()
  890. prtcl.Parent = PART
  891. prtcl:Emit(amount*10)
  892. end
  893.  
  894. local Particle = IT("ParticleEmitter",nil)
  895. Particle.Enabled = false
  896. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  897. Particle.LightEmission = 0.5
  898. Particle.Rate = 150
  899. Particle.ZOffset = 1
  900. Particle.Rotation = NumberRange.new(-180, 180)
  901. Particle.RotSpeed = NumberRange.new(-180, 180)
  902. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  903. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  904.  
  905. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  906. function ParticleEmitter(Table)
  907. local PRTCL = Particle:Clone()
  908. local Speed = Table.Speed or 5
  909. local Drag = Table.Drag or 0
  910. local Size1 = Table.Size1 or 1
  911. local Size2 = Table.Size2 or 5
  912. local Lifetime1 = Table.Lifetime1 or 1
  913. local Lifetime2 = Table.Lifetime2 or 1.5
  914. local Parent = Table.Parent or Torso
  915. local Emit = Table.Emit or 100
  916. local Offset = Table.Offset or 360
  917. local Acel = Table.Acel or VT(0,0,0)
  918. local Enabled = Table.Enabled or false
  919. PRTCL.Parent = Parent
  920. PRTCL.Size = NumberSequence.new(Size1,Size2)
  921. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  922. PRTCL.Speed = NumberRange.new(Speed)
  923. PRTCL.VelocitySpread = Offset
  924. PRTCL.Drag = Drag
  925. PRTCL.Acceleration = Acel
  926. if Enabled == false then
  927. PRTCL:Emit(Emit)
  928. Debris:AddItem(PRTCL,Lifetime2)
  929. else
  930. PRTCL.Enabled = true
  931. end
  932. return PRTCL
  933. end
  934. function particles(art)
  935. local PARTICLES = PE:Clone()
  936. PARTICLES.Parent = art
  937. end
  938. function Shatter(Part)
  939. if Part.Transparency == 0 then
  940. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  941. Debris:AddItem(SOUNDPART,5)
  942. CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  943. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  944. local SIZESET = SIZE/4
  945. local XOffset = Part.Size.X*1.5/SIZESET
  946. local YOffset = Part.Size.Y*1.5/SIZESET
  947. local ZOffset = Part.Size.Z*1.5/SIZESET
  948. for x = 1, math.ceil(XOffset) do
  949. for y = 1, math.ceil(YOffset) do
  950. for z = 1, math.ceil(ZOffset) do
  951. local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  952. SHARD.CanCollide = true
  953. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
  954. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  955. Debris:AddItem(SHARD,MRANDOM(10,25)/3)
  956. end
  957. end
  958. end
  959. end
  960. Part:remove()
  961. end
  962.  
  963. function turnto(position)
  964. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  965. end
  966.  
  967. --//=================================\\
  968. --|| WEAPON CREATION
  969. --\\=================================//
  970.  
  971. function chatfunc(text)
  972. local chat = coroutine.wrap(function()
  973. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  974. Character:FindFirstChild("TalkingBillBoard"):destroy()
  975. end
  976. local Bill = Instance.new("BillboardGui",Character)
  977. Bill.Size = UDim2.new(0,100,0,40)
  978. Bill.StudsOffset = Vector3.new(0,3,0)
  979. Bill.Adornee = Character.Head
  980. Bill.Name = "TalkingBillBoard"
  981. local Hehe = Instance.new("TextLabel",Bill)
  982. Hehe.BackgroundTransparency = 1
  983. Hehe.BorderSizePixel = 0
  984. Hehe.Text = ""
  985. Hehe.Font = "Garamond"
  986. Hehe.TextSize = 40
  987. Hehe.TextStrokeTransparency = 0
  988. Hehe.Size = UDim2.new(1,0,0.5,0)
  989. coroutine.resume(coroutine.create(function()
  990. while Hehe ~= nil do
  991. Swait()
  992. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  993. Hehe.Rotation = math.random(-5,5)
  994. Hehe.TextColor3 = Color3.new(0,0,0)
  995. Hehe.TextStrokeColor3 = Color3.new(1,1,1)
  996. end
  997. end))
  998. for i = 1,string.len(text),1 do
  999. Swait()
  1000. Hehe.Text = string.sub(text,1,i)
  1001. end
  1002. Swait(90)--Re[math.random(1, 93)]
  1003. for i = 0, 1, .025 do
  1004. Swait()
  1005. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1006. Hehe.TextStrokeTransparency = i
  1007. Hehe.TextTransparency = i
  1008. end
  1009. Bill:Destroy()
  1010. end)
  1011. chat()
  1012. end
  1013.  
  1014. function onChatted(msg)
  1015. chatfunc(msg)
  1016. end
  1017.  
  1018. Player.Chatted:connect(onChatted)
  1019.  
  1020. for i = 1, 15 do
  1021. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  1022. FACE.Color = C3(0,0,0)
  1023. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1024. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  1025. end
  1026.  
  1027. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1028. Humanoid.DisplayDistanceType = "None"
  1029. local naeeym2 = IT("BillboardGui",Character)
  1030. naeeym2.AlwaysOnTop = true
  1031. naeeym2.Size = UDim2.new(5,35,2,15)
  1032. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1033. naeeym2.MaxDistance = 75
  1034. naeeym2.Adornee = Character.Head
  1035. naeeym2.Name = "Name"
  1036. naeeym2.PlayerToHideFrom = Player
  1037. local tecks2 = IT("TextLabel",naeeym2)
  1038. tecks2.BackgroundTransparency = 1
  1039. tecks2.TextScaled = true
  1040. tecks2.BorderSizePixel = 0
  1041. tecks2.Text = "i am mz"
  1042. tecks2.Font = "Bodoni"
  1043. tecks2.TextSize = 30
  1044. tecks2.TextStrokeTransparency = 0.5
  1045. tecks2.TextColor3 = C3(0,0,0)
  1046. tecks2.TextStrokeColor3 = BRICKC"Lavender".Color
  1047. tecks2.Size = UDim2.new(1,0,0.5,0)
  1048. tecks2.Parent = naeeym2
  1049. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Lilac", "FaceGradient", VT(0.15,0.15,0.15),false)
  1050. MakeForm(EYE,"Ball")
  1051. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.55), CF(0, 0, 0))
  1052. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Lilac", "FaceGradient", VT(0.05,0.14,0.05),false)
  1053. EYE.Color = C3(1,1,1)
  1054. MakeForm(EYE,"Ball")
  1055. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.6), CF(0, 0, 0))
  1056. top.Parent = Character
  1057. top.Name = "Cloth"
  1058. bottom.Parent = Character
  1059. bottom.Name = "Cloth"
  1060.  
  1061. for _, c in pairs(Character:GetChildren()) do
  1062. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  1063. c.Material = "Neon"
  1064. if c:FindFirstChildOfClass("ParticleEmitter") then
  1065. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1066. end
  1067. c.Color = C3(1,1,1)
  1068. if c == Head then
  1069. if c:FindFirstChild("face") then
  1070. c.face:remove()
  1071. end
  1072. end
  1073. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1074. c:remove()
  1075. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1076. c:remove()
  1077. end
  1078. end
  1079.  
  1080. for _, c in pairs(Weapon:GetChildren()) do
  1081. if c.ClassName == "Part" then
  1082. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1083. end
  1084. end
  1085.  
  1086. Weapon.Parent = Character
  1087.  
  1088. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  1089. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1090. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  1091. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1092. MakeForm(PRT,"Cyl")
  1093. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  1094. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1095. MakeForm(PRT,"Cyl")
  1096. PRT.Color = C3(159/255, 111/255, 183/255)
  1097. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  1098. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1099. MakeForm(RING,"Cyl")
  1100. RING.Color = C3(0,0,0)
  1101. for i = 1, 12 do
  1102. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(0,0.15,0)*SIZE,false)
  1103. PRT.Color = C3(0,0,0)
  1104. local MSH = IT("BlockMesh",PRT)
  1105. MSH.Scale = VT(0.6,1,1)
  1106. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  1107. end
  1108. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1109. PRT.Color = C3(0,0,0)
  1110. local MSH = IT("BlockMesh",PRT)
  1111. MSH.Scale = VT(0.4,1,1)
  1112. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  1113. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "red", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1114. PRT.Color = C3(0,0,0)
  1115. local MSH = IT("BlockMesh",PRT)
  1116. MSH.Scale = VT(0.4,1,1)
  1117. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  1118. coroutine.resume(coroutine.create(function()
  1119. while true do
  1120. Swait()
  1121. CLOCKLOOP = CLOCKLOOP - 2.5*CLOCKSPEED
  1122. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1123. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1124. if CLOCKLOOP <= -150 then
  1125. if VALUE1 == false then
  1126. CLOCKLOOP = 0
  1127. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 2})
  1128. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1129. ApplyAoE(HITPOS,10,15,45,75,false)
  1130. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1/1, 1/1, 1/1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  1131. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  1132. if CLOCKTARGET ~= nil then
  1133. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1134. if CLOCKTARGET.Torso ~= nil then
  1135. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1136. end
  1137. if CLOCKTARGET.Health == 0 then
  1138. CLOCKTARGET = nil
  1139. end
  1140. end
  1141. end
  1142. end
  1143. end
  1144. end))
  1145. chatfunc("Wele Come To UA")
  1146.  
  1147. for _, c in pairs(Weapon:GetChildren()) do
  1148. if c.ClassName == "Part" then
  1149. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1150. end
  1151. end
  1152.  
  1153. local BODY = {}
  1154. for _, c in pairs(Character:GetDescendants()) do
  1155. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1156. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1157. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1158. end
  1159. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1160. elseif c:IsA("JointInstance") then
  1161. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1162. end
  1163. end
  1164. for e = 1, #BODY do
  1165. if BODY[e] ~= nil then
  1166. local STUFF = BODY[e]
  1167. local PART = STUFF[1]
  1168. local PARENT = STUFF[2]
  1169. local MATERIAL = STUFF[3]
  1170. local COLOR = STUFF[4]
  1171. local TRANSPARENCY = STUFF[5]
  1172. if PART.ClassName == "Part" and PART ~= RootPart then
  1173. PART.Material = MATERIAL
  1174. PART.Color = COLOR
  1175. PART.Transparency = TRANSPARENCY
  1176. end
  1177. PART.AncestryChanged:Connect(function()
  1178. PART.Parent = PARENT
  1179. end)
  1180. end
  1181. end
  1182. function refit()
  1183. Character.Parent = workspace
  1184. for e = 1, #BODY do
  1185. if BODY[e] ~= nil then
  1186. local STUFF = BODY[e]
  1187. local PART = STUFF[1]
  1188. local PARENT = STUFF[2]
  1189. local MATERIAL = STUFF[3]
  1190. local COLOR = STUFF[4]
  1191. local TRANSPARENCY = STUFF[5]
  1192. if PART.ClassName == "Part" and PART ~= RootPart then
  1193. PART.Material = MATERIAL
  1194. PART.Color = COLOR
  1195. PART.Transparency = TRANSPARENCY
  1196. end
  1197. if PART.Parent ~= PARENT then
  1198. Humanoid:remove()
  1199. PART.Parent = PARENT
  1200. Humanoid = IT("Humanoid",Character)
  1201. end
  1202. end
  1203. end
  1204. end
  1205.  
  1206. local SKILLTEXTCOLOR = BRICKC"red".Color
  1207. local SKILLFONT = "Bodoni"
  1208. local SKILLTEXTSIZE = 7
  1209.  
  1210. Humanoid.Died:connect(function()
  1211. refit()
  1212. end)
  1213.  
  1214. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1215. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1216. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1217. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1218. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1219. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1220. local SKILL7FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1221.  
  1222. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] FREE FOOD!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1223. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] GAME BOX!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1224. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] METEOR!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1225. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] PUNCH!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1226. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] SMASH!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1227. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[T] ONE FOR ALL FULL COWL!!!!!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  1228. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[E] TEAXS SMASH!", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 7")
  1229.  
  1230. --ello
  1231. --//=================================\\
  1232. --|| DAMAGING
  1233. --\\=================================//
  1234.  
  1235. function killneares(position,range,EFFECT)
  1236. for i,v in ipairs(workspace:GetChildren()) do
  1237. local body = v:GetChildren()
  1238. for part = 1, #body do
  1239. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1240. local SIZE = body[part].Size.Magnitude
  1241. if(body[part].Position - position).Magnitude < range + SIZE/2 then
  1242. if v.ClassName == "Model" then
  1243. if v:FindFirstChildOfClass("Humanoid") ~= nil then
  1244. if v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1245. v:BreakJoints()
  1246. if EFFECT == "Glitch" then
  1247. coroutine.resume(coroutine.create(function()
  1248. local ORIGINPOS = body[part].CFrame
  1249. local SIZE = body[part].Size
  1250. for i = 1, 100 do
  1251. Swait()
  1252. local PART = body[part]
  1253. PART.Anchored = true
  1254. PART.Size = SIZE*MRANDOM(5,15)/10
  1255. PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15)
  1256. end
  1257. body[part]:remove()
  1258. end))
  1259. elseif EFFECT == "Shatter" then
  1260. for _, c in pairs(v:GetChildren()) do
  1261. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1262. Shatter(c)
  1263. end
  1264. end
  1265. end
  1266. end
  1267. end
  1268. end
  1269. end
  1270. end
  1271. end
  1272. end
  1273. end
  1274.  
  1275. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1276. local CHILDREN = workspace:GetDescendants()
  1277. for index, CHILD in pairs(CHILDREN) do
  1278. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1279. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1280. if HUM then
  1281. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1282. if TORSO then
  1283. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1284. CHILD:BreakJoints()
  1285. if FLING ~= 0 then
  1286. for _, c in pairs(CHILD:GetChildren()) do
  1287. if c:IsA("BasePart") and c.Transparency == 0 then
  1288. if BURN == true then
  1289. Fire(c)
  1290. end
  1291. local bv = Instance.new("BodyVelocity")
  1292. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1293. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1294. bv.Parent = c
  1295. Debris:AddItem(bv,0.05)
  1296. end
  1297. end
  1298. end
  1299. end
  1300. end
  1301. end
  1302. end
  1303. end
  1304. end
  1305.  
  1306. function APPLYMELEE(PART,MINDMG,MAXDMG)
  1307. local ONESHOT = false
  1308. if MINDMG == "inf" then
  1309. ONESHOT = true
  1310. end
  1311. local HITS = {}
  1312. local TOUCH = PART.Touched:Connect(function(hit)
  1313. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1314. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  1315. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1316. if TORSO and HUM.Health > 0 then
  1317. local PASS = true
  1318. for i = 1, #HITS do
  1319. if HITS[i] == hit.Parent then
  1320. PASS = false
  1321. end
  1322. end
  1323. table.insert(HITS,hit.Parent)
  1324. if PASS == true then
  1325. if ONESHOT == false then
  1326. ApplyDamage(HUM,MRANDOM(MINDMG,MAXDMG))
  1327. else
  1328. CreateSound(1538571923, TORSO, 10, 1, false)
  1329. HUM.Parent:BreakJoints()
  1330. HUM:remove()
  1331. for _, c in pairs(TORSO.Parent:GetChildren()) do
  1332. if c:IsA("BasePart") then
  1333. c.CanCollide = true
  1334. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(45,85),MRANDOM(-45,45))
  1335. Debris:AddItem(c,MRANDOM(5,20)/10)
  1336. end
  1337. end
  1338. end
  1339. end
  1340. end
  1341. end
  1342. end)
  1343. return TOUCH
  1344. end
  1345.  
  1346. function GoombaStomp(OBJECT)
  1347. for _, c in pairs(OBJECT:GetChildren()) do
  1348. if c:IsA("BasePart") then
  1349. c.Size = VT(c.Size.X,0,c.Size.Z)
  1350. end
  1351. end
  1352. end
  1353. function KillChildren(v)
  1354. v:BreakJoints()
  1355. for _, c in pairs(v:GetChildren()) do
  1356. if c:IsA("BasePart") then
  1357. if c.Transparency < 1 then
  1358. if c:FindFirstChildOfClass("Decal") then
  1359. c:FindFirstChildOfClass("Decal"):remove()
  1360. end
  1361. particles(c)
  1362. c.PE.Enabled = true
  1363. c.Parent = Effects
  1364. c.CanCollide = false
  1365. c.Material = "Neon"
  1366. c.Color = C3(0,0,0)
  1367. c.Transparency = 1
  1368. local grav = Instance.new("BodyPosition",c)
  1369. grav.P = 20000
  1370. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1371. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1372. grav.Name = "GravityForce"
  1373. coroutine.resume(coroutine.create(function()
  1374. for i = 1, 20 do
  1375. Swait()
  1376. c.Transparency = c.Transparency + 1/20
  1377. end
  1378. c.PE.Enabled = false
  1379. Debris:AddItem(c,2)
  1380. end))
  1381. end
  1382. end
  1383. end
  1384. end
  1385.  
  1386. function ApplyAoe(POSITION,RANGE)
  1387. local CHILDREN = workspace:GetDescendants()
  1388. for index, CHILD in pairs(CHILDREN) do
  1389. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1390. local LISTED = false
  1391. for LIST = 1, #WHITELIST do
  1392. if WHITELIST[LIST] ~= nil then
  1393. if CHILD.Name == WHITELIST[LIST] then
  1394. LISTED = true
  1395. end
  1396. end
  1397. end
  1398. if LISTED == false then
  1399. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1400. if HUM then
  1401. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1402. if TORSO then
  1403. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1404. KillChildren(CHILD)
  1405. end
  1406. end
  1407. end
  1408. end
  1409. end
  1410. end
  1411. end
  1412. function oof(Char)
  1413. local NewCharacter = IT("Model",Effects)
  1414. NewCharacter.Name = "Ow im ded ;-;"
  1415. for _, c in pairs(Char:GetDescendants()) do
  1416. if c:IsA("BasePart") and c.Transparency == 0 then
  1417. if c.Parent == Char then
  1418. getbloody(c,5)
  1419. end
  1420. c:BreakJoints()
  1421. c.Material = "Neon"
  1422. c.Color = C3(0,0,0)
  1423. c.CanCollide = true
  1424. c.Transparency = 0.3
  1425. if c:FindFirstChildOfClass("SpecialMesh") then
  1426. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1427. end
  1428. if c.Name == "Head" then
  1429. c:ClearAllChildren()
  1430. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1431. end
  1432. if c.ClassName == "MeshPart" then
  1433. c.TextureID = ""
  1434. end
  1435. if c:FindFirstChildOfClass("BodyPosition") then
  1436. c:FindFirstChildOfClass("BodyPosition"):remove()
  1437. end
  1438. if c:FindFirstChildOfClass("ParticleEmitter") then
  1439. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1440. end
  1441. c.Parent = NewCharacter
  1442. c.Name = "DeadPart"
  1443. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1444. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1445. end
  1446. end
  1447. Char:remove()
  1448. Debris:AddItem(NewCharacter,5)
  1449. end
  1450.  
  1451. function ApplyAOE(POSITION,RANGE,BRUTAL)
  1452. local CHILDREN = workspace:GetDescendants()
  1453. for index, CHILD in pairs(CHILDREN) do
  1454. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1455. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1456. if HUM then
  1457. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1458. if TORSO then
  1459. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1460. if BRUTAL == true then
  1461. Kill(CHILD)
  1462. else
  1463. CHILD:BreakJoints()
  1464. end
  1465. end
  1466. end
  1467. end
  1468. end
  1469. end
  1470. end
  1471.  
  1472. function BulletDetection(FROM,TO,BRUTAL)
  1473. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1474. coroutine.resume(coroutine.create(function()
  1475. if AIMHIT ~= nil then
  1476. if AIMHIT.Parent ~= Character then
  1477. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1478. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1479. if BRUTAL == true then
  1480. Kill(AIMHIT.Parent)
  1481. else
  1482. getbloody(AIMHIT,15)
  1483. AIMHIT.Parent:BreakJoints()
  1484. if AIMHIT.Name == "Head" then
  1485. AIMHIT.Name = "HEADSHOT"
  1486. AIMHIT:remove()
  1487. end
  1488. end
  1489. else
  1490. if BRUTAL == true then
  1491. Kill(AIMHIT.Parent.Parent)
  1492. else
  1493. AIMHIT.Parent.Parent:BreakJoints()
  1494. end
  1495. end
  1496. end
  1497. end
  1498. end
  1499. end))
  1500. SpawnTrail(FROM,AIMPOS)
  1501. return AIMHIT,AIMPOS,NORMAL
  1502. end
  1503.  
  1504. function killnearest(position,range,maxstrength,direction)
  1505. for i,v in ipairs(workspace:GetChildren()) do
  1506. local body = v:GetChildren()
  1507. for part = 1, #body do
  1508. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1509. if(body[part].Position - position).Magnitude < range then
  1510. if v.ClassName == "Model" then
  1511. --v:BreakJoints()
  1512. end
  1513. local POS = position
  1514. coroutine.resume(coroutine.create(function()
  1515. body[part].Anchored = true
  1516. body[part].Parent = Effects
  1517. body[part].CanCollide = true
  1518. local SIZE = body[part].Size
  1519. body[part].Material = "Neon"
  1520. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  1521. for i = 1, 75 do
  1522. Swait()
  1523. body[part].Color = C3(0/0, 0/0, 0/0)
  1524. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1525. end
  1526. coroutine.resume(coroutine.create(function()
  1527. while true do
  1528. Swait()
  1529. body[part].Color = C3(0, 0, 0)
  1530. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1531. end
  1532. end))
  1533. body[part].Anchored = false
  1534. body[part].Velocity = direction.lookVector*maxstrength
  1535. end))
  1536. end
  1537. end
  1538. end
  1539. if v.ClassName == "Part" then
  1540. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1541. local POS = position
  1542. coroutine.resume(coroutine.create(function()
  1543. v.Anchored = true
  1544. v.Parent = Effects
  1545. local SIZE = v.Size
  1546. v.Material = "Neon"
  1547. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  1548. for i = 1, 75 do
  1549. Swait()
  1550. v.Color = C3(0, 0, 0)
  1551. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1552. end
  1553. coroutine.resume(coroutine.create(function()
  1554. while true do
  1555. Swait()
  1556. v.Color = C3(0/0, 0/0, 0/0)
  1557. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1558. end
  1559. end))
  1560. v.Anchored = false
  1561. v.Velocity = direction.lookVector*maxstrength
  1562. end))
  1563. end
  1564. end
  1565. end
  1566. end
  1567.  
  1568. --//=================================\\
  1569. --|| ATTACK FUNCTIONS AND STUFF
  1570. --\\=================================//
  1571.  
  1572. Circle = nil
  1573. CircleParts = {}
  1574. Equipped = false
  1575.  
  1576. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1577. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1578. end
  1579. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  1580. Torso = Character:FindFirstChild("Torso")
  1581. if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
  1582. return
  1583. end
  1584. Equipped = true
  1585. Circle = Instance.new("Model")
  1586. Circle.Name = "Circle"
  1587. Angle = 0
  1588. for i = 1, 1 do
  1589. local CirclePart = Instance.new("Part")
  1590. CirclePart.Name = "CirclePart"
  1591. CirclePart.Transparency = 1
  1592. CirclePart.BrickColor = BrickColor.new("White")
  1593. CirclePart.Material = Enum.Material.Plastic
  1594. CirclePart.Shape = Enum.PartType.Block
  1595. CirclePart.FormFactor = Enum.FormFactor.Custom
  1596. CirclePart.TopSurface = Enum.SurfaceType.Smooth
  1597. CirclePart.BottomSurface = Enum.SurfaceType.Smooth
  1598. CirclePart.Anchored = true
  1599. CirclePart.CanCollide = false
  1600. CirclePart.Locked = true
  1601. CirclePart.Size = Vector3.new(10, 0.2, 10)
  1602. local Aura = Instance.new('ParticleEmitter')
  1603. Aura.Name = "Aura"
  1604. Aura.Texture = "rbxassetid://641078192"
  1605. Aura.Parent = CirclePart
  1606. Aura.LightEmission = 0
  1607. Aura.Transparency = NumberSequence.new(0.2,0.4,1)
  1608. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  1609. Aura.Size = NumberSequence.new(0.9,0.5,0.3)
  1610. Aura.LockedToPart = false
  1611. Aura.Lifetime = NumberRange.new(1)
  1612. Aura.Rate = 50
  1613. Aura.Speed = NumberRange.new(2.5)
  1614. Aura.SpreadAngle = Vector2.new(80,80)
  1615. local BlockMesh = Instance.new("BlockMesh")
  1616. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  1617. BlockMesh.Parent = CirclePart
  1618. CirclePart.Parent = Circle
  1619. local Star = Instance.new("Decal", CirclePart)
  1620. Star.Texture = "http://www.roblox.com/asset/?id=1019185679"
  1621. Star.Face = "Top"
  1622. local Light = Instance.new("PointLight", CirclePart)
  1623. Light.Color = Color3.new(.20,0,0)
  1624. Light.Brightness = 100
  1625. Light.Range = 15
  1626. table.insert(CircleParts, CirclePart)
  1627. end
  1628.  
  1629. function SpawnSmite(POS)
  1630. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1631. local EMITPOS = HITPOS
  1632. if HITFLOOR ~= nil then
  1633. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1634. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1635. EMITPOS = HITPOS
  1636. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1637. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1638. EMITPOS = HITPOS
  1639. end
  1640. end
  1641. if HITFLOOR ~= nil then
  1642. ApplyAoE(EMITPOS,10)
  1643. 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})
  1644. 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})
  1645. 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})
  1646. for i = 1, 5 do
  1647. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1648. 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})
  1649. end
  1650. end
  1651. end
  1652.  
  1653. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1654. coroutine.resume(coroutine.create(function()
  1655. local METEOR = IT("Model",Effects)
  1656. METEOR.Name = "Meteorite"
  1657. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "red", "MeteorCenter", VT(5,5,5)*SIZE)
  1658. METEOR.PrimaryPart = CENTER
  1659. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1660. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1661. for i = 1, 15 do
  1662. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "red", "Fire", VT(5.1,1,5.1)*SIZE)
  1663. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1664. end
  1665. if ISDEBREE ~= true then
  1666. 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))))
  1667. else
  1668. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1669. end
  1670. local IMPACT = false
  1671. CreateSound(463593339, CENTER, 10, 0.6)
  1672. if SIZE >= 3.5 then
  1673. for i = 1, MRANDOM(3,7) do
  1674. 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)
  1675. end
  1676. end
  1677. for i = 1, 200 do
  1678. Swait()
  1679. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1680. if HITFLOOR == nil then
  1681. local ORI = CENTER.Orientation
  1682. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1683. else
  1684. if HITFLOOR.Anchored == true then
  1685. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1686. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1687. end
  1688. IMPACT = true
  1689. break
  1690. end
  1691. end
  1692. if IMPACT == true then
  1693. 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,1,1), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1694. 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,1,1), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1695. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1696. ApplyAoe(CENTER.Position,30*SIZE)
  1697. end
  1698. METEOR:remove()
  1699. end))
  1700. end
  1701.  
  1702. function MushroomAi(Mushroom)
  1703. coroutine.resume(coroutine.create(function()
  1704. for i = 1, 500 do
  1705. wait()
  1706. local DISTANCE = 500
  1707. local TARGET = nil
  1708. local HUMAN = nil
  1709. for _, c in pairs(workspace:GetChildren()) do
  1710. if c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then
  1711. local HUM = c:FindFirstChildOfClass("Humanoid")
  1712. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1713. if TORSO and HUM.Health > 0 then
  1714. if (TORSO.Position - Mushroom.PrimaryPart.Position).Magnitude < DISTANCE then
  1715. DISTANCE = (TORSO.Position - Mushroom.PrimaryPart.Position).Magnitude
  1716. TARGET = TORSO
  1717. HUMAN = HUM
  1718. end
  1719. end
  1720. end
  1721. end
  1722. if TARGET then
  1723. local HITFLOOR,HITPOS = Raycast(Mushroom.PrimaryPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 1, Mushroom)
  1724. if HITFLOOR then
  1725. local CFRAME = CF(Mushroom.PrimaryPart.Position,VT(TARGET.Position.X,Mushroom.PrimaryPart.Position.Y,TARGET.Position.Z))*CF(0,0,-0.3).p
  1726. Mushroom:SetPrimaryPartCFrame(CF(CFRAME))
  1727. local DIST = (TARGET.Position - Mushroom.PrimaryPart.Position).Magnitude
  1728. if DIST < 4*(TARGET.Size.Y/2) then
  1729. HUMAN.Health = HUMAN.Health - (HUMAN.MaxHealth-28)
  1730. break
  1731. end
  1732. else
  1733. Mushroom:SetPrimaryPartCFrame(CF(HITPOS))
  1734. end
  1735. end
  1736. end
  1737. Mushroom:remove()
  1738. end))
  1739. end
  1740.  
  1741. function ImplosionCollision()
  1742. ATTACK = true
  1743. Rooted = true
  1744. CreateSound("169445572", RightArm, 10, 0.8)
  1745. for i=0, 0, 0.1 / Animation_Speed do
  1746. Swait()
  1747. turnto(Mouse.Hit.p)
  1748. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"red",VT(0.2,0,0.2))
  1749. Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Really Black", 1.1)
  1750. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Really Black",VT(0.001,0.001,1),0)
  1751. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Really Black",VT(0.001,0.001,2),0)
  1752. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"White",VT(-1/15,-1/15,-1/15))
  1753. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"White",VT(-2/15,-2/15,-2/15))
  1754. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  1755. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  1756. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1757. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1758. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1759. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1760. end
  1761. for i=0, 0, 0.1 / Animation_Speed do
  1762. Swait()
  1763. turnto(Mouse.Hit.p)
  1764. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  1765. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  1766. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1767. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1768. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1769. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1770. end
  1771. MagicSphere(VT(40,40,40),100,RootPart.CFrame * CF(0,0,-6),"White",VT(-0.04,-0.04,-0.04))
  1772. MagicSphere(VT(30.5,30.5,30.5),100,RootPart.CFrame * CF(0,0,-6),"White",VT(-0.035,-0.035,-0.035))
  1773. coroutine.resume(coroutine.create(function()
  1774. Swait(100)
  1775. for i = 1, 5 do
  1776. MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Black",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
  1777. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"White",VT(400.5*i,20,400.5*i))
  1778. CreateWave(VT(10,50,10),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"White",VT(500*i,20,500*i))
  1779. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"White",VT(400*i,60,400*i))
  1780. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"White",VT(500.2*i,60,500.2*i))
  1781. end
  1782. killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
  1783. for i = 1, 5 do
  1784. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  1785. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  1786. end
  1787. coroutine.resume(coroutine.create(function()
  1788. for i = 1, 10 do
  1789. Swait()
  1790. for i = 1, 1 do
  1791. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"White", 1 + MRANDOM(1,30)/5)
  1792. end
  1793. for i = 1, 4 do
  1794. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"White", 1 + MRANDOM(1,30)/3)
  1795. end
  1796. end
  1797. end))
  1798. end))
  1799. for i=0, 0, 0.01 / Animation_Speed do
  1800. Swait()
  1801. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  1802. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  1803. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1804. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1805. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  1806. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  1807. end
  1808. ATTACK = false
  1809. Rooted = false
  1810. Swait()
  1811. chatfunc("TEAXS SMASH!")
  1812. end
  1813.  
  1814. function Warden_Zap()
  1815. ATTACK = true
  1816. Rooted = true
  1817. local BLOCKMODEL = IT("Model",Effects)
  1818. local LOAD = false
  1819. local BLOCK = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Really black", "Base", VT(2,2,2))
  1820. BLOCK.CFrame = CF(RootPart.CFrame*CF(0,15,0).p)
  1821. BLOCKMODEL.PrimaryPart = BLOCK
  1822. for i = 1, 4 do
  1823. local BASE = CreatePart(3, BLOCKMODEL, "Neon", 0, 1, "red", "Blocc", VT(1.3,1.3,2)*1.001)
  1824. BASE.CFrame = BLOCK.CFrame * ANGLES(RAD(0), RAD((360/4)*i), RAD(0))
  1825. local DECAL = IT("Decal",BASE)
  1826. DECAL.Texture = "http://www.roblox.com/asset/?id=1019185679"
  1827. local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Really black", "Blocc", VT(0.2,0.2,2.1))
  1828. PART.CFrame = BASE.CFrame*CF(0.75,0.75,0)
  1829. local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "red", "Blocc", VT(0.2,0.2,2.1))
  1830. PART.CFrame = BASE.CFrame*CF(0.75,-0.75,0)
  1831. end
  1832. local LANDED = false
  1833. local HIT = false
  1834. local LOOP = 0
  1835. coroutine.resume(coroutine.create(function()
  1836. repeat
  1837. Swait()
  1838. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1839. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(0), RAD(7.5-30*SIN(sick.PlaybackLoudness/300)), RAD(0 - 25 * SIN(SINE / 15))), 1 / Animation_Speed)
  1840. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(0), RAD(-15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1841. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1842. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1843. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1844. until LOAD == true
  1845. repeat
  1846. Swait()
  1847. if HIT == false then
  1848. local HITFLOOR = Raycast(BLOCK.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 1.2, BLOCKMODEL)
  1849. if HITFLOOR then
  1850. HIT = true
  1851. coroutine.resume(coroutine.create(function()
  1852. local CFRAME = BLOCK.CFrame
  1853. RootPart.Velocity = VT(0,0,0)
  1854. RootPart.RotVelocity = VT(0,0,0)
  1855. for i = 1, 5 do
  1856. wait()
  1857. RootPart.Velocity = VT(0,-i*4,0)
  1858. RootPart.RotVelocity = VT(0,0,0)
  1859. BLOCKMODEL:SetPrimaryPartCFrame(Clerp(CFRAME, CFRAME*CF(0,(5-i),0), 1 / Animation_Speed))
  1860. end
  1861. BLOCK.BrickColor = BRICKC"red"
  1862. for _, c in pairs(BLOCKMODEL:GetChildren()) do
  1863. if c:IsA("BasePart") and c.Name ~= "Base" then
  1864. c:remove()
  1865. end
  1866. end
  1867. CreateSound(1246464612, BLOCK, 10, 1, false)
  1868. local SIZE = 2.25
  1869. local MUSHROOM = IT("Model",Effects)
  1870. local BASE = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Really black", "Shroom", VT(0.5,0.5,0.5)*SIZE)
  1871. MUSHROOM.PrimaryPart = BASE
  1872. local HEAD = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Really black", "Shroom", VT(0.75,0.45,0.75)*SIZE)
  1873. HEAD.CFrame = BASE.CFrame*CF(0,0.35*SIZE,0)
  1874. for i = 1, 2 do
  1875. local DOT = CreatePart(3, MUSHROOM, "Neon", 0, 0, "red", "Shroom", VT(0.35,0.35,0.8)*SIZE)
  1876. DOT.CFrame = HEAD.CFrame * ANGLES(RAD(0), RAD((180/2)*i), RAD(0))
  1877. end
  1878. local HEAD = CreatePart(3, MUSHROOM, "Neon", 0, 0, "red", "Shroom", VT(0.55,0.45,0.55)*SIZE)
  1879. HEAD.CFrame = BASE.CFrame*CF(0,0.55*SIZE,0)
  1880. MUSHROOM:SetPrimaryPartCFrame(BLOCK.CFrame)
  1881. for i = 1, 30 do
  1882. wait()
  1883. MUSHROOM:SetPrimaryPartCFrame(BLOCK.CFrame*CF(0,-0.35+(i/18),0))
  1884. end
  1885. MushroomAi(MUSHROOM)
  1886. Debris:AddItem(BLOCKMODEL,5)
  1887. end))
  1888. end
  1889. else
  1890. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1891. if HITFLOOR then
  1892. LANDED = true
  1893. end
  1894. end
  1895. LOOP = LOOP + 1
  1896. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1897. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1898. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, -0.2) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1899. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1900. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4-sick.PlaybackLoudness/800, -0.7) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1901. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.3) * ANGLES(RAD(-25), RAD(-80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1902. until LANDED == true or ATTACK == false
  1903. end))
  1904. wait(1)
  1905. LOAD = true
  1906. CreateSound(158309736, Torso, 10, 1, false)
  1907. local bv = Instance.new("BodyVelocity",RootPart)
  1908. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1909. bv.velocity = CF(RootPart.Position,BLOCK.Position).lookVector*150
  1910. Debris:AddItem(bv,0.05)
  1911. repeat wait() until LANDED == true or LOOP > 45
  1912. Debris:AddItem(BLOCKMODEL,5)
  1913. ATTACK = false
  1914. Rooted = false
  1915. Swait()
  1916. chatfunc("FREE FOOD!")
  1917. end
  1918.  
  1919.  
  1920. function Warden_Thunder()
  1921. ATTACK = true
  1922. Rooted = false
  1923. local GYRO = IT("BodyGyro",RootPart)
  1924. GYRO.D = 100
  1925. GYRO.P = 2000
  1926. GYRO.MaxTorque = VT(0,4000000,0)
  1927. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1928. local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Block", VT(25,25,25))
  1929. SMASH.CanCollide = true
  1930. SMASH.Color = C3(0,0,0)
  1931. local EF = Instance.new("SelectionBox",SMASH)
  1932. EF.Adornee = SMASH
  1933. EF.Color = BrickColor.new("red")
  1934. EF.LineThickness = 0.2
  1935. EF.Transparency = 1
  1936. coroutine.resume(coroutine.create(function()
  1937. for i = 1, 20 do
  1938. Swait()
  1939. SMASH.Transparency = SMASH.Transparency - 0.05
  1940. EF.Transparency = SMASH.Transparency
  1941. end
  1942. end))
  1943. repeat
  1944. SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
  1945. Swait()
  1946. GYRO.cframe = CF(RootPart.Position,SMASH.Position)
  1947. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1948. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1949. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(130), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1950. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1951. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1952. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1953. until HOLD == true and SMASH.Transparency < 0.99
  1954. for i = 1, 25 do
  1955. Swait()
  1956. SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
  1957. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1958. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1959. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1960. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1961. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1962. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1963. end
  1964. local TOCH = SMASH.Touched:Connect(function(hit)
  1965. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  1966. Shatter(hit)
  1967. end
  1968. end)
  1969. local n0 = nil
  1970. local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
  1971. if HITFLOOR ~= nil then
  1972. if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
  1973. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1974. if HITFLOOR.Parent.ClassName == "Model" then
  1975. HITFLOOR.Parent:BreakJoints()
  1976. elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
  1977. HITFLOOR.Parent.Parent:BreakJoints()
  1978. end
  1979. end
  1980. local POS = HITPOS
  1981. n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
  1982. end
  1983. end
  1984. killneares(HITPOS,SMASH.Size.X/1.3,"Shatter")
  1985. SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
  1986. WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
  1987. for i = 1, 25 do
  1988. Swait()
  1989. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1990. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1991. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1992. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1993. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1994. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1995. end
  1996. coroutine.resume(coroutine.create(function()
  1997. wait(0.2)
  1998. TOCH:disconnect()
  1999. wait(1.8)
  2000. for i = 1, 100 do
  2001. Swait()
  2002. SMASH.Transparency = i/100
  2003. end
  2004. for i = 1, 10 do
  2005. Swait()
  2006. EF.Transparency = EF.Transparency + 0.1
  2007. end
  2008. SMASH:remove()
  2009. end))
  2010. GYRO:remove()
  2011. ATTACK = false
  2012. Rooted = false
  2013. chatfunc("GMAE OVER!")
  2014. end
  2015.  
  2016. function Inferno_Ring()
  2017. ATTACK = true
  2018. Rooted = false
  2019. CreateSound(1368573150, RightArm, 3, 0.8)
  2020. CreateSound(649634100, Torso, 10, 0.8)
  2021. for i=0, 1.2, 0.1 / Animation_Speed do
  2022. Swait()
  2023. 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(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2024. 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)
  2025. 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)
  2026. end
  2027. local POS = Mouse.Hit.p
  2028. CreateSound(463593339, Effects, 3, 1)
  2029. coroutine.resume(coroutine.create(function()
  2030. for i = 1, 35 do
  2031. wait(MRANDOM(5,150)/100)
  2032. SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  2033. end
  2034. end))
  2035. ATTACK = false
  2036. Rooted = false
  2037. chatfunc("LOOK UP!")
  2038. end
  2039.  
  2040. function Prison_Key()
  2041. ATTACK = true
  2042. Rooted = false
  2043. local SPEED = Speed
  2044. Speed = 8
  2045. CreateSound("169445572", RightArm, 10, 1.1)
  2046. for i=0, 0, 0.1 / Animation_Speed do
  2047. Swait()
  2048. turnto(Mouse.Hit.p)
  2049. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"White",VT(-1/15,-1/15,-1/15))
  2050. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"White",VT(-2/15,-2/15,-2/15))
  2051. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  2052. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  2053. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2054. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2055. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2056. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2057. end
  2058. for i=0, 0, 0.1 / Animation_Speed do
  2059. Swait()
  2060. turnto(Mouse.Hit.p)
  2061. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  2062. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  2063. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2064. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2065. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2066. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2067. end
  2068. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "White", "Punch", VT(50,50,50),false)
  2069. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  2070. PART.Shape = "Ball"
  2071. local bv = Instance.new("BodyVelocity")
  2072. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2073. bv.velocity = RootPart.CFrame.lookVector*600
  2074. bv.Parent = PART
  2075. bv.Name = "PROJECTILEVELOCITY"
  2076. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"White",VT(2.5,0.2,2.5))
  2077. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"White",VT(3,0.2,3))
  2078. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"White",VT(2,0.6,2))
  2079. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"White",VT(2.2,0.6,2.2))
  2080. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  2081. coroutine.resume(coroutine.create(function()
  2082. for i = 1, 10 do
  2083. Swait()
  2084. PART.Transparency = PART.Transparency + 0.2/10
  2085. PART.Size = PART.Size + VT(5,5,5)
  2086. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  2087. end
  2088. PART:Destroy()
  2089. end))
  2090. for i=0, 0, 0.1 / Animation_Speed do
  2091. Swait()
  2092. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  2093. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  2094. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2095. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2096. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  2097. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  2098. end
  2099. Speed = SPEED
  2100. ATTACK = false
  2101. Rooted = false
  2102. chatfunc("SMASH!")
  2103. end
  2104.  
  2105. function Taunt()
  2106. ATTACK = true
  2107. Rooted = true
  2108. PLAYANIMS = false
  2109. CreateSound(0,Torso,5,MRANDOM(8,9)/10,false)
  2110. for i=0, 1.5, 0.1 / Animation_Speed do
  2111. Swait()
  2112. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2113. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(35), RAD(0)), 1 / Animation_Speed)
  2114. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(140)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2115. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-140)) * ANGLES(RAD(0), RAD(90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2116. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2117. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2118. end
  2119. PLAYANIMS = true
  2120. ATTACK = false
  2121. Rooted = false
  2122. chatfunc("COME ON!")
  2123. end
  2124.  
  2125. function Hat()
  2126. ATTACK = true
  2127. Rooted = false
  2128. for i=0, 0.5, 0.1 / Animation_Speed do
  2129. Swait()
  2130. 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)
  2131. 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)
  2132. end
  2133. for e = 1, #BODY do
  2134. if BODY[e] ~= nil then
  2135. local STUFF = BODY[e]
  2136. local PART = STUFF[1]
  2137. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  2138. local PRT = PART:Clone()
  2139. PRT.Anchored = true
  2140. PRT.CanCollide = false
  2141. PRT.Material = "Neon"
  2142. PRT.Color = C3(1,1,1)
  2143. PRT.Name = "WarpEffect"
  2144. PRT.Parent = Effects
  2145. PRT.CFrame = PART.CFrame
  2146. PRT:BreakJoints()
  2147. if PRT:FindFirstChildOfClass("Sound") then
  2148. PRT:FindFirstChildOfClass("Sound"):remove()
  2149. end
  2150. if PRT:FindFirstChildOfClass("Decal") then
  2151. PRT:FindFirstChildOfClass("Decal"):remove()
  2152. end
  2153. coroutine.resume(coroutine.create(function()
  2154. for i = 1, 100 do
  2155. Swait()
  2156. PRT.Transparency = PRT.Transparency + 1/100
  2157. end
  2158. PRT:remove()
  2159. end))
  2160. end
  2161. end
  2162. end
  2163. CreateSound(217767125, Torso, 10, 1)
  2164. local POS = RootPart.Orientation
  2165. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  2166. RootPart.Orientation = POS
  2167. RootJoint.Parent = RootPart
  2168. for i=0, 0.5, 0.1 / Animation_Speed do
  2169. Swait()
  2170. 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)
  2171. 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)
  2172. end
  2173. for i=0, 0.1, 0.1 / Animation_Speed do
  2174. Swait()
  2175. 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)
  2176. end
  2177. ATTACK = false
  2178. Rooted = false
  2179. Swait()
  2180. chatfunc("ONE FOR ALL FULL COWL!!!!!")
  2181. end
  2182.  
  2183. function ChainPunch()
  2184. ATTACK = true
  2185. Rooted = false
  2186. local GYRO = IT("BodyGyro",RootPart)
  2187. GYRO.D = 25
  2188. GYRO.P = 2000
  2189. GYRO.MaxTorque = VT(0,40000,0)
  2190. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2191. repeat
  2192. Swait()
  2193. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2194. 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)
  2195. 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)
  2196. 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)
  2197. 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)
  2198. 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)
  2199. 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)
  2200. until HOLD == true
  2201. local POS = Mouse.Hit.p
  2202. local CHAINS = false
  2203. local CHAINLINKS = {}
  2204. local A = IT("Attachment",RightArm)
  2205. A.Position = VT(0,0,0)*SIZE
  2206. A.Orientation = VT(0, 0, 0)
  2207. local B = IT("Attachment",RightArm)
  2208. B.Position = VT(0,0,0)*SIZE
  2209. B.Orientation = VT(0, 0, 0)
  2210. local C = IT("Attachment",RightArm)
  2211. C.Position = VT(0,0,0)*SIZE
  2212. C.Orientation = VT(0, 0, 0)
  2213. local D = IT("Attachment",RightArm)
  2214. D.Position = VT(0,0,0)*SIZE
  2215. D.Orientation = VT(0, 0, 0)
  2216. local LIGHT = IT("Attachment",RightArm)
  2217. LIGHT.Position = VT(0,0,0)*SIZE
  2218. local LIGHT2 = IT("PointLight",LIGHT)
  2219. LIGHT2.Range = 0
  2220. LIGHT2.Brightness = 0
  2221. LIGHT2.Color = SKILLTEXTCOLOR
  2222. for i = 1, 2 do
  2223. local TWIST = -2
  2224. local START = A
  2225. local END = B
  2226. if i == 1 then
  2227. START = B
  2228. END = A
  2229. end
  2230. local ChainLink = IT("Beam",Torso)
  2231. ChainLink.Texture = "rbxassetid://73042633"
  2232. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2233. ChainLink.TextureSpeed = 100
  2234. ChainLink.Width0 = 0
  2235. ChainLink.Width1 = 0
  2236. ChainLink.TextureLength = 0
  2237. ChainLink.Attachment0 = START
  2238. ChainLink.Attachment1 = END
  2239. ChainLink.CurveSize0 = TWIST
  2240. ChainLink.CurveSize1 = TWIST
  2241. --ChainLink.FaceCamera = true
  2242. ChainLink.Segments = 0
  2243. ChainLink.Transparency = NumberSequence.new(1)
  2244. table.insert(CHAINLINKS,ChainLink)
  2245. end
  2246. for i = 1, 2 do
  2247. local TWIST = -1
  2248. local START = C
  2249. local END = D
  2250. if i == 1 then
  2251. START = D
  2252. END = C
  2253. end
  2254. local ChainLink = IT("Beam",Torso)
  2255. ChainLink.Texture = "rbxassetid://73042633"
  2256. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2257. ChainLink.TextureSpeed = 100
  2258. ChainLink.Width0 = 0
  2259. ChainLink.Width1 = 0
  2260. ChainLink.TextureLength = 0
  2261. ChainLink.Attachment0 = START
  2262. ChainLink.Attachment1 = END
  2263. ChainLink.CurveSize0 = TWIST
  2264. ChainLink.CurveSize1 = TWIST
  2265. --ChainLink.FaceCamera = true
  2266. ChainLink.Segments = 0
  2267. ChainLink.LightEmission = 0
  2268. ChainLink.Transparency = NumberSequence.new(1)
  2269. table.insert(CHAINLINKS,ChainLink)
  2270. end
  2271. coroutine.resume(coroutine.create(function()
  2272. repeat
  2273. Swait()
  2274. 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)
  2275. 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)
  2276. 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)
  2277. 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)
  2278. 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)
  2279. 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)
  2280. until CHAINS == true
  2281. repeat
  2282. Swait()
  2283. 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)
  2284. 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)
  2285. 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)
  2286. 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)
  2287. 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)
  2288. 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)
  2289. until ATTACK == false
  2290. for e = 1, 15 do
  2291. Swait()
  2292. for i = 1, #CHAINLINKS do
  2293. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  2294. end
  2295. end
  2296. A:remove()
  2297. B:remove()
  2298. C:remove()
  2299. D:remove()
  2300. end))
  2301. CreateSound(233856115, RightArm, 5, 1.2, false)
  2302. for e = 1, 15 do
  2303. Swait()
  2304. for i = 1, #CHAINLINKS do
  2305. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  2306. end
  2307. end
  2308. CHAINS = true
  2309. Rooted = true
  2310. wait(0.25)
  2311. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Part", VT(2,2,2))
  2312. FIST.Color = Color3.fromRGB(255, 255, 255)
  2313. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  2314. local LIGHT3 = IT("PointLight",FIST)
  2315. LIGHT3.Range = 0
  2316. LIGHT3.Brightness = 0
  2317. LIGHT3.Color = SKILLTEXTCOLOR
  2318. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(0,0,0), VT(0,0,0))
  2319. local FISTA = IT("Attachment",FIST)
  2320. FISTA.Position = VT(0, 0, 0)
  2321. local ChainLink = IT("Beam",Torso)
  2322. ChainLink.Texture = "rbxassetid://0"
  2323. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2324. ChainLink.TextureSpeed = 100
  2325. ChainLink.Width0 = 0
  2326. ChainLink.Width1 = 0
  2327. ChainLink.TextureLength = 0
  2328. ChainLink.Attachment0 = LIGHT
  2329. ChainLink.Attachment1 = FISTA
  2330. ChainLink.FaceCamera = true
  2331. ChainLink.Segments = 0
  2332. ChainLink.LightEmission = 0
  2333. ChainLink.Transparency = NumberSequence.new(0.25)
  2334. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  2335. for i = 1, 85 do
  2336. Swait()
  2337. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  2338. ChainLink.TextureLength = 12+(i*2)
  2339. ApplyAoE(FIST.Position,10,15,25,100,false)
  2340. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(150,150,150)*SIZE, Size2 = VT(150,150,150), 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 = Color3.fromRGB(255, 255, 255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2341. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  2342. if HITFLOOR ~= nil then
  2343. HITFLOOR:BreakJoints()
  2344. coroutine.resume(coroutine.create(function()
  2345. for i = 1, 15 do
  2346. Swait()
  2347. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  2348. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  2349. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(200,200,200)*SIZE, Size2 = VT(200,200,200), 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(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2350. end
  2351. end))
  2352. break
  2353. end
  2354. end
  2355. coroutine.resume(coroutine.create(function()
  2356. for i = 1, 50 do
  2357. Swait()
  2358. FIST.Transparency = FIST.Transparency + 0.5/50
  2359. LIGHT3.Range = LIGHT3.Range - 7/50
  2360. end
  2361. FIST:remove()
  2362. end))
  2363. LIGHT:remove()
  2364. GYRO:remove()
  2365. ATTACK = false
  2366. Rooted = false
  2367. end
  2368.  
  2369. --//=================================\\
  2370. --|| ASSIGN THINGS TO KEYS
  2371. --\\=================================//
  2372.  
  2373. function MouseDown(Mouse)
  2374. HOLD = true
  2375. if ATTACK == false then
  2376. end
  2377. end
  2378.  
  2379. function MouseUp(Mouse)
  2380. HOLD = false
  2381. end
  2382.  
  2383. function KeyDown(Key)
  2384. KEYHOLD = true
  2385.  
  2386. if Key == "z" and ATTACK == false then
  2387. Warden_Zap()
  2388. end
  2389.  
  2390. if Key == "b" and ATTACK == false then
  2391. Warden_Thunder()
  2392. end
  2393.  
  2394. if Key == "c" and ATTACK == false then
  2395. Inferno_Ring()
  2396. end
  2397.  
  2398. if Key == "v" and ATTACK == false then
  2399. ChainPunch()
  2400. end
  2401.  
  2402. if Key == "x" and ATTACK == false then
  2403. Prison_Key()
  2404. end
  2405.  
  2406. if Key == "e" and ATTACK == false then
  2407. ImplosionCollision()
  2408. end
  2409.  
  2410. if Key == "q" and ATTACK == false then
  2411. Taunt()
  2412. end
  2413.  
  2414. if Key == "t" and ATTACK == false then
  2415. Hat()
  2416. end
  2417. end
  2418.  
  2419. function KeyUp(Key)
  2420. KEYHOLD = false
  2421. end
  2422.  
  2423. Mouse.Button1Down:connect(function(NEWKEY)
  2424. MouseDown(NEWKEY)
  2425. end)
  2426. Mouse.Button1Up:connect(function(NEWKEY)
  2427. MouseUp(NEWKEY)
  2428. end)
  2429. Mouse.KeyDown:connect(function(NEWKEY)
  2430. KeyDown(NEWKEY)
  2431. end)
  2432. Mouse.KeyUp:connect(function(NEWKEY)
  2433. KeyUp(NEWKEY)
  2434. end)
  2435.  
  2436. --//=================================\\
  2437. --\\=================================//
  2438.  
  2439.  
  2440. function unanchor()
  2441. if UNANCHOR == true then
  2442. g = Character:GetChildren()
  2443. for i = 1, #g do
  2444. if g[i].ClassName == "Part" then
  2445. g[i].Anchored = false
  2446. end
  2447. end
  2448. end
  2449. end
  2450.  
  2451. Swait()
  2452. warn("1x1x1x1x1x1x1x0x0x2 and Penien23 Edit")
  2453.  
  2454. --//=================================\\
  2455. --|| WRAP THE WHOLE SCRIPT UP
  2456. --\\=================================//
  2457.  
  2458. Humanoid.Changed:connect(function(Jump)
  2459. if Jump == "Jump" and (Disable_Jump == true) then
  2460. Humanoid.Jump = false
  2461. end
  2462. end)
  2463.  
  2464. while true do
  2465. Swait()
  2466. script.Parent = WEAPONGUI
  2467. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2468. v:Stop();
  2469. end
  2470. ANIMATE.Parent = nil
  2471. SINE = SINE + CHANGE*1.5
  2472. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2473. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2474. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2475. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2476. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2477. 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)
  2478. 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)
  2479. 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)
  2480. 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)
  2481. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2482. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2483. 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)
  2484. 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)
  2485. 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)
  2486. end
  2487. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2488. ANIM = "Jump"
  2489. if ATTACK == false then
  2490. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2491. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2492. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2493. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2494. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2495. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  2496. end
  2497. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2498. ANIM = "Fall"
  2499. if ATTACK == false then
  2500. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2501. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2502. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2503. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2504. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  2505. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  2506. end
  2507. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2508. ANIM = "Idle"
  2509. if ATTACK == false then
  2510. 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)
  2511. 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)
  2512. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(-85 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2513. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(15 - 2.5 * SIN(SINE / 12)), RAD(85 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2514. 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)
  2515. 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)
  2516. end
  2517. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2518. ANIM = "Walk"
  2519. if ATTACK == false then
  2520. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2521. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  2522. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2523. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2524. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2525. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2526. end
  2527. end
  2528. unanchor()
  2529. Humanoid.MaxHealth = "inf"
  2530. Humanoid.Health = "inf"
  2531. if Rooted == false then
  2532. Disable_Jump = false
  2533. Humanoid.WalkSpeed = Speed
  2534. elseif Rooted == true then
  2535. Disable_Jump = true
  2536. Humanoid.WalkSpeed = 0
  2537. end
  2538. for _, c in pairs(Character:GetChildren()) do
  2539. if c.ClassName == "Part" and c.Name ~= "Eye" then
  2540. c.Material = "Neon"
  2541. if c:FindFirstChildOfClass("ParticleEmitter") then
  2542. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2543. end
  2544. c.Color = C3(1,1,1)
  2545. if c == Head then
  2546. if c:FindFirstChild("face") then
  2547. c.face:remove()
  2548. end
  2549. end
  2550. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  2551. c:remove()
  2552. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2553. c:remove()
  2554. end
  2555. end
  2556. sick.SoundId = "rbxassetid://1259371424"
  2557. sick.Looped = true
  2558. sick.Pitch = 1
  2559. sick.Volume = 5
  2560. sick:Resume()
  2561. sick.Parent = Torso
  2562. refit()
  2563. if Head:FindFirstChildOfClass("Sound") then
  2564. Head:FindFirstChildOfClass("Sound"):remove()
  2565. end
  2566. end
  2567.  
  2568. --//=================================\\
  2569. --\\=================================//
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575. --//====================================================\\--
  2576. --|| END OF SCRIPT
  2577. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement