Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 122.11 KB | None | 0 0
  1. --bird wings Gifted by harrypotterfan249, Local Script!
  2. --Jump Two Time
  3. --Down Press Q
  4.  
  5. script.Parent = nil
  6.  
  7. function fly()
  8.  
  9. for i,v in pairs(script:GetChildren()) do
  10.  
  11. pcall(function() v.Value = "" end)
  12.  
  13. game:GetService("Debris"):AddItem(v,.1)
  14.  
  15. end
  16.  
  17. function weld(p0,p1,c0,c1,par)
  18.  
  19. local w = Instance.new("Weld",p0 or par)
  20.  
  21. w.Part0 = p0
  22.  
  23. w.Part1 = p1
  24.  
  25. w.C0 = c0 or CFrame.new()
  26.  
  27. w.C1 = c1 or CFrame.new()
  28.  
  29. return w
  30.  
  31. end
  32.  
  33. local motors = {}
  34.  
  35. function motor(p0,p1,c0,c1,des,vel,par)
  36.  
  37. local w = Instance.new("Motor6D",p0 or par)
  38.  
  39. w.Part0 = p0
  40.  
  41. w.Part1 = p1
  42.  
  43. w.C0 = c0 or CFrame.new()
  44.  
  45. w.C1 = c1 or CFrame.new()
  46.  
  47. w.MaxVelocity = tonumber(vel) or .05
  48.  
  49. w.DesiredAngle = tonumber(des) or 0
  50.  
  51. return w
  52.  
  53. end
  54.  
  55. function lerp(a,b,c)
  56.  
  57. return a+(b-a)*c
  58.  
  59. end
  60.  
  61. function clerp(c1,c2,al)
  62.  
  63. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  64.  
  65. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  66.  
  67. for i,v in pairs(com1) do
  68.  
  69. com1[i] = lerp(v,com2[i],al)
  70.  
  71. end
  72.  
  73. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  74.  
  75. end
  76.  
  77. function ccomplerp(c1,c2,al)
  78.  
  79. local com1 = {c1:components()}
  80.  
  81. local com2 = {c2:components()}
  82.  
  83. for i,v in pairs(com1) do
  84.  
  85. com1[i] = lerp(v,com2[i],al)
  86.  
  87. end
  88.  
  89. return CFrame.new(unpack(com1))
  90.  
  91. end
  92.  
  93. function tickwave(time,length,offset)
  94.  
  95. return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length
  96.  
  97. end
  98.  
  99. function invcol(c)
  100.  
  101. c = c.Color
  102.  
  103. return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r))
  104.  
  105. end
  106.  
  107. local oc = oc or function(...) return ... end
  108.  
  109. local plr = game.Players.LocalPlayer
  110.  
  111. local char = plr.Character
  112.  
  113. local tor = char.Torso
  114.  
  115. local hum = char.Humanoid
  116.  
  117. hum.PlatformStand = false
  118.  
  119. pcall(function()
  120.  
  121. char.Wings:Destroy()
  122.  
  123. end)
  124.  
  125. pcall(function()
  126.  
  127. char.Angel:Destroy() -- hat
  128.  
  129. end)
  130.  
  131. local mod = Instance.new("Model",char)
  132.  
  133. mod.Name = "Wings"
  134.  
  135. local special = {
  136.  
  137. --antiboomz0r = {"Really black","Institutional white",0,0,false,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  138.  
  139. antiboomz0r = {"New Yeller",nil,0.4,0.7,true,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  140.  
  141. --antiboomz0r = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  142.  
  143. taart = {"Royal purple",nil,.4,.4,true},
  144.  
  145. mitta = {"Black",nil,0,0,false},
  146.  
  147. penjuin3 = {"White",nil,0,0,false},
  148.  
  149. thepc8110 = {"Black","Bright red",.5,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  150.  
  151. nonspeaker = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  152.  
  153. littleau999 = {"Reddish brown",1030,0,0,false},
  154.  
  155. unscripter = {"Really black","Really black",.2,0,true,Color3.new(0,0,0),Color3.new(0,0,0)},
  156.  
  157. oxcool1 = {"Really black","White",.2,0,false,Color3.new(0,0,0),Color3.new(0,0,0)},
  158.  
  159. krodmiss = {"Really black",nil,0,0,false},
  160.  
  161. }
  162.  
  163. local topcolor = invcol(char.Torso.BrickColor)
  164.  
  165. local feacolor = char.Torso.BrickColor
  166.  
  167. local ptrans = 0
  168.  
  169. local pref = 0
  170.  
  171. local fire = false
  172.  
  173. local fmcol = Color3.new()
  174.  
  175. local fscol = Color3.new()
  176.  
  177. local spec = special[plr.Name:lower()]
  178.  
  179. if spec then
  180.  
  181. topcolor,feacolor,ptrans,pref,fire,fmcol,fscol = spec[1] and BrickColor.new(spec[1]) or topcolor,spec[2] and BrickColor.new(spec[2]) or feacolor,spec[3],spec[4],spec[5],spec[6],spec[7]
  182.  
  183. end
  184.  
  185. local part = Instance.new("Part")
  186.  
  187. part.FormFactor = "Custom"
  188.  
  189. part.Size = Vector3.new(.2,.2,.2)
  190.  
  191. part.TopSurface,part.BottomSurface = 0,0
  192.  
  193. part.CanCollide = false
  194.  
  195. part.BrickColor = topcolor
  196.  
  197. part.Transparency = ptrans
  198.  
  199. part.Reflectance = pref
  200.  
  201. local ef = Instance.new("Fire",fire and part or nil)
  202.  
  203. ef.Size = .15
  204.  
  205. ef.Color = fmcol or Color3.new()
  206.  
  207. ef.SecondaryColor = fscol or Color3.new()
  208.  
  209. part:BreakJoints()
  210.  
  211.  
  212. function newpart()
  213.  
  214. local clone = part:Clone()
  215.  
  216. clone.Parent = mod
  217.  
  218. clone:BreakJoints()
  219.  
  220. return clone
  221.  
  222. end
  223.  
  224. local feath = newpart()
  225.  
  226. feath.BrickColor = feacolor
  227.  
  228. feath.Transparency = 0
  229.  
  230. Instance.new("SpecialMesh",feath).MeshType = "Sphere"
  231.  
  232. function newfeather()
  233.  
  234. local clone = feath:Clone()
  235.  
  236. clone.Parent = mod
  237.  
  238. clone:BreakJoints()
  239.  
  240. return clone
  241.  
  242. end
  243.  
  244.  
  245. ---------- RIGHT WING
  246.  
  247. local r1 = newpart()
  248.  
  249. r1.Size = Vector3.new(.3,1.5,.3)*1.2
  250.  
  251. local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1)
  252.  
  253. local r2 = newpart()
  254.  
  255. r2.Size = Vector3.new(.4,1.8,.4)*1.2
  256.  
  257. local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1)
  258.  
  259. local r3 = newpart()
  260.  
  261. r3.Size = Vector3.new(.3,2.2,.3)*1.2
  262.  
  263. local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1)
  264.  
  265. local r4 = newpart()
  266.  
  267. r4.Size = Vector3.new(.25,1.2,.25)*1.2
  268.  
  269. local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1)
  270.  
  271. local feather = newfeather()
  272.  
  273. feather.Mesh.Scale = Vector3.new(1,1,1)
  274.  
  275. feather.Size = Vector3.new(.4,3,.3)
  276.  
  277. weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  278.  
  279. feather = newfeather()
  280.  
  281. feather.Mesh.Scale = Vector3.new(1,1,1)
  282.  
  283. feather.Size = Vector3.new(.4,2.3,.3)
  284.  
  285. weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  286.  
  287. feather = newfeather()
  288.  
  289. feather.Mesh.Scale = Vector3.new(1,1,1)
  290.  
  291. feather.Size = Vector3.new(.35,2.2,.25)
  292.  
  293. weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  294.  
  295. local rf3 = {}
  296.  
  297. for i=0,7 do
  298.  
  299. feather = newfeather()
  300.  
  301. feather.Mesh.Scale = Vector3.new(1,1,1)
  302.  
  303. feather.Size = Vector3.new(.45,2.2,.35)
  304.  
  305. table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  306.  
  307. end
  308.  
  309. local rf2 = {}
  310.  
  311. for i=0,6 do
  312.  
  313. feather = newfeather()
  314.  
  315. feather.Mesh.Scale = Vector3.new(1,1,1)
  316.  
  317. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  318.  
  319. table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  320.  
  321. end
  322.  
  323. local rf1 = {}
  324.  
  325. for i=0,6 do
  326.  
  327. feather = newfeather()
  328.  
  329. feather.Mesh.Scale = Vector3.new(1,1,1)
  330.  
  331. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  332.  
  333. table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  334.  
  335. end
  336.  
  337. ---------- LEFT WING
  338.  
  339. local l1 = newpart()
  340.  
  341. l1.Size = Vector3.new(.3,1.5,.3)*1.2
  342.  
  343. local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1)
  344.  
  345. local l2 = newpart()
  346.  
  347. l2.Size = Vector3.new(.4,1.8,.4)*1.2
  348.  
  349. local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1)
  350.  
  351. local l3 = newpart()
  352.  
  353. l3.Size = Vector3.new(.3,2.2,.3)*1.2
  354.  
  355. local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1)
  356.  
  357. local l4 = newpart()
  358.  
  359. l4.Size = Vector3.new(.25,1.2,.25)*1.2
  360.  
  361. local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1)
  362.  
  363. local feather = newfeather()
  364.  
  365. feather.Mesh.Scale = Vector3.new(1,1,1)
  366.  
  367. feather.Size = Vector3.new(.4,3,.3)
  368.  
  369. weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  370.  
  371. feather = newfeather()
  372.  
  373. feather.Mesh.Scale = Vector3.new(1,1,1)
  374.  
  375. feather.Size = Vector3.new(.4,2.3,.3)
  376.  
  377. weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  378.  
  379. feather = newfeather()
  380.  
  381. feather.Mesh.Scale = Vector3.new(1,1,1)
  382.  
  383. feather.Size = Vector3.new(.35,2.2,.25)
  384.  
  385. weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  386.  
  387. local lf3 = {}
  388.  
  389. for i=0,7 do
  390.  
  391. feather = newfeather()
  392.  
  393. feather.Mesh.Scale = Vector3.new(1,1,1)
  394.  
  395. feather.Size = Vector3.new(.45,2.2,.35)
  396.  
  397. table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  398.  
  399. end
  400.  
  401. local lf2 = {}
  402.  
  403. for i=0,6 do
  404.  
  405. feather = newfeather()
  406.  
  407. feather.Mesh.Scale = Vector3.new(1,1,1)
  408.  
  409. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  410.  
  411. table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  412.  
  413. end
  414.  
  415. local lf1 = {}
  416.  
  417. for i=0,6 do
  418.  
  419. feather = newfeather()
  420.  
  421. feather.Mesh.Scale = Vector3.new(1,1,1)
  422.  
  423. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  424.  
  425. table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  426.  
  427. end
  428.  
  429. local rwing = {rm1,rm2,rm3,rm4}
  430.  
  431. local lwing = {lm1,lm2,lm3,lm4}
  432.  
  433. local oc0 = {}
  434.  
  435. for i,v in pairs(rwing) do
  436.  
  437. oc0[v] = v.C0
  438.  
  439. end
  440.  
  441. for i,v in pairs(lwing) do
  442.  
  443. oc0[v] = v.C0
  444.  
  445. end
  446.  
  447. function gotResized()
  448.  
  449. if lastsize then
  450.  
  451. if tor.Size == lastsize then return end -- This shouldn't happen?
  452.  
  453. local scaleVec = tor.Size/lastsize
  454.  
  455. for i,v in pairs(oc0) do
  456.  
  457. oc0[i] = v-v.p+scaleVec*v.p
  458.  
  459. end
  460.  
  461. lastsize = tor.Size
  462.  
  463. end
  464.  
  465. lastsize = tor.Size
  466.  
  467. end
  468.  
  469. tor.Changed:connect(function(p)
  470.  
  471. if p == "Size" then
  472.  
  473. gotResized()
  474.  
  475. end
  476.  
  477. end)
  478.  
  479. gotResized()
  480.  
  481. local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;}--0,.3,0,0
  482.  
  483. local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  484.  
  485. local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  486.  
  487. local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0}
  488.  
  489. local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
  490.  
  491. local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0}
  492.  
  493.  
  494. function setwings(tab,time)
  495.  
  496. time = time or 10
  497.  
  498. for i=1,4 do
  499.  
  500. rwing[i].DesiredAngle = tab[i]
  501.  
  502. lwing[i].DesiredAngle = tab[i]
  503.  
  504. rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time
  505.  
  506. lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time
  507.  
  508. local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new())
  509.  
  510. local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new())
  511.  
  512. end
  513.  
  514. for i,v in pairs(rf1) do
  515.  
  516. v.DesiredAngle = tab[9]
  517.  
  518. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  519.  
  520. end
  521.  
  522. for i,v in pairs(lf1) do
  523.  
  524. v.DesiredAngle = tab[9]
  525.  
  526. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  527.  
  528. end
  529.  
  530. for i,v in pairs(rf2) do
  531.  
  532. v.DesiredAngle = tab[10]
  533.  
  534. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  535.  
  536. end
  537.  
  538. for i,v in pairs(lf2) do
  539.  
  540. v.DesiredAngle = tab[10]
  541.  
  542. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  543.  
  544. end
  545.  
  546. for i,v in pairs(rf3) do
  547.  
  548. v.DesiredAngle = tab[11]
  549.  
  550. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  551.  
  552. end
  553.  
  554. for i,v in pairs(lf3) do
  555.  
  556. v.DesiredAngle = tab[11]
  557.  
  558. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  559.  
  560. end
  561.  
  562. end
  563.  
  564. setwings(outhigh,1)
  565.  
  566. flying = false
  567.  
  568. moving = false
  569.  
  570. for i,v in pairs(tor:GetChildren()) do
  571.  
  572. if v.ClassName:lower():match("body") then
  573.  
  574. v:Destroy()
  575.  
  576. end
  577.  
  578. end
  579.  
  580. local ctor = tor:Clone()
  581.  
  582. ctor:ClearAllChildren()
  583.  
  584. ctor.Name = "cTorso"
  585.  
  586. ctor.Transparency = 1
  587.  
  588. ctor.CanCollide = false
  589.  
  590. ctor.FormFactor = "Custom"
  591.  
  592. ctor.Size = Vector3.new(.2,.2,.2)
  593.  
  594. ctor.Parent = mod
  595.  
  596. weld(tor,ctor)
  597.  
  598. local bg = Instance.new("BodyGyro",ctor)
  599.  
  600. bg.maxTorque = Vector3.new()
  601.  
  602. bg.P = 15000
  603.  
  604. bg.D = 1000
  605.  
  606. local bv = Instance.new("BodyVelocity",ctor)
  607.  
  608. bv.maxForce = Vector3.new()
  609.  
  610. bv.P = 15000
  611.  
  612. vel = Vector3.new()
  613.  
  614. cf = CFrame.new()
  615.  
  616. flspd = 0
  617.  
  618.  
  619. keysdown = {}
  620.  
  621. keypressed = {}
  622.  
  623. ktime = {}
  624.  
  625. descendtimer = 0
  626.  
  627. jumptime = tick()
  628.  
  629. hum.Jumping:connect(function()
  630.  
  631. jumptime = tick()
  632.  
  633. end)
  634.  
  635. cam = workspace.CurrentCamera
  636.  
  637. kd = plr:GetMouse().KeyDown:connect(oc(function(key)
  638.  
  639. keysdown[key] = true
  640.  
  641. keypressed[key] = true
  642.  
  643. if key == "q" then
  644.  
  645. descendtimer = tick()
  646.  
  647. elseif key == " " and not hum.Jump then
  648.  
  649. jumptime = tick()
  650.  
  651. elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .3 then
  652.  
  653. reqrotx = key == "a" and math.pi*2 or -math.pi*2
  654.  
  655. end
  656.  
  657. ktime[key] = tick()
  658.  
  659. end))
  660.  
  661. ku = plr:GetMouse().KeyUp:connect(function(key)
  662.  
  663. keysdown[key] = false
  664.  
  665. if key == " " then
  666.  
  667. descendtimer = tick()
  668.  
  669. end
  670.  
  671. end)
  672.  
  673. function mid(a,b,c)
  674.  
  675. return math.max(a,math.min(b,c or -a))
  676.  
  677. end
  678.  
  679. function bn(a)
  680.  
  681. return a and 1 or 0
  682.  
  683. end
  684.  
  685. function gm(tar)
  686.  
  687. local m = 0
  688.  
  689. for i,v in pairs(tar:GetChildren()) do
  690.  
  691. if v:IsA("BasePart") then
  692.  
  693. m = m + v:GetMass()
  694.  
  695. end
  696.  
  697. m = m + gm(v)
  698.  
  699. end
  700.  
  701. return m
  702.  
  703. end
  704.  
  705. reqrotx = 0
  706.  
  707. local grav = 196.2
  708.  
  709. local con
  710.  
  711. con = game:GetService("RunService").Stepped:connect(oc(function()
  712.  
  713. --[[if not mod:IsDescendantOf(workspace) then
  714.  
  715. pcall(function() kd:disconnect() end)
  716.  
  717. pcall(function() ku:disconnect() end)
  718.  
  719. bg:Destroy()
  720.  
  721. bv:Destroy()
  722.  
  723. con:disconnect()
  724.  
  725. script:Destroy()
  726.  
  727. return
  728.  
  729. end]]
  730.  
  731. local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity)
  732.  
  733. local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z
  734.  
  735. if flying then
  736.  
  737. local lfldir = fldir
  738.  
  739. fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit
  740.  
  741. local lmoving = moving
  742.  
  743. moving = fldir.magnitude > .1
  744.  
  745. if lmoving and not moving then
  746.  
  747. idledir = lfldir*Vector3.new(1,0,1)
  748.  
  749. descendtimer = tick()
  750.  
  751. end
  752.  
  753. local dbomb = fldir.Y < -.6 or (moving and keysdown["1"])
  754.  
  755. if moving and keysdown["0"] and lmoving then
  756.  
  757. fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit
  758.  
  759. end
  760.  
  761. local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0))
  762.  
  763. local descending = (not moving and keysdown["q"] and not keysdown[" "])
  764.  
  765. cf = ccomplerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07)
  766.  
  767. local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05
  768.  
  769. hum.PlatformStand = true
  770.  
  771. bg.maxTorque = Vector3.new(1,1,1)*9e5
  772.  
  773. local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector
  774.  
  775. bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0)
  776.  
  777. reqrotx = reqrotx - reqrotx/10
  778.  
  779. bv.maxForce = Vector3.new(1,1,1)*9e4*.5
  780.  
  781. local anioff =(bn(keysdown[" "])-bn(keysdown["q"]))/2
  782.  
  783. local ani = tickwave(1.5-anioff,1)
  784.  
  785. bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["q"]))*15,0)+vel,.6)
  786.  
  787. vel = moving and cf.lookVector*flspd or Vector3.new()
  788.  
  789. flspd = math.min(120,lerp(flspd,moving and (fldir.Y<0 and flspd+(-fldir.Y)*grav/60 or math.max(50,flspd-fldir.Y*grav/300)) or 60,.4))
  790.  
  791. setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15)
  792.  
  793. for i=1,4 do
  794.  
  795. --CFrame.Angles(-.5+bn(i==3)*2.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1)
  796.  
  797. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2)
  798.  
  799. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2)
  800.  
  801. end
  802.  
  803. local hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),{char})
  804.  
  805. if hit and down.Y < -.85 and tick()-flystart > 1 then
  806.  
  807. flying = false
  808.  
  809. hum.PlatformStand = false
  810.  
  811. tor.Velocity = Vector3.new()
  812.  
  813. end
  814.  
  815. else
  816.  
  817. bg.maxTorque = Vector3.new()
  818.  
  819. bv.maxForce = Vector3.new()
  820.  
  821. local ani = tickwave(walking and .8 or 4.5,1)
  822.  
  823. setwings(idle,10)
  824.  
  825. local x,y,z = fspd/160,uspd/700,sspd/900
  826.  
  827. for i=1,4 do
  828.  
  829. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)),.2)
  830.  
  831. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)),.2)
  832.  
  833. end
  834.  
  835. if keypressed[" "] and not flying and (tick()-jumptime > .05 and (tick()-jumptime < 3 or hum.Jump)) then
  836.  
  837. vel = Vector3.new(0,50,0)
  838.  
  839. bv.velocity = vel
  840.  
  841. idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1)
  842.  
  843. cf = tor.CFrame * CFrame.Angles(-.01,0,0)
  844.  
  845. tor.CFrame = cf
  846.  
  847. bg.cframe = cf
  848.  
  849. flystart = tick()
  850.  
  851. flying = true
  852.  
  853. end
  854.  
  855. end
  856.  
  857. keypressed = {}
  858.  
  859. end))
  860.  
  861.  
  862.  
  863. end fly()
  864.  
  865. --Bird Wings By Rosemarijohn2
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887. --[[Nemessis.Inc]]--
  888. --[[Nemessis.Inc Members]]--
  889. --[[Ki_tchen [Owner] ]]--
  890. --[[Mewy23 CO-OWNER]]--
  891. --[[Unknown]]--
  892. --[[Unknown]]--
  893. --[[Unknown]]--
  894. --[[Unknown]]--
  895. --[[Unknown]]--
  896. --[[Unknown]]--
  897. --[[Unknown]]--
  898.  
  899. --[[Every Script we release a new member will be shown.]]--
  900.  
  901. --[[Nemessis.Inc Out.]]--
  902.  
  903. wait(1 / 60)
  904. -- Trail Made by Gallizur
  905. --R15 Compatible in TrailSettings
  906. local Player = game:GetService('Players').LocalPlayer
  907. repeat wait() until Player.Character
  908. local Character = Player.Character
  909.  
  910. --All The Settings for Trails in this Script
  911. TrailSettings = {
  912. Lifetime = 0.5,
  913. Texture = 'rbxassetid://31270182',
  914. --Color1 is for UpperBody and Accessories, Color2 is for Lower Body
  915. Color1 = ColorSequence.new(BrickColor.new('Toothpaste').Color,BrickColor.new('Royal purple').Color),
  916. Color2 = ColorSequence.new(BrickColor.new('Institutional white').Color,BrickColor.new('Really black').Color),
  917. AllBody = true,
  918. UpperBodyOnly = false,
  919. LowerBodyOnly = false,
  920. Accessories = false,
  921. Extras = true,
  922. R15 = false, --Change to true if you're using R15
  923. R15Parts = {
  924. 'UpperTorso',
  925. 'LowerTorso',
  926. }
  927. }
  928.  
  929. local Trail; --Making other Trails uses this in this Script
  930.  
  931. --UpperBody Function
  932. UpperBody = function()
  933. if TrailSettings.R15 == false then
  934. A0 = Instance.new('Attachment',Character.Torso)
  935. A1 = Instance.new('Attachment',Character.Head)
  936. A2 = Instance.new('Attachment',Character['Right Arm'])
  937. A3 = Instance.new('Attachment',Character['Left Arm'])
  938. Trail = Instance.new('Trail',Character)
  939. Trail.Attachment0 = A0
  940. Trail.Attachment1 = A1
  941. Trail.Texture = TrailSettings.Texture
  942. Trail.Color = TrailSettings.Color1
  943. Trail.Lifetime = TrailSettings.Lifetime
  944. local Trail2 = Trail:Clone()
  945. Trail2.Parent = Character
  946. Trail2.Attachment1 = A2
  947. local Trail3 = Trail:Clone()
  948. Trail3.Parent = Character
  949. Trail3.Attachment1 = A3
  950. local Trail6 = Trail:Clone()
  951. Trail6.Parent = Character
  952. Trail6.Attachment0 = A1
  953. Trail6.Attachment1 = A2
  954. local Trail7 = Trail:Clone()
  955. Trail7.Parent = Character
  956. Trail7.Attachment0 = A1
  957. Trail7.Attachment1 = A3
  958. else
  959. A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
  960. A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
  961. A1 = Instance.new('Attachment',Character.Head)
  962. A2 = Instance.new('Attachment',Character['RightUpperArm'])
  963. A2R = Instance.new('Attachment',Character['RightLowerArm'])
  964. A3 = Instance.new('Attachment',Character['LeftUpperArm'])
  965. A3R = Instance.new('Attachment',Character['LeftLowerArm'])
  966. Trail = Instance.new('Trail',Character)
  967. Trail.Attachment0 = A0
  968. Trail.Attachment1 = A1
  969. Trail.Texture = TrailSettings.Texture
  970. Trail.Color = TrailSettings.Color1
  971. Trail.Lifetime = TrailSettings.Lifetime
  972. local Trail2 = Trail:Clone()
  973. Trail2.Parent = Character
  974. Trail2.Attachment1 = A2
  975. local Trail3 = Trail:Clone()
  976. Trail3.Parent = Character
  977. Trail3.Attachment1 = A3
  978. local Trail6 = Trail:Clone()
  979. Trail6.Parent = Character
  980. Trail6.Attachment0 = A1
  981. Trail6.Attachment1 = A2
  982. local Trail7 = Trail:Clone()
  983. Trail7.Parent = Character
  984. Trail7.Attachment0 = A1
  985. Trail7.Attachment1 = A3
  986. --R15 Trails
  987. local Trail1R = Trail:Clone()
  988. Trail1R.Parent = Character
  989. Trail1R.Attachment1 = A2R
  990. local Trail2R = Trail:Clone()
  991. Trail2R.Parent = Character
  992. Trail2R.Attachment1 = A3R
  993. local Trail6R = Trail:Clone()
  994. Trail6.Parent = Character
  995. Trail6.Attachment0 = A1
  996. Trail6.Attachment1 = A2R
  997. local Trail7R = Trail:Clone()
  998. Trail7.Parent = Character
  999. Trail7.Attachment0 = A1
  1000. Trail7.Attachment1 = A3R
  1001. end
  1002. end
  1003.  
  1004. --Lower Body Function
  1005. LowerBody = function()
  1006. if TrailSettings.R15 == false then
  1007. A4 = Instance.new('Attachment',Character['Right Leg'])
  1008. A5 = Instance.new('Attachment',Character['Left Leg'])
  1009. local Trail4 = Trail:Clone()
  1010. Trail4.Parent = Character
  1011. Trail4.Attachment1 = A4
  1012. local Trail5 = Trail:Clone()
  1013. Trail5.Parent = Character
  1014. Trail5.Attachment1 = A5
  1015. local Trail8 = Trail:Clone()
  1016. Trail8.Parent = Character
  1017. Trail8.Attachment0 = A2
  1018. Trail8.Attachment1 = A4
  1019. Trail8.Color = TrailSettings.Color2
  1020. local Trail9 = Trail:Clone()
  1021. Trail9.Parent = Character
  1022. Trail9.Attachment0 = A3
  1023. Trail9.Attachment1 = A5
  1024. Trail9.Color = TrailSettings.Color2
  1025. local FT = Trail:Clone()
  1026. FT.Parent = Character
  1027. FT.Attachment0 = A4
  1028. FT.Attachment1 = A5
  1029. FT.Color = TrailSettings.Color2
  1030. else
  1031. A4 = Instance.new('Attachment',Character['RightLowerLeg'])
  1032. A4R = Instance.new('Attachment',Character['RightUpperLeg'])
  1033. A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
  1034. A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
  1035. local Trail4 = Trail:Clone()
  1036. Trail4.Parent = Character
  1037. Trail4.Attachment1 = A4
  1038. local Trail5 = Trail:Clone()
  1039. Trail5.Parent = Character
  1040. Trail5.Attachment1 = A5
  1041. local Trail8 = Trail:Clone()
  1042. Trail8.Parent = Character
  1043. Trail8.Attachment0 = A2
  1044. Trail8.Attachment1 = A4
  1045. Trail8.Color = TrailSettings.Color2
  1046. local Trail9 = Trail:Clone()
  1047. Trail9.Parent = Character
  1048. Trail9.Attachment0 = A3
  1049. Trail9.Attachment1 = A5
  1050. Trail9.Color = TrailSettings.Color2
  1051. local FT = Trail:Clone()
  1052. FT.Parent = Character
  1053. FT.Attachment0 = A4
  1054. FT.Attachment1 = A5
  1055. FT.Color = TrailSettings.Color2
  1056. --R15 Trails
  1057. local Trail3R = Trail:Clone()
  1058. Trail3R.Parent = Character
  1059. Trail3R.Attachment1 = A4R
  1060. local Trail4R = Trail:Clone()
  1061. Trail4R.Parent = Character
  1062. Trail4R.Attachment1 = A5R
  1063. local Trail8 = Trail:Clone()
  1064. Trail8.Parent = Character
  1065. Trail8.Attachment0 = A2R
  1066. Trail8.Attachment1 = A4R
  1067. Trail8.Color = TrailSettings.Color2
  1068. local Trail9 = Trail:Clone()
  1069. Trail9.Parent = Character
  1070. Trail9.Attachment0 = A3R
  1071. Trail9.Attachment1 = A5R
  1072. Trail9.Color = TrailSettings.Color2
  1073. local FT2R = Trail:Clone()
  1074. FT2R.Parent = Character
  1075. FT2R.Attachment0 = A4R
  1076. FT2R.Attachment1 = A5R
  1077. FT2R.Color = TrailSettings.Color2
  1078. end
  1079. end
  1080.  
  1081. --All Body Function calling Both Functions
  1082. AllBody = function()
  1083. UpperBody()
  1084. LowerBody()
  1085. end
  1086.  
  1087. --Checking to make sure that Only some Variables are Selected else do All Body
  1088. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  1089. TrailSettings.UpperBodyOnly = false
  1090. TrailSettings.LowerBodyOnly = false
  1091. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  1092. TrailSettings.UpperBodyOnly = false
  1093. TrailSettings.LowerBodyOnly = false
  1094. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  1095. TrailSettings.UpperBodyOnly = false
  1096. TrailSettings.LowerBodyOnly = false
  1097. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  1098. TrailSettings.AllBody = true
  1099. TrailSettings.UpperBodyOnly = false
  1100. TrailSettings.LowerBodyOnly = false
  1101. end
  1102.  
  1103. --Call Trail Functions
  1104. if TrailSettings.UpperBodyOnly == true then
  1105. UpperBody()
  1106. print('Called Upper Body Trail')
  1107. elseif TrailSettings.LowerBodyOnly == true then
  1108. LowerBody()
  1109. print('Called Lower Body Trail')
  1110. elseif TrailSettings.AllBody == true then
  1111. AllBody()
  1112. print('Called Full Body Trail')
  1113. end
  1114.  
  1115. --Trails for Accessories
  1116. if TrailSettings.Accessories == true then
  1117. for Index,Item in pairs(Character:GetChildren()) do
  1118. if Item:IsA'Accessory' then
  1119. local AA = Instance.new('Attachment',Item.Handle)
  1120. local ATrail = Trail:Clone()
  1121. ATrail.Parent = Character
  1122. ATrail.Attachment1 = AA
  1123. end
  1124. end
  1125. end
  1126.  
  1127. --Extras
  1128. if TrailSettings.Extras == true then
  1129. --Making an Invisible Platform Part
  1130. local a = Instance.new('Part',Character)
  1131. a.CanCollide = false
  1132. a.Size = Vector3.new(2,.2,2)
  1133. a.Transparency = 1
  1134.  
  1135. --Constantly putting it under your feet
  1136. if TrailSettings.R15 == false then
  1137. spawn(function()
  1138. game:GetService('RunService').RenderStepped:connect(function()
  1139. a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
  1140. end)
  1141. end)
  1142. else
  1143. spawn(function()
  1144. game:GetService('RunService').RenderStepped:connect(function()
  1145. a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
  1146. end)
  1147. end)
  1148. end
  1149.  
  1150. --Make a Trail from both feet to the Platform
  1151. spawn(function()
  1152. repeat wait() until Trail
  1153. local AB = Instance.new('Attachment',a)
  1154. local ABT = Trail:Clone()
  1155. ABT.Parent = Character
  1156. ABT.Attachment0 = A4
  1157. ABT.Attachment1 = AB
  1158. ABT.Color = TrailSettings.Color2
  1159. local ABT2 = Trail:Clone()
  1160. ABT2.Parent = Character
  1161. ABT2.Attachment0 = A5
  1162. ABT2.Attachment1 = AB
  1163. ABT2.Color = TrailSettings.Color2
  1164. end)
  1165. end
  1166.  
  1167. Effects = { }
  1168. local Player = game.Players.localPlayer
  1169. local Character = Player.Character
  1170. local Humanoid = Character.Humanoid
  1171. local Mouse = Player:GetMouse()
  1172. local LeftArm = Character["Left Arm"]
  1173. local RightArm = Character["Right Arm"]
  1174. local LeftLeg = Character["Left Leg"]
  1175. local RightLeg = Character["Right Leg"]
  1176. local Head = Character.Head
  1177. local Torso = Character.Torso
  1178. local Camera = game.Workspace.CurrentCamera
  1179. local RootPart = Character.HumanoidRootPart
  1180. local RootJoint = RootPart.RootJoint
  1181. local attack = false
  1182. local Anim = 'Idle'
  1183. local attacktype = 1
  1184. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1185. local velocity = RootPart.Velocity.y
  1186. local sine = 0
  1187. local change = 1
  1188. local Create = LoadLibrary("RbxUtility").Create
  1189. local sick = Instance.new("Sound",Character.Torso)
  1190. sick.SoundId = "rbxassetid://869000977"
  1191. sick.Looped = true
  1192. sick.Pitch = 1
  1193. sick.Volume = 1
  1194. sick:Play()
  1195.  
  1196. local m = Create("Model"){
  1197. Parent = Character,
  1198. Name = "WeaponModel",
  1199. }
  1200.  
  1201. Humanoid.Animator.Parent = nil
  1202. Character.Animate.Parent = nil
  1203.  
  1204. local newMotor = function(part0, part1, c0, c1)
  1205. local w = Create('Motor'){
  1206. Parent = part0,
  1207. Part0 = part0,
  1208. Part1 = part1,
  1209. C0 = c0,
  1210. C1 = c1,
  1211. }
  1212. return w
  1213. end
  1214.  
  1215. function clerp(a, b, t)
  1216. return a:lerp(b, t)
  1217. end
  1218.  
  1219. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1220. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1221.  
  1222. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  1223. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  1224. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  1225. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  1226. RootJoint.C1 = CFrame.new(0, 0, 0)
  1227. RootJoint.C0 = CFrame.new(0, 0, 0)
  1228. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  1229. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  1230.  
  1231. local rarmc1 = RW.C1
  1232. local larmc1 = LW.C1
  1233. local rlegc1 = RH.C1
  1234. local llegc1 = LH.C1
  1235.  
  1236. local resetc1 = false
  1237.  
  1238. function PlayAnimationFromTable(table, speed, bool)
  1239. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  1240. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  1241. RW.C0 = clerp(RW.C0, table[3], speed)
  1242. LW.C0 = clerp(LW.C0, table[4], speed)
  1243. RH.C0 = clerp(RH.C0, table[5], speed)
  1244. LH.C0 = clerp(LH.C0, table[6], speed)
  1245. if bool == true then
  1246. if resetc1 == false then
  1247. resetc1 = true
  1248. RootJoint.C1 = RootJoint.C1
  1249. Torso.Neck.C1 = Torso.Neck.C1
  1250. RW.C1 = rarmc1
  1251. LW.C1 = larmc1
  1252. RH.C1 = rlegc1
  1253. LH.C1 = llegc1
  1254. end
  1255. end
  1256. end
  1257.  
  1258. ArtificialHB = Create("BindableEvent", script){
  1259. Parent = script,
  1260. Name = "Heartbeat",
  1261. }
  1262.  
  1263. script:WaitForChild("Heartbeat")
  1264.  
  1265. frame = 1 / 30
  1266. tf = 0
  1267. allowframeloss = false
  1268. tossremainder = false
  1269. lastframe = tick()
  1270. script.Heartbeat:Fire()
  1271.  
  1272. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1273. tf = tf + s
  1274. if tf >= frame then
  1275. if allowframeloss then
  1276. script.Heartbeat:Fire()
  1277. lastframe = tick()
  1278. else
  1279. for i = 1, math.floor(tf / frame) do
  1280. script.Heartbeat:Fire()
  1281. end
  1282. lastframe = tick()
  1283. end
  1284. if tossremainder then
  1285. tf = 0
  1286. else
  1287. tf = tf - frame * math.floor(tf / frame)
  1288. end
  1289. end
  1290. end)
  1291.  
  1292. function swait(num)
  1293. if num == 0 or num == nil then
  1294. ArtificialHB.Event:wait()
  1295. else
  1296. for i = 0, num do
  1297. ArtificialHB.Event:wait()
  1298. end
  1299. end
  1300. end
  1301.  
  1302. function RemoveOutlines(part)
  1303. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1304. end
  1305.  
  1306. CFuncs = {
  1307. Part = {
  1308. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1309. local Part = Create("Part"){
  1310. Parent = Parent,
  1311. Reflectance = Reflectance,
  1312. Transparency = Transparency,
  1313. CanCollide = false,
  1314. Locked = true,
  1315. BrickColor = BrickColor.new(tostring(BColor)),
  1316. Name = Name,
  1317. Size = Size,
  1318. Material = Material,
  1319. }
  1320. RemoveOutlines(Part)
  1321. return Part
  1322. end;
  1323. };
  1324.  
  1325. Mesh = {
  1326. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1327. local Msh = Create(Mesh){
  1328. Parent = Part,
  1329. Offset = OffSet,
  1330. Scale = Scale,
  1331. }
  1332. if Mesh == "SpecialMesh" then
  1333. Msh.MeshType = MeshType
  1334. Msh.MeshId = MeshId
  1335. end
  1336. return Msh
  1337. end;
  1338. };
  1339.  
  1340. Weld = {
  1341. Create = function(Parent, Part0, Part1, C0, C1)
  1342. local Weld = Create("Weld"){
  1343. Parent = Parent,
  1344. Part0 = Part0,
  1345. Part1 = Part1,
  1346. C0 = C0,
  1347. C1 = C1,
  1348. }
  1349. return Weld
  1350. end;
  1351. };
  1352.  
  1353. Sound = {
  1354. Create = function(id, par, vol, pit)
  1355. coroutine.resume(coroutine.create(function()
  1356. local Sound = Create("Sound"){
  1357. Volume = vol,
  1358. Pitch = pit or 1,
  1359. SoundId = "rbxassetid://" .. id,
  1360. Parent = par or workspace,
  1361. }
  1362. Sound:play()
  1363. game:GetService("Debris"):AddItem(Sound, 10)
  1364. end))
  1365. end;
  1366. };
  1367.  
  1368. Decal = {
  1369. Create = function(Color, Texture, Transparency, Name, Parent)
  1370. local Decal = Create("Decal"){
  1371. Color3 = Color,
  1372. Texture = "rbxassetid://" .. Texture,
  1373. Transparency = Transparency,
  1374. Name = Name,
  1375. Parent = Parent,
  1376. }
  1377. return Decal
  1378. end;
  1379. };
  1380.  
  1381. BillboardGui = {
  1382. Create = function(Parent, Image, Position, Size)
  1383. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  1384. BillPar.CFrame = CFrame.new(Position)
  1385. local Bill = Create("BillboardGui"){
  1386. Parent = BillPar,
  1387. Adornee = BillPar,
  1388. Size = UDim2.new(1, 0, 1, 0),
  1389. SizeOffset = Vector2.new(Size, Size),
  1390. }
  1391. local d = Create("ImageLabel", Bill){
  1392. Parent = Bill,
  1393. BackgroundTransparency = 1,
  1394. Size = UDim2.new(1, 0, 1, 0),
  1395. Image = "rbxassetid://" .. Image,
  1396. }
  1397. return BillPar
  1398. end
  1399. };
  1400.  
  1401. ParticleEmitter = {
  1402. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1403. local Particle = Create("ParticleEmitter"){
  1404. Parent = Parent,
  1405. Color = ColorSequence.new(Color1, Color2),
  1406. LightEmission = LightEmission,
  1407. Size = Size,
  1408. Texture = Texture,
  1409. Transparency = Transparency,
  1410. ZOffset = ZOffset,
  1411. Acceleration = Accel,
  1412. Drag = Drag,
  1413. LockedToPart = LockedToPart,
  1414. VelocityInheritance = VelocityInheritance,
  1415. EmissionDirection = EmissionDirection,
  1416. Enabled = Enabled,
  1417. Lifetime = LifeTime,
  1418. Rate = Rate,
  1419. Rotation = Rotation,
  1420. RotSpeed = RotSpeed,
  1421. Speed = Speed,
  1422. VelocitySpread = VelocitySpread,
  1423. }
  1424. return Particle
  1425. end;
  1426. };
  1427.  
  1428. CreateTemplate = {
  1429.  
  1430. };
  1431. }
  1432.  
  1433. function rayCast(Position, Direction, Range, Ignore)
  1434. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1435. end
  1436.  
  1437. FindNearestTorso = function(pos)
  1438. local list = (game.Workspace:children())
  1439. local torso = nil
  1440. local dist = 1000
  1441. local temp, human, temp2 = nil, nil, nil
  1442. for x = 1, #list do
  1443. temp2 = list[x]
  1444. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1445. temp = temp2:findFirstChild("Torso")
  1446. human = temp2:findFirstChild("Humanoid")
  1447. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  1448. local dohit = true
  1449. if dohit == true then
  1450. torso = temp
  1451. dist = (temp.Position - pos).magnitude
  1452. end
  1453. end
  1454. end
  1455. end
  1456. return torso, dist
  1457. end
  1458.  
  1459. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1460. if hit.Parent == nil then
  1461. return
  1462. end
  1463. local h = hit.Parent:FindFirstChild("Humanoid")
  1464. for _, v in pairs(hit.Parent:children()) do
  1465. if v:IsA("Humanoid") then
  1466. h = v
  1467. end
  1468. end
  1469. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1470. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1471. if hit.Parent.DebounceHit.Value == true then
  1472. return
  1473. end
  1474. end
  1475. local c = Create("ObjectValue"){
  1476. Name = "creator",
  1477. Value = game:service("Players").LocalPlayer,
  1478. Parent = h,
  1479. }
  1480. game:GetService("Debris"):AddItem(c, .5)
  1481. if HitSound ~= nil and HitPitch ~= nil then
  1482. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1483. end
  1484. local Damage = math.random(minim, maxim)
  1485. local blocked = false
  1486. local block = hit.Parent:findFirstChild("Block")
  1487. if block ~= nil then
  1488. if block.className == "IntValue" then
  1489. if block.Value > 0 then
  1490. blocked = true
  1491. block.Value = block.Value - 1
  1492. print(block.Value)
  1493. end
  1494. end
  1495. end
  1496. if blocked == false then
  1497. h.Health = h.Health - Damage
  1498. 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)
  1499. else
  1500. h.Health = h.Health - (Damage / 2)
  1501. 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)
  1502. end
  1503. if Type == "Knockdown" then
  1504. local hum = hit.Parent.Humanoid
  1505. hum.PlatformStand = true
  1506. coroutine.resume(coroutine.create(function(HHumanoid)
  1507. swait(1)
  1508. HHumanoid.PlatformStand = false
  1509. end), hum)
  1510. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1511. local bodvol = Create("BodyVelocity"){
  1512. velocity = angle * knockback,
  1513. P = 5000,
  1514. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1515. Parent = hit,
  1516. }
  1517. local rl = Create("BodyAngularVelocity"){
  1518. P = 3000,
  1519. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1520. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1521. Parent = hit,
  1522. }
  1523. game:GetService("Debris"):AddItem(bodvol, .5)
  1524. game:GetService("Debris"):AddItem(rl, .5)
  1525. elseif Type == "Normal" then
  1526. local vp = Create("BodyVelocity"){
  1527. P = 500,
  1528. maxForce = Vector3.new(math.huge, 0, math.huge),
  1529. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1530. }
  1531. if knockback > 0 then
  1532. vp.Parent = hit.Parent.Torso
  1533. end
  1534. game:GetService("Debris"):AddItem(vp, .5)
  1535. elseif Type == "Up" then
  1536. local bodyVelocity = Create("BodyVelocity"){
  1537. velocity = Vector3.new(0, 20, 0),
  1538. P = 5000,
  1539. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1540. Parent = hit,
  1541. }
  1542. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1543. elseif Type == "DarkUp" then
  1544. coroutine.resume(coroutine.create(function()
  1545. for i = 0, 1, 0.1 do
  1546. swait()
  1547. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1548. end
  1549. end))
  1550. local bodyVelocity = Create("BodyVelocity"){
  1551. velocity = Vector3.new(0, 20, 0),
  1552. P = 5000,
  1553. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1554. Parent = hit,
  1555. }
  1556. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1557. elseif Type == "Snare" then
  1558. local bp = Create("BodyPosition"){
  1559. P = 2000,
  1560. D = 100,
  1561. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1562. position = hit.Parent.Torso.Position,
  1563. Parent = hit.Parent.Torso,
  1564. }
  1565. game:GetService("Debris"):AddItem(bp, 1)
  1566. elseif Type == "Freeze" then
  1567. local BodPos = Create("BodyPosition"){
  1568. P = 50000,
  1569. D = 1000,
  1570. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1571. position = hit.Parent.Torso.Position,
  1572. Parent = hit.Parent.Torso,
  1573. }
  1574. local BodGy = Create("BodyGyro") {
  1575. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1576. P = 20e+003,
  1577. Parent = hit.Parent.Torso,
  1578. cframe = hit.Parent.Torso.CFrame,
  1579. }
  1580. hit.Parent.Torso.Anchored = true
  1581. coroutine.resume(coroutine.create(function(Part)
  1582. swait(1.5)
  1583. Part.Anchored = false
  1584. end), hit.Parent.Torso)
  1585. game:GetService("Debris"):AddItem(BodPos, 3)
  1586. game:GetService("Debris"):AddItem(BodGy, 3)
  1587. end
  1588. local debounce = Create("BoolValue"){
  1589. Name = "DebounceHit",
  1590. Parent = hit.Parent,
  1591. Value = true,
  1592. }
  1593. game:GetService("Debris"):AddItem(debounce, Delay)
  1594. c = Create("ObjectValue"){
  1595. Name = "creator",
  1596. Value = Player,
  1597. Parent = h,
  1598. }
  1599. game:GetService("Debris"):AddItem(c, .5)
  1600. end
  1601. end
  1602.  
  1603. function ShowDamage(Pos, Text, Time, Color)
  1604. local Rate = (1 / 30)
  1605. local Pos = (Pos or Vector3.new(0, 0, 0))
  1606. local Text = (Text or "")
  1607. local Time = (Time or 2)
  1608. local Color = (Color or Color3.new(1, 0, 1))
  1609. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1610. EffectPart.Anchored = true
  1611. local BillboardGui = Create("BillboardGui"){
  1612. Size = UDim2.new(3, 0, 3, 0),
  1613. Adornee = EffectPart,
  1614. Parent = EffectPart,
  1615. }
  1616. local TextLabel = Create("TextLabel"){
  1617. BackgroundTransparency = 1,
  1618. Size = UDim2.new(1, 0, 1, 0),
  1619. Text = Text,
  1620. Font = "SciFi",
  1621. TextColor3 = Color,
  1622. TextScaled = true,
  1623. Parent = BillboardGui,
  1624. }
  1625. game.Debris:AddItem(EffectPart, (Time))
  1626. EffectPart.Parent = game:GetService("Workspace")
  1627. delay(0, function()
  1628. local Frames = (Time / Rate)
  1629. for Frame = 1, Frames do
  1630. wait(Rate)
  1631. local Percent = (Frame / Frames)
  1632. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1633. TextLabel.TextTransparency = Percent
  1634. end
  1635. if EffectPart and EffectPart.Parent then
  1636. EffectPart:Destroy()
  1637. end
  1638. end)
  1639. end
  1640.  
  1641. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1642. for _, c in pairs(workspace:children()) do
  1643. local hum = c:findFirstChild("Humanoid")
  1644. if hum ~= nil then
  1645. local head = c:findFirstChild("Torso")
  1646. if head ~= nil then
  1647. local targ = head.Position - Part.Position
  1648. local mag = targ.magnitude
  1649. if mag <= Magnitude and c.Name ~= Player.Name then
  1650. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  1651. end
  1652. end
  1653. end
  1654. end
  1655. end
  1656.  
  1657.  
  1658.  
  1659. ---some future chest tinglol---
  1660.  
  1661. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1.18999839, 1.59999871, 1))
  1662. 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))
  1663. 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))
  1664. Middle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Institutional white","Middle",Vector3.new(2, 2, 1))
  1665. 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))
  1666. CFuncs.Mesh.Create("BlockMesh",Middle,"","",Vector3.new(0, 0, 0),Vector3.new(0, 0, 0))
  1667. Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  1668. 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))
  1669. CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
  1670. Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  1671. 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))
  1672. CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
  1673. Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  1674. 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))
  1675. CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
  1676. Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  1677. 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))
  1678. CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1, 1.00999999))
  1679.  
  1680. ----rarm----
  1681.  
  1682. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Handle",Vector3.new(0.5625, 0.200000003, 0.5625))
  1683. 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))
  1684. CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1))
  1685. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.100000113, 0.490000099, 1.01999998))
  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.180709839, 2.04907203, 0.000366210938, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1))
  1687. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1688. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1689. 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))
  1690. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1691. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999))
  1692. 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))
  1693. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1694. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003))
  1695. 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))
  1696. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1697. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1698. 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))
  1699. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01000011, 0.579999983, 1.00999999))
  1700. 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))
  1701. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1702. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1703. 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))
  1704. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1705. 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))
  1706. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1707. 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))
  1708. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1709. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 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.00463867188, 0.624020576, 0.695724487, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0))
  1711. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1712. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1713. 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))
  1714. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1715. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003))
  1716. 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))
  1717. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1718. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003))
  1719. 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))
  1720. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1721. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1722. 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))
  1723. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1724. RFHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RFHitbox",Vector3.new(1.37, 2.26999998, 1.10000002))
  1725. 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))
  1726. part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1727. 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))
  1728. 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))
  1729. part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1730. 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))
  1731. 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))
  1732. part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1733. 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))
  1734. 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))
  1735. part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1736. 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))
  1737. 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))
  1738. part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1739. 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))
  1740. 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))
  1741. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996))
  1742. 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))
  1743. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999))
  1744. 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))
  1745. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979))
  1746. 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))
  1747. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999))
  1748. 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))
  1749. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979))
  1750. 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))
  1751. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003))
  1752. 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))
  1753. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003))
  1754. 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))
  1755. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003))
  1756. 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))
  1757. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003))
  1758. 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))
  1759. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003))
  1760. 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))
  1761. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003))
  1762. 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))
  1763. ---larm---
  1764.  
  1765. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1766. 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))
  1767. 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))
  1768. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1769. 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))
  1770. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1771. 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))
  1772. 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))
  1773. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1774. 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))
  1775. 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))
  1776. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1777. 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))
  1778. 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))
  1779. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1780. 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))
  1781. 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))
  1782. Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.5625, 0.200000003, 0.5625))
  1783. 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))
  1784. CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1))
  1785. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003))
  1786. 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))
  1787. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1788. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1789. 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))
  1790. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1791. 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))
  1792. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1793. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003))
  1794. 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))
  1795. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1796. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1797. 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))
  1798. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 0.200000003))
  1799. 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))
  1800. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1801. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1802. 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))
  1803. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.579999983, 1.00999999))
  1804. 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))
  1805. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1806. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1807. 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))
  1808. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1809. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003))
  1810. 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))
  1811. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1812. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1813. 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))
  1814. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1815. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003))
  1816. 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))
  1817. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1818. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999))
  1819. 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))
  1820. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1821. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979))
  1822. 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))
  1823. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999))
  1824. 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))
  1825. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999))
  1826. 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))
  1827. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996))
  1828. 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))
  1829. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979))
  1830. 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))
  1831. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003))
  1832. 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))
  1833. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003))
  1834. 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))
  1835. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003))
  1836. 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))
  1837. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003))
  1838. 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))
  1839. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003))
  1840. 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))
  1841. d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003))
  1842. 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))
  1843. LfHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","LfHitbox",Vector3.new(1.23000014, 2.07999992, 1.08000004))
  1844. 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))
  1845.  
  1846. --headlol----
  1847. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Brown","Handle",Vector3.new(1, 0.800000012, 2))
  1848. 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))
  1849. 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))
  1850. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1851. 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))
  1852. 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))
  1853. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1854. 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))
  1855. 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))
  1856. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1857. 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))
  1858. 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))
  1859. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1860. 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))
  1861. 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))
  1862. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.60000002384186,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1863. 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))
  1864. 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))
  1865.  
  1866.  
  1867. --torsoa----
  1868.  
  1869.  
  1870. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1871. 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))
  1872. 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))
  1873. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1874. 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))
  1875. 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))
  1876. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1877. 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))
  1878. 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))
  1879. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1880. 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))
  1881. 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))
  1882. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1883. 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))
  1884. 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))
  1885. f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1886. 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))
  1887. 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))
  1888. Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(1, 0.200000003, 1))
  1889. 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))
  1890. CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1891. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1892. 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))
  1893. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044))
  1894. 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))
  1895. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1896. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044))
  1897. 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))
  1898. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1899. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044))
  1900. 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))
  1901. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1902. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(2.00999999, 1.13, 0.620000005))
  1903. 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))
  1904. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044))
  1905. 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))
  1906. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1907. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1908. 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))
  1909. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1910. 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))
  1911. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014))
  1912. 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))
  1913. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014))
  1914. 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))
  1915. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1916. 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))
  1917.  
  1918. ---rightleg---
  1919. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1920. 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))
  1921. 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))
  1922. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1923. 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))
  1924. 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))
  1925. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1926. 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))
  1927. 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))
  1928. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1929. 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))
  1930. 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))
  1931. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1932. 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))
  1933. 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))
  1934. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1935. 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))
  1936. 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))
  1937. Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875))
  1938. 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))
  1939. CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1))
  1940. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.410000026, 1.01999998))
  1941. 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))
  1942. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1943. 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))
  1944. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1945. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1946. 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))
  1947. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1948. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021))
  1949. 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))
  1950. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5))
  1951. 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))
  1952. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003))
  1953. 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))
  1954. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
  1955. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1956. 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))
  1957. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1958. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003))
  1959. 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))
  1960. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
  1961. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1962. 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))
  1963. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1964. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981))
  1965. 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))
  1966. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998))
  1967. 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))
  1968. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1969. 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))
  1970. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1971. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1972. 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))
  1973. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1974. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1975. 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))
  1976. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1977. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  1978. 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))
  1979. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1980. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003))
  1981. 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))
  1982. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
  1983. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003))
  1984. 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))
  1985. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  1986. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1987. 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))
  1988. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1989. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1990. 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))
  1991. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1992. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1993. 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))
  1994. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1995. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1996. 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))
  1997. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1998. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997))
  1999. 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))
  2000. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017))
  2001. 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))
  2002. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  2003. 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))
  2004. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995))
  2005. 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))
  2006. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  2007. 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))
  2008. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  2009. 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))
  2010. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  2011. 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))
  2012. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005))
  2013. 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))
  2014.  
  2015. ----leftleg----
  2016. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2017. 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))
  2018. 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))
  2019. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2020. 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))
  2021. 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))
  2022. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2023. 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))
  2024. 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))
  2025. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2026. 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))
  2027. 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))
  2028. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2029. 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))
  2030. 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))
  2031. F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2032. 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))
  2033. 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))
  2034. Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875))
  2035. 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))
  2036. CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1))
  2037. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021))
  2038. 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))
  2039. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003))
  2040. 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))
  2041. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75))
  2042. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003))
  2043. 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))
  2044. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
  2045. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981))
  2046. 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))
  2047. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003))
  2048. 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))
  2049. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
  2050. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998))
  2051. 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))
  2052. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5))
  2053. 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))
  2054. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003))
  2055. 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))
  2056. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75))
  2057. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2058. 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))
  2059. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2060. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.230000004, 1.01999998))
  2061. 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))
  2062. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997))
  2063. 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))
  2064. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.02999997, 0.200000003, 1.02999997))
  2065. 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))
  2066. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2067. 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))
  2068. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2069. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2070. 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))
  2071. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2072. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2073. 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))
  2074. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2075. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995))
  2076. 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))
  2077. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  2078. 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))
  2079. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005))
  2080. 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))
  2081. Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  2082. 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))
  2083. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  2084. 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))
  2085. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017))
  2086. 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))
  2087. Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5))
  2088. 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))
  2089.  
  2090.  
  2091.  
  2092. EffectModel = Create("Model"){
  2093. Parent = Character,
  2094. Name = "Effects",
  2095. }
  2096.  
  2097. Effects = {
  2098. Block = {
  2099. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2100. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2101. prt.Anchored = true
  2102. prt.CFrame = cframe
  2103. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2104. game:GetService("Debris"):AddItem(prt, 10)
  2105. if Type == 1 or Type == nil then
  2106. table.insert(Effects, {
  2107. prt,
  2108. "Block1",
  2109. delay,
  2110. x3,
  2111. y3,
  2112. z3,
  2113. msh
  2114. })
  2115. elseif Type == 2 then
  2116. table.insert(Effects, {
  2117. prt,
  2118. "Block2",
  2119. delay,
  2120. x3,
  2121. y3,
  2122. z3,
  2123. msh
  2124. })
  2125. end
  2126. end;
  2127. };
  2128.  
  2129. Cylinder = {
  2130. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2131. local prt = CFuncs.Part..Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  2132. prt.Anchored = true
  2133. prt.CFrame = cframe
  2134. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2135. game:GetService("Debris"):AddItem(prt, 2)
  2136. Effects[#Effects + 1] = {
  2137. prt,
  2138. "Cylinder",
  2139. delay,
  2140. x3,
  2141. y3,
  2142. z3
  2143. }
  2144. end;
  2145. };
  2146.  
  2147. Head = {
  2148. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2149. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2150. prt.Anchored = true
  2151. prt.CFrame = cframe
  2152. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2153. game:GetService("Debris"):AddItem(prt, 10)
  2154. table.insert(Effects, {
  2155. prt,
  2156. "Cylinder",
  2157. delay,
  2158. x3,
  2159. y3,
  2160. z3,
  2161. msh
  2162. })
  2163. end;
  2164. };
  2165.  
  2166. Sphere = {
  2167. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2168. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2169. prt.Anchored = true
  2170. prt.CFrame = cframe
  2171. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2172. game:GetService("Debris"):AddItem(prt, 10)
  2173. table.insert(Effects, {
  2174. prt,
  2175. "Cylinder",
  2176. delay,
  2177. x3,
  2178. y3,
  2179. z3,
  2180. msh
  2181. })
  2182. end;
  2183. };
  2184.  
  2185. Elect = {
  2186. Create = function(cff, x, y, z)
  2187. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  2188. prt.Anchored = true
  2189. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  2190. prt.CFrame = CFrame.new(prt.Position)
  2191. game:GetService("Debris"):AddItem(prt, 2)
  2192. local xval = math.random() / 2
  2193. local yval = math.random() / 2
  2194. local zval = math.random() / 2
  2195. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  2196. table.insert(Effects, {
  2197. prt,
  2198. "Elec",
  2199. 0.1,
  2200. x,
  2201. y,
  2202. z,
  2203. xval,
  2204. yval,
  2205. zval
  2206. })
  2207. end;
  2208.  
  2209. };
  2210.  
  2211. Ring = {
  2212. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2213. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2214. prt.Anchored = true
  2215. prt.CFrame = cframe
  2216. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2217. game:GetService("Debris"):AddItem(prt, 10)
  2218. table.insert(Effects, {
  2219. prt,
  2220. "Cylinder",
  2221. delay,
  2222. x3,
  2223. y3,
  2224. z3,
  2225. msh
  2226. })
  2227. end;
  2228. };
  2229.  
  2230.  
  2231. Wave = {
  2232. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2233. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2234. prt.Anchored = true
  2235. prt.CFrame = cframe
  2236. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2237. game:GetService("Debris"):AddItem(prt, 10)
  2238. table.insert(Effects, {
  2239. prt,
  2240. "Cylinder",
  2241. delay,
  2242. x3,
  2243. y3,
  2244. z3,
  2245. msh
  2246. })
  2247. end;
  2248. };
  2249.  
  2250. Break = {
  2251. Create = function(brickcolor, cframe, x1, y1, z1)
  2252. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2253. prt.Anchored = true
  2254. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2255. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2256. local num = math.random(10, 50) / 1000
  2257. game:GetService("Debris"):AddItem(prt, 10)
  2258. table.insert(Effects, {
  2259. prt,
  2260. "Shatter",
  2261. num,
  2262. prt.CFrame,
  2263. math.random() - math.random(),
  2264. 0,
  2265. math.random(50, 100) / 100
  2266. })
  2267. end;
  2268. };
  2269.  
  2270. Fire = {
  2271. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  2272. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2273. prt.Anchored = true
  2274. prt.CFrame = cframe
  2275. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2276. game:GetService("Debris"):AddItem(prt, 10)
  2277. table.insert(Effects, {
  2278. prt,
  2279. "Fire",
  2280. delay,
  2281. 1,
  2282. 1,
  2283. 1,
  2284. msh
  2285. })
  2286. end;
  2287. };
  2288.  
  2289. FireWave = {
  2290. Create = function(brickcolor, cframe, x1, y1, z1)
  2291. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  2292. prt.Anchored = true
  2293. prt.CFrame = cframe
  2294. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2295. local d = Create("Decal"){
  2296. Parent = prt,
  2297. Texture = "rbxassetid://26356434",
  2298. Face = "Top",
  2299. }
  2300. local d = Create("Decal"){
  2301. Parent = prt,
  2302. Texture = "rbxassetid://26356434",
  2303. Face = "Bottom",
  2304. }
  2305. game:GetService("Debris"):AddItem(prt, 10)
  2306. table.insert(Effects, {
  2307. prt,
  2308. "FireWave",
  2309. 1,
  2310. 30,
  2311. math.random(400, 600) / 100,
  2312. msh
  2313. })
  2314. end;
  2315. };
  2316.  
  2317. Lightning = {
  2318. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  2319. local magz = (p0 - p1).magnitude
  2320. local curpos = p0
  2321. local trz = {
  2322. -ofs,
  2323. ofs
  2324. }
  2325. for i = 1, tym do
  2326. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  2327. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  2328. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  2329. li.Material = "Neon"
  2330. if tym == i then
  2331. local magz2 = (curpos - p1).magnitude
  2332. li.Size = Vector3.new(th, th, magz2)
  2333. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  2334. table.insert(Effects, {
  2335. li,
  2336. "Disappear",
  2337. last
  2338. })
  2339. else
  2340. do
  2341. do
  2342. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  2343. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  2344. game.Debris:AddItem(li, 10)
  2345. table.insert(Effects, {
  2346. li,
  2347. "Disappear",
  2348. last
  2349. })
  2350. end
  2351. end
  2352. end
  2353. end
  2354. end
  2355. };
  2356.  
  2357. EffectTemplate = {
  2358.  
  2359. };
  2360. }
  2361.  
  2362. function attackone()
  2363. attack = true
  2364. for i = 0, 1, 0.1 do
  2365. swait()
  2366. PlayAnimationFromTable({
  2367. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2368. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2369. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2370. CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2371. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2372. CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2373. }, .3, false)
  2374. end
  2375. attack = false
  2376. end
  2377.  
  2378. Mouse.Button1Down:connect(function()
  2379. if attack == false and attacktype == 1 then
  2380. attackone()
  2381. end
  2382. end)
  2383.  
  2384. Mouse.KeyDown:connect(function(k)
  2385. k = k:lower()
  2386. if attack == false and k == '' then
  2387.  
  2388. end
  2389. end)
  2390.  
  2391. while true do
  2392. swait()
  2393. for i, v in pairs(Character:GetChildren()) do
  2394. if v:IsA("Part") then
  2395. v.Material = "SmoothPlastic"
  2396. elseif v:IsA("Accessory") then
  2397. v:WaitForChild("Handle").Material = "SmoothPlastic"
  2398. end
  2399. end
  2400. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2401. velocity = RootPart.Velocity.y
  2402. sine = sine + change
  2403. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  2404. if RootPart.Velocity.y > 1 and hit == nil then
  2405. Anim = "Jump"
  2406. if attack == false then
  2407. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2408. 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)
  2409. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2410. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2411. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2412. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2413. end
  2414. elseif RootPart.Velocity.y < -1 and hit == nil then
  2415. Anim = "Fall"
  2416. if attack == false then
  2417. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2418. 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)
  2419. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2420. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2421. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2422. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2423. end
  2424. elseif Torsovelocity < 1 and hit ~= nil then
  2425. Anim = "Idle"
  2426. if attack == false then
  2427. change = 1
  2428. PlayAnimationFromTable({
  2429. 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),
  2430. 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),
  2431. 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),
  2432. 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),
  2433. 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)),
  2434. 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)),
  2435. }, .3, false)
  2436. end
  2437.  
  2438. elseif Torsovelocity > 2 and hit ~= nil then
  2439. Anim = "Walk"
  2440. if attack == false then
  2441. Character.Humanoid.WalkSpeed = 100
  2442. PlayAnimationFromTable({
  2443. 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),
  2444. 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),
  2445. 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))),
  2446. 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))),
  2447. 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)),
  2448. 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)),
  2449. }, .9, false)
  2450. end
  2451. end
  2452. if 0 < #Effects then
  2453. for e = 1, #Effects do
  2454. if Effects[e] ~= nil then
  2455. local Thing = Effects[e]
  2456. if Thing ~= nil then
  2457. local Part = Thing[1]
  2458. local Mode = Thing[2]
  2459. local Delay = Thing[3]
  2460. local IncX = Thing[4]
  2461. local IncY = Thing[5]
  2462. local IncZ = Thing[6]
  2463. if Thing[2] == "Shoot" then
  2464. local Look = Thing[1]
  2465. local move = 30
  2466. if Thing[8] == 3 then
  2467. move = 10
  2468. end
  2469. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  2470. if Thing[10] ~= nil then
  2471. da = pos
  2472. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  2473. cfa = CFrame.new(Thing[4], pos)
  2474. tehCF = cfa:lerp(cf2, 0.2)
  2475. Thing[1] = tehCF.lookVector
  2476. end
  2477. local mag = (Thing[4] - pos).magnitude
  2478. 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)
  2479. if Thing[8] == 2 then
  2480. 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)
  2481. end
  2482. Thing[4] = Thing[4] + Look * move
  2483. Thing[3] = Thing[3] - 1
  2484. if 2 < Thing[5] then
  2485. Thing[5] = Thing[5] - 0.3
  2486. Thing[6] = Thing[6] - 0.3
  2487. end
  2488. if hit ~= nil then
  2489. Thing[3] = 0
  2490. if Thing[8] == 1 or Thing[8] == 3 then
  2491. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2492. else
  2493. if Thing[8] == 2 then
  2494. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2495. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  2496. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2497. ref.Anchored = true
  2498. ref.CFrame = CFrame.new(pos)
  2499. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  2500. game:GetService("Debris"):AddItem(ref, 0.2)
  2501. 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)
  2502. 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)
  2503. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  2504. end
  2505. end
  2506. end
  2507. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2508. ref.Anchored = true
  2509. ref.CFrame = CFrame.new(pos)
  2510. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  2511. game:GetService("Debris"):AddItem(ref, 1)
  2512. end
  2513. if Thing[3] <= 0 then
  2514. table.remove(Effects, e)
  2515. end
  2516. end
  2517. do
  2518. do
  2519. if Thing[2] == "FireWave" then
  2520. if Thing[3] <= Thing[4] then
  2521. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  2522. Thing[3] = Thing[3] + 1
  2523. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  2524. else
  2525. Part.Parent = nil
  2526. table.remove(Effects, e)
  2527. end
  2528. end
  2529. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  2530. if Thing[1].Transparency <= 1 then
  2531. if Thing[2] == "Block1" then
  2532. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2533. Mesh = Thing[7]
  2534. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2535. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2536. else
  2537. if Thing[2] == "Block2" then
  2538. Thing[1].CFrame = Thing[1].CFrame
  2539. Mesh = Thing[7]
  2540. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2541. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2542. else
  2543. if Thing[2] == "Fire" then
  2544. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  2545. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2546. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2547. else
  2548. if Thing[2] == "Cylinder" then
  2549. Mesh = Thing[7]
  2550. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2551. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2552. else
  2553. if Thing[2] == "Blood" then
  2554. Mesh = Thing[7]
  2555. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2556. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2557. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2558. else
  2559. if Thing[2] == "Elec" then
  2560. Mesh = Thing[10]
  2561. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2562. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2563. else
  2564. if Thing[2] == "Disappear" then
  2565. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2566. end
  2567. end
  2568. end
  2569. end
  2570. end
  2571. end
  2572. end
  2573. else
  2574. Part.Parent = nil
  2575. table.remove(Effects, e)
  2576. end
  2577. end
  2578. end
  2579. end
  2580. end
  2581. end
  2582. end
  2583. end
  2584. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement