GalaxyDelta

Untitled

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