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: take away money

Previous Thread :: Next Thread 
bIueraine is online. bIueraine
Joined: 12 Jan 2012
Total Posts: 153
19 Sep 2017 07:17 PM
how do I make it where when someone clicks on a brick/clickdetector and it takes a certain amount of money away from the person who clicked it


Report Abuse
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
19 Sep 2017 07:17 PM
perform arithmetics on your leaderstats by a clickdetector-mouseclick event
Report Abuse
ScriptOnwards is not online. ScriptOnwards
Joined: 14 Dec 2016
Total Posts: 27
19 Sep 2017 07:32 PM
player = game.Players.LocalPlayer
(part).ClickDetector.MouseButton1Click:connect(function()
player.leaderstats.(points name).Value = player.leaderstats.(points name).Value - (number to take away)
end)


Hippos eat walruses, walruses eat hippos. The circle of life.
Report Abuse
Vultorz is not online. Vultorz
Joined: 02 Mar 2015
Total Posts: 2985
19 Sep 2017 07:33 PM
@Horrible_Pun

If you can't help don't post.

@OP

Is you game filtering enabled/experimental mode off?
Report Abuse
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
19 Sep 2017 07:54 PM
"If you can't help don't post."
i dont know what you have against me, youve been barking insults at me for a while now.
i seriously dont even know you
Report Abuse
ISeeYourPost is not online. ISeeYourPost
Joined: 10 Jun 2013
Total Posts: 1815
19 Sep 2017 07:56 PM
@pun, i saw it as help, i mean, its telling you what you need to do without directly giving out code first. i feel like if everyone did that we'd be much farther in life. i think he's just salty
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
19 Sep 2017 08:05 PM
"If you can't help don't post."

If you can't use your brain, don't post. What he replied with would be perfectly helpful if OP knew what they were doing.

"Is you game filtering enabled/experimental mode off?"

It wouldn't matter in this situation.
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
19 Sep 2017 08:07 PM
why ## ###### take vultures seriously?
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
19 Sep 2017 08:07 PM
I didn't think anybody did in the first place.
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
19 Sep 2017 08:09 PM
but why insult him back you bbakaa
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
19 Sep 2017 08:10 PM
I didn't insult him. I stated how nonsensical his reply was.

If I took him seriously, I would have insulted him.
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
19 Sep 2017 08:11 PM
:thunking: thank have nice days
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