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: I have a very simple script request

Previous Thread :: Next Thread 
DestinedBlade is not online. DestinedBlade
Joined: 12 Nov 2010
Total Posts: 20978
26 Oct 2014 01:02 PM
I need a brick that when you click it, it makes a different brick uncancollided and when you click it again its can-collided
Report Abuse
DestinedBlade is not online. DestinedBlade
Joined: 12 Nov 2010
Total Posts: 20978
26 Oct 2014 01:03 PM
I know you guys are going to tell me to do it myself but I can't even script..
Report Abuse
DestinedBlade is not online. DestinedBlade
Joined: 12 Nov 2010
Total Posts: 20978
26 Oct 2014 01:05 PM
bump
Report Abuse
cupcakescankill is online. cupcakescankill
Joined: 24 Oct 2008
Total Posts: 13261
26 Oct 2014 01:17 PM
local part1 = YOUR_PART_HERE
local part2 = YOUR_PART_HERE
--Insert a clickdetector into part1

part1.ClickDetector.MouseClick:connect(function()
part2.CanCollide=not part2.CanCollide
end)
Report Abuse
DestinedBlade is not online. DestinedBlade
Joined: 12 Nov 2010
Total Posts: 20978
26 Oct 2014 01:20 PM
whats the "notpart2" phrase mean though?
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