Advertisement
Dudermonman

Dude X form

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