Advertisement
memberhero

Chara

Apr 25th, 2018
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 78.13 KB | None | 0 0
  1. -----------------------
  2. --Chara--
  3. -----------------------
  4.  
  5. -------------------------------------------------------
  6. --A script By 1x1x1x1IAMbck
  7. --Edited by basstracker1970
  8. -------------------------------------------------------
  9. -----------------------Variable------
  10. player = game.Players.LocalPlayer
  11. char = player.Character
  12. hum = char.Humanoid
  13. mouse = player:GetMouse()
  14. amo = 1
  15. -------------------Damage--------------
  16. --
  17. ------------------Main----------------------------
  18. mouse.KeyDown:connect(function(key)
  19.  
  20. key = key:lower()
  21.  
  22. if key == "e" and amo >= 0 then
  23. print("xXxXxXxXxXx")
  24. local x = Instance.new("Part")
  25. x.Shape = "Ball"
  26. x.CanCollide = true
  27. x.BrickColor = BrickColor.new("Royal purple")
  28. x.TopSurface = "Smooth"
  29. x.BottomSurface = "Smooth"
  30. x.Size = Vector3.new(500,70,30)
  31. local v = Instance.new("BodyVelocity" , x)
  32. v.Velocity = char.Torso.CFrame.lookVector * 90
  33. v.MaxForce = Vector3.new(math.huge , math.huge,math.huge)
  34. x.CFrame = char.Torso.CFrame * CFrame.new(0,0,-5)
  35. x.Parent = game.Workspace
  36. amo = amo -1
  37.  
  38. wait(1)
  39. amo = 1
  40. end
  41. end)
  42.  
  43. ----------end of shoot-------
  44.  
  45. local FavIDs = {340106355,927529620,876981900,398987889,1117396305}
  46.  
  47. function swait(num)
  48. if num==0 or num==nil then
  49. game:service'RunService'.Stepped:wait(0)
  50. else
  51. for i=0,num do
  52. game:service'RunService'.Stepped:wait(0)
  53. end
  54. end
  55. end
  56. function thread(f)
  57. coroutine.resume(coroutine.create(f))
  58. end
  59.  
  60. --Needed to add this for a good reason, thank me later mak.
  61. so = function(id,par,vol,pit)
  62. coroutine.resume(coroutine.create(function()
  63. local sou = Instance.new("Sound",par or workspace)
  64. sou.Volume=vol
  65. sou.Pitch=pit or 1
  66. sou.SoundId=id
  67. swait()
  68. sou:play()
  69. game:GetService("Debris"):AddItem(sou,8)
  70. end))
  71. end
  72.  
  73.  
  74. function clerp(a, b, t)
  75. local qa = {
  76. QuaternionFromCFrame(a)
  77. }
  78. local qb = {
  79. QuaternionFromCFrame(b)
  80. }
  81. local ax, ay, az = a.x, a.y, a.z
  82. local bx, by, bz = b.x, b.y, b.z
  83. local _t = 1 - t
  84. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  85. end
  86. function QuaternionFromCFrame(cf)
  87. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  88. local trace = m00 + m11 + m22
  89. if trace > 0 then
  90. local s = math.sqrt(1 + trace)
  91. local recip = 0.5 / s
  92. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  93. else
  94. local i = 0
  95. if m00 < m11 then
  96. i = 1
  97. end
  98. if m22 > (i == 0 and m00 or m11) then
  99. i = 2
  100. end
  101. if i == 0 then
  102. local s = math.sqrt(m00 - m11 - m22 + 1)
  103. local recip = 0.5 / s
  104. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  105. elseif i == 1 then
  106. local s = math.sqrt(m11 - m22 - m00 + 1)
  107. local recip = 0.5 / s
  108. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  109. elseif i == 2 then
  110. local s = math.sqrt(m22 - m00 - m11 + 1)
  111. local recip = 0.5 / s
  112. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  113. end
  114. end
  115. end
  116. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  117. local xs, ys, zs = x + x, y + y, z + z
  118. local wx, wy, wz = w * xs, w * ys, w * zs
  119. local xx = x * xs
  120. local xy = x * ys
  121. local xz = x * zs
  122. local yy = y * ys
  123. local yz = y * zs
  124. local zz = z * zs
  125. 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))
  126. end
  127. function QuaternionSlerp(a, b, t)
  128. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  129. local startInterp, finishInterp
  130. if cosTheta >= 1.0E-4 then
  131. if 1 - cosTheta > 1.0E-4 then
  132. local theta = math.acos(cosTheta)
  133. local invSinTheta = 1 / math.sin(theta)
  134. startInterp = math.sin((1 - t) * theta) * invSinTheta
  135. finishInterp = math.sin(t * theta) * invSinTheta
  136. else
  137. startInterp = 1 - t
  138. finishInterp = t
  139. end
  140. elseif 1 + cosTheta > 1.0E-4 then
  141. local theta = math.acos(-cosTheta)
  142. local invSinTheta = 1 / math.sin(theta)
  143. startInterp = math.sin((t - 1) * theta) * invSinTheta
  144. finishInterp = math.sin(t * theta) * invSinTheta
  145. else
  146. startInterp = t - 1
  147. finishInterp = t
  148. end
  149. 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
  150. end
  151. function rayCast(Position, Direction, Range, Ignore)
  152. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  153. end
  154. --Wait what okay
  155. wait()
  156. local plr = game:service'Players'.LocalPlayer
  157. local char = plr.Character
  158. local hum = char.Humanoid
  159. local ra = char["Right Arm"]
  160. local la= char["Left Arm"]
  161. local rl= char["Right Leg"]
  162. local ll = char["Left Leg"]
  163. local hed = char.Head
  164. local root = char.HumanoidRootPart
  165. local rootj = root.RootJoint
  166. local tors = char.Torso
  167. local mouse = plr:GetMouse()
  168. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  169. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  170. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  171. local maincolor = BrickColor.new("Dark indigo")
  172. cf = CFrame.new
  173. angles = CFrame.Angles
  174. attack = false
  175. euler=CFrame.fromEulerAnglesXYZ
  176. equipped = false
  177. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  178. RSH, LSH = nil, nil
  179. RW = Instance.new("Weld")
  180. LW = Instance.new("Weld")
  181. RH = tors["Right Hip"]
  182. LH = tors["Left Hip"]
  183. RSH = tors["Right Shoulder"]
  184. LSH = tors["Left Shoulder"]
  185. RSH.Parent = nil
  186. LSH.Parent = nil
  187. RW.Name = "RW"
  188. RW.Part0 = tors
  189. RW.C0 = CFrame.new(1.5, 0.5, 0)
  190. RW.C1 = CFrame.new(0, 0.5, 0)
  191. RW.Part1 = ra
  192. RW.Parent = tors
  193. LW.Name = "LW"
  194. LW.Part0 = tors
  195. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  196. LW.C1 = CFrame.new(0, 0.5, 0)
  197. LW.Part1 = la
  198. LW.Parent = tors
  199. print('User is '..plr.Name)
  200. Effects = {}
  201.  
  202. ArtificialHB = Instance.new("BindableEvent", script)
  203. ArtificialHB.Name = "Heartbeat"
  204.  
  205. script:WaitForChild("Heartbeat")
  206.  
  207. frame = 1 / 60
  208. tf = 0
  209. allowframeloss = false
  210. tossremainder = false
  211. lastframe = tick()
  212. script.Heartbeat:Fire()
  213.  
  214. game:GetService("RunService").Heartbeat:connect(function(s, p)
  215. tf = tf + s
  216. if tf >= frame then
  217. if allowframeloss then
  218. script.Heartbeat:Fire()
  219. lastframe = tick()
  220. else
  221. for i = 1, math.floor(tf / frame) do
  222. script.Heartbeat:Fire()
  223. end
  224. lastframe = tick()
  225. end
  226. if tossremainder then
  227. tf = 0
  228. else
  229. tf = tf - frame * math.floor(tf / frame)
  230. end
  231. end
  232. end)
  233. local RbxUtility = LoadLibrary("RbxUtility")
  234. local Create = RbxUtility.Create
  235.  
  236. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  237. if hit.Parent == nil then
  238. return
  239. end
  240. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  241. for _, v in pairs(hit.Parent:children()) do
  242. if v:IsA("Humanoid") then
  243. h = v
  244. end
  245. end
  246. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  247. warn'No R15 allowed'
  248. hit.Parent:FindFirstChild("Head"):BreakJoints()
  249. end
  250.  
  251. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  252. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  253. if hit.Parent.DebounceHit.Value == true then
  254. return
  255. end
  256. end
  257. if insta == true then
  258. hit.Parent:FindFirstChild("Head"):BreakJoints()
  259. end
  260. local c = Create("ObjectValue"){
  261. Name = "creator",
  262. Value = game:service("Players").LocalPlayer,
  263. Parent = h,
  264. }
  265. game:GetService("Debris"):AddItem(c, .5)
  266. if HitSound ~= nil and HitPitch ~= nil then
  267. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  268. end
  269. local Damage = math.random(minim, maxim)
  270. local blocked = false
  271. local block = hit.Parent:findFirstChild("Block")
  272. if block ~= nil then
  273. if block.className == "IntValue" then
  274. if block.Value > 0 then
  275. blocked = true
  276. block.Value = block.Value - 1
  277. print(block.Value)
  278. end
  279. end
  280. end
  281. if blocked == false then
  282. h.Health = h.Health - Damage
  283. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  284. else
  285. h.Health = h.Health - (Damage / 2)
  286. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  287. end
  288. if Type == "Knockdown" then
  289. local hum = hit.Parent.Humanoid
  290. hum.PlatformStand = true
  291. coroutine.resume(coroutine.create(function(HHumanoid)
  292. swait(1)
  293. HHumanoid.PlatformStand = false
  294. end), hum)
  295. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  296. local bodvol = Create("BodyVelocity"){
  297. velocity = angle * knockback,
  298. P = 5000,
  299. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  300. Parent = hit,
  301. }
  302. local rl = Create("BodyAngularVelocity"){
  303. P = 3000,
  304. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  305. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  306. Parent = hit,
  307. }
  308. game:GetService("Debris"):AddItem(bodvol, .5)
  309. game:GetService("Debris"):AddItem(rl, .5)
  310. elseif Type == "Normal" then
  311. local vp = Create("BodyVelocity"){
  312. P = 500,
  313. maxForce = Vector3.new(math.huge, 0, math.huge),
  314. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  315. }
  316. if knockback > 0 then
  317. vp.Parent = hit.Parent.Torso
  318. end
  319. game:GetService("Debris"):AddItem(vp, .5)
  320. elseif Type == "Up" then
  321. local bodyVelocity = Create("BodyVelocity"){
  322. velocity = Vector3.new(0, 20, 0),
  323. P = 5000,
  324. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  325. Parent = hit,
  326. }
  327. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  328. elseif Type == "DarkUp" then
  329. coroutine.resume(coroutine.create(function()
  330. for i = 0, 1, 0.1 do
  331. swait()
  332. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  333. end
  334. end))
  335. local bodyVelocity = Create("BodyVelocity"){
  336. velocity = Vector3.new(0, 20, 0),
  337. P = 5000,
  338. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  339. Parent = hit,
  340. }
  341. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  342. elseif Type == "Snare" then
  343. local bp = Create("BodyPosition"){
  344. P = 2000,
  345. D = 100,
  346. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  347. position = hit.Parent.Torso.Position,
  348. Parent = hit.Parent.Torso,
  349. }
  350. game:GetService("Debris"):AddItem(bp, 1)
  351. elseif Type == "Freeze" then
  352. local BodPos = Create("BodyPosition"){
  353. P = 50000,
  354. D = 1000,
  355. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  356. position = hit.Parent.Torso.Position,
  357. Parent = hit.Parent.Torso,
  358. }
  359. local BodGy = Create("BodyGyro") {
  360. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  361. P = 20e+003,
  362. Parent = hit.Parent.Torso,
  363. cframe = hit.Parent.Torso.CFrame,
  364. }
  365. hit.Parent.Torso.Anchored = true
  366. coroutine.resume(coroutine.create(function(Part)
  367. swait(1.5)
  368. Part.Anchored = false
  369. end), hit.Parent.Torso)
  370. game:GetService("Debris"):AddItem(BodPos, 3)
  371. game:GetService("Debris"):AddItem(BodGy, 3)
  372. end
  373. local debounce = Create("BoolValue"){
  374. Name = "DebounceHit",
  375. Parent = hit.Parent,
  376. Value = true,
  377. }
  378. game:GetService("Debris"):AddItem(debounce, Delay)
  379. c = Create("ObjectValue"){
  380. Name = "creator",
  381. Value = Player,
  382. Parent = h,
  383. }
  384. game:GetService("Debris"):AddItem(c, .5)
  385. end
  386. end
  387.  
  388. function ShowDamage(Pos, Text, Time, Color)
  389. local Rate = (1 / 30)
  390. local Pos = (Pos or Vector3.new(0, 0, 0))
  391. local Text = (Text or "")
  392. local Time = (Time or 2)
  393. local Color = (Color or Color3.new(1, 0, 1))
  394. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  395. EffectPart.Anchored = true
  396. local BillboardGui = Create("BillboardGui"){
  397. Size = UDim2.new(3, 0, 3, 0),
  398. Adornee = EffectPart,
  399. Parent = EffectPart,
  400. }
  401. local TextLabel = Create("TextLabel"){
  402. BackgroundTransparency = 1,
  403. Size = UDim2.new(1, 0, 1, 0),
  404. Text = Text,
  405. Font = "Highway",
  406. TextColor3 = Color,
  407. TextScaled = true,
  408. Parent = BillboardGui,
  409. }
  410. game.Debris:AddItem(EffectPart, (Time))
  411. EffectPart.Parent = game:GetService("Workspace")
  412. delay(0, function()
  413. local Frames = (Time / Rate)
  414. for Frame = 1, Frames do
  415. wait(Rate)
  416. local Percent = (Frame / Frames)
  417. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  418. TextLabel.TextTransparency = Percent
  419. end
  420. if EffectPart and EffectPart.Parent then
  421. EffectPart:Destroy()
  422. end
  423. end)
  424. end
  425. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  426. for _, c in pairs(workspace:children()) do
  427. local hum = c:findFirstChild("Humanoid")
  428. if hum ~= nil then
  429. local head = c:findFirstChild("Head")
  430. if head ~= nil then
  431. local targ = head.Position - Part.Position
  432. local mag = targ.magnitude
  433. if magni >= mag and c.Name ~= plr.Name then
  434. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=623904185", 5.2)
  435. end
  436. end
  437. end
  438. end
  439. end
  440. function MagniKILL(Part, magni, knock, Type)
  441. for _, c in pairs(workspace:children()) do
  442. local hum = c:findFirstChild("Humanoid")
  443. if hum ~= nil then
  444. local head = c:findFirstChild("Head")
  445. if head ~= nil then
  446. local targ = head.Position - Part.Position
  447. local mag = targ.magnitude
  448. if magni >= mag and c.Name ~= plr.Name then
  449. hum.Health = 0
  450. end
  451. end
  452. end
  453. end
  454. end
  455. CFuncs = {
  456. Part = {
  457. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  458. local Part = Create("Part")({
  459. Parent = Parent,
  460. Reflectance = Reflectance,
  461. Transparency = Transparency,
  462. CanCollide = false,
  463. Locked = true,
  464. BrickColor = BrickColor.new(tostring(BColor)),
  465. Name = Name,
  466. Size = Size,
  467. Material = Material
  468. })
  469. RemoveOutlines(Part)
  470. return Part
  471. end
  472. },
  473. Mesh = {
  474. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  475. local Msh = Create(Mesh)({
  476. Parent = Part,
  477. Offset = OffSet,
  478. Scale = Scale
  479. })
  480. if Mesh == "SpecialMesh" then
  481. Msh.MeshType = MeshType
  482. Msh.MeshId = MeshId
  483. end
  484. return Msh
  485. end
  486. },
  487. Mesh = {
  488. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  489. local Msh = Create(Mesh)({
  490. Parent = Part,
  491. Offset = OffSet,
  492. Scale = Scale
  493. })
  494. if Mesh == "SpecialMesh" then
  495. Msh.MeshType = MeshType
  496. Msh.MeshId = MeshId
  497. end
  498. return Msh
  499. end
  500. },
  501. Weld = {
  502. Create = function(Parent, Part0, Part1, C0, C1)
  503. local Weld = Create("Weld")({
  504. Parent = Parent,
  505. Part0 = Part0,
  506. Part1 = Part1,
  507. C0 = C0,
  508. C1 = C1
  509. })
  510. return Weld
  511. end
  512. },
  513. Sound = {
  514. Create = function(id, par, vol, pit)
  515. coroutine.resume(coroutine.create(function()
  516. local S = Create("Sound")({
  517. Volume = vol,
  518. Pitch = pit or 1,
  519. SoundId = id,
  520. Parent = par or workspace
  521. })
  522. wait()
  523. S:play()
  524. game:GetService("Debris"):AddItem(S, 6)
  525. end))
  526. end
  527. },
  528. ParticleEmitter = {
  529. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  530. local fp = Create("ParticleEmitter")({
  531. Parent = Parent,
  532. Color = ColorSequence.new(Color1, Color2),
  533. LightEmission = LightEmission,
  534. Size = Size,
  535. Texture = Texture,
  536. Transparency = Transparency,
  537. ZOffset = ZOffset,
  538. Acceleration = Accel,
  539. Drag = Drag,
  540. LockedToPart = LockedToPart,
  541. VelocityInheritance = VelocityInheritance,
  542. EmissionDirection = EmissionDirection,
  543. Enabled = Enabled,
  544. Lifetime = LifeTime,
  545. Rate = Rate,
  546. Rotation = Rotation,
  547. RotSpeed = RotSpeed,
  548. Speed = Speed,
  549. VelocitySpread = VelocitySpread
  550. })
  551. return fp
  552. end
  553. }
  554. }
  555. function RemoveOutlines(part)
  556. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  557. end
  558. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  559. local Part = Create("Part")({
  560. formFactor = FormFactor,
  561. Parent = Parent,
  562. Reflectance = Reflectance,
  563. Transparency = Transparency,
  564. CanCollide = false,
  565. Locked = true,
  566. BrickColor = BrickColor.new(tostring(BColor)),
  567. Name = Name,
  568. Size = Size,
  569. Material = Material
  570. })
  571. RemoveOutlines(Part)
  572. return Part
  573. end
  574. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  575. local Msh = Create(Mesh)({
  576. Parent = Part,
  577. Offset = OffSet,
  578. Scale = Scale
  579. })
  580. if Mesh == "SpecialMesh" then
  581. Msh.MeshType = MeshType
  582. Msh.MeshId = MeshId
  583. end
  584. return Msh
  585. end
  586. function CreateWeld(Parent, Part0, Part1, C0, C1)
  587. local Weld = Create("Weld")({
  588. Parent = Parent,
  589. Part0 = Part0,
  590. Part1 = Part1,
  591. C0 = C0,
  592. C1 = C1
  593. })
  594. return Weld
  595. end
  596. EffectModel = Instance.new("Model", char)
  597. Effects = {
  598. Block = {
  599. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  600. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  601. prt.Anchored = true
  602. prt.CFrame = cframe
  603. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  604. game:GetService("Debris"):AddItem(prt, 10)
  605. if Type == 1 or Type == nil then
  606. table.insert(Effects, {
  607. prt,
  608. "Block1",
  609. delay,
  610. x3,
  611. y3,
  612. z3,
  613. msh
  614. })
  615. elseif Type == 2 then
  616. table.insert(Effects, {
  617. prt,
  618. "Block2",
  619. delay,
  620. x3,
  621. y3,
  622. z3,
  623. msh
  624. })
  625. else
  626. table.insert(Effects, {
  627. prt,
  628. "Block3",
  629. delay,
  630. x3,
  631. y3,
  632. z3,
  633. msh
  634. })
  635. end
  636. end
  637. },
  638. Sphere = {
  639. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  640. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  641. prt.Anchored = true
  642. prt.CFrame = cframe
  643. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  644. game:GetService("Debris"):AddItem(prt, 10)
  645. table.insert(Effects, {
  646. prt,
  647. "Cylinder",
  648. delay,
  649. x3,
  650. y3,
  651. z3,
  652. msh
  653. })
  654. end
  655. },
  656. Cylinder = {
  657. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  658. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  659. prt.Anchored = true
  660. prt.CFrame = cframe
  661. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  662. game:GetService("Debris"):AddItem(prt, 10)
  663. table.insert(Effects, {
  664. prt,
  665. "Cylinder",
  666. delay,
  667. x3,
  668. y3,
  669. z3,
  670. msh
  671. })
  672. end
  673. },
  674. Wave = {
  675. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  676. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  677. prt.Anchored = true
  678. prt.CFrame = cframe
  679. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  680. game:GetService("Debris"):AddItem(prt, 10)
  681. table.insert(Effects, {
  682. prt,
  683. "Cylinder",
  684. delay,
  685. x3 / 60,
  686. y3 / 60,
  687. z3 / 60,
  688. msh
  689. })
  690. end
  691. },
  692. Ring = {
  693. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  694. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  695. prt.Anchored = true
  696. prt.CFrame = cframe
  697. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  698. game:GetService("Debris"):AddItem(prt, 10)
  699. table.insert(Effects, {
  700. prt,
  701. "Cylinder",
  702. delay,
  703. x3,
  704. y3,
  705. z3,
  706. msh
  707. })
  708. end
  709. },
  710. Break = {
  711. Create = function(brickcolor, cframe, x1, y1, z1)
  712. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  713. prt.Anchored = true
  714. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  715. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  716. local num = math.random(10, 50) / 1000
  717. game:GetService("Debris"):AddItem(prt, 10)
  718. table.insert(Effects, {
  719. prt,
  720. "Shatter",
  721. num,
  722. prt.CFrame,
  723. math.random() - math.random(),
  724. 0,
  725. math.random(50, 100) / 100
  726. })
  727. end
  728. }
  729. }
  730. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  731. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  732. prt.Anchored = true
  733. prt.CFrame = cframe
  734. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  735. game:GetService("Debris"):AddItem(prt, 10)
  736. if Type == 1 or Type == nil then
  737. table.insert(Effects, {
  738. prt,
  739. "Block1",
  740. delay,
  741. x3,
  742. y3,
  743. z3,
  744. msh
  745. })
  746. elseif Type == 2 then
  747. table.insert(Effects, {
  748. prt,
  749. "Block2",
  750. delay,
  751. x3,
  752. y3,
  753. z3,
  754. msh
  755. })
  756. elseif Type == 3 then
  757. table.insert(Effects, {
  758. prt,
  759. "Block3",
  760. delay,
  761. x3,
  762. y3,
  763. z3,
  764. msh
  765. })
  766. end
  767. end
  768. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  769. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  770. prt.Anchored = true
  771. prt.CFrame = cframe
  772. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  773. game:GetService("Debris"):AddItem(prt, 10)
  774. table.insert(Effects, {
  775. prt,
  776. "Cylinder",
  777. delay,
  778. x3,
  779. y3,
  780. z3,
  781. msh
  782. })
  783. end
  784. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  785. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  786. prt.Anchored = true
  787. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  788. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  789. game:GetService("Debris"):AddItem(prt, 10)
  790. table.insert(Effects, {
  791. prt,
  792. "Cylinder",
  793. delay,
  794. x3,
  795. y3,
  796. z3,
  797. msh
  798. })
  799. end
  800. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  801. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  802. prt.Anchored = true
  803. prt.CFrame = cframe
  804. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  805. game:GetService("Debris"):AddItem(prt, 10)
  806. table.insert(Effects, {
  807. prt,
  808. "Cylinder",
  809. delay,
  810. x3,
  811. y3,
  812. z3,
  813. msh
  814. })
  815. end
  816. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  817. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  818. prt.Anchored = true
  819. prt.CFrame = cframe
  820. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  821. game:GetService("Debris"):AddItem(prt, 10)
  822. table.insert(Effects, {
  823. prt,
  824. "Cylinder",
  825. delay,
  826. x3,
  827. y3,
  828. z3,
  829. msh
  830. })
  831. end
  832. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  833. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  834. prt.Anchored = true
  835. prt.CFrame = cframe
  836. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  837. game:GetService("Debris"):AddItem(prt, 10)
  838. table.insert(Effects, {
  839. prt,
  840. "Cylinder",
  841. delay,
  842. x3,
  843. y3,
  844. z3,
  845. msh
  846. })
  847. end
  848. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  849. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  850. prt.Anchored = true
  851. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  852. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  853. local num = math.random(10, 50) / 1000
  854. game:GetService("Debris"):AddItem(prt, 10)
  855. table.insert(Effects, {
  856. prt,
  857. "Shatter",
  858. num,
  859. prt.CFrame,
  860. math.random() - math.random(),
  861. 0,
  862. math.random(50, 100) / 100
  863. })
  864. end
  865. function CreateSound(ID, PARENT, VOLUME, PITCH)
  866. local NEWSOUND = nil
  867. coroutine.resume(coroutine.create(function()
  868. NEWSOUND = Instance.new("Sound", PARENT)
  869. NEWSOUND.Volume = VOLUME
  870. NEWSOUND.Pitch = PITCH
  871. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  872. swait()
  873. NEWSOUND:play()
  874. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  875. end))
  876. return NEWSOUND
  877. end
  878.  
  879.  
  880. --[[
  881. Thanks for using Build-To-Lua by jarredbcv.
  882. ]]--
  883.  
  884. New = function(Object, Parent, Name, Data)
  885. local Object = Instance.new(Object)
  886. for Index, Value in pairs(Data or {}) do
  887. Object[Index] = Value
  888. end
  889. Object.Parent = Parent
  890. Object.Name = Name
  891. return Object
  892. end
  893.  
  894. XBlade = New("Model",char,"XBlade",{})
  895. Handle = New("Part",XBlade,"Handle",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(2, 0.119999982, 0.119999982),CFrame = CFrame.new(-44.0486794, 1.89940667, 173.921341, 0.99009043, -0.134159163, -0.0414969474, 0.0418755226, -2.00014849e-09, 0.999122798, -0.134041354, -0.990959466, 0.00561797712),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  896. mesh = Instance.new("SpecialMesh",Handle)
  897. mesh.MeshId = "rbxassetid://121944778"
  898. mesh.TextureId = "rbxassetid://121944805"
  899. Handle.Orientation = Vector3.new(-0.79, 180, 180)
  900. Handle.Size = Vector3.new(0.2, 2.8, 1)
  901.  
  902. HeartLocket = New("Model",char,"Heart Locket",{})
  903. Heart = New("Hat",HeartLocket,"Heart",{})
  904. Handle2 = New("Part",Heart,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0500000007, 0.0500000007, 0.25),CFrame = CFrame.new(-42.7335167, 3.20922303, 175.050156, 0.14691636, -0.00137452304, -0.989146531, 0.00403097179, 0.999989152, -0.00079088629, 0.98914516, -0.00387096009, 0.14692001),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.937255, 0.721569, 0.219608),})
  905. Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/asset/?id=105992239",MeshType = Enum.MeshType.FileMesh,})
  906. String = New("Part",HeartLocket,"String",{BrickColor = BrickColor.new("Burnt Sienna"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-43.4914551, 3.64470506, 175.102722, 0.0703944117, 0, -0.997525692, 0, 1, 0, 0.997519255, 0, 0.0703952685),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
  907. Mesh = New("SpecialMesh",String,"Mesh",{Scale = Vector3.new(1.10000002, 1, 0.949999988),VertexColor = Vector3.new(0, 0, 0),MeshId = "http://www.roblox.com/asset/?id=34237901",MeshType = Enum.MeshType.FileMesh,})
  908.  
  909.  
  910. for _, v in pairs(XBlade:GetChildren()) do
  911. if v:IsA'BasePart' then
  912. v.CanCollide = false
  913. end
  914. end
  915.  
  916.  
  917.  
  918. local NewInstance = function(instance,parent,properties)
  919. local inst = Instance.new(instance,parent)
  920. if(properties)then
  921. for i,v in next, properties do
  922. pcall(function() inst[i] = v end)
  923. end
  924. end
  925. return inst;
  926. end
  927. local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-.9,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(90))})
  928. local Locket = NewInstance('Weld',char,{Part0=hed,Part1=String,C0 = CFrame.new(0,-.9,0.1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))})
  929. local HeartL = NewInstance('Weld',char,{Part0=hed,Part1=Handle2,C0 = CFrame.new(0,-1.3,-0.7)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))})
  930.  
  931.  
  932.  
  933.  
  934. --Chat Function--
  935. function chatfunc(text,waitt)
  936. local chat = coroutine.wrap(function()
  937. if char:FindFirstChild("TalkingBillBoard")~= nil then
  938. char:FindFirstChild("TalkingBillBoard").Parent = nil
  939. end
  940. local naeeym2 = Instance.new("BillboardGui",char)
  941. naeeym2.Size = UDim2.new(0,100,0,40)
  942. naeeym2.StudsOffset = Vector3.new(0,2,0)
  943. naeeym2.Adornee = char.Head
  944. naeeym2.Name = "TalkingBillBoard"
  945. naeeym2.AlwaysOnTop = true
  946. local tecks2 = Instance.new("TextLabel",naeeym2)
  947. tecks2.BackgroundTransparency = 1
  948. tecks2.BorderSizePixel = 0
  949. tecks2.Text = ""
  950. tecks2.Font = "Code"
  951. tecks2.TextSize = 30
  952. tecks2.TextStrokeTransparency = 0
  953. tecks2.TextColor3 = Color3.fromRGB(255,255,255)
  954. tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
  955. tecks2.Size = UDim2.new(1,0,0.5,0)
  956. for i = 1,string.len(text),1 do
  957. tecks2.Text = string.sub(text,1,i)
  958. swait(3)
  959. end
  960. wait(waitt/10)
  961. coroutine.resume(coroutine.create(function()
  962. for i = 1, 10 do
  963. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  964. swait()
  965. end
  966. naeeym2:Destroy()
  967. end))
  968. end)
  969. chat()
  970. end
  971.  
  972. local asd = Instance.new("ParticleEmitter")
  973. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  974. asd.LightEmission = .1
  975. asd.Size = NumberSequence.new(0.2)
  976. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  977. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  978. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  979. asd.Transparency = bbb
  980. asd.Size = aaa
  981. asd.ZOffset = .9
  982. asd.Acceleration = Vector3.new(0, -5, 0)
  983. asd.LockedToPart = false
  984. asd.EmissionDirection = "Back"
  985. asd.Lifetime = NumberRange.new(1, 2)
  986. asd.Rotation = NumberRange.new(-100, 100)
  987. asd.RotSpeed = NumberRange.new(-100, 100)
  988. asd.Speed = NumberRange.new(2)
  989. asd.Enabled = false
  990. asd.VelocitySpread = 10000
  991.  
  992. function bleed(victim,amount)
  993. local prtcl = asd:Clone()
  994. prtcl.Parent = victim
  995. prtcl:Emit(amount)
  996. end
  997.  
  998.  
  999. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1000. local NEWMESH = Instance.new(MESH)
  1001. if MESH == "SpecialMesh" then
  1002. NEWMESH.MeshType = MESHTYPE
  1003. if MESHID ~= "nil" and MESHID ~= "" then
  1004. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1005. end
  1006. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1007. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1008. end
  1009. end
  1010. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  1011. NEWMESH.Scale = SCALE
  1012. NEWMESH.Parent = PARENT
  1013. return NEWMESH
  1014. end
  1015.  
  1016. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1017. local NEWPART = Instance.new("Part")
  1018. NEWPART.formFactor = FORMFACTOR
  1019. NEWPART.Reflectance = REFLECTANCE
  1020. NEWPART.Transparency = TRANSPARENCY
  1021. NEWPART.CanCollide = false
  1022. NEWPART.Locked = true
  1023. NEWPART.Anchored = true
  1024. if ANCHOR == false then
  1025. NEWPART.Anchored = false
  1026. end
  1027. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  1028. NEWPART.Name = NAME
  1029. NEWPART.Size = SIZE
  1030. NEWPART.Position = tors.Position
  1031. NEWPART.Material = MATERIAL
  1032. NEWPART:BreakJoints()
  1033. NEWPART.Parent = PARENT
  1034. return NEWPART
  1035. end
  1036.  
  1037. local function weldBetween(a, b)
  1038. local weldd = Instance.new("ManualWeld")
  1039. weldd.Part0 = a
  1040. weldd.Part1 = b
  1041. weldd.C0 = CFrame.new()
  1042. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1043. weldd.Parent = a
  1044. return weldd
  1045. end
  1046.  
  1047. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  1048. local acs = Instance.new("Part")
  1049. acs.CanCollide = false
  1050. acs.Anchored = false
  1051. acs.Size = Vector3.new(0,0,0)
  1052. acs.CFrame = attachmentpart.CFrame
  1053. acs.Parent = char
  1054. acs.BrickColor = color
  1055. local meshs = Instance.new("SpecialMesh")
  1056. meshs.MeshId = mesh
  1057. meshs.TextureId = texture
  1058. meshs.Parent = acs
  1059. meshs.Scale = scale
  1060. meshs.Offset = offset
  1061. weldBetween(attachmentpart,acs)
  1062. end
  1063.  
  1064. local accessories = Instance.new("Folder",char)
  1065. accessories.Name = "Add-ons"
  1066.  
  1067. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  1068. if TYPE == "Gem" then
  1069. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1070. acs.Anchored = false
  1071. acs.CanCollide = false
  1072. acs.CFrame = PART.CFrame
  1073. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  1074. weldBetween(PART,acs)
  1075. elseif TYPE == "Skull" then
  1076. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1077. acs.Anchored = false
  1078. acs.CanCollide = false
  1079. acs.CFrame = PART.CFrame
  1080. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  1081. weldBetween(PART,acs)
  1082. elseif TYPE == "Eye" then
  1083. local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1084. acs.Anchored = false
  1085. acs.CanCollide = false
  1086. acs.CFrame = PART.CFrame
  1087. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  1088. weldBetween(PART,acs)
  1089. end
  1090. end
  1091.  
  1092. createbodypart("Eye","Really black",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1093. createbodypart("Eye","White",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1094.  
  1095. --Extras--
  1096.  
  1097. local top = Instance.new("Shirt")
  1098. top.ShirtTemplate = "rbxassetid://1628695479"
  1099. top.Parent = char
  1100. local bottom = Instance.new("Pants")
  1101. bottom.PantsTemplate = "rbxassetid://1089619070"
  1102. bottom.Parent = char
  1103.  
  1104. local BodyColors = char:FindFirstChildOfClass"BodyColors"
  1105. if BodyColors then
  1106. ---BodyColors.HeadColor = BrickColor.new"Institutional white"
  1107. ---BodyColors.TorsoColor = BrickColor.new"Institutional white"
  1108. ---BodyColors.LeftArmColor = BrickColor.new"Institutional white"
  1109. ---BodyColors.RightArmColor = BrickColor.new"Institutional white"
  1110. ---BodyColors.LeftLegColor = BrickColor.new"Institutional white"
  1111. ---BodyColors.RightLegColor = BrickColor.new"Institutional white"
  1112. end
  1113.  
  1114. --Scarfs--
  1115.  
  1116.  
  1117. --Hair--
  1118.  
  1119.  
  1120. --Hood--
  1121.  
  1122.  
  1123.  
  1124. Slashy = Instance.new("Sound", ra)
  1125. Slashy.Volume = 5
  1126. Slashy.Pitch = 1
  1127. Slashy.SoundId = "http://www.roblox.com/asset/?id=978101945"
  1128. Slashy.Looped = false
  1129.  
  1130. local VALUE1 = false
  1131. local sine=0
  1132. for _, v in pairs(XBlade:GetChildren()) do
  1133. if v:IsA'BasePart' then
  1134. v.CanCollide = false
  1135. v.Transparency = 1
  1136. end
  1137. end
  1138. function intro()
  1139. attack = true
  1140. chatfunc("Made by 1x1x1x1IAMbck",3)
  1141. hum.WalkSpeed = 0
  1142. for i = 0,6,0.1 do
  1143. swait()
  1144. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1145. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1146. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1147. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1148. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
  1149. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
  1150. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1151. end
  1152. wait(2.5)
  1153. chatfunc("Finally, after all this time.",3)
  1154. hum.WalkSpeed = 0
  1155. for i = 0,6,0.1 do
  1156. swait()
  1157. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1158. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1159. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1160. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1161. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
  1162. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
  1163. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1164. end
  1165. wait(2.5)
  1166. chatfunc("At last I have a human soul.",3)
  1167. for i = 0,6,0.1 do
  1168. swait()
  1169. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1170. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1171. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1172. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1173. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
  1174. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
  1175. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1176. end
  1177. wait(2.5)
  1178. chatfunc("And finally not attached to that dumb Skeleton.",3)
  1179. for i = 0,6,0.1 do
  1180. swait()
  1181. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1182. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1183. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1184. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1185. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
  1186. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
  1187. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1188. end
  1189. wait(2.5)
  1190. chatfunc("You'll get to live long enough to see something special.",5)
  1191.  
  1192. for i = 0,6,0.1 do
  1193. swait()
  1194. for _, v in pairs(XBlade:GetChildren()) do
  1195. if v:IsA'BasePart' then
  1196. v.CanCollide = false
  1197. v.Transparency = v.Transparency - .3
  1198. end
  1199. end
  1200. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1201. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1202. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1203. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1204. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(5)), 0.1)
  1205. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
  1206. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(180)), 0.15)
  1207. end
  1208. wait(4.5)
  1209. chatfunc("You Aint Gonna Live.",3)
  1210. wait(2.5)
  1211. CreateSound("367453005", hed, 10, 1)
  1212. ShadowHead = New("Part",char,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1213. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  1214. Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1215. Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame*angles(math.rad(90),math.rad(0),math.rad(0)), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1216. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1217. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1218. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1219. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1220. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1221. local bigboi = Instance.new("Sound",tors)
  1222. bigboi.SoundId = "rbxassetid://935501955"
  1223. bigboi.Volume = 2.5
  1224. bigboi.Looped = true
  1225. bigboi.Pitch = 1
  1226. bigboi:Play()
  1227. attack = false
  1228. VALUE1 = true
  1229. hum.WalkSpeed = 28
  1230. end
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236. function NothingPersonal()
  1237. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1238. local HITBODY = mouse.Target.Parent
  1239. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  1240. local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1241. if TORS ~= nil and HUMAN ~= nil then
  1242. attack = true
  1243. hum.WalkSpeed = 0
  1244. root.CFrame = TORS.CFrame * CFrame.new(-1,0,6)
  1245. TORS.Anchored = true
  1246. CreateSound("367453005", hed, 10, 1)
  1247. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1248. for i = 0,6,0.1 do
  1249. swait()
  1250. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(-20)),0.15)
  1251. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1252. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1253. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1254. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(125)), 0.1)
  1255. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(-15)), 0.1)
  1256. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1257. end
  1258. CreateSound("357417055", hed, 10, 1)
  1259. for i = 0,4,0.1 do
  1260. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(45)),0.15)
  1261. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1262. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1263. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1264. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.1)
  1265. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.1)
  1266. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1267. end
  1268. wait(2.5)
  1269. CreateSound("623904185", hed, 10, 1)
  1270. HITBODY:BreakJoints()
  1271. TORS.Anchored = false
  1272. attack = false
  1273. hum.WalkSpeed = 28
  1274. bleed(TORS,25)
  1275. end
  1276. end
  1277. end
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290. ---ATTACKS N STUFF
  1291. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1292. Hitboxpart = Instance.new("Part", EffectModel)
  1293. RemoveOutlines(Hitboxpart)
  1294. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1295. Hitboxpart.CanCollide = false
  1296. Hitboxpart.Transparency = 1
  1297. Hitboxpart.Anchored = true
  1298. Hitboxpart.CFrame = Pose
  1299. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1300. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1301. end
  1302. wait2 = false
  1303. combo = 1
  1304. mouse.Button1Down:connect(function(key)
  1305. if attack == false then
  1306. attack = true
  1307. hum.WalkSpeed = 3.01
  1308. if combo == 1 and wait2 == false then
  1309. wait2 = true
  1310. for i = 0, 1.2, 0.1 do
  1311. swait()
  1312. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1313. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1314. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(175), math.rad(0), math.rad(0)), 0.1)
  1315. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1316. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1317. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1318. end
  1319. Effects.Ring.Create(BrickColor.new("Institutional white"), ra.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1320. Slashy:Play()
  1321. HitboxFunction(Handle.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1322. for i = 0, 1.2, 0.1 do
  1323. swait()
  1324. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(15)), 0.3)
  1325. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1326. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  1327. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1328. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1329. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1330. end
  1331. combo = 2
  1332. end
  1333. if combo == 2 and wait2 == false then
  1334. wait2 = true
  1335. HitboxFunction(ll.CFrame * CFrame.new(0, 0, .4), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
  1336. for i = 0, 1.4, 0.1 do
  1337. swait()
  1338. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15)
  1339. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1340. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.3)
  1341. LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-4.5)),0.15)
  1342. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(90),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15)
  1343. LH.C0=clerp(LH.C0,cf(-1,-1,-1)*angles(math.rad(-60),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
  1344. end
  1345. combo = 3
  1346. end
  1347. if combo == 3 and wait2 == false then
  1348. wait2 = true
  1349.  
  1350. for i = 0, 1.2, 0.1 do
  1351. swait()
  1352. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1353. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1354. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.1)
  1355. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1356. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1357. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1358. end
  1359. HitboxFunction(Handle.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1360. Effects.Ring.Create(BrickColor.new("Institutional white"), Handle.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1361. Slashy:Play()
  1362. for i = 0, 1.2, 0.1 do
  1363. swait()
  1364. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(30)), 0.3)
  1365. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1366. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -1) * angles(math.rad(55), math.rad(0), math.rad(40)), 0.1)
  1367. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1368. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1369. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1370. end
  1371. combo = 1
  1372. end
  1373. hum.WalkSpeed = 16
  1374. wait2 = false
  1375. attack = false
  1376. end
  1377. end)
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384. function DashingSpin()
  1385. attack = true
  1386. hum.WalkSpeed = 50
  1387. CreateSound("707957812", workspace, 5, 1)
  1388. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 3.6, 3.6, 3.6, 0.05)
  1389. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 3.4, 3.4, 3.4, 0.03)
  1390. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 6.6, 6.6, 6.6, 0.05)
  1391. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 6.4, 6.4, 6.4, 0.05)
  1392. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1393.  
  1394. Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1395. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1396. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1397. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1398. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1399. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1400. root.CFrame = root.CFrame + root.CFrame.lookVector * 35
  1401. for i = 0,6,0.1 do
  1402. --Not to put a swait here this is going to be like, you know what just dont put a swait kthx
  1403. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1404. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1405. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(110), math.rad(90)), 0.1)
  1406. LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.4,0)*angles(math.rad(0),math.rad(0),math.rad(-4.5)),0.15)
  1407. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
  1408. LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15)
  1409. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1410. end
  1411. for i = 0,9,0.1 do
  1412. swait()
  1413. MagniDamage(Handle, 12, 6, 12, 10, "Normal")
  1414. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25+0.45*i)*angles(math.rad(0),math.rad(0),math.rad(0-255.45*i)),0.15)
  1415. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30-5.35*i),math.rad(0),math.rad(0)),0.15)
  1416. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(110-25.35*i), math.rad(90)), 0.1)
  1417. LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.4,0)*angles(math.rad(0+17.35*i),math.rad(0-25.35*i),math.rad(-4.5)),0.15)
  1418. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60+10.35*i),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
  1419. LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15)
  1420. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1421. end
  1422. attack = false
  1423. hum.WalkSpeed = 38
  1424. end
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432. mouse.KeyDown:connect(function(key)
  1433. if attack == false then
  1434. if key == 'q' then
  1435. NothingPersonal()
  1436. elseif key == 'c' then
  1437. CreateSound("367453005", hed, 10, 1)
  1438. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1439. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  1440. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1441. elseif key == 'f' then
  1442. DashingSpin()
  1443. elseif key == 't' then
  1444. CreateSound("649634100", hed, 10, .89)
  1445. end
  1446. end
  1447. end)
  1448.  
  1449.  
  1450.  
  1451. ff = Instance.new("ForceField",char)
  1452. ff.Visible = false
  1453.  
  1454. local idle=0
  1455. local change = 1
  1456. local val = 0
  1457. toim = 0
  1458. hum.Animator.Parent = nil
  1459. idleanim=.4
  1460. while true do
  1461. swait()
  1462. hum.MaxHealth = math.huge
  1463. hum.Health = math.huge
  1464. hum.Name = "TheXEvent"
  1465. sine = sine + change
  1466. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  1467. local velderp=root.Velocity.y
  1468. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  1469. if equipped==true or equipped==false then
  1470. if attack==false then
  1471. idle=idle+1
  1472. else
  1473. idle=0
  1474. end
  1475. if root.Velocity.y > 1 and hitfloor==nil then
  1476. Anim="Jump"
  1477. if attack==false then
  1478. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1479. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1480. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1481. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1482. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),-0.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
  1483. RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1484. end
  1485. elseif root.Velocity.y < -1 and hitfloor==nil then
  1486. Anim="Fall"
  1487. if attack==false then
  1488. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1489. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1490. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(90)), 0.3)
  1491. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-90)), 0.3)
  1492. LH.C0=clerp(LH.C0,cf(-1,-.4-0.1*math.cos(sine/20),-.6)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
  1493. RH.C0=clerp(RH.C0,cf(1,-.3-0.1*math.cos(sine/20),-.6)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1494. end
  1495. elseif torvel<1 and hitfloor~=nil then
  1496. Anim="Idle"
  1497. change = 1
  1498. if attack==false then
  1499. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,0.6+0.5*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(43)),0.15)
  1500. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-25)),.3)
  1501. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1502. LH.C0=clerp(LH.C0,cf(-1,-.6-0.1*math.cos(sine/20),-.085)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  1503. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0),math.rad(-40), math.rad(15)), 0.1)
  1504. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-10)), 0.1)
  1505. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1506. end
  1507.  
  1508. elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
  1509. Anim="Walk"
  1510. change = 1
  1511. if attack==false then
  1512. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,0.6+0.5*math.cos(sine/20))*angles(math.rad(20),math.rad(0),math.rad(0)),0.15)
  1513. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-0)),.3)
  1514. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1515. LH.C0=clerp(LH.C0,cf(-1,-.4-0.1*math.cos(sine/20),-.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
  1516. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0),math.rad(-5), math.rad(15)), 0.1)
  1517. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-10)), 0.1)
  1518. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1519. end
  1520. end
  1521. end
  1522.  
  1523. if 0 < #Effects then
  1524. for e = 1, #Effects do
  1525. if Effects[e] ~= nil then
  1526. local Thing = Effects[e]
  1527. if Thing ~= nil then
  1528. local Part = Thing[1]
  1529. local Mode = Thing[2]
  1530. local Delay = Thing[3]
  1531. local IncX = Thing[4]
  1532. local IncY = Thing[5]
  1533. local IncZ = Thing[6]
  1534. if 1 >= Thing[1].Transparency then
  1535. if Thing[2] == "Block1" then
  1536. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1537. local Mesh = Thing[1].Mesh
  1538. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1539. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1540. elseif Thing[2] == "Block2" then
  1541. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1542. local Mesh = Thing[7]
  1543. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1544. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1545. elseif Thing[2] == "Block3" then
  1546. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1547. local Mesh = Thing[7]
  1548. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1549. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1550. elseif Thing[2] == "Cylinder" then
  1551. local Mesh = Thing[1].Mesh
  1552. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1553. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1554. elseif Thing[2] == "Blood" then
  1555. local Mesh = Thing[7]
  1556. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1557. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1558. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1559. elseif Thing[2] == "Elec" then
  1560. local Mesh = Thing[1].Mesh
  1561. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1562. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1563. elseif Thing[2] == "Disappear" then
  1564. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1565. elseif Thing[2] == "Shatter" then
  1566. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1567. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1568. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1569. Thing[6] = Thing[6] + Thing[5]
  1570. end
  1571. else
  1572. Part.Parent = nil
  1573. table.remove(Effects, e)
  1574. end
  1575. end
  1576. end
  1577. end
  1578. end
  1579. if VALUE1 == false and attack == false then
  1580. intro()
  1581. end
  1582. end
  1583.  
  1584.  
  1585. --//=================================\\
  1586. --|| WEAPON CREATION
  1587. --\\=================================//
  1588.  
  1589. local Hole = CreatePart(3, Weapon, "Neon", 0, 0, "White", "Hole", VT(15,0,15))
  1590. local MESH = MakeForm(Hole,"Cyl")
  1591.  
  1592. for _, c in pairs(Weapon:GetChildren()) do
  1593. if c.ClassName == "Part" then
  1594. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1595. end
  1596. end
  1597.  
  1598. Weapon.Parent = Character
  1599.  
  1600. Humanoid.Died:connect(function()
  1601. ATTACK = true
  1602. end)
  1603.  
  1604.  
  1605.  
  1606. --//=================================\\
  1607. --|| DAMAGING
  1608. --\\=================================//
  1609.  
  1610. function Sink(position,radius)
  1611. for i,v in ipairs(workspace:GetChildren()) do
  1612. if v:FindFirstChild("Hit2By"..Player.Name) == nil then
  1613. local body = v:GetChildren()
  1614. for part = 1, #body do
  1615. if(v:FindFirstChild("Hit2By"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1616. if(body[part].Position - position).Magnitude < radius then
  1617. if v.ClassName == "Model" then
  1618. if v:FindFirstChild("Humanoid") then
  1619. local defence = Instance.new("BoolValue",v)
  1620. defence.Name = ("Hit2By"..Player.Name)
  1621. if v.Humanoid.Health ~= 0 then
  1622. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1623. if TORS ~= nil then
  1624. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 5 * TORS.Size.Y/2, v)
  1625. coroutine.resume(coroutine.create(function()
  1626. if HITFLOOR2 ~= nil then
  1627. TORS.Anchored = true
  1628. local Hole2 = CreatePart(3, Effects, "Neon", 0, 0, "White", "Hole", VT(TORS.Size.X*4,0,TORS.Size.X*4))
  1629. Hole2.Color = C3(0,0,0)
  1630. local MESH = MakeForm(Hole2,"Cyl")
  1631. MESH.Scale = VT(0,1,0)
  1632. Hole2.CFrame = CF(HITPOS2)
  1633. for i = 1, 10 do
  1634. Swait()
  1635. MESH.Scale = MESH.Scale + VT(0.1,0,0.1)
  1636. end
  1637. repeat
  1638. Swait()
  1639. TORS.CFrame = TORS.CFrame * CF(0,-0.1,0)
  1640. until TORS.Position.Y<position.Y-4
  1641. v:remove()
  1642. for i = 1, 10 do
  1643. Swait()
  1644. MESH.Scale = MESH.Scale - VT(0.1,0,0.1)
  1645. end
  1646. Hole2:remove()
  1647. end
  1648. end))
  1649. end
  1650. end
  1651. end
  1652. end
  1653. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1654. end
  1655. end
  1656. end
  1657. end
  1658. end
  1659. end
  1660.  
  1661. --//=================================\\
  1662. --|| ATTACK FUNCTIONS AND STUFF
  1663. --\\=================================//
  1664.  
  1665. function Trail(Part)
  1666. local TRAIL = Part:Clone()
  1667. TRAIL.CanCollide = false
  1668. TRAIL.Anchored = true
  1669. TRAIL.Parent = Effects
  1670. TRAIL.Name = "Trail"
  1671. local TRANS = Part.Transparency
  1672. coroutine.resume(coroutine.create(function()
  1673. for i = 1, 20 do
  1674. Swait()
  1675. TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  1676. end
  1677. TRAIL:remove()
  1678. end))
  1679. end
  1680.  
  1681. function AttackTemplate()
  1682. ATTACK = true
  1683. Rooted = false
  1684. for i=0, 1, 0.1 / Animation_Speed do
  1685. Swait()
  1686. 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)
  1687. 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)
  1688. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1689. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1690. 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)
  1691. 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)
  1692. end
  1693. ATTACK = false
  1694. Rooted = false
  1695. end
  1696.  
  1697. function Intro()
  1698. coroutine.resume(coroutine.create(function()
  1699. ATTACK = true
  1700. Rooted = true
  1701. UNANCHOR = false
  1702. RootPart.Anchored = true
  1703. for i=0, 2, 0.1 / Animation_Speed do
  1704. Swait()
  1705. 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)
  1706. 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)
  1707. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1708. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1709. 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)
  1710. 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)
  1711. end
  1712. for i=0, 4, 0.1 / Animation_Speed do
  1713. Swait()
  1714. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1715. 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)
  1716. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1717. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1718. 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)
  1719. 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)
  1720. end
  1721. VALUE1 = true
  1722. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.2,0.3,0.1),false)
  1723. local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(0.16,0.25,-0.5) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1724. MakeForm(part,"Ball")
  1725. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.2,0.3,0.1),false)
  1726. local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(-0.16,0.25,-0.5) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1727. MakeForm(part,"Ball")
  1728. Swait(15)
  1729. Humanoid.HipHeight = 2
  1730. sick:Play()
  1731. CreateSound("649634100", Head, 10, 0.6)
  1732. for i=0, 2, 0.1 / Animation_Speed do
  1733. Swait()
  1734. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1735. 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)
  1736. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1737. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1738. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1739. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.15 / Animation_Speed)
  1740. end
  1741. UNANCHOR = true
  1742. ATTACK = false
  1743. Rooted = false
  1744. end))
  1745. end
  1746.  
  1747. function Warp()
  1748. ATTACK = true
  1749. Rooted = true
  1750. UNANCHOR = false
  1751. RootPart.Anchored = true
  1752. for i=0, 1, 0.1 / Animation_Speed do
  1753. Swait()
  1754. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)), 1 / Animation_Speed)
  1755. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1756. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1757. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1758. 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)), 1 / Animation_Speed)
  1759. 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)), 1 / Animation_Speed)
  1760. end
  1761. for i=0, 1, 0.1 / Animation_Speed do
  1762. Swait()
  1763. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -15) * ANGLES(RAD(180), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1764. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1765. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1766. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1767. 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)), 1 / Animation_Speed)
  1768. 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)), 1 / Animation_Speed)
  1769. end
  1770. for i = 1, 50 do
  1771. Swait()
  1772. Trail(Hole)
  1773. MESH.Scale = MESH.Scale - VT(0.02,0,0.02)
  1774. end
  1775. local ORIGINPOS = RootPart.Position
  1776. RootPart.CFrame = CF(VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z),ORIGINPOS)
  1777. CreateSound("466493476", Hole, 10, 1)
  1778. for i = 1, 50 do
  1779. Swait()
  1780. MESH.Scale = MESH.Scale + VT(0.02,0,0.02)
  1781. end
  1782. for i=0, 2, 0.1 / Animation_Speed do
  1783. Swait()
  1784. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1785. 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)
  1786. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1787. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1788. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1789. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.15 / Animation_Speed)
  1790. end
  1791. UNANCHOR = true
  1792. ATTACK = false
  1793. Rooted = false
  1794. end
  1795.  
  1796. function Sinkhole()
  1797. coroutine.resume(coroutine.create(function()
  1798. local Hole2 = CreatePart(3, Effects, "Neon", 0, 0, "White", "Hole", VT(15,0,15))
  1799. Hole2.Color = C3(0,0,0)
  1800. local MESH = MakeForm(Hole2,"Cyl")
  1801. MESH.Scale = VT(0,1,0)
  1802. Hole2.CFrame = CF(Mouse.Hit.p)
  1803. CreateSound("466493476", Hole2, 10, 1)
  1804. for i = 1, 50 do
  1805. Swait()
  1806. MESH.Scale = MESH.Scale + VT(0.02,0,0.02)
  1807. end
  1808. for i = 1, 200 do
  1809. Swait()
  1810. Sink(Hole2.Position,Hole2.Size.X/2.2)
  1811. end
  1812. Swait(100)
  1813. for i = 1, 50 do
  1814. Swait()
  1815. Trail(Hole2)
  1816. MESH.Scale = MESH.Scale - VT(0.02,0,0.02)
  1817. end
  1818. Hole2:remove()
  1819. end))
  1820. end
  1821.  
  1822. function AbyssGate()
  1823. VALUE2 = true
  1824. coroutine.resume(coroutine.create(function()
  1825. CreateSound("466493476", Hole, 10, 0.1)
  1826. for i = 1, 500 do
  1827. Swait()
  1828. Hole.Size = Hole.Size + VT(1,0,1)
  1829. end
  1830. Swait(100)
  1831. for i = 1, 500 do
  1832. Swait()
  1833. Trail(Hole)
  1834. Hole.Size = Hole.Size - VT(1,0,1)
  1835. end
  1836. VALUE2 = false
  1837. end))
  1838. end
  1839.  
  1840. --//=================================\\
  1841. --|| ASSIGN THINGS TO KEYS
  1842. --\\=================================//
  1843.  
  1844. function MouseDown(Mouse)
  1845. if ATTACK == false then
  1846. end
  1847. end
  1848.  
  1849. function MouseUp(Mouse)
  1850. HOLD = false
  1851. end
  1852.  
  1853. function KeyDown(Key)
  1854. KEYHOLD = true
  1855. if Key == "q" and ATTACK == false and HITFLOOR ~= nil and VALUE2 == false then
  1856. Warp()
  1857. end
  1858.  
  1859. if Key == "e" and ATTACK == false then
  1860. Sinkhole()
  1861. end
  1862.  
  1863. if Key == "r" and ATTACK == false and VALUE2 == false then
  1864. AbyssGate()
  1865. end
  1866.  
  1867. if Key == "t" and ATTACK == false then
  1868. CreateSound("649634100", Head, 10, 0.6)
  1869. end
  1870. end
  1871.  
  1872. function KeyUp(Key)
  1873. KEYHOLD = false
  1874. end
  1875.  
  1876. Mouse.Button1Down:connect(function(NEWKEY)
  1877. MouseDown(NEWKEY)
  1878. end)
  1879. Mouse.Button1Up:connect(function(NEWKEY)
  1880. MouseUp(NEWKEY)
  1881. end)
  1882. Mouse.KeyDown:connect(function(NEWKEY)
  1883. KeyDown(NEWKEY)
  1884. end)
  1885. Mouse.KeyUp:connect(function(NEWKEY)
  1886. KeyUp(NEWKEY)
  1887. end)
  1888.  
  1889. --//=================================\\
  1890. --\\=================================//
  1891.  
  1892.  
  1893. function unanchor()
  1894. if UNANCHOR == true then
  1895. g = Character:GetChildren()
  1896. for i = 1, #g do
  1897. if g[i].ClassName == "Part" then
  1898. g[i].Anchored = false
  1899. end
  1900. end
  1901. end
  1902. end
  1903.  
  1904.  
  1905. --//=================================\\
  1906. --|| WRAP THE WHOLE SCRIPT UP
  1907. --\\=================================//
  1908.  
  1909. Humanoid.Changed:connect(function(Jump)
  1910. if Jump == "Jump" and (Disable_Jump == true) then
  1911. Humanoid.Jump = false
  1912. end
  1913. end)
  1914.  
  1915. Speed = 10
  1916.  
  1917. while true do
  1918. Swait()
  1919. ANIMATE.Parent = nil
  1920. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1921. IDLEANIMATION:Play()
  1922. SINE = SINE + CHANGE
  1923. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1924. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1925. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1926. HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25 * Player_Size, Character)
  1927. if ATTACK == false then
  1928. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1929. 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)
  1930. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1931. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1932. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1933. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(25)), 0.15 / Animation_Speed)
  1934. end
  1935. if HITFLOOR ~= nil then
  1936. Hole.CFrame = CF(HITPOS)
  1937. end
  1938. Sink(Hole.Position,Hole.Size.X/2.2*MESH.Scale.X)
  1939. Hole.Color = C3(0,0,0)
  1940. unanchor()
  1941. Humanoid.MaxHealth = "inf"
  1942. Humanoid.Health = "inf"
  1943. if Rooted == false then
  1944. Disable_Jump = false
  1945. Humanoid.WalkSpeed = Speed
  1946. elseif Rooted == true then
  1947. Disable_Jump = true
  1948. Humanoid.WalkSpeed = 0
  1949. end
  1950. if VALUE1 == true then
  1951. Humanoid.HipHeight = 2
  1952. q = Character:GetChildren()
  1953. for u = 1, #q do
  1954. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1955. q[u]:remove()
  1956. elseif q[u].ClassName == "Shirt" then
  1957. q[u]:Destroy()
  1958. elseif q[u].ClassName == "Pants" then
  1959. q[u]:Destroy()
  1960. elseif q[u].ClassName == "CharacterMesh" then
  1961. q[u]:remove()
  1962. elseif q[u].ClassName == "ShirtGraphic" then
  1963. q[u]:remove()
  1964. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1965. q[u].Color = Color3.new(0,0,0)
  1966. q[u].Material = "Neon"
  1967. end
  1968. end
  1969. if Head:FindFirstChild("Mesh") then
  1970. local mesh = Head.Mesh
  1971. if mesh.ClassName == "SpecialMesh" then
  1972. mesh:remove()
  1973. local m = IT("BlockMesh",Head)
  1974. m.Scale = VT(0.5,1,1)
  1975. end
  1976. end
  1977. if Head:FindFirstChild("face") then
  1978. Head.face:remove()
  1979. end
  1980. end
  1981. if VALUE1 == false and ATTACK == false then
  1982. Intro()
  1983. end
  1984. end
  1985.  
  1986. --//=================================\\
  1987. --\\=================================//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement