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: helpp

Previous Thread :: Next Thread 
TheLittleEgg is not online. TheLittleEgg
Joined: 08 Feb 2012
Total Posts: 262
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 is not online. 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
TheLittleEgg is not online. TheLittleEgg
Joined: 08 Feb 2012
Total Posts: 262
16 Nov 2013 05:41 AM
@tryp

thanks! works perfectly

cant believe i didnt know about that
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