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 » Scripters
Home Search
 

Re: Help

Previous Thread :: Next Thread 
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
13 Feb 2016 08:36 AM
works in play mode but not in a test server

debounce = false
local drop = script.Parent.Drop
local button = script.Parent.Button

button.ClickDetector.MouseClick:connect(function()
print 'clicked'
if debounce == false then
print 'ur certi'
debounce = true
local part = Instance.new("Part",drop)
part.Material = Enum.Material.Plastic
part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
part.FormFactor = "Custom"
part.Name = "drop"
part.Transparency = 0
part.Size = Vector3.new(0.5,0.5,0.5)
part.Position = drop.Position
part.BrickColor = BrickColor.new("Dark stone grey")
part.Anchored = false
game:GetService("Debris"):AddItem(part,7)
wait (0.5)
debounce = false
print 'no cerits yet rlax'
end
end)

any fixes? no prints, no output



#Strikin'
Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
13 Feb 2016 08:51 AM
Bump



#Strikin'
Report Abuse
wonderful72pike is not online. wonderful72pike
Joined: 13 Jul 2010
Total Posts: 7009
13 Feb 2016 08:54 AM
Is FilteringEnabled on?
Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
13 Feb 2016 08:54 AM
ya



#Strikin'
Report Abuse
wonderful72pike is not online. wonderful72pike
Joined: 13 Jul 2010
Total Posts: 7009
13 Feb 2016 08:58 AM
FilteringEnabled breaks ClickDetectors :<
Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
13 Feb 2016 08:59 AM
so any fixes ...



#Strikin'
Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
13 Feb 2016 09:27 AM
any help?



#Strikin'
Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
13 Feb 2016 09:54 AM
b



#Strikin'
Report Abuse
cheesecake123456 is not online. cheesecake123456
Joined: 01 Jun 2009
Total Posts: 1529
13 Feb 2016 09:55 AM
Try this, someone posted it earlier:

http://www.roblox.com/customClickDetector-item?id=345338732


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
13 Feb 2016 10:02 AM
Don't set the FormFactor, it is no longer needed and also deprecated.
You need to use a LocalScript to take input from a ClickDetector.


Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
13 Feb 2016 10:03 AM
hmm ok thx




#Strikin'
Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
13 Feb 2016 10:08 AM
@Jarod would a local script work in a button?



#Strikin'
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
13 Feb 2016 10:19 AM
No. It would not.


Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
13 Feb 2016 10:23 AM
then how would i make it sense a click via local script?



#Strikin'
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
13 Feb 2016 10:24 AM
Because you put the LocalScript in PlayerScripts or PlayerGui or Backpack.


Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
13 Feb 2016 10:26 AM
so please can you help adapt this script. Any sort of help would be much appreciated



#Strikin'
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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