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 » Club Houses » Let's Make a Deal
Home Search
 

Re: Y THIS NO WORK

Previous Thread :: Next Thread 
DominusAstra is not online. DominusAstra
Joined: 23 Jun 2014
Total Posts: 12468
27 Jan 2015 12:53 PM
local part = script.Parent
local color = part.BrickColor
local db = false

part.Touched:connect(function(t)
db = true
local p = game.Players:GetPlayerFromCharacter(t.Parent)
local c = p.Character
for i,v in pairs(c:GetChildren()) do
if v:IsA("Part") then
v.BrickColor = color
end
db = false
end
end)

-- it works the first time, but then i have another script where the brick color changes and then it wont work again
Report Abuse
DominusAstra is not online. DominusAstra
Joined: 23 Jun 2014
Total Posts: 12468
27 Jan 2015 12:58 PM
help
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Let's Make a Deal
   
 
   
  • 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