HumpBot
|
  |
| Joined: 11 May 2015 |
| Total Posts: 31 |
|
|
| 03 Jun 2015 05:15 PM |
local hump = game.workspace.hump.value
while true do hump = true wait(1) hump = false wait(1) end |
|
|
| Report Abuse |
|
|
notfruit
|
  |
| Joined: 21 Sep 2012 |
| Total Posts: 1386 |
|
|
| 03 Jun 2015 05:18 PM |
here's a better version:
local hump = workspace:FindFirstChild('hump').value while wait(1) do hump = not hump end |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 03 Jun 2015 05:20 PM |
here's an even better version
assuming that you want to change workspace.hump's value
local hump = workspace:WaitForChild('hump') while wait(1) do hump.Value = not hump.Value end |
|
|
| Report Abuse |
|
|
notfruit
|
  |
| Joined: 21 Sep 2012 |
| Total Posts: 1386 |
|
|
| 03 Jun 2015 05:30 PM |
here's a shorter version:
hump=workspace.hump.value;while wait(1) do hump=not hump end |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2015 06:04 PM |
| hump=workspace.hump.Value for i=1,0 do hump=not hump end |
|
|
| Report Abuse |
|
|
Darkenus
|
  |
| Joined: 17 Jul 2014 |
| Total Posts: 1997 |
|
| |
|