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
 

Local camera to view Character?

Previous Thread :: Next Thread 
Saffron5036 is not online. Saffron5036
Joined: 28 Apr 2013
Total Posts: 70
16 Apr 2014 03:47 PM
I'm not trying to make the player go to the designated part through a Touched event. I'm just using :MoveTo method when the player enters the game. How would I make each player see only their own character (even though all the character's will spawn on top of the same part) through the local camera?
Report Abuse
domorox17 is not online. domorox17
Joined: 06 Mar 2012
Total Posts: 1710
16 Apr 2014 03:50 PM
Localscript in StarterGui

p = game.Players.LocalPlayer
p.CharacterAdded:connect(function()
p.Character.Parent = workspace.CurrentCamera
Report Abuse
domorox17 is not online. domorox17
Joined: 06 Mar 2012
Total Posts: 1710
16 Apr 2014 03:50 PM
add an end) to the end. Sorry.
Report Abuse
Saffron5036 is not online. Saffron5036
Joined: 28 Apr 2013
Total Posts: 70
18 Apr 2014 12:25 AM
@ domorox17 Oh, why thank you! I'll try that out!
Report Abuse
KiwiTronik is not online. KiwiTronik
Joined: 18 Feb 2010
Total Posts: 3221
18 Apr 2014 12:33 AM
Though I think you will have to parent it to workspace once they die.
Report Abuse
Saffron5036 is not online. Saffron5036
Joined: 28 Apr 2013
Total Posts: 70
18 Apr 2014 01:23 AM
@ KiwiTronik

I shouldn't have to do that because the player's character's parent will be set to the current camera just temporarily (as they enter the game and go through a few things). The parent will be set back to Workspace soon after.
:)
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
18 Apr 2014 01:26 AM
Yes but if they somehow die during that time
They no respawny

Sometimes they don't respawn even after being parented back
Report Abuse
Saffron5036 is not online. Saffron5036
Joined: 28 Apr 2013
Total Posts: 70
18 Apr 2014 01:30 AM
They're not going to die because they're walkspeed is going to be set to 0 at the time and after the intro they will move to a different location, gain walkspeed, and be parented back to the Workspace.
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
18 Apr 2014 01:32 AM
>esc
>>reset character
>>>yes
Report Abuse
Saffron5036 is not online. Saffron5036
Joined: 28 Apr 2013
Total Posts: 70
18 Apr 2014 01:34 AM
Oh, I forgot about that...I sure wish that the menu didn't have a reset option sometimes.
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
18 Apr 2014 01:36 AM
roblox y u no?

http://wiki.roblox.com/index.php?title=SetCoreGuiEnabled_(Method)
http://wiki.roblox.com/index.php?title=CoreGuiType

5. Reset. The reset button in the esc menu
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