Advertisement
zza

wanderer

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