Advertisement
Tetezaza1542

god

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