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: whats wrong with this script

Previous Thread :: Next Thread 
PresidentRobux is not online. PresidentRobux
Joined: 22 Nov 2015
Total Posts: 481
16 Apr 2016 01:22 PM
function onClicked(playerWhoClicked)
game.Workspace.Term1.CanCollide = false
game.Workspace.Term1.Transparency = 0.5
wait(3)
game.Workspace.Term1.CanCollide = true
game.Workspace.Term1.Transparency = 0
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
I also have a clickdetector and it its in a brick
Report Abuse
MutigenHD is not online. MutigenHD
Joined: 28 Aug 2014
Total Posts: 516
16 Apr 2016 01:24 PM
Is your game FilteringEnabled?


Report Abuse
earthyreuben is not online. earthyreuben
Joined: 17 Jan 2010
Total Posts: 669
16 Apr 2016 01:40 PM
Click detectors don't passed who clicked it.
Report Abuse
nox7 is not online. nox7
Joined: 29 Aug 2008
Total Posts: 27467
16 Apr 2016 01:41 PM
"Click detectors don't passed who clicked it."

http://wiki.roblox.com/index.php?title=API:Class/ClickDetector/MouseClick
Report Abuse
earthyreuben is not online. earthyreuben
Joined: 17 Jan 2010
Total Posts: 669
16 Apr 2016 01:43 PM
Nvm, apparently now the do :p I'll look into it.
Report Abuse
earthyreuben is not online. earthyreuben
Joined: 17 Jan 2010
Total Posts: 669
16 Apr 2016 01:46 PM
Only reason I can think of why it doesn't work is either the script is diabled, or put in storage that is not server script service. Or you put it in a local script.

I remember a time where click detectors didn't tell you who clicked it.
Report Abuse
Skellobit is not online. Skellobit
Joined: 13 Apr 2016
Total Posts: 12758
16 Apr 2016 02:02 PM
1) is the name of the object exactly Term1 (rename it)
2) is the script disabled (untick the box)
3) is FilteringEnabled set to true (set it to false)
Report Abuse
PresidentRobux is not online. PresidentRobux
Joined: 22 Nov 2015
Total Posts: 481
16 Apr 2016 05:09 PM
IT IS REVIVED !
Report Abuse
PresidentRobux is not online. PresidentRobux
Joined: 22 Nov 2015
Total Posts: 481
16 Apr 2016 05:12 PM
NEVERmind people my mouse was actually disconnected and when i tried it with the keyboard mosue it worked !
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