Advertisement
XSleepyDemonX_17

aaaaaDREFWQC

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