Advertisement
Guest User

Untitled

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