Advertisement
Guest User

.

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