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: Joining Player Values

Previous Thread :: Next Thread 
Mintacle is not online. Mintacle
Joined: 28 Aug 2013
Total Posts: 498
12 Sep 2014 05:47 PM
I want to know if this is possible for example

Player A has: 150 DMG points


Player B has: 10 DMG points

Now I would use an instance to create a value in the workspace followed by Two string values which has Player A's and Player B's name in them.

Clone a script that gets the players stats and adds them together to make the value in workspace 160 DMG points.

Is this possible? And if so there are mannnnnnnnny bugs that can affect this like someone leaving a game, how would I deal with this?
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
12 Sep 2014 05:48 PM
you literally just said in english what the script should do, just convert it to lua, it's not difficult.

as for the leaving, use the playerremoving event in players and check if the player leaving is one of those involved, if they are then do something about it.
Report Abuse
Mintacle is not online. Mintacle
Joined: 28 Aug 2013
Total Posts: 498
12 Sep 2014 05:50 PM
Yeah thanks aha, the hardest part atm for me is a good way to turn players into a tool
Report Abuse
Mintacle is not online. Mintacle
Joined: 28 Aug 2013
Total Posts: 498
12 Sep 2014 05:51 PM
When the player is a tool and is being wielded by another player stats combine, but what's the best way to make the player "change" into a tool so someone can hold it?
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