Advertisement
LOl2x234

Untitled

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