a_script_editor

edit 1

Jun 19th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 77.00 KB | None | 0 0
  1. wait(0.2)
  2. local plr = game:service'Players'.LocalPlayer
  3. print('Local User is '..plr .Name)
  4. print('Wanderer Loaded')
  5. print('A lone Wanderer searching for hope.')
  6. local char = plr.Character
  7. local hum = char.Humanoid
  8. local hed = char.Head
  9. local root = char.HumanoidRootPart
  10. local rootj = root.RootJoint
  11. local tors = char.Torso
  12. local ra = char["Right Arm"]
  13. local la = char["Left Arm"]
  14. local rl = char["Right Leg"]
  15. local ll = char["Left Leg"]
  16. local neck = tors["Neck"]
  17. local mouse = plr:GetMouse()
  18. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  19. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  20. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  21. local maincolor = BrickColor.new("Cool yellow")
  22. cam = game.Workspace.CurrentCamera
  23. CF = CFrame.new
  24. angles = CFrame.Angles
  25. attack = false
  26. Euler = CFrame.fromEulerAnglesXYZ
  27. Rad = math.rad
  28. IT = Instance.new
  29. BrickC = BrickColor.new
  30. Cos = math.cos
  31. Acos = math.acos
  32. Sin = math.sin
  33. Asin = math.asin
  34. Abs = math.abs
  35. Mrandom = math.random
  36. Floor = math.floor
  37. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  38. RSH, LSH = nil, nil
  39. RW = Instance.new("Weld")
  40. LW = Instance.new("Weld")
  41. RH = tors["Right Hip"]
  42. LH = tors["Left Hip"]
  43. RSH = tors["Right Shoulder"]
  44. LSH = tors["Left Shoulder"]
  45. RSH.Parent = nil
  46. LSH.Parent = nil
  47. RW.Name = "RW"
  48. RW.Part0 = tors
  49. RW.C0 = CF(1.5, 0.5, 0)
  50. RW.C1 = CF(0, 0.5, 0)
  51. RW.Part1 = ra
  52. RW.Parent = tors
  53. LW.Name = "LW"
  54. LW.Part0 = tors
  55. LW.C0 = CF(-1.5, 0.5, 0)
  56. LW.C1 = CF(0, 0.5, 0)
  57. LW.Part1 = la
  58. LW.Parent = tors
  59. ArtificialHB = Instance.new("BindableEvent", script)
  60. ArtificialHB.Name = "Heartbeat"
  61. script:WaitForChild("Heartbeat")
  62.  
  63. frame = 1 / 60
  64. tf = 0
  65. allowframeloss = false
  66. tossremainder = false
  67.  
  68.  
  69. lastframe = tick()
  70. script.Heartbeat:Fire()
  71.  
  72.  
  73. game:GetService("RunService").Heartbeat:connect(function(s, p)
  74. tf = tf + s
  75. if tf >= frame then
  76. if allowframeloss then
  77. script.Heartbeat:Fire()
  78. lastframe = tick()
  79. else
  80. for i = 1, math.floor(tf / frame) do
  81. script.Heartbeat:Fire()
  82. end
  83. lastframe = tick()
  84. end
  85. if tossremainder then
  86. tf = 0
  87. else
  88. tf = tf - frame * math.floor(tf / frame)
  89. end
  90. end
  91. end)
  92. function swait(num)
  93. if num == 0 or num == nil then
  94. game:service("RunService").Stepped:wait(0)
  95. else
  96. for i = 0, num do
  97. game:service("RunService").Stepped:wait(0)
  98. end
  99. end
  100. end
  101. function thread(f)
  102. coroutine.resume(coroutine.create(f))
  103. end
  104. function clerp(a, b, t)
  105. local qa = {
  106. QuaternionFromCFrame(a)
  107. }
  108. local qb = {
  109. QuaternionFromCFrame(b)
  110. }
  111. local ax, ay, az = a.x, a.y, a.z
  112. local bx, by, bz = b.x, b.y, b.z
  113. local _t = 1 - t
  114. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  115. end
  116. function QuaternionFromCFrame(cf)
  117. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  118. local trace = m00 + m11 + m22
  119. if trace > 0 then
  120. local s = math.sqrt(1 + trace)
  121. local recip = 0.5 / s
  122. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  123. else
  124. local i = 0
  125. if m00 < m11 then
  126. i = 1
  127. end
  128. if m22 > (i == 0 and m00 or m11) then
  129. i = 2
  130. end
  131. if i == 0 then
  132. local s = math.sqrt(m00 - m11 - m22 + 1)
  133. local recip = 0.5 / s
  134. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  135. elseif i == 1 then
  136. local s = math.sqrt(m11 - m22 - m00 + 1)
  137. local recip = 0.5 / s
  138. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  139. elseif i == 2 then
  140. local s = math.sqrt(m22 - m00 - m11 + 1)
  141. local recip = 0.5 / s
  142. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  143. end
  144. end
  145. end
  146. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  147. local xs, ys, zs = x + x, y + y, z + z
  148. local wx, wy, wz = w * xs, w * ys, w * zs
  149. local xx = x * xs
  150. local xy = x * ys
  151. local xz = x * zs
  152. local yy = y * ys
  153. local yz = y * zs
  154. local zz = z * zs
  155. 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))
  156. end
  157. function QuaternionSlerp(a, b, t)
  158. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  159. local startInterp, finishInterp
  160. if cosTheta >= 1.0E-4 then
  161. if 1 - cosTheta > 1.0E-4 then
  162. local theta = math.acos(cosTheta)
  163. local invSinTheta = 1 / Sin(theta)
  164. startInterp = Sin((1 - t) * theta) * invSinTheta
  165. finishInterp = Sin(t * theta) * invSinTheta
  166. else
  167. startInterp = 1 - t
  168. finishInterp = t
  169. end
  170. elseif 1 + cosTheta > 1.0E-4 then
  171. local theta = math.acos(-cosTheta)
  172. local invSinTheta = 1 / Sin(theta)
  173. startInterp = Sin((t - 1) * theta) * invSinTheta
  174. finishInterp = Sin(t * theta) * invSinTheta
  175. else
  176. startInterp = t - 1
  177. finishInterp = t
  178. end
  179. 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
  180. end
  181. function rayCast(Position, Direction, Range, Ignore)
  182. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  183. end
  184. local RbxUtility = LoadLibrary("RbxUtility")
  185. local Create = RbxUtility.Create
  186. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  187. if hit.Parent == nil then
  188. return
  189. end
  190. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  191. for _, v in pairs(hit.Parent:children()) do
  192. if v:IsA("Humanoid") then
  193. h = v
  194. end
  195. end
  196. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  197.  
  198. hit.Parent:FindFirstChild("Head"):BreakJoints()
  199. end
  200.  
  201. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  202. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  203. if hit.Parent.DebounceHit.Value == true then
  204. return
  205. end
  206. end
  207. if insta == true then
  208. hit.Parent:FindFirstChild("Head"):BreakJoints()
  209. end
  210. local c = Create("ObjectValue"){
  211. Name = "creator",
  212. Value = game:service("Players").LocalPlayer,
  213. Parent = h,
  214. }
  215. game:GetService("Debris"):AddItem(c, .5)
  216. if HitSound ~= nil and HitPitch ~= nil then
  217. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  218. end
  219. local Damage = math.random(minim, maxim)
  220. local blocked = false
  221. local block = hit.Parent:findFirstChild("Block")
  222. if block ~= nil then
  223. if block.className == "IntValue" then
  224. if block.Value > 0 then
  225. blocked = true
  226. block.Value = block.Value - 1
  227. print(block.Value)
  228. end
  229. end
  230. end
  231. if blocked == false then
  232. h.Health = h.Health - Damage
  233. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  234. else
  235. h.Health = h.Health - (Damage / 2)
  236. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  237. end
  238. if Type == "Knockdown" then
  239. local hum = hit.Parent.Humanoid
  240. hum.PlatformStand = true
  241. coroutine.resume(coroutine.create(function(HHumanoid)
  242. swait(1)
  243. HHumanoid.PlatformStand = false
  244. end), hum)
  245. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  246. local bodvol = Create("BodyVelocity"){
  247. velocity = angle * knockback,
  248. P = 5000,
  249. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  250. Parent = hit,
  251. }
  252. local rl = Create("BodyAngularVelocity"){
  253. P = 3000,
  254. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  255. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  256. Parent = hit,
  257. }
  258. game:GetService("Debris"):AddItem(bodvol, .5)
  259. game:GetService("Debris"):AddItem(rl, .5)
  260. elseif Type == "Normal" then
  261. local vp = Create("BodyVelocity"){
  262. P = 500,
  263. maxForce = Vector3.new(math.huge, 0, math.huge),
  264. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  265. }
  266. if knockback > 0 then
  267. vp.Parent = hit.Parent.Torso
  268. end
  269. game:GetService("Debris"):AddItem(vp, .5)
  270. elseif Type == "Up" then
  271. local bodyVelocity = Create("BodyVelocity"){
  272. velocity = Vector3.new(0, 20, 0),
  273. P = 5000,
  274. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  275. Parent = hit,
  276. }
  277. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  278. elseif Type == "Firedmg" then
  279. coroutine.resume(coroutine.create(function()
  280. for i = 1, 18 do
  281. if hit.Parent:FindFirstChild("Torso") ~= nil then
  282. BlockEffect(BrickColor.new("Daisy orange"), hit.Parent.Head.CFrame, 0, 0, 0, 2, 2, 2, 0.035, 1)
  283. wait()
  284. end
  285. end
  286. end))
  287. elseif Type == "DarkUp" then
  288. coroutine.resume(coroutine.create(function()
  289. for i = 0, 1, 0.1 do
  290. swait()
  291. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  292. end
  293. end))
  294. local bodyVelocity = Create("BodyVelocity"){
  295. velocity = Vector3.new(0, 20, 0),
  296. P = 5000,
  297. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  298. Parent = hit,
  299. }
  300. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  301. elseif Type == "Snare" then
  302. local bp = Create("BodyPosition"){
  303. P = 2000,
  304. D = 100,
  305. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  306. position = hit.Parent.Torso.Position,
  307. Parent = hit.Parent.Torso,
  308. }
  309. game:GetService("Debris"):AddItem(bp, 1)
  310. elseif Type == "Freeze" then
  311. local BodPos = Create("BodyPosition"){
  312. P = 50000,
  313. D = 1000,
  314. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  315. position = hit.Parent.Torso.Position,
  316. Parent = hit.Parent.Torso,
  317. }
  318. local BodGy = Create("BodyGyro") {
  319. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  320. P = 20e+003,
  321. Parent = hit.Parent.Torso,
  322. cframe = hit.Parent.Torso.CFrame,
  323. }
  324. hit.Parent.Torso.Anchored = true
  325. coroutine.resume(coroutine.create(function(Part)
  326. swait(1.5)
  327. Part.Anchored = false
  328. end), hit.Parent.Torso)
  329. game:GetService("Debris"):AddItem(BodPos, 3)
  330. game:GetService("Debris"):AddItem(BodGy, 3)
  331. end
  332. local debounce = Create("BoolValue"){
  333. Name = "DebounceHit",
  334. Parent = hit.Parent,
  335. Value = true,
  336. }
  337. game:GetService("Debris"):AddItem(debounce, Delay)
  338. c = Create("ObjectValue"){
  339. Name = "creator",
  340. Value = Player,
  341. Parent = h,
  342. }
  343. game:GetService("Debris"):AddItem(c, .5)
  344. end
  345. end
  346. function ShowDamage(Pos, Text, Time, Color)
  347. local Rate = (1 / 30)
  348. local Pos = (Pos or Vector3.new(0, 0, 0))
  349. local Text = (Text or "")
  350. local Time = (Time or 2)
  351. local Color = (Color or Color3.new(1, 0, 1))
  352. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  353. EffectPart.Anchored = true
  354. local BillboardGui = Create("BillboardGui"){
  355. Size = UDim2.new(3, 0, 3, 0),
  356. Adornee = EffectPart,
  357. Parent = EffectPart,
  358. }
  359. local TextLabel = Create("TextLabel"){
  360. BackgroundTransparency = 1,
  361. Size = UDim2.new(1, 0, 1, 0),
  362. Text = Text,
  363. Font = "Bodoni",
  364. TextColor3 = Color,
  365. TextScaled = true,
  366. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  367. Parent = BillboardGui,
  368. }
  369. game.Debris:AddItem(EffectPart, (Time))
  370. EffectPart.Parent = game:GetService("Workspace")
  371. delay(0, function()
  372. local Frames = (Time / Rate)
  373. for Frame = 1, Frames do
  374. wait(Rate)
  375. local Percent = (Frame / Frames)
  376. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  377. TextLabel.TextTransparency = Percent
  378. end
  379. if EffectPart and EffectPart.Parent then
  380. EffectPart:Destroy()
  381. end
  382. end)
  383. end
  384. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  385. for _, c in pairs(workspace:children()) do
  386. local hum = c:findFirstChild("Humanoid")
  387. if hum ~= nil then
  388. local head = c:findFirstChild("Head")
  389. if head ~= nil then
  390. local targ = head.Position - Part.Position
  391. local mag = targ.magnitude
  392. if magni >= mag and c.Name ~= plr.Name then
  393. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  394. end
  395. end
  396. end
  397. end
  398. end
  399.  
  400.  
  401. CFuncs = {
  402. Part = {
  403. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  404. local Part = Create("Part")({
  405. Parent = Parent,
  406. Reflectance = Reflectance,
  407. Transparency = Transparency,
  408. CanCollide = false,
  409. Locked = true,
  410. BrickColor = BrickColor.new(tostring(BColor)),
  411. Name = Name,
  412. Size = Size,
  413. Material = Material
  414. })
  415. RemoveOutlines(Part)
  416. return Part
  417. end
  418. },
  419. Mesh = {
  420. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  421. local Msh = Create(Mesh)({
  422. Parent = Part,
  423. Offset = OffSet,
  424. Scale = Scale
  425. })
  426. if Mesh == "SpecialMesh" then
  427. Msh.MeshType = MeshType
  428. Msh.MeshId = MeshId
  429. end
  430. return Msh
  431. end
  432. },
  433. Mesh = {
  434. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  435. local Msh = Create(Mesh)({
  436. Parent = Part,
  437. Offset = OffSet,
  438. Scale = Scale
  439. })
  440. if Mesh == "SpecialMesh" then
  441. Msh.MeshType = MeshType
  442. Msh.MeshId = MeshId
  443. end
  444. return Msh
  445. end
  446. },
  447. Weld = {
  448. Create = function(Parent, Part0, Part1, C0, C1)
  449. local Weld = Create("Weld")({
  450. Parent = Parent,
  451. Part0 = Part0,
  452. Part1 = Part1,
  453. C0 = C0,
  454. C1 = C1
  455. })
  456. return Weld
  457. end
  458. },
  459. Sound = {
  460. Create = function(id, par, vol, pit)
  461. coroutine.resume(coroutine.create(function()
  462. local S = Create("Sound")({
  463. Volume = vol,
  464. Pitch = pit or 1,
  465. SoundId = id,
  466. Parent = par or workspace
  467. })
  468. wait()
  469. S:play()
  470. game:GetService("Debris"):AddItem(S, 6)
  471. end))
  472. end
  473. },
  474. ParticleEmitter = {
  475. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  476. local fp = Create("ParticleEmitter")({
  477. Parent = Parent,
  478. Color = ColorSequence.new(Color1, Color2),
  479. LightEmission = LightEmission,
  480. Size = Size,
  481. Texture = Texture,
  482. Transparency = Transparency,
  483. ZOffset = ZOffset,
  484. Acceleration = Accel,
  485. Drag = Drag,
  486. LockedToPart = LockedToPart,
  487. VelocityInheritance = VelocityInheritance,
  488. EmissionDirection = EmissionDirection,
  489. Enabled = Enabled,
  490. Lifetime = LifeTime,
  491. Rate = Rate,
  492. Rotation = Rotation,
  493. RotSpeed = RotSpeed,
  494. Speed = Speed,
  495. VelocitySpread = VelocitySpread
  496. })
  497. return fp
  498. end
  499. }
  500. }
  501. function RemoveOutlines(part)
  502. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  503. end
  504. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  505. local Part = Create("Part")({
  506. formFactor = FormFactor,
  507. Parent = Parent,
  508. Reflectance = Reflectance,
  509. Transparency = Transparency,
  510. CanCollide = false,
  511. Locked = true,
  512. BrickColor = BrickColor.new(tostring(BColor)),
  513. Name = Name,
  514. Size = Size,
  515. Material = Material
  516. })
  517. RemoveOutlines(Part)
  518. return Part
  519. end
  520. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  521. local Msh = Create(Mesh)({
  522. Parent = Part,
  523. Offset = OffSet,
  524. Scale = Scale
  525. })
  526. if Mesh == "SpecialMesh" then
  527. Msh.MeshType = MeshType
  528. Msh.MeshId = MeshId
  529. end
  530. return Msh
  531. end
  532. function CreateWeld(Parent, Part0, Part1, C0, C1)
  533. local Weld = Create("Weld")({
  534. Parent = Parent,
  535. Part0 = Part0,
  536. Part1 = Part1,
  537. C0 = C0,
  538. C1 = C1
  539. })
  540. return Weld
  541. end
  542. EffectModel = Instance.new("Model", char)
  543. Effects = {
  544. Block = {
  545. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  546. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  547. prt.Anchored = true
  548. prt.CFrame = cframe
  549. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  550. game:GetService("Debris"):AddItem(prt, 10)
  551. if Type == 1 or Type == nil then
  552. table.insert(Effects, {
  553. prt,
  554. "Block1",
  555. delay,
  556. x3,
  557. y3,
  558. z3,
  559. msh
  560. })
  561. elseif Type == 2 then
  562. table.insert(Effects, {
  563. prt,
  564. "Block2",
  565. delay,
  566. x3,
  567. y3,
  568. z3,
  569. msh
  570. })
  571. else
  572. table.insert(Effects, {
  573. prt,
  574. "Block3",
  575. delay,
  576. x3,
  577. y3,
  578. z3,
  579. msh
  580. })
  581. end
  582. end
  583. },
  584. Sphere = {
  585. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  586. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  587. prt.Anchored = true
  588. prt.CFrame = cframe
  589. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  590. game:GetService("Debris"):AddItem(prt, 10)
  591. table.insert(Effects, {
  592. prt,
  593. "Cylinder",
  594. delay,
  595. x3,
  596. y3,
  597. z3,
  598. msh
  599. })
  600. end
  601. },
  602. Cylinder = {
  603. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  604. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  605. prt.Anchored = true
  606. prt.CFrame = cframe
  607. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  608. game:GetService("Debris"):AddItem(prt, 10)
  609. table.insert(Effects, {
  610. prt,
  611. "Cylinder",
  612. delay,
  613. x3,
  614. y3,
  615. z3,
  616. msh
  617. })
  618. end
  619. },
  620. Wave = {
  621. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  622. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  623. prt.Anchored = true
  624. prt.CFrame = cframe
  625. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  626. game:GetService("Debris"):AddItem(prt, 10)
  627. table.insert(Effects, {
  628. prt,
  629. "Cylinder",
  630. delay,
  631. x3 / 60,
  632. y3 / 60,
  633. z3 / 60,
  634. msh
  635. })
  636. end
  637. },
  638. Ring = {
  639. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  640. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  641. prt.Anchored = true
  642. prt.CFrame = cframe
  643. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  644. game:GetService("Debris"):AddItem(prt, 10)
  645. table.insert(Effects, {
  646. prt,
  647. "Cylinder",
  648. delay,
  649. x3,
  650. y3,
  651. z3,
  652. msh
  653. })
  654. end
  655. },
  656. Break = {
  657. Create = function(brickcolor, cframe, x1, y1, z1)
  658. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  659. prt.Anchored = true
  660. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  661. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  662. local num = math.random(10, 50) / 1000
  663. game:GetService("Debris"):AddItem(prt, 10)
  664. table.insert(Effects, {
  665. prt,
  666. "Shatter",
  667. num,
  668. prt.CFrame,
  669. math.random() - math.random(),
  670. 0,
  671. math.random(50, 100) / 100
  672. })
  673. end
  674. },
  675. Spiral = {
  676. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  677. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  678. prt.Anchored = true
  679. prt.CFrame = cframe
  680. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  681. game:GetService("Debris"):AddItem(prt, 10)
  682. table.insert(Effects, {
  683. prt,
  684. "Cylinder",
  685. delay,
  686. x3,
  687. y3,
  688. z3,
  689. msh
  690. })
  691. end
  692. },
  693. Push = {
  694. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  695. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  696. prt.Anchored = true
  697. prt.CFrame = cframe
  698. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  699. game:GetService("Debris"):AddItem(prt, 10)
  700. table.insert(Effects, {
  701. prt,
  702. "Cylinder",
  703. delay,
  704. x3,
  705. y3,
  706. z3,
  707. msh
  708. })
  709. end
  710. }
  711. }
  712. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  713. local fp = IT("Part")
  714. fp.formFactor = formfactor
  715. fp.Parent = parent
  716. fp.Reflectance = reflectance
  717. fp.Transparency = transparency
  718. fp.CanCollide = false
  719. fp.Locked = true
  720. fp.BrickColor = brickcolor
  721. fp.Name = name
  722. fp.Size = size
  723. fp.Position = tors.Position
  724. RemoveOutlines(fp)
  725. fp.Material = "SmoothPlastic"
  726. fp:BreakJoints()
  727. return fp
  728. end
  729.  
  730. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  731. local mesh = IT(Mesh)
  732. mesh.Parent = part
  733. if Mesh == "SpecialMesh" then
  734. mesh.MeshType = meshtype
  735. if meshid ~= "nil" then
  736. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  737. end
  738. end
  739. mesh.Offset = offset
  740. mesh.Scale = scale
  741. return mesh
  742. end
  743.  
  744. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  745. local type = type
  746. local rng = Instance.new("Part", char)
  747. rng.Anchored = true
  748. rng.BrickColor = color
  749. rng.CanCollide = false
  750. rng.FormFactor = 3
  751. rng.Name = "Ring"
  752. rng.Material = "Neon"
  753. rng.Size = Vector3.new(1, 1, 1)
  754. rng.Transparency = 0
  755. rng.TopSurface = 0
  756. rng.BottomSurface = 0
  757. rng.CFrame = pos
  758. local rngm = Instance.new("SpecialMesh", rng)
  759. rngm.MeshType = MType
  760. rngm.Scale = scale
  761. local scaler2 = 1
  762. if type == "Add" then
  763. scaler2 = 1 * value
  764. elseif type == "Divide" then
  765. scaler2 = 1 / value
  766. end
  767. coroutine.resume(coroutine.create(function()
  768. for i = 0, 10 / bonuspeed, 0.1 do
  769. swait()
  770. if type == "Add" then
  771. scaler2 = scaler2 - 0.01 * value / bonuspeed
  772. elseif type == "Divide" then
  773. scaler2 = scaler2 - 0.01 / value * bonuspeed
  774. end
  775. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  776. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  777. end
  778. rng:Destroy()
  779. end))
  780. end
  781.  
  782. function Eviscerate(dude)
  783. if dude.Name ~= char then
  784. local bgf = IT("BodyGyro", dude.Head)
  785. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  786. local val = IT("BoolValue", dude)
  787. val.Name = "IsHit"
  788. local ds = coroutine.wrap(function()
  789. dude:WaitForChild("Head"):BreakJoints()
  790. wait(0.5)
  791. target = nil
  792. coroutine.resume(coroutine.create(function()
  793. for i, v in pairs(dude:GetChildren()) do
  794. if v:IsA("Accessory") then
  795. v:Destroy()
  796. end
  797. if v:IsA("Humanoid") then
  798. v:Destroy()
  799. end
  800. if v:IsA("CharacterMesh") then
  801. v:Destroy()
  802. end
  803. if v:IsA("Model") then
  804. v:Destroy()
  805. end
  806. if v:IsA("Part") or v:IsA("MeshPart") then
  807. for x, o in pairs(v:GetChildren()) do
  808. if o:IsA("Decal") then
  809. o:Destroy()
  810. end
  811. end
  812. coroutine.resume(coroutine.create(function()
  813. v.Material = "Neon"
  814. v.CanCollide = false
  815. local PartEmmit1 = IT("ParticleEmitter", v)
  816. PartEmmit1.LightEmission = 1
  817. PartEmmit1.Texture = "rbxassetid://284205403"
  818. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  819. PartEmmit1.Rate = 150
  820. PartEmmit1.Lifetime = NumberRange.new(1)
  821. PartEmmit1.Size = NumberSequence.new({
  822. NumberSequenceKeypoint.new(0, 0.75, 0),
  823. NumberSequenceKeypoint.new(1, 0, 0)
  824. })
  825. PartEmmit1.Transparency = NumberSequence.new({
  826. NumberSequenceKeypoint.new(0, 0, 0),
  827. NumberSequenceKeypoint.new(1, 1, 0)
  828. })
  829. PartEmmit1.Speed = NumberRange.new(0, 0)
  830. PartEmmit1.VelocitySpread = 30000
  831. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  832. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  833. local BodPoss = IT("BodyPosition", v)
  834. BodPoss.P = 3000
  835. BodPoss.D = 1000
  836. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  837. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  838. v.Color = maincolor.Color
  839. coroutine.resume(coroutine.create(function()
  840. for i = 0, 49 do
  841. swait(1)
  842. v.Transparency = v.Transparency + 0.08
  843. end
  844. wait(0.5)
  845. PartEmmit1.Enabled = false
  846. wait(3)
  847. v:Destroy()
  848. dude:Destroy()
  849. end))
  850. end))
  851. end
  852. end
  853. end))
  854. end)
  855. ds()
  856. end
  857. end
  858.  
  859. function FindNearestHead(Position, Distance, SinglePlayer)
  860. if SinglePlayer then
  861. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  862. end
  863. local List = {}
  864. for i, v in pairs(workspace:GetChildren()) do
  865. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  866. table.insert(List, v)
  867. end
  868. end
  869. return List
  870. end
  871.  
  872. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  873. local type = type
  874. local rng = Instance.new("Part", char)
  875. rng.Anchored = true
  876. rng.BrickColor = color
  877. rng.CanCollide = false
  878. rng.FormFactor = 3
  879. rng.Name = "Ring"
  880. rng.Material = "Neon"
  881. rng.Size = Vector3.new(1, 1, 1)
  882. rng.Transparency = 0
  883. rng.TopSurface = 0
  884. rng.BottomSurface = 0
  885. rng.CFrame = pos
  886. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  887. local rngm = Instance.new("SpecialMesh", rng)
  888. rngm.MeshType = MType
  889. rngm.Scale = Vector3.new(x1, y1, z1)
  890. local scaler2 = 1
  891. local speeder = FastSpeed
  892. if type == "Add" then
  893. scaler2 = 1 * value
  894. elseif type == "Divide" then
  895. scaler2 = 1 / value
  896. end
  897. coroutine.resume(coroutine.create(function()
  898. for i = 0, 10 / bonuspeed, 0.1 do
  899. swait()
  900. if type == "Add" then
  901. scaler2 = scaler2 - 0.01 * value / bonuspeed
  902. elseif type == "Divide" then
  903. scaler2 = scaler2 - 0.01 / value * bonuspeed
  904. end
  905. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  906. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  907. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  908. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  909. end
  910. rng:Destroy()
  911. end))
  912. end
  913.  
  914. function SoulSteal(dude)
  915. if dude.Name ~= char then
  916. local bgf = IT("BodyGyro", dude.Head)
  917. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  918. local val = IT("BoolValue", dude)
  919. val.Name = "IsHit"
  920. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  921. local soulst = coroutine.wrap(function()
  922. local soul = Instance.new("Part",dude)
  923. soul.Size = Vector3.new(1,1,1)
  924. soul.CanCollide = false
  925. soul.Anchored = false
  926. soul.Position = torso.Position
  927. soul.Transparency = 1
  928. local PartEmmit1 = IT("ParticleEmitter", soul)
  929. PartEmmit1.LightEmission = 1
  930. PartEmmit1.Texture = "rbxassetid://569507414"
  931. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  932. PartEmmit1.Rate = 250
  933. PartEmmit1.Lifetime = NumberRange.new(1.6)
  934. PartEmmit1.Size = NumberSequence.new({
  935. NumberSequenceKeypoint.new(0, 1, 0),
  936. NumberSequenceKeypoint.new(1, 0, 0)
  937. })
  938. PartEmmit1.Transparency = NumberSequence.new({
  939. NumberSequenceKeypoint.new(0, 0, 0),
  940. NumberSequenceKeypoint.new(1, 1, 0)
  941. })
  942. PartEmmit1.Speed = NumberRange.new(0, 0)
  943. PartEmmit1.VelocitySpread = 30000
  944. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  945. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  946. local BodPoss = IT("BodyPosition", soul)
  947. BodPoss.P = 3000
  948. BodPoss.D = 1000
  949. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  950. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  951. wait(1.6)
  952. soul.Touched:connect(function(hit)
  953. if hit.Parent == char then
  954. soul:Destroy()
  955. end
  956. end)
  957. wait(1.2)
  958. while soul do
  959. swait()
  960. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  961. BodPoss.Position = tors.Position
  962. end
  963. end)
  964. soulst()
  965. end
  966. end
  967. function FaceMouse()
  968. local Cam = workspace.CurrentCamera
  969. return {
  970. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  971. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  972. }
  973. end
  974. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  975. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  976. prt.Anchored = true
  977. prt.CFrame = cframe
  978. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  979. game:GetService("Debris"):AddItem(prt, 10)
  980. if Type == 1 or Type == nil then
  981. table.insert(Effects, {
  982. prt,
  983. "Block1",
  984. delay,
  985. x3,
  986. y3,
  987. z3,
  988. msh
  989. })
  990. elseif Type == 2 then
  991. table.insert(Effects, {
  992. prt,
  993. "Block2",
  994. delay,
  995. x3,
  996. y3,
  997. z3,
  998. msh
  999. })
  1000. elseif Type == 3 then
  1001. table.insert(Effects, {
  1002. prt,
  1003. "Block3",
  1004. delay,
  1005. x3,
  1006. y3,
  1007. z3,
  1008. msh
  1009. })
  1010. end
  1011. end
  1012. function Cso(ID, PARENT, VOLUME, PITCH)
  1013. local NSound = nil
  1014. coroutine.resume(coroutine.create(function()
  1015. NSound = IT("Sound", PARENT)
  1016. NSound.Volume = VOLUME
  1017. NSound.Pitch = PITCH
  1018. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1019. swait()
  1020. NSound:play()
  1021. game:GetService("Debris"):AddItem(NSound, 10)
  1022. end))
  1023. return NSound
  1024. end
  1025. function CameraEnshaking(Length, Intensity)
  1026. coroutine.resume(coroutine.create(function()
  1027. local intensity = 1 * Intensity
  1028. local rotM = 0.01 * Intensity
  1029. for i = 0, Length, 0.1 do
  1030. swait()
  1031. intensity = intensity - 0.05 * Intensity / Length
  1032. rotM = rotM - 5.0E-4 * Intensity / Length
  1033. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1034. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1035. end
  1036. hum.CameraOffset = Vector3.new(0, 0, 0)
  1037. end))
  1038. end
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045. New = function(Object, Parent, Name, Data)
  1046. local Object = Instance.new(Object)
  1047. for Index, Value in pairs(Data or {}) do
  1048. Object[Index] = Value
  1049. end
  1050. Object.Parent = Parent
  1051. Object.Name = Name
  1052. return Object
  1053. end
  1054.  
  1055. Lamp = New("Model",char,"Lamp",{})
  1056. Handle = New("Part",Lamp,"Handle",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.600000024, 0.610000014, 0.539999962),CFrame = CFrame.new(-109.839981, 1.79380095, -43.7700005, 0.999977291, -2.22814856e-06, -2.28935824e-06, -7.29543899e-07, -0.999977469, -5.85511816e-06, 1.10829581e-06, 4.96105622e-06, -1.00000715),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1057. Mesh = New("SpecialMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.600000024, 1),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  1058. Lampo = New("Part",Lamp,"Lampo",{BrickColor = BrickColor.new("Cool yellow"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-109.859985, 1.05100787, -43.7600021, 0.999969721, -9.99071062e-07, -2.26510087e-06, 9.99070835e-07, -0.999969959, -5.96146037e-07, 2.2651011e-06, -5.96145583e-07, -1.00000954),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.992157, 0.917647, 0.552941),})
  1059. Mesh = New("CylinderMesh",Lampo,"Mesh",{Scale = Vector3.new(0.800000012, 1, 0.800000012),})
  1060. mot = New("Motor",Lampo,"mot",{Part0 = Lampo,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, -0, -1, -0, -0, -0, -1),C1 = CFrame.new(-0.0200042725, 0.742809892, -0.00999450684, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1061. --PointLight = New("PointLight",Lampo,"PointLight",{Color = Color3.new(1, 0.835294, 0),Brightness = 34.9849996566772,Range = 25.060000419617,})
  1062. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-109.839989, 1.55099273, -43.7600021, 0.99998486, -4.99542864e-07, -1.13255635e-06, 4.99542864e-07, -0.99998498, -2.98074156e-07, 1.13255635e-06, -2.98074156e-07, -1.00000477),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1063. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.5, 1),})
  1064. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, -0, -1, -0, -0, -0, -1),C1 = CFrame.new(-7.62939453e-06, 0.242813706, -0.00999832153, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1065. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-109.839989, 0.551022768, -43.7600021, 0.999969721, -9.99071062e-07, -2.26510087e-06, 9.99070835e-07, -0.999969959, -5.96146037e-07, 2.2651011e-06, -5.96145583e-07, -1.00000954),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1066. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.5, 1),})
  1067. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, -0, -1, -0, -0, -0, -1),C1 = CFrame.new(-7.62939453e-06, 1.2428062, -0.00999069214, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1068. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.00000095, 0.200000003),CFrame = CFrame.new(-110.280014, 1.05100274, -43.7900009, 2.26508837e-06, 9.99067765e-07, -0.99996686, 2.38526809e-07, 0.999965847, -9.99067993e-07, 1.00000417, 9.68675067e-07, -2.26509474e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1069. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.600000024, 1, 0.600000024),})
  1070. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.54726989e-27, -3.57626504e-07, 0.999994636, 8.17913605e-21, 0.999995887, 3.72528149e-07, -0.999997139, 7.5968114e-21, 8.20415341e-27),C1 = CFrame.new(-0.440040588, 0.742815137, 0.0200042725, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1071. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.00000095, 0.200000003),CFrame = CFrame.new(-109.400032, 1.05100369, -43.75, 2.26508837e-06, 9.99067765e-07, -0.99996686, 2.38526809e-07, 0.999965847, -9.99067993e-07, 1.00000417, 9.68675067e-07, -2.26509474e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1072. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.600000024, 1, 0.600000024),})
  1073. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.54726989e-27, -3.57626504e-07, 0.999994636, 8.17913605e-21, 0.999995887, 3.72528149e-07, -0.999997139, 7.5968114e-21, 8.20415341e-27),C1 = CFrame.new(0.439964294, 0.742813826, -0.0199966431, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1074. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.00000095, 0.200000003),CFrame = CFrame.new(-110.120018, 1.05100298, -43.409996, 2.26508837e-06, 9.99067765e-07, -0.99996686, 2.38526809e-07, 0.999965847, -9.99067993e-07, 1.00000417, 9.68675067e-07, -2.26509474e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1075. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.600000024, 1, 0.600000024),})
  1076. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.54726989e-27, -3.57626504e-07, 0.999994636, 8.17913605e-21, 0.999995887, 3.72528149e-07, -0.999997139, 7.5968114e-21, 8.20415341e-27),C1 = CFrame.new(-0.280044556, 0.742816925, -0.359996796, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1077. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.00000095, 0.200000003),CFrame = CFrame.new(-109.600037, 1.05100322, -44.1300087, 2.26508837e-06, 9.99067765e-07, -0.99996686, 2.38526809e-07, 0.999965847, -9.99067993e-07, 1.00000417, 9.68675067e-07, -2.26509474e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1078. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.600000024, 1, 0.600000024),})
  1079. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.54726989e-27, -3.57626504e-07, 0.999994636, 8.17913605e-21, 0.999995887, 3.72528149e-07, -0.999997139, 7.5968114e-21, 8.20415341e-27),C1 = CFrame.new(0.239952087, 0.742812157, 0.36000824, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1080. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.00000095, 0.200000003),CFrame = CFrame.new(-110.060028, 1.05100274, -44.1500092, 2.26508837e-06, 9.99067765e-07, -0.99996686, 2.38526809e-07, 0.999965847, -9.99067993e-07, 1.00000417, 9.68675067e-07, -2.26509474e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1081. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.600000024, 1, 0.600000024),})
  1082. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.54726989e-27, -3.57626504e-07, 0.999994636, 8.17913605e-21, 0.999995887, 3.72528149e-07, -0.999997139, 7.5968114e-21, 8.20415341e-27),C1 = CFrame.new(-0.220046997, 0.742812872, 0.380008698, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1083. Part = New("Part",Lamp,"Part",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.00000095, 0.200000003),CFrame = CFrame.new(-109.65004, 1.05100369, -43.359993, 2.26508837e-06, 9.99067765e-07, -0.99996686, 2.38526809e-07, 0.999965847, -9.99067993e-07, 1.00000417, 9.68675067e-07, -2.26509474e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  1084. Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.600000024, 1, 0.600000024),})
  1085. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.54726989e-27, -3.57626504e-07, 0.999994636, 8.17913605e-21, 0.999995887, 3.72528149e-07, -0.999997139, 7.5968114e-21, 8.20415341e-27),C1 = CFrame.new(0.189949036, 0.742816329, -0.409999847, 0.99999243, -1.22910137e-06, -2.42515625e-08, -1.72864145e-06, -0.99999249, 5.25910491e-06, -1.15681405e-06, -5.55712631e-06, -1.00000238),})
  1086.  
  1087. local NewInstance = function(instance,parent,properties)
  1088. local inst = Instance.new(instance,parent)
  1089. if(properties)then
  1090. for i,v in next, properties do
  1091. pcall(function() inst[i] = v end)
  1092. end
  1093. end
  1094. return inst;
  1095. end
  1096.  
  1097. --local HW = NewInstance('Weld',char,{Part0 = tors, Part1 = Handle, C0 = CF(1, -0.8, -0.2) * angles(Rad(180), Rad(60), Rad(-40))})
  1098. local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CF(0, -0.8, 0.6) * angles(Rad(90), Rad(0), Rad(0))})
  1099.  
  1100.  
  1101. local Player_Size = 1
  1102. if Player_Size ~= 1 then
  1103. root.Size = root.Size * Player_Size
  1104. tors.Size = tors.Size * Player_Size
  1105. hed.Size = hed.Size * Player_Size
  1106. ra.Size = ra.Size * Player_Size
  1107. la.Size = la.Size * Player_Size
  1108. rl.Size = rl.Size * Player_Size
  1109. ll.Size = ll.Size * Player_Size
  1110. rootj.Parent = root
  1111. neck.Parent = tors
  1112. RW.Parent = tors
  1113. LW.Parent = tors
  1114. RH.Parent = tors
  1115. LH.Parent = tors
  1116. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1117. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1118. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1119. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1120. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1121. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1122. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1123. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1124. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1125. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1126. --hat.Parent = Character
  1127. end
  1128. local SONG = 300493189
  1129. local SONG2 = 0
  1130. local Music = Instance.new("Sound",tors)
  1131. Music.Volume = 2.5
  1132. Music.Looped = true
  1133. Music.Pitch = 1 --Pitcher
  1134. local equipped = false
  1135. local idle = 0
  1136. local change = 1
  1137. local val = 0
  1138. local toim = 0
  1139. local idleanim = 0.4
  1140. local sine = 0
  1141. local Sit = 1
  1142. local Mode = "Latern"
  1143. hum.WalkSpeed = 12
  1144. hum.JumpPower = 57
  1145. local ROBLOXIDLEANIMATION = IT("Animation")
  1146. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1147. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1148. local ANIMATOR = hum.Animator
  1149. local ANIMATE = char.Animate
  1150. ANIMATE.Parent = nil
  1151. local naeeym2 = Instance.new("BillboardGui",char)
  1152. naeeym2.AlwaysOnTop = true
  1153. naeeym2.Size = UDim2.new(5,35,2,35)
  1154. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1155. naeeym2.Adornee = hed
  1156. naeeym2.Name = "Name"
  1157. local tecks2 = Instance.new("TextLabel",naeeym2)
  1158. tecks2.BackgroundTransparency = 1
  1159. tecks2.TextScaled = true
  1160. tecks2.BorderSizePixel = 0
  1161. tecks2.Text = "edited wanderer"
  1162. tecks2.Font = "Fantasy"
  1163. tecks2.TextSize = 30
  1164. tecks2.TextTransparency = 0
  1165. tecks2.TextStrokeTransparency = 0
  1166. tecks2.TextColor3 = Color3.fromRGB(253, 234, 141)
  1167. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1168. tecks2.Size = UDim2.new(1,0,0.5,0)
  1169. tecks2.Parent = naeeym2
  1170. game:service'Lighting'.TimeOfDay = "00:00:00"
  1171. local light = Instance.new("PointLight", Lampo)
  1172. light.Name = "Light"
  1173. light.Range = 8
  1174. light.Brightness = 35
  1175. light.Shadows = true
  1176. Reaper = IT("Model")
  1177. Reaper.Parent = char
  1178. Reaper.Name = "Reaper"
  1179. RHe = IT("Part")
  1180. RHe.Parent = Reaper
  1181. RHe.BrickColor = BrickColor.new("Dark stone grey")
  1182. RHe.Locked = true
  1183. RHe.CanCollide = false
  1184. RHe.Transparency = 0
  1185. PMesh = IT("SpecialMesh")
  1186. RHe.formFactor = "Symmetric"
  1187. PMesh.MeshType = "FileMesh"
  1188. PMesh.MeshId = "rbxassetid://77353021"
  1189. --PMesh.TextureId = "rbxassetid://116524836"
  1190. PMesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  1191. PMesh.Parent = RHe
  1192. local RWeld = IT("Weld")
  1193. RWeld.Parent = RHe
  1194. RWeld.Part0 = RHe
  1195. RWeld.Part1 = tors
  1196. RWeld.C0 = CF(-0.9, 1, -0.6) * angles(Rad(0), Rad(-20), Rad(90))
  1197. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1198. local Hitboxpart = Instance.new("Part", EffectModel)
  1199. RemoveOutlines(Hitboxpart)
  1200. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1201. Hitboxpart.CanCollide = false
  1202. Hitboxpart.Transparency = 1
  1203. Hitboxpart.Anchored = true
  1204. Hitboxpart.CFrame = Pose
  1205. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1206. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1207. end
  1208. function LaternSmack()
  1209. attack = true
  1210. hum.WalkSpeed = 3.01
  1211. for i = 0, 1.4, 0.1 do
  1212. swait()
  1213. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-6), Rad(0), Rad(0)), 0.15)
  1214. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1215. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1216. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1217. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(186), Rad(13 + 4.5 * Sin(sine / 20)), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1218. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-36), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1219. HW.C0 = clerp(HW.C0, CF(0, -1, -0.4) * angles(Rad(235), Rad(-.6), Rad(0)), 0.2)
  1220. end
  1221. local Flame = Cso("213656638", Lampo, 1.7, .9)
  1222. if Flame then
  1223. Flame.TimePosition = .5
  1224. end
  1225. Cso("145878848", Lampo, 3, 1)
  1226. HitboxFunction(Lampo.CFrame * CF(0, 0, 1), 0.01, 1, 1, 1, 7, 10, 20, 3, "Firedmg")
  1227. for i = 0, 1.7, 0.1 do
  1228. swait()
  1229. BlockEffect(maincolor, Lampo.CFrame, 21, 41, 21, -3.5, -3.5, -3.5, 0.08, 3)
  1230. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(10)), 0.15)
  1231. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(21 - 2.5 * Sin(sine / 20)), Rad(0), Rad(-10)), 0.3)
  1232. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(9)), 0.15)
  1233. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(26)), 0.15)
  1234. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-18 + 4.5 * Sin(sine / 20))), 0.2)
  1235. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.2)
  1236. HW.C0 = clerp(HW.C0, CF(0, -1.1, 0) * angles(Rad(148 + 4.5 * Cos(sine / 20)), Rad(-.6), Rad(0)), 0.2)
  1237. end
  1238. attack = false
  1239. hum.WalkSpeed = 12
  1240. end
  1241. function LaternSpin()
  1242. attack = true
  1243. end
  1244. function Taunt()
  1245. attack = true
  1246. hum.WalkSpeed = 1.01
  1247. coroutine.resume(coroutine.create(function()
  1248. for i = 0, 0.3, 0.1 do
  1249. swait(35)
  1250. Cso("145878848", Lampo, 3, 1)
  1251. end
  1252. end))
  1253. for i = 0, 16, 0.1 do
  1254. swait()
  1255. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.15)
  1256. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.3)
  1257. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1258. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1259. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125 + 25 * Cos(sine / 7)), Rad(13 + 4.5 * Sin(sine / 20)), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1260. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1261. HW.C0 = clerp(HW.C0, CF(0, -0.6, 0.6) * angles(Rad(67 + 35 * Cos(sine / 7)), Rad(-.6), Rad(0)), 0.1)
  1262. end
  1263. hum.WalkSpeed = 12
  1264. attack = false
  1265. end
  1266. function EquipBlade()
  1267. attack = true
  1268. hum.WalkSpeed = 0
  1269. for i = 0, 4, 0.1 do
  1270. swait()
  1271. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.15)
  1272. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.3)
  1273. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1274. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1275. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-6 + 4.5 * Sin(sine / 20))), 0.1)
  1276. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1277. HW.C0 = clerp(HW.C0, CF(0, -1.1, 0.4) * angles(Rad(175), Rad(0), Rad(0)), 0.1)
  1278. end
  1279. coroutine.resume(coroutine.create(function()
  1280. HW.Part0 = tors
  1281. for i = 0, 3, 0.1 do
  1282. swait()
  1283. HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 4.5 * Sin(sine / 20)), Rad(60), Rad(-40)), 0.15)
  1284. end
  1285. end))
  1286. for i = 0, 5, 0.1 do
  1287. swait()
  1288. RWeld.C0 = CF(-0.9, 1, -0.6) * angles(Rad(-34), Rad(-20), Rad(90))
  1289. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(-20)), 0.15)
  1290. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.3)
  1291. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1292. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1293. RW.C0 = clerp(RW.C0, CF(0.9* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, -1.1* Player_Size) * angles(Rad(58), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.1)
  1294. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1295. HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40)), 0.1)
  1296. end
  1297. RWeld.Part1 = ra
  1298. for i = 0, 5, 0.1 do
  1299. swait()
  1300. RWeld.C0 = CF(-1, 0, -1.9) * angles(Rad(-90), Rad(0), Rad(90))
  1301. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.15)
  1302. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1303. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1304. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1305. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(58), Rad(13 + 4.5 * Sin(sine / 20)), Rad(24 + 4.5 * Sin(sine / 20))), 0.1)
  1306. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1307. HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40)), 0.1)
  1308. end
  1309. attack = false
  1310. Mode = "Blade"
  1311. hum.WalkSpeed = 12
  1312. end
  1313. function DequipBlade()
  1314. attack = true
  1315. hum.WalkSpeed = 0
  1316. RWeld.Part1 = tors
  1317. for i = 0, 5, 0.1 do
  1318. swait()
  1319. RWeld.C0 = CF(-0.9, 1, -0.6) * angles(Rad(-34), Rad(-20), Rad(90))
  1320. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(-20)), 0.15)
  1321. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.15)
  1322. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1323. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1324. RW.C0 = clerp(RW.C0, CF(0.9* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, -1.1* Player_Size) * angles(Rad(58), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.15)
  1325. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-36), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.15)
  1326. HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40)), 0.1)
  1327. end
  1328. HW.Part0 = ra
  1329. RWeld.C0 = CF(-0.9, 1, -0.6) * angles(Rad(0), Rad(-20), Rad(90))
  1330. for i = 0, 4, 0.1 do
  1331. swait()
  1332. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.15)
  1333. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.3)
  1334. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1335. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1336. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-6 + 4.5 * Sin(sine / 20))), 0.15)
  1337. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1338. HW.C0 = clerp(HW.C0, CF(0, -1.1, 0.4) * angles(Rad(175), Rad(0), Rad(0)), 0.1)
  1339. end
  1340. attack = false
  1341. Mode = "Latern"
  1342. hum.WalkSpeed = 100
  1343. end
  1344. mouse.Button1Down:connect(function(key)
  1345. if attack == false then
  1346. if Mode == "Latern" then
  1347. LaternSmack()
  1348. end
  1349. end
  1350. end)
  1351. mouse.KeyDown:connect(function(key)
  1352. if attack == false then
  1353. if key == 't' and Mode == "Latern" then
  1354. Taunt()
  1355. elseif key == 'p' and Mode == "Latern" then
  1356. EquipBlade()
  1357. elseif key == 'p' and Mode == "Blade" then
  1358. DequipBlade()
  1359. end
  1360. end
  1361. end)
  1362. print("By Makhail07")
  1363. while true do
  1364. swait()
  1365. sine = sine + change
  1366. --ANIMATE.Parent = nil
  1367. --local IDLEANIMATION = hum:LoadAnimation(ROBLOXIDLEANIMATION)
  1368. --IDLEANIMATION:Play()
  1369. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1370. local velderp = root.Velocity.y
  1371. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1372. if equipped == true or equipped == false then
  1373. if attack == false then
  1374. idle = idle + 1
  1375. else
  1376. idle = 0
  1377. end
  1378. if 1 < root.Velocity.y and hitfloor == nil then
  1379. Anim = "Jump"
  1380. if attack == false then
  1381. if Mode == "Latern" then
  1382. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1383. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1384. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1385. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1386. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1387. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1388. HW.C0 = clerp(HW.C0, CF(0, -1.1, 0.4) * angles(Rad(147), Rad(0), Rad(0)), 0.1)
  1389. elseif Mode == "Blade" then
  1390. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1391. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1392. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1393. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1394. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1395. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1396. HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40)), 0.1)
  1397. end
  1398. end
  1399. elseif -1 > root.Velocity.y and hitfloor == nil then
  1400. Anim = "Fall"
  1401. if attack == false then
  1402. if Mode == "Latern" then
  1403. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1404. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1405. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1406. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1407. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1408. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1409. HW.C0 = clerp(HW.C0, CF(0, -1.1, 0.4) * angles(Rad(175), Rad(0), Rad(0)), 0.1)
  1410. elseif Mode == "Blade" then
  1411. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1412. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1413. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1414. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1415. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1416. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1417. HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(195 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40)), 0.1)
  1418. end
  1419. end
  1420. elseif torvel < 1 and hitfloor ~= nil then
  1421. Anim = "Idle"
  1422. change = 1
  1423. if attack == false then
  1424. if Mode == "Latern" then
  1425. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.15)
  1426. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1427. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1428. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1429. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(13 + 4.5 * Sin(sine / 20)), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1430. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1431. HW.C0 = clerp(HW.C0, CF(0, -0.8, 0.6) * angles(Rad(67), Rad(-.6), Rad(10 * Cos(sine / 20))), 0.1)
  1432. elseif Mode == "Blade" then
  1433. RWeld.C0 = CF(-1, 0, -2.1) * angles(Rad(-180), Rad(0), Rad(90))
  1434. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.15)
  1435. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1436. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(60), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.15)
  1437. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-9)), 0.15)
  1438. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(13 + 4.5 * Sin(sine / 20)), Rad(24 + 4.5 * Sin(sine / 20))), 0.1)
  1439. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(16), Rad(13 + 4.5 * Sin(sine / 20)), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1440. HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 8.5 * Cos(sine / 20)), Rad(60), Rad(-40)), 0.1)
  1441. end
  1442. end
  1443. elseif (tors.Velocity).magnitude < 200 and hitfloor ~= nil then
  1444. Anim = "Walk"
  1445. change = 1
  1446. if attack == false then
  1447. if Mode == "Latern" then
  1448. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.10 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(4 * Cos(sine / 7))), 0.15)
  1449. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1450. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1451. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1452. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(13 + 4.5 * Sin(sine / 12)), Rad(13 + 4.5 * Sin(sine / 12))), 0.1)
  1453. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  1454. HW.C0 = clerp(HW.C0, CF(0, -0.7, 0.6) * angles(Rad(67 + 8 * Cos(sine / 7)), Rad(0), Rad(18 * Cos(sine / 7))), 0.1)
  1455. elseif Mode == "Blade" then
  1456. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.10 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(4 * Cos(sine / 7))), 0.15)
  1457. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1458. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1459. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1460. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(13 + 4.5 * Sin(sine / 20)), Rad(24 + 4.5 * Sin(sine / 20))), 0.1)
  1461. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  1462. HW.C0 = clerp(HW.C0, CF(1, -0.8, -0.2) * angles(Rad(180 + 15 * Cos(sine / 3.5)), Rad(60), Rad(-40)), 0.1)
  1463. end
  1464. end
  1465. end
  1466. end
  1467. Music.SoundId = "rbxassetid://"..SONG
  1468. Music.Looped = true
  1469. Music.Pitch = 1
  1470. Music.Volume = 2.5
  1471. Music.Parent = tors
  1472. Music:Resume()
  1473. if 0 < #Effects then
  1474. for e = 1, #Effects do
  1475. if Effects[e] ~= nil then
  1476. local Thing = Effects[e]
  1477. if Thing ~= nil then
  1478. local Part = Thing[1]
  1479. local Mode = Thing[2]
  1480. local Delay = Thing[3]
  1481. local IncX = Thing[4]
  1482. local IncY = Thing[5]
  1483. local IncZ = Thing[6]
  1484. if 1 >= Thing[1].Transparency then
  1485. if Thing[2] == "Block1" then
  1486. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1487. local Mesh = Thing[1].Mesh
  1488. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1489. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1490. elseif Thing[2] == "Block2" then
  1491. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1492. local Mesh = Thing[7]
  1493. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1494. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1495. elseif Thing[2] == "Block3" then
  1496. 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)
  1497. local Mesh = Thing[7]
  1498. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1499. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1500. elseif Thing[2] == "Cylinder" then
  1501. local Mesh = Thing[1].Mesh
  1502. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1503. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1504. elseif Thing[2] == "Blood" then
  1505. local Mesh = Thing[7]
  1506. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1507. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1508. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1509. elseif Thing[2] == "Elec" then
  1510. local Mesh = Thing[1].Mesh
  1511. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1512. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1513. elseif Thing[2] == "Disappear" then
  1514. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1515. elseif Thing[2] == "Shatter" then
  1516. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1517. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1518. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1519. Thing[6] = Thing[6] + Thing[5]
  1520. end
  1521. else
  1522. Part.Parent = nil
  1523. table.remove(Effects, e)
  1524. end
  1525. end
  1526. end
  1527. end
  1528. end
  1529. end
Advertisement
Add Comment
Please, Sign In to add comment