Advertisement
MarcoAp

ROBLOX assassin skrub (Wanderer edit)

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