DontAskme

jake paul god no

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