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
 

Help! Scripting Issues!

Previous Thread :: Next Thread 
Darklord7092 is not online. Darklord7092
Joined: 21 Jan 2015
Total Posts: 5
16 Jun 2017 05:05 PM
Output:
Script 'Workspace . Upgrade Panel . Panel . SurfaceGui . ScrollingFrame . TextButton . Script', Line 5
##Argument 1 #issing or ni###-----
========================================================================================
What I'm doing in this script is when you click with mouse button 1 #n the surface gui it goes to your local player and stores your name in the variable called player.
This is because the rest of the game is dependent on on##########alue (which is named after the local player). Because of this, we need a variable to store what name it is.
Once clicked, it will check your value of money to see it equal or higher than the product. We then introduce a new local variable called where (which hold the data of player.Value). It then does maths to remove 1000 f####the local players current value.
It then makes blocks appear(not added to end of script yet) which are invisible.
The script:~


----------------------------------------------------------------------------------------
pla#######ame.Players.LocalPlayer

script . Parent . Mouse Button 1 #lick : connect (function()

if game . ServerStorage . PlayerMoney : Find Fi###########player) then
local Where = player . Value
if Where >= 10######### Where = Where - 10######print("IT WORKS")
warn("IT WORKS")


else
script . Parent . Text = "INVALID! NOT ENOUGH MONEY"
end

e####
end)
----------------------------------------------------------------------------------------
Spaces are added between dots to remove censoring
--[End
Log]--


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