Advertisement
mega1234567

no one's around to help

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