Advertisement
cobblecorn

Untitled

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