Advertisement
pawsi

Untitled

Jul 27th, 2018
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 135.11 KB | None | 0 0
  1. --------------------------------------------
  2. --[[ Name : GOD'S ABANDONED DAUGHTER ]]--
  3. --[[ Description : Simple, she got fuckig abandoned HAHA. ]]--
  4. --[[ \ None / ]]--
  5. -------------------------------------------------------
  6. --A script By Creterisk/makhail07
  7. --Discord Creterisk#2958
  8. -------------------------------------------------------
  9.  
  10. --Everything is Meaningless.....
  11.  
  12. wait(1 / 60)
  13.  
  14. local plr = game:service'Players'.LocalPlayer
  15. print('Local User is '..plr.Name)
  16. print("GOD'S ABANDONED DAUGHTER 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 = 1752290765
  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 = 1
  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://1088769202"
  1393. top.Parent = char
  1394. top.Name = "Cloth"
  1395. local bottom = Instance.new("Pants")
  1396. bottom.PantsTemplate = "rbxassetid://1088767946"
  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://731023666"
  1434. PMesh.TextureId = "rbxassetid://6748187"
  1435. PMesh.Scale = Vector3.new(0.200000003, 0.200000003, 0.170000002)
  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. -------------------------------------------------------
  1806. --[[ Name : GOD'S ABANDONED DAUGHTER ]]--
  1807. --[[ Description : Simple, she got fuckig abandoned HAHA. ]]--
  1808. --[[ \ None / ]]--
  1809. -------------------------------------------------------
  1810. --A script By Creterisk/makhail07
  1811. --Discord Creterisk#2958
  1812. -------------------------------------------------------
  1813.  
  1814. --Everything is Meaningless.....
  1815.  
  1816. wait(1 / 60)
  1817.  
  1818. local plr = game:service'Players'.LocalPlayer
  1819. print('Local User is '..plr.Name)
  1820. print("GOD'S ABANDONED DAUGHTER Loaded")
  1821. print([[
  1822. Why me lord, why must the leave me
  1823. on such a filthy planet, I beg for return
  1824. please father, for me.
  1825. ]])
  1826. local char = plr.Character
  1827. local hum = char:FindFirstChildOfClass'Humanoid'
  1828. local hed = char.Head
  1829. local root = char:FindFirstChild'HumanoidRootPart'
  1830. local rootj = root.RootJoint
  1831. local tors = char.Torso
  1832. local ra = char["Right Arm"]
  1833. local la = char["Left Arm"]
  1834. local rl = char["Right Leg"]
  1835. local ll = char["Left Leg"]
  1836. local neck = tors["Neck"]
  1837. local mouse = plr:GetMouse()
  1838. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1839. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1840. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1841. local maincolor = BrickColor.new("Institutional white")
  1842. -------------------------------------------------------
  1843. --Start Good Stuff--
  1844. -------------------------------------------------------
  1845. cam = game.Workspace.CurrentCamera
  1846. CF = CFrame.new
  1847. angles = CFrame.Angles
  1848. attack = false
  1849. Euler = CFrame.fromEulerAnglesXYZ
  1850. Rad = math.rad
  1851. IT = Instance.new
  1852. BrickC = BrickColor.new
  1853. Cos = math.cos
  1854. Acos = math.acos
  1855. Sin = math.sin
  1856. Asin = math.asin
  1857. Abs = math.abs
  1858. Mrandom = math.random
  1859. Floor = math.floor
  1860. -------------------------------------------------------
  1861. --End Good Stuff--
  1862. -------------------------------------------------------
  1863. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1864. RSH, LSH = nil, nil
  1865. RW = Instance.new("Weld")
  1866. LW = Instance.new("Weld")
  1867. RH = tors["Right Hip"]
  1868. LH = tors["Left Hip"]
  1869. RSH = tors["Right Shoulder"]
  1870. LSH = tors["Left Shoulder"]
  1871. RSH.Parent = nil
  1872. LSH.Parent = nil
  1873. RW.Name = "RW"
  1874. RW.Part0 = tors
  1875. RW.C0 = CF(1.5, 0.5, 0)
  1876. RW.C1 = CF(0, 0.5, 0)
  1877. RW.Part1 = ra
  1878. RW.Parent = tors
  1879. LW.Name = "LW"
  1880. LW.Part0 = tors
  1881. LW.C0 = CF(-1.5, 0.5, 0)
  1882. LW.C1 = CF(0, 0.5, 0)
  1883. LW.Part1 = la
  1884. LW.Parent = tors
  1885. Effects = {}
  1886. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1887. local wld = Instance.new("Weld", wp1)
  1888. wld.Part0 = wp0
  1889. wld.Part1 = wp1
  1890. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1891. end
  1892. newWeld(tors, ll, -0.5, -1, 0)
  1893. ll.Weld.C1 = CFrame.new(0, 1, 0)
  1894. newWeld(tors, rl, 0.5, -1, 0)
  1895. rl.Weld.C1 = CFrame.new(0, 1, 0)
  1896. -------------------------------------------------------
  1897. --Start HeartBeat--
  1898. -------------------------------------------------------
  1899. ArtificialHB = Instance.new("BindableEvent", script)
  1900. ArtificialHB.Name = "Heartbeat"
  1901. script:WaitForChild("Heartbeat")
  1902.  
  1903. frame = 1 / 60
  1904. tf = 0
  1905. allowframeloss = false
  1906. tossremainder = false
  1907.  
  1908.  
  1909. lastframe = tick()
  1910. script.Heartbeat:Fire()
  1911.  
  1912.  
  1913. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1914. tf = tf + s
  1915. if tf >= frame then
  1916. if allowframeloss then
  1917. script.Heartbeat:Fire()
  1918. lastframe = tick()
  1919. else
  1920. for i = 1, math.floor(tf / frame) do
  1921. script.Heartbeat:Fire()
  1922. end
  1923. lastframe = tick()
  1924. end
  1925. if tossremainder then
  1926. tf = 0
  1927. else
  1928. tf = tf - frame * math.floor(tf / frame)
  1929. end
  1930. end
  1931. end)
  1932. -------------------------------------------------------
  1933. --End HeartBeat--
  1934. -------------------------------------------------------
  1935.  
  1936. -------------------------------------------------------
  1937. --Start Important Functions--
  1938. -------------------------------------------------------
  1939. function swait(num)
  1940. if num == 0 or num == nil then
  1941. game:service("RunService").Stepped:wait(0)
  1942. else
  1943. for i = 0, num do
  1944. game:service("RunService").Stepped:wait(0)
  1945. end
  1946. end
  1947. end
  1948. function thread(f)
  1949. coroutine.resume(coroutine.create(f))
  1950. end
  1951. function clerp(a, b, t)
  1952. local qa = {
  1953. QuaternionFromCFrame(a)
  1954. }
  1955. local qb = {
  1956. QuaternionFromCFrame(b)
  1957. }
  1958. local ax, ay, az = a.x, a.y, a.z
  1959. local bx, by, bz = b.x, b.y, b.z
  1960. local _t = 1 - t
  1961. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1962. end
  1963. function QuaternionFromCFrame(cf)
  1964. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1965. local trace = m00 + m11 + m22
  1966. if trace > 0 then
  1967. local s = math.sqrt(1 + trace)
  1968. local recip = 0.5 / s
  1969. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1970. else
  1971. local i = 0
  1972. if m00 < m11 then
  1973. i = 1
  1974. end
  1975. if m22 > (i == 0 and m00 or m11) then
  1976. i = 2
  1977. end
  1978. if i == 0 then
  1979. local s = math.sqrt(m00 - m11 - m22 + 1)
  1980. local recip = 0.5 / s
  1981. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1982. elseif i == 1 then
  1983. local s = math.sqrt(m11 - m22 - m00 + 1)
  1984. local recip = 0.5 / s
  1985. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1986. elseif i == 2 then
  1987. local s = math.sqrt(m22 - m00 - m11 + 1)
  1988. local recip = 0.5 / s
  1989. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1990. end
  1991. end
  1992. end
  1993. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1994. local xs, ys, zs = x + x, y + y, z + z
  1995. local wx, wy, wz = w * xs, w * ys, w * zs
  1996. local xx = x * xs
  1997. local xy = x * ys
  1998. local xz = x * zs
  1999. local yy = y * ys
  2000. local yz = y * zs
  2001. local zz = z * zs
  2002. 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))
  2003. end
  2004. function QuaternionSlerp(a, b, t)
  2005. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2006. local startInterp, finishInterp
  2007. if cosTheta >= 1.0E-4 then
  2008. if 1 - cosTheta > 1.0E-4 then
  2009. local theta = math.acos(cosTheta)
  2010. local invSinTheta = 1 / Sin(theta)
  2011. startInterp = Sin((1 - t) * theta) * invSinTheta
  2012. finishInterp = Sin(t * theta) * invSinTheta
  2013. else
  2014. startInterp = 1 - t
  2015. finishInterp = t
  2016. end
  2017. elseif 1 + cosTheta > 1.0E-4 then
  2018. local theta = math.acos(-cosTheta)
  2019. local invSinTheta = 1 / Sin(theta)
  2020. startInterp = Sin((t - 1) * theta) * invSinTheta
  2021. finishInterp = Sin(t * theta) * invSinTheta
  2022. else
  2023. startInterp = t - 1
  2024. finishInterp = t
  2025. end
  2026. 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
  2027. end
  2028. function rayCast(Position, Direction, Range, Ignore)
  2029. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  2030. end
  2031. local RbxUtility = LoadLibrary("RbxUtility")
  2032. local Create = RbxUtility.Create
  2033.  
  2034. -------------------------------------------------------
  2035. --Start Damage Function--
  2036. -------------------------------------------------------
  2037. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2038. if hit.Parent == nil then
  2039. return
  2040. end
  2041. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2042. for _, v in pairs(hit.Parent:children()) do
  2043. if v:IsA("Humanoid") then
  2044. h = v
  2045. end
  2046. end
  2047. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  2048.  
  2049. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2050. end
  2051.  
  2052. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2053. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  2054. if hit.Parent.DebounceHit.Value == true then
  2055. return
  2056. end
  2057. end
  2058. if insta == true then
  2059. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2060. end
  2061. local c = Create("ObjectValue"){
  2062. Name = "creator",
  2063. Value = game:service("Players").LocalPlayer,
  2064. Parent = h,
  2065. }
  2066. game:GetService("Debris"):AddItem(c, .5)
  2067. if HitSound ~= nil and HitPitch ~= nil then
  2068. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2069. end
  2070. local Damage = math.random(minim, maxim)
  2071. local blocked = false
  2072. local block = hit.Parent:findFirstChild("Block")
  2073. if block ~= nil then
  2074. if block.className == "IntValue" then
  2075. if block.Value > 0 then
  2076. blocked = true
  2077. block.Value = block.Value - 1
  2078. print(block.Value)
  2079. end
  2080. end
  2081. end
  2082. if blocked == false then
  2083. h.Health = h.Health - Damage
  2084. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2085. else
  2086. h.Health = h.Health - (Damage / 2)
  2087. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2088. end
  2089. if Type == "Knockdown" then
  2090. local hum = hit.Parent.Humanoid
  2091. hum.PlatformStand = true
  2092. coroutine.resume(coroutine.create(function(HHumanoid)
  2093. swait(1)
  2094. HHumanoid.PlatformStand = false
  2095. end), hum)
  2096. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  2097. local bodvol = Create("BodyVelocity"){
  2098. velocity = angle * knockback,
  2099. P = 5000,
  2100. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2101. Parent = hit,
  2102. }
  2103. local rl = Create("BodyAngularVelocity"){
  2104. P = 3000,
  2105. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2106. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2107. Parent = hit,
  2108. }
  2109. game:GetService("Debris"):AddItem(bodvol, .5)
  2110. game:GetService("Debris"):AddItem(rl, .5)
  2111. elseif Type == "Normal" then
  2112. local vp = Create("BodyVelocity"){
  2113. P = 500,
  2114. maxForce = Vector3.new(math.huge, 0, math.huge),
  2115. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  2116. }
  2117. if knockback > 0 then
  2118. vp.Parent = hit.Parent.Torso
  2119. end
  2120. game:GetService("Debris"):AddItem(vp, .5)
  2121. elseif Type == "Up" then
  2122. local bodyVelocity = Create("BodyVelocity"){
  2123. velocity = Vector3.new(0, 20, 0),
  2124. P = 5000,
  2125. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2126. Parent = hit,
  2127. }
  2128. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  2129. elseif Type == "DarkUp" then
  2130. coroutine.resume(coroutine.create(function()
  2131. for i = 0, 1, 0.1 do
  2132. swait()
  2133. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  2134. end
  2135. end))
  2136. local bodyVelocity = Create("BodyVelocity"){
  2137. velocity = Vector3.new(0, 20, 0),
  2138. P = 5000,
  2139. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2140. Parent = hit,
  2141. }
  2142. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2143. elseif Type == "Snare" then
  2144. local bp = Create("BodyPosition"){
  2145. P = 2000,
  2146. D = 100,
  2147. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2148. position = hit.Parent.Torso.Position,
  2149. Parent = hit.Parent.Torso,
  2150. }
  2151. game:GetService("Debris"):AddItem(bp, 1)
  2152. elseif Type == "Freeze" then
  2153. local BodPos = Create("BodyPosition"){
  2154. P = 50000,
  2155. D = 1000,
  2156. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2157. position = hit.Parent.Torso.Position,
  2158. Parent = hit.Parent.Torso,
  2159. }
  2160. local BodGy = Create("BodyGyro") {
  2161. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2162. P = 20e+003,
  2163. Parent = hit.Parent.Torso,
  2164. cframe = hit.Parent.Torso.CFrame,
  2165. }
  2166. hit.Parent.Torso.Anchored = true
  2167. coroutine.resume(coroutine.create(function(Part)
  2168. swait(1.5)
  2169. Part.Anchored = false
  2170. end), hit.Parent.Torso)
  2171. game:GetService("Debris"):AddItem(BodPos, 3)
  2172. game:GetService("Debris"):AddItem(BodGy, 3)
  2173. end
  2174. local debounce = Create("BoolValue"){
  2175. Name = "DebounceHit",
  2176. Parent = hit.Parent,
  2177. Value = true,
  2178. }
  2179. game:GetService("Debris"):AddItem(debounce, Delay)
  2180. c = Create("ObjectValue"){
  2181. Name = "creator",
  2182. Value = Player,
  2183. Parent = h,
  2184. }
  2185. game:GetService("Debris"):AddItem(c, .5)
  2186. end
  2187. end
  2188. -------------------------------------------------------
  2189. --End Damage Function--
  2190. -------------------------------------------------------
  2191.  
  2192. -------------------------------------------------------
  2193. --Start Damage Function Customization--
  2194. -------------------------------------------------------
  2195. function ShowDamage(Pos, Text, Time, Color)
  2196. local Rate = (1 / 30)
  2197. local Pos = (Pos or Vector3.new(0, 0, 0))
  2198. local Text = (Text or "")
  2199. local Time = (Time or 2)
  2200. local Color = (Color or Color3.new(1, 0, 1))
  2201. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2202. EffectPart.Anchored = true
  2203. local BillboardGui = Create("BillboardGui"){
  2204. Size = UDim2.new(3, 0, 3, 0),
  2205. Adornee = EffectPart,
  2206. Parent = EffectPart,
  2207. }
  2208. local TextLabel = Create("TextLabel"){
  2209. BackgroundTransparency = 1,
  2210. Size = UDim2.new(1, 0, 1, 0),
  2211. Text = Text,
  2212. Font = "Bodoni",
  2213. TextColor3 = Color,
  2214. TextScaled = true,
  2215. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  2216. Parent = BillboardGui,
  2217. }
  2218. game.Debris:AddItem(EffectPart, (Time))
  2219. EffectPart.Parent = game:GetService("Workspace")
  2220. delay(0, function()
  2221. local Frames = (Time / Rate)
  2222. for Frame = 1, Frames do
  2223. wait(Rate)
  2224. local Percent = (Frame / Frames)
  2225. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2226. TextLabel.TextTransparency = Percent
  2227. end
  2228. if EffectPart and EffectPart.Parent then
  2229. EffectPart:Destroy()
  2230. end
  2231. end)
  2232. end
  2233. -------------------------------------------------------
  2234. --End Damage Function Customization--
  2235. -------------------------------------------------------
  2236.  
  2237. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2238. for _, c in pairs(workspace:children()) do
  2239. local hum = c:findFirstChild("Humanoid")
  2240. if hum ~= nil then
  2241. local head = c:findFirstChild("Head")
  2242. if head ~= nil then
  2243. local targ = head.Position - Part.Position
  2244. local mag = targ.magnitude
  2245. if magni >= mag and c.Name ~= plr.Name then
  2246. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  2247. end
  2248. end
  2249. end
  2250. end
  2251. end
  2252.  
  2253.  
  2254. CFuncs = {
  2255. Part = {
  2256. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2257. local Part = Create("Part")({
  2258. Parent = Parent,
  2259. Reflectance = Reflectance,
  2260. Transparency = Transparency,
  2261. CanCollide = false,
  2262. Locked = true,
  2263. BrickColor = BrickColor.new(tostring(BColor)),
  2264. Name = Name,
  2265. Size = Size,
  2266. Material = Material
  2267. })
  2268. RemoveOutlines(Part)
  2269. return Part
  2270. end
  2271. },
  2272. Mesh = {
  2273. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2274. local Msh = Create(Mesh)({
  2275. Parent = Part,
  2276. Offset = OffSet,
  2277. Scale = Scale
  2278. })
  2279. if Mesh == "SpecialMesh" then
  2280. Msh.MeshType = MeshType
  2281. Msh.MeshId = MeshId
  2282. end
  2283. return Msh
  2284. end
  2285. },
  2286. Mesh = {
  2287. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2288. local Msh = Create(Mesh)({
  2289. Parent = Part,
  2290. Offset = OffSet,
  2291. Scale = Scale
  2292. })
  2293. if Mesh == "SpecialMesh" then
  2294. Msh.MeshType = MeshType
  2295. Msh.MeshId = MeshId
  2296. end
  2297. return Msh
  2298. end
  2299. },
  2300. Weld = {
  2301. Create = function(Parent, Part0, Part1, C0, C1)
  2302. local Weld = Create("Weld")({
  2303. Parent = Parent,
  2304. Part0 = Part0,
  2305. Part1 = Part1,
  2306. C0 = C0,
  2307. C1 = C1
  2308. })
  2309. return Weld
  2310. end
  2311. },
  2312. Sound = {
  2313. Create = function(id, par, vol, pit)
  2314. coroutine.resume(coroutine.create(function()
  2315. local S = Create("Sound")({
  2316. Volume = vol,
  2317. Pitch = pit or 1,
  2318. SoundId = id,
  2319. Parent = par or workspace
  2320. })
  2321. wait()
  2322. S:play()
  2323. game:GetService("Debris"):AddItem(S, 6)
  2324. end))
  2325. end
  2326. },
  2327. ParticleEmitter = {
  2328. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2329. local fp = Create("ParticleEmitter")({
  2330. Parent = Parent,
  2331. Color = ColorSequence.new(Color1, Color2),
  2332. LightEmission = LightEmission,
  2333. Size = Size,
  2334. Texture = Texture,
  2335. Transparency = Transparency,
  2336. ZOffset = ZOffset,
  2337. Acceleration = Accel,
  2338. Drag = Drag,
  2339. LockedToPart = LockedToPart,
  2340. VelocityInheritance = VelocityInheritance,
  2341. EmissionDirection = EmissionDirection,
  2342. Enabled = Enabled,
  2343. Lifetime = LifeTime,
  2344. Rate = Rate,
  2345. Rotation = Rotation,
  2346. RotSpeed = RotSpeed,
  2347. Speed = Speed,
  2348. VelocitySpread = VelocitySpread
  2349. })
  2350. return fp
  2351. end
  2352. }
  2353. }
  2354. function RemoveOutlines(part)
  2355. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2356. end
  2357. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2358. local Part = Create("Part")({
  2359. formFactor = FormFactor,
  2360. Parent = Parent,
  2361. Reflectance = Reflectance,
  2362. Transparency = Transparency,
  2363. CanCollide = false,
  2364. Locked = true,
  2365. BrickColor = BrickColor.new(tostring(BColor)),
  2366. Name = Name,
  2367. Size = Size,
  2368. Material = Material
  2369. })
  2370. RemoveOutlines(Part)
  2371. return Part
  2372. end
  2373. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2374. local Msh = Create(Mesh)({
  2375. Parent = Part,
  2376. Offset = OffSet,
  2377. Scale = Scale
  2378. })
  2379. if Mesh == "SpecialMesh" then
  2380. Msh.MeshType = MeshType
  2381. Msh.MeshId = MeshId
  2382. end
  2383. return Msh
  2384. end
  2385. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2386. local Weld = Create("Weld")({
  2387. Parent = Parent,
  2388. Part0 = Part0,
  2389. Part1 = Part1,
  2390. C0 = C0,
  2391. C1 = C1
  2392. })
  2393. return Weld
  2394. end
  2395.  
  2396.  
  2397. -------------------------------------------------------
  2398. --Start Effect Function--
  2399. -------------------------------------------------------
  2400. EffectModel = Instance.new("Model", char)
  2401. Effects = {
  2402. Block = {
  2403. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2404. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2405. prt.Anchored = true
  2406. prt.CFrame = cframe
  2407. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2408. game:GetService("Debris"):AddItem(prt, 10)
  2409. if Type == 1 or Type == nil then
  2410. table.insert(Effects, {
  2411. prt,
  2412. "Block1",
  2413. delay,
  2414. x3,
  2415. y3,
  2416. z3,
  2417. msh
  2418. })
  2419. elseif Type == 2 then
  2420. table.insert(Effects, {
  2421. prt,
  2422. "Block2",
  2423. delay,
  2424. x3,
  2425. y3,
  2426. z3,
  2427. msh
  2428. })
  2429. else
  2430. table.insert(Effects, {
  2431. prt,
  2432. "Block3",
  2433. delay,
  2434. x3,
  2435. y3,
  2436. z3,
  2437. msh
  2438. })
  2439. end
  2440. end
  2441. },
  2442. Sphere = {
  2443. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2444. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2445. prt.Anchored = true
  2446. prt.CFrame = cframe
  2447. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2448. game:GetService("Debris"):AddItem(prt, 10)
  2449. table.insert(Effects, {
  2450. prt,
  2451. "Cylinder",
  2452. delay,
  2453. x3,
  2454. y3,
  2455. z3,
  2456. msh
  2457. })
  2458. end
  2459. },
  2460. Cylinder = {
  2461. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2462. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2463. prt.Anchored = true
  2464. prt.CFrame = cframe
  2465. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2466. game:GetService("Debris"):AddItem(prt, 10)
  2467. table.insert(Effects, {
  2468. prt,
  2469. "Cylinder",
  2470. delay,
  2471. x3,
  2472. y3,
  2473. z3,
  2474. msh
  2475. })
  2476. end
  2477. },
  2478. Wave = {
  2479. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2480. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2481. prt.Anchored = true
  2482. prt.CFrame = cframe
  2483. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  2484. game:GetService("Debris"):AddItem(prt, 10)
  2485. table.insert(Effects, {
  2486. prt,
  2487. "Cylinder",
  2488. delay,
  2489. x3 / 60,
  2490. y3 / 60,
  2491. z3 / 60,
  2492. msh
  2493. })
  2494. end
  2495. },
  2496. Ring = {
  2497. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2498. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2499. prt.Anchored = true
  2500. prt.CFrame = cframe
  2501. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2502. game:GetService("Debris"):AddItem(prt, 10)
  2503. table.insert(Effects, {
  2504. prt,
  2505. "Cylinder",
  2506. delay,
  2507. x3,
  2508. y3,
  2509. z3,
  2510. msh
  2511. })
  2512. end
  2513. },
  2514. Break = {
  2515. Create = function(brickcolor, cframe, x1, y1, z1)
  2516. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2517. prt.Anchored = true
  2518. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2519. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2520. local num = math.random(10, 50) / 1000
  2521. game:GetService("Debris"):AddItem(prt, 10)
  2522. table.insert(Effects, {
  2523. prt,
  2524. "Shatter",
  2525. num,
  2526. prt.CFrame,
  2527. math.random() - math.random(),
  2528. 0,
  2529. math.random(50, 100) / 100
  2530. })
  2531. end
  2532. },
  2533. Spiral = {
  2534. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2535. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2536. prt.Anchored = true
  2537. prt.CFrame = cframe
  2538. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2539. game:GetService("Debris"):AddItem(prt, 10)
  2540. table.insert(Effects, {
  2541. prt,
  2542. "Cylinder",
  2543. delay,
  2544. x3,
  2545. y3,
  2546. z3,
  2547. msh
  2548. })
  2549. end
  2550. },
  2551. Push = {
  2552. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2553. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2554. prt.Anchored = true
  2555. prt.CFrame = cframe
  2556. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2557. game:GetService("Debris"):AddItem(prt, 10)
  2558. table.insert(Effects, {
  2559. prt,
  2560. "Cylinder",
  2561. delay,
  2562. x3,
  2563. y3,
  2564. z3,
  2565. msh
  2566. })
  2567. end
  2568. }
  2569. }
  2570. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  2571. local fp = IT("Part")
  2572. fp.formFactor = formfactor
  2573. fp.Parent = parent
  2574. fp.Reflectance = reflectance
  2575. fp.Transparency = transparency
  2576. fp.CanCollide = false
  2577. fp.Locked = true
  2578. fp.BrickColor = brickcolor
  2579. fp.Name = name
  2580. fp.Size = size
  2581. fp.Position = tors.Position
  2582. RemoveOutlines(fp)
  2583. fp.Material = "SmoothPlastic"
  2584. fp:BreakJoints()
  2585. return fp
  2586. end
  2587.  
  2588. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2589. local mesh = IT(Mesh)
  2590. mesh.Parent = part
  2591. if Mesh == "SpecialMesh" then
  2592. mesh.MeshType = meshtype
  2593. if meshid ~= "nil" then
  2594. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  2595. end
  2596. end
  2597. mesh.Offset = offset
  2598. mesh.Scale = scale
  2599. return mesh
  2600. end
  2601.  
  2602. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  2603. local type = type
  2604. local rng = Instance.new("Part", char)
  2605. rng.Anchored = true
  2606. rng.BrickColor = color
  2607. rng.CanCollide = false
  2608. rng.FormFactor = 3
  2609. rng.Name = "Ring"
  2610. rng.Material = "Neon"
  2611. rng.Size = Vector3.new(1, 1, 1)
  2612. rng.Transparency = 0
  2613. rng.TopSurface = 0
  2614. rng.BottomSurface = 0
  2615. rng.CFrame = pos
  2616. local rngm = Instance.new("SpecialMesh", rng)
  2617. rngm.MeshType = MType
  2618. rngm.Scale = scale
  2619. local scaler2 = 1
  2620. if type == "Add" then
  2621. scaler2 = 1 * value
  2622. elseif type == "Divide" then
  2623. scaler2 = 1 / value
  2624. end
  2625. coroutine.resume(coroutine.create(function()
  2626. for i = 0, 10 / bonuspeed, 0.1 do
  2627. swait()
  2628. if type == "Add" then
  2629. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2630. elseif type == "Divide" then
  2631. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2632. end
  2633. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2634. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  2635. end
  2636. rng:Destroy()
  2637. end))
  2638. end
  2639.  
  2640. function Eviscerate(dude)
  2641. if dude.Name ~= char then
  2642. local bgf = IT("BodyGyro", dude.Head)
  2643. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  2644. local val = IT("BoolValue", dude)
  2645. val.Name = "IsHit"
  2646. local ds = coroutine.wrap(function()
  2647. dude:WaitForChild("Head"):BreakJoints()
  2648. wait(0.5)
  2649. target = nil
  2650. coroutine.resume(coroutine.create(function()
  2651. for i, v in pairs(dude:GetChildren()) do
  2652. if v:IsA("Accessory") then
  2653. v:Destroy()
  2654. end
  2655. if v:IsA("Humanoid") then
  2656. v:Destroy()
  2657. end
  2658. if v:IsA("CharacterMesh") then
  2659. v:Destroy()
  2660. end
  2661. if v:IsA("Model") then
  2662. v:Destroy()
  2663. end
  2664. if v:IsA("Part") or v:IsA("MeshPart") then
  2665. for x, o in pairs(v:GetChildren()) do
  2666. if o:IsA("Decal") then
  2667. o:Destroy()
  2668. end
  2669. end
  2670. coroutine.resume(coroutine.create(function()
  2671. v.Material = "Neon"
  2672. v.CanCollide = false
  2673. local PartEmmit1 = IT("ParticleEmitter", v)
  2674. PartEmmit1.LightEmission = 1
  2675. PartEmmit1.Texture = "rbxassetid://284205403"
  2676. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2677. PartEmmit1.Rate = 150
  2678. PartEmmit1.Lifetime = NumberRange.new(1)
  2679. PartEmmit1.Size = NumberSequence.new({
  2680. NumberSequenceKeypoint.new(0, 0.75, 0),
  2681. NumberSequenceKeypoint.new(1, 0, 0)
  2682. })
  2683. PartEmmit1.Transparency = NumberSequence.new({
  2684. NumberSequenceKeypoint.new(0, 0, 0),
  2685. NumberSequenceKeypoint.new(1, 1, 0)
  2686. })
  2687. PartEmmit1.Speed = NumberRange.new(0, 0)
  2688. PartEmmit1.VelocitySpread = 30000
  2689. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  2690. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  2691. local BodPoss = IT("BodyPosition", v)
  2692. BodPoss.P = 3000
  2693. BodPoss.D = 1000
  2694. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2695. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2696. v.Color = maincolor.Color
  2697. coroutine.resume(coroutine.create(function()
  2698. for i = 0, 49 do
  2699. swait(1)
  2700. v.Transparency = v.Transparency + 0.08
  2701. end
  2702. wait(0.5)
  2703. PartEmmit1.Enabled = false
  2704. wait(3)
  2705. v:Destroy()
  2706. dude:Destroy()
  2707. end))
  2708. end))
  2709. end
  2710. end
  2711. end))
  2712. end)
  2713. ds()
  2714. end
  2715. end
  2716.  
  2717. function FindNearestHead(Position, Distance, SinglePlayer)
  2718. if SinglePlayer then
  2719. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  2720. end
  2721. local List = {}
  2722. for i, v in pairs(workspace:GetChildren()) do
  2723. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  2724. table.insert(List, v)
  2725. end
  2726. end
  2727. return List
  2728. end
  2729.  
  2730. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  2731. local type = type
  2732. local rng = Instance.new("Part", char)
  2733. rng.Anchored = true
  2734. rng.BrickColor = color
  2735. rng.CanCollide = false
  2736. rng.FormFactor = 3
  2737. rng.Name = "Ring"
  2738. rng.Material = "Neon"
  2739. rng.Size = Vector3.new(1, 1, 1)
  2740. rng.Transparency = 0
  2741. rng.TopSurface = 0
  2742. rng.BottomSurface = 0
  2743. rng.CFrame = pos
  2744. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2745. local rngm = Instance.new("SpecialMesh", rng)
  2746. rngm.MeshType = MType
  2747. rngm.Scale = Vector3.new(x1, y1, z1)
  2748. local scaler2 = 1
  2749. local speeder = FastSpeed
  2750. if type == "Add" then
  2751. scaler2 = 1 * value
  2752. elseif type == "Divide" then
  2753. scaler2 = 1 / value
  2754. end
  2755. coroutine.resume(coroutine.create(function()
  2756. for i = 0, 10 / bonuspeed, 0.1 do
  2757. swait()
  2758. if type == "Add" then
  2759. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2760. elseif type == "Divide" then
  2761. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2762. end
  2763. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2764. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2765. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2766. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2767. end
  2768. rng:Destroy()
  2769. end))
  2770. end
  2771.  
  2772. function SoulSteal(dude)
  2773. if dude.Name ~= char then
  2774. local bgf = IT("BodyGyro", dude.Head)
  2775. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  2776. local val = IT("BoolValue", dude)
  2777. val.Name = "IsHit"
  2778. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  2779. local soulst = coroutine.wrap(function()
  2780. local soul = Instance.new("Part",dude)
  2781. soul.Size = Vector3.new(1,1,1)
  2782. soul.CanCollide = false
  2783. soul.Anchored = false
  2784. soul.Position = torso.Position
  2785. soul.Transparency = 1
  2786. local PartEmmit1 = IT("ParticleEmitter", soul)
  2787. PartEmmit1.LightEmission = 1
  2788. PartEmmit1.Texture = "rbxassetid://569507414"
  2789. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2790. PartEmmit1.Rate = 250
  2791. PartEmmit1.Lifetime = NumberRange.new(1.6)
  2792. PartEmmit1.Size = NumberSequence.new({
  2793. NumberSequenceKeypoint.new(0, 1, 0),
  2794. NumberSequenceKeypoint.new(1, 0, 0)
  2795. })
  2796. PartEmmit1.Transparency = NumberSequence.new({
  2797. NumberSequenceKeypoint.new(0, 0, 0),
  2798. NumberSequenceKeypoint.new(1, 1, 0)
  2799. })
  2800. PartEmmit1.Speed = NumberRange.new(0, 0)
  2801. PartEmmit1.VelocitySpread = 30000
  2802. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  2803. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  2804. local BodPoss = IT("BodyPosition", soul)
  2805. BodPoss.P = 3000
  2806. BodPoss.D = 1000
  2807. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2808. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2809. wait(1.6)
  2810. soul.Touched:connect(function(hit)
  2811. if hit.Parent == char then
  2812. soul:Destroy()
  2813. end
  2814. end)
  2815. wait(1.2)
  2816. while soul do
  2817. swait()
  2818. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2819. BodPoss.Position = tors.Position
  2820. end
  2821. end)
  2822. soulst()
  2823. end
  2824. end
  2825. function FaceMouse()
  2826. local Cam = workspace.CurrentCamera
  2827. return {
  2828. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2829. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2830. }
  2831. end
  2832. Effects = {
  2833. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  2834. local p = Instance.new("Part",EffectModel)
  2835. p.BrickColor = BrickColor.new(colour)
  2836. p.Size = partsize
  2837. p.Anchored = true
  2838. p.CanCollide = false
  2839. p.Material = matr
  2840. p.CFrame = cf
  2841. if inverse == true then
  2842. p.Transparency = 1
  2843. else
  2844. p.Transparency = 0
  2845. end
  2846. local m = Instance.new("BlockMesh",p)
  2847. m.Scale = meshstart
  2848. coroutine.wrap(function()
  2849. for i = 0, 1, factor do
  2850. swait()
  2851. if inverse == true then
  2852. p.Transparency = 1-i
  2853. else
  2854. p.Transparency = i
  2855. end
  2856. m.Scale = m.Scale + meshadd
  2857. if spin == true then
  2858. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2859. end
  2860. end
  2861. p:Destroy()
  2862. end)()
  2863. return p
  2864. end,
  2865. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  2866. local p = Instance.new("Part",EffectModel)
  2867. p.BrickColor = BrickColor.new(colour)
  2868. p.Size = partsize
  2869. p.Anchored = true
  2870. p.CanCollide = false
  2871. p.Material = matr
  2872. p.CFrame = cf
  2873. if inverse == true then
  2874. p.Transparency = 1
  2875. else
  2876. p.Transparency = 0
  2877. end
  2878. local m = Instance.new("SpecialMesh",p)
  2879. m.MeshType = "Sphere"
  2880. m.Scale = meshstart
  2881. coroutine.wrap(function()
  2882. for i=0,1,factor do
  2883. swait()
  2884. if inverse == true then
  2885. p.Transparency = 1-i
  2886. else
  2887. p.Transparency = i
  2888. end
  2889. m.Scale = m.Scale + meshadd
  2890. end
  2891. p:Destroy()
  2892. end)()
  2893. return p
  2894. end,
  2895.  
  2896. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  2897. local p = Instance.new("Part",EffectModel)
  2898. p.BrickColor = BrickColor.new(colour)
  2899. p.Size = partsize
  2900. p.Anchored = true
  2901. p.CanCollide = false
  2902. p.Material = matr
  2903. p.CFrame = cf
  2904. if inverse == true then
  2905. p.Transparency = 1
  2906. else
  2907. p.Transparency = 0
  2908. end
  2909. local m = Instance.new("CylinderMesh",p)
  2910. m.Scale = meshstart
  2911. coroutine.wrap(function()
  2912. for i=0,1,factor do
  2913. swait()
  2914. if inverse == true then
  2915. p.Transparency = 1-i
  2916. else
  2917. p.Transparency = i
  2918. end
  2919. m.Scale = m.Scale + meshadd
  2920. end
  2921. p:Destroy()
  2922. end)()
  2923. return p
  2924. end,
  2925.  
  2926. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  2927. local p = Instance.new("Part",EffectModel)
  2928. p.BrickColor = BrickColor.new(colour)
  2929. p.Size = Vector3.new()
  2930. p.Anchored = true
  2931. p.CanCollide = false
  2932. p.CFrame = cf
  2933. if inverse == true then
  2934. p.Transparency = 1
  2935. else
  2936. p.Transparency = 0
  2937. end
  2938. local m = Instance.new("SpecialMesh",p)
  2939. m.MeshId = "rbxassetid://20329976"
  2940. m.Scale = meshstart
  2941. coroutine.wrap(function()
  2942. for i=0,1,factor do
  2943. swait()
  2944. if inverse == true then
  2945. p.Transparency = 1-i
  2946. else
  2947. p.Transparency = i
  2948. end
  2949. m.Scale = m.Scale + meshadd
  2950. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  2951. end
  2952. p:Destroy()
  2953. end)()
  2954. return p
  2955. end,
  2956.  
  2957. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  2958. local p = Instance.new("Part",EffectModel)
  2959. p.BrickColor = BrickColor.new(colour)
  2960. p.Size = Vector3.new()
  2961. p.Anchored = true
  2962. p.CanCollide = false
  2963. p.CFrame = cf
  2964. if inverse == true then
  2965. p.Transparency = 1
  2966. else
  2967. p.Transparency = 0
  2968. end
  2969. local m = Instance.new("SpecialMesh",p)
  2970. m.MeshId = "rbxassetid://3270017"
  2971. m.Scale = meshstart
  2972. coroutine.wrap(function()
  2973. for i=0,1,factor do
  2974. swait()
  2975. if inverse == true then
  2976. p.Transparency = 1-i
  2977. else
  2978. p.Transparency = i
  2979. end
  2980. m.Scale = m.Scale + meshadd
  2981. end
  2982. p:Destroy()
  2983. end)()
  2984. return p
  2985. end,
  2986.  
  2987. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  2988. local p = Instance.new("Part",EffectModel)
  2989. p.BrickColor = BrickColor.new(colour)
  2990. p.Size = Vector3.new()
  2991. p.Anchored = true
  2992. p.CanCollide = false
  2993. p.CFrame = cf
  2994. if inverse == true then
  2995. p.Transparency = 1
  2996. else
  2997. p.Transparency = 0
  2998. end
  2999. local m = Instance.new("SpecialMesh",p)
  3000. m.MeshId = meshid
  3001. m.TextureId = textid
  3002. m.Scale = meshstart
  3003. coroutine.wrap(function()
  3004. for i=0,1,factor do
  3005. swait()
  3006. if inverse == true then
  3007. p.Transparency = 1-i
  3008. else
  3009. p.Transparency = i
  3010. end
  3011. m.Scale = m.Scale + meshadd
  3012. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  3013. end
  3014. p:Destroy()
  3015. end)()
  3016. return p
  3017. end,
  3018.  
  3019. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  3020. local p = Instance.new("Part",EffectModel)
  3021. p.BrickColor = BrickColor.new(colour)
  3022. p.Size = partsize
  3023. p.Anchored = true
  3024. p.CanCollide = false
  3025. p.Material = matr
  3026. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3027. if inverse == true then
  3028. p.Transparency = 1
  3029. else
  3030. p.Transparency = 0
  3031. end
  3032. local m = Instance.new("SpecialMesh",p)
  3033. m.MeshType = "Sphere"
  3034. m.Scale = meshstart
  3035. coroutine.wrap(function()
  3036. for i=0,1,factor do
  3037. swait()
  3038. if inverse == true then
  3039. p.Transparency = 1-i
  3040. else
  3041. p.Transparency = i
  3042. end
  3043. m.Scale = m.Scale + meshadd
  3044. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  3045. end
  3046. p:Destroy()
  3047. end)()
  3048. return p
  3049. end,
  3050.  
  3051. }
  3052. -------------------------------------------------------
  3053. --End Effect Function--
  3054. -------------------------------------------------------
  3055. function Cso(ID, PARENT, VOLUME, PITCH)
  3056. local NSound = nil
  3057. coroutine.resume(coroutine.create(function()
  3058. NSound = IT("Sound", PARENT)
  3059. NSound.Volume = VOLUME
  3060. NSound.Pitch = PITCH
  3061. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  3062. swait()
  3063. NSound:play()
  3064. game:GetService("Debris"):AddItem(NSound, 10)
  3065. end))
  3066. return NSound
  3067. end
  3068. function CamShake(Length, Intensity)
  3069. coroutine.resume(coroutine.create(function()
  3070. local intensity = 1 * Intensity
  3071. local rotM = 0.01 * Intensity
  3072. for i = 0, Length, 0.1 do
  3073. swait()
  3074. intensity = intensity - 0.05 * Intensity / Length
  3075. rotM = rotM - 5.0E-4 * Intensity / Length
  3076. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  3077. 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)
  3078. end
  3079. hum.CameraOffset = Vector3.new(0, 0, 0)
  3080. end))
  3081. end
  3082. NewInstance = function(instance,parent,properties)
  3083. local inst = Instance.new(instance)
  3084. inst.Parent = parent
  3085. if(properties)then
  3086. for i,v in next, properties do
  3087. pcall(function() inst[i] = v end)
  3088. end
  3089. end
  3090. return inst;
  3091. end
  3092. hum.MaxHealth = 1.0E298
  3093. hum.Health = 1.0E298
  3094. game:GetService("RunService"):BindToRenderStep("HOT", 0, function()
  3095. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  3096. hum.MaxHealth = 1.0E298
  3097. hum.Health = 1.0E298
  3098. end
  3099. end)
  3100. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  3101. local NEWWELD = IT(TYPE)
  3102. NEWWELD.Part0 = PART0
  3103. NEWWELD.Part1 = PART1
  3104. NEWWELD.C0 = C0
  3105. NEWWELD.C1 = C1
  3106. NEWWELD.Parent = PARENT
  3107. return NEWWELD
  3108. end
  3109. function GetTorsos(pos,dis)
  3110. local people = workspace:GetChildren()
  3111. local peopletab = {}
  3112. local temp = nil
  3113. local humtor = nil
  3114. local temp2 = nil
  3115. for x = 1, #people do
  3116. temp2 = people[x]
  3117. if temp2.className == "Model" and temp2 ~= char and temp2:FindFirstChildOfClass("Humanoid") then
  3118. temp = temp2:FindFirstChild("Torso") or temp2:FindFirstChild("UpperTorso")
  3119. humtor = temp2:FindFirstChildOfClass("Humanoid")
  3120. if temp ~= nil and humtor ~= nil and humtor.Health > 0 then
  3121. if (temp.Position - pos).magnitude < dis then
  3122. table.insert(peopletab,temp)
  3123. dis = (temp.Position - pos).magnitude
  3124. end
  3125. end
  3126. end
  3127. end
  3128. return peopletab
  3129. end
  3130. -------------------------------------------------------
  3131. --End Important Functions--
  3132. -------------------------------------------------------
  3133.  
  3134.  
  3135. -------------------------------------------------------
  3136. --Start Customization--
  3137. -------------------------------------------------------
  3138. local Player_Size = 1
  3139. if Player_Size ~= 1 then
  3140. root.Size = root.Size * Player_Size
  3141. tors.Size = tors.Size * Player_Size
  3142. hed.Size = hed.Size * Player_Size
  3143. ra.Size = ra.Size * Player_Size
  3144. la.Size = la.Size * Player_Size
  3145. rl.Size = rl.Size * Player_Size
  3146. ll.Size = ll.Size * Player_Size
  3147. ----------------------------------------------------------------------------------
  3148. rootj.Parent = root
  3149. neck.Parent = tors
  3150. RW.Parent = tors
  3151. LW.Parent = tors
  3152. RH.Parent = tors
  3153. LH.Parent = tors
  3154. ----------------------------------------------------------------------------------
  3155. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  3156. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  3157. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  3158. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  3159. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  3160. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  3161. ----------------------------------------------------------------------------------
  3162. 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))
  3163. 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))
  3164. 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))
  3165. 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))
  3166. --hat.Parent = Character
  3167. end
  3168. ----------------------------------------------------------------------------------
  3169. local SONG = 1752290765
  3170. local SONG2 = 0
  3171. local Music = Instance.new("Sound",tors)
  3172. Music.Volume = 2.5
  3173. Music.Looped = true
  3174. Music.Pitch = 1 --Pitcher
  3175. ----------------------------------------------------------------------------------
  3176. local equipped = false
  3177. local idle = 0
  3178. local change = 1
  3179. local val = 0
  3180. local toim = 0
  3181. local idleanim = 0.4
  3182. local sine = 0
  3183. local Sit = 1
  3184. local WasAir = false
  3185. local InAir = false
  3186. local LandTick = 0
  3187. local movelegs = false
  3188. local FF = Instance.new("ForceField",char)
  3189. FF.Visible = false
  3190. local Speed = 16
  3191. ----------------------------------------------------------------------------------
  3192. hum.JumpPower = 55
  3193. hum.Animator.Parent = nil
  3194. ----------------------------------------------------------------------------------
  3195. local top = Instance.new("Shirt")
  3196. top.ShirtTemplate = "rbxassetid://1088769202"
  3197. top.Parent = char
  3198. top.Name = "Cloth"
  3199. local bottom = Instance.new("Pants")
  3200. bottom.PantsTemplate = "rbxassetid://1088767946"
  3201. bottom.Parent = char
  3202. bottom.Name = "Cloth"
  3203. if hed:FindFirstChildOfClass("Decal") then
  3204. hed:FindFirstChildOfClass("Decal"):Destroy()
  3205. end
  3206. ----------------------------------------------------------------------------------
  3207. function CreateNeonCircle(ATTACHPART, POSITION, SIZE, DOESSPIN, COLOR, MATERIAL, THICKNESS, WIDTH)
  3208. local PART = CreatePart(3, char, MATERIAL, 0, 1, COLOR, "CirclePart", Vector3.new(0, 0, 0), false)
  3209. for i = 1, 45 do
  3210. local RingPiece = CreatePart(3, char, MATERIAL, 0, 0, COLOR, "CirclePart", Vector3.new(THICKNESS, WIDTH, SIZE * 0.65), false)
  3211. 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))
  3212. end
  3213. local PartWeld = CreateWeldOrSnapOrMotor("Weld", ATTACHPART, PART, ATTACHPART, POSITION * angles(Rad(0), Rad(0), Rad(0)), CF(0, 0, 0))
  3214. coroutine.resume(coroutine.create(function()
  3215. if DOESSPIN == true then
  3216. while true do
  3217. wait()
  3218. PartWeld.C0 = clerp(PartWeld.C0, POSITION * angles(Rad(0), Rad(sine * 2), Rad(0)), 1)
  3219. end
  3220. end
  3221. end))
  3222. end
  3223. CreateNeonCircle(hed, CF(0, -1.15, 0.1), 0.26, true, "Really black", "Neon", 0.10, 0.10)
  3224. ----------------------------------------------------------------------------------
  3225. HSHair = IT("Model")
  3226. HSHair.Parent = char
  3227. HSHair.Name = "HSHair"
  3228. RHe = IT("Part")
  3229. RHe.Parent = HSHair
  3230. RHe.BrickColor = BrickColor.new("Really black")
  3231. RHe.Locked = true
  3232. RHe.CanCollide = false
  3233. RHe.Transparency = 0
  3234. PMesh = IT("SpecialMesh")
  3235. RHe.formFactor = "Symmetric"
  3236. PMesh.MeshType = "FileMesh"
  3237. PMesh.MeshId = "rbxassetid://731023666"
  3238. PMesh.TextureId = "rbxassetid://6748187"
  3239. PMesh.Scale = Vector3.new(0.200000003, 0.200000003, 0.170000002)
  3240. PMesh.Parent = RHe
  3241. local RWeld = IT("Weld")
  3242. RWeld.Parent = RHe
  3243. RWeld.Part0 = RHe
  3244. RWeld.Part1 = hed
  3245. RWeld.C0 = CF(0, 2.5, 1) * angles(0, Rad(180), 0)
  3246. -------------------------------------------------------
  3247. --End Customization--
  3248. -------------------------------------------------------
  3249.  
  3250.  
  3251. -------------------------------------------------------
  3252. --Start Attacks N Stuff--
  3253. -------------------------------------------------------
  3254. function AttackTemplate()
  3255. attack = true
  3256. for i = 0, 2, 0.1 do
  3257. swait()
  3258. 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)
  3259. 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)
  3260. 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)
  3261. 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)
  3262. 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)
  3263. 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)
  3264. end
  3265. attack = false
  3266. end
  3267. function ROAR()
  3268. attack = true
  3269. Speed = 0
  3270. local Roaring = Cso("340341349", char, 3, 0.8)
  3271. swait(2)
  3272. repeat
  3273. swait()
  3274. CamShake(2.5, 5)
  3275. 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)
  3276. 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)
  3277. 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)
  3278. 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)
  3279. 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)
  3280. 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)
  3281. until Roaring.Playing == false
  3282. attack = false
  3283. Speed = 16
  3284. end
  3285. function Betraying_God()
  3286. attack = true
  3287. Speed = 0
  3288. for i = 0, 3, 0.1 do
  3289. swait()
  3290. 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)
  3291. 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)
  3292. 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)
  3293. 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)
  3294. 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)
  3295. 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)
  3296. end
  3297. CamShake(3, 7)
  3298. MagniDamage(root, 60, 50, 100, 0, "Normal")
  3299. Magic(1, "Add", root.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Mulberry"), "Sphere")
  3300. Magic(1, "Add", root.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Really black"), "Sphere")
  3301. Magic(1, "Add", root.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Mulberry"), "Sphere")
  3302. CFuncs["Sound"].Create("rbxassetid://138213851", char, 2,1.2)
  3303. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,1.2)
  3304. --CFuncs["Sound"].Create("rbxassetid://919941001", char, 3,1.05)
  3305. for i = 0, 4, 0.1 do
  3306. swait()
  3307. 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)
  3308. 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)
  3309. 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)
  3310. 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)
  3311. 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)
  3312. 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)
  3313. end
  3314. Speed = 16
  3315. attack = false
  3316. end
  3317. function Gods_Funeral()
  3318. attack = true
  3319. Speed = 0
  3320. MagniDamage(mouse.hit, 15, 20, 35, 0, "Normal")
  3321. Magic(1, "Add", mouse.hit, Vector3.new(15, 15, 15), 2, BrickC("Mulberry"), "Sphere")
  3322. Magic(1, "Add", mouse.hit, Vector3.new(2, 2, 2), 2, BrickC("Really black"), "Sphere")
  3323. for i = 0, 6 do
  3324. 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)
  3325. 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")
  3326. 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")
  3327. end
  3328. --Magic(1, "Add", root.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Mulberry"), "Sphere")
  3329. CFuncs["Sound"].Create("rbxassetid://1691481631", tors, 2,1.2)
  3330. for i = 0, 2, 0.1 do
  3331. swait()
  3332. 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)
  3333. 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)
  3334. 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)
  3335. 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)
  3336. 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)
  3337. 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)
  3338. end
  3339. Speed = 16
  3340. attack = false
  3341. end
  3342. function Grudge_Holder()
  3343. attack = true
  3344. for i = 0, 2, 0.1 do
  3345. swait()
  3346. 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)
  3347. 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)
  3348. 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)
  3349. 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)
  3350. 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)
  3351. 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)
  3352. end
  3353. attack = false
  3354. end
  3355. function In_Heavens_Name()
  3356. attack = true
  3357. Speed = 0
  3358. for i = 0, 3, 0.1 do
  3359. swait()
  3360. 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)
  3361. 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)
  3362. 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)
  3363. 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)
  3364. 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)
  3365. 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)
  3366. end
  3367. for i = 0, 2, 0.1 do
  3368. swait()
  3369. 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)
  3370. 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)
  3371. 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)
  3372. 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)
  3373. 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)
  3374. 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)
  3375. end
  3376. for i,v in pairs(GetTorsos(tors.CFrame.p, 40)) do
  3377. if v.Parent:FindFirstChildOfClass("Humanoid") then
  3378. local GOTCHA = v.Parent
  3379. local GOTCHAhum = GOTCHA:FindFirstChildOfClass("Humanoid")
  3380. local GOTCHAtor = GOTCHA:FindFirstChild("Torso") or GOTCHA:FindFirstChild("UpperTorso")
  3381. GOTCHAhum.Health = GOTCHAhum.Health - 60
  3382. for i = 0, 9 do
  3383. 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)
  3384. 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")
  3385. 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")
  3386. end
  3387. CFuncs["Sound"].Create("rbxassetid://138213851", char, 2,1.2)
  3388. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,1.2)
  3389. Magic(1, "Add", GOTCHAtor.CFrame, Vector3.new(35, 100, 35), 1, BrickC("Mulberry"), "Sphere")
  3390. Magic(2, "Add", GOTCHAtor.CFrame, Vector3.new(15, 60, 15), 2, BrickC("Really black"), "Sphere")
  3391. Magic(3, "Add", GOTCHAtor.CFrame, Vector3.new(3, 600, 3), 3, BrickC("Mulberry"), "Sphere")
  3392. end
  3393. end
  3394. Speed = 16
  3395. attack = false
  3396. end
  3397. -------------------------------------------------------
  3398. --End Attacks N Stuff--
  3399. -------------------------------------------------------
  3400. mouse.KeyDown:connect(function(key)
  3401. if attack == false then
  3402. if key == "t" then
  3403. ROAR()
  3404. elseif key == "z" then
  3405. Betraying_God()
  3406. elseif key == "x" then
  3407. Gods_Funeral()
  3408. elseif key == "c" then
  3409. Grudge_Holder()
  3410. elseif key == "v" then
  3411. In_Heavens_Name()
  3412. end
  3413. end
  3414. end)
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420.  
  3421.  
  3422.  
  3423. -------------------------------------------------------
  3424. --Start Animations--
  3425. -------------------------------------------------------
  3426. print("By Creterisk / Makhail07")
  3427. print("--------------------------------")
  3428. print("Attacks")
  3429. print("T : Roar.")
  3430. print("Z : Betraying God, Stomp on the ground doing massive damage.")
  3431. print("X : Gods Funeral, Aim with your mouse making a large explosion.")
  3432. print("(Not Done) C : Grudge Holder, Shoot a large beam eviscerating those in your way.")
  3433. print("V : In Heavens Name, Get close to a person blasting them with a beam.")
  3434. print("--------------------------------")
  3435. while true do
  3436. swait()
  3437. sine = sine + change
  3438. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  3439. local velderp = root.Velocity.y
  3440. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  3441. if equipped == true or equipped == false then
  3442. if attack == false then
  3443. idle = idle + 1
  3444. else
  3445. idle = 0
  3446. end
  3447. local Landed = false
  3448. if(hitfloor)then
  3449. WasAir = false
  3450. else
  3451. WasAir = true
  3452. end
  3453. if(WasAir == false)then
  3454. if(InAir == true)then
  3455. LandTick = time()
  3456. Landed = true
  3457. end
  3458. end
  3459. if(time()-LandTick < .3)then
  3460. Landed = true
  3461. end
  3462. if(hitfloor)then
  3463. InAir = false
  3464. else
  3465. InAir = true
  3466. end
  3467. local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
  3468. 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")
  3469. local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  3470. if(State == 'Jump')then
  3471. hum.JumpPower = 55
  3472. if attack == false then
  3473. 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)
  3474. 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)
  3475. 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)
  3476. 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)
  3477. 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)
  3478. 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)
  3479. end
  3480. elseif(State == 'Fall')then
  3481. if attack == false then
  3482. 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)
  3483. 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)
  3484. 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)
  3485. 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)
  3486. 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)
  3487. 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)
  3488. end
  3489. elseif(State == 'Land')then
  3490. hum.JumpPower = 0
  3491. if attack == false then
  3492. 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)
  3493. 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)
  3494. 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)
  3495. 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)
  3496. 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)
  3497. 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)
  3498. end
  3499. elseif(State == 'Idle')then
  3500. change = 1
  3501. if attack == false then
  3502. 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)
  3503. 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)
  3504. 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)
  3505. 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)
  3506. 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)
  3507. 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)
  3508. end
  3509. elseif(State == 'Walk')then
  3510. change = 1
  3511. hum.JumpPower = 55
  3512. if attack == false then
  3513. 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)
  3514. 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)
  3515. 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)
  3516. 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)
  3517. 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)
  3518. 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)
  3519. elseif attack == true and movelegs == true then
  3520. 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)
  3521. 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)
  3522. end
  3523. end
  3524. end
  3525. for _, c in pairs(char:GetChildren()) do
  3526. if c.ClassName == "Part" and c.Name ~= "Detail" then
  3527. --c.Material = "Fabric"
  3528. if c:FindFirstChildOfClass("ParticleEmitter") then
  3529. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3530. end
  3531. if c ~= hed then
  3532. --c.Color = Color3.new(1,1,1)
  3533. else
  3534. --c.Color = Color3.new(1,1,1)
  3535. end
  3536. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  3537. c:remove()
  3538. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  3539. c:remove()
  3540. end
  3541. end
  3542. hum.Name = "HUM"
  3543. hum.WalkSpeed = Speed
  3544. Music.SoundId = "rbxassetid://"..SONG
  3545. Music.Looped = true
  3546. Music.Pitch = 1
  3547. Music.Volume = 1.5
  3548. Music.Parent = tors
  3549. Music.Playing = true
  3550. if 0 < #Effects then
  3551. for e = 1, #Effects do
  3552. if Effects[e] ~= nil then
  3553. local Thing = Effects[e]
  3554. if Thing ~= nil then
  3555. local Part = Thing[1]
  3556. local Mode = Thing[2]
  3557. local Delay = Thing[3]
  3558. local IncX = Thing[4]
  3559. local IncY = Thing[5]
  3560. local IncZ = Thing[6]
  3561. if 1 >= Thing[1].Transparency then
  3562. if Thing[2] == "Block1" then
  3563. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3564. local Mesh = Thing[1].Mesh
  3565. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3566. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3567. elseif Thing[2] == "Block2" then
  3568. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  3569. local Mesh = Thing[7]
  3570. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3571. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3572. elseif Thing[2] == "Block3" then
  3573. 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)
  3574. local Mesh = Thing[7]
  3575. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3576. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3577. elseif Thing[2] == "Cylinder" then
  3578. local Mesh = Thing[1].Mesh
  3579. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3580. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3581. elseif Thing[2] == "Blood" then
  3582. local Mesh = Thing[7]
  3583. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3584. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3585. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3586. elseif Thing[2] == "Elec" then
  3587. local Mesh = Thing[1].Mesh
  3588. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3589. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3590. elseif Thing[2] == "Disappear" then
  3591. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3592. elseif Thing[2] == "Shatter" then
  3593. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3594. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3595. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3596. Thing[6] = Thing[6] + Thing[5]
  3597. end
  3598. else
  3599. Part.Parent = nil
  3600. table.remove(Effects, e)
  3601. end
  3602. end
  3603. end
  3604. end
  3605. end
  3606. end
  3607. -------------------------------------------------------
  3608. --End Animations And Script--
  3609. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement