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: Can someone please help me find out what the error

Previous Thread :: Next Thread 
jaredisnotanoob is not online. jaredisnotanoob
Joined: 27 Jul 2011
Total Posts: 4493
06 Aug 2013 07:50 PM
In This is? My Player is not going though the door.




local Door = script.Parent -- Defines our new Door as the the Part's Parent
function onTouch(Brick) -- Sets the start of the funtion and when triggered it gives Brick, the object that wad hit
local Player= Brick.Parent:findFirstChild("Humanoid") -- Find the Humanoid in a brick
if (Player ~= nil)then -- Checks if the player is a real player
if Player.Parent.Torso.roblox.Texture == "http://www.roblox.com/Prove-Youre-Rich-item?id=123126138"
Door.CanCollide = false -- The door is no longer solid
Door.Transparency = 0.5 -- The door is now partially transparent
Door.BrickColor = BrickColor:Random()-- I have assigned a randamly generated color to the door

wait(2) -- Waits 2 seconds

Door.CanCollide = true -- The door is now completly solid
Door.Transparency = 0 -- The door is now non-trasparent
Door.BrickColor = BrickColor:Random() -- We have assigned another randomly generated color to our door

else Player.Health = 0 -- Denys Access and kills the Player

end
end
end

Door.Touched:connect(onTouch)

Siggy Not Found. Error ID=17
Report Abuse
jaredisnotanoob is not online. jaredisnotanoob
Joined: 27 Jul 2011
Total Posts: 4493
06 Aug 2013 07:52 PM
bump

Siggy Not Found. Error ID=17
Report Abuse
jaredisnotanoob is not online. jaredisnotanoob
Joined: 27 Jul 2011
Total Posts: 4493
06 Aug 2013 07:53 PM
Anyone?

Siggy Not Found. Error ID=17
Report Abuse
Toughlizard1345 is not online. Toughlizard1345
Joined: 13 Jul 2010
Total Posts: 1077
06 Aug 2013 07:54 PM
These are free modeled scripts, So why should we help you?
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
06 Aug 2013 07:55 PM
you forgot a then on your if statement

tough why you so dumb
Report Abuse
jaredisnotanoob is not online. jaredisnotanoob
Joined: 27 Jul 2011
Total Posts: 4493
06 Aug 2013 07:55 PM
No it's not.

Siggy Not Found. Error ID=17
Report Abuse
Toughlizard1345 is not online. Toughlizard1345
Joined: 13 Jul 2010
Total Posts: 1077
06 Aug 2013 07:56 PM
How am I dumb. It obvious these are free models by the text beside each line.
Report Abuse
jaredisnotanoob is not online. jaredisnotanoob
Joined: 27 Jul 2011
Total Posts: 4493
06 Aug 2013 07:57 PM
I put it there lol

Siggy Not Found. Error ID=17
Report Abuse
jaredisnotanoob is not online. jaredisnotanoob
Joined: 27 Jul 2011
Total Posts: 4493
06 Aug 2013 07:58 PM
but whatever

Siggy Not Found. Error ID=17
Report Abuse
Toughlizard1345 is not online. Toughlizard1345
Joined: 13 Jul 2010
Total Posts: 1077
06 Aug 2013 07:59 PM
Why would you need to put that in your own script?
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
06 Aug 2013 07:59 PM
ur both dumb

dont tell me im wrong when im not wrong


if Player.Parent.Torso.roblox.Texture == "http://www.roblox.com/Prove-Youre-Rich-item?id=123126138"

OK!!!!!!1111111111111111111111111111111111
Report Abuse
jaredisnotanoob is not online. jaredisnotanoob
Joined: 27 Jul 2011
Total Posts: 4493
06 Aug 2013 08:01 PM
I never did but he seems to think it's a free model script

Siggy Not Found. Error ID=17
Report Abuse
Toughlizard1345 is not online. Toughlizard1345
Joined: 13 Jul 2010
Total Posts: 1077
06 Aug 2013 08:01 PM
I'm not dumb D:
Report Abuse
jaredisnotanoob is not online. jaredisnotanoob
Joined: 27 Jul 2011
Total Posts: 4493
06 Aug 2013 08:01 PM
Thats what I meant

Siggy Not Found. Error ID=17
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
06 Aug 2013 08:03 PM
omg why ar you ingoing me i fixd it12312423412
Report Abuse
jaredisnotanoob is not online. jaredisnotanoob
Joined: 27 Jul 2011
Total Posts: 4493
06 Aug 2013 08:05 PM
Sorry Thanks :) Now even though I am wearing the tshirt it kills me?

Siggy Not Found. Error ID=17
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
06 Aug 2013 08:10 PM
rbxassetid://123126138

replace the link with that
Report Abuse
jaredisnotanoob is not online. jaredisnotanoob
Joined: 27 Jul 2011
Total Posts: 4493
06 Aug 2013 08:12 PM
Still kills me

Siggy Not Found. Error ID=17
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
06 Aug 2013 08:13 PM
idk then
Report Abuse
jaredisnotanoob is not online. jaredisnotanoob
Joined: 27 Jul 2011
Total Posts: 4493
06 Aug 2013 08:14 PM
May it have something to do with that line and/or the last line

Siggy Not Found. Error ID=17
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