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
 

Re: SaveInstance

Previous Thread :: Next Thread 
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
09 Sep 2013 07:19 PM
Not exactly sure how to explain what I want here.

I have a script that changes the name of an object when you touch it. I want it to save the name of said object so when someone else joins it'll have the new name. Possible?
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
09 Sep 2013 07:21 PM
Does the player who saved it have to be in the server for it to be loaded?
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
09 Sep 2013 07:23 PM
Ummm just make a table.... So that table.insert(name, player)
:U
Report Abuse
1waffle1 is not online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
09 Sep 2013 07:23 PM
Names are strings, you use SaveString to save strings, not SaveInstance.

What is "the new name" and what does that have to do with someone else joining?
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
09 Sep 2013 07:23 PM
I don't really know how to use tables.
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
09 Sep 2013 07:24 PM
@1waffle1
So basically
I join the game, and make x.Name=y
then I leave and the server shuts down
and someone else joins the game without me
Is the object x or y?
Report Abuse
1waffle1 is not online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
09 Sep 2013 07:27 PM
You just said x.Name=y; x is the object and y is its name.
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
09 Sep 2013 07:29 PM
Assuming x=script.Parent.x
Report Abuse
TrickyShotgun is not online. TrickyShotgun
Joined: 21 Dec 2009
Total Posts: 1063
09 Sep 2013 08:24 PM
noob
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
09 Sep 2013 08:40 PM
You're just being a jerk, aren't you? You know what I meant.
Report Abuse
1waffle1 is not online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
09 Sep 2013 09:17 PM
Communicating poorly and then getting upset when you are misunderstood is your problem. Your question doesn't make sense.
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
09 Sep 2013 09:40 PM
You honestly didn't understand the question?
Okay, so here's what I mean, in simplest terms-
I want to save something to the server, not a player.
Possible or no?
Report Abuse
1waffle1 is not online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
10 Sep 2013 09:51 AM
Personal servers
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