Advertisement
Guest User

SURRA DE PIMBA

a guest
Sep 23rd, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.87 KB | None | 0 0
  1. wait(1 / 60)
  2. Effects = { }
  3. local Player = game.Players.localPlayer
  4. local Character = Player.Character
  5. local Humanoid = Character.Humanoid
  6. local Mouse = Player:GetMouse()
  7. local LeftArm = Character["Left Arm"]
  8. local RightArm = Character["Right Arm"]
  9. local LeftLeg = Character["Left Leg"]
  10. local RightLeg = Character["Right Leg"]
  11. local Head = Character.Head
  12. local Torso = Character.Torso
  13. local Camera = game.Workspace.CurrentCamera
  14. local RootPart = Character.HumanoidRootPart
  15. local RootJoint = RootPart.RootJoint
  16. local attack = false
  17. local Anim = 'Idle'
  18. local attacktype = 1
  19. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  20. local velocity = RootPart.Velocity.y
  21. local sine = 0
  22. local change = 1
  23. local Create = LoadLibrary("RbxUtility").Create
  24. local m = Create("Model"){
  25. Parent = Character,
  26. Name = "WeaponModel",
  27. }
  28.  
  29. Humanoid.Animator.Parent = nil
  30. Character.Animate.Parent = nil
  31.  
  32. local newMotor = function(part0, part1, c0, c1)
  33. local w = Create('Motor'){
  34. Parent = part0,
  35. Part0 = part0,
  36. Part1 = part1,
  37. C0 = c0,
  38. C1 = c1,
  39. }
  40. return w
  41. end
  42.  
  43. function clerp(a, b, t)
  44. return a:lerp(b, t)
  45. end
  46.  
  47. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  48. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  49.  
  50. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  51. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  52. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  53. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  54. RootJoint.C1 = CFrame.new(0, 0, 0)
  55. RootJoint.C0 = CFrame.new(0, 0, 0)
  56. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  57. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  58.  
  59. local rarmc1 = RW.C1
  60. local larmc1 = LW.C1
  61. local rlegc1 = RH.C1
  62. local llegc1 = LH.C1
  63.  
  64. local resetc1 = false
  65.  
  66. function PlayAnimationFromTable(table, speed, bool)
  67. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  68. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  69. RW.C0 = clerp(RW.C0, table[3], speed)
  70. LW.C0 = clerp(LW.C0, table[4], speed)
  71. RH.C0 = clerp(RH.C0, table[5], speed)
  72. LH.C0 = clerp(LH.C0, table[6], speed)
  73. if bool == true then
  74. if resetc1 == false then
  75. resetc1 = true
  76. RootJoint.C1 = RootJoint.C1
  77. Torso.Neck.C1 = Torso.Neck.C1
  78. RW.C1 = rarmc1
  79. LW.C1 = larmc1
  80. RH.C1 = rlegc1
  81. LH.C1 = llegc1
  82. end
  83. end
  84. end
  85.  
  86. ArtificialHB = Create("BindableEvent", script){
  87. Parent = script,
  88. Name = "Heartbeat",
  89. }
  90.  
  91. script:WaitForChild("Heartbeat")
  92.  
  93. frame = 1 / 30
  94. tf = 0
  95. allowframeloss = false
  96. tossremainder = false
  97. lastframe = tick()
  98. script.Heartbeat:Fire()
  99.  
  100. game:GetService("RunService").Heartbeat:connect(function(s, p)
  101. tf = tf + s
  102. if tf >= frame then
  103. if allowframeloss then
  104. script.Heartbeat:Fire()
  105. lastframe = tick()
  106. else
  107. for i = 1, math.floor(tf / frame) do
  108. script.Heartbeat:Fire()
  109. end
  110. lastframe = tick()
  111. end
  112. if tossremainder then
  113. tf = 0
  114. else
  115. tf = tf - frame * math.floor(tf / frame)
  116. end
  117. end
  118. end)
  119.  
  120. function swait(num)
  121. if num == 0 or num == nil then
  122. ArtificialHB.Event:wait()
  123. else
  124. for i = 0, num do
  125. ArtificialHB.Event:wait()
  126. end
  127. end
  128. end
  129.  
  130. function RemoveOutlines(part)
  131. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  132. end
  133.  
  134. CFuncs = {
  135. Part = {
  136. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  137. local Part = Create("Part"){
  138. Parent = Parent,
  139. Reflectance = Reflectance,
  140. Transparency = Transparency,
  141. CanCollide = false,
  142. Locked = true,
  143. BrickColor = BrickColor.new(tostring(BColor)),
  144. Name = Name,
  145. Size = Size,
  146. Material = Material,
  147. }
  148. RemoveOutlines(Part)
  149. return Part
  150. end;
  151. };
  152.  
  153. Mesh = {
  154. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  155. local Msh = Create(Mesh){
  156. Parent = Part,
  157. Offset = OffSet,
  158. Scale = Scale,
  159. }
  160. if Mesh == "SpecialMesh" then
  161. Msh.MeshType = MeshType
  162. Msh.MeshId = MeshId
  163. end
  164. return Msh
  165. end;
  166. };
  167.  
  168. Weld = {
  169. Create = function(Parent, Part0, Part1, C0, C1)
  170. local Weld = Create("Weld"){
  171. Parent = Parent,
  172. Part0 = Part0,
  173. Part1 = Part1,
  174. C0 = C0,
  175. C1 = C1,
  176. }
  177. return Weld
  178. end;
  179. };
  180.  
  181. Sound = {
  182. Create = function(id, par, vol, pit)
  183. coroutine.resume(coroutine.create(function()
  184. local Sound = Create("Sound"){
  185. Volume = vol,
  186. Pitch = pit or 1,
  187. SoundId = "rbxassetid://" .. id,
  188. Parent = par or workspace,
  189. }
  190. Sound:play()
  191. game:GetService("Debris"):AddItem(Sound, 10)
  192. end))
  193. end;
  194. };
  195.  
  196. Decal = {
  197. Create = function(Color, Texture, Transparency, Name, Parent)
  198. local Decal = Create("Decal"){
  199. Color3 = Color,
  200. Texture = "rbxassetid://" .. Texture,
  201. Transparency = Transparency,
  202. Name = Name,
  203. Parent = Parent,
  204. }
  205. return Decal
  206. end;
  207. };
  208.  
  209. BillboardGui = {
  210. Create = function(Parent, Image, Position, Size)
  211. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  212. BillPar.CFrame = CFrame.new(Position)
  213. local Bill = Create("BillboardGui"){
  214. Parent = BillPar,
  215. Adornee = BillPar,
  216. Size = UDim2.new(1, 0, 1, 0),
  217. SizeOffset = Vector2.new(Size, Size),
  218. }
  219. local d = Create("ImageLabel", Bill){
  220. Parent = Bill,
  221. BackgroundTransparency = 1,
  222. Size = UDim2.new(1, 0, 1, 0),
  223. Image = "rbxassetid://" .. Image,
  224. }
  225. return BillPar
  226. end
  227. };
  228.  
  229. ParticleEmitter = {
  230. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  231. local Particle = Create("ParticleEmitter"){
  232. Parent = Parent,
  233. Color = ColorSequence.new(Color1, Color2),
  234. LightEmission = LightEmission,
  235. Size = Size,
  236. Texture = Texture,
  237. Transparency = Transparency,
  238. ZOffset = ZOffset,
  239. Acceleration = Accel,
  240. Drag = Drag,
  241. LockedToPart = LockedToPart,
  242. VelocityInheritance = VelocityInheritance,
  243. EmissionDirection = EmissionDirection,
  244. Enabled = Enabled,
  245. Lifetime = LifeTime,
  246. Rate = Rate,
  247. Rotation = Rotation,
  248. RotSpeed = RotSpeed,
  249. Speed = Speed,
  250. VelocitySpread = VelocitySpread,
  251. }
  252. return Particle
  253. end;
  254. };
  255.  
  256. CreateTemplate = {
  257.  
  258. };
  259. }
  260.  
  261. function rayCast(Position, Direction, Range, Ignore)
  262. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  263. end
  264.  
  265. FindNearestTorso = function(pos)
  266. local list = (game.Workspace:children())
  267. local torso = nil
  268. local dist = 1000
  269. local temp, human, temp2 = nil, nil, nil
  270. for x = 1, #list do
  271. temp2 = list[x]
  272. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  273. temp = temp2:findFirstChild("Torso")
  274. human = temp2:findFirstChild("Humanoid")
  275. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  276. local dohit = true
  277. if dohit == true then
  278. torso = temp
  279. dist = (temp.Position - pos).magnitude
  280. end
  281. end
  282. end
  283. end
  284. return torso, dist
  285. end
  286.  
  287. --title--
  288. local txt = Instance.new("BillboardGui", game.Players.LocalPlayer.Character)
  289. txt.Adornee = game.Players.LocalPlayer.Character.Head
  290. txt.Name = "_status"
  291. txt.Size = UDim2.new(2, 0, 1.2, 0)
  292. txt.StudsOffset = Vector3.new(-9, 8, 0)
  293. local text = Instance.new("TextLabel", txt)
  294. text.Size = UDim2.new(10, 0, 7, 0)
  295. text.FontSize = "Size24"
  296. text.TextScaled = true
  297. text.TextTransparency = 1
  298. text.BackgroundTransparency = 1
  299. text.TextStrokeTransparency = 1
  300. text.Font = "Arial"
  301. text.TextStrokeColor3 = Color3.new(1,1,1)
  302.  
  303. v=Instance.new("Part")
  304. v.Name = "ColorBrick"
  305. v.Parent= game.Players.LocalPlayer.Character
  306. v.FormFactor="Symmetric"
  307. v.Anchored=true
  308. v.CanCollide=false
  309. v.BottomSurface="Smooth"
  310. v.TopSurface="Smooth"
  311. v.Size=Vector3.new(3,1.5,1)
  312. v.Transparency=1
  313. v.CFrame=game.Players.LocalPlayer.Character.Torso.CFrame
  314. v.BrickColor=BrickColor.new("Hot Pink")
  315. v.Transparency=1
  316. text.TextColor3 = Color3.new(255, 0, 0)
  317. v.Shape="Block"
  318. text.Text = "Jake Paul"
  319. while wait() and text and text.TextTransparency >= 0 do
  320. text.TextStrokeTransparency = text.TextStrokeTransparency - .05
  321. text.TextTransparency = text.TextTransparency - .05
  322. end
  323. wait(1)
  324. text.Text = "Its Everyday Bro!"
  325. while wait() and text and text.TextTransparency <= 1 do
  326. text.TextStrokeTransparency = text.TextStrokeTransparency + .05
  327. text.TextTransparency = text.TextTransparency + .05
  328. end
  329.  
  330. text.Text = "Jake Paul"
  331.  
  332. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  333. if hit.Parent == nil then
  334. return
  335. end
  336. local h = hit.Parent:FindFirstChild("Humanoid")
  337. for _, v in pairs(hit.Parent:children()) do
  338. if v:IsA("Humanoid") then
  339. h = v
  340. end
  341. end
  342. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  343. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  344. if hit.Parent.DebounceHit.Value == true then
  345. return
  346. end
  347. end
  348. local c = Create("ObjectValue"){
  349. Name = "creator",
  350. Value = game:service("Players").LocalPlayer,
  351. Parent = h,
  352. }
  353. game:GetService("Debris"):AddItem(c, .5)
  354. if HitSound ~= nil and HitPitch ~= nil then
  355. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  356. end
  357. local Damage = math.random(minim, maxim)
  358. local blocked = false
  359. local block = hit.Parent:findFirstChild("Block")
  360. if block ~= nil then
  361. if block.className == "IntValue" then
  362. if block.Value > 0 then
  363. blocked = true
  364. block.Value = block.Value - 1
  365. print(block.Value)
  366. end
  367. end
  368. end
  369. if blocked == false then
  370. h.Health = h.Health - Damage
  371. 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)
  372. else
  373. h.Health = h.Health - (Damage / 2)
  374. 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)
  375. end
  376. if Type == "Knockdown" then
  377. local hum = hit.Parent.Humanoid
  378. hum.PlatformStand = true
  379. coroutine.resume(coroutine.create(function(HHumanoid)
  380. swait(1)
  381. HHumanoid.PlatformStand = false
  382. end), hum)
  383. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  384. local bodvol = Create("BodyVelocity"){
  385. velocity = angle * knockback,
  386. P = 5000,
  387. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  388. Parent = hit,
  389. }
  390. local rl = Create("BodyAngularVelocity"){
  391. P = 3000,
  392. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  393. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  394. Parent = hit,
  395. }
  396. game:GetService("Debris"):AddItem(bodvol, .5)
  397. game:GetService("Debris"):AddItem(rl, .5)
  398. elseif Type == "Normal" then
  399. local vp = Create("BodyVelocity"){
  400. P = 500,
  401. maxForce = Vector3.new(math.huge, 0, math.huge),
  402. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  403. }
  404. if knockback > 0 then
  405. vp.Parent = hit.Parent.Torso
  406. end
  407. game:GetService("Debris"):AddItem(vp, .5)
  408. elseif Type == "Up" then
  409. local bodyVelocity = Create("BodyVelocity"){
  410. velocity = Vector3.new(0, 20, 0),
  411. P = 5000,
  412. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  413. Parent = hit,
  414. }
  415. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  416. elseif Type == "DarkUp" then
  417. coroutine.resume(coroutine.create(function()
  418. for i = 0, 1, 0.1 do
  419. swait()
  420. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  421. end
  422. end))
  423. local bodyVelocity = Create("BodyVelocity"){
  424. velocity = Vector3.new(0, 20, 0),
  425. P = 5000,
  426. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  427. Parent = hit,
  428. }
  429. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  430. elseif Type == "Snare" then
  431. local bp = Create("BodyPosition"){
  432. P = 2000,
  433. D = 100,
  434. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  435. position = hit.Parent.Torso.Position,
  436. Parent = hit.Parent.Torso,
  437. }
  438. game:GetService("Debris"):AddItem(bp, 1)
  439. elseif Type == "Freeze" then
  440. local BodPos = Create("BodyPosition"){
  441. P = 50000,
  442. D = 1000,
  443. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  444. position = hit.Parent.Torso.Position,
  445. Parent = hit.Parent.Torso,
  446. }
  447. local BodGy = Create("BodyGyro") {
  448. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  449. P = 20e+003,
  450. Parent = hit.Parent.Torso,
  451. cframe = hit.Parent.Torso.CFrame,
  452. }
  453. hit.Parent.Torso.Anchored = true
  454. coroutine.resume(coroutine.create(function(Part)
  455. swait(1.5)
  456. Part.Anchored = false
  457. end), hit.Parent.Torso)
  458. game:GetService("Debris"):AddItem(BodPos, 3)
  459. game:GetService("Debris"):AddItem(BodGy, 3)
  460. end
  461. local debounce = Create("BoolValue"){
  462. Name = "DebounceHit",
  463. Parent = hit.Parent,
  464. Value = true,
  465. }
  466. game:GetService("Debris"):AddItem(debounce, Delay)
  467. c = Create("ObjectValue"){
  468. Name = "creator",
  469. Value = Player,
  470. Parent = h,
  471. }
  472. game:GetService("Debris"):AddItem(c, .5)
  473. end
  474. end
  475.  
  476. function ShowDamage(Pos, Text, Time, Color)
  477. local Rate = (1 / 30)
  478. local Pos = (Pos or Vector3.new(0, 0, 0))
  479. local Text = (Text or "")
  480. local Time = (Time or 2)
  481. local Color = (Color or Color3.new(1, 0, 1))
  482. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  483. EffectPart.Anchored = true
  484. local BillboardGui = Create("BillboardGui"){
  485. Size = UDim2.new(3, 0, 3, 0),
  486. Adornee = EffectPart,
  487. Parent = EffectPart,
  488. }
  489. local TextLabel = Create("TextLabel"){
  490. BackgroundTransparency = 1,
  491. Size = UDim2.new(1, 0, 1, 0),
  492. Text = Text,
  493. Font = "SciFi",
  494. TextColor3 = Color,
  495. TextScaled = true,
  496. Parent = BillboardGui,
  497. }
  498. game.Debris:AddItem(EffectPart, (Time))
  499. EffectPart.Parent = game:GetService("Workspace")
  500. delay(0, function()
  501. local Frames = (Time / Rate)
  502. for Frame = 1, Frames do
  503. wait(Rate)
  504. local Percent = (Frame / Frames)
  505. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  506. TextLabel.TextTransparency = Percent
  507. end
  508. if EffectPart and EffectPart.Parent then
  509. EffectPart:Destroy()
  510. end
  511. end)
  512. end
  513.  
  514. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  515. for _, c in pairs(workspace:children()) do
  516. local hum = c:findFirstChild("Humanoid")
  517. if hum ~= nil then
  518. local head = c:findFirstChild("Torso")
  519. if head ~= nil then
  520. local targ = head.Position - Part.Position
  521. local mag = targ.magnitude
  522. if mag <= Magnitude and c.Name ~= Player.Name then
  523. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  524. end
  525. end
  526. end
  527. end
  528. end
  529. --hair--
  530. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Medium stone grey","Handle",Vector3.new(1.02999997, 1, 1.66999996))
  531. HandleWeld=CFuncs.Weld.Create(m,Character["Head"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00483179092, -0.347774982, 0.0871901512, 0.996652246, -0.01197627, -0.0809176862, 0.0145273292, 0.99941504, 0.0310117286, 0.0804984123, -0.0320832394, 0.996239007))
  532. sexe = CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=319337852",Vector3.new(0, 0, 0),Vector3.new(0.550000012, 0.550000012, 0.550000012))
  533. sexe.TextureId = "rbxassetid://376189070"
  534.  
  535. EffectModel = Create("Model"){
  536. Parent = Character,
  537. Name = "Effects",
  538. }
  539.  
  540. Effects = {
  541. Block = {
  542. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  543. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  544. prt.Anchored = true
  545. prt.CFrame = cframe
  546. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  547. game:GetService("Debris"):AddItem(prt, 10)
  548. if Type == 1 or Type == nil then
  549. table.insert(Effects, {
  550. prt,
  551. "Block1",
  552. delay,
  553. x3,
  554. y3,
  555. z3,
  556. msh
  557. })
  558. elseif Type == 2 then
  559. table.insert(Effects, {
  560. prt,
  561. "Block2",
  562. delay,
  563. x3,
  564. y3,
  565. z3,
  566. msh
  567. })
  568. end
  569. end;
  570. };
  571.  
  572. Cylinder = {
  573. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  574. local prt = CFuncs.Part..Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  575. prt.Anchored = true
  576. prt.CFrame = cframe
  577. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  578. game:GetService("Debris"):AddItem(prt, 2)
  579. Effects[#Effects + 1] = {
  580. prt,
  581. "Cylinder",
  582. delay,
  583. x3,
  584. y3,
  585. z3
  586. }
  587. end;
  588. };
  589.  
  590. Head = {
  591. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  592. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  593. prt.Anchored = true
  594. prt.CFrame = cframe
  595. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  596. game:GetService("Debris"):AddItem(prt, 10)
  597. table.insert(Effects, {
  598. prt,
  599. "Cylinder",
  600. delay,
  601. x3,
  602. y3,
  603. z3,
  604. msh
  605. })
  606. end;
  607. };
  608.  
  609. Sphere = {
  610. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  611. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  612. prt.Anchored = true
  613. prt.CFrame = cframe
  614. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  615. game:GetService("Debris"):AddItem(prt, 10)
  616. table.insert(Effects, {
  617. prt,
  618. "Cylinder",
  619. delay,
  620. x3,
  621. y3,
  622. z3,
  623. msh
  624. })
  625. end;
  626. };
  627.  
  628. Elect = {
  629. Create = function(cff, x, y, z)
  630. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  631. prt.Anchored = true
  632. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  633. prt.CFrame = CFrame.new(prt.Position)
  634. game:GetService("Debris"):AddItem(prt, 2)
  635. local xval = math.random() / 2
  636. local yval = math.random() / 2
  637. local zval = math.random() / 2
  638. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  639. table.insert(Effects, {
  640. prt,
  641. "Elec",
  642. 0.1,
  643. x,
  644. y,
  645. z,
  646. xval,
  647. yval,
  648. zval
  649. })
  650. end;
  651.  
  652. };
  653.  
  654. Ring = {
  655. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  656. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  657. prt.Anchored = true
  658. prt.CFrame = cframe
  659. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  660. game:GetService("Debris"):AddItem(prt, 10)
  661. table.insert(Effects, {
  662. prt,
  663. "Cylinder",
  664. delay,
  665. x3,
  666. y3,
  667. z3,
  668. msh
  669. })
  670. end;
  671. };
  672.  
  673.  
  674. Wave = {
  675. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  676. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  677. prt.Anchored = true
  678. prt.CFrame = cframe
  679. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  680. game:GetService("Debris"):AddItem(prt, 10)
  681. table.insert(Effects, {
  682. prt,
  683. "Cylinder",
  684. delay,
  685. x3,
  686. y3,
  687. z3,
  688. msh
  689. })
  690. end;
  691. };
  692.  
  693. Break = {
  694. Create = function(brickcolor, cframe, x1, y1, z1)
  695. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  696. prt.Anchored = true
  697. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  698. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  699. local num = math.random(10, 50) / 1000
  700. game:GetService("Debris"):AddItem(prt, 10)
  701. table.insert(Effects, {
  702. prt,
  703. "Shatter",
  704. num,
  705. prt.CFrame,
  706. math.random() - math.random(),
  707. 0,
  708. math.random(50, 100) / 100
  709. })
  710. end;
  711. };
  712.  
  713. Fire = {
  714. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  715. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  716. prt.Anchored = true
  717. prt.CFrame = cframe
  718. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  719. game:GetService("Debris"):AddItem(prt, 10)
  720. table.insert(Effects, {
  721. prt,
  722. "Fire",
  723. delay,
  724. 1,
  725. 1,
  726. 1,
  727. msh
  728. })
  729. end;
  730. };
  731.  
  732. FireWave = {
  733. Create = function(brickcolor, cframe, x1, y1, z1)
  734. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  735. prt.Anchored = true
  736. prt.CFrame = cframe
  737. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  738. local d = Create("Decal"){
  739. Parent = prt,
  740. Texture = "rbxassetid://26356434",
  741. Face = "Top",
  742. }
  743. local d = Create("Decal"){
  744. Parent = prt,
  745. Texture = "rbxassetid://26356434",
  746. Face = "Bottom",
  747. }
  748. game:GetService("Debris"):AddItem(prt, 10)
  749. table.insert(Effects, {
  750. prt,
  751. "FireWave",
  752. 1,
  753. 30,
  754. math.random(400, 600) / 100,
  755. msh
  756. })
  757. end;
  758. };
  759.  
  760. Lightning = {
  761. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  762. local magz = (p0 - p1).magnitude
  763. local curpos = p0
  764. local trz = {
  765. -ofs,
  766. ofs
  767. }
  768. for i = 1, tym do
  769. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  770. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  771. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  772. li.Material = "Neon"
  773. if tym == i then
  774. local magz2 = (curpos - p1).magnitude
  775. li.Size = Vector3.new(th, th, magz2)
  776. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  777. table.insert(Effects, {
  778. li,
  779. "Disappear",
  780. last
  781. })
  782. else
  783. do
  784. do
  785. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  786. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  787. game.Debris:AddItem(li, 10)
  788. table.insert(Effects, {
  789. li,
  790. "Disappear",
  791. last
  792. })
  793. end
  794. end
  795. end
  796. end
  797. end
  798. };
  799.  
  800. EffectTemplate = {
  801.  
  802. };
  803. }
  804.  
  805. function attackone()
  806. attack = true
  807. for i = 0, 1, 0.1 do
  808. swait()
  809. PlayAnimationFromTable({
  810. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  811. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  812. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  813. CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  814. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  815. CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  816. }, .3, false)
  817. end
  818. attack = false
  819. end
  820.  
  821. Mouse.Button1Down:connect(function()
  822. if attack == false and attacktype == 1 then
  823. attackone()
  824. end
  825. end)
  826.  
  827. Mouse.KeyDown:connect(function(k)
  828. k = k:lower()
  829. if attack == false and k == '' then
  830.  
  831. end
  832. end)
  833.  
  834. while true do
  835. swait()
  836. for i, v in pairs(Character:GetChildren()) do
  837. if v:IsA("Part") then
  838. v.Material = "SmoothPlastic"
  839. elseif v:IsA("Accessory") then
  840. v:WaitForChild("Handle").Material = "SmoothPlastic"
  841. end
  842. end
  843. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  844. velocity = RootPart.Velocity.y
  845. sine = sine + change
  846. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  847. if RootPart.Velocity.y > 1 and hit == nil then
  848. Anim = "Jump"
  849. if attack == false then
  850. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  851. 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)
  852. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  853. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  854. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  855. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  856. end
  857. elseif RootPart.Velocity.y < -1 and hit == nil then
  858. Anim = "Fall"
  859. if attack == false then
  860. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  861. 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)
  862. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  863. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  864. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  865. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  866. end
  867. elseif Torsovelocity < 1 and hit ~= nil then
  868. Anim = "Idle"
  869. if attack == false then
  870. change = 1
  871. PlayAnimationFromTable({
  872. CFrame.new(0.00938835554, -0.127741009, -0.297483444, 0.965545833, -0.260233074, 0, 0.260233074, 0.965545833, 0, 0, 0, 1) * CFrame.new(0, -0.1 + .1 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0),
  873. CFrame.new(-0.134548366, 1.4815582, -1.47521496e-06, 0.681023121, -0.269099861, 0.681023419, 0.190282285, 0.963112354, 0.190282404, -0.707106888, -4.59654999e-08, 0.70710665) * CFrame.Angles(math.rad(0 + 1 * math.cos(sine / 20)), 0, 0),
  874. CFrame.new(1.54483283, 0.965605974, -0.513528883, -4.08516279e-08, -0.934576392, -0.35576275, -1.5550885e-08, -0.35576275, 0.934576392, -1, 4.37113883e-08, -5.21253064e-16) * CFrame.new(0, 0, 0 - 0.1 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0),
  875. CFrame.new(-0.405572712, 0.939734459, -0.756649017, 1.18049943e-08, -0.989946544, 0.141441792, 1.6866768e-09, -0.141441792, -0.989946544, 1, 1.19248806e-08, 1.42202776e-16) * CFrame.new(0, 0, 0) * CFrame.new(0, 0, 0 - 0.1 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0),
  876. CFrame.new(0.384900182, -1.88056171, 0.158604026, 0.967612922, 0.20747745, -0.143799081, -0.142965436, 0.919877291, 0.36522159, 0.208052754, -0.33283487, 0.919747233) * CFrame.new(0, 0, 0) * CFrame.new(0 - 0.01 * math.cos(sine / 20), 0 - .1 * math.cos(sine / 20), 0) * CFrame.Angles(0 + 0.02 * math.cos(sine / 20), 0, 0 - 0.01 * math.cos(sine / 20)),
  877. CFrame.new(-0.735394597, -1.06670105, -0.292001575, 0.744190753, 0.0321795344, 0.667191684, -0.240873158, 0.944563568, 0.223114178, -0.62302506, -0.326748013, 0.710686624) * CFrame.new(0 + 0.01 * math.cos(sine / 20), 0 - .1 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.02 * math.cos(sine / 20), 0, 0 + 0.01 * math.cos(sine / 20)),
  878. }, .1, false)
  879. end
  880. elseif Torsovelocity > 2 and hit ~= nil then
  881. Anim = "Walk"
  882. if attack == false then
  883.  
  884. PlayAnimationFromTable({
  885. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0),
  886. CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  887. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  888. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  889. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  890. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  891. }, 0.1, false)
  892. end
  893. end
  894. if 0 < #Effects then
  895. for e = 1, #Effects do
  896. if Effects[e] ~= nil then
  897. local Thing = Effects[e]
  898. if Thing ~= nil then
  899. local Part = Thing[1]
  900. local Mode = Thing[2]
  901. local Delay = Thing[3]
  902. local IncX = Thing[4]
  903. local IncY = Thing[5]
  904. local IncZ = Thing[6]
  905. if Thing[2] == "Shoot" then
  906. local Look = Thing[1]
  907. local move = 30
  908. if Thing[8] == 3 then
  909. move = 10
  910. end
  911. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  912. if Thing[10] ~= nil then
  913. da = pos
  914. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  915. cfa = CFrame.new(Thing[4], pos)
  916. tehCF = cfa:lerp(cf2, 0.2)
  917. Thing[1] = tehCF.lookVector
  918. end
  919. local mag = (Thing[4] - pos).magnitude
  920. 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)
  921. if Thing[8] == 2 then
  922. 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)
  923. end
  924. Thing[4] = Thing[4] + Look * move
  925. Thing[3] = Thing[3] - 1
  926. if 2 < Thing[5] then
  927. Thing[5] = Thing[5] - 0.3
  928. Thing[6] = Thing[6] - 0.3
  929. end
  930. if hit ~= nil then
  931. Thing[3] = 0
  932. if Thing[8] == 1 or Thing[8] == 3 then
  933. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  934. else
  935. if Thing[8] == 2 then
  936. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  937. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  938. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  939. ref.Anchored = true
  940. ref.CFrame = CFrame.new(pos)
  941. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  942. game:GetService("Debris"):AddItem(ref, 0.2)
  943. 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)
  944. 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)
  945. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  946. end
  947. end
  948. end
  949. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  950. ref.Anchored = true
  951. ref.CFrame = CFrame.new(pos)
  952. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  953. game:GetService("Debris"):AddItem(ref, 1)
  954. end
  955. if Thing[3] <= 0 then
  956. table.remove(Effects, e)
  957. end
  958. end
  959. do
  960. do
  961. if Thing[2] == "FireWave" then
  962. if Thing[3] <= Thing[4] then
  963. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  964. Thing[3] = Thing[3] + 1
  965. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  966. else
  967. Part.Parent = nil
  968. table.remove(Effects, e)
  969. end
  970. end
  971. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  972. if Thing[1].Transparency <= 1 then
  973. if Thing[2] == "Block1" then
  974. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  975. Mesh = Thing[7]
  976. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  977. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  978. else
  979. if Thing[2] == "Block2" then
  980. Thing[1].CFrame = Thing[1].CFrame
  981. Mesh = Thing[7]
  982. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  983. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  984. else
  985. if Thing[2] == "Fire" then
  986. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  987. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  988. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  989. else
  990. if Thing[2] == "Cylinder" then
  991. Mesh = Thing[7]
  992. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  993. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  994. else
  995. if Thing[2] == "Blood" then
  996. Mesh = Thing[7]
  997. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  998. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  999. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1000. else
  1001. if Thing[2] == "Elec" then
  1002. Mesh = Thing[10]
  1003. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1004. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1005. else
  1006. if Thing[2] == "Disappear" then
  1007. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1008. end
  1009. end
  1010. end
  1011. end
  1012. end
  1013. end
  1014. end
  1015. else
  1016. Part.Parent = nil
  1017. table.remove(Effects, e)
  1018. end
  1019. end
  1020. end
  1021. end
  1022. end
  1023. end
  1024. end
  1025. end
  1026. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement