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
 

What is wrong with this script

Previous Thread :: Next Thread 
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
04 Mar 2016 08:18 PM
player = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent
money = player.leaderstats.Points
price = 100

function buy()
if money.Value >= price then
money.Value = money.Value - price and
workspace.currentbid.Value == workspace.currentbid.Value -100
end
end
script.Parent.MouseButton1Down:connect(buy)



you guys can probably tell by reading it
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
04 Mar 2016 08:24 PM
2
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
04 Mar 2016 08:32 PM
error = leaderstats is not a valid member of Players.

Say whaaat
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
04 Mar 2016 08:35 PM
any1
Report Abuse
myactivetestplace is not online. myactivetestplace
Joined: 11 Jul 2015
Total Posts: 3733
04 Mar 2016 08:36 PM
Do you want to multiplayer studio so i can help you?
Report Abuse
Gensoki is not online. Gensoki
Joined: 15 Feb 2014
Total Posts: 1982
04 Mar 2016 08:37 PM
localscript

player = game.Players.LocalPlayer
leaderstats = player:WaitForChild'leaderstats'
money = leaderstats:WaitForChild'Points'
price = 100

script.Parent.MouseButton1Down:connect(function()
if money.Value >= price then
money.Value = money.Value - price and
workspace.currentbid.Value == workspace.currentbid.Value -100
end
end)


http://www.roblox.com/mne-item?id=374063815 http://www.roblox.com/yee-item?id=376895439
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
04 Mar 2016 08:42 PM
did not work and made local.
Report Abuse
myactivetestplace is not online. myactivetestplace
Joined: 11 Jul 2015
Total Posts: 3733
04 Mar 2016 08:43 PM
Invite me in studio ill make it.
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
04 Mar 2016 08:48 PM
idk how to do that. hold up
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
04 Mar 2016 08:49 PM
how do I do that?
Report Abuse
myactivetestplace is not online. myactivetestplace
Joined: 11 Jul 2015
Total Posts: 3733
04 Mar 2016 08:52 PM
go into your place in edit mode then go to view then click teamcreate and add me then stay in your place in edit mode
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
04 Mar 2016 08:59 PM
join
Report Abuse
XlAscensionlX is not online. XlAscensionlX
Joined: 17 Apr 2014
Total Posts: 872
04 Mar 2016 09:35 PM
player = game:GetService("Players").LocalPlayer
money = player:WaitForChild("leaderstats").Points
price = 100

function buy()
if money.Value >= price then
money.Value = money.Value - price
workspace.currentbid.Value == workspace.currentbid.Value -100
end
end
script.Parent.MouseButton1Down:connect(buy)


~XlAscensionlX [Graphic Design://Scripter://Developer://]
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