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: Need help (beginner)

Previous Thread :: Next Thread 
therealseanx is not online. therealseanx
Joined: 26 Aug 2011
Total Posts: 235
12 Aug 2014 01:20 AM
So, I found a script of what I need to make something disappear/reappear
part = script.Parent

while true do
part.Transparency = 0
wait(0.1)
part.Transparency = 0.1
wait(0.1)
part.Transparency = 0.2
wait(0.1)
part.Transparency = 0.3
wait(0.1)
part.Transparency = 0.4
wait(0.1)
part.Transparency = 0.5

yada yada yada, it goes on and then makes the thing appear again.
All I need to know is how I could use this script and make it start when a player walks over a brick other then the ones disappearing? I've tried and I've looked through what people did on the free modeled ones but I still do not understand. Any help?
I know this is probably the easiest thing ever but I've never done much with scripting before and I'm trying to find a place to start! Thanks
Report Abuse
vortexyamum is not online. vortexyamum
Joined: 31 Aug 2011
Total Posts: 1979
12 Aug 2014 01:35 AM
Put this in the part you want to walk on to activate this:


function OnTouched()
part = (PUT THE LOCATION OF PART HERE)

for l = 1, 10 do
part.Transparency = part.Transparency + 0.1
wait(0.1)
end
end

script.Parent.Touched:connect(OnTouched)



This *SHOULD* work.
Report Abuse
therealseanx is not online. therealseanx
Joined: 26 Aug 2011
Total Posts: 235
12 Aug 2014 02:06 AM
Thanks!
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