gabiplayz

guards

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