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: this script isnt working

Previous Thread :: Next Thread 
Y3L is not online. Y3L
Joined: 24 Mar 2009
Total Posts: 6737
07 Nov 2015 11:40 AM
game.Workspace.yabbi.Touched:connect(function(otherPart)
game.Workspace.Fdown.Transparency=1
end)

game.Workspace.yabbi2.Touched:connect(function(otherPart)
game.Workspace.Fdown.Transparency=1
end)


Fdown is the brick I want to disappear when it touches the brick called "yabbi" or "yabbi2" but Fdown is disappearing randomly (when its not even touching "yabbi" or "yabbi2"

does anyone know why this is happening?
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
07 Nov 2015 11:45 AM
Touched fires when the brick gets touched... let it be a player or a brick falling from the sky. You may wanna check if the part touching it has a Humanoid.


For example:

game.Workspace.yabbi.Touched:connect(function(otherPart)
if otherPart.Parent:FindFirstChild("Humanoid") then
game.Workspace.Fdown.Transparency=1
end
end)
Report Abuse
Y3L is not online. Y3L
Joined: 24 Mar 2009
Total Posts: 6737
07 Nov 2015 11:50 AM
^
when i replaced the old script with that Fdown wasn't disappearing when it touched "yabbi"
Report Abuse
Y3L is not online. Y3L
Joined: 24 Mar 2009
Total Posts: 6737
07 Nov 2015 12:01 PM
bump
Report Abuse
Faisal1207 is not online. Faisal1207
Joined: 27 Dec 2013
Total Posts: 499
07 Nov 2015 12:04 PM
game.Workspace.yabbi.Touched:connect(function(otherPart)
if otherPart.Parent:FindFirstChild("Humanoid") then
game.Workspace:FindFirstChild("Fdown").Transparency = 1
end)

game.Workspace.yabbi2.Touched:connect(function(otherPart)
if otherPart.Parent:FindFirstChild("Humanoid") then
game.Workspace:FindFirstChild("Fdown").Transparency = 1
end)


- No signature -
Report Abuse
Y3L is not online. Y3L
Joined: 24 Mar 2009
Total Posts: 6737
07 Nov 2015 12:08 PM
^ same thing happening
Report Abuse
Y3L is not online. Y3L
Joined: 24 Mar 2009
Total Posts: 6737
07 Nov 2015 01:25 PM
bump
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