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: How would I go about starting this script?

Previous Thread :: Next Thread 
Prestigist is not online. Prestigist
Joined: 20 Feb 2014
Total Posts: 4312
23 Sep 2014 03:30 PM
A script where there is a int. value, and for every kill, there is a GUI which records your kill/point, but if the other kill gets a team, the point is taken away, and so on and so on.

So, let's say I had to edit the leaderboard script so for every kill on a specific team, it'd add +1 onto the specified team's value, and for every death, it'd take -1 away from it, and then the GUI would get the value and it'd change the text.

I know this is possible, but I don't know where to start, and could I start a new script to record the kill point thing, or would it have to be in the leaderboard?

What should I look into on wiki. to help me understand starting this script?
Report Abuse
Prestigist is not online. Prestigist
Joined: 20 Feb 2014
Total Posts: 4312
23 Sep 2014 03:31 PM
Or I can just design it so it isn't in the leaderboard script, but it rather records your kills, but it doesn't display on the leaderboard, and for every kill, it'd be a +1 point, similar to a level system I started and almost finished yesterday.
Report Abuse
Prestigist is not online. Prestigist
Joined: 20 Feb 2014
Total Posts: 4312
23 Sep 2014 03:46 PM
bump
Report Abuse
DarkheartSkillz is not online. DarkheartSkillz
Joined: 30 Sep 2011
Total Posts: 5125
23 Sep 2014 03:54 PM
Step 1: Create script
Step 2: Write code
Step 3: ???????
Step 4: profit


"Et tu, Brute? Then fall, Caesar." - Julius Caesar
Report Abuse
Aesthetical is not online. Aesthetical
Joined: 01 Jan 2014
Total Posts: 2141
23 Sep 2014 04:09 PM
Just make the weapon add 1 point to the tool holder's team.

Also, why would you need to subtract from the other team's points? Seems pretty pointless.
Report Abuse
Prestigist is not online. Prestigist
Joined: 20 Feb 2014
Total Posts: 4312
23 Sep 2014 04:21 PM
raid system
it's designed so a team would have to throw themselves ahead by 50 points lol
Report Abuse
Prestigist is not online. Prestigist
Joined: 20 Feb 2014
Total Posts: 4312
23 Sep 2014 04:28 PM
i'm curious as of how to add and subtract a number in a value
Report Abuse
Sinblade is not online. Sinblade
Joined: 14 Aug 2010
Total Posts: 2782
23 Sep 2014 04:33 PM
local value = [Wherever value is located]

value = value - 1
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
23 Sep 2014 04:35 PM
Value = Value - 1
Like that.
Alternatively, if it is a default Roblox value type then it's Value.Value
Report Abuse
PlumJar is not online. PlumJar
Joined: 04 Mar 2012
Total Posts: 907
23 Sep 2014 04:39 PM
Make it so that the raiders have a different sword than the defenders.

The defenders' swords change the Int Value to Value = Value + 1

The raiders' swords change the Int Value to Value = Value - 1

Put a Gui in the StarterGui with a Frame+TextLabel

Then you could do

game.Workspace.Value.Changed:Connect(function(lasdsds) ---I forgot how to write this part, but you know what I mean

script.Parent.Text = ""..game.Workspace.Value.."

end
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