Advertisement
HenloMyDude

ecks chuh ar er rah

Oct 11th, 2019
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 80.91 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. dehomanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  220. dehomanoid.Health = dehomanoid.Health - Damage
  221. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  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. if HitSound ~= nil and HitPitch ~= nil then
  234. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  235. end
  236. local Damage = math.random(minim, maxim)
  237. local blocked = false
  238. local block = hit.Parent:findFirstChild("Block")
  239. if block ~= nil then
  240. if block.className == "IntValue" then
  241. if block.Value > 0 then
  242. blocked = true
  243. block.Value = block.Value - 1
  244. print(block.Value)
  245. end
  246. end
  247. end
  248. if blocked == false then
  249. h.Health = h.Health - Damage
  250. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  251. else
  252. h.Health = h.Health - (Damage / 2)
  253. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  254. end
  255. if Type == "Knockdown" then
  256. local hum = hit.Parent.Humanoid
  257. hum.PlatformStand = true
  258. coroutine.resume(coroutine.create(function(HHumanoid)
  259. swait(1)
  260. HHumanoid.PlatformStand = false
  261. end), hum)
  262. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  263. local bodvol = Create("BodyVelocity"){
  264. velocity = angle * knockback,
  265. P = 5000,
  266. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  267. Parent = hit,
  268. }
  269. local rl = Create("BodyAngularVelocity"){
  270. P = 3000,
  271. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  272. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  273. Parent = hit,
  274. }
  275. game:GetService("Debris"):AddItem(bodvol, .5)
  276. game:GetService("Debris"):AddItem(rl, .5)
  277. elseif Type == "Normal" then
  278. local vp = Create("BodyVelocity"){
  279. P = 500,
  280. maxForce = Vector3.new(math.huge, 0, math.huge),
  281. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  282. }
  283. if knockback > 0 then
  284. vp.Parent = hit.Parent.Torso
  285. end
  286. game:GetService("Debris"):AddItem(vp, .5)
  287. elseif Type == "Up" then
  288. local bodyVelocity = Create("BodyVelocity"){
  289. velocity = Vector3.new(0, 20, 0),
  290. P = 5000,
  291. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  292. Parent = hit,
  293. }
  294. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  295. elseif Type == "DarkUp" then
  296. coroutine.resume(coroutine.create(function()
  297. for i = 0, 1, 0.1 do
  298. swait()
  299. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  300. end
  301. end))
  302. local bodyVelocity = Create("BodyVelocity"){
  303. velocity = Vector3.new(0, 20, 0),
  304. P = 5000,
  305. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  306. Parent = hit,
  307. }
  308. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  309. elseif Type == "Snare" then
  310. local bp = Create("BodyPosition"){
  311. P = 2000,
  312. D = 100,
  313. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  314. position = hit.Parent.Torso.Position,
  315. Parent = hit.Parent.Torso,
  316. }
  317. game:GetService("Debris"):AddItem(bp, 1)
  318. elseif Type == "Freeze" then
  319. local BodPos = Create("BodyPosition"){
  320. P = 50000,
  321. D = 1000,
  322. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  323. position = hit.Parent.Torso.Position,
  324. Parent = hit.Parent.Torso,
  325. }
  326. local BodGy = Create("BodyGyro") {
  327. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  328. P = 20e+003,
  329. Parent = hit.Parent.Torso,
  330. cframe = hit.Parent.Torso.CFrame,
  331. }
  332. hit.Parent.Torso.Anchored = true
  333. coroutine.resume(coroutine.create(function(Part)
  334. swait(1.5)
  335. Part.Anchored = false
  336. end), hit.Parent.Torso)
  337. game:GetService("Debris"):AddItem(BodPos, 3)
  338. game:GetService("Debris"):AddItem(BodGy, 3)
  339. end
  340. local debounce = Create("BoolValue"){
  341. Name = "DebounceHit",
  342. Parent = hit.Parent,
  343. Value = true,
  344. }
  345. game:GetService("Debris"):AddItem(debounce, Delay)
  346. end
  347. end
  348.  
  349. function ShowDamage(Pos, Text, Time, Color)
  350. local Rate = (1 / 30)
  351. local Pos = (Pos or Vector3.new(0, 0, 0))
  352. local Text = (Text or "")
  353. local Time = (Time or 2)
  354. local Color = (Color or Color3.new(1, 0, 1))
  355. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  356. EffectPart.Anchored = true
  357. local BillboardGui = Create("BillboardGui"){
  358. Size = UDim2.new(3, 0, 3, 0),
  359. Adornee = EffectPart,
  360. Parent = EffectPart,
  361. }
  362. local TextLabel = Create("TextBox"){
  363. BackgroundTransparency = 1,
  364. Size = UDim2.new(1, 0, 1, 0),
  365. Text = Text,
  366. Font = "Highway",
  367. TextColor3 = Color,
  368. TextScaled = true,
  369. Parent = BillboardGui,
  370. }
  371. game.Debris:AddItem(EffectPart, (Time))
  372. EffectPart.Parent = game:GetService("Workspace")
  373. delay(0, function()
  374. local Frames = (Time / Rate)
  375. for Frame = 1, Frames do
  376. wait(Rate)
  377. local Percent = (Frame / Frames)
  378. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  379. TextLabel.TextTransparency = Percent
  380. end
  381. if EffectPart and EffectPart.Parent then
  382. EffectPart:Destroy()
  383. end
  384. end)
  385. end
  386. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  387. for _, c in pairs(workspace:children()) do
  388. local hum = c:findFirstChild("Humanoid")
  389. if hum ~= nil then
  390. local head = c:findFirstChild("Head")
  391. if head ~= nil then
  392. local targ = head.Position - Part.Position
  393. local mag = targ.magnitude
  394. if magni >= mag and c.Name ~= plr.Name then
  395. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=623904185", 5.2)
  396. end
  397. end
  398. end
  399. end
  400. end
  401. function MagniKILL(Part, magni, knock, Type)
  402. for _, c in pairs(workspace:children()) do
  403. local hum = c:findFirstChild("Humanoid")
  404. if hum ~= nil then
  405. local head = c:findFirstChild("Head")
  406. if head ~= nil then
  407. local targ = head.Position - Part.Position
  408. local mag = targ.magnitude
  409. if magni >= mag and c.Name ~= plr.Name then
  410. hum.Health = 0
  411. end
  412. end
  413. end
  414. end
  415. end
  416. CFuncs = {
  417. Part = {
  418. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  419. local Part = Create("Part")({
  420. Parent = Parent,
  421. Reflectance = Reflectance,
  422. Transparency = Transparency,
  423. CanCollide = false,
  424. Locked = true,
  425. BrickColor = BrickColor.new(tostring(BColor)),
  426. Name = Name,
  427. Size = Size,
  428. Material = Material
  429. })
  430. RemoveOutlines(Part)
  431. return Part
  432. end
  433. },
  434. Mesh = {
  435. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  436. local Msh = Create(Mesh)({
  437. Parent = Part,
  438. Offset = OffSet,
  439. Scale = Scale
  440. })
  441. if Mesh == "SpecialMesh" then
  442. Msh.MeshType = MeshType
  443. Msh.MeshId = MeshId
  444. end
  445. return Msh
  446. end
  447. },
  448. Mesh = {
  449. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  450. local Msh = Create(Mesh)({
  451. Parent = Part,
  452. Offset = OffSet,
  453. Scale = Scale
  454. })
  455. if Mesh == "SpecialMesh" then
  456. Msh.MeshType = MeshType
  457. Msh.MeshId = MeshId
  458. end
  459. return Msh
  460. end
  461. },
  462. Weld = {
  463. Create = function(Parent, Part0, Part1, C0, C1)
  464. local Weld = Create("Weld")({
  465. Parent = Parent,
  466. Part0 = Part0,
  467. Part1 = Part1,
  468. C0 = C0,
  469. C1 = C1
  470. })
  471. return Weld
  472. end
  473. },
  474. Sound = {
  475. Create = function(id, par, vol, pit)
  476. coroutine.resume(coroutine.create(function()
  477. local S = Create("Sound")({
  478. Volume = vol,
  479. Pitch = pit or 1,
  480. SoundId = id,
  481. Parent = par or workspace
  482. })
  483. wait()
  484. S:play()
  485. game:GetService("Debris"):AddItem(S, 6)
  486. end))
  487. end
  488. },
  489. ParticleEmitter = {
  490. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  491. local fp = Create("ParticleEmitter")({
  492. Parent = Parent,
  493. Color = ColorSequence.new(Color1, Color2),
  494. LightEmission = LightEmission,
  495. Size = Size,
  496. Texture = Texture,
  497. Transparency = Transparency,
  498. ZOffset = ZOffset,
  499. Acceleration = Accel,
  500. Drag = Drag,
  501. LockedToPart = LockedToPart,
  502. VelocityInheritance = VelocityInheritance,
  503. EmissionDirection = EmissionDirection,
  504. Enabled = Enabled,
  505. Lifetime = LifeTime,
  506. Rate = Rate,
  507. Rotation = Rotation,
  508. RotSpeed = RotSpeed,
  509. Speed = Speed,
  510. VelocitySpread = VelocitySpread
  511. })
  512. return fp
  513. end
  514. }
  515. }
  516. function RemoveOutlines(part)
  517. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  518. end
  519. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  520. local Part = Create("Part")({
  521. formFactor = FormFactor,
  522. Parent = Parent,
  523. Reflectance = Reflectance,
  524. Transparency = Transparency,
  525. CanCollide = false,
  526. Locked = true,
  527. BrickColor = BrickColor.new(tostring(BColor)),
  528. Name = Name,
  529. Size = Size,
  530. Material = Material
  531. })
  532. RemoveOutlines(Part)
  533. return Part
  534. end
  535. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  536. local Msh = Create(Mesh)({
  537. Parent = Part,
  538. Offset = OffSet,
  539. Scale = Scale
  540. })
  541. if Mesh == "SpecialMesh" then
  542. Msh.MeshType = MeshType
  543. Msh.MeshId = MeshId
  544. end
  545. return Msh
  546. end
  547. function CreateWeld(Parent, Part0, Part1, C0, C1)
  548. local Weld = Create("Weld")({
  549. Parent = Parent,
  550. Part0 = Part0,
  551. Part1 = Part1,
  552. C0 = C0,
  553. C1 = C1
  554. })
  555. return Weld
  556. end
  557. EffectModel = Instance.new("Model", char)
  558. Effects = {
  559. Block = {
  560. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  561. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  562. prt.Anchored = true
  563. prt.CFrame = cframe
  564. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  565. game:GetService("Debris"):AddItem(prt, 10)
  566. if Type == 1 or Type == nil then
  567. table.insert(Effects, {
  568. prt,
  569. "Block1",
  570. delay,
  571. x3,
  572. y3,
  573. z3,
  574. msh
  575. })
  576. elseif Type == 2 then
  577. table.insert(Effects, {
  578. prt,
  579. "Block2",
  580. delay,
  581. x3,
  582. y3,
  583. z3,
  584. msh
  585. })
  586. else
  587. table.insert(Effects, {
  588. prt,
  589. "Block3",
  590. delay,
  591. x3,
  592. y3,
  593. z3,
  594. msh
  595. })
  596. end
  597. end
  598. },
  599. Sphere = {
  600. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  601. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  602. prt.Anchored = true
  603. prt.CFrame = cframe
  604. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  605. game:GetService("Debris"):AddItem(prt, 10)
  606. table.insert(Effects, {
  607. prt,
  608. "Cylinder",
  609. delay,
  610. x3,
  611. y3,
  612. z3,
  613. msh
  614. })
  615. end
  616. },
  617. Cylinder = {
  618. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  619. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  620. prt.Anchored = true
  621. prt.CFrame = cframe
  622. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  623. game:GetService("Debris"):AddItem(prt, 10)
  624. table.insert(Effects, {
  625. prt,
  626. "Cylinder",
  627. delay,
  628. x3,
  629. y3,
  630. z3,
  631. msh
  632. })
  633. end
  634. },
  635. Wave = {
  636. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  637. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  638. prt.Anchored = true
  639. prt.CFrame = cframe
  640. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  641. game:GetService("Debris"):AddItem(prt, 10)
  642. table.insert(Effects, {
  643. prt,
  644. "Cylinder",
  645. delay,
  646. x3 / 60,
  647. y3 / 60,
  648. z3 / 60,
  649. msh
  650. })
  651. end
  652. },
  653. Ring = {
  654. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  655. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  656. prt.Anchored = true
  657. prt.CFrame = cframe
  658. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  659. game:GetService("Debris"):AddItem(prt, 10)
  660. table.insert(Effects, {
  661. prt,
  662. "Cylinder",
  663. delay,
  664. x3,
  665. y3,
  666. z3,
  667. msh
  668. })
  669. end
  670. },
  671. Break = {
  672. Create = function(brickcolor, cframe, x1, y1, z1)
  673. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  674. prt.Anchored = true
  675. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  676. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  677. local num = math.random(10, 50) / 1000
  678. game:GetService("Debris"):AddItem(prt, 10)
  679. table.insert(Effects, {
  680. prt,
  681. "Shatter",
  682. num,
  683. prt.CFrame,
  684. math.random() - math.random(),
  685. 0,
  686. math.random(50, 100) / 100
  687. })
  688. end
  689. }
  690. }
  691. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  692. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  693. prt.Anchored = true
  694. prt.CFrame = cframe
  695. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  696. game:GetService("Debris"):AddItem(prt, 10)
  697. if Type == 1 or Type == nil then
  698. table.insert(Effects, {
  699. prt,
  700. "Block1",
  701. delay,
  702. x3,
  703. y3,
  704. z3,
  705. msh
  706. })
  707. elseif Type == 2 then
  708. table.insert(Effects, {
  709. prt,
  710. "Block2",
  711. delay,
  712. x3,
  713. y3,
  714. z3,
  715. msh
  716. })
  717. elseif Type == 3 then
  718. table.insert(Effects, {
  719. prt,
  720. "Block3",
  721. delay,
  722. x3,
  723. y3,
  724. z3,
  725. msh
  726. })
  727. end
  728. end
  729. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  730. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  731. prt.Anchored = true
  732. prt.CFrame = cframe
  733. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  734. game:GetService("Debris"):AddItem(prt, 10)
  735. table.insert(Effects, {
  736. prt,
  737. "Cylinder",
  738. delay,
  739. x3,
  740. y3,
  741. z3,
  742. msh
  743. })
  744. end
  745. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  746. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  747. prt.Anchored = true
  748. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  749. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  750. game:GetService("Debris"):AddItem(prt, 10)
  751. table.insert(Effects, {
  752. prt,
  753. "Cylinder",
  754. delay,
  755. x3,
  756. y3,
  757. z3,
  758. msh
  759. })
  760. end
  761. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  762. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  763. prt.Anchored = true
  764. prt.CFrame = cframe
  765. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  766. game:GetService("Debris"):AddItem(prt, 10)
  767. table.insert(Effects, {
  768. prt,
  769. "Cylinder",
  770. delay,
  771. x3,
  772. y3,
  773. z3,
  774. msh
  775. })
  776. end
  777. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  778. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  779. prt.Anchored = true
  780. prt.CFrame = cframe
  781. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  782. game:GetService("Debris"):AddItem(prt, 10)
  783. table.insert(Effects, {
  784. prt,
  785. "Cylinder",
  786. delay,
  787. x3,
  788. y3,
  789. z3,
  790. msh
  791. })
  792. end
  793. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  794. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  795. prt.Anchored = true
  796. prt.CFrame = cframe
  797. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  798. game:GetService("Debris"):AddItem(prt, 10)
  799. table.insert(Effects, {
  800. prt,
  801. "Cylinder",
  802. delay,
  803. x3,
  804. y3,
  805. z3,
  806. msh
  807. })
  808. end
  809. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  810. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  811. prt.Anchored = true
  812. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  813. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  814. local num = math.random(10, 50) / 1000
  815. game:GetService("Debris"):AddItem(prt, 10)
  816. table.insert(Effects, {
  817. prt,
  818. "Shatter",
  819. num,
  820. prt.CFrame,
  821. math.random() - math.random(),
  822. 0,
  823. math.random(50, 100) / 100
  824. })
  825. end
  826. function CreateSound(ID, PARENT, VOLUME, PITCH)
  827. local NEWSOUND = nil
  828. coroutine.resume(coroutine.create(function()
  829. NEWSOUND = Instance.new("Sound", PARENT)
  830. NEWSOUND.Volume = VOLUME
  831. NEWSOUND.Pitch = PITCH
  832. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  833. swait()
  834. NEWSOUND:play()
  835. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  836. end))
  837. return NEWSOUND
  838. end
  839.  
  840.  
  841. --[[
  842. Thanks for using Build-To-Lua by jarredbcv.
  843. ]]--
  844.  
  845. New = function(Object, Parent, Name, Data)
  846. local Object = Instance.new(Object)
  847. for Index, Value in pairs(Data or {}) do
  848. Object[Index] = Value
  849. end
  850. Object.Parent = Parent
  851. Object.Name = Name
  852. return Object
  853. end
  854.  
  855. XBlade = New("Model",char,"XBlade",{})
  856. 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),})
  857. 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),})
  858. 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),})
  859. 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),})
  860. 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),})
  861. 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),})
  862. 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),})
  863. 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),})
  864. 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),})
  865. 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),})
  866. 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),})
  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.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),})
  868. 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),})
  869. 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),})
  870. 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),})
  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.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),})
  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.0492696762, 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.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),})
  874. 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),})
  875. 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),})
  876. 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),})
  877. 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),})
  878. 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),})
  879. 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),})
  880. 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),})
  881. 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),})
  882. 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),})
  883. 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),})
  884. 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),})
  885. 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),})
  886. 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),})
  887. 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),})
  888. 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),})
  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(-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),})
  890. 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),})
  891. 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),})
  892. 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),})
  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(-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),})
  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(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),})
  895. 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),})
  896. 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),})
  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(-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),})
  898. 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),})
  899.  
  900.  
  901. HeartLocket = New("Model",char,"Heart Locket",{})
  902. Heart = New("Hat",HeartLocket,"Heart",{})
  903. Handle2 = New("Part",Heart,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0500000007, 0.0500000007, 0.25),CFrame = CFrame.new(-42.7335167, 3.20922303, 175.050156, 0.14691636, -0.00137452304, -0.989146531, 0.00403097179, 0.999989152, -0.00079088629, 0.98914516, -0.00387096009, 0.14692001),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.937255, 0.721569, 0.219608),})
  904. Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/asset/?id=105992239",MeshType = Enum.MeshType.FileMesh,})
  905. String = New("Part",HeartLocket,"String",{BrickColor = BrickColor.new("Burnt Sienna"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-43.4914551, 3.64470506, 175.102722, 0.0703944117, 0, -0.997525692, 0, 1, 0, 0.997519255, 0, 0.0703952685),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
  906. Mesh = New("SpecialMesh",String,"Mesh",{Scale = Vector3.new(1.10000002, 1, 0.949999988),VertexColor = Vector3.new(0, 0, 0),MeshId = "http://www.roblox.com/asset/?id=34237901",MeshType = Enum.MeshType.FileMesh,})
  907.  
  908.  
  909. for _, v in pairs(XBlade:GetChildren()) do
  910. if v:IsA'BasePart' then
  911. v.CanCollide = false
  912. end
  913. end
  914.  
  915.  
  916.  
  917. local NewInstance = function(instance,parent,properties)
  918. local inst = Instance.new(instance,parent)
  919. if(properties)then
  920. for i,v in next, properties do
  921. pcall(function() inst[i] = v end)
  922. end
  923. end
  924. return inst;
  925. end
  926. local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-.9,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(90))})
  927. local Locket = NewInstance('Weld',char,{Part0=hed,Part1=String,C0 = CFrame.new(0,-.9,0.1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))})
  928. local HeartL = NewInstance('Weld',char,{Part0=hed,Part1=Handle2,C0 = CFrame.new(0,-1.3,-0.7)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))})
  929.  
  930.  
  931.  
  932.  
  933. --Chat Function--
  934. function chatfunc(text,waitt)
  935. local chat = coroutine.wrap(function()
  936. if char:FindFirstChild("TalkingBillBoard")~= nil then
  937. char:FindFirstChild("TalkingBillBoard").Parent = nil
  938. end
  939. local naeeym2 = Instance.new("BillboardGui",char)
  940. naeeym2.Size = UDim2.new(0,100,0,40)
  941. naeeym2.StudsOffset = Vector3.new(0,2,0)
  942. naeeym2.Adornee = char.Head
  943. naeeym2.Name = "TalkingBillBoard"
  944. naeeym2.AlwaysOnTop = true
  945. local tecks2 = Instance.new("TextBox",naeeym2)
  946. tecks2.BackgroundTransparency = 1
  947. tecks2.BorderSizePixel = 0
  948. tecks2.Text = ""
  949. tecks2.Font = "Code"
  950. tecks2.TextSize = 30
  951. tecks2.TextStrokeTransparency = 0
  952. tecks2.TextColor3 = Color3.fromRGB(255,255,255)
  953. tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
  954. tecks2.Size = UDim2.new(1,0,0.5,0)
  955. for i = 1,string.len(text),1 do
  956. tecks2.Text = string.sub(text,1,i)
  957. swait(3)
  958. end
  959. wait(waitt/10)
  960. coroutine.resume(coroutine.create(function()
  961. for i = 1, 10 do
  962. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  963. swait()
  964. end
  965. naeeym2:Destroy()
  966. end))
  967. end)
  968. chat()
  969. end
  970.  
  971. local asd = Instance.new("ParticleEmitter")
  972. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  973. asd.LightEmission = .1
  974. asd.Size = NumberSequence.new(0.2)
  975. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  976. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  977. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  978. asd.Transparency = bbb
  979. asd.Size = aaa
  980. asd.ZOffset = .9
  981. asd.Acceleration = Vector3.new(0, -5, 0)
  982. asd.LockedToPart = false
  983. asd.EmissionDirection = "Back"
  984. asd.Lifetime = NumberRange.new(1, 2)
  985. asd.Rotation = NumberRange.new(-100, 100)
  986. asd.RotSpeed = NumberRange.new(-100, 100)
  987. asd.Speed = NumberRange.new(2)
  988. asd.Enabled = false
  989. asd.VelocitySpread = 10000
  990.  
  991. function bleed(victim,amount)
  992. local prtcl = asd:Clone()
  993. prtcl.Parent = victim
  994. prtcl:Emit(amount)
  995. end
  996.  
  997.  
  998. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  999. local NEWMESH = Instance.new(MESH)
  1000. if MESH == "SpecialMesh" then
  1001. NEWMESH.MeshType = MESHTYPE
  1002. if MESHID ~= "nil" and MESHID ~= "" then
  1003. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1004. end
  1005. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1006. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1007. end
  1008. end
  1009. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  1010. NEWMESH.Scale = SCALE
  1011. NEWMESH.Parent = PARENT
  1012. return NEWMESH
  1013. end
  1014.  
  1015. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1016. local NEWPART = Instance.new("Part")
  1017. NEWPART.formFactor = FORMFACTOR
  1018. NEWPART.Reflectance = REFLECTANCE
  1019. NEWPART.Transparency = TRANSPARENCY
  1020. NEWPART.CanCollide = false
  1021. NEWPART.Locked = true
  1022. NEWPART.Anchored = true
  1023. if ANCHOR == false then
  1024. NEWPART.Anchored = false
  1025. end
  1026. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  1027. NEWPART.Name = NAME
  1028. NEWPART.Size = SIZE
  1029. NEWPART.Position = tors.Position
  1030. NEWPART.Material = MATERIAL
  1031. NEWPART:BreakJoints()
  1032. NEWPART.Parent = PARENT
  1033. return NEWPART
  1034. end
  1035.  
  1036. local function weldBetween(a, b)
  1037. local weldd = Instance.new("ManualWeld")
  1038. weldd.Part0 = a
  1039. weldd.Part1 = b
  1040. weldd.C0 = CFrame.new()
  1041. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1042. weldd.Parent = a
  1043. return weldd
  1044. end
  1045.  
  1046. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  1047. local acs = Instance.new("Part")
  1048. acs.CanCollide = false
  1049. acs.Anchored = false
  1050. acs.Size = Vector3.new(0,0,0)
  1051. acs.CFrame = attachmentpart.CFrame
  1052. acs.Parent = char
  1053. acs.BrickColor = color
  1054. local meshs = Instance.new("SpecialMesh")
  1055. meshs.MeshId = mesh
  1056. meshs.TextureId = texture
  1057. meshs.Parent = acs
  1058. meshs.Scale = scale
  1059. meshs.Offset = offset
  1060. weldBetween(attachmentpart,acs)
  1061. end
  1062.  
  1063. local accessories = Instance.new("Folder",char)
  1064. accessories.Name = "Add-ons"
  1065.  
  1066. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  1067. if TYPE == "Gem" then
  1068. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1069. acs.Anchored = false
  1070. acs.CanCollide = false
  1071. acs.CFrame = PART.CFrame
  1072. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  1073. weldBetween(PART,acs)
  1074. elseif TYPE == "Skull" then
  1075. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1076. acs.Anchored = false
  1077. acs.CanCollide = false
  1078. acs.CFrame = PART.CFrame
  1079. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  1080. weldBetween(PART,acs)
  1081. elseif TYPE == "Eye" then
  1082. local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1083. acs.Anchored = false
  1084. acs.CanCollide = false
  1085. acs.CFrame = PART.CFrame
  1086. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  1087. weldBetween(PART,acs)
  1088. end
  1089. end
  1090.  
  1091. createbodypart("Eye","Really black",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1092. createbodypart("Eye","White",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1093.  
  1094. --Extras--
  1095. q = char:GetChildren()
  1096. for u = 1, #q do
  1097. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1098. q[u]:remove()
  1099. elseif q[u].ClassName == "CharacterMesh" then
  1100. q[u]:remove()
  1101. elseif q[u].ClassName == "ShirtGraphic" then
  1102. q[u]:remove()
  1103. elseif q[u].ClassName == "Shirt" then
  1104. q[u]:Destroy()
  1105. elseif q[u].ClassName == "Pants" then
  1106. q[u]:Destroy()
  1107. end
  1108. end
  1109. local top = Instance.new("Shirt")
  1110. top.ShirtTemplate = "rbxassetid://831629350"
  1111. top.Parent = char
  1112. local bottom = Instance.new("Pants")
  1113. bottom.PantsTemplate = "rbxassetid://227915108"
  1114. bottom.Parent = char
  1115.  
  1116. local BodyColors = char:FindFirstChildOfClass"BodyColors"
  1117. if BodyColors then
  1118. BodyColors.HeadColor = BrickColor.new"Institutional white"
  1119. BodyColors.TorsoColor = BrickColor.new"Institutional white"
  1120. BodyColors.LeftArmColor = BrickColor.new"Institutional white"
  1121. BodyColors.RightArmColor = BrickColor.new"Institutional white"
  1122. BodyColors.LeftLegColor = BrickColor.new"Institutional white"
  1123. BodyColors.RightLegColor = BrickColor.new"Institutional white"
  1124. end
  1125.  
  1126. --Scarfs--
  1127. local Blobby = Instance.new("Part", char)
  1128. Blobby.Name = "Blob"
  1129. Blobby.CanCollide = false
  1130. Blobby.BrickColor = BrickColor.new("Institutional white")
  1131. Blobby.Transparency = 0
  1132. Blobby.Material = "Plastic"
  1133. Blobby.Size = Vector3.new(1, 1, 2)
  1134. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1135. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1136.  
  1137. local Weld = Instance.new("Weld", Blobby)
  1138. Weld.Part0 = hed
  1139. Weld.Part1 = Blobby
  1140. Weld.C1 = CFrame.new(0, 1.1, 0)
  1141. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  1142.  
  1143. local M2 = Instance.new("SpecialMesh")
  1144. M2.Parent = Blobby
  1145. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  1146. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  1147.  
  1148. local Blobby2 = Instance.new("Part", char)
  1149. Blobby2.Name = "Blob"
  1150. Blobby2.CanCollide = false
  1151. Blobby2.BrickColor = BrickColor.new("Really black")
  1152. Blobby2.Transparency = 0
  1153. Blobby2.Material = "Plastic"
  1154. Blobby2.Size = Vector3.new(1, 1, 2)
  1155. Blobby2.TopSurface = Enum.SurfaceType.Smooth
  1156. Blobby2.BottomSurface = Enum.SurfaceType.Smooth
  1157.  
  1158. local Weld = Instance.new("Weld", Blobby2)
  1159. Weld.Part0 = hed
  1160. Weld.Part1 = Blobby2
  1161. Weld.C1 = CFrame.new(0, 1.2, 0)
  1162. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  1163.  
  1164. local M2 = Instance.new("SpecialMesh")
  1165. M2.Parent = Blobby2
  1166. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  1167. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  1168.  
  1169. --Hair--
  1170. local Hair = Instance.new("Part", char)
  1171. Hair.Name = "Hair"
  1172. Hair.CanCollide = false
  1173. Hair.BrickColor = BrickColor.new("Institutional white")
  1174. Hair.Transparency = 0
  1175. Hair.Material = "Plastic"
  1176. Hair.Size = Vector3.new(1, 1, 2)
  1177. Hair.TopSurface = Enum.SurfaceType.Smooth
  1178. Hair.BottomSurface = Enum.SurfaceType.Smooth
  1179.  
  1180. local Weld = Instance.new("Weld", Hair)
  1181. Weld.Part0 = hed
  1182. Weld.Part1 = Hair
  1183. Weld.C1 = CFrame.new(0, -.5, 0)
  1184. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1185.  
  1186. local M2 = Instance.new("SpecialMesh")
  1187. M2.Parent = Hair
  1188. M2.MeshId = "http://www.roblox.com/asset/?id=346578029"
  1189. M2.Scale = Vector3.new(1.2, 1.1, 1.1)
  1190.  
  1191. --Hood--
  1192. local Hood = Instance.new("Part", char)
  1193. Hood.Name = "Hood"
  1194. Hood.CanCollide = false
  1195. Hood.BrickColor = BrickColor.new("Institutional white")
  1196. Hood.Transparency = 0
  1197. Hood.Material = "Plastic"
  1198. Hood.Size = Vector3.new(1, 1, 2)
  1199. Hood.TopSurface = Enum.SurfaceType.Smooth
  1200. Hood.BottomSurface = Enum.SurfaceType.Smooth
  1201.  
  1202. local Weld = Instance.new("Weld", Hood)
  1203. Weld.Part0 = tors
  1204. Weld.Part1 = Hood
  1205. Weld.C1 = CFrame.new(0, .4, -.9)
  1206. Weld.C0 = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(180))
  1207.  
  1208. local M2 = Instance.new("SpecialMesh")
  1209. M2.Parent = Hood
  1210. M2.MeshId = "http://www.roblox.com/asset/?id=18010902"
  1211. M2.Scale = Vector3.new(0.922, 0.922, 0.922)
  1212. hed.face.Texture = "http://www.roblox.com/asset/?id=176217905"
  1213.  
  1214.  
  1215.  
  1216. Slashy = Instance.new("Sound", ra)
  1217. Slashy.Volume = 5
  1218. Slashy.Pitch = 1
  1219. Slashy.SoundId = "http://www.roblox.com/asset/?id=978101945"
  1220. Slashy.Looped = false
  1221.  
  1222. local VALUE1 = false
  1223. local sine=0
  1224. for _, v in pairs(XBlade:GetChildren()) do
  1225. if v:IsA'BasePart' then
  1226. v.CanCollide = false
  1227. v.Transparency = 1
  1228. end
  1229. end
  1230. function intro()
  1231. attack = true
  1232. chatfunc("Finally, after all this time.",3)
  1233. hum.WalkSpeed = 0
  1234. for i = 0,6,0.1 do
  1235. swait()
  1236. 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)
  1237. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1238. 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)
  1239. 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)
  1240. 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)
  1241. 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)
  1242. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1243. end
  1244. wait(2.5)
  1245. chatfunc("At last I have a human soul.",3)
  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(0),math.rad(90)), 0.15)
  1255. end
  1256. wait(2.5)
  1257. chatfunc("And finally not attached to that dumb Skeleton.",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("You'll get to live long enough to see something special.",5)
  1270.  
  1271. for i = 0,6,0.1 do
  1272. swait()
  1273. for _, v in pairs(XBlade:GetChildren()) do
  1274. if v:IsA'BasePart' then
  1275. v.CanCollide = false
  1276. v.Transparency = v.Transparency - .3
  1277. end
  1278. end
  1279. 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)
  1280. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1281. 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)
  1282. 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)
  1283. 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)
  1284. 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)
  1285. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(180)), 0.15)
  1286. end
  1287. wait(4.5)
  1288. chatfunc("Welcome my friend, to the XEvent.",3)
  1289. wait(2.5)
  1290. CreateSound("367453005", hed, 10, 1)
  1291. 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),})
  1292. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  1293. 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),})
  1294. 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)
  1295. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1296. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1297. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1298. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1299. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1300. local bigboi = Instance.new("Sound",tors)
  1301. bigboi.SoundId = "rbxassetid://736980589"
  1302. bigboi.Volume = 2.5
  1303. bigboi.Looped = true
  1304. bigboi.Pitch = 1
  1305. bigboi:Play()
  1306. attack = false
  1307. VALUE1 = true
  1308. hum.WalkSpeed = 28
  1309. end
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315. function NothingPersonal()
  1316. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1317. local HITBODY = mouse.Target.Parent
  1318. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  1319. local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1320. if TORS ~= nil and HUMAN ~= nil then
  1321. attack = true
  1322. hum.WalkSpeed = 0
  1323. root.CFrame = TORS.CFrame * CFrame.new(-1,0,6)
  1324. TORS.Anchored = true
  1325. CreateSound("367453005", hed, 10, 1)
  1326. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1327. for i = 0,6,0.1 do
  1328. swait()
  1329. 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)
  1330. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1331. 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)
  1332. 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)
  1333. 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)
  1334. 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)
  1335. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1336. end
  1337. CreateSound("357417055", hed, 10, 1)
  1338. for i = 0,4,0.1 do
  1339. 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)
  1340. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.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(90), math.rad(0), math.rad(15)), 0.1)
  1344. 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)
  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. wait(2.5)
  1348. CreateSound("623904185", hed, 10, 1)
  1349. HITBODY:BreakJoints()
  1350. TORS.Anchored = false
  1351. attack = false
  1352. hum.WalkSpeed = 28
  1353. bleed(TORS,25)
  1354. end
  1355. end
  1356. end
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369. ---ATTACKS N STUFF
  1370. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1371. Hitboxpart = Instance.new("Part", EffectModel)
  1372. RemoveOutlines(Hitboxpart)
  1373. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1374. Hitboxpart.CanCollide = false
  1375. Hitboxpart.Transparency = 1
  1376. Hitboxpart.Anchored = true
  1377. Hitboxpart.CFrame = Pose
  1378. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1379. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1380. end
  1381. wait2 = false
  1382. combo = 1
  1383. mouse.Button1Down:connect(function(key)
  1384. if attack == false then
  1385. attack = true
  1386. hum.WalkSpeed = 3.01
  1387. if combo == 1 and wait2 == false then
  1388. wait2 = true
  1389. for i = 0, 1.2, 0.1 do
  1390. swait()
  1391. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1392. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1393. 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)
  1394. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1395. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1396. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1397. end
  1398. Effects.Ring.Create(BrickColor.new("Institutional white"), ra.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1399. Slashy:Play()
  1400. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  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(-25), 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) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1408. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1409. end
  1410. combo = 2
  1411. end
  1412. if combo == 2 and wait2 == false then
  1413. wait2 = true
  1414. HitboxFunction(ll.CFrame * CFrame.new(0, 0, .4), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
  1415. for i = 0, 1.4, 0.1 do
  1416. swait()
  1417. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15)
  1418. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1419. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.3)
  1420. 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)
  1421. 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)
  1422. 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)
  1423. end
  1424. combo = 3
  1425. end
  1426. if combo == 3 and wait2 == false then
  1427. wait2 = true
  1428.  
  1429. for i = 0, 1.2, 0.1 do
  1430. swait()
  1431. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1432. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1433. 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)
  1434. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1435. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1436. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1437. end
  1438. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1439. Effects.Ring.Create(BrickColor.new("Institutional white"), Wedge.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1440. Slashy:Play()
  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(30)), 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, -1) * angles(math.rad(55), math.rad(0), math.rad(40)), 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) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1448. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1449. end
  1450. combo = 1
  1451. end
  1452. hum.WalkSpeed = 16
  1453. wait2 = false
  1454. attack = false
  1455. end
  1456. end)
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463. function DashingSpin()
  1464. attack = true
  1465. hum.WalkSpeed = 0
  1466. CreateSound("707957812", workspace, 5, 1)
  1467. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 3.6, 3.6, 3.6, 0.05)
  1468. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 3.4, 3.4, 3.4, 0.03)
  1469. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 6.6, 6.6, 6.6, 0.05)
  1470. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 6.4, 6.4, 6.4, 0.05)
  1471. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1472.  
  1473. Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1474. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1475. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1476. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1477. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1478. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1479. root.CFrame = root.CFrame + root.CFrame.lookVector * 35
  1480. for i = 0,6,0.1 do
  1481. --Not to put a swait here this is going to be like, you know what just dont put a swait kthx
  1482. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1483. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1484. 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)
  1485. 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)
  1486. 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)
  1487. 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)
  1488. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1489. end
  1490. for i = 0,9,0.1 do
  1491. swait()
  1492. MagniDamage(Wedge, 12, 6, 12, 10, "Normal")
  1493. 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)
  1494. 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)
  1495. 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)
  1496. 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)
  1497. 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)
  1498. 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)
  1499. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1500. end
  1501. attack = false
  1502. hum.WalkSpeed = 28
  1503. end
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511. mouse.KeyDown:connect(function(key)
  1512. if attack == false then
  1513. if key == 'q' then
  1514. NothingPersonal()
  1515. elseif key == 'c' then
  1516. CreateSound("367453005", hed, 10, 1)
  1517. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1518. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  1519. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1520. elseif key == 'f' then
  1521. DashingSpin()
  1522. elseif key == 't' then
  1523. CreateSound("649634100", hed, 10, .89)
  1524. end
  1525. end
  1526. end)
  1527.  
  1528.  
  1529.  
  1530. ff = Instance.new("ForceField",char)
  1531. ff.Visible = false
  1532.  
  1533. local idle=0
  1534. local change = 1
  1535. local val = 0
  1536. toim = 0
  1537. hum.Animator.Parent = nil
  1538. idleanim=.4
  1539. while true do
  1540. swait()
  1541. hum.MaxHealth = math.huge
  1542. hum.Health = math.huge
  1543. hum.Name = "TheXEvent"
  1544. sine = sine + change
  1545. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  1546. local velderp=root.Velocity.y
  1547. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  1548. if equipped==true or equipped==false then
  1549. if attack==false then
  1550. idle=idle+1
  1551. else
  1552. idle=0
  1553. end
  1554. if root.Velocity.y > 1 and hitfloor==nil then
  1555. Anim="Jump"
  1556. if attack==false then
  1557. 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)
  1558. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1559. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1560. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1561. 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)
  1562. RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1563. end
  1564. elseif root.Velocity.y < -1 and hitfloor==nil then
  1565. Anim="Fall"
  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(-5),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(90)), 0.3)
  1570. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-90)), 0.3)
  1571. 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)
  1572. 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)
  1573. end
  1574. elseif torvel<1 and hitfloor~=nil then
  1575. Anim="Idle"
  1576. change = 1
  1577. if attack==false then
  1578. 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)
  1579. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-25)),.3)
  1580. 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)
  1581. 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)
  1582. 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)
  1583. 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)
  1584. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1585. end
  1586.  
  1587. elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
  1588. Anim="Walk"
  1589. change = 1
  1590. if attack==false then
  1591. 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)
  1592. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-0)),.3)
  1593. 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)
  1594. 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)
  1595. 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)
  1596. 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)
  1597. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1598. end
  1599. end
  1600. end
  1601.  
  1602. if 0 < #Effects then
  1603. for e = 1, #Effects do
  1604. if Effects[e] ~= nil then
  1605. local Thing = Effects[e]
  1606. if Thing ~= nil then
  1607. local Part = Thing[1]
  1608. local Mode = Thing[2]
  1609. local Delay = Thing[3]
  1610. local IncX = Thing[4]
  1611. local IncY = Thing[5]
  1612. local IncZ = Thing[6]
  1613. if 1 >= Thing[1].Transparency then
  1614. if Thing[2] == "Block1" then
  1615. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1616. local Mesh = Thing[1].Mesh
  1617. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1618. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1619. elseif Thing[2] == "Block2" then
  1620. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1621. local Mesh = Thing[7]
  1622. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1623. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1624. elseif Thing[2] == "Block3" then
  1625. 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)
  1626. local Mesh = Thing[7]
  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] == "Cylinder" then
  1630. local Mesh = Thing[1].Mesh
  1631. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1632. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1633. elseif Thing[2] == "Blood" then
  1634. local Mesh = Thing[7]
  1635. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1636. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1637. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1638. elseif Thing[2] == "Elec" then
  1639. local Mesh = Thing[1].Mesh
  1640. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1641. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1642. elseif Thing[2] == "Disappear" then
  1643. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1644. elseif Thing[2] == "Shatter" then
  1645. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1646. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1647. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1648. Thing[6] = Thing[6] + Thing[5]
  1649. end
  1650. else
  1651. Part.Parent = nil
  1652. table.remove(Effects, e)
  1653. end
  1654. end
  1655. end
  1656. end
  1657. end
  1658. if VALUE1 == false and attack == false then
  1659. intro()
  1660. end
  1661. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement