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