Codys4x4
|
  |
| Joined: 14 Oct 2006 |
| Total Posts: 2312 |
|
|
| 16 Dec 2014 05:55 PM |
Try'ed this below, but when the game is running and StartGame is set to true the if statement stays the same. So when you start the game, what ever the StartGame.Value was it never prints anything different.
print("Started Game Script.") Run = workspace.StartGame.Value
while true do wait(1) if Run == true then print("Starting") else print("No Start") end end |
|
|
| Report Abuse |
|
|
|
| 16 Dec 2014 06:04 PM |
use debounce
if deb = false
if deb == false
then deb = true
wait(12321)
deb = false
end |
|
|
| Report Abuse |
|
|
Codys4x4
|
  |
| Joined: 14 Oct 2006 |
| Total Posts: 2312 |
|
|
| 16 Dec 2014 06:20 PM |
I need something like my code to work tho.
I need to be able to set it in game, this script is in workspace. |
|
|
| Report Abuse |
|
|
| |
|
1Juice1
|
  |
| Joined: 03 Jul 2014 |
| Total Posts: 108 |
|
|
| 16 Dec 2014 06:40 PM |
Try this:
----------------------------------- Run = game.Workspace.StartGame.Value
while true do wait(1) if Run == true then print("Starting") else print("No Start") end end --------------------------------- ~Arm the homeless |
|
|
| Report Abuse |
|
|