Advertisement
MrSlakyx

TCD

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