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 » Scripters
Home Search
 

Re: This script only works on play solo

Previous Thread :: Next Thread 
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
27 Nov 2014 10:53 PM
local target = workspace.Cam1
local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = target
local angle = 0
Report Abuse
kilerAK24 is not online. kilerAK24
Joined: 01 Feb 2012
Total Posts: 14
27 Nov 2014 10:55 PM
how many players have you tested with? Or are you just coming up with an error code?
Report Abuse
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
27 Nov 2014 10:57 PM
When I join the game on my own it doesn't work, but when I test it in studio it works fine.

logan the creator
Report Abuse
kilerAK24 is not online. kilerAK24
Joined: 01 Feb 2012
Total Posts: 14
27 Nov 2014 11:04 PM
I don't have an answer for your question...

what exactly are you trying to do that wouldn't work on the server. full code
Report Abuse
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
28 Nov 2014 12:04 AM
..That is the full code, its in a brick named Cam1.

logan the creator
Report Abuse
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
28 Nov 2014 12:17 AM


logan the creator
Report Abuse
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
28 Nov 2014 12:20 AM
b1

logan the creator
Report Abuse
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
28 Nov 2014 12:22 AM
b2

logan the creator
Report Abuse
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
28 Nov 2014 12:27 AM
b3

logan the creator
Report Abuse
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
28 Nov 2014 12:29 AM
b4

logan the creator
Report Abuse
DracoTrainingMaster is not online. DracoTrainingMaster
Top 100 Poster
Joined: 14 Oct 2006
Total Posts: 524
28 Nov 2014 12:49 AM
If it's a localscript you must add a wait() at the very top.
Report Abuse
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
28 Nov 2014 01:40 AM
That still did not fix my issue..

logan the creator
Report Abuse
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
28 Nov 2014 01:44 AM
B5

logan the creator
Report Abuse
casualaloha is not online. casualaloha
Joined: 29 Mar 2014
Total Posts: 3965
28 Nov 2014 01:52 AM
if you're trying to accomplish a camera that views the camera of a brick, then just make a separate script with the camera facing the CFrame of the brick

casualaloha ッ
Report Abuse
Pr0vex is not online. Pr0vex
Joined: 03 Nov 2014
Total Posts: 944
28 Nov 2014 01:53 AM
Where is the script located. StarterGui?
Report Abuse
casualaloha is not online. casualaloha
Joined: 29 Mar 2014
Total Posts: 3965
28 Nov 2014 01:53 AM
insult me cause i tried way too hard to sound like a scripter lmao

casualaloha ッ
Report Abuse
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
28 Nov 2014 01:54 AM
its located in the brick.

logan the creator
Report Abuse
ALGO160 is not online. ALGO160
Joined: 26 Mar 2012
Total Posts: 397
28 Nov 2014 01:55 AM
Err... Local Script or Regular?
Err... Is "Camera" a thing for each player. I haven't done any of that in who knows how long.

I love Ruby, and LUA sucks. Let's replace Lua with ruby!
Report Abuse
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
28 Nov 2014 01:56 AM
I've tried local and normal

If possible, just rewrite it where it works?

logan the creator
Report Abuse
casualaloha is not online. casualaloha
Joined: 29 Mar 2014
Total Posts: 3965
28 Nov 2014 01:57 AM
gun what are you trying to accomplish with the script

casualaloha ッ
Report Abuse
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
28 Nov 2014 01:58 AM
A menu intro, with buttons that teleport you

Like an orbital hub

logan the creator
Report Abuse
ALGO160 is not online. ALGO160
Joined: 26 Mar 2012
Total Posts: 397
28 Nov 2014 01:59 AM
Errr like Base wars? That Game i've been playing way to much of recently?

You don't need a brick. Hard code the coords. If you aren't planning on moving the brick, that is

I love Ruby, and LUA sucks. Let's replace Lua with ruby!
Report Abuse
gunreign is not online. gunreign
Joined: 02 Sep 2014
Total Posts: 1096
28 Nov 2014 02:03 AM
Ok, well help me with that?

logan the creator
Report Abuse
casualaloha is not online. casualaloha
Joined: 29 Mar 2014
Total Posts: 3965
28 Nov 2014 02:03 AM
oh i see.

so you're making it by steps are yeh
here do this


cam = game.Workspace.CurrentCamera
cam.CameraType = "Scriptable"
cam. CoordinateFrame = game.Workspace.Cam1.CFrame -- you might have to erase "game." i didnt try it on studio and i make mistakes sometimes




casualaloha ッ
Report Abuse
ALGO160 is not online. ALGO160
Joined: 26 Mar 2012
Total Posts: 397
28 Nov 2014 02:10 AM
Erm.... Check the wiki's docs. Use a CFrame.new(YOUR COORDS HERE - FOR THE CAMERA) and attach it to the relevant property

I love Ruby, and LUA sucks. Let's replace Lua with ruby!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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