Advertisement
RandomNewbieScripter

Untitled

Aug 19th, 2017
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.45 KB | None | 0 0
  1. --// Script made by Cronizete
  2. --// Give credits.
  3.  
  4. char = game.Players.LocalPlayer.Character
  5. plr = game.Players.LocalPlayer
  6. char.Archivable = true
  7.  
  8.  
  9. nvm = Instance.new('NumberValue', game.Workspace.CurrentCamera)
  10. nvm.Value = 0
  11. nvm2 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
  12. nvm2.Value = 1
  13. nvm3 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
  14. nvm3.Value = 0
  15. nvm4 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
  16. nvm4.Value = 0
  17.  
  18. bg1 = char:Clone()
  19. bg1.Archivable = false
  20. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  21.  
  22. bgname1 = math.random(1, 2)
  23. if bgname1 == 1 then
  24. bg1.Name = "Nigger"
  25. end
  26. if bgname1 == 2 then
  27. bg1.Name = "Nigger"
  28. end
  29.  
  30.  
  31. bgpoint1 = Instance.new('Part', char)
  32. bgpoint1.Anchored = false
  33. bgpoint1.CanCollide = false
  34. bgpoint1.Transparency = 1
  35. bgpoint1.Size = Vector3.new(0.2,0.2,0.2)
  36.  
  37. Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
  38. Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  39. Weld.Part1 = bgpoint1
  40. Weld.C1 = CFrame.new(10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  41.  
  42. bg2 = char:Clone()
  43. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  44. bg2.Archivable = false
  45. bgname2 = math.random(1, 2)
  46. if bgname2 == 1 then
  47. bg2.Name = "Nigger"
  48. end
  49. if bgname2 == 2 then
  50. bg2.Name = "Nigger"
  51. end
  52.  
  53.  
  54. bgpoint2 = Instance.new('Part', char)
  55. bgpoint2.Anchored = false
  56. bgpoint2.CanCollide = false
  57. bgpoint2.Transparency = 1
  58. bgpoint2.Size = Vector3.new(0.2,0.2,0.2)
  59.  
  60. Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
  61. Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  62. Weld.Part1 = bgpoint2
  63. Weld.C1 = CFrame.new(-10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  64.  
  65. for _,c in pairs(bg2:GetChildren()) do
  66. if c:IsA('Accessory') then
  67. c:Destroy()
  68. end
  69. end
  70.  
  71. for _,c in pairs(bg1:GetChildren()) do
  72. if c:IsA('Accessory') then
  73. c:Destroy()
  74. end
  75. end
  76.  
  77. for _,c in pairs(bg2:GetChildren()) do
  78. if c:IsA('CharacterMesh') then
  79. c:Destroy()
  80. end
  81. end
  82.  
  83. for _,c in pairs(bg1:GetChildren()) do
  84. if c:IsA('CharacterMesh') then
  85. c:Destroy()
  86. end
  87. end
  88.  
  89. for _,c in pairs(bg2:GetChildren()) do
  90. if c:IsA('Shirt') then
  91. c:Destroy()
  92. shirt = Instance.new("Shirt", bg2)
  93. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
  94. end
  95. end
  96.  
  97. for _,c in pairs(bg1:GetChildren()) do
  98. if c:IsA('Pants') then
  99. c:Destroy()
  100. pants = Instance.new("Pants", bg1)
  101. pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
  102. end
  103. end
  104.  
  105. for _,c in pairs(bg2:GetChildren()) do
  106. if c:IsA('Pants') then
  107. c:Destroy()
  108. pants = Instance.new("Pants", bg2)
  109. pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
  110. end
  111. end
  112.  
  113. for _,c in pairs(bg1:GetChildren()) do
  114. if c:IsA('Shirt') then
  115. c:Destroy()
  116. shirt = Instance.new("Shirt", bg1)
  117. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
  118. end
  119. end
  120.  
  121. bg2.Parent = char
  122. bg1.Parent = char
  123. bg2.Torso.CFrame = bgpoint2.CFrame
  124. bg1.Torso.CFrame = bgpoint1.CFrame
  125.  
  126. health = game.Players.LocalPlayer.Character.Humanoid.Health
  127. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function()
  128. if game.Players.LocalPlayer.Character.Humanoid.Health < health then
  129. bgheal = math.random(1, 2)
  130. if bgheal == 1 then
  131. bgpoint1.CFrame = char.Torso.CFrame
  132. Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
  133. Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  134. Weld.Part1 = bgpoint1
  135. Weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0)
  136. wait(3.5)
  137. char.Humanoid.Health = char.Humanoid.Health + 50
  138. bgpoint1.CFrame = char.Torso.CFrame * CFrame.new(0,0.1,0)
  139. Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
  140. Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  141. Weld.Part1 = bgpoint1
  142. Weld.C1 = CFrame.new(10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  143. end
  144. if bgheal == 2 then
  145. bgpoint2.CFrame = char.Torso.CFrame
  146. Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
  147. Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  148. Weld.Part1 = bgpoint2
  149. Weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0)
  150. wait(3.5)
  151. char.Humanoid.Health = char.Humanoid.Health + 50
  152. bgpoint2.CFrame = char.Torso.CFrame * CFrame.new(0,0.1,0)
  153. Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
  154. Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  155. Weld.Part1 = bgpoint2
  156. Weld.C1 = CFrame.new(-10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  157. end
  158. end
  159. health = game.Players.LocalPlayer.Character.Humanoid.Health
  160. end)
  161.  
  162. bgskin = math.random(1, 2)
  163. if bgskin == 1 then
  164. r = bg1:getChildren()
  165. for i = 1, #r do
  166. if r[i].className == "Part" then
  167. r[i].BrickColor = BrickColor.new('Cool yellow')
  168. end
  169. end
  170. end
  171. if bgskin == 1 then
  172. a = bg2:getChildren()
  173. for i = 1, #a do
  174. if a[i].className == "Part" then
  175. a[i].BrickColor = BrickColor.new('CGA brown')
  176. end
  177. end
  178. end
  179.  
  180. game.Players.LocalPlayer.Chatted:connect(function(say)
  181.  
  182. if say == "disappear," then
  183. bg1["Head"].Transparency = 1
  184. bg1["Left Arm"].Transparency = 1
  185. bg1["Left Leg"].Transparency = 1
  186. bg1["Right Leg"].Transparency = 1
  187. bg1["Right Arm"].Transparency = 1
  188. bg1["Torso"].Transparency = 1
  189. bg1.Head.face.Transparency = 1
  190.  
  191. bg2["Head"].Transparency = 1
  192. bg2["Left Arm"].Transparency = 1
  193. bg2["Left Leg"].Transparency = 1
  194. bg2["Right Leg"].Transparency = 1
  195. bg2["Right Arm"].Transparency = 1
  196. bg2["Torso"].Transparency = 1
  197. bg2.Head.face.Transparency = 1
  198.  
  199. brick22 = Instance.new("Part")
  200. brick22.CanCollide = false
  201. brick22.Anchored = true
  202. brick22.CFrame = bg1.Torso.CFrame
  203. brick22.Transparency = 1
  204. brick22.Parent = game.Workspace
  205. brick222 = Instance.new("Part")
  206. brick222.CanCollide = false
  207. brick222.Anchored = true
  208. brick222.CFrame = bg2.Torso.CFrame
  209. brick222.Transparency = 1
  210. brick222.Parent = game.Workspace
  211. local sou2 = Instance.new("Sound")
  212. sou2.Pitch = 1
  213. sou2.Volume = 1
  214. sou2.SoundId = "rbxassetid://722960601"
  215. sou2.Parent = bg1.Torso
  216. sou2:Play()
  217. local pe2 = Instance.new("ParticleEmitter")
  218. pe2.Acceleration = Vector3.new(0, 8, 0)
  219. pe2.Lifetime = NumberRange.new(1, 1.5)
  220. pe2.Rate = 20000
  221. pe2.RotSpeed = NumberRange.new(-30, 30)
  222. pe2.Rotation = NumberRange.new(0, 360)
  223. pe2.Size = NumberSequence.new({
  224. NumberSequenceKeypoint.new(0, 4.38, 0),
  225. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  226. NumberSequenceKeypoint.new(1, 1.48, 0)
  227. })
  228. pe2.Texture = "rbxassetid://244221440"
  229. pe2.Transparency = NumberSequence.new({
  230. NumberSequenceKeypoint.new(0, 0, 0),
  231. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  232. NumberSequenceKeypoint.new(1, 1, 1)
  233. })
  234. pe2.ZOffset = 5
  235. pe2.VelocitySpread = 360
  236. pe2.Parent = brick22
  237. pe2.Enabled = true
  238. clpe2 = pe2:Clone()
  239. clpe2.Parent = brick222
  240. wait(0.25)
  241. pe2.Enabled = false
  242. clpe2.Enabled = false
  243. nvm4.Value = 1
  244. bg1.Humanoid.HipHeight = 10000
  245. bg2.Humanoid.HipHeight = 10000
  246. end
  247.  
  248. if say == "appear," then
  249. bg1.Humanoid.HipHeight = 0
  250. bg2.Humanoid.HipHeight = 0
  251. bg1.Torso.CFrame = bgpoint1.CFrame
  252. bg2.Torso.CFrame = bgpoint2.CFrame
  253.  
  254. bg1["Head"].Transparency = 0
  255. bg1["Left Arm"].Transparency = 0
  256. bg1["Left Leg"].Transparency = 0
  257. bg1["Right Leg"].Transparency = 0
  258. bg1["Right Arm"].Transparency = 0
  259. bg1["Torso"].Transparency = 0
  260. bg1.Head.face.Transparency = 0
  261.  
  262. bg2["Head"].Transparency = 0
  263. bg2["Left Arm"].Transparency = 0
  264. bg2["Left Leg"].Transparency = 0
  265. bg2["Right Leg"].Transparency = 0
  266. bg2["Right Arm"].Transparency = 0
  267. bg2["Torso"].Transparency = 0
  268. bg2.Head.face.Transparency = 0
  269.  
  270. brick223 = Instance.new("Part")
  271. brick223.CanCollide = false
  272. brick223.Anchored = true
  273. brick223.CFrame = bg1.Torso.CFrame
  274. brick223.Transparency = 1
  275. brick223.Parent = game.Workspace
  276. brick2223 = Instance.new("Part")
  277. brick2223.CanCollide = false
  278. brick2223.Anchored = true
  279. brick2223.CFrame = bg2.Torso.CFrame
  280. brick2223.Transparency = 1
  281. brick2223.Parent = game.Workspace
  282. local sou23 = Instance.new("Sound")
  283. sou23.Pitch = 1
  284. sou23.Volume = 1
  285. sou23.SoundId = "rbxassetid://722960601"
  286. sou23.Parent = bg1.Torso
  287. sou23:Play()
  288. local pe2 = Instance.new("ParticleEmitter")
  289. pe2.Acceleration = Vector3.new(0, 8, 0)
  290. pe2.Lifetime = NumberRange.new(1, 1.5)
  291. pe2.Rate = 20000
  292. pe2.RotSpeed = NumberRange.new(-30, 30)
  293. pe2.Rotation = NumberRange.new(0, 360)
  294. pe2.Size = NumberSequence.new({
  295. NumberSequenceKeypoint.new(0, 4.38, 0),
  296. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  297. NumberSequenceKeypoint.new(1, 1.48, 0)
  298. })
  299. pe2.Texture = "rbxassetid://244221440"
  300. pe2.Transparency = NumberSequence.new({
  301. NumberSequenceKeypoint.new(0, 0, 0),
  302. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  303. NumberSequenceKeypoint.new(1, 1, 1)
  304. })
  305. pe2.ZOffset = 5
  306. pe2.VelocitySpread = 360
  307. pe2.Parent = brick223
  308. pe2.Enabled = true
  309. clpe2 = pe2:Clone()
  310. clpe2.Parent = brick2223
  311. wait(0.25)
  312. pe2.Enabled = false
  313. clpe2.Enabled = false
  314. nvm4.Value = 0
  315. end
  316.  
  317. if say == "transform, 8" then
  318. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
  319. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
  320.  
  321. a = bg1.Head:getChildren()
  322. for i = 1, #a do
  323. if a[i].className == "Part" then
  324. a[i]:Destroy()
  325. end
  326. end
  327.  
  328. b = bg2.Head:getChildren()
  329. for i = 1, #b do
  330. if b[i].className == "Part" then
  331. b[i]:Destroy()
  332. end
  333. end
  334.  
  335. for _,c in pairs(bg2:GetChildren()) do
  336. if c:IsA('Shirt') then
  337. c:Destroy()
  338. shirt = Instance.new("Shirt", bg2)
  339. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=11380099"
  340. end
  341. end
  342.  
  343. for _,c in pairs(bg1:GetChildren()) do
  344. if c:IsA('Pants') then
  345. c:Destroy()
  346. pants = Instance.new("Pants", bg1)
  347. pants.PantsTemplate = "http://www.roblox.com/asset/?id=11380110"
  348. end
  349. end
  350.  
  351. for _,c in pairs(bg2:GetChildren()) do
  352. if c:IsA('Pants') then
  353. c:Destroy()
  354. pants = Instance.new("Pants", bg2)
  355. pants.PantsTemplate = "http://www.roblox.com/asset/?id=11380110"
  356. end
  357. end
  358.  
  359. for _,c in pairs(bg1:GetChildren()) do
  360. if c:IsA('Shirt') then
  361. c:Destroy()
  362. shirt = Instance.new("Shirt", bg1)
  363. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=11380099"
  364. end
  365. end
  366.  
  367. hair = Instance.new("Part", bg1.Head)
  368. hairmesh = Instance.new("SpecialMesh", hair)
  369. hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
  370. hairmesh.TextureId = "rbxassetid://0"
  371. hair.BrickColor = BrickColor.new('Pearl')
  372. hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  373. hair.Transparency = 0
  374. hair.CanCollide = false
  375. hair.Name = "plrhair"
  376. hair.Anchored = false
  377. clhair = hair:Clone()
  378. clhair.Parent = bg2.Head
  379. Weld = Instance.new("Weld", bg1)
  380. Weld.Part0 = bg1.Head
  381. Weld.Part1 = hair
  382. Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  383. Weld = Instance.new("Weld", bg2)
  384. Weld.Part0 = bg2.Head
  385. Weld.Part1 = clhair
  386. Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  387.  
  388. brick = Instance.new("Part")
  389. brick.CanCollide = false
  390. brick.Anchored = true
  391. brick.CFrame = bg1.Torso.CFrame
  392. brick.Transparency = 1
  393. brick.Parent = game.Workspace
  394. brick2 = Instance.new("Part")
  395. brick2.CanCollide = false
  396. brick2.Anchored = true
  397. brick2.CFrame = bg2.Torso.CFrame
  398. brick2.Transparency = 1
  399. brick2.Parent = game.Workspace
  400. local sou = Instance.new("Sound")
  401. sou.Pitch = 1
  402. sou.Volume = 1
  403. sou.SoundId = "rbxassetid://722960601"
  404. sou.Parent = bg1.Torso
  405. sou:Play()
  406. local pe = Instance.new("ParticleEmitter")
  407. pe.Acceleration = Vector3.new(0, 8, 0)
  408. pe.Lifetime = NumberRange.new(1, 1.5)
  409. pe.Rate = 20000
  410. pe.RotSpeed = NumberRange.new(-30, 30)
  411. pe.Rotation = NumberRange.new(0, 360)
  412. pe.Size = NumberSequence.new({
  413. NumberSequenceKeypoint.new(0, 4.38, 0),
  414. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  415. NumberSequenceKeypoint.new(1, 1.48, 0)
  416. })
  417. pe.Texture = "rbxassetid://244221440"
  418. pe.Transparency = NumberSequence.new({
  419. NumberSequenceKeypoint.new(0, 0, 0),
  420. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  421. NumberSequenceKeypoint.new(1, 1, 1)
  422. })
  423. pe.ZOffset = 5
  424. pe.VelocitySpread = 360
  425. pe.Parent = brick
  426. pe.Enabled = true
  427. clpe = pe:Clone()
  428. clpe.Parent = brick2
  429. wait(0.25)
  430. pe.Enabled = false
  431. clpe.Enabled = false
  432. while wait() do
  433. if not sou.IsPlaying then
  434. sou:Destroy()
  435. end
  436. end
  437. end
  438.  
  439.  
  440. if say == "transform, 4" then
  441.  
  442. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
  443. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
  444.  
  445. a = bg1.Head:getChildren()
  446. for i = 1, #a do
  447. if a[i].className == "Part" then
  448. a[i]:Destroy()
  449. end
  450. end
  451.  
  452. b = bg2.Head:getChildren()
  453. for i = 1, #b do
  454. if b[i].className == "Part" then
  455. b[i]:Destroy()
  456. end
  457. end
  458.  
  459. for _,c in pairs(bg2:GetChildren()) do
  460. if c:IsA('Shirt') then
  461. c:Destroy()
  462. shirt = Instance.new("Shirt", bg2)
  463. shirt.ShirtTemplate = "rbxassetid://519774803"
  464. end
  465. end
  466.  
  467. for _,c in pairs(bg1:GetChildren()) do
  468. if c:IsA('Pants') then
  469. c:Destroy()
  470. pants = Instance.new("Pants", bg1)
  471. pants.PantsTemplate = "rbxassetid://519782833"
  472. end
  473. end
  474.  
  475. for _,c in pairs(bg2:GetChildren()) do
  476. if c:IsA('Pants') then
  477. c:Destroy()
  478. pants = Instance.new("Pants", bg2)
  479. pants.PantsTemplate = "rbxassetid://519782833"
  480. end
  481. end
  482.  
  483. for _,c in pairs(bg1:GetChildren()) do
  484. if c:IsA('Shirt') then
  485. c:Destroy()
  486. shirt = Instance.new("Shirt", bg1)
  487. shirt.ShirtTemplate = "rbxassetid://519774803"
  488. end
  489. end
  490.  
  491. hair = Instance.new("Part", bg1.Head)
  492. hairmesh = Instance.new("SpecialMesh", hair)
  493. hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
  494. hairmesh.TextureId = "http://www.roblox.com/asset/?id=1309894"
  495. hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  496. hair.Transparency = 0
  497. hair.CanCollide = false
  498. hair.Name = "plrhair"
  499. hair.Anchored = false
  500. clhair = hair:Clone()
  501. clhair.Parent = bg2.Head
  502. Weld = Instance.new("Weld", bg1)
  503. Weld.Part0 = bg1.Head
  504. Weld.Part1 = hair
  505. Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  506. Weld = Instance.new("Weld", bg2)
  507. Weld.Part0 = bg2.Head
  508. Weld.Part1 = clhair
  509. Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  510.  
  511. brick = Instance.new("Part")
  512. brick.CanCollide = false
  513. brick.Anchored = true
  514. brick.CFrame = bg1.Torso.CFrame
  515. brick.Transparency = 1
  516. brick.Parent = game.Workspace
  517. brick2 = Instance.new("Part")
  518. brick2.CanCollide = false
  519. brick2.Anchored = true
  520. brick2.CFrame = bg2.Torso.CFrame
  521. brick2.Transparency = 1
  522. brick2.Parent = game.Workspace
  523. local sou = Instance.new("Sound")
  524. sou.Pitch = 1
  525. sou.Volume = 1
  526. sou.SoundId = "rbxassetid://722960601"
  527. sou.Parent = bg1.Torso
  528. sou:Play()
  529. local pe = Instance.new("ParticleEmitter")
  530. pe.Acceleration = Vector3.new(0, 8, 0)
  531. pe.Lifetime = NumberRange.new(1, 1.5)
  532. pe.Rate = 20000
  533. pe.RotSpeed = NumberRange.new(-30, 30)
  534. pe.Rotation = NumberRange.new(0, 360)
  535. pe.Size = NumberSequence.new({
  536. NumberSequenceKeypoint.new(0, 4.38, 0),
  537. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  538. NumberSequenceKeypoint.new(1, 1.48, 0)
  539. })
  540. pe.Texture = "rbxassetid://244221440"
  541. pe.Transparency = NumberSequence.new({
  542. NumberSequenceKeypoint.new(0, 0, 0),
  543. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  544. NumberSequenceKeypoint.new(1, 1, 1)
  545. })
  546. pe.ZOffset = 5
  547. pe.VelocitySpread = 360
  548. pe.Parent = brick
  549. pe.Enabled = true
  550. clpe = pe:Clone()
  551. clpe.Parent = brick2
  552. wait(0.25)
  553. pe.Enabled = false
  554. clpe.Enabled = false
  555. while wait() do
  556. if not sou.IsPlaying then
  557. sou:Destroy()
  558. end
  559. end
  560. end
  561.  
  562. if say == "transform, 3" then
  563. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  564. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  565.  
  566.  
  567. a = bg1.Head:getChildren()
  568. for i = 1, #a do
  569. if a[i].className == "Part" then
  570. a[i]:Destroy()
  571. end
  572. end
  573.  
  574. b = bg2.Head:getChildren()
  575. for i = 1, #b do
  576. if b[i].className == "Part" then
  577. b[i]:Destroy()
  578. end
  579. end
  580.  
  581. for _,c in pairs(bg2:GetChildren()) do
  582. if c:IsA('Shirt') then
  583. c:Destroy()
  584. shirt = Instance.new("Shirt", bg2)
  585. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=108783381"
  586. end
  587. end
  588.  
  589. for _,c in pairs(bg1:GetChildren()) do
  590. if c:IsA('Pants') then
  591. c:Destroy()
  592. pants = Instance.new("Pants", bg1)
  593. pants.PantsTemplate = "http://www.roblox.com/asset/?id=412444864"
  594. end
  595. end
  596.  
  597. for _,c in pairs(bg2:GetChildren()) do
  598. if c:IsA('Pants') then
  599. c:Destroy()
  600. pants = Instance.new("Pants", bg2)
  601. pants.PantsTemplate = "http://www.roblox.com/asset/?id=412444864"
  602. end
  603. end
  604.  
  605. for _,c in pairs(bg1:GetChildren()) do
  606. if c:IsA('Shirt') then
  607. c:Destroy()
  608. shirt = Instance.new("Shirt", bg1)
  609. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=108783381"
  610.  
  611. hair = Instance.new("Part", bg1.Head)
  612. hairmesh = Instance.new("SpecialMesh", hair)
  613. hairmesh.MeshId = "http://www.roblox.com/asset/?id=1028788"
  614. hairmesh.TextureId = "http://www.roblox.com/asset/?id=1028787"
  615. hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  616. hair.Transparency = 0
  617. hair.CanCollide = false
  618. hair.Name = "plrhair"
  619. hair.Anchored = false
  620. clhair = hair:Clone()
  621. clhair.Parent = bg2.Head
  622. Weld = Instance.new("Weld", bg1)
  623. Weld.Part0 = bg1.Head
  624. Weld.Part1 = hair
  625. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  626. Weld = Instance.new("Weld", bg2)
  627. Weld.Part0 = bg2.Head
  628. Weld.Part1 = clhair
  629. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  630.  
  631.  
  632. hair3 = Instance.new("Part", bg1.Head)
  633. hairmesh3 = Instance.new("SpecialMesh", hair3)
  634. hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
  635. hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
  636. hairmesh3.Scale = Vector3.new(1, 1, 1)
  637. hair3.Transparency = 0
  638. hair3.CanCollide = false
  639. hair3.Name = "plrhair"
  640. hair3.Anchored = false
  641. clhair3 = hair3:Clone()
  642. clhair3.Parent = bg2.Head
  643. Weld = Instance.new("Weld", bg1)
  644. Weld.Part0 = bg1.Head
  645. Weld.Part1 = hair3
  646. Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  647. Weld = Instance.new("Weld", bg2)
  648. Weld.Part0 = bg2.Head
  649. Weld.Part1 = clhair3
  650. Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  651.  
  652. brick = Instance.new("Part")
  653. brick.CanCollide = false
  654. brick.Anchored = true
  655. brick.CFrame = bg1.Torso.CFrame
  656. brick.Transparency = 1
  657. brick.Parent = game.Workspace
  658. brick2 = Instance.new("Part")
  659. brick2.CanCollide = false
  660. brick2.Anchored = true
  661. brick2.CFrame = bg2.Torso.CFrame
  662. brick2.Transparency = 1
  663. brick2.Parent = game.Workspace
  664. local sou = Instance.new("Sound")
  665. sou.Pitch = 1
  666. sou.Volume = 1
  667. sou.SoundId = "rbxassetid://722960601"
  668. sou.Parent = bg1.Torso
  669. sou:Play()
  670. local pe = Instance.new("ParticleEmitter")
  671. pe.Acceleration = Vector3.new(0, 8, 0)
  672. pe.Lifetime = NumberRange.new(1, 1.5)
  673. pe.Rate = 20000
  674. pe.RotSpeed = NumberRange.new(-30, 30)
  675. pe.Rotation = NumberRange.new(0, 360)
  676. pe.Size = NumberSequence.new({
  677. NumberSequenceKeypoint.new(0, 4.38, 0),
  678. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  679. NumberSequenceKeypoint.new(1, 1.48, 0)
  680. })
  681. pe.Texture = "rbxassetid://244221440"
  682. pe.Transparency = NumberSequence.new({
  683. NumberSequenceKeypoint.new(0, 0, 0),
  684. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  685. NumberSequenceKeypoint.new(1, 1, 1)
  686. })
  687. pe.ZOffset = 5
  688. pe.VelocitySpread = 360
  689. pe.Parent = brick
  690. pe.Enabled = true
  691. clpe = pe:Clone()
  692. clpe.Parent = brick2
  693. wait(0.25)
  694. pe.Enabled = false
  695. clpe.Enabled = false
  696. while wait() do
  697. if not sou.IsPlaying then
  698. sou:Destroy()
  699. end
  700. end
  701. end
  702. end
  703. end
  704.  
  705. if say == "transform, 1" then
  706. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  707. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  708.  
  709.  
  710. a = bg1.Head:getChildren()
  711. for i = 1, #a do
  712. if a[i].className == "Part" then
  713. a[i]:Destroy()
  714. end
  715. end
  716.  
  717. b = bg2.Head:getChildren()
  718. for i = 1, #b do
  719. if b[i].className == "Part" then
  720. b[i]:Destroy()
  721. end
  722. end
  723.  
  724. for _,c in pairs(bg2:GetChildren()) do
  725. if c:IsA('Shirt') then
  726. c:Destroy()
  727. shirt = Instance.new("Shirt", bg2)
  728. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
  729. end
  730. end
  731.  
  732. for _,c in pairs(bg1:GetChildren()) do
  733. if c:IsA('Pants') then
  734. c:Destroy()
  735. pants = Instance.new("Pants", bg1)
  736. pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
  737. end
  738. end
  739.  
  740. for _,c in pairs(bg2:GetChildren()) do
  741. if c:IsA('Pants') then
  742. c:Destroy()
  743. pants = Instance.new("Pants", bg2)
  744. pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
  745. end
  746. end
  747.  
  748. for _,c in pairs(bg1:GetChildren()) do
  749. if c:IsA('Shirt') then
  750. c:Destroy()
  751. shirt = Instance.new("Shirt", bg1)
  752. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
  753. end
  754. end
  755.  
  756.  
  757. brick = Instance.new("Part")
  758. brick.CanCollide = false
  759. brick.Anchored = true
  760. brick.CFrame = bg1.Torso.CFrame
  761. brick.Transparency = 1
  762. brick.Parent = game.Workspace
  763. brick2 = Instance.new("Part")
  764. brick2.CanCollide = false
  765. brick2.Anchored = true
  766. brick2.CFrame = bg2.Torso.CFrame
  767. brick2.Transparency = 1
  768. brick2.Parent = game.Workspace
  769. local sou = Instance.new("Sound")
  770. sou.Pitch = 1
  771. sou.Volume = 1
  772. sou.SoundId = "rbxassetid://722960601"
  773. sou.Parent = bg1.Torso
  774. sou:Play()
  775. local pe = Instance.new("ParticleEmitter")
  776. pe.Acceleration = Vector3.new(0, 8, 0)
  777. pe.Lifetime = NumberRange.new(1, 1.5)
  778. pe.Rate = 20000
  779. pe.RotSpeed = NumberRange.new(-30, 30)
  780. pe.Rotation = NumberRange.new(0, 360)
  781. pe.Size = NumberSequence.new({
  782. NumberSequenceKeypoint.new(0, 4.38, 0),
  783. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  784. NumberSequenceKeypoint.new(1, 1.48, 0)
  785. })
  786. pe.Texture = "rbxassetid://244221440"
  787. pe.Transparency = NumberSequence.new({
  788. NumberSequenceKeypoint.new(0, 0, 0),
  789. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  790. NumberSequenceKeypoint.new(1, 1, 1)
  791. })
  792. pe.ZOffset = 5
  793. pe.VelocitySpread = 360
  794. pe.Parent = brick
  795. pe.Enabled = true
  796. clpe = pe:Clone()
  797. clpe.Parent = brick2
  798. wait(0.25)
  799. pe.Enabled = false
  800. clpe.Enabled = false
  801. while wait() do
  802. if not sou.IsPlaying then
  803. sou:Destroy()
  804. end
  805. end
  806. end
  807.  
  808. if say == "transform, 7" then
  809. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=119839939"
  810. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=119839939"
  811.  
  812. a = bg1.Head:getChildren()
  813. for i = 1, #a do
  814. if a[i].className == "Part" then
  815. a[i]:Destroy()
  816. end
  817. end
  818.  
  819. b = bg2.Head:getChildren()
  820. for i = 1, #b do
  821. if b[i].className == "Part" then
  822. b[i]:Destroy()
  823. end
  824. end
  825.  
  826. for _,c in pairs(bg2:GetChildren()) do
  827. if c:IsA('Shirt') then
  828. c:Destroy()
  829. shirt = Instance.new("Shirt", bg2)
  830. shirt.ShirtTemplate = "rbxassetid://575169492"
  831. end
  832. end
  833.  
  834. for _,c in pairs(bg1:GetChildren()) do
  835. if c:IsA('Pants') then
  836. c:Destroy()
  837. pants = Instance.new("Pants", bg1)
  838. pants.PantsTemplate = "rbxassetid://768690244"
  839. end
  840. end
  841.  
  842. for _,c in pairs(bg2:GetChildren()) do
  843. if c:IsA('Pants') then
  844. c:Destroy()
  845. pants = Instance.new("Pants", bg2)
  846. pants.PantsTemplate = "rbxassetid://768690244"
  847. end
  848. end
  849.  
  850. for _,c in pairs(bg1:GetChildren()) do
  851. if c:IsA('Shirt') then
  852. c:Destroy()
  853. shirt = Instance.new("Shirt", bg1)
  854. shirt.ShirtTemplate = "rbxassetid://575169492"
  855. end
  856. end
  857.  
  858. hair = Instance.new("Part", bg1.Head)
  859. hairmesh = Instance.new("SpecialMesh", hair)
  860. hairmesh.MeshId = "http://www.roblox.com/asset/?id=14394711"
  861. hairmesh.TextureId = "http://www.roblox.com/asset/?id=14394687"
  862. hairmesh.Scale = Vector3.new(1, 0.95, 0.85)
  863. hair.Transparency = 0
  864. hair.CanCollide = false
  865. hair.Name = "plrhair"
  866. hair.Anchored = false
  867. clhair = hair:Clone()
  868. clhair.Parent = bg2.Head
  869. Weld = Instance.new("Weld", bg1)
  870. Weld.Part0 = bg1.Head
  871. Weld.Part1 = hair
  872. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  873. Weld = Instance.new("Weld", bg2)
  874. Weld.Part0 = bg2.Head
  875. Weld.Part1 = clhair
  876. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  877.  
  878. brick = Instance.new("Part")
  879. brick.CanCollide = false
  880. brick.Anchored = true
  881. brick.CFrame = bg1.Torso.CFrame
  882. brick.Transparency = 1
  883. brick.Parent = game.Workspace
  884. brick2 = Instance.new("Part")
  885. brick2.CanCollide = false
  886. brick2.Anchored = true
  887. brick2.CFrame = bg2.Torso.CFrame
  888. brick2.Transparency = 1
  889. brick2.Parent = game.Workspace
  890. local sou = Instance.new("Sound")
  891. sou.Pitch = 1
  892. sou.Volume = 1
  893. sou.SoundId = "rbxassetid://722960601"
  894. sou.Parent = bg1.Torso
  895. sou:Play()
  896. local pe = Instance.new("ParticleEmitter")
  897. pe.Acceleration = Vector3.new(0, 8, 0)
  898. pe.Lifetime = NumberRange.new(1, 1.5)
  899. pe.Rate = 20000
  900. pe.RotSpeed = NumberRange.new(-30, 30)
  901. pe.Rotation = NumberRange.new(0, 360)
  902. pe.Size = NumberSequence.new({
  903. NumberSequenceKeypoint.new(0, 4.38, 0),
  904. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  905. NumberSequenceKeypoint.new(1, 1.48, 0)
  906. })
  907. pe.Texture = "rbxassetid://244221440"
  908. pe.Transparency = NumberSequence.new({
  909. NumberSequenceKeypoint.new(0, 0, 0),
  910. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  911. NumberSequenceKeypoint.new(1, 1, 1)
  912. })
  913. pe.ZOffset = 5
  914. pe.VelocitySpread = 360
  915. pe.Parent = brick
  916. pe.Enabled = true
  917. clpe = pe:Clone()
  918. clpe.Parent = brick2
  919. wait(0.25)
  920. pe.Enabled = false
  921. clpe.Enabled = false
  922. while wait() do
  923. if not sou.IsPlaying then
  924. sou:Destroy()
  925. end
  926. end
  927. end
  928.  
  929. if say == "transform, 6" then
  930. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
  931. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
  932.  
  933. a = bg1.Head:getChildren()
  934. for i = 1, #a do
  935. if a[i].className == "Part" then
  936. a[i]:Destroy()
  937. end
  938. end
  939.  
  940. b = bg2.Head:getChildren()
  941. for i = 1, #b do
  942. if b[i].className == "Part" then
  943. b[i]:Destroy()
  944. end
  945. end
  946.  
  947. for _,c in pairs(bg2:GetChildren()) do
  948. if c:IsA('Shirt') then
  949. c:Destroy()
  950. shirt = Instance.new("Shirt", bg2)
  951. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=4904066"
  952. end
  953. end
  954.  
  955. for _,c in pairs(bg1:GetChildren()) do
  956. if c:IsA('Pants') then
  957. c:Destroy()
  958. pants = Instance.new("Pants", bg1)
  959. pants.PantsTemplate = "http://www.roblox.com/asset/?id=2577832"
  960. end
  961. end
  962.  
  963. for _,c in pairs(bg2:GetChildren()) do
  964. if c:IsA('Pants') then
  965. c:Destroy()
  966. pants = Instance.new("Pants", bg2)
  967. pants.PantsTemplate = "http://www.roblox.com/asset/?id=2577832"
  968. end
  969. end
  970.  
  971. for _,c in pairs(bg1:GetChildren()) do
  972. if c:IsA('Shirt') then
  973. c:Destroy()
  974. shirt = Instance.new("Shirt", bg1)
  975. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=4904066"
  976. end
  977. end
  978.  
  979.  
  980. hair = Instance.new("Part", bg1.Head)
  981. hairmesh = Instance.new("SpecialMesh", hair)
  982. hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
  983. hairmesh.TextureId = "http://www.roblox.com/asset/?id=1309894"
  984. hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  985. hair.Transparency = 0
  986. hair.CanCollide = false
  987. hair.Name = "plrhair"
  988. hair.Anchored = false
  989. clhair = hair:Clone()
  990. clhair.Parent = bg2.Head
  991. Weld = Instance.new("Weld", bg1)
  992. Weld.Part0 = bg1.Head
  993. Weld.Part1 = hair
  994. Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  995. Weld = Instance.new("Weld", bg2)
  996. Weld.Part0 = bg2.Head
  997. Weld.Part1 = clhair
  998. Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  999.  
  1000.  
  1001. hair = Instance.new("Part", bg1.Head)
  1002. hairmesh = Instance.new("SpecialMesh", hair)
  1003. hairmesh.MeshId = "http://www.roblox.com/asset/?id=25648271"
  1004. hairmesh.TextureId = "http://www.roblox.com/asset/?id=28664001"
  1005. hairmesh.Scale = Vector3.new(1.3, 1.35, 1.3)
  1006. hair.Transparency = 0
  1007. hair.CanCollide = false
  1008. hair.Name = "plrhair"
  1009. hair.Anchored = false
  1010. clhair = hair:Clone()
  1011. clhair.Parent = bg2.Head
  1012. Weld = Instance.new("Weld", bg1)
  1013. Weld.Part0 = bg1.Head
  1014. Weld.Part1 = hair
  1015. Weld.C1 = CFrame.new(0, -0.60, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1016. Weld = Instance.new("Weld", bg2)
  1017. Weld.Part0 = bg2.Head
  1018. Weld.Part1 = clhair
  1019. Weld.C1 = CFrame.new(0, -0.60, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1020.  
  1021. brick = Instance.new("Part")
  1022. brick.CanCollide = false
  1023. brick.Anchored = true
  1024. brick.CFrame = bg1.Torso.CFrame
  1025. brick.Transparency = 1
  1026. brick.Parent = game.Workspace
  1027. brick2 = Instance.new("Part")
  1028. brick2.CanCollide = false
  1029. brick2.Anchored = true
  1030. brick2.CFrame = bg2.Torso.CFrame
  1031. brick2.Transparency = 1
  1032. brick2.Parent = game.Workspace
  1033. local sou = Instance.new("Sound")
  1034. sou.Pitch = 1
  1035. sou.Volume = 1
  1036. sou.SoundId = "rbxassetid://722960601"
  1037. sou.Parent = bg1.Torso
  1038. sou:Play()
  1039. local pe = Instance.new("ParticleEmitter")
  1040. pe.Acceleration = Vector3.new(0, 8, 0)
  1041. pe.Lifetime = NumberRange.new(1, 1.5)
  1042. pe.Rate = 20000
  1043. pe.RotSpeed = NumberRange.new(-30, 30)
  1044. pe.Rotation = NumberRange.new(0, 360)
  1045. pe.Size = NumberSequence.new({
  1046. NumberSequenceKeypoint.new(0, 4.38, 0),
  1047. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  1048. NumberSequenceKeypoint.new(1, 1.48, 0)
  1049. })
  1050. pe.Texture = "rbxassetid://244221440"
  1051. pe.Transparency = NumberSequence.new({
  1052. NumberSequenceKeypoint.new(0, 0, 0),
  1053. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  1054. NumberSequenceKeypoint.new(1, 1, 1)
  1055. })
  1056. pe.ZOffset = 5
  1057. pe.VelocitySpread = 360
  1058. pe.Parent = brick
  1059. pe.Enabled = true
  1060. clpe = pe:Clone()
  1061. clpe.Parent = brick2
  1062. wait(0.25)
  1063. pe.Enabled = false
  1064. clpe.Enabled = false
  1065. while wait() do
  1066. if not sou.IsPlaying then
  1067. sou:Destroy()
  1068. end
  1069. end
  1070. end
  1071.  
  1072. if say == "transform, 5" then
  1073. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  1074. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  1075.  
  1076. a = bg1.Head:getChildren()
  1077. for i = 1, #a do
  1078. if a[i].className == "Part" then
  1079. a[i]:Destroy()
  1080. end
  1081. end
  1082.  
  1083. b = bg2.Head:getChildren()
  1084. for i = 1, #b do
  1085. if b[i].className == "Part" then
  1086. b[i]:Destroy()
  1087. end
  1088. end
  1089.  
  1090. for _,c in pairs(bg2:GetChildren()) do
  1091. if c:IsA('Shirt') then
  1092. c:Destroy()
  1093. shirt = Instance.new("Shirt", bg2)
  1094. shirt.ShirtTemplate = "rbxassetid://146364138"
  1095. end
  1096. end
  1097.  
  1098. for _,c in pairs(bg1:GetChildren()) do
  1099. if c:IsA('Pants') then
  1100. c:Destroy()
  1101. pants = Instance.new("Pants", bg1)
  1102. pants.PantsTemplate = "rbxassetid://195399271"
  1103. end
  1104. end
  1105.  
  1106. for _,c in pairs(bg2:GetChildren()) do
  1107. if c:IsA('Pants') then
  1108. c:Destroy()
  1109. pants = Instance.new("Pants", bg2)
  1110. pants.PantsTemplate = "rbxassetid://195399271"
  1111. end
  1112. end
  1113.  
  1114. for _,c in pairs(bg1:GetChildren()) do
  1115. if c:IsA('Shirt') then
  1116. c:Destroy()
  1117. shirt = Instance.new("Shirt", bg1)
  1118. shirt.ShirtTemplate = "rbxassetid://175602621"
  1119. end
  1120. end
  1121.  
  1122. hair = Instance.new("Part", bg1.Head)
  1123. hairmesh = Instance.new("SpecialMesh", hair)
  1124. hairmesh.MeshId = "http://www.roblox.com/asset/?id=16190466"
  1125. hairmesh.TextureId = "http://www.roblox.com/asset/?id=59293792"
  1126. hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  1127. hair.Transparency = 0
  1128. hair.CanCollide = false
  1129. hair.Name = "plrhair"
  1130. hair.Anchored = false
  1131. clhair = hair:Clone()
  1132. clhair.Parent = bg2.Head
  1133. clhair.Mesh.TextureId = "http://www.roblox.com/asset/?id=114723589"
  1134. clhair.Mesh.MeshId = "http://www.roblox.com/asset/?id=16101994"
  1135. clhair.Mesh.Scale = Vector3.new(1.02,1.02,1.02)
  1136. Weld = Instance.new("Weld", bg1)
  1137. Weld.Part0 = bg1.Head
  1138. Weld.Part1 = hair
  1139. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1140. Weld = Instance.new("Weld", bg2)
  1141. Weld.Part0 = bg2.Head
  1142. Weld.Part1 = clhair
  1143. Weld.C1 = CFrame.new(0, -0.14, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1144.  
  1145. hair3 = Instance.new("Part", bg1.Head)
  1146. hairmesh3 = Instance.new("SpecialMesh", hair3)
  1147. hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
  1148. hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
  1149. hairmesh3.Scale = Vector3.new(1, 1, 1)
  1150. hair3.Transparency = 0
  1151. hair3.CanCollide = false
  1152. hair3.Name = "plrhair"
  1153. hair3.Anchored = false
  1154. clhair3 = hair3:Clone()
  1155. clhair3.Parent = bg2.Head
  1156. Weld = Instance.new("Weld", bg1)
  1157. Weld.Part0 = bg1.Head
  1158. Weld.Part1 = hair3
  1159. Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1160. Weld = Instance.new("Weld", bg2)
  1161. Weld.Part0 = bg2.Head
  1162. Weld.Part1 = clhair3
  1163. Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1164.  
  1165. brick = Instance.new("Part")
  1166. brick.CanCollide = false
  1167. brick.Anchored = true
  1168. brick.CFrame = bg1.Torso.CFrame
  1169. brick.Transparency = 1
  1170. brick.Parent = game.Workspace
  1171. brick2 = Instance.new("Part")
  1172. brick2.CanCollide = false
  1173. brick2.Anchored = true
  1174. brick2.CFrame = bg2.Torso.CFrame
  1175. brick2.Transparency = 1
  1176. brick2.Parent = game.Workspace
  1177. local sou = Instance.new("Sound")
  1178. sou.Pitch = 1
  1179. sou.Volume = 1
  1180. sou.SoundId = "rbxassetid://722960601"
  1181. sou.Parent = bg1.Torso
  1182. sou:Play()
  1183. local pe = Instance.new("ParticleEmitter")
  1184. pe.Acceleration = Vector3.new(0, 8, 0)
  1185. pe.Lifetime = NumberRange.new(1, 1.5)
  1186. pe.Rate = 20000
  1187. pe.RotSpeed = NumberRange.new(-30, 30)
  1188. pe.Rotation = NumberRange.new(0, 360)
  1189. pe.Size = NumberSequence.new({
  1190. NumberSequenceKeypoint.new(0, 4.38, 0),
  1191. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  1192. NumberSequenceKeypoint.new(1, 1.48, 0)
  1193. })
  1194. pe.Texture = "rbxassetid://244221440"
  1195. pe.Transparency = NumberSequence.new({
  1196. NumberSequenceKeypoint.new(0, 0, 0),
  1197. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  1198. NumberSequenceKeypoint.new(1, 1, 1)
  1199. })
  1200. pe.ZOffset = 5
  1201. pe.VelocitySpread = 360
  1202. pe.Parent = brick
  1203. pe.Enabled = true
  1204. clpe = pe:Clone()
  1205. clpe.Parent = brick2
  1206. wait(0.25)
  1207. pe.Enabled = false
  1208. clpe.Enabled = false
  1209. while wait() do
  1210. if not sou.IsPlaying then
  1211. sou:Destroy()
  1212. end
  1213. end
  1214. end
  1215.  
  1216.  
  1217. if say == "transform, 2" then
  1218. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  1219. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
  1220.  
  1221. a = bg1.Head:getChildren()
  1222. for i = 1, #a do
  1223. if a[i].className == "Part" then
  1224. a[i]:Destroy()
  1225. end
  1226. end
  1227.  
  1228. b = bg2.Head:getChildren()
  1229. for i = 1, #b do
  1230. if b[i].className == "Part" then
  1231. b[i]:Destroy()
  1232. end
  1233. end
  1234. hair = Instance.new("Part", bg1.Head)
  1235. hairmesh = Instance.new("SpecialMesh", hair)
  1236. hairmesh.MeshId = "http://www.roblox.com/asset/?id=28035864"
  1237. hairmesh.TextureId = "http://www.roblox.com/asset/?id=28035854"
  1238. hairmesh.Scale = Vector3.new(1.03, 1.03, 0.98)
  1239. hair.Transparency = 0
  1240. hair.CanCollide = false
  1241. hair.Name = "plrhair"
  1242. hair.Anchored = false
  1243. clhair = hair:Clone()
  1244. clhair.Parent = bg2.Head
  1245. Weld = Instance.new("Weld", bg1)
  1246. Weld.Part0 = bg1.Head
  1247. Weld.Part1 = hair
  1248. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1249. Weld = Instance.new("Weld", bg2)
  1250. Weld.Part0 = bg2.Head
  1251. Weld.Part1 = clhair
  1252. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1253.  
  1254. hair3 = Instance.new("Part", bg1.Head)
  1255. hairmesh3 = Instance.new("SpecialMesh", hair3)
  1256. hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
  1257. hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
  1258. hairmesh3.Scale = Vector3.new(1, 1, 1)
  1259. hair3.Transparency = 0
  1260. hair3.CanCollide = false
  1261. hair3.Name = "plrhair"
  1262. hair3.Anchored = false
  1263. clhair3 = hair3:Clone()
  1264. clhair3.Parent = bg2.Head
  1265. Weld = Instance.new("Weld", bg1)
  1266. Weld.Part0 = bg1.Head
  1267. Weld.Part1 = hair3
  1268. Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1269. Weld = Instance.new("Weld", bg2)
  1270. Weld.Part0 = bg2.Head
  1271. Weld.Part1 = clhair3
  1272. Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1273.  
  1274. for _,c in pairs(bg1:GetChildren()) do
  1275. if c:IsA('Pants') then
  1276. c:Destroy()
  1277. pants = Instance.new("Pants", bg1)
  1278. pants.PantsTemplate = "http://www.roblox.com/asset/?id=747111515"
  1279. end
  1280. end
  1281.  
  1282. for _,c in pairs(bg1:GetChildren()) do
  1283. if c:IsA('Shirt') then
  1284. c:Destroy()
  1285. shirt = Instance.new("Shirt", bg1)
  1286. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=153259531"
  1287. end
  1288. end
  1289.  
  1290. for _,c in pairs(bg2:GetChildren()) do
  1291. if c:IsA('Pants') then
  1292. c:Destroy()
  1293. pants = Instance.new("Pants", bg2)
  1294. pants.PantsTemplate = "http://www.roblox.com/asset/?id=747111515"
  1295. end
  1296. end
  1297.  
  1298. for _,c in pairs(bg2:GetChildren()) do
  1299. if c:IsA('Shirt') then
  1300. c:Destroy()
  1301. shirt = Instance.new("Shirt", bg2)
  1302. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=153259531"
  1303. end
  1304. end
  1305.  
  1306. brick = Instance.new("Part")
  1307. brick.CanCollide = false
  1308. brick.Anchored = true
  1309. brick.CFrame = bg1.Torso.CFrame
  1310. brick.Transparency = 1
  1311. brick.Parent = game.Workspace
  1312. brick2 = Instance.new("Part")
  1313. brick2.CanCollide = false
  1314. brick2.Anchored = true
  1315. brick2.CFrame = bg2.Torso.CFrame
  1316. brick2.Transparency = 1
  1317. brick2.Parent = game.Workspace
  1318. local sou = Instance.new("Sound")
  1319. sou.Pitch = 1
  1320. sou.Volume = 1
  1321. sou.SoundId = "rbxassetid://722960601"
  1322. sou.Parent = bg1.Torso
  1323. sou:Play()
  1324. local pe = Instance.new("ParticleEmitter")
  1325. pe.Acceleration = Vector3.new(0, 8, 0)
  1326. pe.Lifetime = NumberRange.new(1, 1.5)
  1327. pe.Rate = 20000
  1328. pe.RotSpeed = NumberRange.new(-30, 30)
  1329. pe.Rotation = NumberRange.new(0, 360)
  1330. pe.Size = NumberSequence.new({
  1331. NumberSequenceKeypoint.new(0, 4.38, 0),
  1332. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  1333. NumberSequenceKeypoint.new(1, 1.48, 0)
  1334. })
  1335. pe.Texture = "rbxassetid://244221440"
  1336. pe.Transparency = NumberSequence.new({
  1337. NumberSequenceKeypoint.new(0, 0, 0),
  1338. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  1339. NumberSequenceKeypoint.new(1, 1, 1)
  1340. })
  1341. pe.ZOffset = 5
  1342. pe.VelocitySpread = 360
  1343. pe.Parent = brick
  1344. pe.Enabled = true
  1345. clpe = pe:Clone()
  1346. clpe.Parent = brick2
  1347. wait(0.25)
  1348. pe.Enabled = false
  1349. clpe.Enabled = false
  1350. while wait() do
  1351. if not sou.IsPlaying then
  1352. sou:Destroy()
  1353. end
  1354. end
  1355. end
  1356.  
  1357. if say == "guns, out" then
  1358. nvm.Value = 1
  1359. Mouse = plr:GetMouse()
  1360.  
  1361. Mouse.Button1Down:connect(function()
  1362. if nvm.Value == 1 then
  1363. randomg = math.random(1,2)
  1364. if randomg == 1 then
  1365. bullet = Instance.new('Part', game.Workspace)
  1366. bullet.Touched:connect(function(hit)
  1367. if hit.Parent:FindFirstChild("Humanoid") then
  1368. hit.Parent:BreakJoints()
  1369. end
  1370. end)
  1371. bullet.Anchored = false
  1372. bullet.CanCollide = false
  1373. bullet.Size = Vector3.new(0.2,0.2,0.2)
  1374. bullet.BrickColor = BrickColor.new('Really black')
  1375. bullet.CFrame = Mouse.Hit
  1376. bullet.Name = 'Bullet'
  1377. game.Debris:AddItem(bullet, 1)
  1378. local shoot=Instance.new("Sound", bg1["Right Arm"])
  1379. shoot.SoundId="rbxassetid://180955656"
  1380. shoot:Play()
  1381. bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, Mouse.Hit.p)
  1382. end
  1383. if randomg == 2 then
  1384. bullet = Instance.new('Part', game.Workspace)
  1385. bullet.Touched:connect(function(hit)
  1386. if hit.Parent:FindFirstChild("Humanoid") then
  1387. hit.Parent:BreakJoints()
  1388. end
  1389. end)
  1390. bullet.Anchored = false
  1391. bullet.CanCollide = false
  1392. bullet.Size = Vector3.new(0.2,0.2,0.2)
  1393. bullet.BrickColor = BrickColor.new('Really black')
  1394. bullet.CFrame = Mouse.Hit
  1395. bullet.Name = 'Bullet'
  1396. game.Debris:AddItem(bullet2, 1)
  1397. local shoot2 = Instance.new("Sound", bg2["Right Arm"])
  1398. shoot2.SoundId="rbxassetid://180955656"
  1399. shoot2:Play()
  1400. bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, Mouse.Hit.p)
  1401. end
  1402. end
  1403. end)
  1404.  
  1405. part1 = Instance.new("Part")
  1406. part1.Parent = char
  1407. part1.Transparency = 0
  1408. part1.BrickColor = BrickColor.new('Really black')
  1409. part1.TopSurface = 0
  1410. part1.BottomSurface = 0
  1411. part1.CanCollide = false
  1412. part1.Anchored = false
  1413. gun = Instance.new("SpecialMesh", part1)
  1414. gun.MeshId = "rbxassetid://4372594"
  1415. gun.Scale = Vector3.new(1, 1, 1)
  1416. part1.CFrame = bg1["Right Arm"].CFrame * CFrame.new(0, 1, 1.75)
  1417. Weld5 = Instance.new("Weld", bg1)
  1418. Weld5.Part0 = bg1["Right Arm"]
  1419. Weld5.Part1 = part1
  1420. Weld5.C1 = CFrame.Angles(math.rad(-83),math.rad(180),math.rad(180)) * CFrame.new(0, 1.50, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1421.  
  1422. part2 = Instance.new("Part")
  1423. part2.Parent = char
  1424. part2.Transparency = 0
  1425. part2.BrickColor = BrickColor.new('Really black')
  1426. part2.TopSurface = 0
  1427. part2.BottomSurface = 0
  1428. part2.CanCollide = false
  1429. part2.Anchored = false
  1430. gun2 = Instance.new("SpecialMesh", part2)
  1431. gun2.MeshId = "rbxassetid://4372594"
  1432. gun2.Scale = Vector3.new(1, 1, 1)
  1433. part2.CFrame = bg2["Right Arm"].CFrame * CFrame.new(0, 1, 1.75)
  1434. Weld10 = Instance.new("Weld", bg1)
  1435. Weld10.Part0 = bg2["Right Arm"]
  1436. Weld10.Part1 = part2
  1437. Weld10.C1 = CFrame.Angles(math.rad(-83),math.rad(180),math.rad(180)) * CFrame.new(0, 1.50, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1438.  
  1439. charbg1 = bg1
  1440. arm = {charbg1["Right Arm"]}
  1441. charbg1.Torso["Right Shoulder"].Archivable = true
  1442. mc = charbg1.Torso["Right Shoulder"]:Clone()
  1443. weld = Instance.new("Weld", arm[1])
  1444. weld.Part0 = charbg1.Torso
  1445. weld.Part1 = weld.Parent
  1446. weld.C1 = CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
  1447.  
  1448. charbg2 = bg2
  1449. arm = {charbg2["Right Arm"]}
  1450. charbg2.Torso["Right Shoulder"].Archivable = true
  1451. mc3 = charbg2.Torso["Right Shoulder"]:Clone()
  1452. weld12 = Instance.new("Weld", arm[1])
  1453. weld12.Part0 = charbg2.Torso
  1454. weld12.Part1 = weld12.Parent
  1455. weld12.C1 = CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
  1456. end
  1457.  
  1458. if say == "dance," then
  1459. dance1 = math.random(1,7)
  1460. if dance1 == 1 then
  1461. local animation = Instance.new("Animation")
  1462. animation.AnimationId = "rbxassetid://27789359"
  1463. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1464. animTrack:Play()
  1465. end
  1466. if dance1 == 2 then
  1467. local animation = Instance.new("Animation")
  1468. animation.AnimationId = "rbxassetid://30196114"
  1469. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1470. animTrack:Play()
  1471. end
  1472. if dance1 == 3 then
  1473. local animation = Instance.new("Animation")
  1474. animation.AnimationId = "rbxassetid://248263260"
  1475. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1476. animTrack:Play()
  1477. end
  1478. if dance1 == 4 then
  1479. local animation = Instance.new("Animation")
  1480. animation.AnimationId = "rbxassetid://45834924"
  1481. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1482. animTrack:Play()
  1483. end
  1484. if dance1 == 5 then
  1485. local animation = Instance.new("Animation")
  1486. animation.AnimationId = "rbxassetid://33796059"
  1487. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1488. animTrack:Play()
  1489. end
  1490. if dance1 == 6 then
  1491. local animation = Instance.new("Animation")
  1492. animation.AnimationId = "rbxassetid://28488254"
  1493. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1494. animTrack:Play()
  1495. end
  1496. if dance1 == 7 then
  1497. local animation = Instance.new("Animation")
  1498. animation.AnimationId = "rbxassetid://52155728"
  1499. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1500. animTrack:Play()
  1501. end
  1502.  
  1503. dance2 = math.random(1,7)
  1504. if dance2 == 1 then
  1505. local animation = Instance.new("Animation")
  1506. animation.AnimationId = "rbxassetid://27789359"
  1507. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1508. animTrack:Play()
  1509. end
  1510. if dance2 == 2 then
  1511. local animation = Instance.new("Animation")
  1512. animation.AnimationId = "rbxassetid://30196114"
  1513. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1514. animTrack:Play()
  1515. end
  1516. if dance2 == 3 then
  1517. local animation = Instance.new("Animation")
  1518. animation.AnimationId = "rbxassetid://248263260"
  1519. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1520. animTrack:Play()
  1521. end
  1522. if dance2 == 4 then
  1523. local animation = Instance.new("Animation")
  1524. animation.AnimationId = "rbxassetid://45834924"
  1525. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1526. animTrack:Play()
  1527. end
  1528. if dance2 == 5 then
  1529. local animation = Instance.new("Animation")
  1530. animation.AnimationId = "rbxassetid://33796059"
  1531. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1532. animTrack:Play()
  1533. end
  1534. if dance2 == 6 then
  1535. local animation = Instance.new("Animation")
  1536. animation.AnimationId = "rbxassetid://28488254"
  1537. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1538. animTrack:Play()
  1539. end
  1540. if dance2 == 7 then
  1541. local animation = Instance.new("Animation")
  1542. animation.AnimationId = "rbxassetid://52155728"
  1543. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1544. animTrack:Play()
  1545. end
  1546. end
  1547.  
  1548. if say == "focus," then
  1549. local animation = Instance.new("Animation")
  1550. animation.AnimationId = "rbxassetid://0"
  1551. local animTrack = bg1.Humanoid:LoadAnimation(animation)
  1552. animTrack:Play()
  1553.  
  1554. local animation = Instance.new("Animation")
  1555. animation.AnimationId = "rbxassetid://0"
  1556. local animTrack = bg2.Humanoid:LoadAnimation(animation)
  1557. animTrack:Play()
  1558. end
  1559.  
  1560. if say == "guns, in" then
  1561. nvm.Value = 0
  1562. weld:Destroy()
  1563. mc.Parent = charbg1.Torso
  1564.  
  1565. Weld10:Destroy()
  1566. Weld5:Destroy()
  1567. part1:Destroy()
  1568. part2:Destroy()
  1569.  
  1570. weld12:Destroy()
  1571. mc3.Parent = charbg2.Torso
  1572. end
  1573.  
  1574. if say == "unride," then
  1575. nvm3.Value = 0
  1576. nvm2.Value = 1
  1577. if bg1.Head:FindFirstChild('noobweld') then
  1578. bg1.Head.noobweld:Destroy()
  1579. end
  1580. if char.Head:FindFirstChild('firstweld') then
  1581. char.Head.firstweld:Destroy()
  1582. end
  1583. bg2.Humanoid.WalkSpeed = 16
  1584. bg1.Humanoid.Sit = false
  1585. bg2.Humanoid.Sit = false
  1586. char.Humanoid.Sit = false
  1587. end
  1588.  
  1589. if say == "ride," then
  1590. Mouse = plr:GetMouse()
  1591. nvm2.Value = 0
  1592. nvm3.Value = 1
  1593. p = Instance.new('Weld', plr.Character.Head)
  1594. p.Part0 = plr.Character:FindFirstChild("Torso") or plr.Character:FindFirstChild("UpperTorso")
  1595. p.Part1 = bg1:FindFirstChild("Torso") or bg1:FindFirstChild("UpperTorso")
  1596. p.Name = 'firstweld'
  1597. p.C0 = CFrame.new(0,-2.2,-.50)
  1598. a = Instance.new('Weld', bg1.Head)
  1599. a.Part0 = bg1:FindFirstChild("Torso") or bg1:FindFirstChild("UpperTorso")
  1600. a.Part1 = bg2:FindFirstChild("Torso") or bg2:FindFirstChild("UpperTorso")
  1601. a.C0 = CFrame.new(0,-2.2,-.50)
  1602. a.Name = 'noobweld'
  1603. plr.Character.Humanoid.Sit = true
  1604. bg1.Humanoid.Sit = true
  1605. while wait() do
  1606. if nvm3.Value == 1 then
  1607. bg2.Humanoid:MoveTo(Mouse.Hit.p)
  1608. plr.Character.Humanoid.Sit = true
  1609. bg1.Humanoid.Sit = true
  1610. bg1.Humanoid.Health = bg1.Humanoid.Health + 100
  1611. bg2.Humanoid.Health = bg2.Humanoid.Health + 100
  1612. bg2.Humanoid.WalkSpeed = 65
  1613. end
  1614. end
  1615.  
  1616. if say == "spy," then
  1617. signal = Instance.new('Part', game.ReplicatedStorage)
  1618. local ply = game.Players:GetPlayers()[math.random(game.Players.NumPlayers)]
  1619. bgchoose = math.random(1, 2)
  1620. if bgchoose == 1 then
  1621.  
  1622. bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20722053"
  1623.  
  1624. for _,c in pairs(bg1:GetChildren()) do
  1625. if c:IsA('Pants') then
  1626. c:Destroy()
  1627. pants = Instance.new("Pants", bg1)
  1628. pants.PantsTemplate = "http://www.roblox.com/asset/?id=144076759"
  1629. end
  1630. end
  1631.  
  1632. for _,c in pairs(bg1:GetChildren()) do
  1633. if c:IsA('Shirt') then
  1634. c:Destroy()
  1635. shirt = Instance.new("Shirt", bg1)
  1636. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=382538058"
  1637. end
  1638. end
  1639.  
  1640. hair = Instance.new("Part", bg1.Head)
  1641. hairmesh = Instance.new("SpecialMesh", hair)
  1642. hairmesh.MeshId = "rbxassetid://494950128"
  1643. hairmesh.Scale = Vector3.new(1, 1, 1)
  1644. hair.Transparency = 0
  1645. hair.CanCollide = false
  1646. hair.Name = "plrhair"
  1647. hair.Anchored = false
  1648. hair.BrickColor = BrickColor.new("Really red")
  1649. Weld = Instance.new("Weld", bg1)
  1650. Weld.Part0 = bg1.Head
  1651. Weld.Part1 = hair
  1652. Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1653. while wait() do
  1654. if game.ReplicatedStorage:FindFirstChild('Part') then
  1655. bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, ply.Character.Torso.Position)
  1656. end
  1657. end
  1658.  
  1659. if bgchoose == 2 then
  1660.  
  1661. bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20418518"
  1662.  
  1663. for _,c in pairs(bg2:GetChildren()) do
  1664. if c:IsA('Pants') then
  1665. c:Destroy()
  1666. pants = Instance.new("Pants", bg2)
  1667. pants.PantsTemplate = "http://www.roblox.com/asset/?id=442560707"
  1668. end
  1669. end
  1670.  
  1671. for _,c in pairs(bg2:GetChildren()) do
  1672. if c:IsA('Shirt') then
  1673. c:Destroy()
  1674. shirt = Instance.new("Shirt", bg2)
  1675. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=442557590"
  1676. end
  1677. end
  1678.  
  1679. hair1 = Instance.new("Part", bg2.Head)
  1680. hairmesh1 = Instance.new("SpecialMesh", hair1)
  1681. hairmesh1.MeshId = "rbxassetid://494950128"
  1682. hairmesh1.Scale = Vector3.new(1, 1, 1)
  1683. hair1.Transparency = 0
  1684. hair1.CanCollide = false
  1685. hair1.Name = "plrhair"
  1686. hair1.Anchored = false
  1687. hair1.BrickColor = BrickColor.new("Really black")
  1688. Weld1 = Instance.new("Weld", bg2)
  1689. Weld1.Part0 = bg2.Head
  1690. Weld1.Part1 = hair1
  1691. Weld1.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1692. signal2 = Instance.new('Part', game.ReplicatedStorage)
  1693. signal2.Name = "Part2"
  1694. while wait() do
  1695. if game.ReplicatedStorage:FindFirstChild('Part2') then
  1696. bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, ply.Character.Torso.Position)
  1697. end
  1698. end
  1699. end
  1700. end
  1701. end
  1702. end
  1703. end)
  1704.  
  1705. game:GetService('RunService').RenderStepped:connect(function()
  1706. if nvm2.Value == 1 then
  1707. bg1.Humanoid.Health = bg1.Humanoid.Health + 5000
  1708. bg2.Humanoid.Health = bg2.Humanoid.Health + 5000
  1709. bg1.Humanoid:MoveTo(bgpoint1.Position)
  1710. bg2.Humanoid:MoveTo(bgpoint2.Position)
  1711. if bg1.Humanoid.PlatformStand == true then
  1712. bg1.Humanoid.PlatformStand = false
  1713. end
  1714. if bg2.Humanoid.PlatformStand == true then
  1715. bg2.Humanoid.PlatformStand = false
  1716. end
  1717. if bg1.Humanoid.Sit == true then
  1718. bg1.Humanoid.Sit = false
  1719. end
  1720. if bg2.Humanoid.Sit == true then
  1721. bg2.Humanoid.Sit = false
  1722. end
  1723. for _,v in pairs(workspace:children()) do
  1724. if v:IsA('Model') and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
  1725. if (v.HumanoidRootPart.Position-bg1.Torso.Position).magnitude <=2 then
  1726. bg1.Humanoid.Jump=true
  1727. end
  1728. end
  1729. end
  1730. for _,v in pairs(workspace:children()) do
  1731. if v:IsA('Model') and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
  1732. if (v.HumanoidRootPart.Position-bg2.Torso.Position).magnitude <=2 then
  1733. bg2.Humanoid.Jump=true
  1734. end
  1735. end
  1736. end
  1737. if (game.Players.LocalPlayer.Character.Torso.Position - bg2.Torso.Position).magnitude <= 20 then
  1738. bg2.Humanoid.WalkSpeed = 16
  1739. else
  1740. bg2.Humanoid.WalkSpeed = 55
  1741. end
  1742. if (game.Players.LocalPlayer.Character.Torso.Position - bg1.Torso.Position).magnitude <= 20 then
  1743. bg1.Humanoid.WalkSpeed = 16
  1744. else
  1745. bg1.Humanoid.WalkSpeed = 55
  1746. end
  1747. end
  1748. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement