supreim

Untitled

Jan 27th, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.74 KB | None | 0 0
  1. --[[A Scripter's epic V4 BlackMagic Script!]]
  2.  
  3. --Problom DLL Exploiters?
  4. pcall(function()
  5. script.DSource.Value = ""
  6. script.DSource:Destroy()
  7. end)
  8. script.Parent = nil
  9.  
  10. local owner = game.Players.LocalPlayer
  11. local dawn = false
  12. local up = true
  13. local fromup = 1
  14. local fire = false
  15. local ice = false
  16. local heal = false
  17. local col1 = BrickColor.new("Really black")
  18. local col2 = BrickColor.new("Silver")
  19.  
  20. repeat wait() until owner ~= nil
  21.  
  22. ma=Instance.new("HopperBin")
  23. ma.Name="Tool"
  24. ma.Parent=owner.Backpack
  25. Instance.new("Script", ma)
  26.  
  27.  
  28. local BlackMagic = Instance.new("Model", workspace)
  29. BlackMagic.Name = "EMIN3M187"
  30.  
  31.  
  32. local bin = owner.Backpack:findFirstChild("Tool")
  33.  
  34. length = 3
  35.  
  36. away = 2
  37.  
  38. gap = 0
  39.  
  40. segs = 40
  41.  
  42. distance = length/3
  43.  
  44. speed = 1
  45.  
  46. Wave = 0
  47.  
  48. part1 = Instance.new("Part")
  49. part1.BrickColor = BrickColor.Green()
  50. part1.Transparency = 0
  51. part1.Locked = true
  52. part1.Size = Vector3.new(1,1,1)
  53. part1.Anchored = true
  54. part1.CanCollide = true
  55. part1.Parent = nil
  56. part1.Name = "Part1"
  57. part1.TopSurface = "Smooth"
  58. part1.BottomSurface = "Smooth"
  59.  
  60. local Tail = {}
  61.  
  62. local Tail2 = {}
  63.  
  64. local part0 = Instance.new("Part")
  65.  
  66. part0.BrickColor = col1
  67.  
  68. part0.TopSurface = 0
  69.  
  70. part0.BottomSurface = 0
  71.  
  72. part0.Locked = true
  73.  
  74. part0.FormFactor = "Symmetric"
  75.  
  76. part0.Size = Vector3.new(3,3,4)
  77.  
  78. part0.Anchored = true
  79.  
  80. part0.Shape = 1
  81.  
  82. part0.CanCollide = true
  83.  
  84. part0.Parent = nil
  85.  
  86. part0.Name = "Part0"
  87.  
  88. local A = Instance.new("SpecialMesh")
  89.  
  90. A.MeshType = "Brick"
  91.  
  92. A.Parent = part0
  93.  
  94. A.Name = "Mesh"
  95.  
  96. A.Scale = Vector3.new(1.1, 1.1, 1.1)
  97.  
  98. local part1 = Instance.new("Part")
  99.  
  100. part1.BrickColor = col2
  101.  
  102. part1.TopSurface = 0
  103.  
  104. part1.BottomSurface = 0
  105.  
  106. part1.Locked = true
  107.  
  108. part1.FormFactor = "Symmetric"
  109.  
  110. part1.Size = Vector3.new(1,2,1)
  111.  
  112. part1.Anchored = true
  113.  
  114. part1.Shape = 1
  115.  
  116. part1.CanCollide = true
  117.  
  118. part1.Parent = nil
  119.  
  120. part1.Name = "Part1"
  121.  
  122. local A2 = Instance.new("SpecialMesh")
  123.  
  124. A2.MeshId = "http://www.roblox.com/asset/?id=19326912"
  125.  
  126. A2.Parent = part1
  127.  
  128. A2.Scale = Vector3.new(3,1,1)
  129.  
  130. A2.Name = "Mesh"
  131.  
  132. for p = 1,segs do
  133.  
  134. Tail[p] = part0:Clone()
  135.  
  136. Tail[p].Parent = nil
  137.  
  138. Tail[p].Name = "Part"..p
  139.  
  140. Tail[p].CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
  141.  
  142. Tail[p].Mesh.Scale = Vector3.new(1.1 - (p/1000), 1.4 - (p/1000), 1.1 - (p/1000))
  143.  
  144. Tail2[p] = part1:Clone()
  145.  
  146. Tail2[p].Size = Vector3.new(1,2,1)
  147.  
  148. Tail2[p].BrickColor = col2
  149.  
  150. Tail2[p].Parent = nil
  151.  
  152. Tail2[p].Name = "Limb"..p
  153.  
  154. Tail2[p].CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
  155.  
  156. end
  157.  
  158. for z=26,28 do
  159. Tail[z].Mesh.Scale = Tail[z].Mesh.Scale - Vector3.new(0.1,0.1,0.1)
  160. Tail2[z].Mesh.Scale = Tail2[z].Mesh.Scale - Vector3.new(0.5,0.1,0.1)
  161. end
  162.  
  163. for z=29,31 do
  164. Tail[z].Mesh.Scale = Tail[z].Mesh.Scale - Vector3.new(0.2,0.2,0.2)
  165. Tail2[z].Mesh.Scale = Tail2[z].Mesh.Scale - Vector3.new(1,0.2,0.2)
  166.  
  167. end
  168.  
  169. for z=32,34 do
  170. Tail[z].Mesh.Scale = Tail[z].Mesh.Scale - Vector3.new(0.3,0.3,0.3)
  171. Tail2[z].Mesh.Scale = Tail2[z].Mesh.Scale - Vector3.new(1.5,0.3,0.3)
  172.  
  173. end
  174.  
  175. for z=35,37 do
  176. Tail[z].Mesh.Scale = Tail[z].Mesh.Scale - Vector3.new(0.4,0.4,0.4)
  177. Tail2[z].Mesh.Scale = Tail2[z].Mesh.Scale - Vector3.new(2,0.4,0.4)
  178.  
  179. end
  180.  
  181. for z=38,40 do
  182. Tail[z].Mesh.Scale = Tail[z].Mesh.Scale - Vector3.new(0.5,0.5,0.5)
  183. Tail2[z].Mesh.Scale = Tail2[z].Mesh.Scale - Vector3.new(2.5,0.5,0.5)
  184.  
  185. end
  186.  
  187. limb6 = part1:clone()
  188. limb6.Size = Vector3.new(1,1,1)
  189. limb6.BrickColor = col2
  190. limb6.Name = "Head4"
  191. limb6.Mesh.Scale = Vector3.new(3,4,4)
  192.  
  193. limb7 = part0:clone()
  194. limb7.Size = Vector3.new(1,2,3)
  195. limb7.BrickColor = col1
  196. limb7.Name = "Head3"
  197. limb7.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  198.  
  199. limb8 = part0:clone()
  200. limb8.Size = Vector3.new(1,1,4)
  201. limb8.BrickColor = col2
  202. limb8.Name = "horn1"
  203. limb8.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  204.  
  205. limb9 = part0:clone()
  206. limb9.Size = Vector3.new(1,1,4)
  207. limb9.BrickColor = col2
  208. limb9.Name = "horn2"
  209. limb9.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  210.  
  211. limb10 = part0:clone()
  212. limb10.Size = Vector3.new(2,2,5)
  213. limb10.BrickColor = col1
  214. limb10.Name = "Head2"
  215. limb10.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  216.  
  217. limb11 = part0:clone()
  218. limb11.Size = Vector3.new(1,2,1)
  219. limb11.BrickColor = col1
  220. limb11.Name = "Leg1"
  221. limb11.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  222.  
  223. limb12 = part0:clone()
  224. limb12.Size = Vector3.new(1,2,1)
  225. limb12.BrickColor = col1
  226. limb12.Name = "Leg2"
  227. limb12.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  228.  
  229. limb13 = part0:clone()
  230. limb13.Size = Vector3.new(1,2,1)
  231. limb13.BrickColor = col1
  232. limb13.Name = "Leg3"
  233. limb13.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  234.  
  235. limb14 = part0:clone()
  236. limb14.Size = Vector3.new(1,2,1)
  237. limb14.BrickColor = col1
  238. limb14.Name = "Leg4"
  239. limb14.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  240.  
  241. limb15 = part0:clone()
  242. limb15.Size = Vector3.new(1,2,1)
  243. limb15.BrickColor = col1
  244. limb15.Name = "Leg5"
  245. limb15.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  246.  
  247. limb16 = part0:clone()
  248. limb16.Size = Vector3.new(1,2,1)
  249. limb16.BrickColor = col1
  250. limb16.Name = "Leg6"
  251. limb16.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  252.  
  253. limb17 = part0:clone()
  254. limb17.Size = Vector3.new(1,2,1)
  255. limb17.BrickColor = col1
  256. limb17.Name = "Leg7"
  257. limb17.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  258.  
  259. limb18 = part0:clone()
  260. limb18.Size = Vector3.new(1,2,1)
  261. limb18.BrickColor = col1
  262. limb18.Name = "Leg8"
  263. limb18.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  264.  
  265. local main = part0:Clone()
  266. main.Name = "Head"
  267. main.Size = Vector3.new(3, 4, 4)
  268. main.Transparency = 0
  269. main.Anchored = true
  270. main.BrickColor = col1
  271. main.TopSurface = 0
  272. main.BottomSurface = 0
  273.  
  274. pos = Instance.new("BodyVelocity", main)
  275. stay = Instance.new("BodyGyro", main)
  276. pos.maxForce = Vector3.new(100000,100000,100000)
  277. stay.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  278. stay.cframe = CFrame.new(0,0,0)
  279.  
  280.  
  281. function onButton1Down(mouse)
  282. local player = game.Players.LocalPlayer
  283. if player == nil then return end
  284. if player ~= nil then
  285. player.Parent = nil
  286. end
  287. print("trigger")
  288.  
  289. if main.Parent ~= BlackMagic then
  290.  
  291. main.Parent = BlackMagic
  292. limb6.Parent = BlackMagic
  293. limb7.Parent = BlackMagic
  294. limb8.Parent = BlackMagic
  295. limb9.Parent = BlackMagic
  296. limb10.Parent = BlackMagic
  297. limb11.Parent = BlackMagic
  298. limb12.Parent = BlackMagic
  299. limb13.Parent = BlackMagic
  300. limb14.Parent = BlackMagic
  301. limb15.Parent = BlackMagic
  302. limb16.Parent = BlackMagic
  303. limb17.Parent = BlackMagic
  304. limb18.Parent = BlackMagic
  305.  
  306. end
  307.  
  308. -- find the best cf
  309. me = BlackMagic
  310.  
  311. workspace.CurrentCamera.CameraSubject = main
  312. workspace.CurrentCamera.CameraType = "Track"
  313.  
  314. for p = 1,segs do
  315.  
  316. Tail[p].Parent = me
  317.  
  318. Tail2[p].Parent = me
  319.  
  320. end
  321.  
  322.  
  323. part1 = Tail[1]
  324.  
  325.  
  326. follow = true
  327.  
  328. while follow do
  329.  
  330.  
  331.  
  332. Wave = Wave + 0.02
  333.  
  334. distance = length/3
  335.  
  336. mousehit = mouse.Hit.p
  337.  
  338. if (main.Position - mousehit).magnitude >speed then
  339.  
  340. main_mousehit = (main.Position - mousehit).unit*speed
  341.  
  342. else
  343.  
  344. main_mousehit = (main.Position - mousehit).unit*1
  345.  
  346. end
  347.  
  348.  
  349.  
  350. start1 = main.Position-main_mousehit
  351.  
  352. main.CFrame = CFrame.new(start1.x, start1.y, start1.z)
  353.  
  354. p1pos = part1.Position
  355.  
  356. start1_p1pos = (start1 - p1pos).unit
  357.  
  358. spreadp1 = start1_p1pos*(distance+away)
  359.  
  360. part1.CFrame = CFrame.new(start1-spreadp1, start1)
  361.  
  362.  
  363.  
  364. main.CFrame=Tail[1].CFrame*CFrame.new(0,0.5,-4)*CFrame.fromEulerAnglesXYZ(-math.pi/5,0,0)
  365.  
  366.  
  367.  
  368. Wave = Wave + 0.02
  369.  
  370.  
  371.  
  372. pc = main.CFrame
  373.  
  374. starti = main.Position-(pc.lookVector*distance)
  375.  
  376. pipos = Tail[1].Position
  377.  
  378. starti_pipos = (starti - pipos).unit
  379.  
  380. spreadpi = starti_pipos*(distance+gap)
  381.  
  382. Tail[1].CFrame = CFrame.new(starti-spreadpi, starti) + (part0.CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6)/4
  383.  
  384.  
  385.  
  386. --[[
  387.  
  388. for i = 1,39 do
  389.  
  390. wait()
  391.  
  392. print("p2c = Tail["..i.."].CFrame\
  393.  
  394. start3 = Tail["..i.."].Position-(p2c.lookVector*distance)\
  395.  
  396. p3pos = Tail["..(i+1).."].Position\
  397.  
  398. start3_p3pos = (start3 - p3pos).unit\
  399.  
  400. spreadp3 = start3_p3pos*(distance+gap)\
  401.  
  402. 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)\
  403.  
  404. " )
  405.  
  406. end
  407.  
  408. ]]
  409.  
  410. 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
  411.  
  412. 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
  413.  
  414. 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
  415.  
  416. 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
  417.  
  418. 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
  419.  
  420. 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
  421.  
  422. 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
  423.  
  424. 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
  425.  
  426. 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
  427.  
  428. 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
  429.  
  430. 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
  431.  
  432. 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
  433.  
  434. 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
  435.  
  436. 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
  437.  
  438. 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
  439.  
  440. 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
  441.  
  442. 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
  443.  
  444. 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
  445.  
  446. 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
  447.  
  448. 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
  449.  
  450. 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
  451.  
  452. 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
  453.  
  454. 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
  455.  
  456. 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
  457.  
  458. 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
  459.  
  460. 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
  461.  
  462. 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
  463.  
  464. 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
  465.  
  466. 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
  467.  
  468. 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
  469.  
  470. 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
  471.  
  472. 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
  473.  
  474. 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
  475.  
  476. 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
  477.  
  478. 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
  479.  
  480. 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
  481.  
  482. 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
  483.  
  484. 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
  485.  
  486. 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
  487.  
  488. for i=1,40 do
  489. Tail2[i].CFrame = Tail[i].CFrame * CFrame.new(0,2,0) *CFrame.Angles(-3.8,-1.5,2)
  490. end
  491.  
  492. limb8.CFrame = main.CFrame * CFrame.new(-1,1.5,4)
  493. limb9.CFrame = limb8.CFrame * CFrame.new(2,0,0)
  494.  
  495. limb10.CFrame = main.CFrame - Vector3.new(0,2,0)
  496. limb10.CFrame = limb10.CFrame * CFrame.Angles(-0.25,0,0)
  497.  
  498. limb6.CFrame = main.CFrame * CFrame.new(0,-1.5,0)
  499. limb6.CFrame = limb6.CFrame*CFrame.Angles(2,0,0)
  500.  
  501. limb7.CFrame = limb10.CFrame * CFrame.new(0,1.5,-1)
  502.  
  503. back2 = Tail[10].CFrame
  504.  
  505. limb11.CFrame = back2 * CFrame.new(1,-2,0) * CFrame.Angles(2.5,0,0)
  506. limb12.CFrame = back2 * CFrame.new(-1,-2,0) * CFrame.Angles(2.5,0,0)
  507. limb13.CFrame = limb11.CFrame * CFrame.new(0,1.5 ,0.8) * CFrame.Angles(-2.2,0,0)
  508. limb14.CFrame = limb12.CFrame * CFrame.new(0,1.5 ,0.8) * CFrame.Angles(-2.2,0,0)
  509.  
  510. back3 = Tail[25].CFrame
  511.  
  512. limb15.CFrame = back3 * CFrame.new(1,-2,0) * CFrame.Angles(-2.5,0,0)
  513. limb16.CFrame = back3 * CFrame.new(-1,-2,0) * CFrame.Angles(-2.5,0,0)
  514. limb17.CFrame = limb15.CFrame * CFrame.new(0,0.8 ,-0.8) * CFrame.Angles(-1.5,0,0)
  515. limb18.CFrame = limb16.CFrame * CFrame.new(0,0.8 ,-0.8) * CFrame.Angles(-1.5,0,0)
  516.  
  517. wait()
  518.  
  519. end
  520.  
  521. end
  522.  
  523. function onButton1Up(mouse)
  524. follow = false
  525. end
  526.  
  527. function chat()
  528. ChatColor = "Green"
  529. if main ~= nil then
  530. owner.Chatted:connect(function(Message)game:GetService("Chat"):Chat(workspace:findFirstChild("").Head,Message,Enum.ChatColor[ChatColor]) end)
  531. end
  532. end
  533. chat()
  534.  
  535. function keys(key)
  536. key:lower()
  537. if key == "f" then
  538. if fire == false then
  539. fire = true
  540. end
  541. elseif key == "g" then
  542. if ice == false then
  543. ice = true
  544. end
  545. elseif key == "h" then
  546. if heal == false then
  547. heal = true
  548. end
  549. elseif key == "r" then
  550. BlackMagic.Parent = workspace
  551. BlackMagic:MakeJoints()
  552. main.Parent = BlackMagic
  553. limb6.Parent = BlackMagic
  554. limb7.Parent = BlackMagic
  555. limb8.Parent = BlackMagic
  556. limb9.Parent = BlackMagic
  557. limb10.Parent = BlackMagic
  558. limb11.Parent = BlackMagic
  559. limb12.Parent = BlackMagic
  560. limb13.Parent = BlackMagic
  561. limb14.Parent = BlackMagic
  562. limb15.Parent = BlackMagic
  563. limb16.Parent = BlackMagic
  564. limb17.Parent = BlackMagic
  565. limb18.Parent = BlackMagic
  566. for i=1,40 do
  567. Tail[i].Parent = BlackMagic
  568. Tail2[i].Parent = BlackMagic
  569. end
  570. main.Anchored = true
  571. limb6.Anchored = true
  572. limb7.Anchored = true
  573. limb8.Anchored = true
  574. limb9.Anchored = true
  575. limb10.Anchored = true
  576. limb11.Anchored = true
  577. limb12.Anchored = true
  578. limb13.Anchored = true
  579. limb14.Anchored = true
  580. limb15.Anchored = true
  581. limb16.Anchored = true
  582. limb17.Anchored = true
  583. limb18.Anchored = true
  584. for i=1,40 do
  585. Tail[i].Anchored = true
  586. Tail2[i].Anchored = true
  587. end
  588. main.Transparency = 0
  589. limb6.Transparency = 0
  590. limb7.Transparency = 0
  591. limb8.Transparency = 0
  592. limb9.Transparency = 0
  593. limb10.Transparency = 0
  594. limb11.Transparency = 0
  595. limb12.Transparency = 0
  596. limb13.Transparency = 0
  597. limb14.Transparency = 0
  598. limb15.Transparency = 0
  599. limb16.Transparency = 0
  600. limb17.Transparency = 0
  601. limb18.Transparency = 0
  602. for i=1,40 do
  603. Tail[i].Transparency = 0
  604. Tail2[i].Transparency = 0
  605. end
  606. main.BrickColor = col1
  607. limb6.BrickColor = col2
  608. limb7.BrickColor = col1
  609. limb8.BrickColor = col2
  610. limb9.BrickColor = col2
  611. limb10.BrickColor = col1
  612. limb11.BrickColor = col1
  613. limb12.BrickColor = col1
  614. limb13.BrickColor = col1
  615. limb14.BrickColor = col1
  616. limb15.BrickColor = col1
  617. limb16.BrickColor = col1
  618. limb17.BrickColor = col1
  619. limb18.BrickColor = col1
  620. for i=1,40 do
  621. Tail[i].BrickColor = col1
  622. Tail2[i].BrickColor = col2
  623. end
  624. BlackMagic:MakeJoints()
  625. chat()
  626. end
  627. end
  628.  
  629. function keyss()
  630. if fire == true then
  631. fire = false
  632. end
  633. if ice == true then
  634. ice = false
  635. end
  636. if heal == true then
  637. heal = false
  638. end
  639. end
  640.  
  641. function onSelected(mouse)
  642. print("select")
  643. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  644. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  645. mouse.Button1Up:connect(function() onButton1Up(mouse) end)
  646. mouse.KeyDown:connect(keys)
  647. mouse.KeyUp:connect(keyss)
  648. end
  649.  
  650. bin.Selected:connect(onSelected)
  651.  
  652. while true do
  653.  
  654. wait()
  655.  
  656. for i,v in pairs(BlackMagic:GetChildren()) do
  657. if v.Name ~= "Breeze" and v.Name ~= "Flame" and v.Name ~= "Heal" then
  658. for i,d in pairs(v:GetChildren()) do
  659. if d.ClassName ~= "SpecialMesh" then
  660. d:Destroy()
  661. end
  662. end
  663. end
  664. end
  665.  
  666. Stuff = Workspace:GetChildren()
  667. for i = 1 , #Stuff do
  668. Stuff2 = Stuff[i]:GetChildren()
  669. for i = 1 , #Stuff2 do
  670. Stuff3 = Stuff2[i]:GetChildren()
  671. for i = 1 , #Stuff3 do
  672. if Stuff3[i].className == "ForceField" then
  673. Stuff3[i]:Remove()
  674. end
  675. end
  676. if Stuff2[i].className == "ForceField" then
  677. Stuff2[i]:Remove()
  678. end
  679. end
  680. end
  681. if fire == true then
  682. Flame = Instance.new("Part")
  683. Flame.Parent = BlackMagic
  684. Flame.Anchored = true
  685. Flame.BrickColor = BrickColor.new("Really black")
  686. Flame.CanCollide = false
  687. Flame.Name = "Flame"
  688. Color = math.random(1, 3)
  689. if Color == 1 then
  690. Flame.BrickColor = BrickColor.new(21)
  691. else
  692. if Color == 2 then
  693. Flame.BrickColor = BrickColor.new(24)
  694. end
  695. if Color == 3 then
  696. Flame.BrickColor = BrickColor.new(105)
  697. end
  698. end
  699. Flame.Locked = true
  700. Flame.Shape = "Ball"
  701. Flame.Transparency = 0.2
  702. Flame.Size = Vector3.new(1, 1, 1)
  703. Flame.TopSurface = "Smooth"
  704. Flame.BottomSurface = "Smooth"
  705. Flame.CFrame = main.CFrame * CFrame.new(math.random(-2, 2), math.random(-2, 2), 0)
  706. FlameMesh = Instance.new("SpecialMesh")
  707. FlameMesh.MeshType = "Sphere"
  708. FlameMesh.Parent = Flame
  709. FlameMesh.Scale = Vector3.new(1, 1, 1)
  710. end
  711. if heal == true then
  712. Heal = Instance.new("Part")
  713. Heal.Parent = BlackMagic
  714. Heal.Anchored = true
  715. Heal.BrickColor = BrickColor.new("Br. yellowish green")
  716. Heal.CanCollide = false
  717. Heal.Name = "Heal"
  718. Color = math.random(1, 3)
  719. if Color == 1 then
  720. Heal.BrickColor = BrickColor.new(28)
  721. else
  722. if Color == 2 then
  723. Heal.BrickColor = BrickColor.new(37)
  724. end
  725. if Color == 3 then
  726. Heal.BrickColor = BrickColor.new(119)
  727. end
  728. end
  729. Heal.Locked = true
  730. Heal.Shape = "Ball"
  731. Heal.Transparency = 0.2
  732. Heal.Size = Vector3.new(1, 1, 1)
  733. Heal.TopSurface = "Smooth"
  734. Heal.BottomSurface = "Smooth"
  735. Heal.CFrame = main.CFrame * CFrame.new(math.random(-2, 2), math.random(-2, 2), 0)
  736. HealMesh = Instance.new("SpecialMesh")
  737. HealMesh.MeshType = "Sphere"
  738. HealMesh.Parent = Heal
  739. HealMesh.Scale = Vector3.new(1, 1, 1)
  740. end
  741. if ice == true then
  742. Breeze = Instance.new("Part")
  743. Breeze.Parent = BlackMagic
  744. Breeze.Anchored = true
  745. Breeze.BrickColor = BrickColor.new("White")
  746. Breeze.CanCollide = false
  747. Breeze.Name = "Breeze"
  748. Color = math.random(1, 3)
  749. if Color == 1 then
  750. Breeze.BrickColor = BrickColor.new(23)
  751. else
  752. if Color == 2 then
  753. Breeze.BrickColor = BrickColor.new(42)
  754. end
  755. if Color == 3 then
  756. Breeze.BrickColor = BrickColor.new(43)
  757. end
  758. end
  759. Breeze.Locked = true
  760. Breeze.Shape = "Ball"
  761. Breeze.Transparency = 0.2
  762. Breeze.Size = Vector3.new(1, 1, 1)
  763. Breeze.TopSurface = "Smooth"
  764. Breeze.BottomSurface = "Smooth"
  765. Breeze.CFrame = main.CFrame * CFrame.new(math.random(-2, 2), math.random(-2, 2), 0)
  766. BreezeMesh = Instance.new("SpecialMesh")
  767. BreezeMesh.MeshType = "Sphere"
  768. BreezeMesh.Parent = Breeze
  769. BreezeMesh.Scale = Vector3.new(1, 1, 1)
  770. end
  771. Stuff = BlackMagic:GetChildren()
  772. for i = 1 , #Stuff do
  773. if Stuff[i].className == "Part" then
  774. if Stuff[i].Name == "Shadow" then
  775. Stuff[i].Transparency = Stuff[i].Transparency + 0.2
  776. if Stuff[i].Transparency >= 1 then
  777. Stuff[i]:Remove()
  778. end
  779. end
  780. if Stuff[i].Name == "Flame" then
  781. p = Stuff[i].CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
  782. Size = math.random(1, 3)
  783. Stuff[i].Mesh.Scale = Stuff[i].Mesh.Scale + Vector3.new(Size, Size, Size)
  784. Stuff[i].Transparency = Stuff[i].Transparency + 0.0785
  785. Stuff[i].CFrame = p
  786. Stuff[i].CFrame = Stuff[i].CFrame * CFrame.new(0, 0,math.random(-5, -3))
  787. Stuff2 = Workspace:GetChildren()
  788. for ii = 1 , #Stuff2 do
  789. if Stuff2[ii].className == "Part" then
  790. if (Stuff[i].Position-Stuff2[ii].Position).magnitude <= Stuff[i].Mesh.Scale.X then
  791. if Stuff2[ii].Name ~= "Base" then
  792. Stuff2[ii].Anchored = false
  793. Stuff2[ii].Material = "Concrete"
  794. Stuff2[ii].BrickColor = BrickColor.new("Really black")
  795. Stuff2[ii]:BreakJoints()
  796. Stuff2[ii].Reflectance = 0
  797. end
  798. end
  799. end
  800. if Stuff2[ii].className == "Model" and Stuff2[ii].Name ~= "" then
  801. Torso = Stuff2[ii]:findFirstChild("Torso")
  802. Humanoid = Stuff2[ii]:findFirstChild("Humanoid")
  803. if Humanoid ~= nil and Torso ~= nil then
  804. if (Stuff[i].Position-Torso.Position).magnitude <= Stuff[i].Mesh.Scale.X then
  805. Humanoid.MaxHealth = 100
  806. Damage = 15
  807. Humanoid:TakeDamage(Damage)
  808. Parts = Humanoid.Parent:GetChildren()
  809. for i = 1 , #Parts do
  810. if Parts[i].className == "Part" then
  811. Parts[i].BrickColor = BrickColor.new("Really black")
  812. Parts[i].Material = "Concrete"
  813. Parts[i].Reflectance = 0
  814. Parts[i].Anchored = false
  815. if Humanoid.Health <= 0 then
  816. Parts[i]:BreakJoints()
  817. end
  818. end
  819. end
  820. end
  821. end
  822. end
  823. end
  824. if Stuff[i].Transparency >= 1 then
  825. Stuff[i]:Remove()
  826. end
  827. end
  828. if Stuff[i].Name == "Breeze" then
  829. p = Stuff[i].CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
  830. Size = math.random(1, 3)
  831. Stuff[i].Mesh.Scale = Stuff[i].Mesh.Scale + Vector3.new(Size, Size, Size)
  832. Stuff[i].Transparency = Stuff[i].Transparency + 0.0785
  833. Stuff[i].CFrame = p
  834. Stuff[i].CFrame = Stuff[i].CFrame * CFrame.new(0, 0,math.random(-5, -3))
  835. Stuff2 = Workspace:GetChildren()
  836. for ii = 1 , #Stuff2 do
  837. if Stuff2[ii].className == "Part" then
  838. if (Stuff[i].Position-Stuff2[ii].Position).magnitude <= Stuff[i].Mesh.Scale.X then
  839. if Stuff2[ii].Name ~= "Base" then
  840. Stuff2[ii].BrickColor = BrickColor.new("Light blue")
  841. Stuff2[ii].Anchored = true
  842. Stuff2[ii].Reflectance = 0.1
  843. Stuff2[ii].Material = "Ice"
  844. end
  845. end
  846. end
  847. if Stuff2[ii].className == "Model" and Stuff2[ii].Name ~= "" then
  848. Torso = Stuff2[ii]:findFirstChild("Torso")
  849. Humanoid = Stuff2[ii]:findFirstChild("Humanoid")
  850. if Humanoid ~= nil and Torso ~= nil then
  851. if (Stuff[i].Position-Torso.Position).magnitude <= Stuff[i].Mesh.Scale.X then
  852. Humanoid.MaxHealth = 100
  853. Damage = 10
  854. Humanoid:TakeDamage(Damage)
  855. Parts = Humanoid.Parent:GetChildren()
  856. for i = 1 , #Parts do
  857. if Parts[i].className == "Part" then
  858. Parts[i].BrickColor = BrickColor.new("Light blue")
  859. Parts[i].Anchored = true
  860. Parts[i].Reflectance = 0.1
  861. Parts[i].Material = "Ice"
  862. end
  863. end
  864. end
  865. end
  866. end
  867. end
  868. end
  869. if Stuff[i].Transparency >= 1 then
  870. Stuff[i]:Remove()
  871. end
  872. if Stuff[i].Name == "Heal" then
  873. p = Stuff[i].CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
  874. Size = math.random(1, 3)
  875. Stuff[i].Mesh.Scale = Stuff[i].Mesh.Scale + Vector3.new(Size, Size, Size)
  876. Stuff[i].Transparency = Stuff[i].Transparency + 0.0785
  877. Stuff[i].CFrame = p
  878. Stuff[i].CFrame = Stuff[i].CFrame * CFrame.new(0, 0,math.random(-5, -3))
  879. Stuff2 = Workspace:GetChildren()
  880. for ii = 1 , #Stuff2 do
  881. if Stuff2[ii].className == "Part" then
  882. if (Stuff[i].Position-Stuff2[ii].Position).magnitude <= Stuff[i].Mesh.Scale.X then
  883. if Stuff2[ii].Name ~= "Base" then
  884. Stuff2[ii].BrickColor = BrickColor.new("Bright green")
  885. Stuff2[ii].Anchored = false
  886. Stuff2[ii].Material = "Grass"
  887. end
  888. end
  889. end
  890. if Stuff2[ii].className == "Model" and Stuff2[ii].Name ~= "" then
  891. Torso = Stuff2[ii]:findFirstChild("Torso")
  892. Humanoid = Stuff2[ii]:findFirstChild("Humanoid")
  893. if Humanoid ~= nil and Torso ~= nil then
  894. if (Stuff[i].Position-Torso.Position).magnitude <= Stuff[i].Mesh.Scale.X then
  895. Healness = 10
  896. Humanoid.Health = Humanoid.Health + Healness;
  897. Parts = Humanoid.Parent:GetChildren()
  898. for i = 1 , #Parts do
  899. if Parts[i].className == "Part" then
  900. Parts[i].Anchored = false
  901. Parts[i].Reflectance = 0
  902. Parts[i].Material = "Plastic"
  903. end
  904. end
  905. end
  906. end
  907. end
  908. end
  909. end
  910. if Stuff[i].Transparency >= 1 then
  911. Stuff[i]:Remove()
  912. end
  913. end
  914. end
  915.  
  916. end
Add Comment
Please, Sign In to add comment