Bendy928443534

Untitled

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