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: Disabled not work NOT ASAP!

Previous Thread :: Next Thread 
rauluss1 is not online. rauluss1
Joined: 22 Dec 2010
Total Posts: 599
15 Aug 2013 03:08 PM
print("crazyman32's Scripts")
local isOn = true


function on()
isOn = true
script.Parent.Siren:Play()
wait(0.5)
script.Parent.Siren2:Play()
script.Parent.Parent.Script.Disabled = false -- HERE
end

function off()
isOn = false
script.Parent.Siren:Stop()
script.Parent.Siren2:Stop()
scritp.Parent.Parent.Script.Disabled = true -- HEREE TOO
wait(1)
script.Parent.Parent.Blue.Light.Light.Visible = false
script.Parent.Parent.Blue.PointLight.Enabled = false
script.Parent.Parent.Red.Light.Light.Visible = false
script.Parent.Parent.Red.PointLight.Enabled = false
end

function onClicked()

if isOn == true then off() else on() end

end

script.Parent.ClickDetector.MouseClick:connect(onClicked)

on()
-------------------------------------------------------------------------------------
It just wont work.

Please help.
Report Abuse
IAmReallyAwesome is not online. IAmReallyAwesome
Joined: 05 Mar 2010
Total Posts: 7371
15 Aug 2013 03:11 PM
Is Script the only script that is a child of script.Parent.Parent?

*Tell me about the rabbits, George*
Report Abuse
rauluss1 is not online. rauluss1
Joined: 22 Dec 2010
Total Posts: 599
15 Aug 2013 03:15 PM
Yes checked that
Report Abuse
kingmatt2 is not online. kingmatt2
Joined: 20 Aug 2011
Total Posts: 6494
15 Aug 2013 03:18 PM
You dont need it Asap.
Report Abuse
rauluss1 is not online. rauluss1
Joined: 22 Dec 2010
Total Posts: 599
15 Aug 2013 03:34 PM
... I fixed it now :|
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