generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: My Camera won't work anymore!

Previous Thread :: Next Thread 
ShoreThing is not online. ShoreThing
Joined: 16 May 2012
Total Posts: 332
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 is not online. Evilguy98
Joined: 28 May 2012
Total Posts: 4331
25 Mar 2014 09:27 PM
Roblox scripts, some break...
Report Abuse
TheDubstepAssassin is not online. TheDubstepAssassin
Joined: 05 Sep 2013
Total Posts: 1932
25 Mar 2014 09:27 PM
k.



I'm in your TV.
Report Abuse
CaptLlama is not online. 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
careypriceispro is not online. careypriceispro
Joined: 31 Dec 2012
Total Posts: 4744
25 Mar 2014 09:41 PM
we are atr we dont script all we do is make free models games
Report Abuse
ShoreThing is not online. ShoreThing
Joined: 16 May 2012
Total Posts: 332
25 Mar 2014 10:00 PM
Sorry for expecting too much?
Report Abuse
bobscookie33 is not online. bobscookie33
Joined: 04 Mar 2012
Total Posts: 2654
25 Mar 2014 10:01 PM
its just broke son

siggy
Report Abuse
roblolego1 is not online. roblolego1
Joined: 01 Jul 2012
Total Posts: 860
25 Mar 2014 10:02 PM
I know too much thing are broken now
Report Abuse
NerdPiggy is not online. 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
ShoreThing is not online. ShoreThing
Joined: 16 May 2012
Total Posts: 332
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 is not online. 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
ShoreThing is not online. ShoreThing
Joined: 16 May 2012
Total Posts: 332
25 Mar 2014 10:11 PM
Thanks 1Dmaster.

I decided to follow the footsteps of ATR and just insert free models.
Report Abuse
ShoreThing is not online. ShoreThing
Joined: 16 May 2012
Total Posts: 332
26 Mar 2014 12:18 AM
So what does ATR actually do?
Report Abuse
JackColombus is not online. JackColombus
Joined: 27 Oct 2013
Total Posts: 2983
26 Mar 2014 12:36 AM
talk
Report Abuse
iStOlEuRcAnDy is not online. iStOlEuRcAnDy
Joined: 01 Nov 2011
Total Posts: 13420
26 Mar 2014 12:38 AM
alt+f4
Report Abuse
konichiwah91 is not online. konichiwah91
Joined: 18 Jan 2011
Total Posts: 3677
26 Mar 2014 12:44 AM
correction

ROBLOX scripts, most break because of the crappy updates.
k
Report Abuse
MidnightsShadows is not online. MidnightsShadows
Joined: 19 Nov 2012
Total Posts: 5691
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
ShoreThing is not online. ShoreThing
Joined: 16 May 2012
Total Posts: 332
26 Mar 2014 10:29 AM
@Might, that's an accurate statement.
Report Abuse
maxomega3 is not online. 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
ShoreThing is not online. ShoreThing
Joined: 16 May 2012
Total Posts: 332
26 Mar 2014 03:04 PM
@Maxo, sadly, yes.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image