Advertisement
Dudermonman

Dudexel

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