Tripane
|
  |
| Joined: 03 Jun 2011 |
| Total Posts: 11432 |
|
|
| 08 Aug 2014 03:49 PM |
if script.Parent.Visible == true then game.Workspace.CurrentCamera.CCPlayerModel:GetChildren() for i = 1, #children do children.Transparency = 0 end end local Container = Workspace:FindFirstChild("CCPMH") if not Container then Container = Instance.new("Camera") Container.Name = "CCPMH" Container.Parent = Workspace end game.Workspace.Containter.CCPlayerModel.Parent = Containter c = game.Workspace.CCPlayerModel.Parent
|
|
|
| Report Abuse |
|
|
Tripane
|
  |
| Joined: 03 Jun 2011 |
| Total Posts: 11432 |
|
| |
|
Tripane
|
  |
| Joined: 03 Jun 2011 |
| Total Posts: 11432 |
|
| |
|
Rackm
|
  |
| Joined: 07 Jan 2014 |
| Total Posts: 718 |
|
| |
|
Rackm
|
  |
| Joined: 07 Jan 2014 |
| Total Posts: 718 |
|
|
| 08 Aug 2014 04:19 PM |
Nope i see the problem. Try this:
if script.Parent.Visible == true then game.Workspace.CurrentCamera.CCPlayerModel:GetChildren() for i = 1, #children do children[i].Transparency = 0 end end local Container = Workspace:FindFirstChild("CCPMH") if not Container then Container = Instance.new("Camera") Container.Name = "CCPMH" Container.Parent = Workspace end
game.Workspace.Containter.CCPlayerModel.Parent = Containter c = game.Workspace.CCPlayerModel.Parent |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 08 Aug 2014 04:21 PM |
if script.Parent.Visible == true then local children = game.Workspace.CurrentCamera.CCPlayerModel:GetChildren() --forgot something in here for i = 1, #children do children[i].Transparency = 0 end end local Container = Workspace:FindFirstChild("CCPMH") if not Container then Container = Instance.new("Camera") Container.Name = "CCPMH" Container.Parent = Workspace end
Scripter | Trioxide | Torrent Leecher | Kuroyukihime | Trioxide |
|
|
| Report Abuse |
|
|
Rackm
|
  |
| Joined: 07 Jan 2014 |
| Total Posts: 718 |
|
|
| 08 Aug 2014 04:22 PM |
| @trio Woops didn't see he forgot the local lol |
|
|
| Report Abuse |
|
|
Tripane
|
  |
| Joined: 03 Jun 2011 |
| Total Posts: 11432 |
|
|
| 08 Aug 2014 04:28 PM |
| neither of those made ccplayermodel visible or put ccplayermodel in ccpmh |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 08 Aug 2014 04:39 PM |
"local children = " He forgot that entire thing.
@OP Post output.
Scripter | Trioxide | Torrent Leecher | Kuroyukihime | Trioxide |
|
|
| Report Abuse |
|
|
Tripane
|
  |
| Joined: 03 Jun 2011 |
| Total Posts: 11432 |
|
|
| 08 Aug 2014 04:52 PM |
| Container is not a valid member of workspace |
|
|
| Report Abuse |
|
|
Fidgeting
|
  |
| Joined: 08 Feb 2014 |
| Total Posts: 1193 |
|
|
| 08 Aug 2014 04:55 PM |
Container = Instance.new("Camera", Workspace)
? |
|
|
| Report Abuse |
|
|
Tripane
|
  |
| Joined: 03 Jun 2011 |
| Total Posts: 11432 |
|
|
| 08 Aug 2014 04:56 PM |
problem is @line 13
game.Workspace.Containter.CCPlayerModel.Parent = Containter |
|
|
| Report Abuse |
|
|
Tripane
|
  |
| Joined: 03 Jun 2011 |
| Total Posts: 11432 |
|
|
| 08 Aug 2014 04:58 PM |
| CCPlayerModel wont go into camera |
|
|
| Report Abuse |
|
|
Fidgeting
|
  |
| Joined: 08 Feb 2014 |
| Total Posts: 1193 |
|
|
| 08 Aug 2014 05:00 PM |
game.Workspace.Container.CCPlayerModel.Parent = Container
you spelt Containter. |
|
|
| Report Abuse |
|
|
Tripane
|
  |
| Joined: 03 Jun 2011 |
| Total Posts: 11432 |
|
|
| 08 Aug 2014 05:03 PM |
lol
it still wont go into the camera (ccpmh) |
|
|
| Report Abuse |
|
|