Advertisement
Guest User

Untitled

a guest
Jul 29th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.92 KB | None | 0 0
  1.  
  2. 1.I = "badboyfamilyguy"
  3.  
  4.  
  5. 2.game.Players[I].Character.Head.Transparency = 1
  6.  
  7.  
  8. 3.local p = Instance.new("Part")
  9.  
  10.  
  11. 4.p.Parent = game.Players[I].Character.Torso
  12.  
  13.  
  14. 5.p.Position = Vector3.new(0, 50, 0)
  15.  
  16.  
  17. 6.p.BrickColor = BrickColor.new("Really black")
  18.  
  19.  
  20. 7.p.TopSurface = 0
  21.  
  22.  
  23. 8.p.BottomSurface = 0
  24.  
  25.  
  26. 9.p.Size = Vector3.new(1, 1, 2)
  27.  
  28.  
  29. 10.p.CanCollide = False
  30.  
  31.  
  32. 11.local w = Instance.new("Weld")
  33.  
  34.  
  35. 12.w.Parent = game.Players[I].Character
  36.  
  37.  
  38. 13.w.Part1 = game.Players[I].Character.Head
  39.  
  40.  
  41. 14.w.Part0 = p
  42.  
  43.  
  44. 15.w.C0 = CFrame.new(0,0,1.5) * CFrame.fromEulerAnglesXYZ(0,0,0)
  45.  
  46.  
  47. 16.local A = Instance.new("SpecialMesh")
  48.  
  49.  
  50. 17.A.MeshType = "Brick"
  51.  
  52.  
  53. 18.A.Parent = p
  54.  
  55.  
  56. 19.A.Scale = Vector3.new(1.5, 0.8, 1)
  57.  
  58.  
  59. 20.local p = Instance.new("Part")
  60.  
  61.  
  62. 21.p.Parent = game.Players[I].Character.Torso
  63.  
  64.  
  65. 22.p.Position = Vector3.new(0, 50, 0)
  66.  
  67.  
  68. 23.p.BrickColor = BrickColor.new("Really black")
  69.  
  70.  
  71. 24.p.TopSurface = 0
  72.  
  73.  
  74. 25.p.BottomSurface = 0
  75.  
  76.  
  77. 26.p.Size = Vector3.new(1, 1, 1.5)
  78.  
  79.  
  80. 27.p.CanCollide = False
  81.  
  82.  
  83. 28.local w = Instance.new("Weld")
  84.  
  85.  
  86. 29.w.Parent = game.Players[I].Character
  87.  
  88.  
  89. 30.w.Part1 = game.Players[I].Character.Head
  90.  
  91.  
  92. 31.w.Part0 = p
  93.  
  94.  
  95. 32.w.C0 = CFrame.new(0,-1.1,0) * CFrame.fromEulerAnglesXYZ(math.pi/4, 0,0)
  96.  
  97.  
  98. 33.local A = Instance.new("SpecialMesh")
  99.  
  100.  
  101. 34.A.MeshType = "Brick"
  102.  
  103.  
  104. 35.A.Parent = p
  105.  
  106.  
  107. 36.A.Scale = Vector3.new(1.5, 1, 1)
  108.  
  109.  
  110. 37.local p = Instance.new("Part")
  111.  
  112.  
  113. 38.p.Parent = game.Players[I].Character.Torso
  114.  
  115.  
  116. 39.p.Position = Vector3.new(0, 50, 0)
  117.  
  118.  
  119. 40.p.BrickColor = BrickColor.new("Really black")
  120.  
  121.  
  122. 41.p.TopSurface = 0
  123.  
  124.  
  125. 42.p.BottomSurface = 0
  126.  
  127.  
  128. 43.p.Size = Vector3.new(1, 1, 1.5)
  129.  
  130.  
  131. 44.p.CanCollide = False
  132.  
  133.  
  134. 45.local w = Instance.new("Weld")
  135.  
  136.  
  137. 46.w.Parent = game.Players[I].Character
  138.  
  139.  
  140. 47.w.Part1 = game.Players[I].Character.Head
  141.  
  142.  
  143. 48.w.Part0 = p
  144.  
  145.  
  146. 49.w.C0 = CFrame.new(0.4,-1.4,-1.3) * CFrame.fromEulerAnglesXYZ(math.pi/4, 0,0)
  147.  
  148.  
  149. 50.local A = Instance.new("SpecialMesh")
  150.  
  151.  
  152. 51.A.MeshType = "Brick"
  153.  
  154.  
  155. 52.A.Parent = p
  156.  
  157.  
  158. 53.A.Scale = Vector3.new(0.5, 0.5, 0.5)
  159.  
  160.  
  161. 54.local p = Instance.new("Part")
  162.  
  163.  
  164. 55.p.Parent = game.Players[I].Character.Torso
  165.  
  166.  
  167. 56.p.Position = Vector3.new(0, 50, 0)
  168.  
  169.  
  170. 57.p.BrickColor = BrickColor.new("Really black")
  171.  
  172.  
  173. 58.p.TopSurface = 0
  174.  
  175.  
  176. 59.p.BottomSurface = 0
  177.  
  178.  
  179. 60.p.Size = Vector3.new(1, 1, 1.5)
  180.  
  181.  
  182. 61.p.CanCollide = False
  183.  
  184.  
  185. 62.local w = Instance.new("Weld")
  186.  
  187.  
  188. 63.w.Parent = game.Players[I].Character
  189.  
  190.  
  191. 64.w.Part1 = game.Players[I].Character.Head
  192.  
  193.  
  194. 65.w.Part0 = p
  195.  
  196.  
  197. 66.w.C0 = CFrame.new(-0.4,-1.4,-1.3) * CFrame.fromEulerAnglesXYZ(math.pi/4, 0,0)
  198.  
  199.  
  200. 67.local A = Instance.new("SpecialMesh")
  201.  
  202.  
  203. 68.A.MeshType = "Brick"
  204.  
  205.  
  206. 69.A.Parent = p
  207.  
  208.  
  209. 70.A.Scale = Vector3.new(0.5, 0.5, 0.5)
  210.  
  211.  
  212. 71.local p = Instance.new("Part")
  213.  
  214.  
  215. 72.p.Parent = game.Players[I].Character.Torso
  216.  
  217.  
  218. 73.p.Position = Vector3.new(0, 50, 0)
  219.  
  220.  
  221. 74.p.BrickColor = BrickColor.new("Really black")
  222.  
  223.  
  224. 75.p.TopSurface = 0
  225.  
  226.  
  227. 76.p.BottomSurface = 0
  228.  
  229.  
  230. 77.p.Size = Vector3.new(1, 1, 1.5)
  231.  
  232.  
  233. 78.p.CanCollide = False
  234.  
  235.  
  236. 79.local w = Instance.new("Weld")
  237.  
  238.  
  239. 80.w.Parent = game.Players[I].Character
  240.  
  241.  
  242. 81.w.Part1 = game.Players[I].Character.Head
  243.  
  244.  
  245. 82.w.Part0 = p
  246.  
  247.  
  248. 83.w.C0 = CFrame.new(0,0.2,-0.1) * CFrame.fromEulerAnglesXYZ(math.pi/-3,0,0)
  249.  
  250.  
  251. 84.local A = Instance.new("SpecialMesh")
  252.  
  253.  
  254. 85.A.MeshType = "Brick"
  255.  
  256.  
  257. 86.A.Parent = p
  258.  
  259.  
  260. 87.A.Scale = Vector3.new(1.5, 1.5, 1.5)
  261.  
  262.  
  263. 88.for c = 1, #game.Players[I].Character:GetChildren()do
  264.  
  265.  
  266. 89.char = game.Players[I].Character:GetChildren()
  267.  
  268.  
  269. 90.if char[c]:IsA("Part") then
  270.  
  271.  
  272. 91.char[c].Transparency = 1
  273.  
  274.  
  275. 92.elseif char[c]:IsA("Hat") then
  276.  
  277.  
  278. 93.char[c].Handle:Remove()
  279.  
  280.  
  281. 94.end
  282.  
  283.  
  284. 95.end
  285.  
  286.  
  287. 96.if game.Players[I].Character.Head:FindFirstChild("face") then
  288.  
  289.  
  290. 97.game.Players[I].Character.Head.face:Remove()
  291.  
  292.  
  293. 98.end
  294.  
  295.  
  296. 99.--[[------------------------------------------------------------------------]]
  297.  
  298.  
  299. 100.Player = game.Players[I]
  300.  
  301.  
  302. 101.local h = Instance.new("HopperBin")
  303.  
  304.  
  305. 102.h.Name = "Fly"
  306.  
  307.  
  308. 103.h.Parent = Player.Backpack
  309.  
  310.  
  311. 104.local s = Instance.new("Script")
  312.  
  313.  
  314. 105.s.Parent = h
  315.  
  316.  
  317. 106.s.Name = "Script"
  318.  
  319.  
  320. 107.local bin = s.Parent
  321.  
  322.  
  323. 108.length = 3
  324.  
  325.  
  326. 109.away = 2
  327.  
  328.  
  329. 110.gap = 0
  330.  
  331.  
  332. 111.segs = 40
  333.  
  334.  
  335. 112.distance = length/3
  336.  
  337.  
  338. 113.speed = 1
  339.  
  340.  
  341. 114.Wave = 0
  342.  
  343.  
  344. 115.local Tail = {}
  345.  
  346.  
  347. 116.local part0 = Instance.new("Part")
  348.  
  349.  
  350. 117.part0.BrickColor = BrickColor.new("Really black")
  351.  
  352.  
  353. 118.part0.TopSurface = 0
  354.  
  355.  
  356. 119.part0.BottomSurface = 0
  357.  
  358.  
  359. 120.part0.Locked = true
  360.  
  361.  
  362. 121.part0.FormFactor = "Symmetric"
  363.  
  364.  
  365. 122.part0.Size = Vector3.new(2,2,2)
  366.  
  367.  
  368. 123.part0.Anchored = true
  369.  
  370.  
  371. 124.part0.Shape = 1
  372.  
  373.  
  374. 125.part0.CanCollide = true
  375.  
  376.  
  377. 126.part0.Parent = nil
  378.  
  379.  
  380. 127.part0.Name = "Part0"
  381.  
  382.  
  383. 128.local A = Instance.new("SpecialMesh")
  384.  
  385.  
  386. 129.A.MeshType = "Brick"
  387.  
  388.  
  389. 130.A.Parent = part0
  390.  
  391.  
  392. 131.A.Name = "Mesh"
  393.  
  394.  
  395. 132.A.Scale = Vector3.new(1.1, 1.1, 1.1)
  396.  
  397.  
  398. 133.for p = 1,segs do
  399.  
  400.  
  401. 134.Tail[p] = part0:Clone()
  402.  
  403.  
  404. 135.Tail[p].Parent = nil
  405.  
  406.  
  407. 136.Tail[p].Name = "Part"..p
  408.  
  409.  
  410. 137.Tail[p].CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
  411.  
  412.  
  413. 138.Tail[p].Mesh.Scale = Vector3.new(1.1 - (p/1000), 1.1 - (p/1000), 1.1 - (p/1000))
  414.  
  415.  
  416. 139.end
  417.  
  418.  
  419. 140.function onButton1Down(mouse)
  420.  
  421.  
  422. 141.local player = game.Players.LocalPlayer
  423.  
  424.  
  425. 142.if player == nil then return end
  426.  
  427.  
  428. 143.me1 = bin.Parent.Parent
  429.  
  430.  
  431. 144.me = bin.Parent.Parent.Character
  432.  
  433.  
  434. 145.for p = 1,segs do
  435.  
  436.  
  437. 146.Tail[p].Parent = me
  438.  
  439.  
  440. 147.end
  441.  
  442.  
  443. 148.main = part0
  444.  
  445.  
  446. 149.part1 = Tail[1]
  447.  
  448.  
  449. 150.follow = true
  450.  
  451.  
  452. 151.while follow do
  453.  
  454.  
  455. 152.Wave = Wave + 0.02
  456.  
  457.  
  458. 153.distance = length/3
  459.  
  460.  
  461. 154.mousehit = mouse.Hit.p
  462.  
  463.  
  464. 155.if (main.Position - mousehit).magnitude >speed then
  465.  
  466.  
  467. 156.main_mousehit = (main.Position - mousehit).unit*speed
  468.  
  469.  
  470. 157.else
  471.  
  472.  
  473. 158.main_mousehit = (main.Position - mousehit).unit*1
  474.  
  475.  
  476. 159.end
  477.  
  478.  
  479. 160.start1 = main.Position-main_mousehit
  480.  
  481.  
  482. 161.main.CFrame = CFrame.new(start1.x, start1.y, start1.z)
  483.  
  484.  
  485. 162.p1pos = part1.Position
  486.  
  487.  
  488. 163.start1_p1pos = (start1 - p1pos).unit
  489.  
  490.  
  491. 164.spreadp1 = start1_p1pos*(distance+away)
  492.  
  493.  
  494. 165.part1.CFrame = CFrame.new(start1-spreadp1, start1)
  495.  
  496.  
  497. 166.me.Torso.CFrame=Tail[1].CFrame*CFrame.new(0,-0.5,-4)*CFrame.fromEulerAnglesXYZ(-math.pi/5,0,0)
  498.  
  499.  
  500. 167.me.Torso.Anchored = true
  501.  
  502.  
  503. 168.Wave = Wave + 0.02
  504.  
  505.  
  506. 169.pc = me.Torso.CFrame
  507.  
  508.  
  509. 170.starti = me.Torso.Position-(pc.lookVector*distance)
  510.  
  511.  
  512. 171.pipos = Tail[1].Position
  513.  
  514.  
  515. 172.starti_pipos = (starti - pipos).unit
  516.  
  517.  
  518. 173.spreadpi = starti_pipos*(distance+gap)
  519.  
  520.  
  521. 174.Tail[1].CFrame = CFrame.new(starti-spreadpi, starti) + (part0.CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6)/4
  522.  
  523.  
  524. 175.--[[
  525.  
  526.  
  527. 176.for i = 1,39 do
  528.  
  529.  
  530. 177.wait()
  531.  
  532.  
  533. 178.print("p2c = Tail["..i.."].CFrame\
  534.  
  535.  
  536. 179.start3 = Tail["..i.."].Position-(p2c.lookVector*distance)\
  537.  
  538.  
  539. 180.p3pos = Tail["..(i+1).."].Position\
  540.  
  541.  
  542. 181.start3_p3pos = (start3 - p3pos).unit\
  543.  
  544.  
  545. 182.spreadp3 = start3_p3pos*(distance+gap)\
  546.  
  547.  
  548. 183.Tail["..(i+1).."].CFrame = CFrame.new(start3-spreadp3, start3 - Vector3.new(0,math.sin(Wave*6+"..((i-1)/100)..")/4,0) ) + Vector3.new(0,math.sin(Wave*6+"..((i)/100)..")/4,0)\
  549.  
  550.  
  551. 184." )
  552.  
  553.  
  554. 185.end
  555.  
  556.  
  557. 186.]]
  558.  
  559.  
  560. 187.p2c = Tail[1].CFrame start3 = Tail[1].Position-(p2c.lookVector*distance) p3pos = Tail[2].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[2].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[1].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0)/4 ) + (Tail[2].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.01)/4
  561.  
  562.  
  563. 188.p2c = Tail[2].CFrame start3 = Tail[2].Position-(p2c.lookVector*distance) p3pos = Tail[3].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[3].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[2].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.01)/4 ) + (Tail[3].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.02)/4
  564.  
  565.  
  566. 189.p2c = Tail[3].CFrame start3 = Tail[3].Position-(p2c.lookVector*distance) p3pos = Tail[4].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[4].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[3].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.02)/4 ) + (Tail[4].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.03)/4
  567.  
  568.  
  569. 190.p2c = Tail[4].CFrame start3 = Tail[4].Position-(p2c.lookVector*distance) p3pos = Tail[5].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[5].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[4].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.03)/4 ) + (Tail[5].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.04)/4
  570.  
  571.  
  572. 191.p2c = Tail[5].CFrame start3 = Tail[5].Position-(p2c.lookVector*distance) p3pos = Tail[6].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[6].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[5].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.04)/4 ) + (Tail[6].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.05)/4
  573.  
  574.  
  575. 192.p2c = Tail[6].CFrame start3 = Tail[6].Position-(p2c.lookVector*distance) p3pos = Tail[7].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[7].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[6].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.05)/4 ) + (Tail[7].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.06)/4
  576.  
  577.  
  578. 193.p2c = Tail[7].CFrame start3 = Tail[7].Position-(p2c.lookVector*distance) p3pos = Tail[8].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[8].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[7].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.06)/4 ) + (Tail[8].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.07)/4
  579.  
  580.  
  581. 194.p2c = Tail[8].CFrame start3 = Tail[8].Position-(p2c.lookVector*distance) p3pos = Tail[9].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[9].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[8].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.07)/4 ) + (Tail[9].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.08)/4
  582.  
  583.  
  584. 195.p2c = Tail[9].CFrame start3 = Tail[9].Position-(p2c.lookVector*distance) p3pos = Tail[10].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[10].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[9].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.08)/4 ) + (Tail[10].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.09)/4
  585.  
  586.  
  587. 196.p2c = Tail[10].CFrame start3 = Tail[10].Position-(p2c.lookVector*distance) p3pos = Tail[11].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[11].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[10].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.09)/4 ) + (Tail[11].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.1)/4
  588.  
  589.  
  590. 197.p2c = Tail[11].CFrame start3 = Tail[11].Position-(p2c.lookVector*distance) p3pos = Tail[12].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[12].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[11].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.1)/4 ) + (Tail[12].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.11)/4
  591.  
  592.  
  593. 198.p2c = Tail[12].CFrame start3 = Tail[12].Position-(p2c.lookVector*distance) p3pos = Tail[13].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[13].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[12].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.11)/4 ) + (Tail[13].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.12)/4
  594.  
  595.  
  596. 199.p2c = Tail[13].CFrame start3 = Tail[13].Position-(p2c.lookVector*distance) p3pos = Tail[14].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[14].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[13].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.12)/4 ) + (Tail[14].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.13)/4
  597.  
  598.  
  599. 200.p2c = Tail[14].CFrame start3 = Tail[14].Position-(p2c.lookVector*distance) p3pos = Tail[15].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[15].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[14].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.13)/4 ) + (Tail[15].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.14)/4
  600.  
  601.  
  602. 201.p2c = Tail[15].CFrame start3 = Tail[15].Position-(p2c.lookVector*distance) p3pos = Tail[16].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[16].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[15].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.14)/4 ) + (Tail[16].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.15)/4
  603.  
  604.  
  605. 202.p2c = Tail[16].CFrame start3 = Tail[16].Position-(p2c.lookVector*distance) p3pos = Tail[17].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[17].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[16].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.15)/4 ) + (Tail[17].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.16)/4
  606.  
  607.  
  608. 203.p2c = Tail[17].CFrame start3 = Tail[17].Position-(p2c.lookVector*distance) p3pos = Tail[18].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[18].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[17].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.16)/4 ) + (Tail[18].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.17)/4
  609.  
  610.  
  611. 204.p2c = Tail[18].CFrame start3 = Tail[18].Position-(p2c.lookVector*distance) p3pos = Tail[19].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[19].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[18].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.17)/4 ) + (Tail[19].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.18)/4
  612.  
  613.  
  614. 205.p2c = Tail[19].CFrame start3 = Tail[19].Position-(p2c.lookVector*distance) p3pos = Tail[20].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[20].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[19].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.18)/4 ) + (Tail[20].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.19)/4
  615.  
  616.  
  617. 206.p2c = Tail[20].CFrame start3 = Tail[20].Position-(p2c.lookVector*distance) p3pos = Tail[21].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[21].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[20].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.19)/4 ) + (Tail[21].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.2)/4
  618.  
  619.  
  620. 207.p2c = Tail[21].CFrame start3 = Tail[21].Position-(p2c.lookVector*distance) p3pos = Tail[22].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[22].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[21].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.2)/4 ) + (Tail[22].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.21)/4
  621.  
  622.  
  623. 208.p2c = Tail[22].CFrame start3 = Tail[22].Position-(p2c.lookVector*distance) p3pos = Tail[23].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[23].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[22].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.21)/4 ) + (Tail[23].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.22)/4
  624.  
  625.  
  626. 209.p2c = Tail[23].CFrame start3 = Tail[23].Position-(p2c.lookVector*distance) p3pos = Tail[24].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[24].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[23].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.22)/4 ) + (Tail[24].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.23)/4
  627.  
  628.  
  629. 210.p2c = Tail[24].CFrame start3 = Tail[24].Position-(p2c.lookVector*distance) p3pos = Tail[25].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[25].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[24].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.23)/4 ) + (Tail[25].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.24)/4
  630.  
  631.  
  632. 211.p2c = Tail[25].CFrame start3 = Tail[25].Position-(p2c.lookVector*distance) p3pos = Tail[26].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[26].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[25].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.24)/4 ) + (Tail[26].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.25)/4
  633.  
  634.  
  635. 212.p2c = Tail[26].CFrame start3 = Tail[26].Position-(p2c.lookVector*distance) p3pos = Tail[27].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[27].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[26].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.25)/4 ) + (Tail[27].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.26)/4
  636.  
  637.  
  638. 213.p2c = Tail[27].CFrame start3 = Tail[27].Position-(p2c.lookVector*distance) p3pos = Tail[28].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[28].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[27].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.26)/4 ) + (Tail[28].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.27)/4
  639.  
  640.  
  641. 214.p2c = Tail[28].CFrame start3 = Tail[28].Position-(p2c.lookVector*distance) p3pos = Tail[29].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[29].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[28].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.27)/4 ) + (Tail[29].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.28)/4
  642.  
  643.  
  644. 215.p2c = Tail[29].CFrame start3 = Tail[29].Position-(p2c.lookVector*distance) p3pos = Tail[30].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[30].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[29].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.28)/4 ) + (Tail[30].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.29)/4
  645.  
  646.  
  647. 216.p2c = Tail[30].CFrame start3 = Tail[30].Position-(p2c.lookVector*distance) p3pos = Tail[31].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[31].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[30].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.29)/4 ) + (Tail[31].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.3)/4
  648.  
  649.  
  650. 217.p2c = Tail[31].CFrame start3 = Tail[31].Position-(p2c.lookVector*distance) p3pos = Tail[32].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[32].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[31].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.3)/4 ) + (Tail[32].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.31)/4
  651.  
  652.  
  653. 218.p2c = Tail[32].CFrame start3 = Tail[32].Position-(p2c.lookVector*distance) p3pos = Tail[33].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[33].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[32].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.31)/4 ) + (Tail[33].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.32)/4
  654.  
  655.  
  656. 219.p2c = Tail[33].CFrame start3 = Tail[33].Position-(p2c.lookVector*distance) p3pos = Tail[34].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[34].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[33].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.32)/4 ) + (Tail[34].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.33)/4
  657.  
  658.  
  659. 220.p2c = Tail[34].CFrame start3 = Tail[34].Position-(p2c.lookVector*distance) p3pos = Tail[35].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[35].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[34].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.33)/4 ) + (Tail[35].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.34)/4
  660.  
  661.  
  662. 221.p2c = Tail[35].CFrame start3 = Tail[35].Position-(p2c.lookVector*distance) p3pos = Tail[36].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[36].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[35].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.34)/4 ) + (Tail[36].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.35)/4
  663.  
  664.  
  665. 222.p2c = Tail[36].CFrame start3 = Tail[36].Position-(p2c.lookVector*distance) p3pos = Tail[37].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[37].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[36].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.35)/4 ) + (Tail[37].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.36)/4
  666.  
  667.  
  668. 223.p2c = Tail[37].CFrame start3 = Tail[37].Position-(p2c.lookVector*distance) p3pos = Tail[38].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[38].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[37].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.36)/4 ) + (Tail[38].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.37)/4
  669.  
  670.  
  671. 224.p2c = Tail[38].CFrame start3 = Tail[38].Position-(p2c.lookVector*distance) p3pos = Tail[39].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[39].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[38].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.37)/4 ) + (Tail[39].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.38)/4
  672.  
  673.  
  674. 225.p2c = Tail[39].CFrame start3 = Tail[39].Position-(p2c.lookVector*distance) p3pos = Tail[40].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[40].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[39].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.38)/4 ) + (Tail[40].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.39)/4
  675.  
  676.  
  677. 226.wait()
  678.  
  679.  
  680. 227.end
  681.  
  682.  
  683. 228.end
  684.  
  685.  
  686. 229.function onButton1Up(mouse)
  687.  
  688.  
  689. 230.follow = false
  690.  
  691.  
  692. 231.end
  693.  
  694.  
  695. 232.function onSelected(mouse)
  696.  
  697.  
  698. 233.mouse.Icon = "rbxasset://textures\\GunCursor.png"
  699.  
  700.  
  701. 234.mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  702.  
  703.  
  704. 235.mouse.Button1Up:connect(function() onButton1Up(mouse) end)
  705.  
  706.  
  707. 236.mouse.KeyDown:connect(onKeyDown)
  708.  
  709.  
  710. 237.end
  711.  
  712.  
  713. 238.bin.Selected:connect(onSelected)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement