Robert666121

Untitled

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