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
 

Easy Script

Previous Thread :: Next Thread 
DementedKnight is not online. DementedKnight
Joined: 07 Aug 2009
Total Posts: 2244
12 May 2012 05:37 AM
I suck at scripting, I'm hoping to get a tutor soon but uh.. for now could someone write me a really quick script please?

Brick2 has this script in it.
When Brick2 touches Workspace.Darkroom.Brick3 it anchors itself.
end

Simple enough right? I really appreicate it!
Report Abuse
ThunderZekrom is not online. ThunderZekrom
Joined: 16 Aug 2010
Total Posts: 197
12 May 2012 06:37 AM
What do you want exactly with this script?
Report Abuse
MrMcAero is not online. MrMcAero
Joined: 21 Apr 2012
Total Posts: 671
12 May 2012 07:04 AM
script.Parent.Touched:connect(function(hit)
if (hit.Name == "Brick3") and (hit.Parent.Name == "Darkroom") then
script.Parent.Anchored = true
end
end)

That should work.

- Cheers!
Report Abuse
DementedKnight is not online. DementedKnight
Joined: 07 Aug 2009
Total Posts: 2244
12 May 2012 02:23 PM
No it does not, thanks anyways.
Report Abuse
abaw7 is not online. abaw7
Joined: 23 Oct 2009
Total Posts: 745
12 May 2012 02:29 PM
script.Parent.Touched:connect(function(hit)
if (hit:FindFirstChild("Brick3")) and (hit.Parent.Name == "Darkroom") then
hit:FindFirstChild("Brick3").Anchored = true
end
end)

There.
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