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: body under flashing light flashing script help???

Previous Thread :: Next Thread 
Darkness2World is not online. Darkness2World
Joined: 25 Jun 2012
Total Posts: 35
29 Sep 2012 10:11 PM
while true do -- this script is for a body under a flashing light and whoever looks at the body the body disappears and appears(flashing with the flashing light)
game.Workspace.yellow.Transparency = 0.5
wait(1)
game.Workspace.yellow.Transparency = 1
wait(1)
game.Workspace.yellow.Transparency = 0.5
wait(1)
game.Workspace.yellow.Transparency = 1
wait(1)
game.Workspace.yellow.Transparency = 0.5
wait(1)
game.Workspace.yellow.Transparency = 1
wait(1)
game.Workspace.yellow.Transparency = 0.5
wait(1)
game.Workspace.yellow.Transparency = 1
wait(1)
game.Workspace.yellow.Transparency = 0.5
wait(1)
game.Workspace.yellow.Transparency = 1
game.Workspace.DumbTesterWalkerLevi.Head.Transparency = 1 -- the DumbTesterWalkerLevi is the model with all the body parts
game.Workspace.DumbTesterWalkerLevi.But.Transparency = 1
game.Workspace.DumbTesterWalkerLevi.But2.Transparency = 1
game.Workspace.DumbTesterWalkerLevi.Torso.Transparency = 1
game.Workspace.DumbTesterWalkerLevi.LeftLeg.Transparency = 1
game.Workspace.DumbTesterWalkerLevi.RightLeg.Transparency = 1
game.Workspace.yellow.Transparency = 0.5
wait(1)
game.Workspace.yellow.Transparency = 1
wait(1)
game.Workspace.yellow.Transparency = 0.5
wait(2)
game.Workspace.DumbTesterWalkerLevi.Head.Transparency = 0
game.Workspace.DumbTesterWalkerLevi.But.Transparency = 0
game.Workspace.DumbTesterWalkerLevi.But2.Transparency = 0
game.Workspace.DumbTesterWalkerLevi.Torso.Transparency = 0
game.Workspace.DumbTesterWalkerLevi.LeftLeg.Transparency = 0
game.Workspace.DumbTesterWalkerLevi.RightLeg.Transparency = 0
game.Workspace.yellow.Transparency = 0.5
wait(1)
game.Workspace.yellow.Transparency = 1
wait(1)
game.Workspace.yellow.Transparency = 0.5
wait(2)
game.Workspace.DumbTesterWalkerLevi.Head.Transparency = 1
game.Workspace.DumbTesterWalkerLevi.But.Transparency = 1
game.Workspace.DumbTesterWalkerLevi.But2.Transparency = 1
game.Workspace.DumbTesterWalkerLevi.Torso.Transparency = 1
game.Workspace.DumbTesterWalkerLevi.LeftLeg.Transparency = 1
game.Workspace.DumbTesterWalkerLevi.RightLeg.Transparency = 1
game.Workspace.yellow.Transparency = 0.5
wait(1)
game.Workspace.yellow.Transparency = 1
wait(1)
game.Workspace.yellow.Transparency = 0.5
wait(2)
game.Workspace.DumbTesterWalkerLevi.Head.Transparency = 0
game.Workspace.DumbTesterWalkerLevi.But.Transparency = 0
game.Workspace.DumbTesterWalkerLevi.But2.Transparency = 0
game.Workspace.DumbTesterWalkerLevi.Torso.Transparency = 0
game.Workspace.DumbTesterWalkerLevi.LeftLeg.Transparency = 0
game.Workspace.DumbTesterWalkerLevi.RightLeg.Transparency = 0

end -- uh how many ends do you put here??? Is this script right for a flashing zombie/ghost guy lying under a flashing light dead?
Report Abuse
fireheart568 is not online. fireheart568
Joined: 04 Jan 2009
Total Posts: 1285
29 Sep 2012 10:13 PM
You put one end, and you might have too many wait()s in there, so it may not work as you think it will (such as the light flashing and the body disappearing at different times). It will just take some debugging.
Report Abuse
Darkness2World is not online. Darkness2World
Joined: 25 Jun 2012
Total Posts: 35
29 Sep 2012 10:14 PM
can u give me a short version of the script? cause i suck at scripting
Report Abuse
Darkness2World is not online. Darkness2World
Joined: 25 Jun 2012
Total Posts: 35
29 Sep 2012 10:16 PM
nvm the script works fine :D im so happy its my first script
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