Advertisement
iKing_Hacker420

Roblox sheriff Wilbert script op 🔥

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