Offsetchain

Hollow Powers

May 11th, 2018
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.84 KB | None | 0 0
  1. --[[
  2. yu cri
  3. Hollow by grgrgry21 and Dooven. (Discontinued)
  4. A
  5. A A
  6. A C A
  7. A A
  8. A
  9. ]]--
  10. wait(1 / 60)
  11. Effects = { }
  12. local Player = game.Players.localPlayer
  13. local Character = Player.Character
  14. local Humanoid = Character.Humanoid
  15. local Mouse = Player:GetMouse()
  16. local LeftArm = Character["Left Arm"]
  17. local RightArm = Character["Right Arm"]
  18. local LeftLeg = Character["Left Leg"]
  19. local RightLeg = Character["Right Leg"]
  20. local Head = Character.Head
  21. local Torso = Character.Torso
  22. local Camera = game.Workspace.CurrentCamera
  23. local RootPart = Character.HumanoidRootPart
  24. local RootJoint = RootPart.RootJoint
  25. local attack = false
  26. local Anim = 'Idle'
  27. local attacktype = 1
  28. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  29. local velocity = RootPart.Velocity.y
  30. local sine = 0
  31. local change = 1
  32. local Create = LoadLibrary("RbxUtility").Create
  33. Humanoid.MaxHealth = math.huge
  34. local spooky = Instance.new("Sound",Character)
  35. spooky.SoundId = "rbxassetid://331384152"
  36. spooky.Looped = true
  37. spooky.Pitch = 1
  38. spooky.Volume = 1.1
  39. spooky:Stop()
  40. local spooky2 = Instance.new("Sound",Character)
  41. spooky2.SoundId = "rbxassetid://509646527"
  42. spooky2.Looped = false
  43. spooky2.Pitch = 1
  44. spooky2.Volume = 1.4
  45. spooky2:Play()
  46. local m = Create("Model"){
  47. Parent = Character,
  48. Name = "WeaponModel",
  49. }
  50.  
  51. Humanoid.Animator.Parent = nil
  52. Character.Animate.Parent = nil
  53.  
  54. local newMotor = function(part0, part1, c0, c1)
  55. local w = Create('Motor'){
  56. Parent = part0,
  57. Part0 = part0,
  58. Part1 = part1,
  59. C0 = c0,
  60. C1 = c1,
  61. }
  62. return w
  63. end
  64.  
  65. function clerp(a, b, t)
  66. return a:lerp(b, t)
  67. end
  68.  
  69. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  70. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  71.  
  72. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  73. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  74. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  75. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  76. RootJoint.C1 = CFrame.new(0, 0, 0)
  77. RootJoint.C0 = CFrame.new(0, 0, 0)
  78. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  79. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  80.  
  81. local rarmc1 = RW.C1
  82. local larmc1 = LW.C1
  83. local rlegc1 = RH.C1
  84. local llegc1 = LH.C1
  85.  
  86. local resetc1 = false
  87.  
  88. function PlayAnimationFromTable(table, speed, bool)
  89. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  90. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  91. RW.C0 = clerp(RW.C0, table[3], speed)
  92. LW.C0 = clerp(LW.C0, table[4], speed)
  93. RH.C0 = clerp(RH.C0, table[5], speed)
  94. LH.C0 = clerp(LH.C0, table[6], speed)
  95. if bool == true then
  96. if resetc1 == false then
  97. resetc1 = true
  98. RootJoint.C1 = RootJoint.C1
  99. Torso.Neck.C1 = Torso.Neck.C1
  100. RW.C1 = rarmc1
  101. LW.C1 = larmc1
  102. RH.C1 = rlegc1
  103. LH.C1 = llegc1
  104. end
  105. end
  106. end
  107.  
  108. ArtificialHB = Create("BindableEvent", script){
  109. Parent = script,
  110. Name = "Heartbeat",
  111. }
  112.  
  113. script:WaitForChild("Heartbeat")
  114.  
  115. frame = 1 / 30
  116. tf = 0
  117. allowframeloss = false
  118. tossremainder = false
  119. lastframe = tick()
  120. script.Heartbeat:Fire()
  121.  
  122. game:GetService("RunService").Heartbeat:connect(function(s, p)
  123. tf = tf + s
  124. if tf >= frame then
  125. if allowframeloss then
  126. script.Heartbeat:Fire()
  127. lastframe = tick()
  128. else
  129. for i = 1, math.floor(tf / frame) do
  130. script.Heartbeat:Fire()
  131. end
  132. lastframe = tick()
  133. end
  134. if tossremainder then
  135. tf = 0
  136. else
  137. tf = tf - frame * math.floor(tf / frame)
  138. end
  139. end
  140. end)
  141.  
  142. function swait(num)
  143. if num == 0 or num == nil then
  144. ArtificialHB.Event:wait()
  145. else
  146. for i = 0, num do
  147. ArtificialHB.Event:wait()
  148. end
  149. end
  150. end
  151.  
  152. function RemoveOutlines(part)
  153. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  154. end
  155.  
  156. CFuncs = {
  157. ["Part"] = {
  158. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  159. local Part = Create("Part"){
  160. Parent = Parent,
  161. Reflectance = Reflectance,
  162. Transparency = Transparency,
  163. CanCollide = false,
  164. Locked = true,
  165. BrickColor = BrickColor.new(tostring(BColor)),
  166. Name = Name,
  167. Size = Size,
  168. Material = Material,
  169. }
  170. RemoveOutlines(Part)
  171. return Part
  172. end;
  173. };
  174.  
  175. ["Mesh"] = {
  176. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  177. local Msh = Create(Mesh){
  178. Parent = Part,
  179. Offset = OffSet,
  180. Scale = Scale,
  181. }
  182. if Mesh == "SpecialMesh" then
  183. Msh.MeshType = MeshType
  184. Msh.MeshId = MeshId
  185. end
  186. return Msh
  187. end;
  188. };
  189.  
  190. ["Mesh"] = {
  191. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  192. local Msh = Create(Mesh){
  193. Parent = Part,
  194. Offset = OffSet,
  195. Scale = Scale,
  196. }
  197. if Mesh == "SpecialMesh" then
  198. Msh.MeshType = MeshType
  199. Msh.MeshId = MeshId
  200. end
  201. return Msh
  202. end;
  203. };
  204.  
  205. ["Weld"] = {
  206. Create = function(Parent, Part0, Part1, C0, C1)
  207. local Weld = Create("Weld"){
  208. Parent = Parent,
  209. Part0 = Part0,
  210. Part1 = Part1,
  211. C0 = C0,
  212. C1 = C1,
  213. }
  214. return Weld
  215. end;
  216. };
  217.  
  218. ["Sound"] = {
  219. Create = function(id, par, vol, pit)
  220. coroutine.resume(coroutine.create(function()
  221. local S = Create("Sound"){
  222. Volume = vol,
  223. Pitch = pit or 1,
  224. SoundId = id,
  225. Parent = par or workspace,
  226. }
  227. wait()
  228. S:play()
  229. game:GetService("Debris"):AddItem(S, 6)
  230. end))
  231. end;
  232. };
  233.  
  234. ["ParticleEmitter"] = {
  235. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  236. local fp = Create("ParticleEmitter"){
  237. Parent = Parent,
  238. Color = ColorSequence.new(Color1, Color2),
  239. LightEmission = LightEmission,
  240. Size = Size,
  241. Texture = Texture,
  242. Transparency = Transparency,
  243. ZOffset = ZOffset,
  244. Acceleration = Accel,
  245. Drag = Drag,
  246. LockedToPart = LockedToPart,
  247. VelocityInheritance = VelocityInheritance,
  248. EmissionDirection = EmissionDirection,
  249. Enabled = Enabled,
  250. Lifetime = LifeTime,
  251. Rate = Rate,
  252. Rotation = Rotation,
  253. RotSpeed = RotSpeed,
  254. Speed = Speed,
  255. VelocitySpread = VelocitySpread,
  256. }
  257. return fp
  258. end;
  259. };
  260.  
  261. CreateTemplate = {
  262.  
  263. };
  264. }
  265. New = function(Object, Parent, Name, Data)
  266. local Object = Instance.new(Object)
  267. for Index, Value in pairs(Data or {}) do
  268. Object[Index] = Value
  269. end
  270. Object.Parent = Parent
  271. Object.Name = Name
  272. return Object
  273. end
  274.  
  275. function rayCast(Position, Direction, Range, Ignore)
  276. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  277. end
  278.  
  279. FindNearestTorso = function(pos)
  280. local list = (game.Workspace:children())
  281. local torso = nil
  282. local dist = 1000
  283. local temp, human, temp2 = nil, nil, nil
  284. for x = 1, #list do
  285. temp2 = list[x]
  286. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  287. temp = temp2:findFirstChild("Torso")
  288. human = temp2:findFirstChild("Humanoid")
  289. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  290. local dohit = true
  291. if dohit == true then
  292. torso = temp
  293. dist = (temp.Position - pos).magnitude
  294. end
  295. end
  296. end
  297. end
  298. return torso, dist
  299. end
  300.  
  301. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  302. if hit.Parent == nil then
  303. return
  304. end
  305. local h = hit.Parent:FindFirstChild("Humanoid")
  306. for _, v in pairs(hit.Parent:children()) do
  307. if v:IsA("Humanoid") then
  308. h = v
  309. end
  310. end
  311. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  312. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  313. if hit.Parent.DebounceHit.Value == true then
  314. return
  315. end
  316. end
  317. local c = Create("ObjectValue"){
  318. Name = "creator",
  319. Value = game:service("Players").LocalPlayer,
  320. Parent = h,
  321. }
  322. game:GetService("Debris"):AddItem(c, .5)
  323. if HitSound ~= nil and HitPitch ~= nil then
  324. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  325. end
  326. local Damage = math.random(minim, maxim)
  327. local blocked = false
  328. local block = hit.Parent:findFirstChild("Block")
  329. if block ~= nil then
  330. if block.className == "IntValue" then
  331. if block.Value > 0 then
  332. blocked = true
  333. block.Value = block.Value - 1
  334. print(block.Value)
  335. end
  336. end
  337. end
  338. if blocked == false then
  339. h.Health = h.Health - Damage
  340. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  341. else
  342. h.Health = h.Health - (Damage / 2)
  343. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  344. end
  345. if Type == "Knockdown" then
  346. local hum = hit.Parent.Humanoid
  347. hum.PlatformStand = true
  348. coroutine.resume(coroutine.create(function(HHumanoid)
  349. swait(1)
  350. HHumanoid.PlatformStand = false
  351. end), hum)
  352. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  353. local bodvol = Create("BodyVelocity"){
  354. velocity = angle * knockback,
  355. P = 5000,
  356. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  357. Parent = hit,
  358. }
  359. local rl = Create("BodyAngularVelocity"){
  360. P = 3000,
  361. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  362. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  363. Parent = hit,
  364. }
  365. game:GetService("Debris"):AddItem(bodvol, .5)
  366. game:GetService("Debris"):AddItem(rl, .5)
  367. elseif Type == "Normal" then
  368. local vp = Create("BodyVelocity"){
  369. P = 500,
  370. maxForce = Vector3.new(math.huge, 0, math.huge),
  371. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  372. }
  373. if knockback > 0 then
  374. vp.Parent = hit.Parent.Torso
  375. end
  376. game:GetService("Debris"):AddItem(vp, .5)
  377. elseif Type == "Up" then
  378. local bodyVelocity = Create("BodyVelocity"){
  379. velocity = Vector3.new(0, 20, 0),
  380. P = 5000,
  381. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  382. Parent = hit,
  383. }
  384. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  385. elseif Type == "DarkUp" then
  386. coroutine.resume(coroutine.create(function()
  387. for i = 0, 1, 0.1 do
  388. swait()
  389. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  390. end
  391. end))
  392. local bodyVelocity = Create("BodyVelocity"){
  393. velocity = Vector3.new(0, 20, 0),
  394. P = 5000,
  395. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  396. Parent = hit,
  397. }
  398. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  399. elseif Type == "Snare" then
  400. local bp = Create("BodyPosition"){
  401. P = 2000,
  402. D = 100,
  403. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  404. position = hit.Parent.Torso.Position,
  405. Parent = hit.Parent.Torso,
  406. }
  407. game:GetService("Debris"):AddItem(bp, 1)
  408. elseif Type == "Freeze" then
  409. local BodPos = Create("BodyPosition"){
  410. P = 50000,
  411. D = 1000,
  412. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  413. position = hit.Parent.Torso.Position,
  414. Parent = hit.Parent.Torso,
  415. }
  416. local BodGy = Create("BodyGyro") {
  417. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  418. P = 20e+003,
  419. Parent = hit.Parent.Torso,
  420. cframe = hit.Parent.Torso.CFrame,
  421. }
  422. hit.Parent.Torso.Anchored = true
  423. coroutine.resume(coroutine.create(function(Part)
  424. swait(1.5)
  425. Part.Anchored = false
  426. end), hit.Parent.Torso)
  427. game:GetService("Debris"):AddItem(BodPos, 3)
  428. game:GetService("Debris"):AddItem(BodGy, 3)
  429. end
  430. local debounce = Create("BoolValue"){
  431. Name = "DebounceHit",
  432. Parent = hit.Parent,
  433. Value = true,
  434. }
  435. game:GetService("Debris"):AddItem(debounce, Delay)
  436. c = Create("ObjectValue"){
  437. Name = "creator",
  438. Value = Player,
  439. Parent = h,
  440. }
  441. game:GetService("Debris"):AddItem(c, .5)
  442. end
  443. end
  444.  
  445. function ShowDamage(Pos, Text, Time, Color)
  446. local Rate = (1 / 30)
  447. local Pos = (Pos or Vector3.new(0, 0, 0))
  448. local Text = (Text or "")
  449. local Time = (Time or 2)
  450. local Color = (Color or Color3.new(1, 0, 1))
  451. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  452. EffectPart.Anchored = true
  453. local BillboardGui = Create("BillboardGui"){
  454. Size = UDim2.new(3, 0, 3, 0),
  455. Adornee = EffectPart,
  456. Parent = EffectPart,
  457. }
  458. local TextLabel = Create("TextLabel"){
  459. BackgroundTransparency = 1,
  460. Size = UDim2.new(1, 0, 1, 0),
  461. Text = Text,
  462. Font = "SciFi",
  463. TextColor3 = Color,
  464. TextScaled = true,
  465. Parent = BillboardGui,
  466. }
  467. game.Debris:AddItem(EffectPart, (Time))
  468. EffectPart.Parent = game:GetService("Workspace")
  469. delay(0, function()
  470. local Frames = (Time / Rate)
  471. for Frame = 1, Frames do
  472. wait(Rate)
  473. local Percent = (Frame / Frames)
  474. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  475. TextLabel.TextTransparency = Percent
  476. end
  477. if EffectPart and EffectPart.Parent then
  478. EffectPart:Destroy()
  479. end
  480. end)
  481. end
  482.  
  483. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  484. for _, c in pairs(workspace:children()) do
  485. local hum = c:findFirstChild("Humanoid")
  486. if hum ~= nil then
  487. local head = c:findFirstChild("Torso")
  488. if head ~= nil then
  489. local targ = head.Position - Part.Position
  490. local mag = targ.magnitude
  491. if mag <= Magnitude and c.Name ~= Player.Name then
  492. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  493. end
  494. end
  495. end
  496. end
  497. end
  498. function UltraMagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) -- kek
  499. for _, c in pairs(workspace:children()) do
  500. local hum = c:findFirstChild("Humanoid")
  501. if hum ~= nil then
  502. local head = c:findFirstChild("Torso")
  503. if head ~= nil then
  504. local targ = head.Position - Part.Position
  505. local mag = targ.magnitude
  506. if mag <= Magnitude and c.Name ~= Player.Name then
  507. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  508. head.Size = head.Size + Vector3.new(0.01, 0.01, 0.01)
  509. end
  510. end
  511. end
  512. end
  513. end
  514. EffectModel = Create("Model"){
  515. Parent = Character,
  516. Name = "Effects",
  517. }
  518.  
  519. Effects = {
  520. Block = {
  521. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  522. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  523. prt.Anchored = true
  524. prt.CFrame = cframe
  525. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  526. game:GetService("Debris"):AddItem(prt, 10)
  527. if Type == 1 or Type == nil then
  528. table.insert(Effects, {
  529. prt,
  530. "Block1",
  531. delay,
  532. x3,
  533. y3,
  534. z3,
  535. msh
  536. })
  537. elseif Type == 2 then
  538. table.insert(Effects, {
  539. prt,
  540. "Block2",
  541. delay,
  542. x3,
  543. y3,
  544. z3,
  545. msh
  546. })
  547. end
  548. end;
  549. };
  550.  
  551. Cylinder = {
  552. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  553. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  554. prt.Anchored = true
  555. prt.CFrame = cframe
  556. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  557. game:GetService("Debris"):AddItem(prt, 10)
  558. table.insert(Effects, {
  559. prt,
  560. "Cylinder",
  561. delay,
  562. x3,
  563. y3,
  564. z3,
  565. msh
  566. })
  567. end;
  568. };
  569. Head = {
  570. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  571. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  572. prt.Anchored = true
  573. prt.CFrame = cframe
  574. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  575. game:GetService("Debris"):AddItem(prt, 10)
  576. table.insert(Effects, {
  577. prt,
  578. "Cylinder",
  579. delay,
  580. x3,
  581. y3,
  582. z3,
  583. msh
  584. })
  585. end;
  586. };
  587.  
  588. Sphere = {
  589. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  590. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  591. prt.Anchored = true
  592. prt.CFrame = cframe
  593. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  594. game:GetService("Debris"):AddItem(prt, 10)
  595. table.insert(Effects, {
  596. prt,
  597. "Cylinder",
  598. delay,
  599. x3,
  600. y3,
  601. z3,
  602. msh
  603. })
  604. end;
  605. };
  606.  
  607. Elect = {
  608. Create = function(cff, x, y, z)
  609. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  610. prt.Anchored = true
  611. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  612. prt.CFrame = CFrame.new(prt.Position)
  613. game:GetService("Debris"):AddItem(prt, 2)
  614. local xval = math.random() / 2
  615. local yval = math.random() / 2
  616. local zval = math.random() / 2
  617. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  618. table.insert(Effects, {
  619. prt,
  620. "Elec",
  621. 0.1,
  622. x,
  623. y,
  624. z,
  625. xval,
  626. yval,
  627. zval
  628. })
  629. end;
  630.  
  631. };
  632.  
  633. Ring = {
  634. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  635. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  636. prt.Anchored = true
  637. prt.CFrame = cframe
  638. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  639. game:GetService("Debris"):AddItem(prt, 10)
  640. table.insert(Effects, {
  641. prt,
  642. "Cylinder",
  643. delay,
  644. x3,
  645. y3,
  646. z3,
  647. msh
  648. })
  649. end;
  650. };
  651.  
  652.  
  653. Wave = {
  654. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  655. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  656. prt.Anchored = true
  657. prt.CFrame = cframe
  658. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  659. game:GetService("Debris"):AddItem(prt, 10)
  660. table.insert(Effects, {
  661. prt,
  662. "Cylinder",
  663. delay,
  664. x3,
  665. y3,
  666. z3,
  667. msh
  668. })
  669. end;
  670. };
  671.  
  672. Break = {
  673. Create = function(brickcolor, cframe, x1, y1, z1)
  674. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  675. prt.Anchored = true
  676. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  677. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  678. local num = math.random(10, 50) / 1000
  679. game:GetService("Debris"):AddItem(prt, 10)
  680. table.insert(Effects, {
  681. prt,
  682. "Shatter",
  683. num,
  684. prt.CFrame,
  685. math.random() - math.random(),
  686. 0,
  687. math.random(50, 100) / 100
  688. })
  689. end;
  690. };
  691.  
  692. Fire = {
  693. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  694. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  695. prt.Anchored = true
  696. prt.CFrame = cframe
  697. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  698. game:GetService("Debris"):AddItem(prt, 10)
  699. table.insert(Effects, {
  700. prt,
  701. "Fire",
  702. delay,
  703. 1,
  704. 1,
  705. 1,
  706. msh
  707. })
  708. end;
  709. };
  710.  
  711. FireWave = {
  712. Create = function(brickcolor, cframe, x1, y1, z1)
  713. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  714. prt.Anchored = true
  715. prt.CFrame = cframe
  716. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  717. local d = Create("Decal"){
  718. Parent = prt,
  719. Texture = "rbxassetid://26356434",
  720. Face = "Top",
  721. }
  722. local d = Create("Decal"){
  723. Parent = prt,
  724. Texture = "rbxassetid://26356434",
  725. Face = "Bottom",
  726. }
  727. game:GetService("Debris"):AddItem(prt, 10)
  728. table.insert(Effects, {
  729. prt,
  730. "FireWave",
  731. 1,
  732. 30,
  733. math.random(400, 600) / 100,
  734. msh
  735. })
  736. end;
  737. };
  738.  
  739. Lightning = {
  740. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  741. local magz = (p0 - p1).magnitude
  742. local curpos = p0
  743. local trz = {
  744. -ofs,
  745. ofs
  746. }
  747. for i = 1, tym do
  748. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  749. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  750. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  751. li.Material = "Neon"
  752. if tym == i then
  753. local magz2 = (curpos - p1).magnitude
  754. li.Size = Vector3.new(th, th, magz2)
  755. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  756. table.insert(Effects, {
  757. li,
  758. "Disappear",
  759. last
  760. })
  761. else
  762. do
  763. do
  764. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  765. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  766. game.Debris:AddItem(li, 10)
  767. table.insert(Effects, {
  768. li,
  769. "Disappear",
  770. last
  771. })
  772. end
  773. end
  774. end
  775. end
  776. end
  777. };
  778.  
  779. EffectTemplate = {
  780.  
  781. };
  782. }
  783. function hahahohoho(Part, Dmg)
  784. sp = Part.Position
  785. dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  786. local hit, pos = rayCast(sp, dirr.lookVector, 500, Character)
  787. local las = Instance.new("Part", Character)
  788. las.Anchored = true
  789. las.Locked = true
  790. las.CanCollide = false
  791. las.TopSurface = 0
  792. las.BottomSurface = 0
  793. las.BrickColor = BrickColor.new("Really black")
  794. las.Size = Vector3.new(1, 1, 1)
  795. las.CFrame = CFrame.new((Part.Position + pos) / 2, pos) * CFrame.Angles(math.rad(90), 0, 0)
  796. local msh = Instance.new("SpecialMesh", las)
  797. mag = (Part.Position - pos).magnitude
  798. msh.Scale = Vector3.new(0.1, mag, 0.1)
  799. coroutine.resume(coroutine.create(function(Part, Mesh)
  800. for i = 0, 3, 0.1 do
  801. wait()
  802. Part.Transparency = Part.Transparency + 0.03
  803. Mesh.Scale = Mesh.Scale + Vector3.new(0.5, 0.7, 0.5)
  804. end
  805. Part.Parent = nil
  806. end), las, msh)
  807. if pos ~= nil then
  808. local las2 = Instance.new("Part", Character)
  809. las2.Anchored = true
  810. las2.Locked = true
  811. las2.CanCollide = false
  812. las2.TopSurface = 0
  813. las2.BottomSurface = 0
  814. las2.Transparency = 1
  815. las2.BrickColor = BrickColor.new("Really black")
  816. las2.Size = Vector3.new(1, 1, 1)
  817. las2.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(90), 0, 0)
  818. local msh = Instance.new("SpecialMesh", las2)
  819. msh.MeshType = "Sphere"
  820. mag = (Part.Position - pos).magnitude
  821. msh.Scale = Vector3.new(0.1, 0.1, 0.1)
  822. Effects.Ring.Create(BrickColor.new("Really black"), las2.CFrame * CFrame.Angles(math.random(-4,4),math.random(-4,4),math.random(-4,4)), 8, 8, 8, 2.5, 2.5, 2.5, 0.04)
  823. Effects.Sphere.Create(BrickColor.new("Really black"), las2.CFrame, 6, 6, 6, 9, 9, 9, 0.04)
  824. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=228343252", las2, 1.2, 0.9)
  825. UltraMagnitudeDamage(las2, 20, 100, 100, math.random(1, 5), "Normal", "http://www.roblox.com/asset/?id=228343252", 1)
  826. coroutine.resume(coroutine.create(function(Part, Mesh)
  827. for i = 0, 3, 0.1 do
  828. wait()
  829. Part.Transparency = Part.Transparency + 1
  830. Mesh.Scale = Mesh.Scale + Vector3.new(0, 0, 0)
  831. end
  832. Part.Parent = nil
  833. end), las2, msh)
  834. end
  835. if hit ~= nil and pos ~= nil then
  836. if hit.Parent.className == "Hat" then
  837. hit:BreakJoints()
  838. hit.Velocity = Vector3.new(math.random(-5, 5), 20, math.random(-5, 5))
  839. end
  840. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  841. hit.Parent.Humanoid:TakeDamage(Dmg)
  842. end
  843. end
  844. end
  845. function attackone()
  846. attack = true
  847. local ref = New("Part",Character,"ref",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-63.7534943, 0.396845818, -9.92230225, -1, 0, 0, 0, 0.00350399944, -0.999993861, 0, -0.999993861, -0.00350399921),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  848. mot = New("Weld",ref,"mot",{Part0 = ref,Part1 = RootPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.00350399944, -0.999993861, 0, -0.999993861, -0.00350399921),C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  849.  
  850. for i = 0, 1, 0.1 do
  851. swait()
  852. PlayAnimationFromTable({
  853. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  854. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  855. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  856. CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  857. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  858. CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  859. }, .3, false)
  860. end
  861. hahahohoho(ref, 100)
  862. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", Character, 1, .6)
  863. attack = false
  864. wait(1)
  865. ref:Remove()
  866. end
  867. function spamrein()
  868. attack = true
  869. local ref1 = New("Part",EffectModel,"ref1",{Anchored = true,CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  870. local ref2 = New("Part",EffectModel,"ref2",{Anchored = true,CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  871. for i = 0, 1, 0.1 do
  872. swait()
  873. PlayAnimationFromTable({
  874. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  875. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  876. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  877. CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  878. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  879. CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  880. }, .3, false)
  881. end
  882. for i = 0, 8 do
  883. swait(3)
  884. ref1.CFrame = RootPart.CFrame * CFrame.new(math.random(-30,30),50,math.random(-30,30)) * CFrame.Angles(math.rad(math.random(-25,25)),0,math.rad(math.random(-25,25)))
  885. hahahohoho(ref1, 100)
  886. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", ref1, 1, .6)
  887. wait(.05)
  888. ref2.CFrame = RootPart.CFrame * CFrame.new(math.random(-30,30),50,math.random(-30,30)) * CFrame.Angles(math.rad(math.random(-25,25)),0,math.rad(math.random(-25,25)))
  889. hahahohoho(ref2, 100)
  890. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", ref2, 1, .6)
  891. wait(.05)
  892. end
  893. attack = false
  894. end
  895. function spamspin()
  896. attack = true
  897. local ref3 = New("Part",EffectModel,"ref3",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  898. local ref4 = New("Part",EffectModel,"ref4",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  899. moter1 = New("Motor",ref3,"mot",{Part0 = LeftArm,Part1 = ref3,})
  900. moter2 = New("Motor",ref4,"mot",{Part0 = RightArm,Part1 = ref4,})
  901. for i = 0, 1, 0.1 do
  902. swait()
  903. PlayAnimationFromTable({
  904. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  905. CFrame.new(0, 1.49998045, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  906. CFrame.new(2.00000072, 0.500000775, 0, -6.33299351e-007, -1.00000048, 0, 1.00000048, -6.33299351e-007, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  907. CFrame.new(-1.99999726, 0.500000834, 0, -2.38418579e-007, 1.0000006, 0, -1.00000048, -3.7252903e-007, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  908. CFrame.new(0.5, -1.99999619, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  909. CFrame.new(-0.5, -1.99999619, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  910. }, .3, false)
  911. end
  912. coroutine.wrap(function()
  913. for i = 0, 18 do
  914. swait(2)
  915. hahahohoho(ref3, 100)
  916. hahahohoho(ref4, 100)
  917. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", RootPart, 1, .6)
  918. end
  919. end)()
  920. for i = 0, 7, 0.1 do
  921. swait()
  922. PlayAnimationFromTable({
  923. CFrame.new(0, -0.500001013, 7.62939453e-006, 1, 0, 0, 0, 0, -1, 0, 1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(sine * 25), 0),
  924. CFrame.new(0, 1.4999733, -9.00030136e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  925. CFrame.new(2, 0.499996185, -1.40070915e-005, 0, -1, 0, 1, 0, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  926. CFrame.new(-1.99999237, 0.499996185, -1.40070915e-005, 0, 1, 0, -1, 0, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  927. CFrame.new(0.5, -1.99998474, -2.02655792e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  928. CFrame.new(-0.5, -1.99998474, -2.02655792e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  929. }, .3, false)
  930. moter1.C0 = clerp(moter1.C0, CFrame.new(1.07955907e-006, -1.10001731, 0, 1.0000031, 3.13669534e-006, 0, -3.00258512e-006, 1.00000322, -0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  931. moter2.C0 = clerp(moter2.C0, CFrame.new(-2.22906492e-005, -1.10000086, 1.03585517e-005, -1.00000048, 4.00841191e-006, -1.0410066e-011, 4.00840509e-006, 1.00000215, -2.61515493e-006, 1.75116303e-014, -2.48104334e-006, -1.00000179) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  932. end
  933. attack = false
  934. end
  935. function criufkinbastard()
  936. Humanoid.WalkSpeed = 0
  937. Humanoid.JumpPower = 0
  938. coroutine.wrap(function()
  939. attack = true
  940. local txt = Instance.new("BillboardGui", Character)
  941. txt.Adornee = game.Players.LocalPlayer.Character.Head
  942. txt.Name = "_status"
  943. txt.Size = UDim2.new(2, 0, 1.2, 0)
  944. txt.StudsOffset = Vector3.new(-9, 8, 0)
  945. local text = Instance.new("TextLabel", txt)
  946. text.Size = UDim2.new(10, 0, 7, 0)
  947. text.FontSize = "Size24"
  948. text.TextScaled = true
  949. text.TextTransparency = 1
  950. text.BackgroundTransparency = 1
  951. text.TextStrokeTransparency = 1
  952. text.Font = "Garamond"
  953. text.TextStrokeColor3 = Color3.new(1,1,1)
  954. text.TextColor3 = Color3.new(0, 0, 0)
  955. text.Text = "I'm scared..."
  956.  
  957. local text2 = Instance.new("TextLabel", txt)
  958. text2.Size = UDim2.new(10, 0, 7, 0)
  959. text2.FontSize = "Size24"
  960. text2.TextScaled = true
  961. text2.TextTransparency = 1
  962. text2.BackgroundTransparency = 1
  963. text2.TextStrokeTransparency = 1
  964. text2.Font = "Garamond"
  965. text2.TextStrokeColor3 = Color3.new(1,1,1)
  966. text2.TextColor3 = Color3.new(0, 0, 0)
  967. text2.Text = "Why is this.. Happening to me?..."
  968.  
  969. local text3 = Instance.new("TextLabel", txt)
  970. text3.Size = UDim2.new(10, 0, 7, 0)
  971. text3.FontSize = "Size24"
  972. text3.TextScaled = true
  973. text3.TextTransparency = 1
  974. text3.BackgroundTransparency = 1
  975. text3.TextStrokeTransparency = 1
  976. text3.Font = "Garamond"
  977. text3.TextStrokeColor3 = Color3.new(1,1,1)
  978. text3.TextColor3 = Color3.new(0, 0, 0)
  979. text3.Text = "Should i be afraid...?"
  980.  
  981. local text4 = Instance.new("TextLabel", txt)
  982. text4.Size = UDim2.new(10, 0, 7, 0)
  983. text4.FontSize = "Size24"
  984. text4.TextScaled = true
  985. text4.TextTransparency = 1
  986. text4.BackgroundTransparency = 1
  987. text4.TextStrokeTransparency = 1
  988. text4.Font = "Garamond"
  989. text4.TextStrokeColor3 = Color3.new(1,1,1)
  990. text4.TextColor3 = Color3.new(0, 0, 0)
  991. text4.Text = "No..."
  992.  
  993. local text5 = Instance.new("TextLabel", txt)
  994. text5.Size = UDim2.new(10, 0, 7, 0)
  995. text5.FontSize = "Size24"
  996. text5.TextScaled = true
  997. text5.TextTransparency = 1
  998. text5.BackgroundTransparency = 1
  999. text5.TextStrokeTransparency = 1
  1000. text5.Font = "Garamond"
  1001. text5.TextStrokeColor3 = Color3.new(1,0,0)
  1002. text5.TextColor3 = Color3.new(0, 0, 0)
  1003. text5.Text = "It's just who i am.."
  1004.  
  1005.  
  1006. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191006402", RootPart, 3, 1)
  1007. while wait() and text and text.TextTransparency >= 0 do
  1008. text.TextStrokeTransparency = text.TextStrokeTransparency - .05
  1009. text.TextTransparency = text.TextTransparency - .05
  1010.  
  1011. end
  1012. wait(3)
  1013. while wait() and text and text.TextTransparency <= 1 do
  1014. text.TextStrokeTransparency = text.TextStrokeTransparency + .05
  1015. text.TextTransparency = text.TextTransparency + .05
  1016. text.Position = text.Position - UDim2.new(0,0,0,1)
  1017. text.Rotation = text.Rotation - 1
  1018. text2.TextStrokeTransparency = text2.TextStrokeTransparency - .05
  1019. text2.TextTransparency = text2.TextTransparency - .05
  1020. end
  1021. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191006402", RootPart, 3, 1)
  1022. wait(3)
  1023. while wait() and text2 and text2.TextTransparency <= 1 do
  1024. text2.TextStrokeTransparency = text2.TextStrokeTransparency + .05
  1025. text2.TextTransparency = text2.TextTransparency + .05
  1026. text2.Position = text2.Position - UDim2.new(0,0,0,1)
  1027. text2.Rotation = text2.Rotation - 1
  1028. text3.TextStrokeTransparency = text3.TextStrokeTransparency - .05
  1029. text3.TextTransparency = text3.TextTransparency - .05
  1030. end
  1031. wait(3)
  1032. while wait() and text3 and text3.TextTransparency <= 1 do
  1033. text3.TextStrokeTransparency = text3.TextStrokeTransparency + .05
  1034. text3.TextTransparency = text3.TextTransparency + .05
  1035. text3.Position = text3.Position - UDim2.new(0,0,0,1)
  1036. text3.Rotation = text3.Rotation - 1
  1037. text4.TextStrokeTransparency = text4.TextStrokeTransparency - .05
  1038. text4.TextTransparency = text4.TextTransparency - .05
  1039. end
  1040. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191006402", RootPart, 3, 1)
  1041. wait(1)
  1042. while wait() and text4 and text4.TextTransparency <= 1 do
  1043. text4.TextStrokeTransparency = text4.TextStrokeTransparency + .05
  1044. text4.TextTransparency = text4.TextTransparency + .05
  1045. text4.Position = text4.Position - UDim2.new(0,0,0,1)
  1046. text4.Rotation = text4.Rotation - 1
  1047. text5.TextStrokeTransparency = text5.TextStrokeTransparency - .05
  1048. text5.TextTransparency = text5.TextTransparency - .05
  1049. end
  1050. wait(3)
  1051. while wait() and text5 and text5.TextTransparency <= 1 do
  1052. text5.TextStrokeTransparency = text5.TextStrokeTransparency + .05
  1053. text5.TextTransparency = text5.TextTransparency + .05
  1054. text5.Position = text5.Position - UDim2.new(math.random(-0.3,0.3),math.random(-5,5),math.random(-0.3,0.3),math.random(-5,5))
  1055. text5.Rotation = text5.Rotation - 1
  1056. spooky2.Volume = spooky2.Volume - 0.05
  1057. end
  1058. spooky:Play()
  1059. text:Remove()
  1060. text2:Remove()
  1061. text3:Remove()
  1062. text4:Remove()
  1063. text5:Remove()
  1064. end)()
  1065. for i = 0, 51, 0.1 do
  1066. swait()
  1067. PlayAnimationFromTable({
  1068. CFrame.new(-0, -2.01999879, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1069. CFrame.new(-0.100006104, 1.64000487, -3.69548798e-006, 1, 0, 0, 0, 0.891016304, 0.453991741, 0, -0.453991264, 0.891006649) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1070. CFrame.new(0.950131536, 1.02000284, -0.609929323, 0.838677049, 0.544629633, 1.82800829e-006, 0.280503511, -0.431945533, -0.857170463, -0.466839492, 0.718889475, -0.515032887) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1071. CFrame.new(-1.01001573, 1.08999729, -0.649995506, 0.743156135, -0.669118106, 5.49372999e-006, -0.324383408, -0.360283762, -0.874626398, 0.585230291, 0.649981976, -0.484797955) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1072. CFrame.new(0.5, -0.169970214, -1.0898838, 1, 0, -0, 0, 0.681989849, -0.73136127, 0, 0.73136127, 0.681989849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1073. CFrame.new(-0.549926758, -0.149971083, -1.56995773, 1, 0, -0, 0, 0.1736864, -0.984801233, 0, 0.984801233, 0.1736864) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1074. }, .1, false)
  1075. end
  1076. for i = 0, 5, 0.1 do
  1077. swait()
  1078. PlayAnimationFromTable({
  1079. CFrame.new(-0.0981965065, -1.31277657, -0.54871279, 0.808166862, -0.196366429, -0.555253625, 0.575620949, 0.0638884008, 0.815217137, -0.124606982, -0.97844708, 0.164665088) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1080. CFrame.new(0.0582410395, 1.44129539, 0.0734805763, 0.934516311, 2.10106373e-006, 0.355920374, 0.121625632, 0.939799547, -0.319349885, -0.334494382, 0.34172672, 0.878257751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1081. CFrame.new(0.759254932, 0.609628737, -1.37132394, 0.887519658, 0.460769922, 5.49852848e-006, 0.0474366248, -0.0913589746, -0.994687736, -0.458321631, 0.882805049, -0.102940291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1082. CFrame.new(-1.522138, 1.1763432, -0.233797818, 0.654816628, 0.623950124, -0.426499099, 0.0684916377, -0.610978603, -0.788678765, -0.752677917, 0.487228334, -0.44281441) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1083. CFrame.new(0.55273962, -1.8331666, -0.853646398, 0.994906187, -2.04518437e-006, 0.100805953, 0.0784842819, 0.627576351, -0.774589181, -0.0632617697, 0.778555214, 0.624379694) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1084. CFrame.new(-0.663739324, -1.72484899, -0.279409111, 0.936938882, 0.336636096, -0.0939244553, -0.32966578, 0.762038469, -0.557331204, -0.116043702, 0.553148985, 0.824960768) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1085. }, .05, false)
  1086. end
  1087. for i = 0, 5, 0.1 do
  1088. swait()
  1089. PlayAnimationFromTable({
  1090. CFrame.new(0, -0.0442145504, -0.205582842, 1, 0, 0, 0, 0.911569417, 0.411146224, 0, -0.411146194, 0.911569417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1091. CFrame.new(0, 1.446419, -0.149725705, 1, 0, 0, 0, 0.941553891, 0.336862653, 0, -0.336862624, 0.94155395) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1092. CFrame.new(1.62312984, 0.0405562371, -0.126877204, 0.987515867, -0.155472979, 0.0253103133, 0.157519713, 0.974684954, -0.158671856, -3.94880772e-007, 0.160677835, 0.987006903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1093. CFrame.new(-1.62933123, 0.039488472, -0.0764760524, 0.982997239, 0.18362084, -1.8598115e-008, -0.180242166, 0.964909732, -0.190950453, -0.0350624695, 0.187703788, 0.981599748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1094. CFrame.new(0.50331378, -2.03031564, -0.386381626, 0.994077384, -0.100885771, 0.0404032469, 0.108675495, 0.922825038, -0.369572222, -5.43892384e-007, 0.371774226, 0.92832315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1095. CFrame.new(-0.610246539, -1.9785527, -0.533763826, 0.991280973, 0.13176541, 7.16808756e-007, -0.118788213, 0.893654883, -0.432747513, -0.057021793, 0.428974301, 0.901515245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1096. }, .05, false)
  1097. end
  1098. for i = 0, 2 do
  1099. for i = 0, 1, 0.1 do
  1100. swait()
  1101. PlayAnimationFromTable({
  1102. CFrame.new(0, -0.0442145504, -0.205582842, 1, 0, 0, 0, 0.911569417, 0.411146224, 0, -0.411146194, 0.911569417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1103. CFrame.new(5.51342964e-007, 1.44641995, -0.149724424, 0.782274365, -6.99407749e-008, -0.622934043, 0.209844083, 0.941553354, 0.263520032, 0.586525559, -0.336863965, 0.736553073) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1104. CFrame.new(1.62312984, 0.0405562371, -0.126877204, 0.987515867, -0.155472979, 0.0253103133, 0.157519713, 0.974684954, -0.158671856, -3.94880772e-007, 0.160677835, 0.987006903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1105. CFrame.new(-1.62933123, 0.039488472, -0.0764760524, 0.982997239, 0.18362084, -1.8598115e-008, -0.180242166, 0.964909732, -0.190950453, -0.0350624695, 0.187703788, 0.981599748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1106. CFrame.new(0.50331378, -2.03031564, -0.386381626, 0.994077384, -0.100885771, 0.0404032469, 0.108675495, 0.922825038, -0.369572222, -5.43892384e-007, 0.371774226, 0.92832315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1107. CFrame.new(-0.610246539, -1.9785527, -0.533763826, 0.991280973, 0.13176541, 7.16808756e-007, -0.118788213, 0.893654883, -0.432747513, -0.057021793, 0.428974301, 0.901515245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1108. }, .3, false)
  1109. end
  1110. for i = 0, 1, 0.1 do
  1111. swait()
  1112. PlayAnimationFromTable({
  1113. CFrame.new(0, -0.0442145504, -0.205582842, 1, 0, 0, 0, 0.911569417, 0.411146224, 0, -0.411146194, 0.911569417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1114. CFrame.new(1.78813934e-007, 1.4464184, -0.149724573, 0.864948869, -2.57774872e-007, 0.501860023, -0.169061571, 0.941551089, 0.291375846, -0.472526848, -0.336870432, 0.81439352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1115. CFrame.new(1.62312984, 0.0405562371, -0.126877204, 0.987515867, -0.155472979, 0.0253103133, 0.157519713, 0.974684954, -0.158671856, -3.94880772e-007, 0.160677835, 0.987006903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1116. CFrame.new(-1.62933123, 0.039488472, -0.0764760524, 0.982997239, 0.18362084, -1.8598115e-008, -0.180242166, 0.964909732, -0.190950453, -0.0350624695, 0.187703788, 0.981599748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1117. CFrame.new(0.50331378, -2.03031564, -0.386381626, 0.994077384, -0.100885771, 0.0404032469, 0.108675495, 0.922825038, -0.369572222, -5.43892384e-007, 0.371774226, 0.92832315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1118. CFrame.new(-0.610246539, -1.9785527, -0.533763826, 0.991280973, 0.13176541, 7.16808756e-007, -0.118788213, 0.893654883, -0.432747513, -0.057021793, 0.428974301, 0.901515245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1119. }, .3, false)
  1120. end
  1121. end
  1122. Humanoid.WalkSpeed = 16
  1123. Humanoid.JumpPower = 50
  1124. attack = false
  1125. end
  1126. criufkinbastard()
  1127. Mouse.Button1Down:connect(function()
  1128. if attack == false and attacktype == 1 then
  1129. attackone()
  1130. end
  1131. end)
  1132.  
  1133. Mouse.KeyDown:connect(function(k)
  1134. k = k:lower()
  1135. if attack == false and k == 'z' then
  1136. spamrein()
  1137. elseif attack == false and k == 'x' then
  1138. spamspin()
  1139. end
  1140. end)
  1141.  
  1142. while true do
  1143. swait()
  1144. for i, v in pairs(Character:GetChildren()) do
  1145. if v:IsA("Part") then
  1146. v.Material = "SmoothPlastic"
  1147. elseif v:IsA("Accessory") then
  1148. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1149. end
  1150. end
  1151. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1152. velocity = RootPart.Velocity.y
  1153. sine = sine + change
  1154. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1155. if RootPart.Velocity.y > 1 and hit == nil then
  1156. Anim = "Jump"
  1157. if attack == false then
  1158. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1159. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1160. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1161. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1162. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1163. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1164. end
  1165. elseif RootPart.Velocity.y < -1 and hit == nil then
  1166. Anim = "Fall"
  1167. if attack == false then
  1168. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1169. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1170. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1171. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1172. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1173. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1174. end
  1175. elseif Torsovelocity < 1 and hit ~= nil then
  1176. Anim = "Idle"
  1177. if attack == false then
  1178. change = 1
  1179. PlayAnimationFromTable({
  1180. CFrame.new(0, -0.00887098443, -0.0937612727, 1, 0, 0, 0, 0.982259452, 0.18752709, 0, -0.18752709, 0.982259452) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1181. CFrame.new(0, 1.53825808, -0.0745411664, 1, 0, 0, 0, 0.982847154, 0.184422195, 0, -0.184422195, 0.982847154) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0+ 0.02 * math.cos((sine) / 45)),
  1182. CFrame.new(1.58500147, 0.0840085745, -4.23921301e-006, 0.988930881, -0.148377314, 2.86626602e-007, 0.148377329, 0.988930821, -3.42726707e-007, -2.32830644e-007, 3.7252903e-007, 1) * CFrame.new(0, 0+ 0.03 * math.cos((sine) / 35), 0) * CFrame.Angles(0+ 0.04 * math.cos((sine) / 35), 0, 0),
  1183. CFrame.new(-1.59969079, 0.0581852607, 0.00147094927, 0.98752898, 0.15742676, 0.00183918548, -0.157437503, 0.987461925, 0.01151824, -2.84425914e-006, -0.011664167, 0.999932051) * CFrame.new(0, 0+ 0.03 * math.cos((sine) / 35), 0) * CFrame.Angles(0+ 0.04 * math.cos((sine) / 35), 0, 0),
  1184. CFrame.new(0.609301865, -2.01351237, -0.193993554, 0.993222535, -0.0876774415, -0.0762994736, 0.0721344054, 0.979739249, -0.186836153, 0.0911348984, 0.180066094, 0.979423642) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1185. CFrame.new(-0.52007699, -1.94294918, -0.261722565, 0.997069001, 0.0162452944, 0.0747634321, 1.35414302e-006, 0.977193356, -0.212351725, -0.0765080377, 0.211729422, 0.974329174) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1186. }, .3, false)
  1187.  
  1188. end
  1189. elseif Torsovelocity > 2 and hit ~= nil then
  1190. Anim = "Walk"
  1191. if attack == false then
  1192. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1193. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1194. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1195. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1196. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1197. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1198. end
  1199. end
  1200. if 0 < #Effects then
  1201. for e = 1, #Effects do
  1202. if Effects[e] ~= nil then
  1203. local Thing = Effects[e]
  1204. if Thing ~= nil then
  1205. local Part = Thing[1]
  1206. local Mode = Thing[2]
  1207. local Delay = Thing[3]
  1208. local IncX = Thing[4]
  1209. local IncY = Thing[5]
  1210. local IncZ = Thing[6]
  1211. if Thing[2] == "Shoot" then
  1212. local Look = Thing[1]
  1213. local move = 30
  1214. if Thing[8] == 3 then
  1215. move = 10
  1216. end
  1217. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1218. if Thing[10] ~= nil then
  1219. da = pos
  1220. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1221. cfa = CFrame.new(Thing[4], pos)
  1222. tehCF = cfa:lerp(cf2, 0.2)
  1223. Thing[1] = tehCF.lookVector
  1224. end
  1225. local mag = (Thing[4] - pos).magnitude
  1226. Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1227. if Thing[8] == 2 then
  1228. Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  1229. end
  1230. Thing[4] = Thing[4] + Look * move
  1231. Thing[3] = Thing[3] - 1
  1232. if 2 < Thing[5] then
  1233. Thing[5] = Thing[5] - 0.3
  1234. Thing[6] = Thing[6] - 0.3
  1235. end
  1236. if hit ~= nil then
  1237. Thing[3] = 0
  1238. if Thing[8] == 1 or Thing[8] == 3 then
  1239. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1240. else
  1241. if Thing[8] == 2 then
  1242. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1243. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  1244. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1245. ref.Anchored = true
  1246. ref.CFrame = CFrame.new(pos)
  1247. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1248. game:GetService("Debris"):AddItem(ref, 0.2)
  1249. Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  1250. Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  1251. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1252. end
  1253. end
  1254. end
  1255. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1256. ref.Anchored = true
  1257. ref.CFrame = CFrame.new(pos)
  1258. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1259. game:GetService("Debris"):AddItem(ref, 1)
  1260. end
  1261. if Thing[3] <= 0 then
  1262. table.remove(Effects, e)
  1263. end
  1264. end
  1265. do
  1266. do
  1267. if Thing[2] == "FireWave" then
  1268. if Thing[3] <= Thing[4] then
  1269. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1270. Thing[3] = Thing[3] + 1
  1271. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1272. else
  1273. Part.Parent = nil
  1274. table.remove(Effects, e)
  1275. end
  1276. end
  1277. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1278. if Thing[1].Transparency <= 1 then
  1279. if Thing[2] == "Block1" then
  1280. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1281. Mesh = Thing[7]
  1282. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1283. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1284. else
  1285. if Thing[2] == "Block2" then
  1286. Thing[1].CFrame = Thing[1].CFrame
  1287. Mesh = Thing[7]
  1288. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1289. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1290. else
  1291. if Thing[2] == "Fire" then
  1292. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1293. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1294. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1295. else
  1296. if Thing[2] == "Cylinder" then
  1297. Mesh = Thing[7]
  1298. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1299. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1300. else
  1301. if Thing[2] == "Blood" then
  1302. Mesh = Thing[7]
  1303. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1304. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1305. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1306. else
  1307. if Thing[2] == "Elec" then
  1308. Mesh = Thing[10]
  1309. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1310. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1311. else
  1312. if Thing[2] == "Disappear" then
  1313. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1314. end
  1315. end
  1316. end
  1317. end
  1318. end
  1319. end
  1320. end
  1321. else
  1322. Part.Parent = nil
  1323. table.remove(Effects, e)
  1324. end
  1325. end
  1326. end
  1327. end
  1328. end
  1329. end
  1330. end
  1331. end
  1332. end
Add Comment
Please, Sign In to add comment