Advertisement
ZacBozer

Untitled

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