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: I don't know where to start with this script...

Previous Thread :: Next Thread 
Adam2090 is not online. Adam2090
Joined: 19 Jul 2010
Total Posts: 889
23 Aug 2013 10:51 PM
I want a script that when you touch part in workspace named "money1" it changes a GUI's text. The gui says
Money: 0 I want the 0 to go up one every time a player touches the "money1" I don't need the script to store any information, I have that. I just need one that changes the GUI text. Is that possible? Please help. Thanks.
Report Abuse
Adam2090 is not online. Adam2090
Joined: 19 Jul 2010
Total Posts: 889
23 Aug 2013 11:04 PM
Bump
Report Abuse
loIhow is not online. loIhow
Joined: 18 Aug 2013
Total Posts: 87
23 Aug 2013 11:07 PM
function onTouched()
game.Workspace.StarterGui.guinamehere.Value = "+1"
game.Workspace.StarterGui.Value = game.Workspace.StarterGui.guinamehere.Text
end
script.Parent.Touched:connect(onTouched)

is dat right plox
Report Abuse
th3oracle is not online. th3oracle
Joined: 23 Feb 2013
Total Posts: 448
23 Aug 2013 11:09 PM
@lolhow
Learn Lua before answering a question about Lua.

Anyway, this script would take a lot of time to write. We're here to debug you're code not write it for you. At least get a start to the code and maybe we can help you out.
Report Abuse
loIhow is not online. loIhow
Joined: 18 Aug 2013
Total Posts: 87
23 Aug 2013 11:10 PM
Yeah, why don't you post a script before you say I don't know LUA. Lil' nub.
Report Abuse
loIhow is not online. loIhow
Joined: 18 Aug 2013
Total Posts: 87
23 Aug 2013 11:11 PM
AND YOU SPELLED MY NAME WRONG! so shut up
Report Abuse
Adam2090 is not online. Adam2090
Joined: 19 Jul 2010
Total Posts: 889
23 Aug 2013 11:11 PM
Nope, and disregard this post, I figured it out on my own:

local X = 0
local c1 = game.StarterGui.Welcome.Frame.Header

function onTouched(hit)
if yes == 0 then --debounce check
yes = 1 --activate debounce
check = hit.Parent:FindFirstChild("Humanoid"

c1.Text = "Cash:"..X+1
Report Abuse
loIhow is not online. loIhow
Joined: 18 Aug 2013
Total Posts: 87
23 Aug 2013 11:12 PM
ITS NOW OR NEVER!
I WANNA GO HIGHER!
YOU KNOW HES GETTING IT IN HES FROM CHICAGO!
WHY CANT I BE THE MVP OF THE LEAGUE
ROSE GOES TO THE BASKET!
Report Abuse
laughablehaha is not online. laughablehaha
Joined: 19 Apr 2012
Total Posts: 2495
23 Aug 2013 11:12 PM
Your explanation is a little difficult to understand and it lams me hard, try to do the script and we will debug like the guy above me.
Report Abuse
loIhow is not online. loIhow
Joined: 18 Aug 2013
Total Posts: 87
23 Aug 2013 11:13 PM
you forgot a parantheses.... :p
by ("Humanoid"

("Humanoid")*
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
23 Aug 2013 11:13 PM
@Lolhow

It's Lua, not LUA.

You don't know Lua.
Report Abuse
loIhow is not online. loIhow
Joined: 18 Aug 2013
Total Posts: 87
23 Aug 2013 11:14 PM
You don't know loIhow.
BURNED
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
23 Aug 2013 11:15 PM
Oh it's just an obnoxious troll account.
Report Abuse
laughablehaha is not online. laughablehaha
Joined: 19 Apr 2012
Total Posts: 2495
23 Aug 2013 11:15 PM
I hate these chains.
I'm outPERIOD


Stop the lam!
Report Abuse
loIhow is not online. loIhow
Joined: 18 Aug 2013
Total Posts: 87
23 Aug 2013 11:15 PM
Why are you popping on your dog..
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