mxpvjn
|
  |
| Joined: 03 Aug 2013 |
| Total Posts: 80 |
|
| |
|
| |
|
mxpvjn
|
  |
| Joined: 03 Aug 2013 |
| Total Posts: 80 |
|
| |
|
| |
|
mxpvjn
|
  |
| Joined: 03 Aug 2013 |
| Total Posts: 80 |
|
|
| 19 Aug 2016 09:55 PM |
Just tell me what you need done.
|
|
|
| Report Abuse |
|
|
|
| 19 Aug 2016 09:56 PM |
I cant get it to stop when I click the turn off. But when I click off it makes the value false.
Button = script.Parent Light = game.Workspace.Alarmlight.Light1 Light2 = game.Workspace.Alarmlight.Light2
Button.MouseButton1Down:connect(function() while true do if game.Workspace.Alarmlight.Value.Value == true then game.Workspace.Alarmlight.Light1.SpotLight.Enabled = true game.Workspace.Alarmlight.Light2.SpotLight.Enabled = true script.Parent.Parent.AlarmOn.Visible = false script.Parent.Parent.AlarmOff.Visible = true Light.CFrame = Light.CFrame * CFrame.fromEulerAnglesXYZ(0.15, 0, 0) Light2.CFrame = Light2.CFrame * CFrame.fromEulerAnglesXYZ(0.15, 0, 0) wait(.001) if game.Workspace.Alarmlight.Value.Value == false then game.Workspace.Alarmlight.Light1.SpotLight.Enabled = false game.Workspace.Alarmlight.Light2.SpotLight.Enabled = false script.Parent.Parent.AlarmOn.Visible = true script.Parent.Parent.AlarmOff.Visible = false Light.CFrame = Light.CFrame * CFrame.fromEulerAnglesXYZ(0, 0, 0) Light2.CFrame = Light2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0, 0) wait(.001) end
end end end)
|
|
|
| Report Abuse |
|
|
mxpvjn
|
  |
| Joined: 03 Aug 2013 |
| Total Posts: 80 |
|
| |
|
Dralian
|
  |
| Joined: 21 Mar 2013 |
| Total Posts: 7624 |
|
|
| 19 Aug 2016 11:00 PM |
There is no scripters helpers, and this thread isn't to give you a job.
This IS scripters helpers, now. |
|
|
| Report Abuse |
|
|
Dralian
|
  |
| Joined: 21 Mar 2013 |
| Total Posts: 7624 |
|
|
| 19 Aug 2016 11:01 PM |
@guy who needed help
i only skimmed and it's late af, but try adding a Boolean value to whenever you want it to stop.
by that I mean:
when it's supposed to stop, the Boolean value is true/false, and then break. |
|
|
| Report Abuse |
|
|
mxpvjn
|
  |
| Joined: 03 Aug 2013 |
| Total Posts: 80 |
|
|
| 19 Aug 2016 11:01 PM |
First you said there is no scripting helpers now you're saying this is scripting helpers.
|
|
|
| Report Abuse |
|
|
Dralian
|
  |
| Joined: 21 Mar 2013 |
| Total Posts: 7624 |
|
|
| 19 Aug 2016 11:05 PM |
This is NOW considered scripters helpers b/c they removed scripters helpers.
Use some common sense please. Look at your surroundings before you speak. Thanks :)
no offense bud <3 |
|
|
| Report Abuse |
|
|
DevVince
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 9245 |
|
|
| 19 Aug 2016 11:25 PM |
sp = script.Parent al = game.Workspace:WaitForChild'Alarmlight' l1 = al.Light1 l2 = al.Light2 db = false
function spin() while l1.SpotLight.Enabled and wait() do l1.CFrame = Light.CFrame * CFrame.Angles(0.15, 0, 0) l2.CFrame = Light2.CFrame * CFrame.fromEulerAnglesXYZ(0.15, 0, 0) end end
Button.MouseButton1Down:connect(function() if db then return end db = true l1.SpotLight.Enabled = not l1.SpotLight.Enabled l2.SpotLight.Enabled = not l2.SpotLight.Enabled sp.Parent.AlarmOn.Visible = not sp.Parent.AlarmOn.Visible sp.Parent.AlarmOff.Visible = not sp.Parent.AlarmOff.Visible spin() wait(0.1) db = false end) |
|
|
| Report Abuse |
|
|
DevVince
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 9245 |
|
|
| 19 Aug 2016 11:26 PM |
--Might need to make a new thread, untested.
sp = script.Parent al = game.Workspace:WaitForChild'Alarmlight' l1 = al.Light1 l2 = al.Light2 db = false
function spin() while l1.SpotLight.Enabled and wait() do l1.CFrame = Light.CFrame * CFrame.Angles(0.15, 0, 0) l2.CFrame = Light2.CFrame * CFrame.fromEulerAnglesXYZ(0.15, 0, 0) end end
Button.MouseButton1Down:connect(function() if db then return end db = true l1.SpotLight.Enabled = not l1.SpotLight.Enabled l2.SpotLight.Enabled = not l2.SpotLight.Enabled sp.Parent.AlarmOn.Visible = not sp.Parent.AlarmOn.Visible sp.Parent.AlarmOff.Visible = not sp.Parent.AlarmOff.Visible spawn(function() spin() end) wait(0.1) db = false end) |
|
|
| Report Abuse |
|
|
gjin45
|
  |
| Joined: 15 Jul 2016 |
| Total Posts: 16 |
|
|
| 05 Nov 2017 08:08 AM |
Can you help me Im creating a game with some friends.I need some scripts if you can do them I need: Gun Shop Team Change Gui And make the game with rounds
|
|
|
| Report Abuse |
|
|
|
| 05 Nov 2017 08:50 AM |
| I need a scripter to help me script please. I don't know how to script. Help! :( |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2017 08:52 AM |
| All I use for scripts and gui are FREE MODELS! :C |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2017 09:12 AM |
| my group just started today and i need a scripter to make my guns anti friendly fire |
|
|
| Report Abuse |
|
|