|
| 16 Nov 2013 05:38 AM |
while true do print("help") wait() end
function click() k:Destroy() end
k.MouseButton1Click:connect(function() click() end)
because i have the while loop the click function never gets fired how to prevent the while loop interfearing? |
|
|
| Report Abuse |
|
|
Tryptic
|
  |
| Joined: 26 May 2013 |
| Total Posts: 248 |
|
|
| 16 Nov 2013 05:40 AM |
Spawn(function() while true do print("help") wait() end end)
http://wiki.roblox.com/index.php/Function_Dump/Roblox_Specific_Functions#Spawn |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2013 05:41 AM |
@tryp
thanks! works perfectly
cant believe i didnt know about that |
|
|
| Report Abuse |
|
|