Advertisement
lafur

Untitled

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