|
| 25 Mar 2014 09:26 PM |
I used to have a camera, that tracked a plane, without you being in it. I did this using a TargetValue, and setting the "value" as "base" Yet since Roblox updated, my tracking camera won't work no more.
bin = script.Parent local view = false
function onButton1Down(mouse) if (view) then workspace.CurrentCamera.CameraType = "Custom" workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid else workspace.CurrentCamera.CameraType = "Track" workspace.CurrentCamera.CameraSubject = bin.CamTarget.Value end view = not view end
function onSelected(mouse) game.Players.LocalPlayer.Character.Humanoid.Jumping:connect(function() workspace.CurrentCamera.CameraType = "Custom" workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid end) bin.CamTarget.Changed:connect(function() if (view) then workspace.CurrentCamera.CameraType = "Track" workspace.CurrentCamera.CameraSubject = bin.CamTarget.Value end end) mouse.Button1Down:connect(function() onButton1Down(mouse) end) end
bin.Selected:connect(onSelected)
Do you see what's wrong? |
|
|
| Report Abuse |
|
|
Evilguy98
|
  |
| Joined: 28 May 2012 |
| Total Posts: 4331 |
|
|
| 25 Mar 2014 09:27 PM |
| Roblox scripts, some break... |
|
|
| Report Abuse |
|
|
| |
|
CaptLlama
|
  |
| Joined: 02 Nov 2013 |
| Total Posts: 1914 |
|
|
| 25 Mar 2014 09:28 PM |
and you expect us, atr do understand any of this |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2014 09:41 PM |
| we are atr we dont script all we do is make free models games |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2014 10:00 PM |
| Sorry for expecting too much? |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Mar 2014 10:02 PM |
| I know too much thing are broken now |
|
|
| Report Abuse |
|
|
NerdPiggy
|
  |
| Joined: 10 Jan 2010 |
| Total Posts: 3352 |
|
|
| 25 Mar 2014 10:03 PM |
You need to add this line at the top
if(PickleIncluded)explode Shorething head
~Silly Sausage~ |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2014 10:04 PM |
@NerdPiggy, totally fixed my script, thanks man.
Actual Solution: My script was a "Script." All I needed to do was turn it into a "LocalScript."
|
|
|
| Report Abuse |
|
|
1dmaster
|
  |
| Joined: 21 Aug 2010 |
| Total Posts: 1419 |
|
|
| 25 Mar 2014 10:06 PM |
| Rewrite the script, maybe theres something wrong in it that needs to be fixed. |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2014 10:11 PM |
Thanks 1Dmaster.
I decided to follow the footsteps of ATR and just insert free models.
|
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 12:18 AM |
| So what does ATR actually do? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 26 Mar 2014 12:44 AM |
correction
ROBLOX scripts, most break because of the crappy updates. k |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 12:49 AM |
@Koni
Actually that's not true. Scripts possibly break or don't work do to misspelling or messing up the code
and it could also be that LocalScripts are Mixed up with Scripts at times
Siggy's are for chumps |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2014 10:29 AM |
| @Might, that's an accurate statement. |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 26 Mar 2014 11:09 AM |
| Did you really try asking ATR for scripting help? xD |
|
|
| Report Abuse |
|
|
| |
|