Advertisement
sneakydodge123

haise sasaki

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