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'm stupid. Why can't I get any events to work?

Previous Thread :: Next Thread 
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
19 Aug 2012 01:20 AM
k sooooooo
I'm really tiredand can't really think of why this isn't working

script.Parent.Equipped:wait()
script.Parent:Destroy()


... -.-
It's a local script in a tool, it's not disabled or anything.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
19 Aug 2012 01:21 AM
"I'm stupid. Why can't I get any events to work?"

...
Because you're stupid :P
Report Abuse
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
19 Aug 2012 01:22 AM
so much for being my exponential buddy :c


so y it no work qq

drank too much mountain dew to sleep and I feel like scripting but I can'ts because lol plshalp
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
19 Aug 2012 01:23 AM
Thats a nice comment miz...
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
19 Aug 2012 01:26 AM
try with hopperbin and .Selected, Idunno ._.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
19 Aug 2012 01:30 AM
He admitting it :3

Anyway why don't you try connecting it using a function or making it a hopperbin?
Report Abuse
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
19 Aug 2012 01:32 AM
I just tried with a hopperbin, and I already tried using script.Parent.Equipped:connect(function()end) but it still no work ogm rage
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
19 Aug 2012 01:34 AM
Well then maybe check if it's in their character using a ChildAdded event :3

Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
19 Aug 2012 01:35 AM
Fixers for dummies

1. Is da script in da HopperBin?
2. Does the script say

    script.Parent.Selected:wait()
    script.Parent:Destroy()
Report Abuse
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
19 Aug 2012 01:36 AM
I'm doing dis in the mode build I can see explorer :L
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
19 Aug 2012 01:38 AM
Oh yeah...Derp.

For localscripts you should add a wait at the beginning...
Report Abuse
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
19 Aug 2012 01:39 AM
K I TRIED IT AND
then i type in to da comand bar game.plrs.lclplr:ldchrctr()
and my roblox frozen! D:!

y it hate me so much :c
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
19 Aug 2012 01:40 AM
lolwhyroblox?
Report Abuse
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
19 Aug 2012 01:43 AM
k i putted wait infront of it and it still won't work sad faceness

any ideers on y this wouldn't work? i meen wat the jeez
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
19 Aug 2012 01:45 AM
is there any more to the script?
Report Abuse
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
19 Aug 2012 01:46 AM
wait(.01)
script.Parent.Equipped:wait()
script.Parent:Destroy()


I had another big ol' scropt i was testins but nuffin wud work so i putted in der printz and du nothin printedz! so den i did dat scropt and it dun work so i com heer and miz made fun of me and ya im sad :c
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
19 Aug 2012 01:51 AM
I am enlightened by your speech!
naw I didn't understand a single word ;D
Report Abuse
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
19 Aug 2012 01:55 AM
No; I had a larger scipt I was working on, and when I went to test it, nothing worked. From there, I put in some prints after certain events and things I didn't know that would work, and nothing printed. So I ended up with the script above
script.Parent.Actived:wait()
script.Parent:Destroy()

and even that wouldn't work.
If I don't use any events, the effect works... but it's like every event I try to use just doesn't fire.

Then I came here and I made fun of myself and miz helped me make fun of myself and I'm sad.


~ Feel the enlightenment ~
Report Abuse
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
19 Aug 2012 01:56 AM
lol@above i ment below XD
i hop u figure that out when u first reed that :c
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
19 Aug 2012 02:01 AM
That one word blew the whole thing ​>8@@@@ NOW I CAN'T UNDERSTAND!!!!!
I didn't even notice it :P
Report Abuse
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
19 Aug 2012 02:03 AM
:3

But srsly what's going on here? Why won't events work? The old scripts in my place with event work, but none of the one's I'm doing have working events! D:
Report Abuse
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
19 Aug 2012 02:07 AM
an y am i gettign these redonkuless errorz?

03:05:36 - Players.Woodstauk4.Backpack.Salute.LocalScript:43: attempt to index upvalue 'w' (a nil value)
03:05:36 - Script "Players.Woodstauk4.Backpack.Salute.LocalScript", Line 43 - global u
03:05:36 - Script "Players.Woodstauk4.Backpack.Salute.LocalScript", Line 40
03:05:36 - stack end
03:05:36 - Disconnected event because of exception

how is upvalue w global u? lol


02:41:25 - ToolTip is not a valid member of HopperBin
02:41:25 - Script "CoreGui.RobloxGui.CurrentLoadout.CoreScripts/BackpackScript", Line 511
02:41:25 - stack end
02:41:25 - Disconnected event because of exception


lolwut roblox wat u doins XD
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
19 Aug 2012 02:09 AM
I am testing it now on my dinosaur
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
19 Aug 2012 02:11 AM
it worxed perfect.
1. Makes HopperBin in StarterGear
2. Inserts LocalScript
3. Types

    script.Parent.Selected:wait()
    script.Parent:Destroy()

4. Plays Solo
5. Success
Report Abuse
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
19 Aug 2012 02:12 AM
OGM I WANT A DINOSAUR PLS PLS PLS
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