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: Are local players possible?

Previous Thread :: Next Thread 
CrustyCitation5 is not online. CrustyCitation5
Joined: 03 Feb 2016
Total Posts: 155
16 Feb 2016 11:06 PM
Local as in local parts. Only the client can see their player but other people can't. Is this possible or do I have to just make each player invisible?

Placing their characters in their current camera doesn't really work with FilteringEnabled...
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
16 Feb 2016 11:07 PM
Instance.new a bunch of parts client sided with FE on.



Report Abuse
CrustyCitation5 is not online. CrustyCitation5
Joined: 03 Feb 2016
Total Posts: 155
16 Feb 2016 11:09 PM
Yeah I was thinking of that but hoping for an easier shortcut.
Report Abuse
128Gigabytes is not online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
16 Feb 2016 11:14 PM
Try having the server parent them to nil and the client parent them to Workspace.
Report Abuse
CrustyCitation5 is not online. CrustyCitation5
Joined: 03 Feb 2016
Total Posts: 155
16 Feb 2016 11:22 PM
Just tried that. Doesn't work. Server overrules both decisions no matter what order they are in and just nils the character out of existence. Even with cloning on the local side.
Report Abuse
128Gigabytes is not online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
16 Feb 2016 11:25 PM
I didn't mean do it at the same time

Have the client get a reference of the player and then tell the server its ready

Have the server parent the character to nil, and tell the client

Have the client parent the character to game.Workspace

Although I believe characters might replicate regardless of filteringEnabled so you could also create a local model in game.Workspace and put the character there after it was nil instead.
Report Abuse
128Gigabytes is not online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
16 Feb 2016 11:27 PM
I just tested it and it worked flawlessly, no need for a local model.
Report Abuse
CrustyCitation5 is not online. CrustyCitation5
Joined: 03 Feb 2016
Total Posts: 155
16 Feb 2016 11:28 PM
Ok yeah it works now that I tell the server to do it first after getting the reference in local script and waiting for server to finish then parent it back. It breaks some of my scripts but it actually works. You're a genius thank you
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