Advertisement
Tetezaza1542

Zin

Aug 8th, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.07 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. LocalScript0 = Instance.new("LocalScript")
  20. Model1 = Instance.new("Model")
  21. Part2 = Instance.new("Part")
  22. SpecialMesh3 = Instance.new("SpecialMesh")
  23. Part4 = Instance.new("Part")
  24. Weld5 = Instance.new("Weld")
  25. SpecialMesh6 = Instance.new("SpecialMesh")
  26. UnionOperation7 = Instance.new("UnionOperation")
  27. Weld8 = Instance.new("Weld")
  28. UnionOperation9 = Instance.new("UnionOperation")
  29. Weld10 = Instance.new("Weld")
  30. Model11 = Instance.new("Model")
  31. MeshPart12 = Instance.new("MeshPart")
  32. Trail13 = Instance.new("Trail")
  33. Weld14 = Instance.new("Weld")
  34. MeshPart15 = Instance.new("MeshPart")
  35. Weld16 = Instance.new("Weld")
  36. MeshPart17 = Instance.new("MeshPart")
  37. Weld18 = Instance.new("Weld")
  38. UnionOperation19 = Instance.new("UnionOperation")
  39. Weld20 = Instance.new("Weld")
  40. Part21 = Instance.new("Part")
  41. Model22 = Instance.new("Model")
  42. Part23 = Instance.new("Part")
  43. UnionOperation24 = Instance.new("UnionOperation")
  44. Weld25 = Instance.new("Weld")
  45. UnionOperation26 = Instance.new("UnionOperation")
  46. Weld27 = Instance.new("Weld")
  47. Model28 = Instance.new("Model")
  48. Part29 = Instance.new("Part")
  49. UnionOperation30 = Instance.new("UnionOperation")
  50. Weld31 = Instance.new("Weld")
  51. ParticleEmitter32 = Instance.new("ParticleEmitter")
  52. ParticleEmitter33 = Instance.new("ParticleEmitter")
  53. LocalScript0.Name = "zm"
  54. LocalScript0.Parent = mas
  55. table.insert(cors,sandbox(LocalScript0,function()
  56. --//====================================================\\--
  57. --|| CREATED BY SHACKLUSTER
  58. --\\====================================================//--
  59.  
  60. wait(0.2)
  61.  
  62. Player = owner
  63. PlayerGui = Player.PlayerGui
  64. Cam = workspace.CurrentCamera
  65. Backpack = Player.Backpack
  66. Character = Player.Character
  67. Humanoid = Character.Humanoid
  68. Mouse = Player:GetMouse()
  69. RootPart = Character["HumanoidRootPart"]
  70. Torso = Character["Torso"]
  71. Head = Character["Head"]
  72. RightArm = Character["Right Arm"]
  73. LeftArm = Character["Left Arm"]
  74. RightLeg = Character["Right Leg"]
  75. LeftLeg = Character["Left Leg"]
  76. RootJoint = RootPart["RootJoint"]
  77. Neck = Torso["Neck"]
  78. RightShoulder = Torso["Right Shoulder"]
  79. LeftShoulder = Torso["Left Shoulder"]
  80. RightHip = Torso["Right Hip"]
  81. LeftHip = Torso["Left Hip"]
  82. local sick = Instance.new("Sound",Character)
  83.  
  84. IT = Instance.new
  85. CF = CFrame.new
  86. VT = Vector3.new
  87. RAD = math.rad
  88. C3 = Color3.new
  89. UD2 = UDim2.new
  90. BRICKC = BrickColor.new
  91. ANGLES = CFrame.Angles
  92. EULER = CFrame.fromEulerAnglesXYZ
  93. COS = math.cos
  94. ACOS = math.acos
  95. SIN = math.sin
  96. ASIN = math.asin
  97. ABS = math.abs
  98. MRANDOM = math.random
  99. FLOOR = math.floor
  100.  
  101. --//=================================\\
  102. --|| USEFUL VALUES
  103. --\\=================================//
  104.  
  105. Animation_Speed = 3
  106. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  107. local Speed = 16
  108. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  109. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  110. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  111. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  112. local DAMAGEMULTIPLIER = 1
  113. local ANIM = "Idle"
  114. local ATTACK = false
  115. local MELEE = false
  116. local EQUIPPED = false
  117. local HOLD = false
  118. local COMBO = 1
  119. local Rooted = false
  120. local SINE = 0
  121. local KEYHOLD = false
  122. local CHANGE = 2 / Animation_Speed
  123. local WALKINGANIM = false
  124. local VALUE1 = false
  125. local VALUE2 = false
  126. local ROBLOXIDLEANIMATION = IT("Animation")
  127. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  128. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  129. --ROBLOXIDLEANIMATION.Parent = Humanoid
  130. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  131. WEAPONGUI.Name = "Weapon GUI"
  132. local Effects = IT("Folder", Character)
  133. Effects.Name = "Effects"
  134. local ANIMATOR = Humanoid.Animator
  135. local ANIMATE = Character.Animate
  136. local UNANCHOR = true
  137. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  138. local EXTRATRANS = 0
  139. local DASHING = false
  140.  
  141. --//=================================\\
  142. --\\=================================//
  143.  
  144.  
  145. --//=================================\\
  146. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  147. --\\=================================//
  148.  
  149. ArtificialHB = Instance.new("BindableEvent", script)
  150. ArtificialHB.Name = "ArtificialHB"
  151.  
  152. script:WaitForChild("ArtificialHB")
  153.  
  154. frame = Frame_Speed
  155. tf = 0
  156. allowframeloss = false
  157. tossremainder = false
  158. lastframe = tick()
  159. script.ArtificialHB:Fire()
  160.  
  161. game:GetService("RunService").Heartbeat:connect(function(s, p)
  162. tf = tf + s
  163. if tf >= frame then
  164. if allowframeloss then
  165. script.ArtificialHB:Fire()
  166. lastframe = tick()
  167. else
  168. for i = 1, math.floor(tf / frame) do
  169. script.ArtificialHB:Fire()
  170. end
  171. lastframe = tick()
  172. end
  173. if tossremainder then
  174. tf = 0
  175. else
  176. tf = tf - frame * math.floor(tf / frame)
  177. end
  178. end
  179. end)
  180.  
  181. --//=================================\\
  182. --\\=================================//
  183.  
  184. --//=================================\\
  185. --|| SOME FUNCTIONS
  186. --\\=================================//
  187.  
  188. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  189. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  190. end
  191.  
  192. function PositiveAngle(NUMBER)
  193. if NUMBER >= 0 then
  194. NUMBER = 0
  195. end
  196. return NUMBER
  197. end
  198.  
  199. function NegativeAngle(NUMBER)
  200. if NUMBER <= 0 then
  201. NUMBER = 0
  202. end
  203. return NUMBER
  204. end
  205.  
  206. function Swait(NUMBER)
  207. if NUMBER == 0 or NUMBER == nil then
  208. ArtificialHB.Event:wait()
  209. else
  210. for i = 1, NUMBER do
  211. ArtificialHB.Event:wait()
  212. end
  213. end
  214. end
  215.  
  216. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  217. local NEWMESH = IT(MESH)
  218. if MESH == "SpecialMesh" then
  219. NEWMESH.MeshType = MESHTYPE
  220. if MESHID ~= "nil" and MESHID ~= "" then
  221. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  222. end
  223. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  224. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  225. end
  226. end
  227. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  228. NEWMESH.Scale = SCALE
  229. NEWMESH.Parent = PARENT
  230. return NEWMESH
  231. end
  232.  
  233. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  234. local NEWPART = IT("Part")
  235. NEWPART.formFactor = FORMFACTOR
  236. NEWPART.Reflectance = REFLECTANCE
  237. NEWPART.Transparency = TRANSPARENCY
  238. NEWPART.CanCollide = false
  239. NEWPART.Locked = true
  240. NEWPART.Anchored = true
  241. if ANCHOR == false then
  242. NEWPART.Anchored = false
  243. end
  244. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  245. NEWPART.Name = NAME
  246. NEWPART.Size = SIZE
  247. NEWPART.Position = Torso.Position
  248. NEWPART.Material = MATERIAL
  249. NEWPART:BreakJoints()
  250. NEWPART.Parent = PARENT
  251. return NEWPART
  252. end
  253.  
  254. local function weldBetween(a, b)
  255. local weldd = Instance.new("ManualWeld")
  256. weldd.Part0 = a
  257. weldd.Part1 = b
  258. weldd.C0 = CFrame.new()
  259. weldd.C1 = b.CFrame:inverse() * a.CFrame
  260. weldd.Parent = a
  261. return weldd
  262. end
  263.  
  264.  
  265. function QuaternionFromCFrame(cf)
  266. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  267. local trace = m00 + m11 + m22
  268. if trace > 0 then
  269. local s = math.sqrt(1 + trace)
  270. local recip = 0.5 / s
  271. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  272. else
  273. local i = 0
  274. if m11 > m00 then
  275. i = 1
  276. end
  277. if m22 > (i == 0 and m00 or m11) then
  278. i = 2
  279. end
  280. if i == 0 then
  281. local s = math.sqrt(m00 - m11 - m22 + 1)
  282. local recip = 0.5 / s
  283. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  284. elseif i == 1 then
  285. local s = math.sqrt(m11 - m22 - m00 + 1)
  286. local recip = 0.5 / s
  287. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  288. elseif i == 2 then
  289. local s = math.sqrt(m22 - m00 - m11 + 1)
  290. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  291. end
  292. end
  293. end
  294.  
  295. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  296. local xs, ys, zs = x + x, y + y, z + z
  297. local wx, wy, wz = w * xs, w * ys, w * zs
  298. local xx = x * xs
  299. local xy = x * ys
  300. local xz = x * zs
  301. local yy = y * ys
  302. local yz = y * zs
  303. local zz = z * zs
  304. 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))
  305. end
  306.  
  307. function QuaternionSlerp(a, b, t)
  308. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  309. local startInterp, finishInterp;
  310. if cosTheta >= 0.0001 then
  311. if (1 - cosTheta) > 0.0001 then
  312. local theta = ACOS(cosTheta)
  313. local invSinTheta = 1 / SIN(theta)
  314. startInterp = SIN((1 - t) * theta) * invSinTheta
  315. finishInterp = SIN(t * theta) * invSinTheta
  316. else
  317. startInterp = 1 - t
  318. finishInterp = t
  319. end
  320. else
  321. if (1 + cosTheta) > 0.0001 then
  322. local theta = ACOS(-cosTheta)
  323. local invSinTheta = 1 / SIN(theta)
  324. startInterp = SIN((t - 1) * theta) * invSinTheta
  325. finishInterp = SIN(t * theta) * invSinTheta
  326. else
  327. startInterp = t - 1
  328. finishInterp = t
  329. end
  330. end
  331. 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
  332. end
  333.  
  334. function Clerp(a, b, t)
  335. local qa = {QuaternionFromCFrame(a)}
  336. local qb = {QuaternionFromCFrame(b)}
  337. local ax, ay, az = a.x, a.y, a.z
  338. local bx, by, bz = b.x, b.y, b.z
  339. local _t = 1 - t
  340. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  341. end
  342.  
  343. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  344. local frame = IT("Frame")
  345. frame.BackgroundTransparency = TRANSPARENCY
  346. frame.BorderSizePixel = BORDERSIZEPIXEL
  347. frame.Position = POSITION
  348. frame.Size = SIZE
  349. frame.BackgroundColor3 = COLOR
  350. frame.BorderColor3 = BORDERCOLOR
  351. frame.Name = NAME
  352. frame.Parent = PARENT
  353. return frame
  354. end
  355.  
  356. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  357. local label = IT("TextLabel")
  358. label.BackgroundTransparency = 1
  359. label.Size = UD2(1, 0, 1, 0)
  360. label.Position = UD2(0, 0, 0, 0)
  361. label.TextColor3 = TEXTCOLOR
  362. label.TextStrokeTransparency = STROKETRANSPARENCY
  363. label.TextTransparency = TRANSPARENCY
  364. label.FontSize = TEXTFONTSIZE
  365. label.Font = TEXTFONT
  366. label.BorderSizePixel = BORDERSIZEPIXEL
  367. label.TextScaled = false
  368. label.Text = TEXT
  369. label.Name = NAME
  370. label.Parent = PARENT
  371. return label
  372. end
  373.  
  374. function NoOutlines(PART)
  375. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  376. end
  377.  
  378. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  379. local NEWWELD = IT(TYPE)
  380. NEWWELD.Part0 = PART0
  381. NEWWELD.Part1 = PART1
  382. NEWWELD.C0 = C0
  383. NEWWELD.C1 = C1
  384. NEWWELD.Parent = PARENT
  385. return NEWWELD
  386. end
  387.  
  388. local S = IT("Sound")
  389. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  390. local NEWSOUND = nil
  391. coroutine.resume(coroutine.create(function()
  392. NEWSOUND = S:Clone()
  393. NEWSOUND.Parent = PARENT
  394. NEWSOUND.Volume = VOLUME
  395. NEWSOUND.Pitch = PITCH
  396. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  397. NEWSOUND:play()
  398. if DOESLOOP == true then
  399. NEWSOUND.Looped = true
  400. else
  401. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  402. NEWSOUND.Playing = false
  403. NEWSOUND:remove()
  404. end
  405. end))
  406. return NEWSOUND
  407. end
  408.  
  409. function CFrameFromTopBack(at, top, back)
  410. local right = top:Cross(back)
  411. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  412. end
  413.  
  414. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  415. function WACKYEFFECT(Table)
  416. local TYPE = (Table.EffectType or "Sphere")
  417. local SIZE = (Table.Size or VT(1,1,1))
  418. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  419. local TRANSPARENCY = (Table.Transparency or 0)
  420. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  421. local CFRAME = (Table.CFrame or Torso.CFrame)
  422. local MOVEDIRECTION = (Table.MoveToPos or nil)
  423. local ROTATION1 = (Table.RotationX or 0)
  424. local ROTATION2 = (Table.RotationY or 0)
  425. local ROTATION3 = (Table.RotationZ or 0)
  426. local MATERIAL = (Table.Material or "Neon")
  427. local COLOR = (Table.Color or C3(1,1,1))
  428. local TIME = (Table.Time or 45)
  429. local SOUNDID = (Table.SoundID or nil)
  430. local SOUNDPITCH = (Table.SoundPitch or nil)
  431. local SOUNDVOLUME = (Table.SoundVolume or nil)
  432. coroutine.resume(coroutine.create(function()
  433. local PLAYSSOUND = false
  434. local SOUND = nil
  435. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  436. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  437. PLAYSSOUND = true
  438. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  439. end
  440. EFFECT.Color = COLOR
  441. local MSH = nil
  442. if TYPE == "Sphere" then
  443. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  444. elseif TYPE == "Block" then
  445. MSH = IT("BlockMesh",EFFECT)
  446. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  447. elseif TYPE == "Wave" then
  448. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  449. elseif TYPE == "Ring" then
  450. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  451. elseif TYPE == "Slash" then
  452. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  453. elseif TYPE == "Round Slash" then
  454. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  455. elseif TYPE == "Swirl" then
  456. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  457. elseif TYPE == "Skull" then
  458. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  459. elseif TYPE == "Crystal" then
  460. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  461. end
  462. if MSH ~= nil then
  463. local MOVESPEED = nil
  464. if MOVEDIRECTION ~= nil then
  465. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  466. end
  467. local GROWTH = SIZE - ENDSIZE
  468. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  469. if TYPE == "Block" then
  470. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  471. else
  472. EFFECT.CFrame = CFRAME
  473. end
  474. for LOOP = 1, TIME+1 do
  475. Swait()
  476. MSH.Scale = MSH.Scale - GROWTH/TIME
  477. if TYPE == "Wave" then
  478. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  479. end
  480. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  481. if TYPE == "Block" then
  482. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  483. else
  484. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  485. end
  486. if MOVEDIRECTION ~= nil then
  487. local ORI = EFFECT.Orientation
  488. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  489. EFFECT.Orientation = ORI
  490. end
  491. end
  492. if PLAYSSOUND == false then
  493. EFFECT:remove()
  494. else
  495. repeat Swait() until SOUND.Playing == false
  496. EFFECT:remove()
  497. end
  498. else
  499. if PLAYSSOUND == false then
  500. EFFECT:remove()
  501. else
  502. repeat Swait() until SOUND.Playing == false
  503. EFFECT:remove()
  504. end
  505. end
  506. end))
  507. end
  508.  
  509. function MakeForm(PART,TYPE)
  510. if TYPE == "Cyl" then
  511. local MSH = IT("CylinderMesh",PART)
  512. elseif TYPE == "Ball" then
  513. local MSH = IT("SpecialMesh",PART)
  514. MSH.MeshType = "Sphere"
  515. elseif TYPE == "Wedge" then
  516. local MSH = IT("SpecialMesh",PART)
  517. MSH.MeshType = "Wedge"
  518. end
  519. end
  520.  
  521. Debris = game:GetService("Debris")
  522.  
  523. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  524. local DIRECTION = CF(StartPos,EndPos).lookVector
  525. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  526. end
  527.  
  528. function turnto(position)
  529. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  530. end
  531.  
  532. function WaveParticles(Position,Size,Color)
  533. local BASE = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Shockwave", VT(0,0,0), true)
  534. BASE.CFrame = CF(Position)
  535. local A = IT("Attachment",BASE)
  536. local WAVE = script.Wave:Clone()
  537. WAVE.Parent = A
  538. WAVE.Size = NumberSequence.new(0,Size)
  539. WAVE.Color = ColorSequence.new(Color)
  540. Debris:AddItem(BASE,0.5)
  541. WAVE:Emit(1)
  542. end
  543.  
  544. --//=================================\\
  545. --|| WEAPON CREATION
  546. --\\=================================//
  547.  
  548. for _, c in pairs(Character:GetChildren()) do
  549. if script:FindFirstChild(c.Name) then
  550. local Part = script[c.Name]
  551. Part.Parent = Character
  552. Part.Base.Anchored = false
  553. Part:SetPrimaryPartCFrame(c.CFrame)
  554. weldBetween(c,Part.Base)
  555. for _, e in pairs(Part:GetChildren()) do
  556. if e:IsA("BasePart") and e.Name ~= "Base" then
  557. e.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  558. e.Locked = true
  559. e.Anchored = false
  560. e.Parent = Character
  561. weldBetween(c,e)
  562. end
  563. end
  564. Part:remove()
  565. end
  566. end
  567. local Weapon = script.Weapon
  568. Weapon.Parent = Character
  569. local Grip = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Weapon.Bostaff, CF(0, -1, 0)*ANGLES(RAD(-90),RAD(0),RAD(0)), CF(0, 0, 0))
  570.  
  571. --[[local BONE = CreatePart(3, nil, "SmoothPlastic", 0, 0, BRICKC("Bright yellow"), "Tail", VT(0.3,0.5,0.3), false)
  572. MakeForm(BONE,"Cyl")
  573.  
  574. local TAIL = {}
  575. local LASTPART = Torso
  576. local SIZE = BONE.Size
  577. for i = 1, 15 do
  578. local PART = BONE:Clone()
  579. PART.Anchored = false
  580. PART.Parent = Character
  581. PART.Size = SIZE*((17-i)/10)/1.6
  582. if LASTPART == Torso then
  583. local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-1,0.6)* ANGLES(RAD(-55), RAD(0), RAD(0)), CF(0, 0, 0))
  584. LASTPART = PART
  585. table.insert(TAIL,WELD)
  586. else
  587. local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-PART.Size.Y/2,0), CF(0, PART.Size.Y/2, 0))
  588. LASTPART = PART
  589. table.insert(TAIL,WELD)
  590. end
  591. end]]--
  592.  
  593. for _, c in pairs(Character:GetChildren()) do
  594. if c.ClassName == "Part" and c.Name ~= "Eye" then
  595. c.Material = "SmoothPlastic"
  596. if c:FindFirstChildOfClass("ParticleEmitter") then
  597. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  598. end
  599. if c == LeftLeg or c == RightLeg then
  600. c.Color = C3(0.12,0.12,0.12)
  601. elseif c == Torso then
  602. c.Color = C3(0.15,0.15,0.15)
  603. else
  604. c.BrickColor = BRICKC"Bright yellow"
  605. end
  606. if c == Head then
  607. if c:FindFirstChild("face") then
  608. c.face:remove()
  609. end
  610. end
  611. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  612. c:remove()
  613. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  614. c:remove()
  615. end
  616. end
  617. local BODY = {}
  618. for _, c in pairs(Character:GetDescendants()) do
  619. if c:IsA("BasePart") and c.Name ~= "Handle" then
  620. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  621. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  622. end
  623. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  624. elseif c:IsA("JointInstance") then
  625. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  626. end
  627. end
  628. for e = 1, #BODY do
  629. if BODY[e] ~= nil then
  630. local STUFF = BODY[e]
  631. local PART = STUFF[1]
  632. local PARENT = STUFF[2]
  633. local MATERIAL = STUFF[3]
  634. local COLOR = STUFF[4]
  635. local TRANSPARENCY = STUFF[5]
  636. if PART.ClassName == "Part" and PART ~= RootPart then
  637. PART.Material = MATERIAL
  638. PART.Color = COLOR
  639. PART.Transparency = TRANSPARENCY
  640. end
  641. PART.AncestryChanged:Connect(function()
  642. PART.Parent = PARENT
  643. end)
  644. end
  645. end
  646. function refit()
  647. Character.Parent = workspace
  648. for e = 1, #BODY do
  649. if BODY[e] ~= nil then
  650. local STUFF = BODY[e]
  651. local PART = STUFF[1]
  652. local PARENT = STUFF[2]
  653. local MATERIAL = STUFF[3]
  654. local COLOR = STUFF[4]
  655. local TRANSPARENCY = STUFF[5]
  656. if PART:IsA("BasePart") and PART ~= RootPart then
  657. PART.Material = MATERIAL
  658. PART.Color = COLOR
  659. PART.Transparency = TRANSPARENCY+EXTRATRANS
  660. end
  661. if PART.Parent ~= PARENT then
  662. Humanoid:remove()
  663. PART.Parent = PARENT
  664. Humanoid = IT("Humanoid",Character)
  665. end
  666. end
  667. end
  668. end
  669.  
  670. Humanoid.Died:connect(function()
  671. refit()
  672. end)
  673.  
  674. local SKILLTEXTCOLOR = C3(1,1,1)
  675. local SKILLFONT = "Fantasy"
  676. local SKILLTEXTSIZE = 5
  677.  
  678. local MOBILITY = {"1x","1x","1x","1","IAMbck"}
  679. local ATTACKS = {"Click","Z","X","C","V","M","G","P"}
  680. local MOBILITYFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.71, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  681. local TEXT = CreateLabel(MOBILITYFRAME, "[MADE BY]", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0.5, "Skill text")
  682. local ATTACKSFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  683. local TEXT = CreateLabel(ATTACKSFRAME, "[ATTACKS]", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0.5, "Skill text")
  684.  
  685. for i = 1, #MOBILITY do
  686. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.71, 0, 0.90-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  687. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..MOBILITY[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Skill text")
  688. end
  689. for i = 1, #ATTACKS do
  690. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  691. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Skill text")
  692. end
  693.  
  694. --//=================================\\
  695. --|| DAMAGING
  696. --\\=================================//
  697.  
  698. function ApplyDamage(Humanoid,Damage)
  699. Damage = Damage * DAMAGEMULTIPLIER
  700. if Humanoid.Health < 2000 then
  701. if Humanoid.Health - Damage > 0 then
  702. Humanoid.Health = Humanoid.Health - Damage
  703. else
  704. Humanoid.Parent:BreakJoints()
  705. end
  706. else
  707. Humanoid.Parent:BreakJoints()
  708. end
  709. end
  710.  
  711. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  712. local CHILDREN = workspace:GetDescendants()
  713. for index, CHILD in pairs(CHILDREN) do
  714. if CHILD.ClassName == "Model" and CHILD ~= Character then
  715. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  716. if HUM then
  717. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  718. if TORSO then
  719. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  720. if INSTAKILL == true then
  721. CHILD:BreakJoints()
  722. else
  723. local DMG = MRANDOM(MINDMG,MAXDMG)
  724. ApplyDamage(HUM,DMG)
  725. end
  726. if FLING > 0 then
  727. for _, c in pairs(CHILD:GetChildren()) do
  728. if c:IsA("BasePart") then
  729. local bv = Instance.new("BodyVelocity")
  730. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  731. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  732. bv.Parent = c
  733. Debris:AddItem(bv,0.05)
  734. end
  735. end
  736. end
  737. end
  738. end
  739. end
  740. end
  741. end
  742. end
  743.  
  744. function APPLYMELEE(PART,MINDMG,MAXDMG,CANSTUN)
  745. local HITS = {}
  746. local TOUCH = PART.Touched:Connect(function(hit)
  747. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  748. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  749. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  750. if TORSO and HUM.Health > 0 then
  751. local PASS = true
  752. for i = 1, #HITS do
  753. if HITS[i] == hit.Parent then
  754. PASS = false
  755. end
  756. end
  757. table.insert(HITS,hit.Parent)
  758. if PASS == true then
  759. for i = 1, 3 do
  760. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0.3,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  761. end
  762. ApplyDamage(HUM,MRANDOM(MINDMG,MAXDMG),TORSO,CANSTUN)
  763. CreateSound(HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)],TORSO,2,MRANDOM(8,12)/10,false)
  764. end
  765. end
  766. end
  767. end)
  768. return TOUCH
  769. end
  770.  
  771. --//=================================\\
  772. --|| MOBILITY STUFF
  773. --\\=================================//
  774.  
  775. function Mobility(CFR)
  776. Weapon.TrailBlade.Trail.Enabled = false
  777. local POS = RootPart.Position
  778. EXTRATRANS = 1
  779. DASHING = true
  780. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(12,12,12), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 182765513, SoundPitch = 1, SoundVolume = 3})
  781. repeat
  782. RootPart.CFrame = RootPart.CFrame*CFR
  783. for i = 1, 5 do
  784. WACKYEFFECT({Time = MRANDOM(10,40), EffectType = "Sphere", Size = VT(2,2,0.7), Size2 = VT(0,0,10), Transparency = 0, Transparency2 = 1, CFrame = CF(CF(POS) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,2).p,RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  785. end
  786. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(6,8,6), Size2 = VT(0,4,0), Transparency = 1, Transparency2 = 0.8, CFrame = CF(RootPart.Position,POS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = CF(RootPart.Position,POS)*CF(0,0,-35).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  787. POS = RootPart.Position
  788. RootPart.Velocity = VT(0,0,0)
  789. Swait()
  790. until KEYHOLD == false or ATTACK == true or MELEE == true
  791. EXTRATRANS = 0
  792. DASHING = false
  793. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(12,12,12), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 182765513, SoundPitch = 1, SoundVolume = 3})
  794. RootPart.Velocity = VT(0,0,0)
  795. Weapon.TrailBlade.Trail.Enabled = true
  796. end
  797.  
  798. --//=================================\\
  799. --|| ATTACK FUNCTIONS AND STUFF
  800. --\\=================================//
  801.  
  802. function Clicks()
  803. MELEE = true
  804. Rooted = false
  805. Weapon.MainBlade.CanCollide = true
  806. repeat
  807. if COMBO == 1 and ATTACK == false then
  808. COMBO = 2
  809. for i=0, 0.15, 0.1 / Animation_Speed do
  810. Swait()
  811. if ATTACK == true then
  812. break
  813. end
  814. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  815. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
  816. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(40)), 2 / Animation_Speed)
  817. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  818. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  819. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 2 / Animation_Speed)
  820. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 2 / Animation_Speed)
  821. end
  822. CreateSound(143501853,Weapon.TrailBlade,2,MRANDOM(8,13)/10,false)
  823. local DMGER = APPLYMELEE(Weapon.MainBlade,8,12,false)
  824. for i=0, 0.4, 0.1 / Animation_Speed do
  825. Swait()
  826. if ATTACK == true then
  827. break
  828. end
  829. Grip.C1 = Clerp(Grip.C1,CF(0, -1, 0.35) * ANGLES(RAD(80), RAD(0), RAD(0)), 1 / Animation_Speed)
  830. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
  831. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-50)), 1 / Animation_Speed)
  832. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  833. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  834. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  835. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  836. end
  837. DMGER:Disconnect()
  838. elseif COMBO == 2 and ATTACK == false then
  839. COMBO = 3
  840. local DMGER = APPLYMELEE(Weapon.MainBlade,25,35,false)
  841. CreateSound(134012322,Weapon.TrailBlade,4,MRANDOM(8,13)/10,false)
  842. for i = 1, 15 do
  843. Swait()
  844. if ATTACK == true then
  845. break
  846. end
  847. RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.02)
  848. Grip.C1 = Clerp(Grip.C1,CF(0, 1, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  849. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80-(i*(360/15)))), 2.5 / Animation_Speed)
  850. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(30), RAD(0), RAD(0)), 1 / Animation_Speed)
  851. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  852. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  853. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25, -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  854. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  855. end
  856. DMGER:Disconnect()
  857. elseif COMBO == 3 and ATTACK == false then
  858. COMBO = 1
  859. for i=0, 0.5, 0.1 / Animation_Speed do
  860. Swait()
  861. if ATTACK == true then
  862. break
  863. end
  864. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(60), RAD(0), RAD(0)), 1 / Animation_Speed)
  865. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  866. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(25)), 1 / Animation_Speed)
  867. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  868. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  869. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  870. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  871. end
  872. CreateSound(143501853,Weapon.TrailBlade,2,MRANDOM(8,13)/10,false)
  873. local DMGER = APPLYMELEE(Weapon.MainBlade,10,15,false)
  874. for i=0, 0.6, 0.1 / Animation_Speed do
  875. Swait()
  876. if ATTACK == true then
  877. break
  878. end
  879. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(55), RAD(0), RAD(0)), 1 / Animation_Speed)
  880. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
  881. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-40)), 1 / Animation_Speed)
  882. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(120), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  883. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  884. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  885. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  886. end
  887. DMGER:Disconnect()
  888. end
  889. until HOLD == false or ATTACK == true
  890. if COMBO == 2 and ATTACK == false then
  891. for i=0, 0.5, 0.1 / Animation_Speed do
  892. Swait()
  893. if ATTACK == true then
  894. break
  895. end
  896. Grip.C1 = Clerp(Grip.C1,CF(0, -1, 0.35) * ANGLES(RAD(80), RAD(0), RAD(0)), 1 / Animation_Speed)
  897. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
  898. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-50)), 1 / Animation_Speed)
  899. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  900. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  901. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  902. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  903. end
  904. end
  905. Weapon.MainBlade.CanCollide = false
  906. coroutine.resume(coroutine.create(function()
  907. for i = 1, 50 do
  908. Swait()
  909. if MELEE == true then
  910. break
  911. end
  912. end
  913. if MELEE == false then
  914. COMBO = 1
  915. end
  916. end))
  917. MELEE = false
  918. Rooted = false
  919. end
  920.  
  921. function Aerial()
  922. ATTACK = true
  923. Rooted = false
  924. local DMGER = APPLYMELEE(Weapon.MainBlade,35,45,false)
  925. CreateSound(134012322,Weapon.TrailBlade,4,MRANDOM(8,13)/10,false)
  926. for i = 1, 12 do
  927. Swait()
  928. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  929. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(-i*(360/10))), 2 / Animation_Speed)
  930. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-65)), 1 / Animation_Speed)
  931. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  932. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  933. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  934. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  935. end
  936. DMGER:Disconnect()
  937. ATTACK = false
  938. Rooted = false
  939. end
  940.  
  941. function ZenBullet()
  942. ATTACK = true
  943. Rooted = false
  944. if MELEE == true then
  945. for i=0, 0.3, 0.1 / Animation_Speed do
  946. Swait()
  947. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  948. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  949. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  950. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  951. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(95), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  952. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  953. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  954. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  955. end
  956. else
  957. local GYRO = IT("BodyGyro",RootPart)
  958. GYRO.D = 2
  959. GYRO.P = 2000
  960. GYRO.MaxTorque = VT(0,4000000,0)
  961. coroutine.resume(coroutine.create(function()
  962. repeat
  963. Swait()
  964. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  965. until ATTACK == false
  966. GYRO:Remove()
  967. end))
  968. for i=0, 1, 0.1 / Animation_Speed do
  969. Swait()
  970. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  971. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  972. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  973. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(95), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  974. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  975. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  976. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  977. end
  978. end
  979. ATTACK = false
  980. Rooted = false
  981. end
  982.  
  983. function AttackTemplate()
  984. ATTACK = true
  985. Rooted = false
  986. for i=0, 1, 0.1 / Animation_Speed do
  987. Swait()
  988. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  989. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  990. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  991. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(95), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  992. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  993. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  994. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  995. end
  996. ATTACK = false
  997. Rooted = false
  998. end
  999.  
  1000. --//=================================\\
  1001. --|| ASSIGN THINGS TO KEYS
  1002. --\\=================================//
  1003.  
  1004. function MouseDown(Mouse)
  1005. HOLD = true
  1006. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1007. if HITFLOOR then
  1008. if ATTACK == false and MELEE == false then
  1009. Clicks()
  1010. end
  1011. elseif ATTACK == false then
  1012. Aerial()
  1013. end
  1014. end
  1015.  
  1016. function MouseUp(Mouse)
  1017. HOLD = false
  1018. end
  1019.  
  1020. function KeyDown(Key)
  1021. KEYHOLD = true
  1022. --MOBILITY--
  1023. if DASHING == false and MELEE == false then
  1024. if Key == "z" and ATTACK == false then
  1025. Mobility(CF(0,5,0))
  1026. end
  1027.  
  1028. if Key == "b" and ATTACK == false then
  1029. Mobility(CF(0,0,-5))
  1030. end
  1031.  
  1032. if Key == "c" and ATTACK == false then
  1033. Mobility(CF(0,0,5))
  1034. end
  1035.  
  1036. if Key == "g" and ATTACK == false then
  1037. Mobility(CF(5,0,0))
  1038. end
  1039.  
  1040. if Key == "h" and ATTACK == false then
  1041. Mobility(CF(-5,0,0))
  1042. end
  1043. end
  1044. --ATTACKS--
  1045. if Key == "q" and ATTACK == false then
  1046. end
  1047.  
  1048. if Key == "e" and ATTACK == false then
  1049. end
  1050.  
  1051. if Key == "v" and ATTACK == false then
  1052. end
  1053.  
  1054. if Key == "x" and ATTACK == false then
  1055. end
  1056.  
  1057. if Key == "m" and ATTACK == false then
  1058. ZenBullet()
  1059. end
  1060. end
  1061.  
  1062. function KeyUp(Key)
  1063. KEYHOLD = false
  1064. end
  1065.  
  1066. Mouse.Button1Down:connect(function(NEWKEY)
  1067. MouseDown(NEWKEY)
  1068. end)
  1069. Mouse.Button1Up:connect(function(NEWKEY)
  1070. MouseUp(NEWKEY)
  1071. end)
  1072. Mouse.KeyDown:connect(function(NEWKEY)
  1073. KeyDown(NEWKEY)
  1074. end)
  1075. Mouse.KeyUp:connect(function(NEWKEY)
  1076. KeyUp(NEWKEY)
  1077. end)
  1078.  
  1079. --//=================================\\
  1080. --\\=================================//
  1081.  
  1082. function unanchor()
  1083. for _, c in pairs(Character:GetChildren()) do
  1084. if c:IsA("BasePart") and c ~= RootPart then
  1085. c.Anchored = false
  1086. end
  1087. end
  1088. if UNANCHOR == true then
  1089. RootPart.Anchored = false
  1090. else
  1091. RootPart.Anchored = true
  1092. end
  1093. end
  1094.  
  1095. --//=================================\\
  1096. --|| WRAP THE WHOLE SCRIPT UP
  1097. --\\=================================//
  1098.  
  1099. Humanoid.Changed:connect(function(Jump)
  1100. if Jump == "Jump" and (Disable_Jump == true) then
  1101. Humanoid.Jump = false
  1102. end
  1103. end)
  1104.  
  1105. while true do
  1106. Swait()
  1107. script.Parent = WEAPONGUI
  1108. ANIMATE.Parent = nil
  1109. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1110. v:Stop();
  1111. end
  1112. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1113. Humanoid = IT("Humanoid",Character)
  1114. end
  1115. SINE = SINE + CHANGE
  1116. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1117. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1118. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1119. local WALKSPEEDVALUE = 4
  1120. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1121. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1122. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1123. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1124. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1125. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1126. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1127. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1128. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1129. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1130. end
  1131. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1132. ANIM = "Jump"
  1133. if ATTACK == false and MELEE == false then
  1134. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1135. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1136. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1137. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1138. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1139. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1140. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1141. end
  1142. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1143. ANIM = "Fall"
  1144. if ATTACK == false and MELEE == false then
  1145. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1146. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1147. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1148. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1149. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1150. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1151. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1152. end
  1153. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1154. ANIM = "Idle"
  1155. if ATTACK == false and MELEE == false then
  1156. Grip.C1 = Clerp(Grip.C1,CF(0, 0.2 + 0.1 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(2 * COS(SINE / 12)), RAD(0)), 1 / Animation_Speed)
  1157. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1158. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1159. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(95), RAD(0), RAD(15+1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1160. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.4) * ANGLES(RAD(-45-2 * COS(SINE / 12)), RAD(0), RAD(45+2 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1161. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1162. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1163. end
  1164. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1165. ANIM = "Walk"
  1166. if ATTACK == false and MELEE == false then
  1167. Grip.C1 = Clerp(Grip.C1,CF(0, 0, 0) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1168. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1169. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1 / Animation_Speed)
  1170. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1171. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1172. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(-5), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1173. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-5), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1174. end
  1175. end
  1176. --[[for E = 1, #TAIL do
  1177. TAIL[E].C1 = Clerp(TAIL[E].C1,CF(0, 0, 0) * ANGLES(RAD(5-1 * SIN(SINE / 3)), RAD(-2 * COS(SINE / 6)), RAD(4 * SIN(SINE / 6))), 1 / Animation_Speed)
  1178. end]]
  1179. unanchor()
  1180. Humanoid.MaxHealth = 15e15
  1181. Humanoid.Health = 15e15
  1182. if Rooted == false then
  1183. Disable_Jump = false
  1184. Humanoid.WalkSpeed = Speed
  1185. elseif Rooted == true then
  1186. Disable_Jump = true
  1187. Humanoid.WalkSpeed = 0
  1188. end
  1189. refit()
  1190. for _, c in pairs(Character:GetChildren()) do
  1191. if c.ClassName == "Part" and c.Name ~= "Eye" then
  1192. c.Material = "SmoothPlastic"
  1193. if c:FindFirstChildOfClass("ParticleEmitter") then
  1194. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1195. end
  1196. if c == LeftLeg or c == RightLeg then
  1197. c.Color = C3(0.12,0.12,0.12)
  1198. if c:FindFirstChildOfClass("BlockMesh") == nil then
  1199. IT("BlockMesh",c)
  1200. end
  1201. elseif c == Torso then
  1202. c.Color = C3(0.15,0.15,0.15)
  1203. if c:FindFirstChildOfClass("BlockMesh") == nil then
  1204. IT("BlockMesh",c)
  1205. end
  1206. else
  1207. c.BrickColor = BRICKC"Bright yellow"
  1208. end
  1209. if c == Head then
  1210. if c:FindFirstChild("face") then
  1211. c.face:remove()
  1212. end
  1213. end
  1214. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1215. c:remove()
  1216. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1217. c:remove()
  1218. end
  1219. end
  1220. sick.SoundId = "rbxassetid://601021377"
  1221. sick.Looped = true
  1222. sick.Pitch = 1
  1223. sick.Volume = 1
  1224. sick.Parent = Character
  1225. sick.Playing = true
  1226. Humanoid.Name = "ZenMan"
  1227. Effects.Parent = Character
  1228. for _, c in pairs(Character:GetChildren()) do
  1229. if c:IsA("BasePart") and ATTACK == false then
  1230. for _, e in pairs(c:GetChildren()) do
  1231. if e:IsA("ParticleEmitter") or e:IsA("BodyPosition") or e:IsA("BodyGyro") then
  1232. e:remove()
  1233. end
  1234. end
  1235. end
  1236. end
  1237. if Head:FindFirstChild("face") then
  1238. Head.face:remove()
  1239. elseif Head:FindFirstChildOfClass("Sound") then
  1240. Head:FindFirstChildOfClass("Sound"):remove()
  1241. end
  1242. end
  1243.  
  1244. --//=================================\\
  1245. --\\=================================//
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251. --//====================================================\\--
  1252. --|| END OF SCRIPT
  1253. --\\====================================================//--
  1254. end))
  1255. Model1.Name = "Head"
  1256. Model1.Parent = LocalScript0
  1257. Model1.PrimaryPart = Part4
  1258. Part2.Name = "Hood"
  1259. Part2.Parent = Model1
  1260. Part2.CFrame = CFrame.new(0.800000012, 3.61530495, 5.24000502, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1261. Part2.Position = Vector3.new(0.800000012, 3.61530495, 5.24000502)
  1262. Part2.Size = Vector3.new(1.79999924, 2.20000052, 2.00000024)
  1263. Part2.Anchored = true
  1264. Part2.BottomSurface = Enum.SurfaceType.Smooth
  1265. Part2.CanCollide = false
  1266. Part2.TopSurface = Enum.SurfaceType.Smooth
  1267. Part2.FormFactor = Enum.FormFactor.Custom
  1268. Part2.formFactor = Enum.FormFactor.Custom
  1269. SpecialMesh3.Parent = Part2
  1270. SpecialMesh3.MeshId = "http://www.roblox.com/asset/?id=93129244"
  1271. SpecialMesh3.TextureId = "http://www.roblox.com/asset/?id=93129336"
  1272. SpecialMesh3.MeshType = Enum.MeshType.FileMesh
  1273. Part4.Name = "Base"
  1274. Part4.Parent = Model1
  1275. Part4.CFrame = CFrame.new(0.800000012, 3.215312, 5.29000807, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1276. Part4.Position = Vector3.new(0.800000012, 3.215312, 5.29000807)
  1277. Part4.Transparency = 1
  1278. Part4.Size = Vector3.new(2, 1, 1)
  1279. Part4.Anchored = true
  1280. Part4.BottomSurface = Enum.SurfaceType.Smooth
  1281. Part4.CanCollide = false
  1282. Part4.Material = Enum.Material.SmoothPlastic
  1283. Part4.TopSurface = Enum.SurfaceType.Smooth
  1284. Weld5.Name = "Joint"
  1285. Weld5.Parent = Part4
  1286. Weld5.C0 = CFrame.new(0, 0.399993896, -0.0500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1287. Weld5.Part0 = Part4
  1288. Weld5.Part1 = Part2
  1289. Weld5.part1 = Part2
  1290. SpecialMesh6.Parent = Part4
  1291. SpecialMesh6.Scale = Vector3.new(1.25, 1.25, 1.25)
  1292. UnionOperation7.Parent = Model1
  1293. UnionOperation7.CFrame = CFrame.new(0.590002, 3.4153161, 4.86000776, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1)
  1294. UnionOperation7.Orientation = Vector3.new(0, 0, 10)
  1295. UnionOperation7.Position = Vector3.new(0.590002, 3.4153161, 4.86000776)
  1296. UnionOperation7.Rotation = Vector3.new(0, 0, 10)
  1297. UnionOperation7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1298. UnionOperation7.Size = Vector3.new(0.299999148, 0.150003329, 0.299999297)
  1299. UnionOperation7.Anchored = true
  1300. UnionOperation7.CanCollide = false
  1301. UnionOperation7.Material = Enum.Material.Neon
  1302. Weld8.Name = "Joint"
  1303. Weld8.Parent = UnionOperation7
  1304. Weld8.C0 = CFrame.new(0.241538048, 0.160499573, 0.380000114, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1)
  1305. Weld8.Part0 = UnionOperation7
  1306. Weld8.Part1 = Part2
  1307. Weld8.part1 = Part2
  1308. UnionOperation9.Parent = Model1
  1309. UnionOperation9.CFrame = CFrame.new(0.864701986, 3.55678797, 5.29000807, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1)
  1310. UnionOperation9.Orientation = Vector3.new(0, 0, -30)
  1311. UnionOperation9.Position = Vector3.new(0.864701986, 3.55678797, 5.29000807)
  1312. UnionOperation9.Rotation = Vector3.new(0, 0, -30)
  1313. UnionOperation9.Size = Vector3.new(1.30000305, 0.300018311, 1.29999924)
  1314. UnionOperation9.Anchored = true
  1315. UnionOperation9.CanCollide = false
  1316. UnionOperation9.Material = Enum.Material.Fabric
  1317. Weld10.Name = "Joint"
  1318. Weld10.Parent = UnionOperation9
  1319. Weld10.C0 = CFrame.new(-0.0853004456, 0.0183410645, -0.0499992371, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1)
  1320. Weld10.Part0 = UnionOperation9
  1321. Weld10.Part1 = Part2
  1322. Weld10.part1 = Part2
  1323. Model11.Name = "Weapon"
  1324. Model11.Parent = LocalScript0
  1325. Model11.PrimaryPart = UnionOperation19
  1326. MeshPart12.Name = "TrailBlade"
  1327. MeshPart12.Parent = Model11
  1328. MeshPart12.CFrame = CFrame.new(14.8999987, 9.96996403, -6.95999527, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  1329. MeshPart12.Orientation = Vector3.new(0, 180, 180)
  1330. MeshPart12.Position = Vector3.new(14.8999987, 9.96996403, -6.95999527)
  1331. MeshPart12.Rotation = Vector3.new(-180, 0, 0)
  1332. MeshPart12.Color = Color3.new(0, 0, 0)
  1333. MeshPart12.Velocity = Vector3.new(0, -16.3500004, 0)
  1334. MeshPart12.Size = Vector3.new(0.200000003, 2.12599993, 0.600000024)
  1335. MeshPart12.BrickColor = BrickColor.new("Really black")
  1336. MeshPart12.CanCollide = false
  1337. MeshPart12.Material = Enum.Material.Neon
  1338. MeshPart12.brickColor = BrickColor.new("Really black")
  1339. Trail13.Parent = MeshPart12
  1340. Trail13.Attachment0 = nil
  1341. Trail13.Attachment1 = nil
  1342. Trail13.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  1343. Trail13.Transparency = NumberSequence.new(0.5,0.76249998807907,0.91874998807907,1)
  1344. Trail13.Lifetime = 0.10000000149012
  1345. Weld14.Name = "Joint"
  1346. Weld14.Parent = MeshPart12
  1347. Weld14.C0 = CFrame.new(9.53674316e-07, 1.91990662, -4.29153442e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  1348. Weld14.Part0 = MeshPart12
  1349. Weld14.Part1 = Part21
  1350. Weld14.part1 = Part21
  1351. MeshPart15.Name = "Blade"
  1352. MeshPart15.Parent = Model11
  1353. MeshPart15.CFrame = CFrame.new(14.8999987, 9.61994267, -6.95999527, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  1354. MeshPart15.Orientation = Vector3.new(0, 180, 180)
  1355. MeshPart15.Position = Vector3.new(14.8999987, 9.61994267, -6.95999527)
  1356. MeshPart15.Rotation = Vector3.new(-180, 0, 0)
  1357. MeshPart15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1358. MeshPart15.Velocity = Vector3.new(0, -16.3500004, 0)
  1359. MeshPart15.Size = Vector3.new(0.200000003, 1.22599995, 0.600000024)
  1360. MeshPart15.BrickColor = BrickColor.new("Institutional white")
  1361. MeshPart15.CanCollide = false
  1362. MeshPart15.Material = Enum.Material.Wood
  1363. MeshPart15.brickColor = BrickColor.new("Institutional white")
  1364. Weld16.Name = "Joint"
  1365. Weld16.Parent = MeshPart15
  1366. Weld16.C0 = CFrame.new(9.53674316e-07, 1.56988525, -4.29153442e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  1367. Weld16.Part0 = MeshPart15
  1368. Weld16.Part1 = Part21
  1369. Weld16.part1 = Part21
  1370. MeshPart17.Name = "Blade"
  1371. MeshPart17.Parent = Model11
  1372. MeshPart17.CFrame = CFrame.new(14.8999987, 9.61994267, -6.95999527, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  1373. MeshPart17.Orientation = Vector3.new(0, 180, 180)
  1374. MeshPart17.Position = Vector3.new(14.8999987, 9.61994267, -6.95999527)
  1375. MeshPart17.Rotation = Vector3.new(-180, 0, 0)
  1376. MeshPart17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1377. MeshPart17.Velocity = Vector3.new(0, -16.3500004, 0)
  1378. MeshPart17.Size = Vector3.new(0.300000012, 1.22599995, 0.0500000007)
  1379. MeshPart17.BrickColor = BrickColor.new("Institutional white")
  1380. MeshPart17.CanCollide = false
  1381. MeshPart17.Material = Enum.Material.Wood
  1382. MeshPart17.brickColor = BrickColor.new("Institutional white")
  1383. Weld18.Name = "Joint"
  1384. Weld18.Parent = MeshPart17
  1385. Weld18.C0 = CFrame.new(9.53674316e-07, 1.56988525, -4.29153442e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  1386. Weld18.Part0 = MeshPart17
  1387. Weld18.Part1 = Part21
  1388. Weld18.part1 = Part21
  1389. UnionOperation19.Name = "Bostaff"
  1390. UnionOperation19.Parent = Model11
  1391. UnionOperation19.CFrame = CFrame.new(14.8999996, 5.45002079, -6.95999718, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1392. UnionOperation19.Position = Vector3.new(14.8999996, 5.45002079, -6.95999718)
  1393. UnionOperation19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1394. UnionOperation19.Velocity = Vector3.new(0, -16.3500004, 0)
  1395. UnionOperation19.Size = Vector3.new(0.250000954, 6.90002441, 0.25)
  1396. UnionOperation19.CanCollide = false
  1397. UnionOperation19.Material = Enum.Material.Wood
  1398. Weld20.Name = "Joint"
  1399. Weld20.Parent = UnionOperation19
  1400. Weld20.C0 = CFrame.new(0, 2.60003662, 6.19888306e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1401. Weld20.Part0 = UnionOperation19
  1402. Weld20.Part1 = Part21
  1403. Weld20.part1 = Part21
  1404. Part21.Name = "MainBlade"
  1405. Part21.Parent = Model11
  1406. Part21.CFrame = CFrame.new(14.8999996, 8.05005741, -6.95999098, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1407. Part21.Position = Vector3.new(14.8999996, 8.05005741, -6.95999098)
  1408. Part21.Transparency = 1
  1409. Part21.Velocity = Vector3.new(0, -16.3500004, 0)
  1410. Part21.Size = Vector3.new(0.400000006, 6.19999838, 0.800000072)
  1411. Part21.BottomSurface = Enum.SurfaceType.Smooth
  1412. Part21.CanCollide = false
  1413. Part21.Material = Enum.Material.SmoothPlastic
  1414. Part21.TopSurface = Enum.SurfaceType.Smooth
  1415. Model22.Name = "Torso"
  1416. Model22.Parent = LocalScript0
  1417. Model22.PrimaryPart = Part23
  1418. Part23.Name = "Base"
  1419. Part23.Parent = Model22
  1420. Part23.CFrame = CFrame.new(6.39464521, 3.77846003, 6.99993086, 0.990866959, 0, -0.134853125, 0, 1, 0, 0.134853125, 0, 0.990866959)
  1421. Part23.Orientation = Vector3.new(0, -7.75, 0)
  1422. Part23.Position = Vector3.new(6.39464521, 3.77846003, 6.99993086)
  1423. Part23.Rotation = Vector3.new(0, -7.75, 0)
  1424. Part23.Transparency = 1
  1425. Part23.Size = Vector3.new(2.00000143, 2.00000024, 0.999999523)
  1426. Part23.Anchored = true
  1427. Part23.BottomSurface = Enum.SurfaceType.Smooth
  1428. Part23.Material = Enum.Material.SmoothPlastic
  1429. Part23.TopSurface = Enum.SurfaceType.Smooth
  1430. UnionOperation24.Parent = Model22
  1431. UnionOperation24.CFrame = CFrame.new(6.45770979, 3.84699512, 6.95302582, 0.418757796, 0.898028553, -0.13485226, -0.906306803, 0.422617823, 6.83113285e-07, 0.0569899194, 0.12221811, 0.990865886)
  1432. UnionOperation24.Orientation = Vector3.new(0, -7.75, -65)
  1433. UnionOperation24.Position = Vector3.new(6.45770979, 3.84699512, 6.95302582)
  1434. UnionOperation24.Rotation = Vector3.new(0, -7.75, -65)
  1435. UnionOperation24.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1436. UnionOperation24.Size = Vector3.new(1.78060913, 1.4895668, 0.910001755)
  1437. UnionOperation24.CanCollide = false
  1438. UnionOperation24.Material = Enum.Material.SmoothPlastic
  1439. Weld25.Name = "Joint"
  1440. Weld25.Parent = UnionOperation24
  1441. Weld25.C0 = CFrame.new(0.0383834839, -0.079864502, 0.0549826622, 0.422618538, -0.906306803, -1.36718154e-06, 0.906308353, 0.422617823, -6.70552254e-08, 7.15255737e-07, 6.83113285e-07, 1.00000155)
  1442. Weld25.Part0 = UnionOperation24
  1443. Weld25.Part1 = Part23
  1444. Weld25.part1 = Part23
  1445. UnionOperation26.Parent = Model22
  1446. UnionOperation26.CFrame = CFrame.new(6.39499998, 4.87831402, 7.00000715, -1, -5.96046448e-08, 0, 0, 0, -0.99999994, 5.96046448e-08, -1, 0)
  1447. UnionOperation26.Orientation = Vector3.new(89.9799957, 0, 0)
  1448. UnionOperation26.Position = Vector3.new(6.39499998, 4.87831402, 7.00000715)
  1449. UnionOperation26.Rotation = Vector3.new(90, 0, 180)
  1450. UnionOperation26.Color = Color3.new(0.639216, 0.635294, 0.647059)
  1451. UnionOperation26.Size = Vector3.new(2.05999804, 2.06000805, 0.200012207)
  1452. UnionOperation26.BrickColor = BrickColor.new("Medium stone grey")
  1453. UnionOperation26.Material = Enum.Material.Metal
  1454. UnionOperation26.brickColor = BrickColor.new("Medium stone grey")
  1455. Weld27.Name = "Joint"
  1456. Weld27.Parent = UnionOperation26
  1457. Weld27.C0 = CFrame.new(0.00035405159, 7.34329224e-05, 1.09985352, -0.990866959, 0, 0.134853184, -0.134853184, 0, -0.990866959, 0, -0.99999994, 0)
  1458. Weld27.Part0 = UnionOperation26
  1459. Weld27.Part1 = Part23
  1460. Weld27.part1 = Part23
  1461. Model28.Name = "Right Arm"
  1462. Model28.Parent = LocalScript0
  1463. Model28.PrimaryPart = Part29
  1464. Part29.Name = "Base"
  1465. Part29.Parent = Model28
  1466. Part29.CFrame = CFrame.new(9.10001755, 3.715312, 5.24000502, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1467. Part29.Position = Vector3.new(9.10001755, 3.715312, 5.24000502)
  1468. Part29.Transparency = 1
  1469. Part29.Size = Vector3.new(1, 2, 1)
  1470. Part29.Anchored = true
  1471. Part29.BottomSurface = Enum.SurfaceType.Smooth
  1472. Part29.CanCollide = false
  1473. Part29.Material = Enum.Material.SmoothPlastic
  1474. Part29.TopSurface = Enum.SurfaceType.Smooth
  1475. UnionOperation30.Parent = Model28
  1476. UnionOperation30.CFrame = CFrame.new(9.09998989, 3.21533704, 5.24011183, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  1477. UnionOperation30.Orientation = Vector3.new(90, 180, 0)
  1478. UnionOperation30.Position = Vector3.new(9.09998989, 3.21533704, 5.24011183)
  1479. UnionOperation30.Rotation = Vector3.new(90, 0, -180)
  1480. UnionOperation30.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1481. UnionOperation30.Size = Vector3.new(1.92824566, 1.928262, 0.199996948)
  1482. UnionOperation30.Material = Enum.Material.Metal
  1483. Weld31.Name = "Joint"
  1484. Weld31.Parent = UnionOperation30
  1485. Weld31.C0 = CFrame.new(-2.78949738e-05, 0.000108242035, -0.499984741, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  1486. Weld31.Part0 = UnionOperation30
  1487. Weld31.Part1 = Part29
  1488. Weld31.part1 = Part29
  1489. ParticleEmitter32.Name = "Vortex"
  1490. ParticleEmitter32.Parent = LocalScript0
  1491. ParticleEmitter32.Speed = NumberRange.new(0, 0)
  1492. ParticleEmitter32.Rotation = NumberRange.new(0, 360)
  1493. ParticleEmitter32.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118),Color3.new(0.423529, 0.345098, 0.294118))
  1494. ParticleEmitter32.Enabled = false
  1495. ParticleEmitter32.LightEmission = 1
  1496. ParticleEmitter32.Texture = "rbxassetid://1084969997"
  1497. ParticleEmitter32.Transparency = NumberSequence.new(1,0.5,0.5)
  1498. ParticleEmitter32.ZOffset = -2
  1499. ParticleEmitter32.Size = NumberSequence.new(0,0)
  1500. ParticleEmitter32.Lifetime = NumberRange.new(1, 1)
  1501. ParticleEmitter32.LockedToPart = true
  1502. ParticleEmitter32.Rate = 0
  1503. ParticleEmitter32.RotSpeed = NumberRange.new(360, 360)
  1504. ParticleEmitter33.Name = "Wave"
  1505. ParticleEmitter33.Parent = LocalScript0
  1506. ParticleEmitter33.Speed = NumberRange.new(0, 0)
  1507. ParticleEmitter33.Rotation = NumberRange.new(-180, 180)
  1508. ParticleEmitter33.Enabled = false
  1509. ParticleEmitter33.LightEmission = 1
  1510. ParticleEmitter33.Texture = "rbxassetid://1084991215"
  1511. ParticleEmitter33.Transparency = NumberSequence.new(0,0.39344263076782,0.66120219230652,0.83606559038162,1)
  1512. ParticleEmitter33.ZOffset = 1
  1513. ParticleEmitter33.Size = NumberSequence.new(0,0)
  1514. ParticleEmitter33.Lifetime = NumberRange.new(0.30000001192093, 0.30000001192093)
  1515. ParticleEmitter33.Rate = 1
  1516. for i,v in pairs(mas:GetChildren()) do
  1517. v.Parent = game:GetService("owner").LocalPlayer.Character
  1518. pcall(function() v:MakeJoints() end)
  1519. end
  1520. mas:Destroy()
  1521. for i,v in pairs(cors) do
  1522. spawn(function()
  1523. pcall(v)
  1524. end)
  1525. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement