Advertisement
kikot

speedy

Jun 13th, 2018
607
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 125.86 KB | None | 0 0
  1. for i, v in pairs(game.Players.LocalPlayer.Backpack:children()) do
  2. if v.className == "HopperBin" and v.Name == "PPATTA's Trap Script" then
  3. v:Destroy()
  4. end
  5. end
  6.  
  7. local player = game:service("Players").LocalPlayer
  8. local mouse = player:GetMouse()
  9. local char = player.Character
  10. local Torsoz = char:findFirstChild("Torso")
  11. local RA = char:findFirstChild("Right Arm")
  12. local LA = char:findFirstChild("Left Arm")
  13. local RL = char:findFirstChild("Right Leg")
  14. local LL = char:findFirstChild("Left Leg")
  15. local H = char:findFirstChild("Head")
  16. local RS = Torsoz:findFirstChild("Right Shoulder")
  17. local LS = Torsoz:findFirstChild("Left Shoulder")
  18. local RH = Torsoz:findFirstChild("Right Hip")
  19. local LH = Torsoz:findFirstChild("Left Hip")
  20. local N = Torsoz:findFirstChild("Neck")
  21. local NV = Vector3.new()
  22. local Main
  23. local Traps = {}
  24. local Projectiles = {}
  25. local Bolts = {}
  26.  
  27. local bin = Instance.new("HopperBin")
  28. bin.Name = "PPATTA's Trap Script"
  29. bin.Parent = player.Backpack
  30.  
  31. local P = Instance.new("Part")
  32. P.Anchored = false
  33. P.CanCollide = false
  34. P.Name = "Part"
  35. P.formFactor = "Custom"
  36. P.Size = Vector3.new(0.2,0.2,0.2)
  37. P.BrickColor = BrickColor.new("Black")
  38. P.Locked = true
  39. P.TopSurface = 10
  40. P.BottomSurface = 10
  41. P.FrontSurface = 10
  42. P.BackSurface = 10
  43. P.LeftSurface = 10
  44. P.RightSurface = 10
  45.  
  46. local AnimJoints = {}
  47.  
  48. function GetWeld(weld)
  49. local obj
  50. for i, v in pairs(AnimJoints) do
  51. if v[1] == weld then
  52. obj = v
  53. break
  54. end
  55. end
  56. if not obj then
  57. obj = {weld,NV}
  58. table.insert(AnimJoints,obj)
  59. end
  60. return weld.C0.p, obj[2]
  61. end
  62.  
  63. function SetWeld(weld, i, loops, origpos,origangle, nextpos,nextangle,smooth)
  64. smooth = smooth or 1
  65. local obj
  66. for i, v in pairs(AnimJoints) do
  67. if v[1] == weld then
  68. obj = v
  69. break
  70. end
  71. end
  72. if not obj then
  73. obj = {weld,NV}
  74. table.insert(AnimJoints,obj)
  75. end
  76.  
  77. local perc = (smooth == 1 and math.sin((math.pi/2)/loops*i)) or i/loops
  78.  
  79. local tox,toy,toz = 0,0,0
  80. tox = math.abs(origangle.x - nextangle.x) *perc
  81. toy = math.abs(origangle.y - nextangle.y) *perc
  82. toz = math.abs(origangle.z - nextangle.z) *perc
  83. tox = (origangle.x > nextangle.x and -tox) or tox
  84. toy = (origangle.y > nextangle.y and -toy) or toy
  85. toz = (origangle.z > nextangle.z and -toz) or toz
  86.  
  87. local tox2,toy2,toz2 = 0,0,0
  88. tox2 = math.abs(origpos.x - nextpos.x) *perc
  89. toy2 = math.abs(origpos.y - nextpos.y) *perc
  90. toz2 = math.abs(origpos.z - nextpos.z) *perc
  91. tox2 = (origpos.x > nextpos.x and -tox2) or tox2
  92. toy2 = (origpos.y > nextpos.y and -toy2) or toy2
  93. toz2 = (origpos.z > nextpos.z and -toz2) or toz2
  94.  
  95. obj[2] = Vector3.new(origangle.x + tox, origangle.y + toy, origangle.z + toz)
  96. weld.C0 = CFrame.new(origpos.x + tox2,origpos.y + toy2,origpos.z + toz2) * CFrame.Angles(origangle.x + tox,origangle.y + toy,origangle.z + toz)
  97. end
  98.  
  99. function RAY(pos, dir, collidedlist, startpos, endpos, distleft)
  100. collidedlist = collidedlist or {char}
  101. startpos = startpos or pos
  102. distleft = distleft or dir.unit * dir.magnitude
  103. endpos = endpos or pos + distleft
  104. local ray = Ray.new(pos, distleft)
  105. local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
  106. if hitz ~= nil and not hitz.Parent:findFirstChild("Humanoid") then
  107. if hitz.CanCollide == false then
  108. table.insert(collidedlist, hitz)
  109. local newpos = enz
  110. local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
  111. if newdistleft ~= NV then
  112. return RAY(newpos-(dir*0.01), dir, collidedlist, startpos, endpos, newdistleft+(dir*0.01))
  113. end
  114. end
  115. end
  116. return hitz, enz, ray
  117. end
  118.  
  119. function FindSurface(part, position)
  120. local obj = part.CFrame:pointToObjectSpace(position)
  121. local siz = part.Size/2
  122. for i,v in pairs(Enum.NormalId:GetEnumItems()) do
  123. local vec = Vector3.FromNormalId(v)
  124. local wvec = part.CFrame:vectorToWorldSpace(vec)
  125. local vz = (obj)/(siz*vec)
  126. if (math.abs(vz.X-1) < 0.01 or math.abs(vz.Y-1) < 0.01 or math.abs(vz.Z-1) < 0.01) then
  127. return wvec,vec
  128. end
  129. end
  130. if part.className == "WedgePart" then
  131. local pos = (part.CFrame * CFrame.new(0,part.Size.y/2,part.Size.z/2)).p
  132. local apos = (part.CFrame * CFrame.Angles(-math.atan2(part.CFrame:pointToObjectSpace(pos).y,part.CFrame:pointToObjectSpace(pos).z),0,0) * CFrame.new(0,1,0)).p
  133. local wvec,vec = (apos - part.Position).unit, part.CFrame:pointToObjectSpace(apos)
  134. return wvec,vec
  135. elseif part.className == "Part" and (part.Shape == Enum.PartType.Ball or part.Shape == Enum.PartType.Cylinder) then
  136. return (position - part.Position).unit, part.CFrame:vectorToObjectSpace((position - part.Position).unit)
  137. end
  138. end
  139.  
  140. function CreateTrap(target,pos)
  141. local m = Instance.new("Model", char)
  142. m.Name = "Trap"
  143.  
  144. local cframe = CFrame.new()
  145. local anchor = true
  146.  
  147. if not target:IsA("Terrain") then
  148. local wvec,vec = FindSurface(target,pos)
  149. cframe = CFrame.new(NV,wvec) * CFrame.Angles(-math.pi/2,0,0)
  150. anchor = target.Anchored
  151. end
  152.  
  153. local c = P:Clone()
  154. c.Parent = m
  155. c.Anchored = anchor
  156. c.CanCollide = true
  157. c.CFrame = (cframe +pos) * CFrame.Angles(0,math.rad(math.random(1,360)),0)
  158. c.BrickColor = BrickColor.new("Dark stone grey")
  159. local light = Instance.new("PointLight", c)
  160. light.Brightness = 2
  161. light.Range = 7
  162. light.Color = Color3.new(1,0.8,0.1)
  163. local mesh = Instance.new("CylinderMesh",c)
  164. mesh.Scale = Vector3.new(0.2,0.4,0.2) *5
  165. if not anchor then
  166. local newpos = target.CFrame:toObjectSpace(c.CFrame)
  167. local w = Instance.new("Weld",c)
  168. w.Part0 = target
  169. w.Part1 = c
  170. w.C0 = newpos
  171. end
  172.  
  173. local tabl = {}
  174. for i = 1, 3 do
  175. local p = P:Clone()
  176. p.Parent = m
  177. p.Anchored = anchor
  178. p.CFrame = c.CFrame * CFrame.Angles(0,math.pi*2/3*i,0) * CFrame.new(0,0.04,-0.12) * CFrame.Angles(-math.pi/2 +0.05,0,0) * CFrame.new(0,0.55,0)
  179. local mesh = Instance.new("SpecialMesh",p)
  180. mesh.MeshType = "Wedge"
  181. mesh.Scale = Vector3.new(0.15,1.2,0.16) *5
  182. if not anchor then
  183. local w = Instance.new("Weld",p)
  184. w.Part0 = c
  185. w.Part1 = p
  186. w.C0 = CFrame.Angles(0,math.pi*2/3*i,0) * CFrame.new(0,0.04,-0.12) * CFrame.Angles(-math.pi/2 +0.05,0,0) * CFrame.new(0,0.55,0)
  187. end
  188.  
  189. for j = -1,1,2 do
  190. local p = P:Clone()
  191. p.Parent = m
  192. p.Anchored = anchor
  193. p.Transparency = 0.6
  194. p.BrickColor = BrickColor.new("Bright yellow")
  195. p.CFrame = c.CFrame * CFrame.new(0,0.2,0) * CFrame.Angles(0,math.pi*2/3*i,0) * CFrame.new(0.32*j,0,-0.55) * CFrame.Angles(0.06,0,-math.pi/2*j)
  196. local mesh = Instance.new("SpecialMesh",p)
  197. mesh.MeshType = "Wedge"
  198. mesh.Scale = Vector3.new(0.03,0.6,1.1) *5
  199. if not anchor then
  200. local w = Instance.new("Weld",p)
  201. w.Part0 = c
  202. w.Part1 = p
  203. w.C0 = CFrame.new(0,0.2,0) * CFrame.Angles(0,math.pi*2/3*i,0) * CFrame.new(0.32*j,0,-0.55) * CFrame.Angles(0.06,0,-math.pi/2*j)
  204. end
  205. table.insert(tabl,p)
  206. end
  207. end
  208.  
  209. table.insert(Traps,{m,c,tabl,0,light})
  210. end
  211.  
  212. function Build()
  213. for i, v in pairs(char:children()) do
  214. if v.className == "Model" and (v.Name == "" or v.Name == "Trap" or v.Name == "TrapProjectile") then
  215. v:Destroy()
  216. end
  217. end
  218. local mdl = Instance.new("Model", char)
  219. mdl.Name = ""
  220.  
  221. end
  222. Build()
  223.  
  224. function Throw(aim)
  225. local mdl = Instance.new("Model",char)
  226. mdl.Name = "TrapProjectile"
  227. local p = P:Clone()
  228. p.Parent = mdl
  229. p.Anchored = true
  230. p.Size = Vector3.new(0.5,0.5,1.5)
  231. p.CFrame = CFrame.new(Torsoz.Position,Torsoz.Position+aim)
  232. table.insert(Projectiles,{mdl,p,aim,0.05})
  233. end
  234.  
  235. function JumbleBolt(bolt)
  236. local lastpos = bolt[2][3]
  237. for i, v in pairs(bolt) do
  238. if i == 1 then
  239. bolt[1] = bolt[1] - 1
  240. else
  241. local point = v[4] * CFrame.new(math.random(-100,100)*v[5]/200,math.random(-100,100)*v[5]/200,0)
  242. v[1].CFrame = CFrame.new((lastpos+point.p)/2,point.p)
  243. v[2].Scale = Vector3.new(0.1,0.1,(lastpos-point.p).magnitude) *5
  244. lastpos = point.p
  245. end
  246. end
  247. end
  248.  
  249. function Bolt(par,start,endpos,jumble)
  250. jumble = jumble or 8
  251. local dist = (start - endpos).magnitude
  252. if dist < 200 then
  253. local tab = {jumble}
  254. local dir = (endpos - start).unit
  255. local jump = dist/math.floor(dist)
  256. local lastpos = start
  257. local lastraw
  258. for i = 1, math.floor(dist) do
  259. local rawpoint = CFrame.new(start,endpos) + dir*jump*i
  260. local point = rawpoint
  261. if i ~= math.floor(dist) then
  262. point = point * CFrame.new(math.random(-100,100)*jump/200,math.random(-100,100)*jump/200,0)
  263. end
  264. local p = P:Clone()
  265. p.Parent = par
  266. p.Anchored = true
  267. p.BrickColor = BrickColor.new("Royal purple")
  268. p.CFrame = CFrame.new((lastpos+point.p)/2,point.p)
  269. local mesh = Instance.new("BlockMesh",p)
  270. mesh.Scale = Vector3.new(0.1,0.1,(lastpos-point.p).magnitude) *5
  271. game:GetService("Debris"):AddItem(p,5)
  272. table.insert(tab,{p,mesh,start,rawpoint,jump})
  273. lastpos = point.p
  274. lastraw = rawpoint
  275. end
  276. table.insert(Bolts,tab)
  277. end
  278. end
  279.  
  280. function Explode(pos,bolts)
  281. local mdl = Instance.new("Model",char)
  282. mdl.Name = "Explosion"
  283. local p = P:Clone()
  284. p.Parent = mdl
  285. p.Anchored = true
  286. p.CanCollide = false
  287. p.CFrame = CFrame.new(pos)
  288. local l = Instance.new("PointLight",p)
  289. l.Color = Color3.new(0.5,0.1,1)
  290. l.Range = 10
  291. l.Brightness = 2
  292. game:GetService("Debris"):AddItem(mdl,0.7)
  293. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  294. if v.Character ~= nil then
  295. if v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  296. if (v.Character.Torso.Position - pos).magnitude < 6.5 then
  297. v.Character.Humanoid:TakeDamage(math.random(30,45))
  298. end
  299. end
  300. end
  301. end
  302. for i = 1, bolts do
  303. local dist = math.random(38,64) /10
  304. local dir = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50)).unit
  305. Bolt(mdl,pos,pos+dir*dist)
  306. end
  307. end
  308.  
  309. function Detonate()
  310. for i, v in pairs(Traps) do
  311. Explode(v[2].Position,10)
  312. v[1]:Destroy()
  313. Traps[i] = nil
  314. end
  315. end
  316.  
  317. function B1D(mouse)
  318. --[[if mouse.Target and #Traps < 6 then
  319. CreateTrap(mouse.Hit.p,mouse.Target)
  320. end ]]
  321. if #Traps + #Projectiles < 6 then
  322. Throw((mouse.Hit.p - Torsoz.Position).unit)
  323. end
  324. --Bolt(char,Torsoz.Position,mouse.Hit.p)
  325. --Explode(mouse.Hit.p,10)
  326. end
  327.  
  328. function KD(key, mouse)
  329. if key == "e" then
  330. Detonate()
  331. --[[elseif key == "r" then
  332. for i, v in pairs(Traps) do
  333. v[1]:Destroy()
  334. Traps[i] = nil
  335. end ]]
  336. end
  337. end
  338.  
  339. function Equip()
  340. end
  341.  
  342. function Unequip()
  343. end
  344.  
  345. bin.Selected:connect(function(mouse)
  346. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  347. mouse.Button1Down:connect(function() B1D(mouse) end)
  348. mouse.KeyDown:connect(function(key) KD(key, mouse) end)
  349. end)
  350.  
  351. bin.Deselected:connect(function()
  352. end)
  353.  
  354. local jumpcount = 0
  355. game:GetService("RunService").Stepped:connect(function()
  356. jumpcount = (jumpcount%2) + 1
  357. for i, trap in pairs(Traps) do
  358. trap[4] = (trap[4] + 1) %2
  359. if trap[4] == 0 then
  360. local randum = math.random()
  361. local zaptrans = 0.3 + 0.45*randum
  362. trap[5].Brightness = 0.8 + 2.8*randum --math.random(-65,60)/100
  363. for j, v in pairs(trap[3]) do
  364. v.Transparency = zaptrans
  365. end
  366. end
  367. end
  368.  
  369. for i, proj in pairs(Projectiles) do
  370. local spd = (proj[3]*3) + Vector3.new(0,proj[4],0)
  371. local hitz,enz = RAY(proj[2].Position,spd)
  372. if hitz then
  373. proj[1]:Destroy()
  374. CreateTrap(hitz,enz)
  375. table.remove(Projectiles,i)
  376. else
  377. proj[2].CFrame = CFrame.new(NV,spd) + proj[2].Position + spd
  378. proj[4] = proj[4] - 0.05
  379. end
  380. end
  381.  
  382. if jumpcount == 1 then
  383. for i, bolt in pairs(Bolts) do
  384. JumbleBolt(bolt)
  385. if bolt[1] <= 0 then
  386. for j, v in pairs(bolt) do
  387. if j ~= 1 then
  388. v[1]:Destroy()
  389. end
  390. end
  391. table.remove(Bolts,i)
  392. end
  393. end
  394. end
  395. end)
  396.  
  397.  
  398.  
  399.  
  400. local verlet = {}
  401. verlet.step_time = 1 / 50
  402. verlet.gravity = Vector3.new(0, -10, 0)
  403.  
  404. local char = game.Players.LocalPlayer.Character
  405. local torso = char:WaitForChild("Torso")
  406. local parts = {}
  407. local render = game:GetService("RunService").RenderStepped
  408.  
  409. wait(2)
  410.  
  411. local point = {}
  412. local link = {}
  413. local rope = {}
  414.  
  415. local function ccw(A,B,C)
  416. return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
  417. end
  418.  
  419. local function intersect(A,B,C,D)
  420. return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
  421. end
  422.  
  423. local function vec2(v)
  424. return Vector2.new(v.x, v.z)
  425. end
  426.  
  427. function point:step()
  428. if not self.fixed then
  429. local derivative = (self.position - self.last_position) * 0.95
  430. self.last_position = self.position
  431. self.position = self.position + derivative + (self.velocity * verlet.step_time ^ 2)
  432. --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
  433. local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
  434. local pointE = self.position + torso.CFrame.lookVector * 100
  435. local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
  436. if not doIntersect then
  437. self.postition = self.position - torso.CFrame.lookVector * 10
  438. end]]
  439. end
  440. end
  441.  
  442. function link:step()
  443. for i = 1, 1 do
  444. local distance = self.point1.position - self.point2.position
  445. local magnitude = distance.magnitude
  446. local differance = (self.length - magnitude) / magnitude
  447. local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
  448. if not self.point1.fixed then
  449. self.point1.position = self.point1.position + translation
  450. end
  451. if not self.point2.fixed then
  452. self.point2.position = self.point2.position - translation
  453. end
  454. end
  455. end
  456.  
  457. function verlet.new(class, a, b, c)
  458. if class == "Point" then
  459. local new = {}
  460. setmetatable(new, {__index = point})
  461. new.class = class
  462. new.position = a or Vector3.new()
  463. new.last_position = new.position
  464. new.velocity = verlet.gravity
  465. new.fixed = false
  466. return new
  467. elseif class == "Link" then
  468. local new = {}
  469. setmetatable(new, {__index = link})
  470. new.class = class
  471. new.point1 = a
  472. new.point2 = b
  473. new.length = c or (a.position - b.position).magnitude
  474. return new
  475. elseif class == "Rope" then
  476. local new = {}
  477. setmetatable(new, {__index = link})
  478. new.class = class
  479. new.start_point = a
  480. new.finish_point = b
  481. new.points = {}
  482. new.links = {}
  483. local inc = (b - a) / 10
  484. for i = 0, 10 do
  485. table.insert(new.points, verlet.new("Point", a + (i * inc)))
  486. end
  487. for i = 2, #new.points do
  488. table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
  489. end
  490. return new
  491. end
  492. end
  493.  
  494. local tris = {}
  495. local triParts = {}
  496.  
  497. local function GetDiscoColor(hue)
  498. local section = hue % 1 * 3
  499. local secondary = 0.5 * math.pi * (section % 1)
  500. if section < 1 then
  501. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  502. elseif section < 2 then
  503. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  504. else
  505. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  506. end
  507. end
  508.  
  509. local function setupPart(part)
  510. part.Anchored = true
  511. part.FormFactor = 3
  512. part.CanCollide = false
  513. part.TopSurface = 10
  514. part.BottomSurface = 10
  515. part.LeftSurface = 10
  516. part.RightSurface = 10
  517. part.FrontSurface = 10
  518. part.BackSurface = 10
  519. part.Material = "Neon"
  520. local m = Instance.new("SpecialMesh", part)
  521. m.MeshType = "Wedge"
  522. m.Scale = Vector3.new(0.2, 1, 1)
  523. return part
  524. end
  525.  
  526. local function CFrameFromTopBack(at, top, back)
  527. local right = top:Cross(back)
  528. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  529. end
  530.  
  531. local function drawTri(parent, a, b, c)
  532. local this = {}
  533. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  534. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  535. function this:Set(a, b, c)
  536. local ab, bc, ca = b-a, c-b, a-c
  537. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  538. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  539. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  540. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  541. if edg1 < edg2 then
  542. if edg1 >= edg3 then
  543. a, b, c = c, a, b
  544. ab, bc, ca = ca, ab, bc
  545. abm = cam
  546. end
  547. else
  548. if edg2 < edg3 then
  549. a, b, c = b, c, a
  550. ab, bc, ca = bc, ca, ab
  551. abm = bcm
  552. else
  553. a, b, c = c, a, b
  554. ab, bc, ca = ca, ab, bc
  555. abm = cam
  556. end
  557. end
  558.  
  559. local len1 = -ca:Dot(ab)/abm
  560. local len2 = abm - len1
  561. local width = (ca + ab.unit*len1).magnitude
  562.  
  563. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  564.  
  565. if len1 > 0.2 then
  566. mPart1.Parent = parent
  567. mPart1.Size = Vector3.new(0.2, width, len1)
  568. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  569. else
  570. mPart1.Parent = nil
  571. end
  572.  
  573. if len2 > 0.2 then
  574. mPart2.Parent = parent
  575. mPart2.Size = Vector3.new(0.2, width, len2)
  576. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  577. else
  578. mPart2.Parent = nil
  579. end
  580. end
  581. function this:SetProperty(prop, value)
  582. mPart1[prop] = value
  583. mPart2[prop] = value
  584. end
  585. this:Set(a, b, c)
  586. function this:Destroy()
  587. mPart1:Destroy()
  588. mPart2:Destroy()
  589. end
  590. this.p1 = mPart1
  591. this.p2 = mPart2
  592. this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
  593. this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
  594. return this
  595. end
  596.  
  597. function verlet.draw(object, id)
  598. if object.class == "Point" then
  599. local part = parts[id]
  600. part.BrickColor = BrickColor.new(1, 1, 1)
  601. part.Transparency = 0
  602. part.formFactor = 3
  603. part.Anchored = true
  604. part.CanCollide = false
  605. part.TopSurface = 0
  606. part.BottomSurface = 0
  607. part.Size = Vector3.new(0.35, 0.35, 0.35)
  608. part.Material = "Neon"
  609. part.CFrame = CFrame.new(object.position)
  610. part.Parent = torso
  611. return part
  612. elseif object.class == "Link" then
  613. local part = parts[id]
  614. local dist = (object.point1.position - object.point2.position).magnitude
  615. part.Size = Vector3.new(0.2, 0.2, dist)
  616. part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
  617. part.Parent = torso
  618. return part
  619. end
  620. end
  621.  
  622. function verlet.clear()
  623. for _, v in pairs(workspace:GetChildren()) do
  624. if v.Name == "Part" then
  625. v:Destroy()
  626. end
  627. end
  628. end
  629.  
  630. local points = {}
  631. local links = {}
  632.  
  633. for x = 0, 2 do
  634. points[x] = {}
  635. for y = 0, 3 do
  636. points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
  637. points[x][y].fixed = y == 0
  638. end
  639. end
  640.  
  641. for x = 1, 2 do
  642. for y = 0, 3 do
  643. links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
  644. end
  645. end
  646.  
  647. for x = 0, 2 do
  648. for y = 1, 3 do
  649. links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
  650. end
  651. end
  652.  
  653. render:connect(function()
  654. for x = 0, 2 do
  655. for y = 0, 3 do
  656. if y == 0 then
  657. points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
  658. else
  659. points[x][y]:step()
  660. end
  661. end
  662. end
  663. for i = 1, #links do
  664. links[i]:step()
  665. end
  666. for i = 1, #tris do
  667. triParts[#triParts + 1] = tris[i].p1
  668. triParts[#triParts + 1] = tris[i].p2
  669. end
  670. tris = {}
  671. for x = 1, 2 do
  672. for y = 1, 3 do
  673. tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
  674. tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
  675. end
  676. end
  677. end)
  678.  
  679.  
  680.  
  681. --[[Nemessis.Inc]]--
  682. --[[Nemessis.Inc Members]]--
  683. --[[Ki_tchen [Owner] ]]--
  684. --[[Mewy23 CO-OWNER]]--
  685. --[[Unknown]]--
  686. --[[Unknown]]--
  687. --[[Unknown]]--
  688. --[[Unknown]]--
  689. --[[Unknown]]--
  690. --[[Unknown]]--
  691. --[[Unknown]]--
  692.  
  693. --[[Every Script we release a new member will be shown.]]--
  694.  
  695. --[[Nemessis.Inc Out.]]--
  696.  
  697. wait(1 / 60)
  698. -- Trail Made by Gallizur
  699. --R15 Compatible in TrailSettings
  700. local Player = game:GetService('Players').LocalPlayer
  701. repeat wait() until Player.Character
  702. local Character = Player.Character
  703.  
  704. --All The Settings for Trails in this Script
  705. TrailSettings = {
  706. Lifetime = 0.5,
  707. Texture = 'rbxassetid://31270182',
  708. --Color1 is for UpperBody and Accessories, Color2 is for Lower Body
  709. Color1 = ColorSequence.new(BrickColor.new('Toothpaste').Color,BrickColor.new('Royal purple').Color),
  710. Color2 = ColorSequence.new(BrickColor.new('Institutional white').Color,BrickColor.new('Really black').Color),
  711. AllBody = true,
  712. UpperBodyOnly = false,
  713. LowerBodyOnly = false,
  714. Accessories = false,
  715. Extras = true,
  716. R15 = false, --Change to true if you're using R15
  717. R15Parts = {
  718. 'UpperTorso',
  719. 'LowerTorso',
  720. }
  721. }
  722.  
  723. local Trail; --Making other Trails uses this in this Script
  724.  
  725. --UpperBody Function
  726. UpperBody = function()
  727. if TrailSettings.R15 == false then
  728. A0 = Instance.new('Attachment',Character.Torso)
  729. A1 = Instance.new('Attachment',Character.Head)
  730. A2 = Instance.new('Attachment',Character['Right Arm'])
  731. A3 = Instance.new('Attachment',Character['Left Arm'])
  732. Trail = Instance.new('Trail',Character)
  733. Trail.Attachment0 = A0
  734. Trail.Attachment1 = A1
  735. Trail.Texture = TrailSettings.Texture
  736. Trail.Color = TrailSettings.Color1
  737. Trail.Lifetime = TrailSettings.Lifetime
  738. local Trail2 = Trail:Clone()
  739. Trail2.Parent = Character
  740. Trail2.Attachment1 = A2
  741. local Trail3 = Trail:Clone()
  742. Trail3.Parent = Character
  743. Trail3.Attachment1 = A3
  744. local Trail6 = Trail:Clone()
  745. Trail6.Parent = Character
  746. Trail6.Attachment0 = A1
  747. Trail6.Attachment1 = A2
  748. local Trail7 = Trail:Clone()
  749. Trail7.Parent = Character
  750. Trail7.Attachment0 = A1
  751. Trail7.Attachment1 = A3
  752. else
  753. A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
  754. A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
  755. A1 = Instance.new('Attachment',Character.Head)
  756. A2 = Instance.new('Attachment',Character['RightUpperArm'])
  757. A2R = Instance.new('Attachment',Character['RightLowerArm'])
  758. A3 = Instance.new('Attachment',Character['LeftUpperArm'])
  759. A3R = Instance.new('Attachment',Character['LeftLowerArm'])
  760. Trail = Instance.new('Trail',Character)
  761. Trail.Attachment0 = A0
  762. Trail.Attachment1 = A1
  763. Trail.Texture = TrailSettings.Texture
  764. Trail.Color = TrailSettings.Color1
  765. Trail.Lifetime = TrailSettings.Lifetime
  766. local Trail2 = Trail:Clone()
  767. Trail2.Parent = Character
  768. Trail2.Attachment1 = A2
  769. local Trail3 = Trail:Clone()
  770. Trail3.Parent = Character
  771. Trail3.Attachment1 = A3
  772. local Trail6 = Trail:Clone()
  773. Trail6.Parent = Character
  774. Trail6.Attachment0 = A1
  775. Trail6.Attachment1 = A2
  776. local Trail7 = Trail:Clone()
  777. Trail7.Parent = Character
  778. Trail7.Attachment0 = A1
  779. Trail7.Attachment1 = A3
  780. --R15 Trails
  781. local Trail1R = Trail:Clone()
  782. Trail1R.Parent = Character
  783. Trail1R.Attachment1 = A2R
  784. local Trail2R = Trail:Clone()
  785. Trail2R.Parent = Character
  786. Trail2R.Attachment1 = A3R
  787. local Trail6R = Trail:Clone()
  788. Trail6.Parent = Character
  789. Trail6.Attachment0 = A1
  790. Trail6.Attachment1 = A2R
  791. local Trail7R = Trail:Clone()
  792. Trail7.Parent = Character
  793. Trail7.Attachment0 = A1
  794. Trail7.Attachment1 = A3R
  795. end
  796. end
  797.  
  798. --Lower Body Function
  799. LowerBody = function()
  800. if TrailSettings.R15 == false then
  801. A4 = Instance.new('Attachment',Character['Right Leg'])
  802. A5 = Instance.new('Attachment',Character['Left Leg'])
  803. local Trail4 = Trail:Clone()
  804. Trail4.Parent = Character
  805. Trail4.Attachment1 = A4
  806. local Trail5 = Trail:Clone()
  807. Trail5.Parent = Character
  808. Trail5.Attachment1 = A5
  809. local Trail8 = Trail:Clone()
  810. Trail8.Parent = Character
  811. Trail8.Attachment0 = A2
  812. Trail8.Attachment1 = A4
  813. Trail8.Color = TrailSettings.Color2
  814. local Trail9 = Trail:Clone()
  815. Trail9.Parent = Character
  816. Trail9.Attachment0 = A3
  817. Trail9.Attachment1 = A5
  818. Trail9.Color = TrailSettings.Color2
  819. local FT = Trail:Clone()
  820. FT.Parent = Character
  821. FT.Attachment0 = A4
  822. FT.Attachment1 = A5
  823. FT.Color = TrailSettings.Color2
  824. else
  825. A4 = Instance.new('Attachment',Character['RightLowerLeg'])
  826. A4R = Instance.new('Attachment',Character['RightUpperLeg'])
  827. A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
  828. A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
  829. local Trail4 = Trail:Clone()
  830. Trail4.Parent = Character
  831. Trail4.Attachment1 = A4
  832. local Trail5 = Trail:Clone()
  833. Trail5.Parent = Character
  834. Trail5.Attachment1 = A5
  835. local Trail8 = Trail:Clone()
  836. Trail8.Parent = Character
  837. Trail8.Attachment0 = A2
  838. Trail8.Attachment1 = A4
  839. Trail8.Color = TrailSettings.Color2
  840. local Trail9 = Trail:Clone()
  841. Trail9.Parent = Character
  842. Trail9.Attachment0 = A3
  843. Trail9.Attachment1 = A5
  844. Trail9.Color = TrailSettings.Color2
  845. local FT = Trail:Clone()
  846. FT.Parent = Character
  847. FT.Attachment0 = A4
  848. FT.Attachment1 = A5
  849. FT.Color = TrailSettings.Color2
  850. --R15 Trails
  851. local Trail3R = Trail:Clone()
  852. Trail3R.Parent = Character
  853. Trail3R.Attachment1 = A4R
  854. local Trail4R = Trail:Clone()
  855. Trail4R.Parent = Character
  856. Trail4R.Attachment1 = A5R
  857. local Trail8 = Trail:Clone()
  858. Trail8.Parent = Character
  859. Trail8.Attachment0 = A2R
  860. Trail8.Attachment1 = A4R
  861. Trail8.Color = TrailSettings.Color2
  862. local Trail9 = Trail:Clone()
  863. Trail9.Parent = Character
  864. Trail9.Attachment0 = A3R
  865. Trail9.Attachment1 = A5R
  866. Trail9.Color = TrailSettings.Color2
  867. local FT2R = Trail:Clone()
  868. FT2R.Parent = Character
  869. FT2R.Attachment0 = A4R
  870. FT2R.Attachment1 = A5R
  871. FT2R.Color = TrailSettings.Color2
  872. end
  873. end
  874.  
  875. --All Body Function calling Both Functions
  876. AllBody = function()
  877. UpperBody()
  878. LowerBody()
  879. end
  880.  
  881. --Checking to make sure that Only some Variables are Selected else do All Body
  882. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  883. TrailSettings.UpperBodyOnly = false
  884. TrailSettings.LowerBodyOnly = false
  885. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  886. TrailSettings.UpperBodyOnly = false
  887. TrailSettings.LowerBodyOnly = false
  888. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  889. TrailSettings.UpperBodyOnly = false
  890. TrailSettings.LowerBodyOnly = false
  891. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  892. TrailSettings.AllBody = true
  893. TrailSettings.UpperBodyOnly = false
  894. TrailSettings.LowerBodyOnly = false
  895. end
  896.  
  897. --Call Trail Functions
  898. if TrailSettings.UpperBodyOnly == true then
  899. UpperBody()
  900. print('Called Upper Body Trail')
  901. elseif TrailSettings.LowerBodyOnly == true then
  902. LowerBody()
  903. print('Called Lower Body Trail')
  904. elseif TrailSettings.AllBody == true then
  905. AllBody()
  906. print('Called Full Body Trail')
  907. end
  908.  
  909. --Trails for Accessories
  910. if TrailSettings.Accessories == true then
  911. for Index,Item in pairs(Character:GetChildren()) do
  912. if Item:IsA'Accessory' then
  913. local AA = Instance.new('Attachment',Item.Handle)
  914. local ATrail = Trail:Clone()
  915. ATrail.Parent = Character
  916. ATrail.Attachment1 = AA
  917. end
  918. end
  919. end
  920.  
  921. --Extras
  922. if TrailSettings.Extras == true then
  923. --Making an Invisible Platform Part
  924. local a = Instance.new('Part',Character)
  925. a.CanCollide = false
  926. a.Size = Vector3.new(2,.2,2)
  927. a.Transparency = 1
  928.  
  929. --Constantly putting it under your feet
  930. if TrailSettings.R15 == false then
  931. spawn(function()
  932. game:GetService('RunService').RenderStepped:connect(function()
  933. a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
  934. end)
  935. end)
  936. else
  937. spawn(function()
  938. game:GetService('RunService').RenderStepped:connect(function()
  939. a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
  940. end)
  941. end)
  942. end
  943.  
  944. --Make a Trail from both feet to the Platform
  945. spawn(function()
  946. repeat wait() until Trail
  947. local AB = Instance.new('Attachment',a)
  948. local ABT = Trail:Clone()
  949. ABT.Parent = Character
  950. ABT.Attachment0 = A4
  951. ABT.Attachment1 = AB
  952. ABT.Color = TrailSettings.Color2
  953. local ABT2 = Trail:Clone()
  954. ABT2.Parent = Character
  955. ABT2.Attachment0 = A5
  956. ABT2.Attachment1 = AB
  957. ABT2.Color = TrailSettings.Color2
  958. end)
  959. end
  960.  
  961. Effects = { }
  962. local Player = game.Players.localPlayer
  963. local Character = Player.Character
  964. local Humanoid = Character.Humanoid
  965. local Mouse = Player:GetMouse()
  966. local LeftArm = Character["Left Arm"]
  967. local RightArm = Character["Right Arm"]
  968. local LeftLeg = Character["Left Leg"]
  969. local RightLeg = Character["Right Leg"]
  970. local Head = Character.Head
  971. local Torso = Character.Torso
  972. local Camera = game.Workspace.CurrentCamera
  973. local RootPart = Character.HumanoidRootPart
  974. local RootJoint = RootPart.RootJoint
  975. local attack = false
  976. local Anim = 'Idle'
  977. local attacktype = 1
  978. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  979. local velocity = RootPart.Velocity.y
  980. local sine = 0
  981. local change = 1
  982. local Create = LoadLibrary("RbxUtility").Create
  983. local sick = Instance.new("Sound",Character.Torso)
  984. sick.SoundId = "rbxassetid://869000977"
  985. sick.Looped = true
  986. sick.Pitch = 1
  987. sick.Volume = 1
  988. sick:Play()
  989.  
  990. local m = Create("Model"){
  991. Parent = Character,
  992. Name = "WeaponModel",
  993. }
  994.  
  995. Humanoid.Animator.Parent = nil
  996. Character.Animate.Parent = nil
  997.  
  998. local newMotor = function(part0, part1, c0, c1)
  999. local w = Create('Motor'){
  1000. Parent = part0,
  1001. Part0 = part0,
  1002. Part1 = part1,
  1003. C0 = c0,
  1004. C1 = c1,
  1005. }
  1006. return w
  1007. end
  1008.  
  1009. function clerp(a, b, t)
  1010. return a:lerp(b, t)
  1011. end
  1012.  
  1013. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1014. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1015.  
  1016. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  1017. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  1018. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  1019. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  1020. RootJoint.C1 = CFrame.new(0, 0, 0)
  1021. RootJoint.C0 = CFrame.new(0, 0, 0)
  1022. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  1023. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  1024.  
  1025. local rarmc1 = RW.C1
  1026. local larmc1 = LW.C1
  1027. local rlegc1 = RH.C1
  1028. local llegc1 = LH.C1
  1029.  
  1030. local resetc1 = false
  1031.  
  1032. function PlayAnimationFromTable(table, speed, bool)
  1033. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  1034. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  1035. RW.C0 = clerp(RW.C0, table[3], speed)
  1036. LW.C0 = clerp(LW.C0, table[4], speed)
  1037. RH.C0 = clerp(RH.C0, table[5], speed)
  1038. LH.C0 = clerp(LH.C0, table[6], speed)
  1039. if bool == true then
  1040. if resetc1 == false then
  1041. resetc1 = true
  1042. RootJoint.C1 = RootJoint.C1
  1043. Torso.Neck.C1 = Torso.Neck.C1
  1044. RW.C1 = rarmc1
  1045. LW.C1 = larmc1
  1046. RH.C1 = rlegc1
  1047. LH.C1 = llegc1
  1048. end
  1049. end
  1050. end
  1051.  
  1052. ArtificialHB = Create("BindableEvent", script){
  1053. Parent = script,
  1054. Name = "Heartbeat",
  1055. }
  1056.  
  1057. script:WaitForChild("Heartbeat")
  1058.  
  1059. frame = 1 / 30
  1060. tf = 0
  1061. allowframeloss = false
  1062. tossremainder = false
  1063. lastframe = tick()
  1064. script.Heartbeat:Fire()
  1065.  
  1066. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1067. tf = tf + s
  1068. if tf >= frame then
  1069. if allowframeloss then
  1070. script.Heartbeat:Fire()
  1071. lastframe = tick()
  1072. else
  1073. for i = 1, math.floor(tf / frame) do
  1074. script.Heartbeat:Fire()
  1075. end
  1076. lastframe = tick()
  1077. end
  1078. if tossremainder then
  1079. tf = 0
  1080. else
  1081. tf = tf - frame * math.floor(tf / frame)
  1082. end
  1083. end
  1084. end)
  1085.  
  1086. function swait(num)
  1087. if num == 0 or num == nil then
  1088. ArtificialHB.Event:wait()
  1089. else
  1090. for i = 0, num do
  1091. ArtificialHB.Event:wait()
  1092. end
  1093. end
  1094. end
  1095.  
  1096. function RemoveOutlines(part)
  1097. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1098. end
  1099.  
  1100. CFuncs = {
  1101. Part = {
  1102. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1103. local Part = Create("Part"){
  1104. Parent = Parent,
  1105. Reflectance = Reflectance,
  1106. Transparency = Transparency,
  1107. CanCollide = false,
  1108. Locked = true,
  1109. BrickColor = BrickColor.new(tostring(BColor)),
  1110. Name = Name,
  1111. Size = Size,
  1112. Material = Material,
  1113. }
  1114. RemoveOutlines(Part)
  1115. return Part
  1116. end;
  1117. };
  1118.  
  1119. Mesh = {
  1120. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1121. local Msh = Create(Mesh){
  1122. Parent = Part,
  1123. Offset = OffSet,
  1124. Scale = Scale,
  1125. }
  1126. if Mesh == "SpecialMesh" then
  1127. Msh.MeshType = MeshType
  1128. Msh.MeshId = MeshId
  1129. end
  1130. return Msh
  1131. end;
  1132. };
  1133.  
  1134. Weld = {
  1135. Create = function(Parent, Part0, Part1, C0, C1)
  1136. local Weld = Create("Weld"){
  1137. Parent = Parent,
  1138. Part0 = Part0,
  1139. Part1 = Part1,
  1140. C0 = C0,
  1141. C1 = C1,
  1142. }
  1143. return Weld
  1144. end;
  1145. };
  1146.  
  1147. Sound = {
  1148. Create = function(id, par, vol, pit)
  1149. coroutine.resume(coroutine.create(function()
  1150. local Sound = Create("Sound"){
  1151. Volume = vol,
  1152. Pitch = pit or 1,
  1153. SoundId = "rbxassetid://" .. id,
  1154. Parent = par or workspace,
  1155. }
  1156. Sound:play()
  1157. game:GetService("Debris"):AddItem(Sound, 10)
  1158. end))
  1159. end;
  1160. };
  1161.  
  1162. Decal = {
  1163. Create = function(Color, Texture, Transparency, Name, Parent)
  1164. local Decal = Create("Decal"){
  1165. Color3 = Color,
  1166. Texture = "rbxassetid://" .. Texture,
  1167. Transparency = Transparency,
  1168. Name = Name,
  1169. Parent = Parent,
  1170. }
  1171. return Decal
  1172. end;
  1173. };
  1174.  
  1175. BillboardGui = {
  1176. Create = function(Parent, Image, Position, Size)
  1177. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  1178. BillPar.CFrame = CFrame.new(Position)
  1179. local Bill = Create("BillboardGui"){
  1180. Parent = BillPar,
  1181. Adornee = BillPar,
  1182. Size = UDim2.new(1, 0, 1, 0),
  1183. SizeOffset = Vector2.new(Size, Size),
  1184. }
  1185. local d = Create("ImageLabel", Bill){
  1186. Parent = Bill,
  1187. BackgroundTransparency = 1,
  1188. Size = UDim2.new(1, 0, 1, 0),
  1189. Image = "rbxassetid://" .. Image,
  1190. }
  1191. return BillPar
  1192. end
  1193. };
  1194.  
  1195. ParticleEmitter = {
  1196. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1197. local Particle = Create("ParticleEmitter"){
  1198. Parent = Parent,
  1199. Color = ColorSequence.new(Color1, Color2),
  1200. LightEmission = LightEmission,
  1201. Size = Size,
  1202. Texture = Texture,
  1203. Transparency = Transparency,
  1204. ZOffset = ZOffset,
  1205. Acceleration = Accel,
  1206. Drag = Drag,
  1207. LockedToPart = LockedToPart,
  1208. VelocityInheritance = VelocityInheritance,
  1209. EmissionDirection = EmissionDirection,
  1210. Enabled = Enabled,
  1211. Lifetime = LifeTime,
  1212. Rate = Rate,
  1213. Rotation = Rotation,
  1214. RotSpeed = RotSpeed,
  1215. Speed = Speed,
  1216. VelocitySpread = VelocitySpread,
  1217. }
  1218. return Particle
  1219. end;
  1220. };
  1221.  
  1222. CreateTemplate = {
  1223.  
  1224. };
  1225. }
  1226.  
  1227. function rayCast(Position, Direction, Range, Ignore)
  1228. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1229. end
  1230.  
  1231. FindNearestTorso = function(pos)
  1232. local list = (game.Workspace:children())
  1233. local torso = nil
  1234. local dist = 1000
  1235. local temp, human, temp2 = nil, nil, nil
  1236. for x = 1, #list do
  1237. temp2 = list[x]
  1238. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1239. temp = temp2:findFirstChild("Torso")
  1240. human = temp2:findFirstChild("Humanoid")
  1241. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  1242. local dohit = true
  1243. if dohit == true then
  1244. torso = temp
  1245. dist = (temp.Position - pos).magnitude
  1246. end
  1247. end
  1248. end
  1249. end
  1250. return torso, dist
  1251. end
  1252.  
  1253. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1254. if hit.Parent == nil then
  1255. return
  1256. end
  1257. local h = hit.Parent:FindFirstChild("Humanoid")
  1258. for _, v in pairs(hit.Parent:children()) do
  1259. if v:IsA("Humanoid") then
  1260. h = v
  1261. end
  1262. end
  1263. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1264. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1265. if hit.Parent.DebounceHit.Value == true then
  1266. return
  1267. end
  1268. end
  1269. local c = Create("ObjectValue"){
  1270. Name = "creator",
  1271. Value = game:service("Players").LocalPlayer,
  1272. Parent = h,
  1273. }
  1274. game:GetService("Debris"):AddItem(c, .5)
  1275. if HitSound ~= nil and HitPitch ~= nil then
  1276. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1277. end
  1278. local Damage = math.random(minim, maxim)
  1279. local blocked = false
  1280. local block = hit.Parent:findFirstChild("Block")
  1281. if block ~= nil then
  1282. if block.className == "IntValue" then
  1283. if block.Value > 0 then
  1284. blocked = true
  1285. block.Value = block.Value - 1
  1286. print(block.Value)
  1287. end
  1288. end
  1289. end
  1290. if blocked == false then
  1291. h.Health = h.Health - Damage
  1292. 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)
  1293. else
  1294. h.Health = h.Health - (Damage / 2)
  1295. 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)
  1296. end
  1297. if Type == "Knockdown" then
  1298. local hum = hit.Parent.Humanoid
  1299. hum.PlatformStand = true
  1300. coroutine.resume(coroutine.create(function(HHumanoid)
  1301. swait(1)
  1302. HHumanoid.PlatformStand = false
  1303. end), hum)
  1304. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1305. local bodvol = Create("BodyVelocity"){
  1306. velocity = angle * knockback,
  1307. P = 5000,
  1308. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1309. Parent = hit,
  1310. }
  1311. local rl = Create("BodyAngularVelocity"){
  1312. P = 3000,
  1313. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1314. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1315. Parent = hit,
  1316. }
  1317. game:GetService("Debris"):AddItem(bodvol, .5)
  1318. game:GetService("Debris"):AddItem(rl, .5)
  1319. elseif Type == "Normal" then
  1320. local vp = Create("BodyVelocity"){
  1321. P = 500,
  1322. maxForce = Vector3.new(math.huge, 0, math.huge),
  1323. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1324. }
  1325. if knockback > 0 then
  1326. vp.Parent = hit.Parent.Torso
  1327. end
  1328. game:GetService("Debris"):AddItem(vp, .5)
  1329. elseif Type == "Up" then
  1330. local bodyVelocity = Create("BodyVelocity"){
  1331. velocity = Vector3.new(0, 20, 0),
  1332. P = 5000,
  1333. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1334. Parent = hit,
  1335. }
  1336. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1337. elseif Type == "DarkUp" then
  1338. coroutine.resume(coroutine.create(function()
  1339. for i = 0, 1, 0.1 do
  1340. swait()
  1341. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1342. end
  1343. end))
  1344. local bodyVelocity = Create("BodyVelocity"){
  1345. velocity = Vector3.new(0, 20, 0),
  1346. P = 5000,
  1347. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1348. Parent = hit,
  1349. }
  1350. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1351. elseif Type == "Snare" then
  1352. local bp = Create("BodyPosition"){
  1353. P = 2000,
  1354. D = 100,
  1355. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1356. position = hit.Parent.Torso.Position,
  1357. Parent = hit.Parent.Torso,
  1358. }
  1359. game:GetService("Debris"):AddItem(bp, 1)
  1360. elseif Type == "Freeze" then
  1361. local BodPos = Create("BodyPosition"){
  1362. P = 50000,
  1363. D = 1000,
  1364. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1365. position = hit.Parent.Torso.Position,
  1366. Parent = hit.Parent.Torso,
  1367. }
  1368. local BodGy = Create("BodyGyro") {
  1369. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1370. P = 20e+003,
  1371. Parent = hit.Parent.Torso,
  1372. cframe = hit.Parent.Torso.CFrame,
  1373. }
  1374. hit.Parent.Torso.Anchored = true
  1375. coroutine.resume(coroutine.create(function(Part)
  1376. swait(1.5)
  1377. Part.Anchored = false
  1378. end), hit.Parent.Torso)
  1379. game:GetService("Debris"):AddItem(BodPos, 3)
  1380. game:GetService("Debris"):AddItem(BodGy, 3)
  1381. end
  1382. local debounce = Create("BoolValue"){
  1383. Name = "DebounceHit",
  1384. Parent = hit.Parent,
  1385. Value = true,
  1386. }
  1387. game:GetService("Debris"):AddItem(debounce, Delay)
  1388. c = Create("ObjectValue"){
  1389. Name = "creator",
  1390. Value = Player,
  1391. Parent = h,
  1392. }
  1393. game:GetService("Debris"):AddItem(c, .5)
  1394. end
  1395. end
  1396.  
  1397. function ShowDamage(Pos, Text, Time, Color)
  1398. local Rate = (1 / 30)
  1399. local Pos = (Pos or Vector3.new(0, 0, 0))
  1400. local Text = (Text or "")
  1401. local Time = (Time or 2)
  1402. local Color = (Color or Color3.new(1, 0, 1))
  1403. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1404. EffectPart.Anchored = true
  1405. local BillboardGui = Create("BillboardGui"){
  1406. Size = UDim2.new(3, 0, 3, 0),
  1407. Adornee = EffectPart,
  1408. Parent = EffectPart,
  1409. }
  1410. local TextLabel = Create("TextLabel"){
  1411. BackgroundTransparency = 1,
  1412. Size = UDim2.new(1, 0, 1, 0),
  1413. Text = Text,
  1414. Font = "SciFi",
  1415. TextColor3 = Color,
  1416. TextScaled = true,
  1417. Parent = BillboardGui,
  1418. }
  1419. game.Debris:AddItem(EffectPart, (Time))
  1420. EffectPart.Parent = game:GetService("Workspace")
  1421. delay(0, function()
  1422. local Frames = (Time / Rate)
  1423. for Frame = 1, Frames do
  1424. wait(Rate)
  1425. local Percent = (Frame / Frames)
  1426. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1427. TextLabel.TextTransparency = Percent
  1428. end
  1429. if EffectPart and EffectPart.Parent then
  1430. EffectPart:Destroy()
  1431. end
  1432. end)
  1433. end
  1434.  
  1435. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1436. for _, c in pairs(workspace:children()) do
  1437. local hum = c:findFirstChild("Humanoid")
  1438. if hum ~= nil then
  1439. local head = c:findFirstChild("Torso")
  1440. if head ~= nil then
  1441. local targ = head.Position - Part.Position
  1442. local mag = targ.magnitude
  1443. if mag <= Magnitude and c.Name ~= Player.Name then
  1444. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  1445. end
  1446. end
  1447. end
  1448. end
  1449. end
  1450.  
  1451.  
  1452.  
  1453. ---some future chest tinglol---
  1454.  
  1455. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1.18999839, 1.59999871, 1))
  1456. HandleWeld=CFuncs.Weld.Create(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0236663818, -0.0907719135, 0.317821503, 0.999962866, 0.000129007996, -0.00902621169, -0.000127925552, 1, 0.000120364391, 0.00902613625, -0.000119204378, 0.999959409))
  1457. CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=102606179 ",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.5))
  1458. Middle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Institutional white","Middle",Vector3.new(2, 2, 1))
  1459. MiddleWeld=CFuncs.Weld.Create(m,Handle,Middle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00523376465, 0.580596685, -0.170185089, 1.00000691, 7.90009835e-10, -5.96046448e-08, 7.90009835e-10, 1, 4.22005542e-10, -5.96046448e-08, 4.22005542e-10, 1))
  1460. CFuncs.Mesh.Create("BlockMesh",Middle,"","",Vector3.new(0, 0, 0),Vector3.new(0, 0, 0))
  1461. Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  1462. CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.231455326, 0.269420624, 0.305145264, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07))
  1463. CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
  1464. Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  1465. CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.231508732, 0.269851685, -0.294754028, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07))
  1466. CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
  1467. Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  1468. CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.580579519, 0.26966095, 0.00581359863, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07))
  1469. CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
  1470. Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  1471. CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.020678997, 0.429592133, 0.00504302979, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07))
  1472. CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1, 1.00999999))
  1473.  
  1474. ----rarm----
  1475.  
  1476. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Handle",Vector3.new(0.5625, 0.200000003, 0.5625))
  1477. HandleWeld=CFuncs.Weld.Create(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.851722717, 1.10561752, -0.00168609619, 0.470270246, -0.882519305, 0.0023733438, -0.882508159, -0.470276207, -0.00445381179, 0.00504670199, 0, -0.999987364))
  1478. CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1))
  1479. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.100000113, 0.490000099, 1.01999998))
  1480. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.180709839, 2.04907203, 0.000366210938, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1))
  1481. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1482. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1483. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -1.84852219, -0.850482941, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0))
  1484. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1485. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999))
  1486. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.575714111, 0.564062595, -0.00463867188, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1))
  1487. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1488. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003))
  1489. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.554020643, 0.255722046, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0))
  1490. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1491. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1492. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.13999939, 0.504084587, -0.299934387, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1))
  1493. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01000011, 0.579999983, 1.00999999))
  1494. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.575714111, 2.01406956, -0.00463867188, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1))
  1495. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1496. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1497. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.13999939, 0.504084587, 0.300064087, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1))
  1498. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1499. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.13999939, 0.504084587, 4.57763672e-05, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1))
  1500. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1501. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -2.06848907, -1.07044983, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0))
  1502. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1503. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 0.200000003))
  1504. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.624020576, 0.695724487, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0))
  1505. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1506. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1507. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -1.84853363, -1.07049561, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0))
  1508. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1509. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003))
  1510. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.654026508, 0.475715637, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0))
  1511. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1512. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003))
  1513. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.584041595, 0.915710449, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0))
  1514. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1515. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1516. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -2.06853485, -0.850494385, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0))
  1517. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1518. RFHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RFHitbox",Vector3.new(1.37, 2.26999998, 1.10000002))
  1519. RFHitboxWeld=CFuncs.Weld.Create(m,Handle,RFHitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.60017395, 1.22661018, -0.000686645508, -0.470276177, 0.882519305, 0, -0.882519305, -0.470276207, 0, 0, 0, 1))
  1520. part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1521. partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0))
  1522. CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.393749982, 0.393749982, 0.393749982))
  1523. part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1524. partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0))
  1525. CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.506249964, 0.506249964, 0.506249964))
  1526. part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1527. partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0))
  1528. CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.28125, 0.28125, 0.28125))
  1529. part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1530. partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0))
  1531. CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006))
  1532. part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1533. partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0))
  1534. CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.5625, 0.5625, 0.5625))
  1535. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996))
  1536. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, 1.54413247, 0.275726318, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0))
  1537. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999))
  1538. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, 1.62406158, 0.575714111, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0))
  1539. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979))
  1540. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, -0.57572937, 0.624048471, 0, 0, 1, -0.470276177, 0.882519305, 0, -0.882519305, -0.470276207, 0))
  1541. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999))
  1542. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, 0.224089146, 0.645721436, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0))
  1543. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979))
  1544. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, -0.00249481201, 0.544101715, 0, 0, 1, -0.999762774, 0.0217780173, 0, -0.0217780471, -0.999762833, 0))
  1545. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003))
  1546. dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0026473999, 1.2640996, -0.0157165527, -0, 0, -1, -0.882519305, -0.470276207, 0, -0.470276177, 0.882519305, 0))
  1547. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003))
  1548. dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.302642822, -0.423362732, 2.30372047, -0, 0, -1, 0.685295701, -0.728264928, 0, -0.728264987, -0.685295761, 0))
  1549. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003))
  1550. dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0026473999, -0.423362732, 2.30372047, -0, 0, -1, 0.685295701, -0.728264928, 0, -0.728264987, -0.685295761, 0))
  1551. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003))
  1552. dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.297370911, -0.423362732, 2.30372047, -0, 0, -1, 0.685295701, -0.728264928, 0, -0.728264987, -0.685295761, 0))
  1553. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003))
  1554. dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.302642822, 1.75408459, -0.0157165527, -0, 0, -1, -0.882519305, -0.470276207, 0, -0.470276177, 0.882519305, 0))
  1555. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003))
  1556. dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.297355652, 1.75408459, -0.0157165527, -0, 0, -1, -0.882519305, -0.470276207, 0, -0.470276177, 0.882519305, 0))
  1557. ---larm---
  1558.  
  1559. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1560. HandleWeld=CFuncs.Weld.Create(m,Character["Left Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00811767578, -0.855991364, 1.11441803, 0.00504670199, 0, -0.999987364, 0.470269799, 0.882519484, 0.00237334147, 0.882508337, -0.47027573, 0.00445381273))
  1561. CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.393749982, 0.393749982, 0.393749982))
  1562. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1563. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994))
  1564. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1565. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994))
  1566. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.5625, 0.5625, 0.5625))
  1567. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1568. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994))
  1569. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.28125, 0.28125, 0.28125))
  1570. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1571. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994))
  1572. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.506249964, 0.506249964, 0.506249964))
  1573. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1574. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994))
  1575. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006))
  1576. Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.5625, 0.200000003, 0.5625))
  1577. InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0023727417, 7.62939453e-06, 0.00561523438, 0, -0.99999994, 0, 0, 0, 0.99999994, -1, 0, -0))
  1578. CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1))
  1579. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003))
  1580. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.65192318, 0.476837158, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484))
  1581. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1582. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1583. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.141113281, 0.501981974, 0.294425964, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0))
  1584. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1585. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -2.06778336, -1.06818008, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036))
  1586. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1587. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003))
  1588. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.551918268, 0.256835938, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484))
  1589. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1590. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1591. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.141113281, 0.501981974, -0.0055770874, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0))
  1592. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 0.200000003))
  1593. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.621917725, 0.696838379, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484))
  1594. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1595. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1596. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.141113281, 0.501981974, -0.305580139, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0))
  1597. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.579999983, 1.00999999))
  1598. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.581832886, 2.01196575, -0.0102539063, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0))
  1599. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1600. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1601. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -1.84783173, -1.06821442, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036))
  1602. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1603. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003))
  1604. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.581938982, 0.916824341, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484))
  1605. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1606. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1607. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -2.06782913, -0.84821701, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036))
  1608. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1609. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1610. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -1.84781265, -0.848209381, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036))
  1611. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1612. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999))
  1613. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.576828003, 0.561959505, -0.0102539063, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0))
  1614. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1615. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979))
  1616. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, -0.576843262, 0.621945381, -1, 0, -0, 0, 0.47027573, 0.882519484, 0, 0.882519484, -0.47027573))
  1617. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999))
  1618. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, 1.62195778, 0.576828003, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484))
  1619. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999))
  1620. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, 0.221988678, 0.646835327, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484))
  1621. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996))
  1622. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, 1.54202843, 0.27684021, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484))
  1623. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979))
  1624. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, -0.0048789978, 0.544052124, -1, 0, -0, 0, 0.999762774, 0.0217780173, 0, 0.0217780173, -0.999762774))
  1625. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003))
  1626. dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00826263428, -0.4217453, 2.30198288, 1, 0, 0, 0, -0.685295343, -0.728265285, 0, 0.728265285, -0.685295343))
  1627. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003))
  1628. dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.291732788, -0.4217453, 2.30198288, 1, 0, 0, 0, -0.685295343, -0.728265285, 0, 0.728265285, -0.685295343))
  1629. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003))
  1630. dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.308265686, -0.4217453, 2.30198288, 1, 0, 0, 0, -0.685295343, -0.728265285, 0, 0.728265285, -0.685295343))
  1631. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003))
  1632. dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00826263428, 1.26199555, -0.0168457031, 1, 0, 0, 0, 0.882519484, -0.47027573, 0, 0.47027573, 0.882519484))
  1633. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003))
  1634. dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.291732788, 1.75198078, -0.0168457031, 1, 0, 0, 0, 0.882519484, -0.47027573, 0, 0.47027573, 0.882519484))
  1635. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003))
  1636. dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.308265686, 1.75198078, -0.0168457031, 1, 0, 0, 0, 0.882519484, -0.47027573, 0, 0.47027573, 0.882519484))
  1637. LfHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","LfHitbox",Vector3.new(1.23000014, 2.07999992, 1.08000004))
  1638. LfHitboxWeld=CFuncs.Weld.Create(m,Handle,LfHitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.486152649, 1.3195107, -0.0055847168, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0))
  1639.  
  1640. --headlol----
  1641. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Brown","Handle",Vector3.new(1, 0.800000012, 2))
  1642. 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.0050201416, -0.737044811, 0.0650024414, -0.999626577, 5.26573444e-21, -0.0273229256, 5.2506392e-21, 1, 6.24212331e-22, 0.0273229256, 4.80515498e-22, -0.999626577))
  1643. CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11185882",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 0.800000012, 0.800000012))
  1644. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1645. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0264434814, -0.524188995, -0.543628693, -0.999751627, 5.25372174e-21, 0.0222777594, -0.0194845516, -0.484811008, -0.874401748, 0.0108005032, -0.874619007, 0.484690607))
  1646. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=118974072 ",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 1, 1))
  1647. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1648. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0264434814, -0.524188995, -0.543628693, -0.999751627, 5.25372174e-21, 0.0222777594, -0.0194845516, -0.484811008, -0.874401748, 0.0108005032, -0.874619007, 0.484690607))
  1649. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=118974072 ",Vector3.new(0, 0, 0),Vector3.new(1.14999998, 0.99000001, 0.99000001))
  1650. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1651. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.016456604, 0.539620876, 0.465080261, -0.999751627, 5.25372174e-21, 0.0222777594, 5.26573444e-21, 1, 4.80515498e-22, -0.0222777594, 5.97705948e-22, -0.999751627))
  1652. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=134030318 ",Vector3.new(0, 0, 0),Vector3.new(1.03999996, 1.03999996, 1.03999996))
  1653. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1654. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.016456604, 0.539620876, 0.465080261, -0.999751627, 5.25372174e-21, 0.0222777594, 5.26573444e-21, 1, 4.80515498e-22, -0.0222777594, 5.97705948e-22, -0.999751627))
  1655. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=134030318 ",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 1.01999998, 1.01999998))
  1656. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.60000002384186,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1657. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.016456604, 0.539620876, 0.465080261, -0.999751627, 5.25372174e-21, 0.0222777594, 5.26573444e-21, 1, 4.80515498e-22, -0.0222777594, 5.97705948e-22, -0.999751627))
  1658. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=134030318 ",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1659.  
  1660.  
  1661. --torsoa----
  1662.  
  1663.  
  1664. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1665. HandleWeld=CFuncs.Weld.Create(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0299911499, -0.493329048, 0.770057678, -0.999987364, 0, -0.00504670199, 0, 1, 0, 0.00504670199, 0, -0.999987364))
  1666. CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.600000024))
  1667. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1668. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1669. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 0.800000012, 0.800000012))
  1670. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1671. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1672. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 0.5))
  1673. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1674. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1675. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 0.699999988, 0.699999988))
  1676. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1677. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1678. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.899999976, 0.899999976, 0.899999976))
  1679. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1680. fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1681. CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1682. Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(1, 0.200000003, 1))
  1683. InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00417709351, -2.28881836e-05, 0.0100097656, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  1684. CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1685. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1686. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, 0.355865002, 0.809951782, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  1687. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044))
  1688. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, 0.148796082, 0.128662109, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0))
  1689. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1690. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044))
  1691. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, -0.193378448, 0.128658295, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0))
  1692. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1693. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044))
  1694. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, 0.148769379, -0.213489532, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0))
  1695. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1696. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(2.00999999, 1.13, 0.620000005))
  1697. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0342407227, 0.055727005, -0.559654236, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1698. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044))
  1699. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, -0.193340302, -0.213474274, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0))
  1700. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1701. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1702. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, -0.224153996, -0.71006012, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  1703. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1704. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, -0.224153996, 0.81993103, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  1705. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014))
  1706. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.782676697, 0.765777588, -0.204174995, 0, 0, 1, 1, 0, 0, 0, 1, 0))
  1707. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014))
  1708. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.792671204, 0.844223022, -0.204174995, 0, 0, -1, -1, 0, 0, 0, 1, 0))
  1709. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1710. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, 0.355865002, -0.71006012, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  1711.  
  1712. ---rightleg---
  1713. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1714. HandleWeld=CFuncs.Weld.Create(m,Character["Right Leg"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00577545166, 0.163275599, 0.527420044, 0.999987364, 0, 0.00504670199, 0, 1, 0, -0.00504670199, 0, 0.999987364))
  1715. CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.379687488, 0.379687488, 0.379687488))
  1716. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1717. FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1718. CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.2109375, 0.2109375, 0.2109375))
  1719. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1720. FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1721. CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.253125012, 0.253125012, 0.253125012))
  1722. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1723. FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1724. CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.295312494, 0.295312494, 0.295312494))
  1725. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1726. FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1727. CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.421875, 0.421875, 0.421875))
  1728. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1729. FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1730. CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006))
  1731. Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875))
  1732. InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00174897909, -3.05175781e-05, 0.00421905518, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  1733. CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1))
  1734. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.410000026, 1.01999998))
  1735. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.404953003, -0.835816026, 0.530357361, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  1736. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1737. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.277801514, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1738. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1739. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1740. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.617797852, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1741. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1742. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021))
  1743. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100349426, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  1744. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5))
  1745. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100349426, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  1746. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003))
  1747. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.364208221, -0.519493103, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866))
  1748. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
  1749. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1750. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.447799683, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1751. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1752. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003))
  1753. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.416698456, -0.189483643, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866))
  1754. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
  1755. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1756. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.447799683, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1757. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1758. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981))
  1759. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100349426, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  1760. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998))
  1761. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00503540039, -0.180850029, 0.530357361, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  1762. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1763. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.787796021, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1764. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1765. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1766. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.787796021, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1767. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1768. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1769. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.277801514, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1770. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1771. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1772. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.617797852, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1773. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1774. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003))
  1775. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.386646271, -0.024520874, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866))
  1776. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
  1777. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003))
  1778. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.439151764, -0.354492188, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866))
  1779. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1780. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1781. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.0944480896, 0.094493866, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0))
  1782. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1783. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1784. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.314418793, 0.314464569, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0))
  1785. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1786. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1787. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.314434052, 0.0945091248, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0))
  1788. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1789. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1790. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.0944519043, 0.31451416, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0))
  1791. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1792. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997))
  1793. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00503540039, 0.289182007, 0.530357361, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  1794. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017))
  1795. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -1.0478363, -0.287506104, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086))
  1796. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  1797. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.147018433, -0.465834022, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  1798. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995))
  1799. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0100402832, 0.714154005, 0.527000427, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  1800. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  1801. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.147018433, -0.465834022, 0.249954224, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  1802. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  1803. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.137023926, -0.415816069, 0.249969482, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  1804. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  1805. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.137023926, -0.415816069, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  1806. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005))
  1807. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -0.772094727, -0.486150742, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086))
  1808.  
  1809. ----leftleg----
  1810. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1811. HandleWeld=CFuncs.Weld.Create(m,Character["Left Leg"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00580596924, 0.18327564, 0.52255249, 0.999987364, 0, 0.00504670199, 0, 1, 0, -0.00504670199, 0, 0.999987364))
  1812. CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006))
  1813. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1814. FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1815. CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.253125012, 0.253125012, 0.253125012))
  1816. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1817. FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1818. CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.379687488, 0.379687488, 0.379687488))
  1819. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1820. FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1821. CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.295312494, 0.295312494, 0.295312494))
  1822. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1823. FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1824. CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.421875, 0.421875, 0.421875))
  1825. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1826. FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1827. CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.2109375, 0.2109375, 0.2109375))
  1828. Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875))
  1829. InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00174897909, -3.05175781e-05, 0.00421142578, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  1830. CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1))
  1831. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021))
  1832. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100334167, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  1833. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003))
  1834. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.43914032, -0.354473114, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866))
  1835. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1836. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003))
  1837. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.416690826, -0.189472198, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866))
  1838. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
  1839. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981))
  1840. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100334167, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  1841. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003))
  1842. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.364192963, -0.519462585, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866))
  1843. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
  1844. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998))
  1845. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0050201416, -0.180850029, 0.530334473, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  1846. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5))
  1847. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100334167, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  1848. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003))
  1849. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.386638641, -0.0245018005, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866))
  1850. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
  1851. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1852. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.0944595337, -0.314498901, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0))
  1853. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1854. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.230000004, 1.01999998))
  1855. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0713348389, -0.872953892, 0.530334473, -0.996194899, -0.0871539935, 0, -0.087154001, 0.996194899, 0, 0, 0, -1))
  1856. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997))
  1857. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0050201416, 0.289182007, 0.530334473, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  1858. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.02999997, 0.200000003, 1.02999997))
  1859. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0713348389, -0.872953892, 0.530334473, -0.996194899, -0.0871539935, 0, -0.087154001, 0.996194899, 0, 0, 0, -1))
  1860. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1861. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.314414978, -0.314460754, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0))
  1862. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1863. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1864. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.0944480896, -0.094493866, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0))
  1865. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1866. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1867. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.31445694, -0.0945014954, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0))
  1868. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1869. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995))
  1870. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0100402832, 0.714154005, 0.526977539, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  1871. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  1872. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.137008667, -0.415816009, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  1873. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005))
  1874. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -0.77205658, -0.486157417, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086))
  1875. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  1876. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.137008667, -0.415816009, 0.249969482, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  1877. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  1878. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.147003174, -0.465833962, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  1879. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017))
  1880. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -1.0477829, -0.287514687, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086))
  1881. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  1882. WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.147003174, -0.465833962, 0.249954224, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  1883.  
  1884.  
  1885.  
  1886. EffectModel = Create("Model"){
  1887. Parent = Character,
  1888. Name = "Effects",
  1889. }
  1890.  
  1891. Effects = {
  1892. Block = {
  1893. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1894. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1895. prt.Anchored = true
  1896. prt.CFrame = cframe
  1897. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1898. game:GetService("Debris"):AddItem(prt, 10)
  1899. if Type == 1 or Type == nil then
  1900. table.insert(Effects, {
  1901. prt,
  1902. "Block1",
  1903. delay,
  1904. x3,
  1905. y3,
  1906. z3,
  1907. msh
  1908. })
  1909. elseif Type == 2 then
  1910. table.insert(Effects, {
  1911. prt,
  1912. "Block2",
  1913. delay,
  1914. x3,
  1915. y3,
  1916. z3,
  1917. msh
  1918. })
  1919. end
  1920. end;
  1921. };
  1922.  
  1923. Cylinder = {
  1924. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1925. local prt = CFuncs.Part..Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  1926. prt.Anchored = true
  1927. prt.CFrame = cframe
  1928. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1929. game:GetService("Debris"):AddItem(prt, 2)
  1930. Effects[#Effects + 1] = {
  1931. prt,
  1932. "Cylinder",
  1933. delay,
  1934. x3,
  1935. y3,
  1936. z3
  1937. }
  1938. end;
  1939. };
  1940.  
  1941. Head = {
  1942. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1943. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1944. prt.Anchored = true
  1945. prt.CFrame = cframe
  1946. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1947. game:GetService("Debris"):AddItem(prt, 10)
  1948. table.insert(Effects, {
  1949. prt,
  1950. "Cylinder",
  1951. delay,
  1952. x3,
  1953. y3,
  1954. z3,
  1955. msh
  1956. })
  1957. end;
  1958. };
  1959.  
  1960. Sphere = {
  1961. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1962. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1963. prt.Anchored = true
  1964. prt.CFrame = cframe
  1965. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1966. game:GetService("Debris"):AddItem(prt, 10)
  1967. table.insert(Effects, {
  1968. prt,
  1969. "Cylinder",
  1970. delay,
  1971. x3,
  1972. y3,
  1973. z3,
  1974. msh
  1975. })
  1976. end;
  1977. };
  1978.  
  1979. Elect = {
  1980. Create = function(cff, x, y, z)
  1981. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  1982. prt.Anchored = true
  1983. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1984. prt.CFrame = CFrame.new(prt.Position)
  1985. game:GetService("Debris"):AddItem(prt, 2)
  1986. local xval = math.random() / 2
  1987. local yval = math.random() / 2
  1988. local zval = math.random() / 2
  1989. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1990. table.insert(Effects, {
  1991. prt,
  1992. "Elec",
  1993. 0.1,
  1994. x,
  1995. y,
  1996. z,
  1997. xval,
  1998. yval,
  1999. zval
  2000. })
  2001. end;
  2002.  
  2003. };
  2004.  
  2005. Ring = {
  2006. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2007. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2008. prt.Anchored = true
  2009. prt.CFrame = cframe
  2010. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2011. game:GetService("Debris"):AddItem(prt, 10)
  2012. table.insert(Effects, {
  2013. prt,
  2014. "Cylinder",
  2015. delay,
  2016. x3,
  2017. y3,
  2018. z3,
  2019. msh
  2020. })
  2021. end;
  2022. };
  2023.  
  2024.  
  2025. Wave = {
  2026. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2027. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2028. prt.Anchored = true
  2029. prt.CFrame = cframe
  2030. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2031. game:GetService("Debris"):AddItem(prt, 10)
  2032. table.insert(Effects, {
  2033. prt,
  2034. "Cylinder",
  2035. delay,
  2036. x3,
  2037. y3,
  2038. z3,
  2039. msh
  2040. })
  2041. end;
  2042. };
  2043.  
  2044. Break = {
  2045. Create = function(brickcolor, cframe, x1, y1, z1)
  2046. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2047. prt.Anchored = true
  2048. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2049. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2050. local num = math.random(10, 50) / 1000
  2051. game:GetService("Debris"):AddItem(prt, 10)
  2052. table.insert(Effects, {
  2053. prt,
  2054. "Shatter",
  2055. num,
  2056. prt.CFrame,
  2057. math.random() - math.random(),
  2058. 0,
  2059. math.random(50, 100) / 100
  2060. })
  2061. end;
  2062. };
  2063.  
  2064. Fire = {
  2065. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  2066. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2067. prt.Anchored = true
  2068. prt.CFrame = cframe
  2069. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2070. game:GetService("Debris"):AddItem(prt, 10)
  2071. table.insert(Effects, {
  2072. prt,
  2073. "Fire",
  2074. delay,
  2075. 1,
  2076. 1,
  2077. 1,
  2078. msh
  2079. })
  2080. end;
  2081. };
  2082.  
  2083. FireWave = {
  2084. Create = function(brickcolor, cframe, x1, y1, z1)
  2085. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  2086. prt.Anchored = true
  2087. prt.CFrame = cframe
  2088. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2089. local d = Create("Decal"){
  2090. Parent = prt,
  2091. Texture = "rbxassetid://26356434",
  2092. Face = "Top",
  2093. }
  2094. local d = Create("Decal"){
  2095. Parent = prt,
  2096. Texture = "rbxassetid://26356434",
  2097. Face = "Bottom",
  2098. }
  2099. game:GetService("Debris"):AddItem(prt, 10)
  2100. table.insert(Effects, {
  2101. prt,
  2102. "FireWave",
  2103. 1,
  2104. 30,
  2105. math.random(400, 600) / 100,
  2106. msh
  2107. })
  2108. end;
  2109. };
  2110.  
  2111. Lightning = {
  2112. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  2113. local magz = (p0 - p1).magnitude
  2114. local curpos = p0
  2115. local trz = {
  2116. -ofs,
  2117. ofs
  2118. }
  2119. for i = 1, tym do
  2120. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  2121. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  2122. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  2123. li.Material = "Neon"
  2124. if tym == i then
  2125. local magz2 = (curpos - p1).magnitude
  2126. li.Size = Vector3.new(th, th, magz2)
  2127. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  2128. table.insert(Effects, {
  2129. li,
  2130. "Disappear",
  2131. last
  2132. })
  2133. else
  2134. do
  2135. do
  2136. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  2137. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  2138. game.Debris:AddItem(li, 10)
  2139. table.insert(Effects, {
  2140. li,
  2141. "Disappear",
  2142. last
  2143. })
  2144. end
  2145. end
  2146. end
  2147. end
  2148. end
  2149. };
  2150.  
  2151. EffectTemplate = {
  2152.  
  2153. };
  2154. }
  2155.  
  2156. function attackone()
  2157. attack = true
  2158. for i = 0, 1, 0.1 do
  2159. swait()
  2160. PlayAnimationFromTable({
  2161. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2162. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2163. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2164. CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2165. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2166. CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2167. }, .3, false)
  2168. end
  2169. attack = false
  2170. end
  2171.  
  2172. Mouse.Button1Down:connect(function()
  2173. if attack == false and attacktype == 1 then
  2174. attackone()
  2175. end
  2176. end)
  2177.  
  2178. Mouse.KeyDown:connect(function(k)
  2179. k = k:lower()
  2180. if attack == false and k == '' then
  2181.  
  2182. end
  2183. end)
  2184.  
  2185. while true do
  2186. swait()
  2187. for i, v in pairs(Character:GetChildren()) do
  2188. if v:IsA("Part") then
  2189. v.Material = "SmoothPlastic"
  2190. elseif v:IsA("Accessory") then
  2191. v:WaitForChild("Handle").Material = "SmoothPlastic"
  2192. end
  2193. end
  2194. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2195. velocity = RootPart.Velocity.y
  2196. sine = sine + change
  2197. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  2198. if RootPart.Velocity.y > 1 and hit == nil then
  2199. Anim = "Jump"
  2200. if attack == false then
  2201. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2202. 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)
  2203. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2204. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2205. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2206. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2207. end
  2208. elseif RootPart.Velocity.y < -1 and hit == nil then
  2209. Anim = "Fall"
  2210. if attack == false then
  2211. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2212. 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)
  2213. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2214. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2215. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2216. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2217. end
  2218. elseif Torsovelocity < 1 and hit ~= nil then
  2219. Anim = "Idle"
  2220. if attack == false then
  2221. change = 1
  2222. PlayAnimationFromTable({
  2223. CFrame.new(0.0305537544, 0.101244226, -0.110436231, 0.751921654, -2.69948202e-07, 0.659252584, 2.48371833e-07, 1, 1.26191509e-07, -0.659252584, 6.88536517e-08, 0.751921654) * CFrame.new(0, -0.1 + .1 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0),
  2224. CFrame.new(0.133692384, 1.49995291, -0.122152172, 0.751921654, 0.118821487, -0.648456573, -2.85284614e-07, 0.983623922, 0.18023634, 0.659252584, -0.135523424, 0.739608109) * CFrame.Angles(math.rad(0 + 1 * math.cos(sine / 20)), 0, 0),
  2225. CFrame.new(1.56342208, 0.082565181, 0.184068531, 0.944978952, -0.210362762, -0.250524461, 0.217591718, 0.976039171, 0.00118678785, 0.244271994, -0.0556335375, 0.968109608) * CFrame.new(0, 0, 0 - 0.1 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0),
  2226. CFrame.new(-1.43761444, 0.138237804, 0.339363664, 0.86690402, 0.278344274, 0.413524032, -0.320227653, 0.946727693, 0.0340739228, -0.3820104, -0.161960647, 0.909855604) * 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),
  2227. CFrame.new(0.620094717, -1.99999762, -0.161182314, 0.97460556, -0.0876395851, -0.206067026, 0.0712375641, 0.993768871, -0.0857243761, 0.21229586, 0.0688677281, 0.974775851) * 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)),
  2228. CFrame.new(-0.646371901, -1.99999869, 0.0849364698, 0.992579937, 0.118687555, 0.0264309049, -0.120671012, 0.988230288, 0.0940183029, -0.0149610043, -0.0965101048, 0.995219648) * 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)),
  2229. }, .3, false)
  2230. end
  2231.  
  2232. elseif Torsovelocity > 2 and hit ~= nil then
  2233. Anim = "Walk"
  2234. if attack == false then
  2235. Character.Humanoid.WalkSpeed = 100
  2236. PlayAnimationFromTable({
  2237. CFrame.new(0, -0.0193441566, -0.137761548, 1, 0, 0, 0, 0.961308897, 0.275472969, 0, -0.275472969, 0.961308897) * CFrame.new(0, 0+ .1 * math.cos((sine) / 2), 0) * CFrame.Angles(0, 0, 0),
  2238. CFrame.new(0, 1.44159341, 0.0451771915, 1, 0, 0, 0, 0.98646307, -0.163984656, 0, 0.163984656, 0.98646307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2239. CFrame.new(1.63363111, 0.0754526258, -2.72151652e-007, 0.985570133, -0.16926825, 1.56980732e-007, 0.16926825, 0.985570133, 2.38418579e-007, -1.86264515e-007, -1.49011612e-007, 1.00000024) * CFrame.new(0-.2+.5 * math.cos((sine) / 4), 0.2+ .65 * math.cos((sine) / 2), 0+ 1.1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0- 120 * math.cos((sine) / 4)),0, math.rad(0+ 60 * math.cos((sine) / 4))),
  2240. CFrame.new(-1.61827064, 0.111134544, 1.51569429e-006, 0.978242338, 0.207465827, 7.76345075e-007, -0.207465842, 0.978242397, -2.41398811e-006, -1.25542283e-006, 2.20537186e-006, 1.00000012) * CFrame.new(0.2+.5 * math.cos((sine) / 4), 0.2+ .65 * math.cos((sine) / 2), 0- 1.1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0+ 120 * math.cos((sine) / 4)), 0, math.rad(0+ 60 * math.cos((sine) / 4))),
  2241. CFrame.new(0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .4 * math.cos((sine) / 2), 0 + 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 - 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)),
  2242. CFrame.new(-0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .4 * math.cos((sine) / 2), 0 - 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 + 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)),
  2243. }, .9, false)
  2244. end
  2245. end
  2246. if 0 < #Effects then
  2247. for e = 1, #Effects do
  2248. if Effects[e] ~= nil then
  2249. local Thing = Effects[e]
  2250. if Thing ~= nil then
  2251. local Part = Thing[1]
  2252. local Mode = Thing[2]
  2253. local Delay = Thing[3]
  2254. local IncX = Thing[4]
  2255. local IncY = Thing[5]
  2256. local IncZ = Thing[6]
  2257. if Thing[2] == "Shoot" then
  2258. local Look = Thing[1]
  2259. local move = 30
  2260. if Thing[8] == 3 then
  2261. move = 10
  2262. end
  2263. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  2264. if Thing[10] ~= nil then
  2265. da = pos
  2266. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  2267. cfa = CFrame.new(Thing[4], pos)
  2268. tehCF = cfa:lerp(cf2, 0.2)
  2269. Thing[1] = tehCF.lookVector
  2270. end
  2271. local mag = (Thing[4] - pos).magnitude
  2272. 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)
  2273. if Thing[8] == 2 then
  2274. 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)
  2275. end
  2276. Thing[4] = Thing[4] + Look * move
  2277. Thing[3] = Thing[3] - 1
  2278. if 2 < Thing[5] then
  2279. Thing[5] = Thing[5] - 0.3
  2280. Thing[6] = Thing[6] - 0.3
  2281. end
  2282. if hit ~= nil then
  2283. Thing[3] = 0
  2284. if Thing[8] == 1 or Thing[8] == 3 then
  2285. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2286. else
  2287. if Thing[8] == 2 then
  2288. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2289. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  2290. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2291. ref.Anchored = true
  2292. ref.CFrame = CFrame.new(pos)
  2293. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  2294. game:GetService("Debris"):AddItem(ref, 0.2)
  2295. 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)
  2296. 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)
  2297. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  2298. end
  2299. end
  2300. end
  2301. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2302. ref.Anchored = true
  2303. ref.CFrame = CFrame.new(pos)
  2304. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  2305. game:GetService("Debris"):AddItem(ref, 1)
  2306. end
  2307. if Thing[3] <= 0 then
  2308. table.remove(Effects, e)
  2309. end
  2310. end
  2311. do
  2312. do
  2313. if Thing[2] == "FireWave" then
  2314. if Thing[3] <= Thing[4] then
  2315. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  2316. Thing[3] = Thing[3] + 1
  2317. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  2318. else
  2319. Part.Parent = nil
  2320. table.remove(Effects, e)
  2321. end
  2322. end
  2323. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  2324. if Thing[1].Transparency <= 1 then
  2325. if Thing[2] == "Block1" then
  2326. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2327. Mesh = Thing[7]
  2328. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2329. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2330. else
  2331. if Thing[2] == "Block2" then
  2332. Thing[1].CFrame = Thing[1].CFrame
  2333. Mesh = Thing[7]
  2334. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2335. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2336. else
  2337. if Thing[2] == "Fire" then
  2338. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  2339. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2340. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2341. else
  2342. if Thing[2] == "Cylinder" then
  2343. Mesh = Thing[7]
  2344. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2345. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2346. else
  2347. if Thing[2] == "Blood" then
  2348. Mesh = Thing[7]
  2349. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2350. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2351. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2352. else
  2353. if Thing[2] == "Elec" then
  2354. Mesh = Thing[10]
  2355. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2356. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2357. else
  2358. if Thing[2] == "Disappear" then
  2359. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2360. end
  2361. end
  2362. end
  2363. end
  2364. end
  2365. end
  2366. end
  2367. else
  2368. Part.Parent = nil
  2369. table.remove(Effects, e)
  2370. end
  2371. end
  2372. end
  2373. end
  2374. end
  2375. end
  2376. end
  2377. end
  2378. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement