Advertisement
memberhero

Thing

Apr 25th, 2018
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 78.42 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.  
  900.  
  901. HeartLocket = New("Model",char,"Heart Locket",{})
  902. Heart = New("Hat",HeartLocket,"Heart",{})
  903. 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),})
  904. Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/asset/?id=105992239",MeshType = Enum.MeshType.FileMesh,})
  905. 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),})
  906. 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,})
  907.  
  908.  
  909. for _, v in pairs(XBlade:GetChildren()) do
  910. if v:IsA'BasePart' then
  911. v.CanCollide = false
  912. end
  913. end
  914.  
  915.  
  916.  
  917. local NewInstance = function(instance,parent,properties)
  918. local inst = Instance.new(instance,parent)
  919. if(properties)then
  920. for i,v in next, properties do
  921. pcall(function() inst[i] = v end)
  922. end
  923. end
  924. return inst;
  925. end
  926. 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))})
  927. 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))})
  928. 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))})
  929.  
  930.  
  931.  
  932.  
  933. --Chat Function--
  934. function chatfunc(text,waitt)
  935. local chat = coroutine.wrap(function()
  936. if char:FindFirstChild("TalkingBillBoard")~= nil then
  937. char:FindFirstChild("TalkingBillBoard").Parent = nil
  938. end
  939. local naeeym2 = Instance.new("BillboardGui",char)
  940. naeeym2.Size = UDim2.new(0,100,0,40)
  941. naeeym2.StudsOffset = Vector3.new(0,2,0)
  942. naeeym2.Adornee = char.Head
  943. naeeym2.Name = "TalkingBillBoard"
  944. naeeym2.AlwaysOnTop = true
  945. local tecks2 = Instance.new("TextLabel",naeeym2)
  946. tecks2.BackgroundTransparency = 1
  947. tecks2.BorderSizePixel = 0
  948. tecks2.Text = ""
  949. tecks2.Font = "Code"
  950. tecks2.TextSize = 30
  951. tecks2.TextStrokeTransparency = 0
  952. tecks2.TextColor3 = Color3.fromRGB(255,255,255)
  953. tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
  954. tecks2.Size = UDim2.new(1,0,0.5,0)
  955. for i = 1,string.len(text),1 do
  956. tecks2.Text = string.sub(text,1,i)
  957. swait(3)
  958. end
  959. wait(waitt/10)
  960. coroutine.resume(coroutine.create(function()
  961. for i = 1, 10 do
  962. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  963. swait()
  964. end
  965. naeeym2:Destroy()
  966. end))
  967. end)
  968. chat()
  969. end
  970.  
  971. local asd = Instance.new("ParticleEmitter")
  972. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  973. asd.LightEmission = .1
  974. asd.Size = NumberSequence.new(0.2)
  975. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  976. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  977. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  978. asd.Transparency = bbb
  979. asd.Size = aaa
  980. asd.ZOffset = .9
  981. asd.Acceleration = Vector3.new(0, -5, 0)
  982. asd.LockedToPart = false
  983. asd.EmissionDirection = "Back"
  984. asd.Lifetime = NumberRange.new(1, 2)
  985. asd.Rotation = NumberRange.new(-100, 100)
  986. asd.RotSpeed = NumberRange.new(-100, 100)
  987. asd.Speed = NumberRange.new(2)
  988. asd.Enabled = false
  989. asd.VelocitySpread = 10000
  990.  
  991. function bleed(victim,amount)
  992. local prtcl = asd:Clone()
  993. prtcl.Parent = victim
  994. prtcl:Emit(amount)
  995. end
  996.  
  997.  
  998. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  999. local NEWMESH = Instance.new(MESH)
  1000. if MESH == "SpecialMesh" then
  1001. NEWMESH.MeshType = MESHTYPE
  1002. if MESHID ~= "nil" and MESHID ~= "" then
  1003. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1004. end
  1005. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1006. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1007. end
  1008. end
  1009. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  1010. NEWMESH.Scale = SCALE
  1011. NEWMESH.Parent = PARENT
  1012. return NEWMESH
  1013. end
  1014.  
  1015. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1016. local NEWPART = Instance.new("Part")
  1017. NEWPART.formFactor = FORMFACTOR
  1018. NEWPART.Reflectance = REFLECTANCE
  1019. NEWPART.Transparency = TRANSPARENCY
  1020. NEWPART.CanCollide = false
  1021. NEWPART.Locked = true
  1022. NEWPART.Anchored = true
  1023. if ANCHOR == false then
  1024. NEWPART.Anchored = false
  1025. end
  1026. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  1027. NEWPART.Name = NAME
  1028. NEWPART.Size = SIZE
  1029. NEWPART.Position = tors.Position
  1030. NEWPART.Material = MATERIAL
  1031. NEWPART:BreakJoints()
  1032. NEWPART.Parent = PARENT
  1033. return NEWPART
  1034. end
  1035.  
  1036. local function weldBetween(a, b)
  1037. local weldd = Instance.new("ManualWeld")
  1038. weldd.Part0 = a
  1039. weldd.Part1 = b
  1040. weldd.C0 = CFrame.new()
  1041. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1042. weldd.Parent = a
  1043. return weldd
  1044. end
  1045.  
  1046. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  1047. local acs = Instance.new("Part")
  1048. acs.CanCollide = false
  1049. acs.Anchored = false
  1050. acs.Size = Vector3.new(0,0,0)
  1051. acs.CFrame = attachmentpart.CFrame
  1052. acs.Parent = char
  1053. acs.BrickColor = color
  1054. local meshs = Instance.new("SpecialMesh")
  1055. meshs.MeshId = mesh
  1056. meshs.TextureId = texture
  1057. meshs.Parent = acs
  1058. meshs.Scale = scale
  1059. meshs.Offset = offset
  1060. weldBetween(attachmentpart,acs)
  1061. end
  1062.  
  1063. local accessories = Instance.new("Folder",char)
  1064. accessories.Name = "Add-ons"
  1065.  
  1066. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  1067. if TYPE == "Gem" then
  1068. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1069. acs.Anchored = false
  1070. acs.CanCollide = false
  1071. acs.CFrame = PART.CFrame
  1072. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  1073. weldBetween(PART,acs)
  1074. elseif TYPE == "Skull" then
  1075. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1076. acs.Anchored = false
  1077. acs.CanCollide = false
  1078. acs.CFrame = PART.CFrame
  1079. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  1080. weldBetween(PART,acs)
  1081. elseif TYPE == "Eye" then
  1082. local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1083. acs.Anchored = false
  1084. acs.CanCollide = false
  1085. acs.CFrame = PART.CFrame
  1086. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  1087. weldBetween(PART,acs)
  1088. end
  1089. end
  1090.  
  1091. createbodypart("Eye","Really black",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1092. createbodypart("Eye","White",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1093.  
  1094. --Extras--
  1095. q = char:GetChildren()
  1096. for u = 1, #q do
  1097. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1098. q[u]:remove()
  1099. elseif q[u].ClassName == "CharacterMesh" then
  1100. q[u]:remove()
  1101. elseif q[u].ClassName == "ShirtGraphic" then
  1102. q[u]:remove()
  1103. elseif q[u].ClassName == "Shirt" then
  1104. q[u]:Destroy()
  1105. elseif q[u].ClassName == "Pants" then
  1106. q[u]:Destroy()
  1107. end
  1108. end
  1109. local top = Instance.new("Shirt")
  1110. top.ShirtTemplate = "rbxassetid://1628695479"
  1111. top.Parent = char
  1112. local bottom = Instance.new("Pants")
  1113. bottom.PantsTemplate = "rbxassetid://1089619070"
  1114. bottom.Parent = char
  1115.  
  1116. local BodyColors = char:FindFirstChildOfClass"BodyColors"
  1117. if BodyColors then
  1118. ---BodyColors.HeadColor = BrickColor.new"Institutional white"
  1119. ---BodyColors.TorsoColor = BrickColor.new"Institutional white"
  1120. ---BodyColors.LeftArmColor = BrickColor.new"Institutional white"
  1121. ---BodyColors.RightArmColor = BrickColor.new"Institutional white"
  1122. ---BodyColors.LeftLegColor = BrickColor.new"Institutional white"
  1123. ---BodyColors.RightLegColor = BrickColor.new"Institutional white"
  1124. end
  1125.  
  1126. --Scarfs--
  1127.  
  1128.  
  1129. --Hair--
  1130.  
  1131.  
  1132. --Hood--
  1133.  
  1134.  
  1135.  
  1136. Slashy = Instance.new("Sound", ra)
  1137. Slashy.Volume = 5
  1138. Slashy.Pitch = 1
  1139. Slashy.SoundId = "http://www.roblox.com/asset/?id=978101945"
  1140. Slashy.Looped = false
  1141.  
  1142. local VALUE1 = false
  1143. local sine=0
  1144. for _, v in pairs(XBlade:GetChildren()) do
  1145. if v:IsA'BasePart' then
  1146. v.CanCollide = false
  1147. v.Transparency = 1
  1148. end
  1149. end
  1150. function intro()
  1151. attack = true
  1152. chatfunc("Made by 1x1x1x1IAMbck",3)
  1153. hum.WalkSpeed = 0
  1154. for i = 0,6,0.1 do
  1155. swait()
  1156. 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)
  1157. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1158. 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)
  1159. 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)
  1160. 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)
  1161. 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)
  1162. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1163. end
  1164. wait(2.5)
  1165. chatfunc("Finally, after all this time.",3)
  1166. hum.WalkSpeed = 0
  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(90),math.rad(0)), 0.15)
  1176. end
  1177. wait(2.5)
  1178. chatfunc("At last I have a human soul.",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("And finally not attached to that dumb Skeleton.",3)
  1191. for i = 0,6,0.1 do
  1192. swait()
  1193. 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)
  1194. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1195. 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)
  1196. 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)
  1197. 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)
  1198. 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)
  1199. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1200. end
  1201. wait(2.5)
  1202. chatfunc("You'll get to live long enough to see something special.",5)
  1203.  
  1204. for i = 0,6,0.1 do
  1205. swait()
  1206. for _, v in pairs(XBlade:GetChildren()) do
  1207. if v:IsA'BasePart' then
  1208. v.CanCollide = false
  1209. v.Transparency = v.Transparency - .3
  1210. end
  1211. end
  1212. 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)
  1213. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1214. 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)
  1215. 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)
  1216. 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)
  1217. 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)
  1218. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(180)), 0.15)
  1219. end
  1220. wait(4.5)
  1221. chatfunc("You Aint Gonna Live.",3)
  1222. wait(2.5)
  1223. CreateSound("367453005", hed, 10, 1)
  1224. 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),})
  1225. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  1226. 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),})
  1227. 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)
  1228. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1229. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1230. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1231. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1232. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1233. local bigboi = Instance.new("Sound",tors)
  1234. bigboi.SoundId = "rbxassetid://935501955"
  1235. bigboi.Volume = 2.5
  1236. bigboi.Looped = true
  1237. bigboi.Pitch = 1
  1238. bigboi:Play()
  1239. attack = false
  1240. VALUE1 = true
  1241. hum.WalkSpeed = 28
  1242. end
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248. function NothingPersonal()
  1249. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1250. local HITBODY = mouse.Target.Parent
  1251. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  1252. local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1253. if TORS ~= nil and HUMAN ~= nil then
  1254. attack = true
  1255. hum.WalkSpeed = 0
  1256. root.CFrame = TORS.CFrame * CFrame.new(-1,0,6)
  1257. TORS.Anchored = true
  1258. CreateSound("367453005", hed, 10, 1)
  1259. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1260. for i = 0,6,0.1 do
  1261. swait()
  1262. 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)
  1263. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1264. 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)
  1265. 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)
  1266. 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)
  1267. 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)
  1268. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1269. end
  1270. CreateSound("357417055", hed, 10, 1)
  1271. for i = 0,4,0.1 do
  1272. 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)
  1273. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1274. 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)
  1275. 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)
  1276. 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)
  1277. 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)
  1278. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1279. end
  1280. wait(2.5)
  1281. CreateSound("623904185", hed, 10, 1)
  1282. HITBODY:BreakJoints()
  1283. TORS.Anchored = false
  1284. attack = false
  1285. hum.WalkSpeed = 28
  1286. bleed(TORS,25)
  1287. end
  1288. end
  1289. end
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302. ---ATTACKS N STUFF
  1303. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1304. Hitboxpart = Instance.new("Part", EffectModel)
  1305. RemoveOutlines(Hitboxpart)
  1306. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1307. Hitboxpart.CanCollide = false
  1308. Hitboxpart.Transparency = 1
  1309. Hitboxpart.Anchored = true
  1310. Hitboxpart.CFrame = Pose
  1311. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1312. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1313. end
  1314. wait2 = false
  1315. combo = 1
  1316. mouse.Button1Down:connect(function(key)
  1317. if attack == false then
  1318. attack = true
  1319. hum.WalkSpeed = 3.01
  1320. if combo == 1 and wait2 == false then
  1321. wait2 = true
  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(175), 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.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1329. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1330. end
  1331. Effects.Ring.Create(BrickColor.new("Institutional white"), ra.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1332. Slashy:Play()
  1333. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1334. for i = 0, 1.2, 0.1 do
  1335. swait()
  1336. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(15)), 0.3)
  1337. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1338. 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)
  1339. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1340. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1341. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1342. end
  1343. combo = 2
  1344. end
  1345. if combo == 2 and wait2 == false then
  1346. wait2 = true
  1347. HitboxFunction(ll.CFrame * CFrame.new(0, 0, .4), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
  1348. for i = 0, 1.4, 0.1 do
  1349. swait()
  1350. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15)
  1351. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1352. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.3)
  1353. 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)
  1354. 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)
  1355. 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)
  1356. end
  1357. combo = 3
  1358. end
  1359. if combo == 3 and wait2 == false then
  1360. wait2 = true
  1361.  
  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(-15)), 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, 0.8) * angles(math.rad(0), math.rad(0), math.rad(50)), 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.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1369. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1370. end
  1371. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1372. Effects.Ring.Create(BrickColor.new("Institutional white"), Wedge.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1373. Slashy:Play()
  1374. for i = 0, 1.2, 0.1 do
  1375. swait()
  1376. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(30)), 0.3)
  1377. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1378. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -1) * angles(math.rad(55), math.rad(0), math.rad(40)), 0.1)
  1379. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1380. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1381. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1382. end
  1383. combo = 1
  1384. end
  1385. hum.WalkSpeed = 16
  1386. wait2 = false
  1387. attack = false
  1388. end
  1389. end)
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396. function DashingSpin()
  1397. attack = true
  1398. hum.WalkSpeed = 50
  1399. CreateSound("707957812", workspace, 5, 1)
  1400. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 3.6, 3.6, 3.6, 0.05)
  1401. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 3.4, 3.4, 3.4, 0.03)
  1402. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 6.6, 6.6, 6.6, 0.05)
  1403. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 6.4, 6.4, 6.4, 0.05)
  1404. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1405.  
  1406. Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1407. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1408. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1409. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1410. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1411. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1412. root.CFrame = root.CFrame + root.CFrame.lookVector * 35
  1413. for i = 0,6,0.1 do
  1414. --Not to put a swait here this is going to be like, you know what just dont put a swait kthx
  1415. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1416. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1417. 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)
  1418. 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)
  1419. 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)
  1420. 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)
  1421. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1422. end
  1423. for i = 0,9,0.1 do
  1424. swait()
  1425. MagniDamage(Wedge, 12, 6, 12, 10, "Normal")
  1426. 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)
  1427. 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)
  1428. 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)
  1429. 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)
  1430. 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)
  1431. 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)
  1432. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1433. end
  1434. attack = false
  1435. hum.WalkSpeed = 38
  1436. end
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444. mouse.KeyDown:connect(function(key)
  1445. if attack == false then
  1446. if key == 'q' then
  1447. NothingPersonal()
  1448. elseif key == 'c' then
  1449. CreateSound("367453005", hed, 10, 1)
  1450. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1451. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  1452. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1453. elseif key == 'f' then
  1454. DashingSpin()
  1455. elseif key == 't' then
  1456. CreateSound("649634100", hed, 10, .89)
  1457. end
  1458. end
  1459. end)
  1460.  
  1461.  
  1462.  
  1463. ff = Instance.new("ForceField",char)
  1464. ff.Visible = false
  1465.  
  1466. local idle=0
  1467. local change = 1
  1468. local val = 0
  1469. toim = 0
  1470. hum.Animator.Parent = nil
  1471. idleanim=.4
  1472. while true do
  1473. swait()
  1474. hum.MaxHealth = math.huge
  1475. hum.Health = math.huge
  1476. hum.Name = "TheXEvent"
  1477. sine = sine + change
  1478. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  1479. local velderp=root.Velocity.y
  1480. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  1481. if equipped==true or equipped==false then
  1482. if attack==false then
  1483. idle=idle+1
  1484. else
  1485. idle=0
  1486. end
  1487. if root.Velocity.y > 1 and hitfloor==nil then
  1488. Anim="Jump"
  1489. if attack==false then
  1490. 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)
  1491. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1492. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1493. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1494. 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)
  1495. RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1496. end
  1497. elseif root.Velocity.y < -1 and hitfloor==nil then
  1498. Anim="Fall"
  1499. if attack==false then
  1500. 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)
  1501. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1502. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(90)), 0.3)
  1503. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-90)), 0.3)
  1504. 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)
  1505. 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)
  1506. end
  1507. elseif torvel<1 and hitfloor~=nil then
  1508. Anim="Idle"
  1509. change = 1
  1510. if attack==false then
  1511. 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)
  1512. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-25)),.3)
  1513. 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)
  1514. 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)
  1515. 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)
  1516. 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)
  1517. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1518. end
  1519.  
  1520. elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
  1521. Anim="Walk"
  1522. change = 1
  1523. if attack==false then
  1524. 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)
  1525. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-0)),.3)
  1526. 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)
  1527. 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)
  1528. 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)
  1529. 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)
  1530. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1531. end
  1532. end
  1533. end
  1534.  
  1535. if 0 < #Effects then
  1536. for e = 1, #Effects do
  1537. if Effects[e] ~= nil then
  1538. local Thing = Effects[e]
  1539. if Thing ~= nil then
  1540. local Part = Thing[1]
  1541. local Mode = Thing[2]
  1542. local Delay = Thing[3]
  1543. local IncX = Thing[4]
  1544. local IncY = Thing[5]
  1545. local IncZ = Thing[6]
  1546. if 1 >= Thing[1].Transparency then
  1547. if Thing[2] == "Block1" then
  1548. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1549. local Mesh = Thing[1].Mesh
  1550. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1551. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1552. elseif Thing[2] == "Block2" then
  1553. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1554. local Mesh = Thing[7]
  1555. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1556. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1557. elseif Thing[2] == "Block3" then
  1558. 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)
  1559. local Mesh = Thing[7]
  1560. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1561. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1562. elseif Thing[2] == "Cylinder" then
  1563. local Mesh = Thing[1].Mesh
  1564. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1565. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1566. elseif Thing[2] == "Blood" then
  1567. local Mesh = Thing[7]
  1568. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1569. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1570. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1571. elseif Thing[2] == "Elec" then
  1572. local Mesh = Thing[1].Mesh
  1573. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1574. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1575. elseif Thing[2] == "Disappear" then
  1576. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1577. elseif Thing[2] == "Shatter" then
  1578. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1579. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1580. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1581. Thing[6] = Thing[6] + Thing[5]
  1582. end
  1583. else
  1584. Part.Parent = nil
  1585. table.remove(Effects, e)
  1586. end
  1587. end
  1588. end
  1589. end
  1590. end
  1591. if VALUE1 == false and attack == false then
  1592. intro()
  1593. end
  1594. end
  1595.  
  1596.  
  1597. --//=================================\\
  1598. --|| WEAPON CREATION
  1599. --\\=================================//
  1600.  
  1601. local Hole = CreatePart(3, Weapon, "Neon", 0, 0, "White", "Hole", VT(15,0,15))
  1602. local MESH = MakeForm(Hole,"Cyl")
  1603.  
  1604. for _, c in pairs(Weapon:GetChildren()) do
  1605. if c.ClassName == "Part" then
  1606. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1607. end
  1608. end
  1609.  
  1610. Weapon.Parent = Character
  1611.  
  1612. Humanoid.Died:connect(function()
  1613. ATTACK = true
  1614. end)
  1615.  
  1616.  
  1617.  
  1618. --//=================================\\
  1619. --|| DAMAGING
  1620. --\\=================================//
  1621.  
  1622. function Sink(position,radius)
  1623. for i,v in ipairs(workspace:GetChildren()) do
  1624. if v:FindFirstChild("Hit2By"..Player.Name) == nil then
  1625. local body = v:GetChildren()
  1626. for part = 1, #body do
  1627. if(v:FindFirstChild("Hit2By"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1628. if(body[part].Position - position).Magnitude < radius then
  1629. if v.ClassName == "Model" then
  1630. if v:FindFirstChild("Humanoid") then
  1631. local defence = Instance.new("BoolValue",v)
  1632. defence.Name = ("Hit2By"..Player.Name)
  1633. if v.Humanoid.Health ~= 0 then
  1634. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1635. if TORS ~= nil then
  1636. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 5 * TORS.Size.Y/2, v)
  1637. coroutine.resume(coroutine.create(function()
  1638. if HITFLOOR2 ~= nil then
  1639. TORS.Anchored = true
  1640. local Hole2 = CreatePart(3, Effects, "Neon", 0, 0, "White", "Hole", VT(TORS.Size.X*4,0,TORS.Size.X*4))
  1641. Hole2.Color = C3(0,0,0)
  1642. local MESH = MakeForm(Hole2,"Cyl")
  1643. MESH.Scale = VT(0,1,0)
  1644. Hole2.CFrame = CF(HITPOS2)
  1645. for i = 1, 10 do
  1646. Swait()
  1647. MESH.Scale = MESH.Scale + VT(0.1,0,0.1)
  1648. end
  1649. repeat
  1650. Swait()
  1651. TORS.CFrame = TORS.CFrame * CF(0,-0.1,0)
  1652. until TORS.Position.Y<position.Y-4
  1653. v:remove()
  1654. for i = 1, 10 do
  1655. Swait()
  1656. MESH.Scale = MESH.Scale - VT(0.1,0,0.1)
  1657. end
  1658. Hole2:remove()
  1659. end
  1660. end))
  1661. end
  1662. end
  1663. end
  1664. end
  1665. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1666. end
  1667. end
  1668. end
  1669. end
  1670. end
  1671. end
  1672.  
  1673. --//=================================\\
  1674. --|| ATTACK FUNCTIONS AND STUFF
  1675. --\\=================================//
  1676.  
  1677. function Trail(Part)
  1678. local TRAIL = Part:Clone()
  1679. TRAIL.CanCollide = false
  1680. TRAIL.Anchored = true
  1681. TRAIL.Parent = Effects
  1682. TRAIL.Name = "Trail"
  1683. local TRANS = Part.Transparency
  1684. coroutine.resume(coroutine.create(function()
  1685. for i = 1, 20 do
  1686. Swait()
  1687. TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  1688. end
  1689. TRAIL:remove()
  1690. end))
  1691. end
  1692.  
  1693. function AttackTemplate()
  1694. ATTACK = true
  1695. Rooted = false
  1696. for i=0, 1, 0.1 / Animation_Speed do
  1697. Swait()
  1698. 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)
  1699. 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)
  1700. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1701. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1702. 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)
  1703. 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)
  1704. end
  1705. ATTACK = false
  1706. Rooted = false
  1707. end
  1708.  
  1709. function Intro()
  1710. coroutine.resume(coroutine.create(function()
  1711. ATTACK = true
  1712. Rooted = true
  1713. UNANCHOR = false
  1714. RootPart.Anchored = true
  1715. for i=0, 2, 0.1 / Animation_Speed do
  1716. Swait()
  1717. 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)
  1718. 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)
  1719. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1720. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1721. 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)
  1722. 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)
  1723. end
  1724. for i=0, 4, 0.1 / Animation_Speed do
  1725. Swait()
  1726. 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)
  1727. 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)
  1728. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1729. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1730. 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)
  1731. 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)
  1732. end
  1733. VALUE1 = true
  1734. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.2,0.3,0.1),false)
  1735. 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))
  1736. MakeForm(part,"Ball")
  1737. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.2,0.3,0.1),false)
  1738. 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))
  1739. MakeForm(part,"Ball")
  1740. Swait(15)
  1741. Humanoid.HipHeight = 2
  1742. sick:Play()
  1743. CreateSound("649634100", Head, 10, 0.6)
  1744. for i=0, 2, 0.1 / Animation_Speed do
  1745. Swait()
  1746. 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)
  1747. 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)
  1748. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1749. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1750. 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)
  1751. 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)
  1752. end
  1753. UNANCHOR = true
  1754. ATTACK = false
  1755. Rooted = false
  1756. end))
  1757. end
  1758.  
  1759. function Warp()
  1760. ATTACK = true
  1761. Rooted = true
  1762. UNANCHOR = false
  1763. RootPart.Anchored = true
  1764. for i=0, 1, 0.1 / Animation_Speed do
  1765. Swait()
  1766. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)), 1 / Animation_Speed)
  1767. 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)
  1768. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1769. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1770. 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)
  1771. 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)
  1772. end
  1773. for i=0, 1, 0.1 / Animation_Speed do
  1774. Swait()
  1775. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -15) * ANGLES(RAD(180), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1776. 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)
  1777. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1778. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1779. 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)
  1780. 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)
  1781. end
  1782. for i = 1, 50 do
  1783. Swait()
  1784. Trail(Hole)
  1785. MESH.Scale = MESH.Scale - VT(0.02,0,0.02)
  1786. end
  1787. local ORIGINPOS = RootPart.Position
  1788. RootPart.CFrame = CF(VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z),ORIGINPOS)
  1789. CreateSound("466493476", Hole, 10, 1)
  1790. for i = 1, 50 do
  1791. Swait()
  1792. MESH.Scale = MESH.Scale + VT(0.02,0,0.02)
  1793. end
  1794. for i=0, 2, 0.1 / Animation_Speed do
  1795. Swait()
  1796. 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)
  1797. 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)
  1798. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1799. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1800. 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)
  1801. 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)
  1802. end
  1803. UNANCHOR = true
  1804. ATTACK = false
  1805. Rooted = false
  1806. end
  1807.  
  1808. function Sinkhole()
  1809. coroutine.resume(coroutine.create(function()
  1810. local Hole2 = CreatePart(3, Effects, "Neon", 0, 0, "White", "Hole", VT(15,0,15))
  1811. Hole2.Color = C3(0,0,0)
  1812. local MESH = MakeForm(Hole2,"Cyl")
  1813. MESH.Scale = VT(0,1,0)
  1814. Hole2.CFrame = CF(Mouse.Hit.p)
  1815. CreateSound("466493476", Hole2, 10, 1)
  1816. for i = 1, 50 do
  1817. Swait()
  1818. MESH.Scale = MESH.Scale + VT(0.02,0,0.02)
  1819. end
  1820. for i = 1, 200 do
  1821. Swait()
  1822. Sink(Hole2.Position,Hole2.Size.X/2.2)
  1823. end
  1824. Swait(100)
  1825. for i = 1, 50 do
  1826. Swait()
  1827. Trail(Hole2)
  1828. MESH.Scale = MESH.Scale - VT(0.02,0,0.02)
  1829. end
  1830. Hole2:remove()
  1831. end))
  1832. end
  1833.  
  1834. function AbyssGate()
  1835. VALUE2 = true
  1836. coroutine.resume(coroutine.create(function()
  1837. CreateSound("466493476", Hole, 10, 0.1)
  1838. for i = 1, 500 do
  1839. Swait()
  1840. Hole.Size = Hole.Size + VT(1,0,1)
  1841. end
  1842. Swait(100)
  1843. for i = 1, 500 do
  1844. Swait()
  1845. Trail(Hole)
  1846. Hole.Size = Hole.Size - VT(1,0,1)
  1847. end
  1848. VALUE2 = false
  1849. end))
  1850. end
  1851.  
  1852. --//=================================\\
  1853. --|| ASSIGN THINGS TO KEYS
  1854. --\\=================================//
  1855.  
  1856. function MouseDown(Mouse)
  1857. if ATTACK == false then
  1858. end
  1859. end
  1860.  
  1861. function MouseUp(Mouse)
  1862. HOLD = false
  1863. end
  1864.  
  1865. function KeyDown(Key)
  1866. KEYHOLD = true
  1867. if Key == "q" and ATTACK == false and HITFLOOR ~= nil and VALUE2 == false then
  1868. Warp()
  1869. end
  1870.  
  1871. if Key == "e" and ATTACK == false then
  1872. Sinkhole()
  1873. end
  1874.  
  1875. if Key == "r" and ATTACK == false and VALUE2 == false then
  1876. AbyssGate()
  1877. end
  1878.  
  1879. if Key == "t" and ATTACK == false then
  1880. CreateSound("649634100", Head, 10, 0.6)
  1881. end
  1882. end
  1883.  
  1884. function KeyUp(Key)
  1885. KEYHOLD = false
  1886. end
  1887.  
  1888. Mouse.Button1Down:connect(function(NEWKEY)
  1889. MouseDown(NEWKEY)
  1890. end)
  1891. Mouse.Button1Up:connect(function(NEWKEY)
  1892. MouseUp(NEWKEY)
  1893. end)
  1894. Mouse.KeyDown:connect(function(NEWKEY)
  1895. KeyDown(NEWKEY)
  1896. end)
  1897. Mouse.KeyUp:connect(function(NEWKEY)
  1898. KeyUp(NEWKEY)
  1899. end)
  1900.  
  1901. --//=================================\\
  1902. --\\=================================//
  1903.  
  1904.  
  1905. function unanchor()
  1906. if UNANCHOR == true then
  1907. g = Character:GetChildren()
  1908. for i = 1, #g do
  1909. if g[i].ClassName == "Part" then
  1910. g[i].Anchored = false
  1911. end
  1912. end
  1913. end
  1914. end
  1915.  
  1916.  
  1917. --//=================================\\
  1918. --|| WRAP THE WHOLE SCRIPT UP
  1919. --\\=================================//
  1920.  
  1921. Humanoid.Changed:connect(function(Jump)
  1922. if Jump == "Jump" and (Disable_Jump == true) then
  1923. Humanoid.Jump = false
  1924. end
  1925. end)
  1926.  
  1927. Speed = 10
  1928.  
  1929. while true do
  1930. Swait()
  1931. ANIMATE.Parent = nil
  1932. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1933. IDLEANIMATION:Play()
  1934. SINE = SINE + CHANGE
  1935. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1936. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1937. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1938. HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25 * Player_Size, Character)
  1939. if ATTACK == false then
  1940. 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)
  1941. 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)
  1942. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1943. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1944. 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)
  1945. 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)
  1946. end
  1947. if HITFLOOR ~= nil then
  1948. Hole.CFrame = CF(HITPOS)
  1949. end
  1950. Sink(Hole.Position,Hole.Size.X/2.2*MESH.Scale.X)
  1951. Hole.Color = C3(0,0,0)
  1952. unanchor()
  1953. Humanoid.MaxHealth = "inf"
  1954. Humanoid.Health = "inf"
  1955. if Rooted == false then
  1956. Disable_Jump = false
  1957. Humanoid.WalkSpeed = Speed
  1958. elseif Rooted == true then
  1959. Disable_Jump = true
  1960. Humanoid.WalkSpeed = 0
  1961. end
  1962. if VALUE1 == true then
  1963. Humanoid.HipHeight = 2
  1964. q = Character:GetChildren()
  1965. for u = 1, #q do
  1966. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1967. q[u]:remove()
  1968. elseif q[u].ClassName == "Shirt" then
  1969. q[u]:Destroy()
  1970. elseif q[u].ClassName == "Pants" then
  1971. q[u]:Destroy()
  1972. elseif q[u].ClassName == "CharacterMesh" then
  1973. q[u]:remove()
  1974. elseif q[u].ClassName == "ShirtGraphic" then
  1975. q[u]:remove()
  1976. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1977. q[u].Color = Color3.new(0,0,0)
  1978. q[u].Material = "Neon"
  1979. end
  1980. end
  1981. if Head:FindFirstChild("Mesh") then
  1982. local mesh = Head.Mesh
  1983. if mesh.ClassName == "SpecialMesh" then
  1984. mesh:remove()
  1985. local m = IT("BlockMesh",Head)
  1986. m.Scale = VT(0.5,1,1)
  1987. end
  1988. end
  1989. if Head:FindFirstChild("face") then
  1990. Head.face:remove()
  1991. end
  1992. end
  1993. if VALUE1 == false and ATTACK == false then
  1994. Intro()
  1995. end
  1996. end
  1997.  
  1998. --//=================================\\
  1999. --\\=================================//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement