Advertisement
sneakydodge123

Untitled

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