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: Changed Event

Previous Thread :: Next Thread 
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
31 Dec 2013 05:56 PM
[ Content Deleted ]
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
31 Dec 2013 05:57 PM
[ Content Deleted ]
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 Dec 2013 05:58 PM
The changed events only works on objects, not values or variables or functions.
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
31 Dec 2013 05:58 PM
[ Content Deleted ]
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 Dec 2013 06:00 PM
Those are on IntValues/ObjectValues/StringValues/etc
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
31 Dec 2013 06:00 PM
[ Content Deleted ]
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 Dec 2013 06:01 PM
Yes, but:

"usr.Kill[1]"
If there is a part named 1 in usr.Kill, then you do ["1"]
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
31 Dec 2013 06:02 PM
[ Content Deleted ]
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 Dec 2013 06:04 PM
usr[Kill[1]] if you want to get user["Something"]
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
31 Dec 2013 06:04 PM
[ Content Deleted ]
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
31 Dec 2013 06:06 PM
[ Content Deleted ]
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 Dec 2013 06:07 PM
what is usr?
And does usr["Something"] exist?
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
31 Dec 2013 06:08 PM
[ Content Deleted ]
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 Dec 2013 06:08 PM
Make sure nothing is nil, what's the output?
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
31 Dec 2013 06:09 PM
[ Content Deleted ]
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 Dec 2013 06:11 PM
This is another problem (in the event)
usr.Kill[1].Value.

Just change it to Val since it's already given, or change it to usr[Kill[1]].Value
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
31 Dec 2013 06:14 PM
[ Content Deleted ]
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 Dec 2013 06:20 PM
Then usr[Kill[1]] is not being changed

Do this before that:

print(usr[Kill[1]].ClassName == "NumberValue")
See if it's true
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
31 Dec 2013 06:25 PM
[ Content Deleted ]
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 Dec 2013 06:26 PM
It should print something, anything, or even error if the script isn't disabled.

Put it OVER the event in case you didn't.
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
31 Dec 2013 07:06 PM
[ Content Deleted ]
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 Dec 2013 07:13 PM
Yes
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