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
 

FilteringEnabled

Previous Thread :: Next Thread 
Lineout is not online. Lineout
Joined: 06 Nov 2012
Total Posts: 684
19 Jan 2015 09:40 AM
I use a Remote Function to ask the server to clone a vehicle, and it does. But when I have a second player (player 2) join the server, player2 can not see player1's vehicle(and vise versa). I thought whenever I would use a Server Script to clone a vehicle, it would replicate on all clients. Why is this not working?

*I have FilteringEnabled on*

Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
19 Jan 2015 09:42 AM
Then you are cloning the car with a LocalScript, not the server. With FE, you need to clone and parent it server-side, since changes to the client do not replicate to the server and other clients.
Report Abuse
lsp425 is not online. lsp425
Joined: 10 Dec 2011
Total Posts: 603
19 Jan 2015 09:43 AM
Was the vehicle made by the server? If it wasnt, it will be called as nil. Was it put originally in the server by the player? - unseen / unreplicated. Tell if there are any things that I should know. Tell where the script that wanted to clone it was, and any other things.
Report Abuse
Lineout is not online. Lineout
Joined: 06 Nov 2012
Total Posts: 684
19 Jan 2015 09:44 AM
I do Clone and Parent it in the Server Script:

http://prntscr.com/5ueviv
Report Abuse
DeviousDeviation is not online. DeviousDeviation
Joined: 28 Dec 2010
Total Posts: 9306
19 Jan 2015 09:44 AM
If you're not returning anything, use a remoteevent.

⬡
Report Abuse
Lineout is not online. Lineout
Joined: 06 Nov 2012
Total Posts: 684
19 Jan 2015 09:45 AM
The vehicle is in Replicated Storage, when a player joins, the server script clones that vehicle and parents it into workspace.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
19 Jan 2015 09:46 AM
The website is offline for the link you provided :C
Report Abuse
Lineout is not online. Lineout
Joined: 06 Nov 2012
Total Posts: 684
19 Jan 2015 09:49 AM
Here is what the link would have shown: http://pastebin.com/3BAUQTuc
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
19 Jan 2015 09:51 AM
What is done on the client after you return it?
This is strange, I don't have any idea what is wrong yet.
Report Abuse
Lineout is not online. Lineout
Joined: 06 Nov 2012
Total Posts: 684
19 Jan 2015 09:52 AM
What happens on client: http://pastebin.com/YfTkdTJA
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
19 Jan 2015 09:55 AM
playersVehicle:FindFirstChild("values").owner.Value = player.Name

That doesn't change the server. But I still don't know what is wrong. Sorry. :(
Report Abuse
Lineout is not online. Lineout
Joined: 06 Nov 2012
Total Posts: 684
19 Jan 2015 09:57 AM
Yeah, complete mystery to me also.
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