Advertisement
Guest User

Untitled

a guest
Jul 13th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.48 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : SAD GOD ]]--
  3. --[[ Description : it's simple, he got fucking dominated HAHAHA. ]]--
  4. --[[ \ None / ]]--
  5. -------------------------------------------------------
  6. --A script By Creterisk/makhail07
  7. --Discord Creterisk#2958
  8. -------------------------------------------------------
  9.  
  10. --Everything is Hopeless..
  11.  
  12. wait(1 / 60)
  13.  
  14. local plr = game:service'Players'.LocalPlayer
  15. print('Local User is '..plr.Name)
  16. print("SAD GOD Loaded")
  17. print([[
  18. Why me lord, why must the leave me
  19. on such a filthy planet, I beg for return
  20. please father, for me.
  21. ]])
  22. local char = plr.Character
  23. local hum = char:FindFirstChildOfClass'Humanoid'
  24. local hed = char.Head
  25. local root = char:FindFirstChild'HumanoidRootPart'
  26. local rootj = root.RootJoint
  27. local tors = char.Torso
  28. local ra = char["Right Arm"]
  29. local la = char["Left Arm"]
  30. local rl = char["Right Leg"]
  31. local ll = char["Left Leg"]
  32. local neck = tors["Neck"]
  33. local mouse = plr:GetMouse()
  34. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  35. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  36. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  37. local maincolor = BrickColor.new("Institutional white")
  38. -------------------------------------------------------
  39. --Start Good Stuff--
  40. -------------------------------------------------------
  41. cam = game.Workspace.CurrentCamera
  42. CF = CFrame.new
  43. angles = CFrame.Angles
  44. attack = false
  45. Euler = CFrame.fromEulerAnglesXYZ
  46. Rad = math.rad
  47. IT = Instance.new
  48. BrickC = BrickColor.new
  49. Cos = math.cos
  50. Acos = math.acos
  51. Sin = math.sin
  52. Asin = math.asin
  53. Abs = math.abs
  54. Mrandom = math.random
  55. Floor = math.floor
  56. -------------------------------------------------------
  57. --End Good Stuff--
  58. -------------------------------------------------------
  59. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  60. RSH, LSH = nil, nil
  61. RW = Instance.new("Weld")
  62. LW = Instance.new("Weld")
  63. RH = tors["Right Hip"]
  64. LH = tors["Left Hip"]
  65. RSH = tors["Right Shoulder"]
  66. LSH = tors["Left Shoulder"]
  67. RSH.Parent = nil
  68. LSH.Parent = nil
  69. RW.Name = "RW"
  70. RW.Part0 = tors
  71. RW.C0 = CF(1.5, 0.5, 0)
  72. RW.C1 = CF(0, 0.5, 0)
  73. RW.Part1 = ra
  74. RW.Parent = tors
  75. LW.Name = "LW"
  76. LW.Part0 = tors
  77. LW.C0 = CF(-1.5, 0.5, 0)
  78. LW.C1 = CF(0, 0.5, 0)
  79. LW.Part1 = la
  80. LW.Parent = tors
  81. Effects = {}
  82. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  83. local wld = Instance.new("Weld", wp1)
  84. wld.Part0 = wp0
  85. wld.Part1 = wp1
  86. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  87. end
  88. newWeld(tors, ll, -0.5, -1, 0)
  89. ll.Weld.C1 = CFrame.new(0, 1, 0)
  90. newWeld(tors, rl, 0.5, -1, 0)
  91. rl.Weld.C1 = CFrame.new(0, 1, 0)
  92. -------------------------------------------------------
  93. --Start HeartBeat--
  94. -------------------------------------------------------
  95. ArtificialHB = Instance.new("BindableEvent", script)
  96. ArtificialHB.Name = "Heartbeat"
  97. script:WaitForChild("Heartbeat")
  98.  
  99. frame = 1 / 60
  100. tf = 0
  101. allowframeloss = false
  102. tossremainder = false
  103.  
  104.  
  105. lastframe = tick()
  106. script.Heartbeat:Fire()
  107.  
  108.  
  109. game:GetService("RunService").Heartbeat:connect(function(s, p)
  110. tf = tf + s
  111. if tf >= frame then
  112. if allowframeloss then
  113. script.Heartbeat:Fire()
  114. lastframe = tick()
  115. else
  116. for i = 1, math.floor(tf / frame) do
  117. script.Heartbeat:Fire()
  118. end
  119. lastframe = tick()
  120. end
  121. if tossremainder then
  122. tf = 0
  123. else
  124. tf = tf - frame * math.floor(tf / frame)
  125. end
  126. end
  127. end)
  128. -------------------------------------------------------
  129. --End HeartBeat--
  130. -------------------------------------------------------
  131.  
  132. -------------------------------------------------------
  133. --Start Important Functions--
  134. -------------------------------------------------------
  135. function swait(num)
  136. if num == 0 or num == nil then
  137. game:service("RunService").Stepped:wait(0)
  138. else
  139. for i = 0, num do
  140. game:service("RunService").Stepped:wait(0)
  141. end
  142. end
  143. end
  144. function thread(f)
  145. coroutine.resume(coroutine.create(f))
  146. end
  147. function clerp(a, b, t)
  148. local qa = {
  149. QuaternionFromCFrame(a)
  150. }
  151. local qb = {
  152. QuaternionFromCFrame(b)
  153. }
  154. local ax, ay, az = a.x, a.y, a.z
  155. local bx, by, bz = b.x, b.y, b.z
  156. local _t = 1 - t
  157. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  158. end
  159. function QuaternionFromCFrame(cf)
  160. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  161. local trace = m00 + m11 + m22
  162. if trace > 0 then
  163. local s = math.sqrt(1 + trace)
  164. local recip = 0.5 / s
  165. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  166. else
  167. local i = 0
  168. if m00 < m11 then
  169. i = 1
  170. end
  171. if m22 > (i == 0 and m00 or m11) then
  172. i = 2
  173. end
  174. if i == 0 then
  175. local s = math.sqrt(m00 - m11 - m22 + 1)
  176. local recip = 0.5 / s
  177. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  178. elseif i == 1 then
  179. local s = math.sqrt(m11 - m22 - m00 + 1)
  180. local recip = 0.5 / s
  181. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  182. elseif i == 2 then
  183. local s = math.sqrt(m22 - m00 - m11 + 1)
  184. local recip = 0.5 / s
  185. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  186. end
  187. end
  188. end
  189. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  190. local xs, ys, zs = x + x, y + y, z + z
  191. local wx, wy, wz = w * xs, w * ys, w * zs
  192. local xx = x * xs
  193. local xy = x * ys
  194. local xz = x * zs
  195. local yy = y * ys
  196. local yz = y * zs
  197. local zz = z * zs
  198. 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))
  199. end
  200. function QuaternionSlerp(a, b, t)
  201. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  202. local startInterp, finishInterp
  203. if cosTheta >= 1.0E-4 then
  204. if 1 - cosTheta > 1.0E-4 then
  205. local theta = math.acos(cosTheta)
  206. local invSinTheta = 1 / Sin(theta)
  207. startInterp = Sin((1 - t) * theta) * invSinTheta
  208. finishInterp = Sin(t * theta) * invSinTheta
  209. else
  210. startInterp = 1 - t
  211. finishInterp = t
  212. end
  213. elseif 1 + cosTheta > 1.0E-4 then
  214. local theta = math.acos(-cosTheta)
  215. local invSinTheta = 1 / Sin(theta)
  216. startInterp = Sin((t - 1) * theta) * invSinTheta
  217. finishInterp = Sin(t * theta) * invSinTheta
  218. else
  219. startInterp = t - 1
  220. finishInterp = t
  221. end
  222. 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
  223. end
  224. function rayCast(Position, Direction, Range, Ignore)
  225. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  226. end
  227. local RbxUtility = LoadLibrary("RbxUtility")
  228. local Create = RbxUtility.Create
  229.  
  230. -------------------------------------------------------
  231. --Start Damage Function--
  232. -------------------------------------------------------
  233. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  234. if hit.Parent == nil then
  235. return
  236. end
  237. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  238. for _, v in pairs(hit.Parent:children()) do
  239. if v:IsA("Humanoid") then
  240. h = v
  241. end
  242. end
  243. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  244.  
  245. hit.Parent:FindFirstChild("Head"):BreakJoints()
  246. end
  247.  
  248. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  249. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  250. if hit.Parent.DebounceHit.Value == true then
  251. return
  252. end
  253. end
  254. if insta == true then
  255. hit.Parent:FindFirstChild("Head"):BreakJoints()
  256. end
  257. local c = Create("ObjectValue"){
  258. Name = "creator",
  259. Value = game:service("Players").LocalPlayer,
  260. Parent = h,
  261. }
  262. game:GetService("Debris"):AddItem(c, .5)
  263. if HitSound ~= nil and HitPitch ~= nil then
  264. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  265. end
  266. local Damage = math.random(minim, maxim)
  267. local blocked = false
  268. local block = hit.Parent:findFirstChild("Block")
  269. if block ~= nil then
  270. if block.className == "IntValue" then
  271. if block.Value > 0 then
  272. blocked = true
  273. block.Value = block.Value - 1
  274. print(block.Value)
  275. end
  276. end
  277. end
  278. if blocked == false then
  279. h.Health = h.Health - Damage
  280. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  281. else
  282. h.Health = h.Health - (Damage / 2)
  283. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  284. end
  285. if Type == "Knockdown" then
  286. local hum = hit.Parent.Humanoid
  287. hum.PlatformStand = true
  288. coroutine.resume(coroutine.create(function(HHumanoid)
  289. swait(1)
  290. HHumanoid.PlatformStand = false
  291. end), hum)
  292. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  293. local bodvol = Create("BodyVelocity"){
  294. velocity = angle * knockback,
  295. P = 5000,
  296. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  297. Parent = hit,
  298. }
  299. local rl = Create("BodyAngularVelocity"){
  300. P = 3000,
  301. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  302. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  303. Parent = hit,
  304. }
  305. game:GetService("Debris"):AddItem(bodvol, .5)
  306. game:GetService("Debris"):AddItem(rl, .5)
  307. elseif Type == "Normal" then
  308. local vp = Create("BodyVelocity"){
  309. P = 500,
  310. maxForce = Vector3.new(math.huge, 0, math.huge),
  311. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  312. }
  313. if knockback > 0 then
  314. vp.Parent = hit.Parent.Torso
  315. end
  316. game:GetService("Debris"):AddItem(vp, .5)
  317. elseif Type == "Up" then
  318. local bodyVelocity = Create("BodyVelocity"){
  319. velocity = Vector3.new(0, 20, 0),
  320. P = 5000,
  321. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  322. Parent = hit,
  323. }
  324. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  325. elseif Type == "DarkUp" then
  326. coroutine.resume(coroutine.create(function()
  327. for i = 0, 1, 0.1 do
  328. swait()
  329. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  330. end
  331. end))
  332. local bodyVelocity = Create("BodyVelocity"){
  333. velocity = Vector3.new(0, 20, 0),
  334. P = 5000,
  335. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  336. Parent = hit,
  337. }
  338. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  339. elseif Type == "Snare" then
  340. local bp = Create("BodyPosition"){
  341. P = 2000,
  342. D = 100,
  343. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  344. position = hit.Parent.Torso.Position,
  345. Parent = hit.Parent.Torso,
  346. }
  347. game:GetService("Debris"):AddItem(bp, 1)
  348. elseif Type == "Freeze" then
  349. local BodPos = Create("BodyPosition"){
  350. P = 50000,
  351. D = 1000,
  352. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  353. position = hit.Parent.Torso.Position,
  354. Parent = hit.Parent.Torso,
  355. }
  356. local BodGy = Create("BodyGyro") {
  357. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  358. P = 20e+003,
  359. Parent = hit.Parent.Torso,
  360. cframe = hit.Parent.Torso.CFrame,
  361. }
  362. hit.Parent.Torso.Anchored = true
  363. coroutine.resume(coroutine.create(function(Part)
  364. swait(1.5)
  365. Part.Anchored = false
  366. end), hit.Parent.Torso)
  367. game:GetService("Debris"):AddItem(BodPos, 3)
  368. game:GetService("Debris"):AddItem(BodGy, 3)
  369. end
  370. local debounce = Create("BoolValue"){
  371. Name = "DebounceHit",
  372. Parent = hit.Parent,
  373. Value = true,
  374. }
  375. game:GetService("Debris"):AddItem(debounce, Delay)
  376. c = Create("ObjectValue"){
  377. Name = "creator",
  378. Value = Player,
  379. Parent = h,
  380. }
  381. game:GetService("Debris"):AddItem(c, .5)
  382. end
  383. end
  384. -------------------------------------------------------
  385. --End Damage Function--
  386. -------------------------------------------------------
  387.  
  388. -------------------------------------------------------
  389. --Start Damage Function Customization--
  390. -------------------------------------------------------
  391. function ShowDamage(Pos, Text, Time, Color)
  392. local Rate = (1 / 30)
  393. local Pos = (Pos or Vector3.new(0, 0, 0))
  394. local Text = (Text or "")
  395. local Time = (Time or 2)
  396. local Color = (Color or Color3.new(1, 0, 1))
  397. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  398. EffectPart.Anchored = true
  399. local BillboardGui = Create("BillboardGui"){
  400. Size = UDim2.new(3, 0, 3, 0),
  401. Adornee = EffectPart,
  402. Parent = EffectPart,
  403. }
  404. local TextLabel = Create("TextLabel"){
  405. BackgroundTransparency = 1,
  406. Size = UDim2.new(1, 0, 1, 0),
  407. Text = Text,
  408. Font = "Bodoni",
  409. TextColor3 = Color,
  410. TextScaled = true,
  411. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  412. Parent = BillboardGui,
  413. }
  414. game.Debris:AddItem(EffectPart, (Time))
  415. EffectPart.Parent = game:GetService("Workspace")
  416. delay(0, function()
  417. local Frames = (Time / Rate)
  418. for Frame = 1, Frames do
  419. wait(Rate)
  420. local Percent = (Frame / Frames)
  421. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  422. TextLabel.TextTransparency = Percent
  423. end
  424. if EffectPart and EffectPart.Parent then
  425. EffectPart:Destroy()
  426. end
  427. end)
  428. end
  429. -------------------------------------------------------
  430. --End Damage Function Customization--
  431. -------------------------------------------------------
  432.  
  433. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  434. for _, c in pairs(workspace:children()) do
  435. local hum = c:findFirstChild("Humanoid")
  436. if hum ~= nil then
  437. local head = c:findFirstChild("Head")
  438. if head ~= nil then
  439. local targ = head.Position - Part.Position
  440. local mag = targ.magnitude
  441. if magni >= mag and c.Name ~= plr.Name then
  442. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  443. end
  444. end
  445. end
  446. end
  447. end
  448.  
  449.  
  450. CFuncs = {
  451. Part = {
  452. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  453. local Part = Create("Part")({
  454. Parent = Parent,
  455. Reflectance = Reflectance,
  456. Transparency = Transparency,
  457. CanCollide = false,
  458. Locked = true,
  459. BrickColor = BrickColor.new(tostring(BColor)),
  460. Name = Name,
  461. Size = Size,
  462. Material = Material
  463. })
  464. RemoveOutlines(Part)
  465. return Part
  466. end
  467. },
  468. Mesh = {
  469. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  470. local Msh = Create(Mesh)({
  471. Parent = Part,
  472. Offset = OffSet,
  473. Scale = Scale
  474. })
  475. if Mesh == "SpecialMesh" then
  476. Msh.MeshType = MeshType
  477. Msh.MeshId = MeshId
  478. end
  479. return Msh
  480. end
  481. },
  482. Mesh = {
  483. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  484. local Msh = Create(Mesh)({
  485. Parent = Part,
  486. Offset = OffSet,
  487. Scale = Scale
  488. })
  489. if Mesh == "SpecialMesh" then
  490. Msh.MeshType = MeshType
  491. Msh.MeshId = MeshId
  492. end
  493. return Msh
  494. end
  495. },
  496. Weld = {
  497. Create = function(Parent, Part0, Part1, C0, C1)
  498. local Weld = Create("Weld")({
  499. Parent = Parent,
  500. Part0 = Part0,
  501. Part1 = Part1,
  502. C0 = C0,
  503. C1 = C1
  504. })
  505. return Weld
  506. end
  507. },
  508. Sound = {
  509. Create = function(id, par, vol, pit)
  510. coroutine.resume(coroutine.create(function()
  511. local S = Create("Sound")({
  512. Volume = vol,
  513. Pitch = pit or 1,
  514. SoundId = id,
  515. Parent = par or workspace
  516. })
  517. wait()
  518. S:play()
  519. game:GetService("Debris"):AddItem(S, 6)
  520. end))
  521. end
  522. },
  523. ParticleEmitter = {
  524. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  525. local fp = Create("ParticleEmitter")({
  526. Parent = Parent,
  527. Color = ColorSequence.new(Color1, Color2),
  528. LightEmission = LightEmission,
  529. Size = Size,
  530. Texture = Texture,
  531. Transparency = Transparency,
  532. ZOffset = ZOffset,
  533. Acceleration = Accel,
  534. Drag = Drag,
  535. LockedToPart = LockedToPart,
  536. VelocityInheritance = VelocityInheritance,
  537. EmissionDirection = EmissionDirection,
  538. Enabled = Enabled,
  539. Lifetime = LifeTime,
  540. Rate = Rate,
  541. Rotation = Rotation,
  542. RotSpeed = RotSpeed,
  543. Speed = Speed,
  544. VelocitySpread = VelocitySpread
  545. })
  546. return fp
  547. end
  548. }
  549. }
  550. function RemoveOutlines(part)
  551. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  552. end
  553. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  554. local Part = Create("Part")({
  555. formFactor = FormFactor,
  556. Parent = Parent,
  557. Reflectance = Reflectance,
  558. Transparency = Transparency,
  559. CanCollide = false,
  560. Locked = true,
  561. BrickColor = BrickColor.new(tostring(BColor)),
  562. Name = Name,
  563. Size = Size,
  564. Material = Material
  565. })
  566. RemoveOutlines(Part)
  567. return Part
  568. end
  569. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  570. local Msh = Create(Mesh)({
  571. Parent = Part,
  572. Offset = OffSet,
  573. Scale = Scale
  574. })
  575. if Mesh == "SpecialMesh" then
  576. Msh.MeshType = MeshType
  577. Msh.MeshId = MeshId
  578. end
  579. return Msh
  580. end
  581. function CreateWeld(Parent, Part0, Part1, C0, C1)
  582. local Weld = Create("Weld")({
  583. Parent = Parent,
  584. Part0 = Part0,
  585. Part1 = Part1,
  586. C0 = C0,
  587. C1 = C1
  588. })
  589. return Weld
  590. end
  591.  
  592.  
  593. -------------------------------------------------------
  594. --Start Effect Function--
  595. -------------------------------------------------------
  596. EffectModel = Instance.new("Model", char)
  597. Effects = {
  598. Block = {
  599. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  600. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  601. prt.Anchored = true
  602. prt.CFrame = cframe
  603. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  604. game:GetService("Debris"):AddItem(prt, 10)
  605. if Type == 1 or Type == nil then
  606. table.insert(Effects, {
  607. prt,
  608. "Block1",
  609. delay,
  610. x3,
  611. y3,
  612. z3,
  613. msh
  614. })
  615. elseif Type == 2 then
  616. table.insert(Effects, {
  617. prt,
  618. "Block2",
  619. delay,
  620. x3,
  621. y3,
  622. z3,
  623. msh
  624. })
  625. else
  626. table.insert(Effects, {
  627. prt,
  628. "Block3",
  629. delay,
  630. x3,
  631. y3,
  632. z3,
  633. msh
  634. })
  635. end
  636. end
  637. },
  638. Sphere = {
  639. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  640. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  641. prt.Anchored = true
  642. prt.CFrame = cframe
  643. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  644. game:GetService("Debris"):AddItem(prt, 10)
  645. table.insert(Effects, {
  646. prt,
  647. "Cylinder",
  648. delay,
  649. x3,
  650. y3,
  651. z3,
  652. msh
  653. })
  654. end
  655. },
  656. Cylinder = {
  657. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  658. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  659. prt.Anchored = true
  660. prt.CFrame = cframe
  661. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  662. game:GetService("Debris"):AddItem(prt, 10)
  663. table.insert(Effects, {
  664. prt,
  665. "Cylinder",
  666. delay,
  667. x3,
  668. y3,
  669. z3,
  670. msh
  671. })
  672. end
  673. },
  674. Wave = {
  675. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  676. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  677. prt.Anchored = true
  678. prt.CFrame = cframe
  679. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  680. game:GetService("Debris"):AddItem(prt, 10)
  681. table.insert(Effects, {
  682. prt,
  683. "Cylinder",
  684. delay,
  685. x3 / 60,
  686. y3 / 60,
  687. z3 / 60,
  688. msh
  689. })
  690. end
  691. },
  692. Ring = {
  693. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  694. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  695. prt.Anchored = true
  696. prt.CFrame = cframe
  697. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  698. game:GetService("Debris"):AddItem(prt, 10)
  699. table.insert(Effects, {
  700. prt,
  701. "Cylinder",
  702. delay,
  703. x3,
  704. y3,
  705. z3,
  706. msh
  707. })
  708. end
  709. },
  710. Break = {
  711. Create = function(brickcolor, cframe, x1, y1, z1)
  712. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  713. prt.Anchored = true
  714. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  715. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  716. local num = math.random(10, 50) / 1000
  717. game:GetService("Debris"):AddItem(prt, 10)
  718. table.insert(Effects, {
  719. prt,
  720. "Shatter",
  721. num,
  722. prt.CFrame,
  723. math.random() - math.random(),
  724. 0,
  725. math.random(50, 100) / 100
  726. })
  727. end
  728. },
  729. Spiral = {
  730. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  731. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  732. prt.Anchored = true
  733. prt.CFrame = cframe
  734. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  735. game:GetService("Debris"):AddItem(prt, 10)
  736. table.insert(Effects, {
  737. prt,
  738. "Cylinder",
  739. delay,
  740. x3,
  741. y3,
  742. z3,
  743. msh
  744. })
  745. end
  746. },
  747. Push = {
  748. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  749. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  750. prt.Anchored = true
  751. prt.CFrame = cframe
  752. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  753. game:GetService("Debris"):AddItem(prt, 10)
  754. table.insert(Effects, {
  755. prt,
  756. "Cylinder",
  757. delay,
  758. x3,
  759. y3,
  760. z3,
  761. msh
  762. })
  763. end
  764. }
  765. }
  766. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  767. local fp = IT("Part")
  768. fp.formFactor = formfactor
  769. fp.Parent = parent
  770. fp.Reflectance = reflectance
  771. fp.Transparency = transparency
  772. fp.CanCollide = false
  773. fp.Locked = true
  774. fp.BrickColor = brickcolor
  775. fp.Name = name
  776. fp.Size = size
  777. fp.Position = tors.Position
  778. RemoveOutlines(fp)
  779. fp.Material = "SmoothPlastic"
  780. fp:BreakJoints()
  781. return fp
  782. end
  783.  
  784. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  785. local mesh = IT(Mesh)
  786. mesh.Parent = part
  787. if Mesh == "SpecialMesh" then
  788. mesh.MeshType = meshtype
  789. if meshid ~= "nil" then
  790. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  791. end
  792. end
  793. mesh.Offset = offset
  794. mesh.Scale = scale
  795. return mesh
  796. end
  797.  
  798. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  799. local type = type
  800. local rng = Instance.new("Part", char)
  801. rng.Anchored = true
  802. rng.BrickColor = color
  803. rng.CanCollide = false
  804. rng.FormFactor = 3
  805. rng.Name = "Ring"
  806. rng.Material = "Neon"
  807. rng.Size = Vector3.new(1, 1, 1)
  808. rng.Transparency = 0
  809. rng.TopSurface = 0
  810. rng.BottomSurface = 0
  811. rng.CFrame = pos
  812. local rngm = Instance.new("SpecialMesh", rng)
  813. rngm.MeshType = MType
  814. rngm.Scale = scale
  815. local scaler2 = 1
  816. if type == "Add" then
  817. scaler2 = 1 * value
  818. elseif type == "Divide" then
  819. scaler2 = 1 / value
  820. end
  821. coroutine.resume(coroutine.create(function()
  822. for i = 0, 10 / bonuspeed, 0.1 do
  823. swait()
  824. if type == "Add" then
  825. scaler2 = scaler2 - 0.01 * value / bonuspeed
  826. elseif type == "Divide" then
  827. scaler2 = scaler2 - 0.01 / value * bonuspeed
  828. end
  829. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  830. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  831. end
  832. rng:Destroy()
  833. end))
  834. end
  835.  
  836. function Eviscerate(dude)
  837. if dude.Name ~= char then
  838. local bgf = IT("BodyGyro", dude.Head)
  839. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  840. local val = IT("BoolValue", dude)
  841. val.Name = "IsHit"
  842. local ds = coroutine.wrap(function()
  843. dude:WaitForChild("Head"):BreakJoints()
  844. wait(0.5)
  845. target = nil
  846. coroutine.resume(coroutine.create(function()
  847. for i, v in pairs(dude:GetChildren()) do
  848. if v:IsA("Accessory") then
  849. v:Destroy()
  850. end
  851. if v:IsA("Humanoid") then
  852. v:Destroy()
  853. end
  854. if v:IsA("CharacterMesh") then
  855. v:Destroy()
  856. end
  857. if v:IsA("Model") then
  858. v:Destroy()
  859. end
  860. if v:IsA("Part") or v:IsA("MeshPart") then
  861. for x, o in pairs(v:GetChildren()) do
  862. if o:IsA("Decal") then
  863. o:Destroy()
  864. end
  865. end
  866. coroutine.resume(coroutine.create(function()
  867. v.Material = "Neon"
  868. v.CanCollide = false
  869. local PartEmmit1 = IT("ParticleEmitter", v)
  870. PartEmmit1.LightEmission = 1
  871. PartEmmit1.Texture = "rbxassetid://284205403"
  872. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  873. PartEmmit1.Rate = 150
  874. PartEmmit1.Lifetime = NumberRange.new(1)
  875. PartEmmit1.Size = NumberSequence.new({
  876. NumberSequenceKeypoint.new(0, 0.75, 0),
  877. NumberSequenceKeypoint.new(1, 0, 0)
  878. })
  879. PartEmmit1.Transparency = NumberSequence.new({
  880. NumberSequenceKeypoint.new(0, 0, 0),
  881. NumberSequenceKeypoint.new(1, 1, 0)
  882. })
  883. PartEmmit1.Speed = NumberRange.new(0, 0)
  884. PartEmmit1.VelocitySpread = 30000
  885. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  886. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  887. local BodPoss = IT("BodyPosition", v)
  888. BodPoss.P = 3000
  889. BodPoss.D = 1000
  890. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  891. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  892. v.Color = maincolor.Color
  893. coroutine.resume(coroutine.create(function()
  894. for i = 0, 49 do
  895. swait(1)
  896. v.Transparency = v.Transparency + 0.08
  897. end
  898. wait(0.5)
  899. PartEmmit1.Enabled = false
  900. wait(3)
  901. v:Destroy()
  902. dude:Destroy()
  903. end))
  904. end))
  905. end
  906. end
  907. end))
  908. end)
  909. ds()
  910. end
  911. end
  912.  
  913. function FindNearestHead(Position, Distance, SinglePlayer)
  914. if SinglePlayer then
  915. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  916. end
  917. local List = {}
  918. for i, v in pairs(workspace:GetChildren()) do
  919. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  920. table.insert(List, v)
  921. end
  922. end
  923. return List
  924. end
  925.  
  926. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  927. local type = type
  928. local rng = Instance.new("Part", char)
  929. rng.Anchored = true
  930. rng.BrickColor = color
  931. rng.CanCollide = false
  932. rng.FormFactor = 3
  933. rng.Name = "Ring"
  934. rng.Material = "Neon"
  935. rng.Size = Vector3.new(1, 1, 1)
  936. rng.Transparency = 0
  937. rng.TopSurface = 0
  938. rng.BottomSurface = 0
  939. rng.CFrame = pos
  940. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  941. local rngm = Instance.new("SpecialMesh", rng)
  942. rngm.MeshType = MType
  943. rngm.Scale = Vector3.new(x1, y1, z1)
  944. local scaler2 = 1
  945. local speeder = FastSpeed
  946. if type == "Add" then
  947. scaler2 = 1 * value
  948. elseif type == "Divide" then
  949. scaler2 = 1 / value
  950. end
  951. coroutine.resume(coroutine.create(function()
  952. for i = 0, 10 / bonuspeed, 0.1 do
  953. swait()
  954. if type == "Add" then
  955. scaler2 = scaler2 - 0.01 * value / bonuspeed
  956. elseif type == "Divide" then
  957. scaler2 = scaler2 - 0.01 / value * bonuspeed
  958. end
  959. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  960. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  961. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  962. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  963. end
  964. rng:Destroy()
  965. end))
  966. end
  967.  
  968. function SoulSteal(dude)
  969. if dude.Name ~= char then
  970. local bgf = IT("BodyGyro", dude.Head)
  971. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  972. local val = IT("BoolValue", dude)
  973. val.Name = "IsHit"
  974. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  975. local soulst = coroutine.wrap(function()
  976. local soul = Instance.new("Part",dude)
  977. soul.Size = Vector3.new(1,1,1)
  978. soul.CanCollide = false
  979. soul.Anchored = false
  980. soul.Position = torso.Position
  981. soul.Transparency = 1
  982. local PartEmmit1 = IT("ParticleEmitter", soul)
  983. PartEmmit1.LightEmission = 1
  984. PartEmmit1.Texture = "rbxassetid://569507414"
  985. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  986. PartEmmit1.Rate = 250
  987. PartEmmit1.Lifetime = NumberRange.new(1.6)
  988. PartEmmit1.Size = NumberSequence.new({
  989. NumberSequenceKeypoint.new(0, 1, 0),
  990. NumberSequenceKeypoint.new(1, 0, 0)
  991. })
  992. PartEmmit1.Transparency = NumberSequence.new({
  993. NumberSequenceKeypoint.new(0, 0, 0),
  994. NumberSequenceKeypoint.new(1, 1, 0)
  995. })
  996. PartEmmit1.Speed = NumberRange.new(0, 0)
  997. PartEmmit1.VelocitySpread = 30000
  998. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  999. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1000. local BodPoss = IT("BodyPosition", soul)
  1001. BodPoss.P = 3000
  1002. BodPoss.D = 1000
  1003. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1004. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1005. wait(1.6)
  1006. soul.Touched:connect(function(hit)
  1007. if hit.Parent == char then
  1008. soul:Destroy()
  1009. end
  1010. end)
  1011. wait(1.2)
  1012. while soul do
  1013. swait()
  1014. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1015. BodPoss.Position = tors.Position
  1016. end
  1017. end)
  1018. soulst()
  1019. end
  1020. end
  1021. function FaceMouse()
  1022. local Cam = workspace.CurrentCamera
  1023. return {
  1024. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1025. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1026. }
  1027. end
  1028. Effects = {
  1029. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  1030. local p = Instance.new("Part",EffectModel)
  1031. p.BrickColor = BrickColor.new(colour)
  1032. p.Size = partsize
  1033. p.Anchored = true
  1034. p.CanCollide = false
  1035. p.Material = matr
  1036. p.CFrame = cf
  1037. if inverse == true then
  1038. p.Transparency = 1
  1039. else
  1040. p.Transparency = 0
  1041. end
  1042. local m = Instance.new("BlockMesh",p)
  1043. m.Scale = meshstart
  1044. coroutine.wrap(function()
  1045. for i = 0, 1, factor do
  1046. swait()
  1047. if inverse == true then
  1048. p.Transparency = 1-i
  1049. else
  1050. p.Transparency = i
  1051. end
  1052. m.Scale = m.Scale + meshadd
  1053. if spin == true then
  1054. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1055. end
  1056. end
  1057. p:Destroy()
  1058. end)()
  1059. return p
  1060. end,
  1061. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1062. local p = Instance.new("Part",EffectModel)
  1063. p.BrickColor = BrickColor.new(colour)
  1064. p.Size = partsize
  1065. p.Anchored = true
  1066. p.CanCollide = false
  1067. p.Material = matr
  1068. p.CFrame = cf
  1069. if inverse == true then
  1070. p.Transparency = 1
  1071. else
  1072. p.Transparency = 0
  1073. end
  1074. local m = Instance.new("SpecialMesh",p)
  1075. m.MeshType = "Sphere"
  1076. m.Scale = meshstart
  1077. coroutine.wrap(function()
  1078. for i=0,1,factor do
  1079. swait()
  1080. if inverse == true then
  1081. p.Transparency = 1-i
  1082. else
  1083. p.Transparency = i
  1084. end
  1085. m.Scale = m.Scale + meshadd
  1086. end
  1087. p:Destroy()
  1088. end)()
  1089. return p
  1090. end,
  1091.  
  1092. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1093. local p = Instance.new("Part",EffectModel)
  1094. p.BrickColor = BrickColor.new(colour)
  1095. p.Size = partsize
  1096. p.Anchored = true
  1097. p.CanCollide = false
  1098. p.Material = matr
  1099. p.CFrame = cf
  1100. if inverse == true then
  1101. p.Transparency = 1
  1102. else
  1103. p.Transparency = 0
  1104. end
  1105. local m = Instance.new("CylinderMesh",p)
  1106. m.Scale = meshstart
  1107. coroutine.wrap(function()
  1108. for i=0,1,factor do
  1109. swait()
  1110. if inverse == true then
  1111. p.Transparency = 1-i
  1112. else
  1113. p.Transparency = i
  1114. end
  1115. m.Scale = m.Scale + meshadd
  1116. end
  1117. p:Destroy()
  1118. end)()
  1119. return p
  1120. end,
  1121.  
  1122. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  1123. local p = Instance.new("Part",EffectModel)
  1124. p.BrickColor = BrickColor.new(colour)
  1125. p.Size = Vector3.new()
  1126. p.Anchored = true
  1127. p.CanCollide = false
  1128. p.CFrame = cf
  1129. if inverse == true then
  1130. p.Transparency = 1
  1131. else
  1132. p.Transparency = 0
  1133. end
  1134. local m = Instance.new("SpecialMesh",p)
  1135. m.MeshId = "rbxassetid://20329976"
  1136. m.Scale = meshstart
  1137. coroutine.wrap(function()
  1138. for i=0,1,factor do
  1139. swait()
  1140. if inverse == true then
  1141. p.Transparency = 1-i
  1142. else
  1143. p.Transparency = i
  1144. end
  1145. m.Scale = m.Scale + meshadd
  1146. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1147. end
  1148. p:Destroy()
  1149. end)()
  1150. return p
  1151. end,
  1152.  
  1153. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  1154. local p = Instance.new("Part",EffectModel)
  1155. p.BrickColor = BrickColor.new(colour)
  1156. p.Size = Vector3.new()
  1157. p.Anchored = true
  1158. p.CanCollide = false
  1159. p.CFrame = cf
  1160. if inverse == true then
  1161. p.Transparency = 1
  1162. else
  1163. p.Transparency = 0
  1164. end
  1165. local m = Instance.new("SpecialMesh",p)
  1166. m.MeshId = "rbxassetid://3270017"
  1167. m.Scale = meshstart
  1168. coroutine.wrap(function()
  1169. for i=0,1,factor do
  1170. swait()
  1171. if inverse == true then
  1172. p.Transparency = 1-i
  1173. else
  1174. p.Transparency = i
  1175. end
  1176. m.Scale = m.Scale + meshadd
  1177. end
  1178. p:Destroy()
  1179. end)()
  1180. return p
  1181. end,
  1182.  
  1183. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  1184. local p = Instance.new("Part",EffectModel)
  1185. p.BrickColor = BrickColor.new(colour)
  1186. p.Size = Vector3.new()
  1187. p.Anchored = true
  1188. p.CanCollide = false
  1189. p.CFrame = cf
  1190. if inverse == true then
  1191. p.Transparency = 1
  1192. else
  1193. p.Transparency = 0
  1194. end
  1195. local m = Instance.new("SpecialMesh",p)
  1196. m.MeshId = meshid
  1197. m.TextureId = textid
  1198. m.Scale = meshstart
  1199. coroutine.wrap(function()
  1200. for i=0,1,factor do
  1201. swait()
  1202. if inverse == true then
  1203. p.Transparency = 1-i
  1204. else
  1205. p.Transparency = i
  1206. end
  1207. m.Scale = m.Scale + meshadd
  1208. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1209. end
  1210. p:Destroy()
  1211. end)()
  1212. return p
  1213. end,
  1214.  
  1215. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  1216. local p = Instance.new("Part",EffectModel)
  1217. p.BrickColor = BrickColor.new(colour)
  1218. p.Size = partsize
  1219. p.Anchored = true
  1220. p.CanCollide = false
  1221. p.Material = matr
  1222. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1223. if inverse == true then
  1224. p.Transparency = 1
  1225. else
  1226. p.Transparency = 0
  1227. end
  1228. local m = Instance.new("SpecialMesh",p)
  1229. m.MeshType = "Sphere"
  1230. m.Scale = meshstart
  1231. coroutine.wrap(function()
  1232. for i=0,1,factor do
  1233. swait()
  1234. if inverse == true then
  1235. p.Transparency = 1-i
  1236. else
  1237. p.Transparency = i
  1238. end
  1239. m.Scale = m.Scale + meshadd
  1240. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  1241. end
  1242. p:Destroy()
  1243. end)()
  1244. return p
  1245. end,
  1246.  
  1247. }
  1248. -------------------------------------------------------
  1249. --End Effect Function--
  1250. -------------------------------------------------------
  1251. function Cso(ID, PARENT, VOLUME, PITCH)
  1252. local NSound = nil
  1253. coroutine.resume(coroutine.create(function()
  1254. NSound = IT("Sound", PARENT)
  1255. NSound.Volume = VOLUME
  1256. NSound.Pitch = PITCH
  1257. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1258. swait()
  1259. NSound:play()
  1260. game:GetService("Debris"):AddItem(NSound, 10)
  1261. end))
  1262. return NSound
  1263. end
  1264. function CamShake(Length, Intensity)
  1265. coroutine.resume(coroutine.create(function()
  1266. local intensity = 1 * Intensity
  1267. local rotM = 0.01 * Intensity
  1268. for i = 0, Length, 0.1 do
  1269. swait()
  1270. intensity = intensity - 0.05 * Intensity / Length
  1271. rotM = rotM - 5.0E-4 * Intensity / Length
  1272. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1273. 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)
  1274. end
  1275. hum.CameraOffset = Vector3.new(0, 0, 0)
  1276. end))
  1277. end
  1278. NewInstance = function(instance,parent,properties)
  1279. local inst = Instance.new(instance)
  1280. inst.Parent = parent
  1281. if(properties)then
  1282. for i,v in next, properties do
  1283. pcall(function() inst[i] = v end)
  1284. end
  1285. end
  1286. return inst;
  1287. end
  1288. hum.MaxHealth = 1.0E298
  1289. hum.Health = 1.0E298
  1290. game:GetService("RunService"):BindToRenderStep("HOT", 0, function()
  1291. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  1292. hum.MaxHealth = 1.0E298
  1293. hum.Health = 1.0E298
  1294. end
  1295. end)
  1296. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1297. local NEWWELD = IT(TYPE)
  1298. NEWWELD.Part0 = PART0
  1299. NEWWELD.Part1 = PART1
  1300. NEWWELD.C0 = C0
  1301. NEWWELD.C1 = C1
  1302. NEWWELD.Parent = PARENT
  1303. return NEWWELD
  1304. end
  1305. function GetTorsos(pos,dis)
  1306. local people = workspace:GetChildren()
  1307. local peopletab = {}
  1308. local temp = nil
  1309. local humtor = nil
  1310. local temp2 = nil
  1311. for x = 1, #people do
  1312. temp2 = people[x]
  1313. if temp2.className == "Model" and temp2 ~= char and temp2:FindFirstChildOfClass("Humanoid") then
  1314. temp = temp2:FindFirstChild("Torso") or temp2:FindFirstChild("UpperTorso")
  1315. humtor = temp2:FindFirstChildOfClass("Humanoid")
  1316. if temp ~= nil and humtor ~= nil and humtor.Health > 0 then
  1317. if (temp.Position - pos).magnitude < dis then
  1318. table.insert(peopletab,temp)
  1319. dis = (temp.Position - pos).magnitude
  1320. end
  1321. end
  1322. end
  1323. end
  1324. return peopletab
  1325. end
  1326. -------------------------------------------------------
  1327. --End Important Functions--
  1328. -------------------------------------------------------
  1329.  
  1330.  
  1331. -------------------------------------------------------
  1332. --Start Customization--
  1333. -------------------------------------------------------
  1334. local Player_Size = 1
  1335. if Player_Size ~= 1 then
  1336. root.Size = root.Size * Player_Size
  1337. tors.Size = tors.Size * Player_Size
  1338. hed.Size = hed.Size * Player_Size
  1339. ra.Size = ra.Size * Player_Size
  1340. la.Size = la.Size * Player_Size
  1341. rl.Size = rl.Size * Player_Size
  1342. ll.Size = ll.Size * Player_Size
  1343. ----------------------------------------------------------------------------------
  1344. rootj.Parent = root
  1345. neck.Parent = tors
  1346. RW.Parent = tors
  1347. LW.Parent = tors
  1348. RH.Parent = tors
  1349. LH.Parent = tors
  1350. ----------------------------------------------------------------------------------
  1351. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1352. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1353. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1354. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1355. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1356. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1357. ----------------------------------------------------------------------------------
  1358. 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))
  1359. 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))
  1360. 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))
  1361. 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))
  1362. --hat.Parent = Character
  1363. end
  1364. ----------------------------------------------------------------------------------
  1365. local SONG = 1834282483
  1366. local SONG2 = 0
  1367. local Music = Instance.new("Sound",tors)
  1368. Music.Volume = 2.5
  1369. Music.Looped = true
  1370. Music.Pitch = 1 --Pitcher
  1371. ----------------------------------------------------------------------------------
  1372. local equipped = false
  1373. local idle = 0
  1374. local change = 2
  1375. local val = 0
  1376. local toim = 0
  1377. local idleanim = 0.4
  1378. local sine = 0
  1379. local Sit = 1
  1380. local WasAir = false
  1381. local InAir = false
  1382. local LandTick = 0
  1383. local movelegs = false
  1384. local FF = Instance.new("ForceField",char)
  1385. FF.Visible = false
  1386. local Speed = 16
  1387. ----------------------------------------------------------------------------------
  1388. hum.JumpPower = 55
  1389. hum.Animator.Parent = nil
  1390. ----------------------------------------------------------------------------------
  1391. local top = Instance.new("Shirt")
  1392. top.ShirtTemplate = "rbxassetid://30579290"
  1393. top.Parent = char
  1394. top.Name = "Cloth"
  1395. local bottom = Instance.new("Pants")
  1396. bottom.PantsTemplate = "rbxassetid://30579303"
  1397. bottom.Parent = char
  1398. bottom.Name = "Cloth"
  1399. if hed:FindFirstChildOfClass("Decal") then
  1400. hed:FindFirstChildOfClass("Decal"):Destroy()
  1401. end
  1402. ----------------------------------------------------------------------------------
  1403. function CreateNeonCircle(ATTACHPART, POSITION, SIZE, DOESSPIN, COLOR, MATERIAL, THICKNESS, WIDTH)
  1404. local PART = CreatePart(3, char, MATERIAL, 0, 1, COLOR, "CirclePart", Vector3.new(0, 0, 0), false)
  1405. for i = 1, 45 do
  1406. local RingPiece = CreatePart(3, char, MATERIAL, 0, 0, COLOR, "CirclePart", Vector3.new(THICKNESS, WIDTH, SIZE * 0.65), false)
  1407. local RingWeld = CreateWeldOrSnapOrMotor("Weld", RingPiece, PART, RingPiece, CF(0, 0, 0) * angles(Rad(0), Rad(i * 8), Rad(0)), CF(0, 0, 0) * CF(SIZE * 4, 0, 0))
  1408. end
  1409. local PartWeld = CreateWeldOrSnapOrMotor("Weld", ATTACHPART, PART, ATTACHPART, POSITION * angles(Rad(0), Rad(0), Rad(0)), CF(0, 0, 0))
  1410. coroutine.resume(coroutine.create(function()
  1411. if DOESSPIN == true then
  1412. while true do
  1413. wait()
  1414. PartWeld.C0 = clerp(PartWeld.C0, POSITION * angles(Rad(0), Rad(sine * 2), Rad(0)), 1)
  1415. end
  1416. end
  1417. end))
  1418. end
  1419. CreateNeonCircle(hed, CF(0, -1.15, 0.1), 0.26, true, "Really black", "Neon", 0.10, 0.10)
  1420. ----------------------------------------------------------------------------------
  1421. HSHair = IT("Model")
  1422. HSHair.Parent = char
  1423. HSHair.Name = "HSHair"
  1424. RHe = IT("Part")
  1425. RHe.Parent = HSHair
  1426. RHe.BrickColor = BrickColor.new("Really black")
  1427. RHe.Locked = true
  1428. RHe.CanCollide = false
  1429. RHe.Transparency = 0
  1430. PMesh = IT("SpecialMesh")
  1431. RHe.formFactor = "Symmetric"
  1432. PMesh.MeshType = "FileMesh"
  1433. PMesh.MeshId = "rbxassetid://0"
  1434. PMesh.TextureId = "rbxassetid://0"
  1435. PMesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  1436. PMesh.Parent = RHe
  1437. local RWeld = IT("Weld")
  1438. RWeld.Parent = RHe
  1439. RWeld.Part0 = RHe
  1440. RWeld.Part1 = hed
  1441. RWeld.C0 = CF(0, 2.5, 1) * angles(0, Rad(180), 0)
  1442. -------------------------------------------------------
  1443. --End Customization--
  1444. -------------------------------------------------------
  1445.  
  1446.  
  1447. -------------------------------------------------------
  1448. --Start Attacks N Stuff--
  1449. -------------------------------------------------------
  1450. function AttackTemplate()
  1451. attack = true
  1452. for i = 0, 2, 0.1 do
  1453. swait()
  1454. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1455. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1456. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1457. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1458. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  1459. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  1460. end
  1461. attack = false
  1462. end
  1463. function ROAR()
  1464. attack = true
  1465. Speed = 0
  1466. local Roaring = Cso("340341349", char, 3, 0.8)
  1467. swait(2)
  1468. repeat
  1469. swait()
  1470. CamShake(2.5, 5)
  1471. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.1)
  1472. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15), Rad(0), Rad(0 - 5 * Cos(sine / 25))), 0.15)
  1473. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(30), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1474. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(30), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1475. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-40), Rad(0), Rad(35)), 0.1)
  1476. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-40), Rad(0), Rad(-35)), 0.1)
  1477. until Roaring.Playing == false
  1478. attack = false
  1479. Speed = 16
  1480. end
  1481. function Betraying_God()
  1482. attack = true
  1483. Speed = 0
  1484. for i = 0, 3, 0.1 do
  1485. swait()
  1486. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.1)
  1487. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1488. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.2 - 0.1 * Cos(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1489. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1490. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0), Rad(10)), 0.1)
  1491. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0), Rad(-10)), 0.1)
  1492. end
  1493. CamShake(3, 7)
  1494. MagniDamage(root, 60, 50, 100, 0, "Normal")
  1495. Magic(1, "Add", root.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Mulberry"), "Sphere")
  1496. Magic(1, "Add", root.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Really black"), "Sphere")
  1497. Magic(1, "Add", root.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Mulberry"), "Sphere")
  1498. CFuncs["Sound"].Create("rbxassetid://138213851", char, 2,1.2)
  1499. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,1.2)
  1500. --CFuncs["Sound"].Create("rbxassetid://919941001", char, 3,1.05)
  1501. for i = 0, 4, 0.1 do
  1502. swait()
  1503. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  1504. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1505. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.7 - 0.1 * Cos(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  1506. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  1507. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0), Rad(25)), 0.3)
  1508. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0), Rad(-25)), 0.3)
  1509. end
  1510. Speed = 16
  1511. attack = false
  1512. end
  1513. function Gods_Funeral()
  1514. attack = true
  1515. Speed = 0
  1516. MagniDamage(mouse.hit, 15, 20, 35, 0, "Normal")
  1517. Magic(1, "Add", mouse.hit, Vector3.new(15, 15, 15), 2, BrickC("Mulberry"), "Sphere")
  1518. Magic(1, "Add", mouse.hit, Vector3.new(2, 2, 2), 2, BrickC("Really black"), "Sphere")
  1519. for i = 0, 6 do
  1520. Effects.Meshed(mouse.hit * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),Vector3.new(),Vector3.new(.0115,.0005,.0115),"","rbxassetid://662585058","",0,false,0.03)
  1521. Aura(3, 1.5, "Add", mouse.hit * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 45, -0.05, BrickC("Really black"), 0, "Sphere")
  1522. Aura(3, 1.5, "Add", mouse.hit * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 45, -0.05, BrickC("Really black"), 0, "Sphere")
  1523. end
  1524. --Magic(1, "Add", root.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Mulberry"), "Sphere")
  1525. CFuncs["Sound"].Create("rbxassetid://1691481631", tors, 2,1.2)
  1526. for i = 0, 2, 0.1 do
  1527. swait()
  1528. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1529. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1530. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  1531. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  1532. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(80), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.3)
  1533. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
  1534. end
  1535. Speed = 16
  1536. attack = false
  1537. end
  1538. function Grudge_Holder()
  1539. attack = true
  1540. for i = 0, 2, 0.1 do
  1541. swait()
  1542. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1543. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1544. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1545. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1546. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  1547. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  1548. end
  1549. attack = false
  1550. end
  1551. function In_Heavens_Name()
  1552. attack = true
  1553. Speed = 0
  1554. for i = 0, 3, 0.1 do
  1555. swait()
  1556. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(35 - 1.5 * Cos(sine / 20)), Rad(0), Rad(0)), 0.1)
  1557. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 1.5 * Sin(sine / 20)), Rad(0), Rad(0 - 5 * Cos(sine / 20))), 0.1)
  1558. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35 - 1.5 * Cos(sine / 20)), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1559. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35 - 1.5 * Cos(sine / 20)), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1560. RW.C0 = clerp(RW.C0, CF(1.2* Player_Size, 0.3 + 0.01 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(40), Rad(0 + 5 * Sin(sine / 20)), Rad(-45)), 0.1)
  1561. LW.C0 = clerp(LW.C0, CF(-1.2* Player_Size, 0.3 + 0.01 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(40), Rad(0 - 5 * Sin(sine / 20)), Rad(45)), 0.1)
  1562. end
  1563. for i = 0, 2, 0.1 do
  1564. swait()
  1565. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-35 - 1.5 * Cos(sine / 20)), Rad(0), Rad(0)), 0.3)
  1566. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 1.5 * Sin(sine / 20)), Rad(0), Rad(0 - 5 * Cos(sine / 20))), 0.3)
  1567. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35 - 1.5 * Cos(sine / 20)), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  1568. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35 - 1.5 * Cos(sine / 20)), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  1569. RW.C0 = clerp(RW.C0, CF(1.2* Player_Size, 0.5 + 0.01 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-40), Rad(0 + 5 * Sin(sine / 20)), Rad(45)), 0.3)
  1570. LW.C0 = clerp(LW.C0, CF(-1.2* Player_Size, 0.5 + 0.01 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-40), Rad(0 - 5 * Sin(sine / 20)), Rad(-45)), 0.3)
  1571. end
  1572. for i,v in pairs(GetTorsos(tors.CFrame.p, 40)) do
  1573. if v.Parent:FindFirstChildOfClass("Humanoid") then
  1574. local GOTCHA = v.Parent
  1575. local GOTCHAhum = GOTCHA:FindFirstChildOfClass("Humanoid")
  1576. local GOTCHAtor = GOTCHA:FindFirstChild("Torso") or GOTCHA:FindFirstChild("UpperTorso")
  1577. GOTCHAhum.Health = GOTCHAhum.Health - 60
  1578. for i = 0, 9 do
  1579. Effects.Meshed(GOTCHAtor.CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),Vector3.new(),Vector3.new(.0115,.0005,.0115),"","rbxassetid://662585058","",0,false,0.03)
  1580. Aura(3, 1.5, "Add", GOTCHAtor.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 45, -0.05, BrickC("Really black"), 0, "Sphere")
  1581. Aura(3, 1.5, "Add", GOTCHAtor.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 45, -0.05, BrickC("Really black"), 0, "Sphere")
  1582. end
  1583. CFuncs["Sound"].Create("rbxassetid://138213851", char, 2,1.2)
  1584. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,1.2)
  1585. Magic(1, "Add", GOTCHAtor.CFrame, Vector3.new(35, 100, 35), 1, BrickC("Mulberry"), "Sphere")
  1586. Magic(2, "Add", GOTCHAtor.CFrame, Vector3.new(15, 60, 15), 2, BrickC("Really black"), "Sphere")
  1587. Magic(3, "Add", GOTCHAtor.CFrame, Vector3.new(3, 600, 3), 3, BrickC("Mulberry"), "Sphere")
  1588. end
  1589. end
  1590. Speed = 16
  1591. attack = false
  1592. end
  1593. -------------------------------------------------------
  1594. --End Attacks N Stuff--
  1595. -------------------------------------------------------
  1596. mouse.KeyDown:connect(function(key)
  1597. if attack == false then
  1598. if key == "t" then
  1599. ROAR()
  1600. elseif key == "z" then
  1601. Betraying_God()
  1602. elseif key == "x" then
  1603. Gods_Funeral()
  1604. elseif key == "c" then
  1605. Grudge_Holder()
  1606. elseif key == "v" then
  1607. In_Heavens_Name()
  1608. end
  1609. end
  1610. end)
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619. -------------------------------------------------------
  1620. --Start Animations--
  1621. -------------------------------------------------------
  1622. print("By Creterisk / Makhail07")
  1623. print("--------------------------------")
  1624. print("Attacks")
  1625. print("T : Roar.")
  1626. print("Z : Betraying God, Stomp on the ground doing massive damage.")
  1627. print("X : Gods Funeral, Aim with your mouse making a large explosion.")
  1628. print("(Not Done) C : Grudge Holder, Shoot a large beam eviscerating those in your way.")
  1629. print("V : In Heavens Name, Get close to a person blasting them with a beam.")
  1630. print("--------------------------------")
  1631. while true do
  1632. swait()
  1633. sine = sine + change
  1634. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1635. local velderp = root.Velocity.y
  1636. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1637. if equipped == true or equipped == false then
  1638. if attack == false then
  1639. idle = idle + 1
  1640. else
  1641. idle = 0
  1642. end
  1643. local Landed = false
  1644. if(hitfloor)then
  1645. WasAir = false
  1646. else
  1647. WasAir = true
  1648. end
  1649. if(WasAir == false)then
  1650. if(InAir == true)then
  1651. LandTick = time()
  1652. Landed = true
  1653. end
  1654. end
  1655. if(time()-LandTick < .3)then
  1656. Landed = true
  1657. end
  1658. if(hitfloor)then
  1659. InAir = false
  1660. else
  1661. InAir = true
  1662. end
  1663. local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
  1664. local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
  1665. local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  1666. if(State == 'Jump')then
  1667. hum.JumpPower = 55
  1668. if attack == false then
  1669. 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.1)
  1670. 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)
  1671. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  1672. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  1673. 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)
  1674. 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)
  1675. end
  1676. elseif(State == 'Fall')then
  1677. if attack == false then
  1678. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1679. 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)
  1680. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1681. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1682. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1683. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1684. end
  1685. elseif(State == 'Land')then
  1686. hum.JumpPower = 0
  1687. if attack == false then
  1688. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1689. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1690. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(5)), 0.15)
  1691. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(-5)), 0.15)
  1692. 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(0), Rad(25 + 4.5 * Sin(sine / 20))), 0.1)
  1693. 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(0), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  1694. end
  1695. elseif(State == 'Idle')then
  1696. change = 1
  1697. if attack == false then
  1698. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25 - 1.5 * Cos(sine / 20)), Rad(0), Rad(0)), 0.1)
  1699. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 1.5 * Sin(sine / 20)), Rad(0), Rad(0 - 5 * Cos(sine / 20))), 0.1)
  1700. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25 - 1.5 * Cos(sine / 20)), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1701. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25 - 1.5 * Cos(sine / 20)), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1702. RW.C0 = clerp(RW.C0, CF(1.2* Player_Size, 0.3 + 0.01 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(40), Rad(0 + 5 * Sin(sine / 20)), Rad(-35)), 0.1)
  1703. LW.C0 = clerp(LW.C0, CF(-1.2* Player_Size, 0.3 + 0.01 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(40), Rad(0 - 5 * Sin(sine / 20)), Rad(35)), 0.1)
  1704. end
  1705. elseif(State == 'Walk')then
  1706. change = 1
  1707. hum.JumpPower = 55
  1708. if attack == false then
  1709. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.25 * Cos(sine / (WALKSPEEDVALUE / 2))) * angles(Rad(10), Rad(0), Rad(0 - 2.75 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75), 0.1)
  1710. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0 - 2.75 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 13), 0.1)
  1711. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1712. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1713. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(0), Rad(35)), 0.1)
  1714. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(0), Rad(-35)), 0.1)
  1715. elseif attack == true and movelegs == true then
  1716. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1717. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1718. end
  1719. end
  1720. end
  1721. for _, c in pairs(char:GetChildren()) do
  1722. if c.ClassName == "Part" and c.Name ~= "Detail" then
  1723. --c.Material = "Fabric"
  1724. if c:FindFirstChildOfClass("ParticleEmitter") then
  1725. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1726. end
  1727. if c ~= hed then
  1728. --c.Color = Color3.new(1,1,1)
  1729. else
  1730. --c.Color = Color3.new(1,1,1)
  1731. end
  1732. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1733. c:remove()
  1734. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1735. c:remove()
  1736. end
  1737. end
  1738. hum.Name = "HUM"
  1739. hum.WalkSpeed = Speed
  1740. Music.SoundId = "rbxassetid://"..SONG
  1741. Music.Looped = true
  1742. Music.Pitch = 1
  1743. Music.Volume = 1.5
  1744. Music.Parent = tors
  1745. Music.Playing = true
  1746. if 0 < #Effects then
  1747. for e = 1, #Effects do
  1748. if Effects[e] ~= nil then
  1749. local Thing = Effects[e]
  1750. if Thing ~= nil then
  1751. local Part = Thing[1]
  1752. local Mode = Thing[2]
  1753. local Delay = Thing[3]
  1754. local IncX = Thing[4]
  1755. local IncY = Thing[5]
  1756. local IncZ = Thing[6]
  1757. if 1 >= Thing[1].Transparency then
  1758. if Thing[2] == "Block1" then
  1759. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1760. local Mesh = Thing[1].Mesh
  1761. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1762. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1763. elseif Thing[2] == "Block2" then
  1764. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1765. local Mesh = Thing[7]
  1766. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1767. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1768. elseif Thing[2] == "Block3" then
  1769. 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)
  1770. local Mesh = Thing[7]
  1771. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1772. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1773. elseif Thing[2] == "Cylinder" then
  1774. local Mesh = Thing[1].Mesh
  1775. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1776. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1777. elseif Thing[2] == "Blood" then
  1778. local Mesh = Thing[7]
  1779. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1780. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1781. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1782. elseif Thing[2] == "Elec" then
  1783. local Mesh = Thing[1].Mesh
  1784. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1785. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1786. elseif Thing[2] == "Disappear" then
  1787. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1788. elseif Thing[2] == "Shatter" then
  1789. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1790. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1791. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1792. Thing[6] = Thing[6] + Thing[5]
  1793. end
  1794. else
  1795. Part.Parent = nil
  1796. table.remove(Effects, e)
  1797. end
  1798. end
  1799. end
  1800. end
  1801. end
  1802. end
  1803. -------------------------------------------------------
  1804. --End Animations And Script--
  1805. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement