|
| 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 |
|
|
| |
|
|
| 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 |
|
|
| |
|
|
| 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 |
|
|
|
| 21 Oct 2015 04:34 PM |
| So wierd, never seen this "Passed" error happen, its kinda wierd. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 21 Oct 2015 04:37 PM |
| Does nobody realize that error is actually part of a Plugin? |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2015 04:38 PM |
| Thats what I was tring to say? Whats the actual problem? Like it dosent flash? |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2015 04:39 PM |
| Yeah, the lights don't flash. Doesn't give me anything back after clicking the button. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|