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 » Game Design
Home Search
 

Re: Click and Hold Script?

Previous Thread :: Next Thread 
seansy is not online. seansy
Joined: 06 Dec 2012
Total Posts: 185
18 Nov 2015 07:14 PM
Can someone make one for me? I don't think it's possible with ClickDetectors ;-;


seansy - Horror Dev
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
18 Nov 2015 07:27 PM
http://wiki.roblox.com/index.php?title=Mouse



http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$1,860 Tx1,500
Report Abuse
championbuilder is not online. championbuilder
Joined: 20 Jan 2009
Total Posts: 13544
18 Nov 2015 07:33 PM
--InputBegan
if Input.UserInputType == Enum.UserInputType.MouseButton1 then
Holding = true
repeat wait() --[[Stuff to do]] until not Holding
end

--InputEnded
if Input.UserInputType == Enum.UserInputType.MouseButton1 then
Holding = false
end
Report Abuse
seansy is not online. seansy
Joined: 06 Dec 2012
Total Posts: 185
18 Nov 2015 07:37 PM
Is it really that simple? If it is. You're the best person ever lol


seansy - Horror Dev
Report Abuse
championbuilder is not online. championbuilder
Joined: 20 Jan 2009
Total Posts: 13544
18 Nov 2015 07:39 PM
You'll also need this to make it work

http://wiki.roblox.com/?title=API:Class/UserInputService
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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