soins1

shedletsky simulator ahaha

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