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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
30 Sep 2011 03:02 PM
[ Content Deleted ]
Report Abuse
Swordphin123 is not online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
30 Sep 2011 03:03 PM
value = "Value Name"

game.Workspace[value].Changed:connect(function()

---code

end)
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
30 Sep 2011 03:03 PM
[ Content Deleted ]
Report Abuse
Swordphin123 is not online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
30 Sep 2011 03:05 PM
Yea, just giving you an example.
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
30 Sep 2011 03:06 PM
[ Content Deleted ]
Report Abuse
Swordphin123 is not online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
30 Sep 2011 03:08 PM
I believe this is a function, no?

"alert("RAIDERS ARE IN OUR BASE CAPTURING THE BASE!",workspace,3)"
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
30 Sep 2011 03:09 PM
[ Content Deleted ]
Report Abuse
Swordphin123 is not online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
30 Sep 2011 03:10 PM
And you said it doesn't work?
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
30 Sep 2011 03:11 PM
[ Content Deleted ]
Report Abuse
Swordphin123 is not online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
30 Sep 2011 03:12 PM
Can you put the alert part in here? It must be that, elsewise, if its not, then it might be just my eyes...
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
30 Sep 2011 03:13 PM
[ Content Deleted ]
Report Abuse
Swordphin123 is not online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
30 Sep 2011 03:15 PM
"workspace["Capture Point One"].Capt"

~~~~

Are you sure its value? Any type of value works fine, and ever tried the output?
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
30 Sep 2011 03:17 PM
[ Content Deleted ]
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
30 Sep 2011 03:23 PM
[ Content Deleted ]
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
30 Sep 2011 03:43 PM
[ Content Deleted ]
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
30 Sep 2011 03:57 PM
[ Content Deleted ]
Report Abuse
Ozzypig is not online. Ozzypig
Joined: 27 Mar 2008
Total Posts: 4906
30 Sep 2011 04:10 PM
There are TWO kinds of Changed events, ones for all instances, and those only for IntValues, NumberValues, StringValues, etc.

The first one works like this:

workspace.Brick.Changed:connect(function (property)
print(property)
end)

It prints the property name that changed.

The latter of the two will return the new value:

workspace.IntValue.Changed:connect(function (newvalue)
print(newvalue)
end)

~Ozzy
roblox.com/my/groups.aspx?gid=372
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
30 Sep 2011 04:16 PM
[ Content Deleted ]
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
30 Sep 2011 04:18 PM
This is quite easy xD!
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
30 Sep 2011 04:19 PM
[ Content Deleted ]
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
30 Sep 2011 04:21 PM
I was gonna say the same thing as ozzypig, it changes something...That's it xD
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
30 Sep 2011 04:22 PM
[ Content Deleted ]
Report Abuse
AntiBoomz0r is online. AntiBoomz0r
Joined: 02 Oct 2009
Total Posts: 1345
30 Sep 2011 04:30 PM
It seems like ROBLOX broke .Changed.. It wont work, no matter the object I try, or property D= *sadface*
Report Abuse
AntiBoomz0r is online. AntiBoomz0r
Joined: 02 Oct 2009
Total Posts: 1345
30 Sep 2011 04:36 PM
No...
If i restart studio = .Changed works

If i run this script= It doesnt work

If i try to test .Changed again like after restarting = doesnt work

WTH?! D==


Impossible.. Your script breaks .Changed! D=
Report Abuse
AntiBoomz0r is online. AntiBoomz0r
Joined: 02 Oct 2009
Total Posts: 1345
30 Sep 2011 04:38 PM
OMIGOD WHATS HAPPENING?!

Now the script worked after i put "alerted = false" to the start of the script..

Why would that change anything?
I dont know D:

Im totally confused..
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