drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 01 Oct 2013 01:11 AM |
it works fine on solo, although in a server it says "Current_Map is not a valid member of frame" in the output.
local player = game.Players.LocalPlayer local character = player.Character local camera = workspace.CurrentCamera local map = script.Parent.Current_Map local target = Workspace[map.Value] camera.CameraSubject = target
local angle = 0 while wait() do camera.CoordinateFrame = CFrame.new(target.Map_Cam.Position) * CFrame.Angles(0, angle, -5) * CFrame.new(0, 0, -10) camera.Focus = CFrame.new(target.Map_Focus.Position) angle = angle + math.rad(1) if script.Parent.Player_Spawned.Value == true then game.Workspace.CurrentCamera.CameraType = "Custom" game.Workspace.CurrentCamera.CameraSubject = character.Humanoid break end end
When life gives you lemons, Squirt 'em in your eyes. - Drahsid5 |
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 01 Oct 2013 01:20 AM |
bump
When life gives you lemons, Squirt 'em in your eyes. - Drahsid5 |
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 01 Oct 2013 01:41 AM |
bump
When life gives you lemons, Squirt 'em in your eyes. - Drahsid5 |
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 01 Oct 2013 01:49 AM |
bump
When life gives you lemons, Squirt 'em in your eyes. - Drahsid5 |
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 01 Oct 2013 02:06 AM |
.-.
When life gives you lemons, Squirt 'em in your eyes. - Drahsid5 |
|
|
| Report Abuse |
|
|
av83r
|
  |
| Joined: 28 Jul 2009 |
| Total Posts: 2580 |
|
|
| 01 Oct 2013 02:44 AM |
local map = script.Parent.Current_Map--here is Current_Map, everything not related is rubbish
you said the output is saying Current_Map is not a part of frame.
Here you have made 2 very critical noob mistakes that are preventing you from getting help.
1.) we do not have knowledge of the important parts of the script
2.) you did not post the output as was written, but instead, as was incorrectly interpreted.
So lets start from square 1 so you don't waste anyone elses time. THE OUTPUT. NOW. |
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 01 Oct 2013 07:33 AM |
First, you've made 1 'critica noob mistake' on understanding what a noob is. It works like this:
Newbie = Newb = Noob = Nub
and a newbie is a new person. This account isn't new, and my first account was in 09.
Next, the output wrote
08:31:36.298 - Current_Map is not a valid member of Frame 08:31:36.298 - Script 'Players.Player1.PlayerGui.Spawn_Menu.Gui_Holder.Spawn_Cam', Line 4 08:31:36.298 - stack end 08:31:36.299 - Running Script "Players.Player1.PlayerGui.Spawn_Menu.Gui_Holder.Enter_Map_Button.Enter_Map" 08:31:36.299 - Current_Map is not a valid member of Frame 08:31:36.299 - Script 'Players.Player1.PlayerGui.Spawn_Menu.Gui_Holder.Enter_Map_B', Line 3 08:31:36.299 - stack end
What it seems to think is "Current_Map" is a part of the properties of the frame.
When life gives you lemons, Squirt 'em in your eyes. - Drahsid5
|
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 01 Oct 2013 07:40 AM |
and if you need the other script:
local player = game.Players.LocalPlayer local character = player.Character local map = script.Parent.Parent.Current_Map local target = Workspace[map.Value]
script.Parent.MouseButton1Click:connect(function(onClick) print "clicked" script.Parent.Parent.Player_Spawned.Value = true game.Players.LocalPlayer.CameraMode = "LockFirstPerson" print "test" if player.TeamColor == "Really red" then player.character.Torso.CFrame = CFrame.new(Vector3.new(Workspace[target].Team_1_Spawn.Position)) print "test" elseif player.TeamColor == "Really blue" then player.character.Torso.CFrame = CFrame.new(Vector3.new(Workspace[target].Team_2_Spawn.Position)) print "test" end end)
script.Parent.MouseButton1Down:connect(onClick)
When life gives you lemons, Squirt 'em in your eyes. - Drahsid5 |
|
|
| Report Abuse |
|
|