Advertisement
RblxVoidScriptBuild

XCHARA (not fe)

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