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
 

Re: Shouldn't this be working..?

Previous Thread :: Next Thread 
KixDudeRed is not online. KixDudeRed
Joined: 02 Jul 2011
Total Posts: 502
21 Oct 2015 04:25 PM
local l1=script.Parent.Parent.Blue.PointLight
local l2=script.Parent.Parent.Red.PointLight

script.Parent.Parent.MouseButton1Down:connect(function()
l1.Enabled=false
l2.Enabled=true
wait(0.1)
l1.Enabled=true
l2.Enabled=false
wait(0.1)
l1.Enabled=false
l2.Enabled=true
wait(0.1)
end)

I might have some coding errors in it, decided to start up a project I quit a while ago because this wasn't working. Fixed what I noticed, but did I miss anything?
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
21 Oct 2015 04:25 PM
check output

NUGGET BISQUE
Report Abuse
KixDudeRed is not online. KixDudeRed
Joined: 02 Jul 2011
Total Posts: 502
21 Oct 2015 04:27 PM
16:27:00.646 - Auto-Saving...
>>16:27:01.251 - Attempt to connect failed: Passed value is not a function
16:27:01.251 - Script 'Plugin_170965290.Main', Line 186
16:27:01.252 - Stack End
16:27:01.366 - Sound failed to load : CoreGui.BrickCutterGui.SoundCut
16:27:01.366 - Sound failed to load : CoreGui.BrickCutterGui.SoundAxisChange
16:27:01.366 - Sound failed to load : CoreGui.BrickCutterGui.SoundUnsheath
16:27:01.367 - Sound failed to load : CoreGui.BrickCutterGui.SoundLunge
16:27:01.367 - Sound failed to load : CoreGui.BrickCutterGui.SoundCancel
16:27:01.834 - Sound failed to load : CoreGui.RobloxGui.Sounds.VolumeChangeSound

This is part of a car, and I believe the >> is the issue.
Report Abuse
ChickenManGuyPerson1 is not online. ChickenManGuyPerson1
Joined: 29 Sep 2014
Total Posts: 147
21 Oct 2015 04:29 PM
Full script?
Report Abuse
KixDudeRed is not online. KixDudeRed
Joined: 02 Jul 2011
Total Posts: 502
21 Oct 2015 04:30 PM
That is the full script. Every other script has to do with the actual car.
This is a GUI button, if that changes anything.
Report Abuse
ChickenManGuyPerson1 is not online. ChickenManGuyPerson1
Joined: 29 Sep 2014
Total Posts: 147
21 Oct 2015 04:34 PM
So wierd, never seen this "Passed" error happen, its kinda wierd.
Report Abuse
ChickenManGuyPerson1 is not online. ChickenManGuyPerson1
Joined: 29 Sep 2014
Total Posts: 147
21 Oct 2015 04:35 PM
It could be a misunderstanding, because if that is the full script, then thats like 30 lines, and in the error, it says the error occured on line 186?
Confused Much?
Report Abuse
KixDudeRed is not online. KixDudeRed
Joined: 02 Jul 2011
Total Posts: 502
21 Oct 2015 04:37 PM
That's probably issue with the car itself, but the car runs and everything so I'm not too worried. But do I have the code from above written out correctly? Anything missing?
Report Abuse
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
21 Oct 2015 04:37 PM
Does nobody realize that error is actually part of a Plugin?
Report Abuse
ChickenManGuyPerson1 is not online. ChickenManGuyPerson1
Joined: 29 Sep 2014
Total Posts: 147
21 Oct 2015 04:38 PM
Thats what I was tring to say? Whats the actual problem? Like it dosent flash?
Report Abuse
KixDudeRed is not online. KixDudeRed
Joined: 02 Jul 2011
Total Posts: 502
21 Oct 2015 04:39 PM
Yeah, the lights don't flash. Doesn't give me anything back after clicking the button.
Report Abuse
ChickenManGuyPerson1 is not online. ChickenManGuyPerson1
Joined: 29 Sep 2014
Total Posts: 147
21 Oct 2015 04:41 PM
Derp, Could I have a screenie of the path? So it starts from the script, then goes uo to the parent, and then up again? and then goes down to red, and goes down to the pointlight?
Report Abuse
KixDudeRed is not online. KixDudeRed
Joined: 02 Jul 2011
Total Posts: 502
21 Oct 2015 04:46 PM
I have it as
>PLIGHTS

>>Blue

>>>Pointlight

>>Red

>>>Pointlight

>>White

>>>Pointlight

>>>Script

If that makes sense..
I have a picture here, don't know how long until it's open
http://www.roblox.com/SCRIPT-item?id=313028830
Report Abuse
ChickenManGuyPerson1 is not online. ChickenManGuyPerson1
Joined: 29 Sep 2014
Total Posts: 147
21 Oct 2015 04:52 PM
So this is the path
>PLIGHTS <---- Then up here **Parent.***

>>Blue <---- Then down here ***Red.****

>>>Pointlight <--- Then here ****Pointlight

>>Red

>>>Pointlight

>>White <----- Then goes here *Parent.**

>>>Pointlight

>>>Script <---- Starts here script.*

then it goes from Pointlight to Enabled :L
...
Report Abuse
KixDudeRed is not online. KixDudeRed
Joined: 02 Jul 2011
Total Posts: 502
21 Oct 2015 04:55 PM
Script is in White.
White, Red, Blue are all in PLIGHTS.
White, Red, Blue all have a PointLight in them.

v PLIGHTS
> Blue
> Red
v White
PointLight
Script
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