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: Teleporting Character in LocalScript

Previous Thread :: Next Thread 
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
30 Jul 2017 05:32 PM
If I were to teleport a character using a localscript, would it replicate back to the server so everyone sees that character being teleported, or would it just run on the client? Thanks!


Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
30 Jul 2017 05:33 PM
Who controls the character?


Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
30 Jul 2017 05:36 PM
Im a bit confused at your question, but I think its the localplayer in the localscript that controls the character...


Report Abuse
direMitten is not online. direMitten
Joined: 18 Jun 2015
Total Posts: 1294
30 Jul 2017 05:36 PM
Yes, the client can make changes to the Character that replicate (such as moving, or playing animations). This is because the client has NetworkOwnership of their Character (by default). If movement input first had to make a round trip to the server, all movement would be horribly laggy which is not acceptable.
Report Abuse
direMitten is not online. direMitten
Joined: 18 Jun 2015
Total Posts: 1294
30 Jul 2017 05:37 PM
This should answer your questions about "owning" things

http://wiki.roblox.com/index.php?title=Network_ownership
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
30 Jul 2017 05:40 PM
You're a good man direMitten.


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