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 you

Previous Thread :: Next Thread 
jtm110972 is not online. jtm110972
Joined: 29 Jul 2007
Total Posts: 5097
29 Nov 2008 05:39 PM
Get this to work?
It worked in Edit mode, it's just when I put this in my place, the update broke it.
debounce = false
function onTouch(part)
local human = part.Parent:findFirstChild("Humanoid")
if human ~= nil and debounce == false then
debounce = true
script.Parent.Transparency = 0.4
part.Parent:findFirstChild("Head").Transparency = 1
part.Parent:findFirstChild("Torso").Transparency = 1
part.Parent:findFirstChild("Left Arm").Transparency = 1
part.Parent:findFirstChild("Right Arm").Transparency = 1
part.Parent:findFirstChild("Left Leg").Transparency = 1
part.Parent:findFirstChild("Right Leg").Transparency = 1
part.Parent:findFirstChild("Head").Reflectance = 0.05
part.Parent:findFirstChild("Torso").Reflectance = 0.05
part.Parent:findFirstChild("Left Arm").Reflectance = 0.05
part.Parent:findFirstChild("Right Arm").Reflectance = 0.05
part.Parent:findFirstChild("Left Leg").Reflectance = 0.05
part.Parent:findFirstChild("Right Leg").Reflectance = 0.05
if part.Parent:findFirstChild("Head"):findFirstChild("face") == nil then return end
local backup = part.Parent:findFirstChild("Head"):findFirstChild("face"):clone()
part.Parent:findFirstChild("Head"):findFirstChild("face").Parent = nil
if part.Parent:findFirstChild("Torso"):findFirstChild("roblox") == nil then return end
local backup1 = part.Parent:findFirstChild("Torso"):findFirstChild("roblox"):clone()
part.Parent:findFirstChild("Torso"):findFirstChild("roblox"):remove()
wait(0.3)
script.Parent.Transparency = 0.5
script.Parent.Reflectance = 0.2
wait(0.3)
script.Parent.Transparency = 0.6
script.Parent.Reflectance = 0.1
wait(0.3)
script.Parent.Transparency = 0.7
script.Parent.Reflectance = 0
wait(0.3)
script.Parent.Transparency = 0.8
wait(0.3)
script.Parent.Transparency = 0.9
wait(0.3)
script.Parent.Transparency = 1
wait(30)
part.Parent:findFirstChild("Head").Transparency = 0
part.Parent:findFirstChild("Torso").Transparency = 0
part.Parent:findFirstChild("Left Arm").Transparency = 0
part.Parent:findFirstChild("Right Arm").Transparency = 0
part.Parent:findFirstChild("Left Leg").Transparency = 0
part.Parent:findFirstChild("Right Leg").Transparency = 0
part.Parent:findFirstChild("Head").Reflectance = 0
part.Parent:findFirstChild("Torso").Reflectance = 0
part.Parent:findFirstChild("Left Arm").Reflectance = 0
part.Parent:findFirstChild("Right Arm").Reflectance = 0
part.Parent:findFirstChild("Left Leg").Reflectance = 0
part.Parent:findFirstChild("Right Leg").Reflectance = 0
backup.Parent = part.Parent:findFirstChild("Head")
backup1.Parent = part.Parent:findFirstChild("Torso")
debounce = false
wait(0.5)
script.Parent.Transparency = 0.8
script.Parent.Reflectance = 0.1
wait(0.5)
script.Parent.Transparency = 0.7
script.Parent.Reflectance = 0.2
wait(0.5)
script.Parent.Transparency = 0.6
script.Parent.Reflectance = 0.3
wait(05.)
script.Parent.Transparency = 0.5
wait(05.)
script.Parent.Transparency = 0.4
wait(05.)
script.Parent.Transparency = 0.3
end
end
script.Parent.Touched:connect(onTouch)
Report Abuse
jtm110972 is not online. jtm110972
Joined: 29 Jul 2007
Total Posts: 5097
29 Nov 2008 08:26 PM
Bump please
Report Abuse
papermike is not online. papermike
Joined: 28 Dec 2007
Total Posts: 633
29 Nov 2008 08:28 PM
Sorry im not that great of a scripter... but i wish i could help =(

Report Abuse
nicnacpattywhack is not online. nicnacpattywhack
Joined: 29 Oct 2008
Total Posts: 111
29 Nov 2008 09:48 PM
THIS IS HOMEWORK IT'S TORTURE AAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!! P.S. DO I GET A F-???
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