Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 77.86 KB | None | 0 0
  1. --HorrorEvent Chara--
  2. -----------------------
  3. -------------------------------------------------------
  4. --A script Edit by DEADPU2
  5. --Effect Smoothing By OblivionCreature
  6. --Discords Creterisk#2958, Codex#6685, and [L]ewd#2941
  7. -------------------------------------------------------
  8.  
  9. local FavIDs = {340106355,927529620,876981900,398987889,1117396305}
  10.  
  11. function swait(num)
  12. if num==0 or num==nil then
  13. game:service'RunService'.Stepped:wait(0)
  14. else
  15. for i=0,num do
  16. game:service'RunService'.Stepped:wait(0)
  17. end
  18. end
  19. end
  20. function thread(f)
  21. coroutine.resume(coroutine.create(f))
  22. end
  23.  
  24. --Needed to add this for a good reason, thank me later mak.
  25. so = function(id,par,vol,pit)
  26. coroutine.resume(coroutine.create(function()
  27. local sou = Instance.new("Sound",par or workspace)
  28. sou.Volume=vol
  29. sou.Pitch=pit or 1
  30. sou.SoundId=id
  31. swait()
  32. sou:play()
  33. game:GetService("Debris"):AddItem(sou,8)
  34. end))
  35. end
  36.  
  37.  
  38. function clerp(a, b, t)
  39. local qa = {
  40. QuaternionFromCFrame(a)
  41. }
  42. local qb = {
  43. QuaternionFromCFrame(b)
  44. }
  45. local ax, ay, az = a.x, a.y, a.z
  46. local bx, by, bz = b.x, b.y, b.z
  47. local _t = 1 - t
  48. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  49. end
  50. function QuaternionFromCFrame(cf)
  51. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  52. local trace = m00 + m11 + m22
  53. if trace > 0 then
  54. local s = math.sqrt(1 + trace)
  55. local recip = 0.5 / s
  56. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  57. else
  58. local i = 0
  59. if m00 < m11 then
  60. i = 1
  61. end
  62. if m22 > (i == 0 and m00 or m11) then
  63. i = 2
  64. end
  65. if i == 0 then
  66. local s = math.sqrt(m00 - m11 - m22 + 1)
  67. local recip = 0.5 / s
  68. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  69. elseif i == 1 then
  70. local s = math.sqrt(m11 - m22 - m00 + 1)
  71. local recip = 0.5 / s
  72. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  73. elseif i == 2 then
  74. local s = math.sqrt(m22 - m00 - m11 + 1)
  75. local recip = 0.5 / s
  76. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  77. end
  78. end
  79. end
  80. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  81. local xs, ys, zs = x + x, y + y, z + z
  82. local wx, wy, wz = w * xs, w * ys, w * zs
  83. local xx = x * xs
  84. local xy = x * ys
  85. local xz = x * zs
  86. local yy = y * ys
  87. local yz = y * zs
  88. local zz = z * zs
  89. 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))
  90. end
  91. function QuaternionSlerp(a, b, t)
  92. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  93. local startInterp, finishInterp
  94. if cosTheta >= 1.0E-4 then
  95. if 1 - cosTheta > 1.0E-4 then
  96. local theta = math.acos(cosTheta)
  97. local invSinTheta = 1 / math.sin(theta)
  98. startInterp = math.sin((1 - t) * theta) * invSinTheta
  99. finishInterp = math.sin(t * theta) * invSinTheta
  100. else
  101. startInterp = 1 - t
  102. finishInterp = t
  103. end
  104. elseif 1 + cosTheta > 1.0E-4 then
  105. local theta = math.acos(-cosTheta)
  106. local invSinTheta = 1 / math.sin(theta)
  107. startInterp = math.sin((t - 1) * theta) * invSinTheta
  108. finishInterp = math.sin(t * theta) * invSinTheta
  109. else
  110. startInterp = t - 1
  111. finishInterp = t
  112. end
  113. 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
  114. end
  115. function rayCast(Position, Direction, Range, Ignore)
  116. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  117. end
  118. --Wait what okay
  119. wait()
  120. local plr = game:service'Players'.LocalPlayer
  121. local char = plr.Character
  122. local hum = char.Humanoid
  123. local ra = char["Right Arm"]
  124. local la= char["Left Arm"]
  125. local rl= char["Right Leg"]
  126. local ll = char["Left Leg"]
  127. local hed = char.Head
  128. local root = char.HumanoidRootPart
  129. local rootj = root.RootJoint
  130. local tors = char.Torso
  131. local mouse = plr:GetMouse()
  132. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  133. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  134. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  135. local maincolor = BrickColor.new("Dark indigo")
  136. cf = CFrame.new
  137. angles = CFrame.Angles
  138. attack = false
  139. euler=CFrame.fromEulerAnglesXYZ
  140. equipped = false
  141. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  142. RSH, LSH = nil, nil
  143. RW = Instance.new("Weld")
  144. LW = Instance.new("Weld")
  145. RH = tors["Right Hip"]
  146. LH = tors["Left Hip"]
  147. RSH = tors["Right Shoulder"]
  148. LSH = tors["Left Shoulder"]
  149. RSH.Parent = nil
  150. LSH.Parent = nil
  151. RW.Name = "RW"
  152. RW.Part0 = tors
  153. RW.C0 = CFrame.new(1.5, 0.5, 0)
  154. RW.C1 = CFrame.new(0, 0.5, 0)
  155. RW.Part1 = ra
  156. RW.Parent = tors
  157. LW.Name = "LW"
  158. LW.Part0 = tors
  159. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  160. LW.C1 = CFrame.new(0, 0.5, 0)
  161. LW.Part1 = la
  162. LW.Parent = tors
  163. print('User is '..plr.Name)
  164. Effects = {}
  165.  
  166. ArtificialHB = Instance.new("BindableEvent", script)
  167. ArtificialHB.Name = "Heartbeat"
  168.  
  169. script:WaitForChild("Heartbeat")
  170.  
  171. text.Text = "Horror!Sans"
  172.  
  173. frame = 1 / 60
  174. tf = 0
  175. allowframeloss = false
  176. tossremainder = false
  177. lastframe = tick()
  178. script.Heartbeat:Fire()
  179.  
  180. game:GetService("RunService").Heartbeat:connect(function(s, p)
  181. tf = tf + s
  182. if tf >= frame then
  183. if allowframeloss then
  184. script.Heartbeat:Fire()
  185. lastframe = tick()
  186. else
  187. for i = 1, math.floor(tf / frame) do
  188. script.Heartbeat:Fire()
  189. end
  190. lastframe = tick()
  191. end
  192. if tossremainder then
  193. tf = 0
  194. else
  195. tf = tf - frame * math.floor(tf / frame)
  196. end
  197. end
  198. end)
  199. local RbxUtility = LoadLibrary("RbxUtility")
  200. local Create = RbxUtility.Create
  201.  
  202. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  203. if hit.Parent == nil then
  204. return
  205. end
  206. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  207. for _, v in pairs(hit.Parent:children()) do
  208. if v:IsA("Humanoid") then
  209. h = v
  210. end
  211. end
  212. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  213. warn'No R15 allowed'
  214. hit.Parent:FindFirstChild("Head"):BreakJoints()
  215. end
  216.  
  217. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  218. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  219. if hit.Parent.DebounceHit.Value == true then
  220. return
  221. end
  222. end
  223. if insta == true then
  224. hit.Parent:FindFirstChild("Head"):BreakJoints()
  225. end
  226. local c = Create("ObjectValue"){
  227. Name = "creator",
  228. Value = game:service("Players").LocalPlayer,
  229. Parent = h,
  230. }
  231. game:GetService("Debris"):AddItem(c, .5)
  232. if HitSound ~= nil and HitPitch ~= nil then
  233. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  234. end
  235. local Damage = math.random(minim, maxim)
  236. local blocked = false
  237. local block = hit.Parent:findFirstChild("Block")
  238. if block ~= nil then
  239. if block.className == "IntValue" then
  240. if block.Value > 0 then
  241. blocked = true
  242. block.Value = block.Value - 1
  243. print(block.Value)
  244. end
  245. end
  246. end
  247. if blocked == false then
  248. h.Health = h.Health - Damage
  249. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  250. else
  251. h.Health = h.Health - (Damage / 2)
  252. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  253. end
  254. if Type == "Knockdown" then
  255. local hum = hit.Parent.Humanoid
  256. hum.PlatformStand = true
  257. coroutine.resume(coroutine.create(function(HHumanoid)
  258. swait(1)
  259. HHumanoid.PlatformStand = false
  260. end), hum)
  261. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  262. local bodvol = Create("BodyVelocity"){
  263. velocity = angle * knockback,
  264. P = 5000,
  265. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  266. Parent = hit,
  267. }
  268. local rl = Create("BodyAngularVelocity"){
  269. P = 3000,
  270. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  271. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  272. Parent = hit,
  273. }
  274. game:GetService("Debris"):AddItem(bodvol, .5)
  275. game:GetService("Debris"):AddItem(rl, .5)
  276. elseif Type == "Normal" then
  277. local vp = Create("BodyVelocity"){
  278. P = 500,
  279. maxForce = Vector3.new(math.huge, 0, math.huge),
  280. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  281. }
  282. if knockback > 0 then
  283. vp.Parent = hit.Parent.Torso
  284. end
  285. game:GetService("Debris"):AddItem(vp, .5)
  286. elseif Type == "Up" then
  287. local bodyVelocity = Create("BodyVelocity"){
  288. velocity = Vector3.new(0, 20, 0),
  289. P = 5000,
  290. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  291. Parent = hit,
  292. }
  293. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  294. elseif Type == "DarkUp" then
  295. coroutine.resume(coroutine.create(function()
  296. for i = 0, 1, 0.1 do
  297. swait()
  298. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  299. end
  300. end))
  301. local bodyVelocity = Create("BodyVelocity"){
  302. velocity = Vector3.new(0, 20, 0),
  303. P = 5000,
  304. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  305. Parent = hit,
  306. }
  307. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  308. elseif Type == "Snare" then
  309. local bp = Create("BodyPosition"){
  310. P = 2000,
  311. D = 100,
  312. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  313. position = hit.Parent.Torso.Position,
  314. Parent = hit.Parent.Torso,
  315. }
  316. game:GetService("Debris"):AddItem(bp, 1)
  317. elseif Type == "Freeze" then
  318. local BodPos = Create("BodyPosition"){
  319. P = 50000,
  320. D = 1000,
  321. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  322. position = hit.Parent.Torso.Position,
  323. Parent = hit.Parent.Torso,
  324. }
  325. local BodGy = Create("BodyGyro") {
  326. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  327. P = 20e+003,
  328. Parent = hit.Parent.Torso,
  329. cframe = hit.Parent.Torso.CFrame,
  330. }
  331. hit.Parent.Torso.Anchored = true
  332. coroutine.resume(coroutine.create(function(Part)
  333. swait(1.5)
  334. Part.Anchored = false
  335. end), hit.Parent.Torso)
  336. game:GetService("Debris"):AddItem(BodPos, 3)
  337. game:GetService("Debris"):AddItem(BodGy, 3)
  338. end
  339. local debounce = Create("BoolValue"){
  340. Name = "DebounceHit",
  341. Parent = hit.Parent,
  342. Value = true,
  343. }
  344. game:GetService("Debris"):AddItem(debounce, Delay)
  345. c = Create("ObjectValue"){
  346. Name = "creator",
  347. Value = Player,
  348. Parent = h,
  349. }
  350. game:GetService("Debris"):AddItem(c, .5)
  351. end
  352. end
  353.  
  354. function ShowDamage(Pos, Text, Time, Color)
  355. local Rate = (1 / 30)
  356. local Pos = (Pos or Vector3.new(0, 0, 0))
  357. local Text = (Text or "")
  358. local Time = (Time or 2)
  359. local Color = (Color or Color3.new(1, 0, 1))
  360. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  361. EffectPart.Anchored = true
  362. local BillboardGui = Create("BillboardGui"){
  363. Size = UDim2.new(3, 0, 3, 0),
  364. Adornee = EffectPart,
  365. Parent = EffectPart,
  366. }
  367. local TextLabel = Create("TextLabel"){
  368. BackgroundTransparency = 1,
  369. Size = UDim2.new(1, 0, 1, 0),
  370. Text = Text,
  371. Font = "Highway",
  372. TextColor3 = Color,
  373. TextScaled = true,
  374. Parent = BillboardGui,
  375. }
  376. game.Debris:AddItem(EffectPart, (Time))
  377. EffectPart.Parent = game:GetService("Workspace")
  378. delay(0, function()
  379. local Frames = (Time / Rate)
  380. for Frame = 1, Frames do
  381. wait(Rate)
  382. local Percent = (Frame / Frames)
  383. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  384. TextLabel.TextTransparency = Percent
  385. end
  386. if EffectPart and EffectPart.Parent then
  387. EffectPart:Destroy()
  388. end
  389. end)
  390. end
  391. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  392. for _, c in pairs(workspace:children()) do
  393. local hum = c:findFirstChild("Humanoid")
  394. if hum ~= nil then
  395. local head = c:findFirstChild("Head")
  396. if head ~= nil then
  397. local targ = head.Position - Part.Position
  398. local mag = targ.magnitude
  399. if magni >= mag and c.Name ~= plr.Name then
  400. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=623904185", 5.2)
  401. end
  402. end
  403. end
  404. end
  405. end
  406. function MagniKILL(Part, magni, knock, Type)
  407. for _, c in pairs(workspace:children()) do
  408. local hum = c:findFirstChild("Humanoid")
  409. if hum ~= nil then
  410. local head = c:findFirstChild("Head")
  411. if head ~= nil then
  412. local targ = head.Position - Part.Position
  413. local mag = targ.magnitude
  414. if magni >= mag and c.Name ~= plr.Name then
  415. hum.Health = 0
  416. end
  417. end
  418. end
  419. end
  420. end
  421. CFuncs = {
  422. Part = {
  423. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  424. local Part = Create("Part")({
  425. Parent = Parent,
  426. Reflectance = Reflectance,
  427. Transparency = Transparency,
  428. CanCollide = false,
  429. Locked = true,
  430. BrickColor = BrickColor.new(tostring(BColor)),
  431. Name = Name,
  432. Size = Size,
  433. Material = Material
  434. })
  435. RemoveOutlines(Part)
  436. return Part
  437. end
  438. },
  439. Mesh = {
  440. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  441. local Msh = Create(Mesh)({
  442. Parent = Part,
  443. Offset = OffSet,
  444. Scale = Scale
  445. })
  446. if Mesh == "SpecialMesh" then
  447. Msh.MeshType = MeshType
  448. Msh.MeshId = MeshId
  449. end
  450. return Msh
  451. end
  452. },
  453. Mesh = {
  454. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  455. local Msh = Create(Mesh)({
  456. Parent = Part,
  457. Offset = OffSet,
  458. Scale = Scale
  459. })
  460. if Mesh == "SpecialMesh" then
  461. Msh.MeshType = MeshType
  462. Msh.MeshId = MeshId
  463. end
  464. return Msh
  465. end
  466. },
  467. Weld = {
  468. Create = function(Parent, Part0, Part1, C0, C1)
  469. local Weld = Create("Weld")({
  470. Parent = Parent,
  471. Part0 = Part0,
  472. Part1 = Part1,
  473. C0 = C0,
  474. C1 = C1
  475. })
  476. return Weld
  477. end
  478. },
  479. Sound = {
  480. Create = function(id, par, vol, pit)
  481. coroutine.resume(coroutine.create(function()
  482. local S = Create("Sound")({
  483. Volume = vol,
  484. Pitch = pit or 1,
  485. SoundId = id,
  486. Parent = par or workspace
  487. })
  488. wait()
  489. S:play()
  490. game:GetService("Debris"):AddItem(S, 6)
  491. end))
  492. end
  493. },
  494. ParticleEmitter = {
  495. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  496. local fp = Create("ParticleEmitter")({
  497. Parent = Parent,
  498. Color = ColorSequence.new(Color1, Color2),
  499. LightEmission = LightEmission,
  500. Size = Size,
  501. Texture = Texture,
  502. Transparency = Transparency,
  503. ZOffset = ZOffset,
  504. Acceleration = Accel,
  505. Drag = Drag,
  506. LockedToPart = LockedToPart,
  507. VelocityInheritance = VelocityInheritance,
  508. EmissionDirection = EmissionDirection,
  509. Enabled = Enabled,
  510. Lifetime = LifeTime,
  511. Rate = Rate,
  512. Rotation = Rotation,
  513. RotSpeed = RotSpeed,
  514. Speed = Speed,
  515. VelocitySpread = VelocitySpread
  516. })
  517. return fp
  518. end
  519. }
  520. }
  521. function RemoveOutlines(part)
  522. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  523. end
  524. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  525. local Part = Create("Part")({
  526. formFactor = FormFactor,
  527. Parent = Parent,
  528. Reflectance = Reflectance,
  529. Transparency = Transparency,
  530. CanCollide = false,
  531. Locked = true,
  532. BrickColor = BrickColor.new(tostring(BColor)),
  533. Name = Name,
  534. Size = Size,
  535. Material = Material
  536. })
  537. RemoveOutlines(Part)
  538. return Part
  539. end
  540. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  541. local Msh = Create(Mesh)({
  542. Parent = Part,
  543. Offset = OffSet,
  544. Scale = Scale
  545. })
  546. if Mesh == "SpecialMesh" then
  547. Msh.MeshType = MeshType
  548. Msh.MeshId = MeshId
  549. end
  550. return Msh
  551. end
  552. function CreateWeld(Parent, Part0, Part1, C0, C1)
  553. local Weld = Create("Weld")({
  554. Parent = Parent,
  555. Part0 = Part0,
  556. Part1 = Part1,
  557. C0 = C0,
  558. C1 = C1
  559. })
  560. return Weld
  561. end
  562. EffectModel = Instance.new("Model", char)
  563. Effects = {
  564. Block = {
  565. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  566. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  567. prt.Anchored = true
  568. prt.CFrame = cframe
  569. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  570. game:GetService("Debris"):AddItem(prt, 10)
  571. if Type == 1 or Type == nil then
  572. table.insert(Effects, {
  573. prt,
  574. "Block1",
  575. delay,
  576. x3,
  577. y3,
  578. z3,
  579. msh
  580. })
  581. elseif Type == 2 then
  582. table.insert(Effects, {
  583. prt,
  584. "Block2",
  585. delay,
  586. x3,
  587. y3,
  588. z3,
  589. msh
  590. })
  591. else
  592. table.insert(Effects, {
  593. prt,
  594. "Block3",
  595. delay,
  596. x3,
  597. y3,
  598. z3,
  599. msh
  600. })
  601. end
  602. end
  603. },
  604. Sphere = {
  605. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  606. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  607. prt.Anchored = true
  608. prt.CFrame = cframe
  609. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  610. game:GetService("Debris"):AddItem(prt, 10)
  611. table.insert(Effects, {
  612. prt,
  613. "Cylinder",
  614. delay,
  615. x3,
  616. y3,
  617. z3,
  618. msh
  619. })
  620. end
  621. },
  622. Cylinder = {
  623. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  624. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  625. prt.Anchored = true
  626. prt.CFrame = cframe
  627. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  628. game:GetService("Debris"):AddItem(prt, 10)
  629. table.insert(Effects, {
  630. prt,
  631. "Cylinder",
  632. delay,
  633. x3,
  634. y3,
  635. z3,
  636. msh
  637. })
  638. end
  639. },
  640. Wave = {
  641. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  642. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  643. prt.Anchored = true
  644. prt.CFrame = cframe
  645. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  646. game:GetService("Debris"):AddItem(prt, 10)
  647. table.insert(Effects, {
  648. prt,
  649. "Cylinder",
  650. delay,
  651. x3 / 60,
  652. y3 / 60,
  653. z3 / 60,
  654. msh
  655. })
  656. end
  657. },
  658. Ring = {
  659. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  660. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  661. prt.Anchored = true
  662. prt.CFrame = cframe
  663. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  664. game:GetService("Debris"):AddItem(prt, 10)
  665. table.insert(Effects, {
  666. prt,
  667. "Cylinder",
  668. delay,
  669. x3,
  670. y3,
  671. z3,
  672. msh
  673. })
  674. end
  675. },
  676. Break = {
  677. Create = function(brickcolor, cframe, x1, y1, z1)
  678. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  679. prt.Anchored = true
  680. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  681. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  682. local num = math.random(10, 50) / 1000
  683. game:GetService("Debris"):AddItem(prt, 10)
  684. table.insert(Effects, {
  685. prt,
  686. "Shatter",
  687. num,
  688. prt.CFrame,
  689. math.random() - math.random(),
  690. 0,
  691. math.random(50, 100) / 100
  692. })
  693. end
  694. }
  695. }
  696. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  697. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  698. prt.Anchored = true
  699. prt.CFrame = cframe
  700. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  701. game:GetService("Debris"):AddItem(prt, 10)
  702. if Type == 1 or Type == nil then
  703. table.insert(Effects, {
  704. prt,
  705. "Block1",
  706. delay,
  707. x3,
  708. y3,
  709. z3,
  710. msh
  711. })
  712. elseif Type == 2 then
  713. table.insert(Effects, {
  714. prt,
  715. "Block2",
  716. delay,
  717. x3,
  718. y3,
  719. z3,
  720. msh
  721. })
  722. elseif Type == 3 then
  723. table.insert(Effects, {
  724. prt,
  725. "Block3",
  726. delay,
  727. x3,
  728. y3,
  729. z3,
  730. msh
  731. })
  732. end
  733. end
  734. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  735. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  736. prt.Anchored = true
  737. prt.CFrame = cframe
  738. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  739. game:GetService("Debris"):AddItem(prt, 10)
  740. table.insert(Effects, {
  741. prt,
  742. "Cylinder",
  743. delay,
  744. x3,
  745. y3,
  746. z3,
  747. msh
  748. })
  749. end
  750. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  751. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  752. prt.Anchored = true
  753. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  754. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  755. game:GetService("Debris"):AddItem(prt, 10)
  756. table.insert(Effects, {
  757. prt,
  758. "Cylinder",
  759. delay,
  760. x3,
  761. y3,
  762. z3,
  763. msh
  764. })
  765. end
  766. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  767. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  768. prt.Anchored = true
  769. prt.CFrame = cframe
  770. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  771. game:GetService("Debris"):AddItem(prt, 10)
  772. table.insert(Effects, {
  773. prt,
  774. "Cylinder",
  775. delay,
  776. x3,
  777. y3,
  778. z3,
  779. msh
  780. })
  781. end
  782. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  783. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  784. prt.Anchored = true
  785. prt.CFrame = cframe
  786. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  787. game:GetService("Debris"):AddItem(prt, 10)
  788. table.insert(Effects, {
  789. prt,
  790. "Cylinder",
  791. delay,
  792. x3,
  793. y3,
  794. z3,
  795. msh
  796. })
  797. end
  798. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  799. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  800. prt.Anchored = true
  801. prt.CFrame = cframe
  802. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  803. game:GetService("Debris"):AddItem(prt, 10)
  804. table.insert(Effects, {
  805. prt,
  806. "Cylinder",
  807. delay,
  808. x3,
  809. y3,
  810. z3,
  811. msh
  812. })
  813. end
  814. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  815. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  816. prt.Anchored = true
  817. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  818. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  819. local num = math.random(10, 50) / 1000
  820. game:GetService("Debris"):AddItem(prt, 10)
  821. table.insert(Effects, {
  822. prt,
  823. "Shatter",
  824. num,
  825. prt.CFrame,
  826. math.random() - math.random(),
  827. 0,
  828. math.random(50, 100) / 100
  829. })
  830. end
  831. function CreateSound(ID, PARENT, VOLUME, PITCH)
  832. local NEWSOUND = nil
  833. coroutine.resume(coroutine.create(function()
  834. NEWSOUND = Instance.new("Sound", PARENT)
  835. NEWSOUND.Volume = VOLUME
  836. NEWSOUND.Pitch = PITCH
  837. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=577175596"..ID
  838. swait()
  839. NEWSOUND:play()
  840. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  841. end))
  842. return NEWSOUND
  843. end
  844.  
  845.  
  846. --[[
  847. Thanks for using Build-To-Lua by jarredbcv.
  848. ]]--
  849.  
  850. New = function(Object, Parent, Name, Data)
  851. local Object = Instance.new(Object)
  852. for Index, Value in pairs(Data or {}) do
  853. Object[Index] = Value
  854. end
  855. Object.Parent = Parent
  856. Object.Name = Name
  857. return Object
  858. end
  859.  
  860. XBlade = New("Model",char,"XBlade",{})
  861. Handle = New("Part",XBlade,"Handle",{BrickColor = BrickColor.new("Red"),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),})
  862. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Red"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-41.3519974, 0.784493208, 173.553787, 0.134159118, 0.931669831, -0.337627381, -1.78345172e-10, 0.340707511, 0.940169215, 0.990959346, -0.126132146, 0.0457089804),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  863. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.93166995, 0.340707511, -0.12613225, -0.337627441, 0.940169275, 0.0457090214),C1 = CFrame.new(2.67253876, 0.00244140625, -1.22790456, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  864. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.92999995, 0.0500000156),CFrame = CFrame.new(-44.0702477, 1.93928599, 173.921783, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  865. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(-0.019744873, 0.00245666504, 0.0407419205, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  866. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-40.7464447, 1.01027775, 173.471802, 0.134159118, 0.903306067, -0.407478601, -1.78345172e-10, 0.411195904, 0.911546826, 0.990959346, -0.122292183, 0.0551656336),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  867. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.903306186, 0.411195934, -0.122292288, -0.40747866, 0.911546886, 0.0551656857),C1 = CFrame.new(3.29253769, 0.00245666504, -1.02790737, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  868. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.130000025),CFrame = CFrame.new(-39.0396805, 1.93485165, 173.240723, 0.134159118, 0.86384666, -0.48556143, -1.78345172e-10, 0.489991099, 0.871727467, 0.990959346, -0.116950043, 0.065736711),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  869. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863846779, 0.489991099, -0.116950139, -0.48556149, 0.871727467, 0.0657367632),C1 = CFrame.new(5.05207825, 0.00245666504, -0.176268101, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  870. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-40.2101974, 1.23313034, 173.3992, 0.134159118, 0.88381362, -0.448190004, -1.78345172e-10, 0.452278793, 0.891876459, 0.990959346, -0.119653247, 0.0606772564),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  871. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.883813798, 0.452278793, -0.119653352, -0.448190093, 0.891876578, 0.0606773123),C1 = CFrame.new(3.84253311, 0.00245666504, -0.827910662, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  872. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-41.9794464, 0.607830167, 173.638718, 0.134159118, 0.966715217, -0.217858434, -1.78345172e-10, 0.219845936, 0.975534439, 0.990959346, -0.130876735, 0.0294943117),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  873. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.966715395, 0.219845951, -0.130876839, -0.217858493, 0.975534499, 0.0294943396),C1 = CFrame.new(2.03252411, 0.00245666504, -1.37789822, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  874. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.08000004, 0.0500000156),CFrame = CFrame.new(-42.5497932, 0.498351336, 173.715927, 0.134159118, 0.975934744, -0.171907738, -1.78345172e-10, 0.17347604, 0.984838009, 0.990959346, -0.132124841, 0.0232733674),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  875. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.975934923, 0.17347604, -0.132124975, -0.171907783, 0.984838068, 0.0232733898),C1 = CFrame.new(1.45289612, 0.00247192383, -1.46317959, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  876. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.92999995, 0.0500000156),CFrame = CFrame.new(-44.0665131, 1.84935343, 173.92128, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  877. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(-0.019744873, 0.00245666504, -0.0492696762, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  878. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-42.5316505, 0.708744168, 173.713501, 0.134159118, 0.975934744, -0.171907738, -1.78345172e-10, 0.17347604, 0.984838009, 0.990959346, -0.132124841, 0.0232733674),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  879. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.975934923, 0.17347604, -0.132124975, -0.171907783, 0.984838068, 0.0232733898),C1 = CFrame.new(1.47999573, 0.00244140625, -1.25373793, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  880. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.079999879, 0.149999917, 0.100000016),CFrame = CFrame.new(-45.0332489, 1.85846865, 174.05719, 0.134159118, -0.0414969884, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418755673, 0.990959346, 0.00561798224, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  881. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, -0.0414970033, 0.999122858, 0.00561798783, -0.990090549, -0.0418755673, 0.134041384),C1 = CFrame.new(-0.994735718, -0.00253295898, 0.000717639923, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  882. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.52999997, 0.0500000156),CFrame = CFrame.new(-43.0991249, 1.12461293, 173.790329, 0.134159118, -0.041496899, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418754779, 0.990959346, 0.0056179706, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  883. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 1.60021901e-16, 0.990959764, -0.0414969139, 0.999122858, 0.00561797619, -0.990090549, -0.0418754779, 0.134041384),C1 = CFrame.new(0.925262451, 0.00244140625, -0.814253807, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  884. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-41.8233681, 0.848814011, 173.617599, 0.134159118, 0.949757814, -0.282773912, -1.78345172e-10, 0.285353601, 0.958422184, 0.990959346, -0.128580973, 0.0382827483),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  885. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.949757874, 0.285353601, -0.128581077, -0.282773942, 0.958422303, 0.0382827818),C1 = CFrame.new(2.19998169, 0.00245666504, -1.14372134, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  886. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 0.0799999386, 0.0500000156),CFrame = CFrame.new(-43.1370964, 2.03881836, 173.795456, 0.134159118, -0.041496899, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418754779, 0.990959346, 0.0056179706, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  887. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 1.60021901e-16, 0.990959764, -0.0414969139, 0.999122858, 0.00561797619, -0.990090549, -0.0418754779, 0.134041384),C1 = CFrame.new(0.925262451, 0.00245666504, 0.100754261, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  888. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-38.9191017, 1.90829134, 173.224411, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  889. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(5.17253876, 0.00245666504, -0.207900524, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  890. Wedge = New("WedgePart",XBlade,"Wedge",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,Size = Vector3.new(0.0799999461, 4.97000027, 1.66999996),CFrame = CFrame.new(-40.6379662, 1.33008528, 173.459518, 0.134159088, 0.990090489, -0.0414969511, -3.48056417e-10, 0.0418755226, 0.999122798, 0.990959585, -0.134041339, 0.00561797852),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  891. mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(3.41497803, 7.62939453e-05, -0.712950706, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  892. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-40.5334549, 1.31371856, 173.442963, 0.134159118, 0.888382077, -0.439065397, -1.78345172e-10, 0.443070978, 0.89648658, 0.990959346, -0.120271713, 0.059441939),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  893. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.888382196, 0.443070978, -0.120271817, -0.439065516, 0.89648664, 0.0594419949),C1 = CFrame.new(3.51998901, 0.00245666504, -0.733733177, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  894. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-39.8037491, 1.65485072, 173.344177, 0.134159118, 0.879470766, -0.456653416, -1.78345172e-10, 0.460819334, 0.887493968, 0.990959346, -0.1190653, 0.0618230514),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  895. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.879470944, 0.460819364, -0.119065404, -0.456653476, 0.887494028, 0.0618231073),C1 = CFrame.new(4.26998901, 0.00245666504, -0.423735619, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  896. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.02999997, 0.0500000156),CFrame = CFrame.new(-38.633503, 2.03729534, 173.18576, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  897. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(5.46588898, 0.00244140625, -0.0910782814, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  898. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-39.5588799, 1.55094099, 173.311005, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  899. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(4.51252747, 0.00247192383, -0.537901878, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  900. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 5, 0.0500000156),CFrame = CFrame.new(-40.6833267, 2.18262863, 173.463257, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  901. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(3.40526581, 0.00245666504, 0.140748024, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  902. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-41.1286964, 1.07836723, 173.523544, 0.134159118, 0.920541048, -0.36688596, -1.78345172e-10, 0.37023294, 0.928938925, 0.990959346, -0.124625482, 0.0496700779),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  903. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.920541227, 0.37023297, -0.124625586, -0.36688602, 0.928938985, 0.0496701226),C1 = CFrame.new(2.9099884, 0.00245666504, -0.943724632, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  904.  
  905.  
  906. HeartLocket = New("Model",char,"Heart Locket",{})
  907. Heart = New("Hat",HeartLocket,"Heart",{})
  908. 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),})
  909. Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/asset/?id=105992239",MeshType = Enum.MeshType.FileMesh,})
  910. 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),})
  911. 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,})
  912.  
  913.  
  914. for _, v in pairs(XBlade:GetChildren()) do
  915. if v:IsA'BasePart' then
  916. v.CanCollide = false
  917. end
  918. end
  919.  
  920.  
  921.  
  922. local NewInstance = function(instance,parent,properties)
  923. local inst = Instance.new(instance,parent)
  924. if(properties)then
  925. for i,v in next, properties do
  926. pcall(function() inst[i] = v end)
  927. end
  928. end
  929. return inst;
  930. end
  931. 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))})
  932. 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))})
  933. 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))})
  934.  
  935.  
  936.  
  937.  
  938. --Chat Function--
  939. function chatfunc(text,waitt)
  940. local chat = coroutine.wrap(function()
  941. if char:FindFirstChild("TalkingBillBoard")~= nil then
  942. char:FindFirstChild("TalkingBillBoard").Parent = nil
  943. end
  944. local naeeym2 = Instance.new("BillboardGui",char)
  945. naeeym2.Size = UDim2.new(0,100,0,40)
  946. naeeym2.StudsOffset = Vector3.new(0,2,0)
  947. naeeym2.Adornee = char.Head
  948. naeeym2.Name = "TalkingBillBoard"
  949. naeeym2.AlwaysOnTop = true
  950. local tecks2 = Instance.new("TextLabel",naeeym2)
  951. tecks2.BackgroundTransparency = 1
  952. tecks2.BorderSizePixel = 0
  953. tecks2.Text = ""
  954. tecks2.Font = "Code"
  955. tecks2.TextSize = 30
  956. tecks2.TextStrokeTransparency = 0
  957. tecks2.TextColor3 = Color3.fromRGB(255,255,255)
  958. tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
  959. tecks2.Size = UDim2.new(1,0,0.5,0)
  960. for i = 1,string.len(text),1 do
  961. tecks2.Text = string.sub(text,1,i)
  962. swait(3)
  963. end
  964. wait(waitt/10)
  965. coroutine.resume(coroutine.create(function()
  966. for i = 1, 10 do
  967. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  968. swait()
  969. end
  970. naeeym2:Destroy()
  971. end))
  972. end)
  973. chat()
  974. end
  975.  
  976. local asd = Instance.new("ParticleEmitter")
  977. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  978. asd.LightEmission = .1
  979. asd.Size = NumberSequence.new(0.2)
  980. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  981. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  982. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  983. asd.Transparency = bbb
  984. asd.Size = aaa
  985. asd.ZOffset = .9
  986. asd.Acceleration = Vector3.new(0, -5, 0)
  987. asd.LockedToPart = false
  988. asd.EmissionDirection = "Back"
  989. asd.Lifetime = NumberRange.new(1, 2)
  990. asd.Rotation = NumberRange.new(-100, 100)
  991. asd.RotSpeed = NumberRange.new(-100, 100)
  992. asd.Speed = NumberRange.new(2)
  993. asd.Enabled = false
  994. asd.VelocitySpread = 10000
  995.  
  996. function bleed(victim,amount)
  997. local prtcl = asd:Clone()
  998. prtcl.Parent = victim
  999. prtcl:Emit(amount)
  1000. end
  1001.  
  1002.  
  1003. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1004. local NEWMESH = Instance.new(MESH)
  1005. if MESH == "SpecialMesh" then
  1006. NEWMESH.MeshType = MESHTYPE
  1007. if MESHID ~= "nil" and MESHID ~= "" then
  1008. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1009. end
  1010. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1011. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1012. end
  1013. end
  1014. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  1015. NEWMESH.Scale = SCALE
  1016. NEWMESH.Parent = PARENT
  1017. return NEWMESH
  1018. end
  1019.  
  1020. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1021. local NEWPART = Instance.new("Part")
  1022. NEWPART.formFactor = FORMFACTOR
  1023. NEWPART.Reflectance = REFLECTANCE
  1024. NEWPART.Transparency = TRANSPARENCY
  1025. NEWPART.CanCollide = false
  1026. NEWPART.Locked = true
  1027. NEWPART.Anchored = true
  1028. if ANCHOR == false then
  1029. NEWPART.Anchored = false
  1030. end
  1031. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  1032. NEWPART.Name = NAME
  1033. NEWPART.Size = SIZE
  1034. NEWPART.Position = tors.Position
  1035. NEWPART.Material = MATERIAL
  1036. NEWPART:BreakJoints()
  1037. NEWPART.Parent = PARENT
  1038. return NEWPART
  1039. end
  1040.  
  1041. local function weldBetween(a, b)
  1042. local weldd = Instance.new("ManualWeld")
  1043. weldd.Part0 = a
  1044. weldd.Part1 = b
  1045. weldd.C0 = CFrame.new()
  1046. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1047. weldd.Parent = a
  1048. return weldd
  1049. end
  1050.  
  1051. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  1052. local acs = Instance.new("Part")
  1053. acs.CanCollide = false
  1054. acs.Anchored = false
  1055. acs.Size = Vector3.new(0,0,0)
  1056. acs.CFrame = attachmentpart.CFrame
  1057. acs.Parent = char
  1058. acs.BrickColor = color
  1059. local meshs = Instance.new("SpecialMesh")
  1060. meshs.MeshId = mesh
  1061. meshs.TextureId = texture
  1062. meshs.Parent = acs
  1063. meshs.Scale = scale
  1064. meshs.Offset = offset
  1065. weldBetween(attachmentpart,acs)
  1066. end
  1067.  
  1068. local accessories = Instance.new("Folder",char)
  1069. accessories.Name = "Add-ons"
  1070.  
  1071. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  1072. if TYPE == "Gem" then
  1073. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1074. acs.Anchored = false
  1075. acs.CanCollide = false
  1076. acs.CFrame = PART.CFrame
  1077. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  1078. weldBetween(PART,acs)
  1079. elseif TYPE == "Skull" then
  1080. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1081. acs.Anchored = false
  1082. acs.CanCollide = false
  1083. acs.CFrame = PART.CFrame
  1084. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  1085. weldBetween(PART,acs)
  1086. elseif TYPE == "Eye" then
  1087. local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1088. acs.Anchored = false
  1089. acs.CanCollide = false
  1090. acs.CFrame = PART.CFrame
  1091. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  1092. weldBetween(PART,acs)
  1093. end
  1094. end
  1095.  
  1096. createbodypart("Eye","Really Red",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1097. createbodypart("Eye","Really Black",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1098.  
  1099. --Extras--
  1100. q = char:GetChildren()
  1101. for u = 1, #q do
  1102. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1103. q[u]:remove()
  1104. elseif q[u].ClassName == "CharacterMesh" then
  1105. q[u]:remove()
  1106. elseif q[u].ClassName == "ShirtGraphic" then
  1107. q[u]:remove()
  1108. elseif q[u].ClassName == "Shirt" then
  1109. q[u]:Destroy()
  1110. elseif q[u].ClassName == "Pants" then
  1111. q[u]:Destroy()
  1112. end
  1113. end
  1114. local top = Instance.new("Shirt")
  1115. top.ShirtTemplate = "rbxassetid://1522238772"
  1116. top.Parent = char
  1117. local bottom = Instance.new("Pants")
  1118. bottom.PantsTemplate = "rbxassetid://1343040198"
  1119. bottom.Parent = char
  1120.  
  1121. local BodyColors = char:FindFirstChildOfClass"BodyColors"
  1122. if BodyColors then
  1123. BodyColors.HeadColor = BrickColor.new"Institutional white"
  1124. BodyColors.TorsoColor = BrickColor.new"Institutional white"
  1125. BodyColors.LeftArmColor = BrickColor.new"Institutional white"
  1126. BodyColors.RightArmColor = BrickColor.new"Institutional white"
  1127. BodyColors.LeftLegColor = BrickColor.new"Institutional white"
  1128. BodyColors.RightLegColor = BrickColor.new"Institutional white"
  1129. text.TextColor3 = Color3.new(255,0,0)
  1130. text.Text = "Horror!Sans"
  1131. end
  1132.  
  1133. --Scarfs--
  1134. local Blobby = Instance.new("Part", char)
  1135. Blobby.Name = "Blob"
  1136. Blobby.CanCollide = false
  1137. Blobby.BrickColor = BrickColor.new("Institutional white")
  1138. Blobby.Transparency = 0
  1139. Blobby.Material = "Plastic"
  1140. Blobby.Size = Vector3.new(1, 1, 2)
  1141. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1142. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1143.  
  1144. local Weld = Instance.new("Weld", Blobby)
  1145. Weld.Part0 = hed
  1146. Weld.Part1 = Blobby
  1147. Weld.C1 = CFrame.new(0, 1.1, 0)
  1148. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  1149.  
  1150. local M2 = Instance.new("SpecialMesh")
  1151. M2.Parent = Blobby
  1152. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  1153. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  1154.  
  1155. local Blobby2 = Instance.new("Part", char)
  1156. Blobby2.Name = "Blob"
  1157. Blobby2.CanCollide = false
  1158. Blobby2.BrickColor = BrickColor.new("Really black")
  1159. Blobby2.Transparency = 0
  1160. Blobby2.Material = "Plastic"
  1161. Blobby2.Size = Vector3.new(1, 1, 2)
  1162. Blobby2.TopSurface = Enum.SurfaceType.Smooth
  1163. Blobby2.BottomSurface = Enum.SurfaceType.Smooth
  1164.  
  1165. local Weld = Instance.new("Weld", Blobby2)
  1166. Weld.Part0 = hed
  1167. Weld.Part1 = Blobby2
  1168. Weld.C1 = CFrame.new(0, 1.2, 0)
  1169. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  1170.  
  1171. local M2 = Instance.new("SpecialMesh")
  1172. M2.Parent = Blobby2
  1173. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  1174. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  1175.  
  1176. --Hair--
  1177. local Hair = Instance.new("Part", char)
  1178. Hair.Name = "Hair"
  1179. Hair.CanCollide = false
  1180. Hair.BrickColor = BrickColor.new("Red")
  1181. Hair.Transparency = 0
  1182. Hair.Material = "Plastic"
  1183. Hair.Size = Vector3.new(1, 1, 2)
  1184. Hair.TopSurface = Enum.SurfaceType.Smooth
  1185. Hair.BottomSurface = Enum.SurfaceType.Smooth
  1186.  
  1187. local Weld = Instance.new("Weld", Hair)
  1188. Weld.Part0 = hed
  1189. Weld.Part1 = Hair
  1190. Weld.C1 = CFrame.new(0, -.5, 0)
  1191. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1192.  
  1193. local M2 = Instance.new("SpecialMesh")
  1194. M2.Parent = Hair
  1195. M2.MeshId = "http://www.roblox.com/asset/?id=346578029"
  1196. M2.Scale = Vector3.new(1.2, 1.1, 1.1)
  1197.  
  1198. --Hood--
  1199. local Hood = Instance.new("Part", char)
  1200. Hood.Name = "Hood"
  1201. Hood.CanCollide = false
  1202. Hood.BrickColor = BrickColor.new("Red")
  1203. Hood.Transparency = 0
  1204. Hood.Material = "Plastic"
  1205. Hood.Size = Vector3.new(1, 1, 2)
  1206. Hood.TopSurface = Enum.SurfaceType.Smooth
  1207. Hood.BottomSurface = Enum.SurfaceType.Smooth
  1208.  
  1209. local Weld = Instance.new("Weld", Hood)
  1210. Weld.Part0 = tors
  1211. Weld.Part1 = Hood
  1212. Weld.C1 = CFrame.new(0, .4, -.9)
  1213. Weld.C0 = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(180))
  1214.  
  1215. local M2 = Instance.new("SpecialMesh")
  1216. M2.Parent = Hood
  1217. M2.MeshId = "http://www.roblox.com/asset/?id=18010902"
  1218. M2.Scale = Vector3.new(0.922, 0.922, 0.922)
  1219. hed.face.Texture = "http://www.roblox.com/asset/?id=176217905"
  1220.  
  1221.  
  1222.  
  1223. Slashy = Instance.new("Sound", ra)
  1224. Slashy.Volume = 5
  1225. Slashy.Pitch = 1
  1226. Slashy.SoundId = "http://www.roblox.com/asset/?id=577175596"
  1227. Slashy.Looped = false
  1228.  
  1229. local VALUE1 = false
  1230. local sine=0
  1231. for _, v in pairs(XBlade:GetChildren()) do
  1232. if v:IsA'BasePart' then
  1233. v.CanCollide = false
  1234. v.Transparency = 1
  1235. end
  1236. end
  1237. function intro()
  1238. attack = true
  1239. chatfunc("Hello i am Horror Chara.",3)
  1240. hum.WalkSpeed = 0
  1241. for i = 0,6,0.1 do
  1242. swait()
  1243. 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)
  1244. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1245. 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)
  1246. 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)
  1247. 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)
  1248. 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)
  1249. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1250. end
  1251. wait(2.5)
  1252. chatfunc("And Finally i see The Human.",3)
  1253. for i = 0,6,0.1 do
  1254. swait()
  1255. 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)
  1256. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1257. 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)
  1258. 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)
  1259. 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)
  1260. 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)
  1261. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1262. end
  1263. wait(2.5)
  1264. chatfunc("I wanna kill you hehehe.",3)
  1265. for i = 0,6,0.1 do
  1266. swait()
  1267. 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)
  1268. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1269. 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)
  1270. 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)
  1271. 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)
  1272. 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)
  1273. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1274. end
  1275. wait(2.5)
  1276. chatfunc("Hehehehehehhe.",5)
  1277.  
  1278. for i = 0,6,0.1 do
  1279. swait()
  1280. for _, v in pairs(XBlade:GetChildren()) do
  1281. if v:IsA'BasePart' then
  1282. v.CanCollide = false
  1283. v.Transparency = v.Transparency - .3
  1284. end
  1285. end
  1286. 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)
  1287. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1288. 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)
  1289. 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)
  1290. 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)
  1291. 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)
  1292. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(180)), 0.15)
  1293. end
  1294. wait(4.5)
  1295. chatfunc("Welcome my friend, to the HorrorEvent.",3)
  1296. wait(2.5)
  1297. CreateSound("367453005", hed, 10, 1)
  1298. ShadowHead = New("Part",char,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("White"),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),})
  1299. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  1300. 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),})
  1301. 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)
  1302. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1303. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1304. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1305. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1306. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1307. local bigboi = Instance.new("Sound",tors)
  1308. bigboi.SoundId = "rbxassetid://577175596"
  1309. bigboi.Volume = 2.5
  1310. bigboi.Looped = true
  1311. bigboi.Pitch = 1
  1312. bigboi:Play()
  1313. attack = false
  1314. VALUE1 = true
  1315. hum.WalkSpeed = 28
  1316. end
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322. function NothingPersonal()
  1323. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1324. local HITBODY = mouse.Target.Parent
  1325. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  1326. local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1327. if TORS ~= nil and HUMAN ~= nil then
  1328. attack = true
  1329. hum.WalkSpeed = 0
  1330. root.CFrame = TORS.CFrame * CFrame.new(-1,0,6)
  1331. TORS.Anchored = true
  1332. CreateSound("367453005", hed, 10, 1)
  1333. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1334. for i = 0,6,0.1 do
  1335. swait()
  1336. 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)
  1337. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1338. 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)
  1339. 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)
  1340. 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)
  1341. 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)
  1342. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1343. end
  1344. CreateSound("357417055", hed, 10, 1)
  1345. for i = 0,4,0.1 do
  1346. 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)
  1347. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1348. 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)
  1349. 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)
  1350. 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)
  1351. 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)
  1352. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1353. end
  1354. wait(2.5)
  1355. CreateSound("623904185", hed, 10, 1)
  1356. HITBODY:BreakJoints()
  1357. TORS.Anchored = false
  1358. attack = false
  1359. hum.WalkSpeed = 28
  1360. bleed(TORS,25)
  1361. end
  1362. end
  1363. end
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376. ---ATTACKS N STUFF
  1377. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1378. Hitboxpart = Instance.new("Part", EffectModel)
  1379. RemoveOutlines(Hitboxpart)
  1380. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1381. Hitboxpart.CanCollide = false
  1382. Hitboxpart.Transparency = 1
  1383. Hitboxpart.Anchored = true
  1384. Hitboxpart.CFrame = Pose
  1385. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1386. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1387. end
  1388. wait2 = false
  1389. combo = 1
  1390. mouse.Button1Down:connect(function(key)
  1391. if attack == false then
  1392. attack = true
  1393. hum.WalkSpeed = 3.01
  1394. if combo == 1 and wait2 == false then
  1395. wait2 = true
  1396. for i = 0, 1.2, 0.1 do
  1397. swait()
  1398. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1399. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1400. 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)
  1401. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1402. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1403. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1404. end
  1405. Effects.Ring.Create(BrickColor.new("Institutional white"), ra.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1406. Slashy:Play()
  1407. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1408. for i = 0, 1.2, 0.1 do
  1409. swait()
  1410. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(15)), 0.3)
  1411. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1412. 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)
  1413. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1414. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1415. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1416. end
  1417. combo = 2
  1418. end
  1419. if combo == 2 and wait2 == false then
  1420. wait2 = true
  1421. HitboxFunction(ll.CFrame * CFrame.new(0, 0, .4), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
  1422. for i = 0, 1.4, 0.1 do
  1423. swait()
  1424. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15)
  1425. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1426. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.3)
  1427. 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)
  1428. 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)
  1429. 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)
  1430. end
  1431. combo = 3
  1432. end
  1433. if combo == 3 and wait2 == false then
  1434. wait2 = true
  1435.  
  1436. for i = 0, 1.2, 0.1 do
  1437. swait()
  1438. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1439. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1440. 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)
  1441. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1442. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1443. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1444. end
  1445. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1446. Effects.Ring.Create(BrickColor.new("Institutional white"), Wedge.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1447. Slashy:Play()
  1448. for i = 0, 1.2, 0.1 do
  1449. swait()
  1450. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(30)), 0.3)
  1451. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1452. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -1) * angles(math.rad(55), math.rad(0), math.rad(40)), 0.1)
  1453. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1454. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1455. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1456. end
  1457. combo = 1
  1458. end
  1459. hum.WalkSpeed = 16
  1460. wait2 = false
  1461. attack = false
  1462. end
  1463. end)
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470. function DashingSpin()
  1471. attack = true
  1472. hum.WalkSpeed = 0
  1473. CreateSound("707957812", workspace, 5, 1)
  1474. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 3.6, 3.6, 3.6, 0.05)
  1475. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 3.4, 3.4, 3.4, 0.03)
  1476. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 6.6, 6.6, 6.6, 0.05)
  1477. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 6.4, 6.4, 6.4, 0.05)
  1478. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1479.  
  1480. Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1481. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1482. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1483. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1484. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1485. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1486. root.CFrame = root.CFrame + root.CFrame.lookVector * 35
  1487. for i = 0,6,0.1 do
  1488. --Not to put a swait here this is going to be like, you know what just dont put a swait kthx
  1489. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1490. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1491. 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)
  1492. 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)
  1493. 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)
  1494. 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)
  1495. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1496. end
  1497. for i = 0,9,0.1 do
  1498. swait()
  1499. MagniDamage(Wedge, 12, 6, 12, 10, "Normal")
  1500. 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)
  1501. 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)
  1502. 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)
  1503. 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)
  1504. 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)
  1505. 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)
  1506. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1507. end
  1508. attack = false
  1509. hum.WalkSpeed = 28
  1510. end
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518. mouse.KeyDown:connect(function(key)
  1519. if attack == false then
  1520. if key == 'q' then
  1521. NothingPersonal()
  1522. elseif key == 'c' then
  1523. CreateSound("367453005", hed, 10, 1)
  1524. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1525. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  1526. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1527. elseif key == 'f' then
  1528. DashingSpin()
  1529. elseif key == 't' then
  1530. CreateSound("649634100", hed, 10, .89)
  1531. end
  1532. end
  1533. end)
  1534.  
  1535.  
  1536.  
  1537. ff = Instance.new("ForceField",char)
  1538. ff.Visible = false
  1539.  
  1540. local idle=0
  1541. local change = 1
  1542. local val = 0
  1543. toim = 0
  1544. hum.Animator.Parent = nil
  1545. idleanim=.4
  1546. while true do
  1547. swait()
  1548. hum.MaxHealth = math.huge
  1549. hum.Health = math.huge
  1550. hum.Name = "TheXEvent"
  1551. sine = sine + change
  1552. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  1553. local velderp=root.Velocity.y
  1554. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  1555. if equipped==true or equipped==false then
  1556. if attack==false then
  1557. idle=idle+1
  1558. else
  1559. idle=0
  1560. end
  1561. if root.Velocity.y > 1 and hitfloor==nil then
  1562. Anim="Jump"
  1563. if attack==false then
  1564. 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)
  1565. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1566. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1567. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1568. 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)
  1569. RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1570. end
  1571. elseif root.Velocity.y < -1 and hitfloor==nil then
  1572. Anim="Fall"
  1573. if attack==false then
  1574. 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)
  1575. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1576. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(90)), 0.3)
  1577. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-90)), 0.3)
  1578. 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)
  1579. 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)
  1580. end
  1581. elseif torvel<1 and hitfloor~=nil then
  1582. Anim="Idle"
  1583. change = 1
  1584. if attack==false then
  1585. 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)
  1586. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-25)),.3)
  1587. 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)
  1588. 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)
  1589. 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)
  1590. 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)
  1591. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1592. end
  1593.  
  1594. elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
  1595. Anim="Walk"
  1596. change = 1
  1597. if attack==false then
  1598. 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)
  1599. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-0)),.3)
  1600. 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)
  1601. 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)
  1602. 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)
  1603. 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)
  1604. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1605. end
  1606. end
  1607. end
  1608.  
  1609. if 0 < #Effects then
  1610. for e = 1, #Effects do
  1611. if Effects[e] ~= nil then
  1612. local Thing = Effects[e]
  1613. if Thing ~= nil then
  1614. local Part = Thing[1]
  1615. local Mode = Thing[2]
  1616. local Delay = Thing[3]
  1617. local IncX = Thing[4]
  1618. local IncY = Thing[5]
  1619. local IncZ = Thing[6]
  1620. if 1 >= Thing[1].Transparency then
  1621. if Thing[2] == "Block1" then
  1622. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1623. local Mesh = Thing[1].Mesh
  1624. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1625. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1626. elseif Thing[2] == "Block2" then
  1627. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1628. local Mesh = Thing[7]
  1629. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1630. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1631. elseif Thing[2] == "Block3" then
  1632. 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)
  1633. local Mesh = Thing[7]
  1634. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1635. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1636. elseif Thing[2] == "Cylinder" then
  1637. local Mesh = Thing[1].Mesh
  1638. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1639. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1640. elseif Thing[2] == "Blood" then
  1641. local Mesh = Thing[7]
  1642. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1643. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1644. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1645. elseif Thing[2] == "Elec" then
  1646. local Mesh = Thing[1].Mesh
  1647. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1648. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1649. elseif Thing[2] == "Disappear" then
  1650. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1651. elseif Thing[2] == "Shatter" then
  1652. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1653. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1654. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1655. Thing[6] = Thing[6] + Thing[5]
  1656. end
  1657. else
  1658. Part.Parent = nil
  1659. table.remove(Effects, e)
  1660. end
  1661. end
  1662. end
  1663. end
  1664. end
  1665. if VALUE1 == false and attack == false then
  1666. intro()
  1667. end
  1668. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement