Advertisement
The_God_M8

wawt

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